nixpkgs/pkgs/development/libraries/haskell/gamma/default.nix
Andres Löh f4c75d125b Generally switching to haskell-vector-0.9.
The price is that gamma's current upper bound has to be patched.

svn path=/nixpkgs/trunk/; revision=30066
2011-10-27 17:39:42 +00:00

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
];
};
})