diff options
author | Igor Sharonov <igor.sharonov@gmail.com> | 2015-06-27 15:12:50 +0300 |
---|---|---|
committer | Igor Sharonov <igor.sharonov@gmail.com> | 2015-10-12 23:07:45 +0300 |
commit | d1b085549fd2f689631979839afe7e9d4aeae40d (patch) | |
tree | 72c722b5e4b0985648f403ae0ad39658a5bf7e89 | |
parent | 5ea6330f77aa6a1761dc4d93082973c4a5fbfc9c (diff) |
wcalc: init at 2.5
-rw-r--r-- | pkgs/applications/misc/wcalc/default.nix | 20 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/applications/misc/wcalc/default.nix b/pkgs/applications/misc/wcalc/default.nix new file mode 100644 index 0000000000000..1c6dc8f63c23b --- /dev/null +++ b/pkgs/applications/misc/wcalc/default.nix @@ -0,0 +1,20 @@ +{ stdenv, fetchurl, mpfr, readline }: + +stdenv.mkDerivation rec { + name = "wcalc-${version}"; + version = "2.5"; + + src = fetchurl { + url = "mirror://sourceforge/w-calc/${name}.tar.bz2"; + sha256 = "1vi8dl6rccqiq1apmpwawyg2ywx6a1ic1d3cvkf2hlwk1z11fb0f"; + }; + + buildInputs = [ mpfr readline ]; + + meta = with stdenv.lib; { + description = "A command line calculator"; + homepage = http://w-calc.sourceforge.net; + license = licenses.gpl2; + platforms = platforms.all; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c79a810d51563..dc4f3726505c6 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15045,6 +15045,8 @@ let wavegain = callPackage ../applications/audio/wavegain { }; + wcalc = callPackage ../applications/misc/wcalc { }; + wine = callPackage ../misc/emulators/wine { wineRelease = config.wine.release or "stable"; wineBuild = config.wine.build or "wine32"; |