nixpkgs/pkgs/development/libraries/haskell/oeis/default.nix
2014-07-14 17:33:52 +02:00

20 lines
698 B
Nix

# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, HTTP, HUnit, network, testFramework, testFrameworkHunit }:
cabal.mkDerivation (self: {
pname = "oeis";
version = "0.3.5";
sha256 = "0r23mqbfvvvx6shzdclzfrqi8r95gxl93cih7ny7w7px3w5yc5x6";
buildDepends = [ HTTP network ];
testDepends = [ HUnit testFramework testFrameworkHunit ];
patchPhase = ''
sed -i -e 's|network *==.*|network|' oeis.cabal
'';
meta = {
description = "Interface to the Online Encyclopedia of Integer Sequences (OEIS)";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.andres ];
};
})