2013-07-10 09:20:34 +02:00
|
|
|
{ cabal, bitsAtomic, Cabal, primitive }:
|
2013-05-10 22:23:32 +02:00
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "atomic-primops";
|
2013-07-21 15:37:56 +02:00
|
|
|
version = "0.4";
|
|
|
|
sha256 = "01sg0yn25fs0z7dmrvhyp3amay9l028xs570xhy6vvplrji1mxf0";
|
2013-07-10 09:20:34 +02:00
|
|
|
buildDepends = [ bitsAtomic Cabal primitive ];
|
2013-05-10 22:23:32 +02:00
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/rrnewton/haskell-lockfree-queue/wiki";
|
|
|
|
description = "A safe approach to CAS and other atomic ops in Haskell";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
};
|
|
|
|
})
|