nixpkgs/pkgs/development/libraries/haskell/bloomfilter/default.nix
Gergely Risko a78ae3bea4 Fix bloomfilter package on 32 bits
The git-annex derivation depends on bloomfilter and it's currently broken on
i686 because of this.  Upstream bloomfilter pull request already sent, this
is for the meantime.
2014-07-25 17:17:36 +02:00

27 lines
835 B
Nix

# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, deepseq, QuickCheck, random, testFramework
, testFrameworkQuickcheck2
}:
cabal.mkDerivation (self: {
pname = "bloomfilter";
version = "2.0.0.0";
sha256 = "07fif8i5rinysli1mpi92k405kvw8va7w9v9w4wd5bylb87zy77f";
buildDepends = [ deepseq ];
# https://github.com/bos/bloomfilter/pull/8
preConfigure = ''
sed -i -e "s/0xffffffff/0x7fffffff/" Data/BloomFilter/Easy.hs
'';
testDepends = [
QuickCheck random testFramework testFrameworkQuickcheck2
];
meta = {
homepage = "https://github.com/bos/bloomfilter";
description = "Pure and impure Bloom Filter implementations";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.andres ];
};
})