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

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