2013-05-09 10:01:25 +01:00
|
|
|
{ cabal, bitsAtomic, HUnit, QuickCheck, time }:
|
2012-05-07 10:36:49 +01:00
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "IORefCAS";
|
2013-05-09 10:01:25 +01:00
|
|
|
version = "0.2.0.1";
|
|
|
|
sha256 = "06vfck59x30mqa9h2ljd4r2cx1ks91b9gwcr928brp7filsq9fdb";
|
2012-05-07 10:36:49 +01:00
|
|
|
buildDepends = [ bitsAtomic ];
|
2013-05-09 10:01:25 +01:00
|
|
|
testDepends = [ bitsAtomic HUnit QuickCheck time ];
|
2012-05-07 10:36:49 +01:00
|
|
|
meta = {
|
2013-05-09 10:01:25 +01:00
|
|
|
homepage = "https://github.com/rrnewton/haskell-lockfree-queue/wiki";
|
2012-05-07 10:36:49 +01:00
|
|
|
description = "Atomic compare and swap for IORefs and STRefs";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
2013-05-10 23:36:36 +01:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2012-05-07 10:36:49 +01:00
|
|
|
};
|
|
|
|
})
|