3
0
Fork 0
forked from mirrors/nixpkgs

pcalc: 20141224 -> 20181202

This commit is contained in:
Jörg Thalheim 2021-05-31 08:45:28 +02:00
parent ff4f2b6b85
commit d4b8356ce2

View file

@ -1,22 +1,23 @@
{ lib, stdenv, fetchgit, bison, flex }:
with lib;
{ lib, stdenv, fetchFromGitHub, bison, flex }:
stdenv.mkDerivation rec {
pname = "pcalc";
version = "20141224";
version = "20181202";
src = fetchgit {
url = "git://git.code.sf.net/p/pcalc/code";
rev = "181d60d3c880da4344fef7138065943eb3b9255f";
sha256 = "1hd5bh20j5xzvv6qa0fmzmv0h8sf38r7zgi7y0b6nk17pjq33v90";
src = fetchFromGitHub {
owner = "vapier";
repo = "pcalc";
rev = "d93be9e19ecc0b2674cf00ec91cbb79d32ccb01d";
sha256 = "sha256-m4xdsEJGKxLgp/d5ipxQ+cKG3z7rlvpPL6hELnDu6Hk=";
};
makeFlags = [ "DESTDIR= BINDIR=$(out)/bin" ];
buildInputs = [ bison flex ];
nativeBuildInputs = [ bison flex ];
meta = {
homepage = "http://pcalc.sourceforge.net/";
enableParallelBuilding = true;
meta = with lib; {
homepage = "https://vapier.github.io/pcalc/";
description = "Programmer's calculator";
license = licenses.gpl2;
maintainers = with lib.maintainers; [ ftrvxmtrx ];