mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 14:43:37 +00:00
f4c75d125b
The price is that gamma's current upper bound has to be patched. svn path=/nixpkgs/trunk/; revision=30066
22 lines
661 B
Nix
Executable File
22 lines
661 B
Nix
Executable File
{ cabal, continuedFractions, converge, vector }:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "gamma";
|
|
version = "0.7.0.1";
|
|
sha256 = "0728b5mrzmj9hkaqvikl45jyi2p9hnkl2p6l9yv7wnw557yb0gb2";
|
|
buildDepends = [ continuedFractions converge vector ];
|
|
preConfigure = ''
|
|
sed -i 's|\(vector.*\) && < 0.8|\1|' ${self.pname}.cabal
|
|
'';
|
|
meta = {
|
|
homepage = "https://github.com/mokus0/gamma";
|
|
description = "Gamma function and related functions";
|
|
license = self.stdenv.lib.licenses.publicDomain;
|
|
platforms = self.ghc.meta.platforms;
|
|
maintainers = [
|
|
self.stdenv.lib.maintainers.andres
|
|
self.stdenv.lib.maintainers.simons
|
|
];
|
|
};
|
|
})
|