diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2021-05-31 08:45:28 +0200 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2021-07-18 08:40:09 +0200 |
commit | d4b8356ce2ee17c4abd56588a6f50e4839711d28 (patch) | |
tree | 86b4eb62f1a2a74ffa1a4363f7a03f4963edc805 /pkgs | |
parent | ff4f2b6b85c9446001d6a410549223afe141f101 (diff) | |
download | nixpkgs-d4b8356ce2ee17c4abd56588a6f50e4839711d28.tar nixpkgs-d4b8356ce2ee17c4abd56588a6f50e4839711d28.tar.gz nixpkgs-d4b8356ce2ee17c4abd56588a6f50e4839711d28.tar.bz2 nixpkgs-d4b8356ce2ee17c4abd56588a6f50e4839711d28.tar.lz nixpkgs-d4b8356ce2ee17c4abd56588a6f50e4839711d28.tar.xz nixpkgs-d4b8356ce2ee17c4abd56588a6f50e4839711d28.tar.zst nixpkgs-d4b8356ce2ee17c4abd56588a6f50e4839711d28.zip |
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 ]; |