nixpkgs-suyu/pkgs/applications/science/math/pcalc/default.nix

27 lines
674 B
Nix
Raw Normal View History

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