2014-09-19 13:30:42 +02:00
|
|
|
{ stdenv, fetchgit, bison2, flex }:
|
|
|
|
|
|
|
|
with stdenv.lib;
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "pcalc";
|
2015-03-24 18:27:42 +01:00
|
|
|
version = "20141224";
|
2014-09-19 13:30:42 +02:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = git://git.code.sf.net/p/pcalc/code;
|
2015-03-24 18:27:42 +01:00
|
|
|
rev = "181d60d3c880da4344fef7138065943eb3b9255f";
|
2016-06-02 13:26:44 +02:00
|
|
|
sha256 = "1hd5bh20j5xzvv6qa0fmzmv0h8sf38r7zgi7y0b6nk17pjq33v90";
|
2014-09-19 13:30:42 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|