diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2020-12-27 18:10:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-27 18:10:03 +0100 |
commit | 4ec809a7f08c89bb5c98a9dfcaf533dbf2f68c99 (patch) | |
tree | d5b22a21e627e7010af92bd5a412c8d95fbf5049 /pkgs/applications | |
parent | 534a3330a6885eaab301a1d6b4298191be11154b (diff) | |
parent | 3c89e637e8fe5ea3d386fbd9025431c43e5aaa27 (diff) |
Merge pull request #107731 from freezeboy/update-bcal
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/science/math/bcal/default.nix | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/applications/science/math/bcal/default.nix b/pkgs/applications/science/math/bcal/default.nix index 18b6e051b3f26..5df2d20549c2b 100644 --- a/pkgs/applications/science/math/bcal/default.nix +++ b/pkgs/applications/science/math/bcal/default.nix @@ -1,16 +1,16 @@ -{ stdenv, fetchFromGitHub, python3Packages, readline }: +{ stdenv, fetchFromGitHub, python3Packages, readline, bc }: with stdenv.lib; stdenv.mkDerivation rec { pname = "bcal"; - version = "1.9"; + version = "2.2"; src = fetchFromGitHub { owner = "jarun"; repo = "bcal"; rev = "v${version}"; - sha256 = "0h6qi5rvzl6c6fsfdpdb3l4jcgip03l18i0b1x08z1y89i56y8mm"; + sha256 = "4vR5rcbNkoEdSRNoMH9qMHP3iWFxejkVfXNiYfwbo/A="; }; nativeBuildInputs = [ python3Packages.pytest ]; @@ -18,6 +18,7 @@ stdenv.mkDerivation rec { buildInputs = [ readline ]; doCheck = true; + checkInputs = [ bc ]; checkPhase = '' python3 -m pytest test.py ''; @@ -27,7 +28,7 @@ stdenv.mkDerivation rec { meta = { description = "Storage conversion and expression calculator"; homepage = "https://github.com/jarun/bcal"; - license = licenses.gpl3; + license = licenses.gpl3Only; platforms = [ "aarch64-linux" "x86_64-darwin" "x86_64-linux" ]; maintainers = with maintainers; [ jfrankenau ]; }; |