mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-10-20 04:33:19 +02:00
a78ae3bea4
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.
27 lines
835 B
Nix
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 ];
|
|
};
|
|
})
|