added pcalc package
This commit is contained in:
parent
64c156d198
commit
00298c7bba
26
pkgs/applications/science/math/pcalc/default.nix
Normal file
26
pkgs/applications/science/math/pcalc/default.nix
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{ stdenv, fetchgit, bison2, flex }:
|
||||||
|
|
||||||
|
with stdenv.lib;
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "pcalc-${version}";
|
||||||
|
version = "20120812";
|
||||||
|
|
||||||
|
src = fetchgit {
|
||||||
|
url = git://git.code.sf.net/p/pcalc/code;
|
||||||
|
rev = "db5c5d587d4d24ff6b23405a92eeaad4c0f99618";
|
||||||
|
sha256 = "1bzmiz9rrss3xk0vzszbisjkph73zwgc0riqn9zdd2h1iv6dgq92";
|
||||||
|
};
|
||||||
|
|
||||||
|
makeFlags = [ "DESTDIR= BINDIR=$(out)/bin" ];
|
||||||
|
buildInputs = [ bison2 flex ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = http://pcalc.sourceforge.net/;
|
||||||
|
description = "Programmer's calculator";
|
||||||
|
license = licenses.gpl2;
|
||||||
|
maintainers = with stdenv.lib.maintainers; [ ftrvxmtrx ];
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
inherit version;
|
||||||
|
};
|
||||||
|
}
|
@ -11392,6 +11392,8 @@ let
|
|||||||
|
|
||||||
pari = callPackage ../applications/science/math/pari {};
|
pari = callPackage ../applications/science/math/pari {};
|
||||||
|
|
||||||
|
pcalc = callPackage ../applications/science/math/pcalc { };
|
||||||
|
|
||||||
pspp = callPackage ../applications/science/math/pssp {
|
pspp = callPackage ../applications/science/math/pssp {
|
||||||
inherit (gnome) libglade gtksourceview;
|
inherit (gnome) libglade gtksourceview;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user