Add sloane -- a command line interface to OEIS.
This commit is contained in:
parent
3c8f5c2471
commit
ac3de98f07
@ -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>";
|
||||
|
21
pkgs/applications/science/math/sloane/default.nix
Normal file
21
pkgs/applications/science/math/sloane/default.nix
Normal 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 ];
|
||||
};
|
||||
})
|
@ -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 {};
|
||||
|
Loading…
Reference in New Issue
Block a user