mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
19 lines
623 B
Nix
19 lines
623 B
Nix
{ 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 ];
|
|
};
|
|
})
|