14 lines
365 B
Nix
14 lines
365 B
Nix
|
{ cabal, bitsAtomic }:
|
||
|
|
||
|
cabal.mkDerivation (self: {
|
||
|
pname = "IORefCAS";
|
||
|
version = "0.2";
|
||
|
sha256 = "18hyy3jqr9yky5r873816fqnywrwba90sq6zx61i2vkqlfbll1k9";
|
||
|
buildDepends = [ bitsAtomic ];
|
||
|
meta = {
|
||
|
description = "Atomic compare and swap for IORefs and STRefs";
|
||
|
license = self.stdenv.lib.licenses.bsd3;
|
||
|
platforms = self.ghc.meta.platforms;
|
||
|
};
|
||
|
})
|