3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/science/math/pcalc/default.nix

27 lines
674 B
Nix
Raw Normal View History

2021-05-31 07:45:28 +01:00
{ lib, stdenv, fetchFromGitHub, bison, flex }:
2014-09-19 12:30:42 +01:00
stdenv.mkDerivation rec {
pname = "pcalc";
2021-05-31 07:45:28 +01:00
version = "20181202";
2014-09-19 12:30:42 +01:00
2021-05-31 07:45:28 +01:00
src = fetchFromGitHub {
owner = "vapier";
repo = "pcalc";
rev = "d93be9e19ecc0b2674cf00ec91cbb79d32ccb01d";
sha256 = "sha256-m4xdsEJGKxLgp/d5ipxQ+cKG3z7rlvpPL6hELnDu6Hk=";
2014-09-19 12:30:42 +01:00
};
makeFlags = [ "DESTDIR= BINDIR=$(out)/bin" ];
2021-05-31 07:45:28 +01:00
nativeBuildInputs = [ bison flex ];
enableParallelBuilding = true;
2014-09-19 12:30:42 +01:00
2021-05-31 07:45:28 +01:00
meta = with lib; {
homepage = "https://vapier.github.io/pcalc/";
2014-09-19 12:30:42 +01:00
description = "Programmer's calculator";
2021-10-28 09:49:34 +01:00
license = licenses.gpl2Plus;
maintainers = with maintainers; [ ftrvxmtrx ];
platforms = platforms.unix;
2014-09-19 12:30:42 +01:00
};
}