2011-08-10 01:00:20 +02:00
|
|
|
{ cabal, continuedFractions, converge, vector }:
|
2011-08-07 22:26:02 +02:00
|
|
|
|
2011-08-10 01:00:20 +02:00
|
|
|
cabal.mkDerivation (self: {
|
2011-08-07 22:26:02 +02:00
|
|
|
pname = "gamma";
|
|
|
|
version = "0.7.0.1";
|
|
|
|
sha256 = "0728b5mrzmj9hkaqvikl45jyi2p9hnkl2p6l9yv7wnw557yb0gb2";
|
2011-08-10 01:00:20 +02:00
|
|
|
buildDepends = [ continuedFractions converge vector ];
|
2011-10-27 19:39:42 +02:00
|
|
|
preConfigure = ''
|
|
|
|
sed -i 's|\(vector.*\) && < 0.8|\1|' ${self.pname}.cabal
|
|
|
|
'';
|
2011-08-07 22:26:02 +02:00
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/mokus0/gamma";
|
2011-08-11 15:03:51 +02:00
|
|
|
description = "Gamma function and related functions";
|
2011-08-07 22:26:02 +02:00
|
|
|
license = self.stdenv.lib.licenses.publicDomain;
|
2011-08-09 11:54:50 +02:00
|
|
|
platforms = self.ghc.meta.platforms;
|
2011-08-10 01:00:20 +02:00
|
|
|
maintainers = [
|
|
|
|
self.stdenv.lib.maintainers.andres
|
|
|
|
self.stdenv.lib.maintainers.simons
|
|
|
|
];
|
2011-08-07 22:26:02 +02:00
|
|
|
};
|
|
|
|
})
|