2013-07-01 11:04:04 +02:00
|
|
|
{ cabal, HTTP, HUnit, network, testFramework, testFrameworkHunit }:
|
2012-07-16 22:06:53 +02:00
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "oeis";
|
2013-07-08 11:53:10 +02:00
|
|
|
version = "0.3.5";
|
|
|
|
sha256 = "0r23mqbfvvvx6shzdclzfrqi8r95gxl93cih7ny7w7px3w5yc5x6";
|
2012-07-16 22:06:53 +02:00
|
|
|
buildDepends = [ HTTP network ];
|
2013-07-01 11:04:04 +02:00
|
|
|
testDepends = [ HUnit testFramework testFrameworkHunit ];
|
2014-05-10 14:19:57 +02:00
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e 's|network *==.*|network|' oeis.cabal
|
|
|
|
'';
|
2012-07-16 22:06:53 +02:00
|
|
|
meta = {
|
2013-07-01 11:04:04 +02:00
|
|
|
description = "Interface to the Online Encyclopedia of Integer Sequences (OEIS)";
|
2012-07-16 22:06:53 +02:00
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
2013-05-11 00:36:36 +02:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2012-07-16 22:06:53 +02:00
|
|
|
};
|
|
|
|
})
|