Merge pull request #130517 from Mic92/pcalc

pcalc: 20141224 -> 20181202
This commit is contained in:
Jörg Thalheim 2021-07-18 10:14:11 +01:00 committed by GitHub
commit 6626933865
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 ];