mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 09:33:41 +00:00
849b16129c
The latest version of largeword needs "jailbreak" to fix inconsistent version requirements within its own Cabal file: https://github.com/idontgetoutmuch/largeword/issues/6
23 lines
740 B
Nix
23 lines
740 B
Nix
{ cabal, binary, HUnit, QuickCheck, testFramework
|
|
, testFrameworkHunit, testFrameworkQuickcheck2
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "largeword";
|
|
version = "1.1.0";
|
|
sha256 = "1xpyzgwhjz625jkr8ax21g8cdkrk89jknrx4nxscwfaw67rla8ja";
|
|
buildDepends = [ binary ];
|
|
testDepends = [
|
|
binary HUnit QuickCheck testFramework testFrameworkHunit
|
|
testFrameworkQuickcheck2
|
|
];
|
|
jailbreak = true;
|
|
meta = {
|
|
homepage = "https://github.com/idontgetoutmuch/largeword";
|
|
description = "Provides Word128, Word192 and Word256 and a way of producing other large words if required";
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
platforms = self.ghc.meta.platforms;
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
|
};
|
|
})
|