2021-01-17 00:15:33 +00:00
|
|
|
{ lib, stdenv, fetchgit, bison, flex }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-17 00:15:33 +00:00
|
|
|
with lib;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "pcalc";
|
|
|
|
version = "20141224";
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "git://git.code.sf.net/p/pcalc/code";
|
|
|
|
rev = "181d60d3c880da4344fef7138065943eb3b9255f";
|
|
|
|
sha256 = "1hd5bh20j5xzvv6qa0fmzmv0h8sf38r7zgi7y0b6nk17pjq33v90";
|
|
|
|
};
|
|
|
|
|
|
|
|
makeFlags = [ "DESTDIR= BINDIR=$(out)/bin" ];
|
|
|
|
buildInputs = [ bison flex ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://pcalc.sourceforge.net/";
|
|
|
|
description = "Programmer's calculator";
|
|
|
|
license = licenses.gpl2;
|
2021-01-17 00:15:33 +00:00
|
|
|
maintainers = with lib.maintainers; [ ftrvxmtrx ];
|
|
|
|
platforms = lib.platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
inherit version;
|
|
|
|
};
|
|
|
|
}
|