2013-05-09 11:01:28 +02:00
|
|
|
{ cabal, abstractDeque, atomicPrimops, HUnit, IORefCAS
|
|
|
|
, testFramework, testFrameworkHunit
|
2013-02-24 22:16:25 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "lockfree-queue";
|
2013-05-09 11:01:28 +02:00
|
|
|
version = "0.2.0.2";
|
|
|
|
sha256 = "0mb07hx4cllnxv7mz19vvn9zcc5rx0ji5wv80fx0yirgk2qjpgml";
|
|
|
|
buildDepends = [ abstractDeque atomicPrimops IORefCAS ];
|
2013-02-24 22:16:25 +01:00
|
|
|
testDepends = [
|
2013-05-09 11:01:28 +02:00
|
|
|
abstractDeque atomicPrimops HUnit IORefCAS testFramework
|
|
|
|
testFrameworkHunit
|
2013-02-24 22:16:25 +01:00
|
|
|
];
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/rrnewton/haskell-lockfree-queue/wiki";
|
|
|
|
description = "Michael and Scott lock-free queues";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
};
|
|
|
|
})
|