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