3
0
Fork 0
forked from mirrors/nixpkgs

Merge branch 'submit/sloane' of git://github.com/akc/nixpkgs

Add sloane -- a command line interface to OEIS
This commit is contained in:
Shea Levy 2014-03-26 02:42:22 -04:00
commit 97a733ae57
3 changed files with 24 additions and 0 deletions

View file

@ -5,6 +5,7 @@
alphabetically sorted. */
aforemny = "Alexander Foremny <alexanderforemny@googlemail.com>";
akc = "Anders Claesson <akc@akc.is>";
algorith = "Dries Van Daele <dries_van_daele@telenet.be>";
all = "Nix Committers <nix-commits@lists.science.uu.nl>";
amiddelk = "Arie Middelkoop <amiddelk@gmail.com>";

View file

@ -0,0 +1,21 @@
{ cabal, ansiTerminal, cmdargs, HTTP, terminalSize, url }:
cabal.mkDerivation (self: {
pname = "sloane";
version = "1.6";
sha256 = "0my3j53bda3s8zxnm6is1align4k082wwsfg2y1i75js5z9kwmzy";
isLibrary = false;
isExecutable = true;
buildDepends = [ ansiTerminal cmdargs HTTP terminalSize url ];
postInstall = ''
mkdir -p $out/share/man/man1
cp sloane.1 $out/share/man/man1/
'';
meta = {
homepage = "http://github.com/akc/sloane";
description = "A command line interface to Sloane's On-Line Encyclopedia of Integer Sequences";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = with self.stdenv.lib.maintainers; [ akc ];
};
})

View file

@ -2877,6 +2877,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
nc-indicators = callPackage ../applications/misc/nc-indicators {};
sloane = callPackage ../applications/science/math/sloane {};
taffybar = callPackage ../applications/misc/taffybar {};
yi = callPackage ../applications/editors/yi/yi.nix {};