summary refs log tree commit diff
path: root/pkgs/development/libraries/haskell/atomic-primops/default.nix
blob: 9f1c2eedc66ae8ccfbee146162db90a188dbb3f5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ cabal, Cabal, primitive }:

cabal.mkDerivation (self: {
  pname = "atomic-primops";
  version = "0.5";
  sha256 = "0pni44gi9sh4l3hxwh7bqadhh6nc7v8w869sv9n45vkxwhhwbk4i";
  buildDepends = [ Cabal primitive ];
  meta = {
    homepage = "https://github.com/rrnewton/haskell-lockfree-queue/wiki";
    description = "A safe approach to CAS and other atomic ops in Haskell";
    license = self.stdenv.lib.licenses.bsd3;
    platforms = self.ghc.meta.platforms;
  };
})