2014-04-17 21:12:37 +02:00
|
|
|
{ cabal, primitive }:
|
2013-05-10 22:23:32 +02:00
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "atomic-primops";
|
2014-04-17 21:12:37 +02:00
|
|
|
version = "0.6.0.5";
|
|
|
|
sha256 = "0xyvadhmhk2b6y6p52cfbjx1hs3zfcwfa5wx6cypaq4yi3csyl5k";
|
|
|
|
buildDepends = [ primitive ];
|
2013-05-10 22:23:32 +02:00
|
|
|
meta = {
|
2014-02-03 10:25:59 +01:00
|
|
|
homepage = "https://github.com/rrnewton/haskell-lockfree/wiki";
|
2013-05-10 22:23:32 +02:00
|
|
|
description = "A safe approach to CAS and other atomic ops in Haskell";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
};
|
|
|
|
})
|