nixpkgs-suyu/pkgs/development/libraries/haskell/IORefCAS/default.nix
2013-05-10 21:55:37 +02:00

19 lines
631 B
Nix

{ cabal, bitsAtomic, HUnit, QuickCheck, time }:
cabal.mkDerivation (self: {
pname = "IORefCAS";
version = "0.2.0.1";
sha256 = "06vfck59x30mqa9h2ljd4r2cx1ks91b9gwcr928brp7filsq9fdb";
buildDepends = [ bitsAtomic ];
testDepends = [ bitsAtomic HUnit QuickCheck time ];
meta = {
homepage = "https://github.com/rrnewton/haskell-lockfree-queue/wiki";
description = "Atomic compare and swap for IORefs and STRefs";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [
self.stdenv.lib.maintainers.andres
self.stdenv.lib.maintainers.simons
];
};
})