diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2021-07-18 10:14:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-18 10:14:11 +0100 |
commit | 662693386595015dee508ba4f514823194c3692b (patch) | |
tree | 211ac932914b410519eb96a7251d18cce900c804 /pkgs | |
parent | e0e8b0f5bb376b20cdb364d58c8bc27099ca233f (diff) | |
parent | d4b8356ce2ee17c4abd56588a6f50e4839711d28 (diff) | |
download | nixpkgs-662693386595015dee508ba4f514823194c3692b.tar nixpkgs-662693386595015dee508ba4f514823194c3692b.tar.gz nixpkgs-662693386595015dee508ba4f514823194c3692b.tar.bz2 nixpkgs-662693386595015dee508ba4f514823194c3692b.tar.lz nixpkgs-662693386595015dee508ba4f514823194c3692b.tar.xz nixpkgs-662693386595015dee508ba4f514823194c3692b.tar.zst nixpkgs-662693386595015dee508ba4f514823194c3692b.zip |
Merge pull request #130517 from Mic92/pcalc
pcalc: 20141224 -> 20181202
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/science/math/pcalc/default.nix | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/pkgs/applications/science/math/pcalc/default.nix b/pkgs/applications/science/math/pcalc/default.nix index 63aa34c78a1..cbf07135dec 100644 --- a/pkgs/applications/science/math/pcalc/default.nix +++ b/pkgs/applications/science/math/pcalc/default.nix @@ -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 ]; + + enableParallelBuilding = true; - meta = { - homepage = "http://pcalc.sourceforge.net/"; + meta = with lib; { + homepage = "https://vapier.github.io/pcalc/"; description = "Programmer's calculator"; license = licenses.gpl2; maintainers = with lib.maintainers; [ ftrvxmtrx ]; |