2013-02-24 21:09:07 +00:00
|
|
|
{ cabal, bitsAtomic, HUnit, QuickCheck }:
|
2012-05-07 10:36:49 +01:00
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "IORefCAS";
|
|
|
|
version = "0.2";
|
|
|
|
sha256 = "18hyy3jqr9yky5r873816fqnywrwba90sq6zx61i2vkqlfbll1k9";
|
|
|
|
buildDepends = [ bitsAtomic ];
|
2013-02-24 21:09:07 +00:00
|
|
|
testDepends = [ bitsAtomic HUnit QuickCheck ];
|
2012-05-07 10:36:49 +01:00
|
|
|
meta = {
|
|
|
|
description = "Atomic compare and swap for IORefs and STRefs";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
2013-03-23 13:57:25 +00:00
|
|
|
maintainers = [
|
|
|
|
self.stdenv.lib.maintainers.andres
|
|
|
|
self.stdenv.lib.maintainers.simons
|
|
|
|
];
|
2012-05-07 10:36:49 +01:00
|
|
|
};
|
|
|
|
})
|