Add sloane -- a command line interface to OEIS.

This commit is contained in:
Anders Claesson 2014-03-15 22:12:38 +00:00
parent 3c8f5c2471
commit ac3de98f07
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

@ -2842,6 +2842,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 {};