nixpkgs-suyu/pkgs/development/libraries/haskell/oeis/default.nix

19 lines
623 B
Nix
Raw Normal View History

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 ];
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;
maintainers = [ self.stdenv.lib.maintainers.andres ];
2012-07-16 22:06:53 +02:00
};
})