Merge pull request #4165 from ftrvxmtrx/pcalc

added pcalc package
This commit is contained in:
Peter Simons 2014-09-19 14:42:07 +02:00
commit ee4a606cdf
2 changed files with 28 additions and 0 deletions

View 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;
};
}

View File

@ -11399,6 +11399,8 @@ let
pari = callPackage ../applications/science/math/pari {};
pcalc = callPackage ../applications/science/math/pcalc { };
pspp = callPackage ../applications/science/math/pssp {
inherit (gnome) libglade gtksourceview;
};