git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #107731 from freezeboy/update-bcal
commit4ec809a7f08c89bb5c98a9dfcaf533dbf2f68c99 authorSandro <sandro.jaeckel@gmail.com> dateSun 27 Dec 2020, 18:10 (6 years ago) parent534a3333c89e63
1 file changed+5−4
pkgs/applications/science/math/bcal/default.nix+5−4
pkgs/applications/science/math/bcal/default.nix+5−4
@@ -1,16 +1,16 @@
1−{ stdenv, fetchFromGitHub, python3Packages, readline }:
1+{ stdenv, fetchFromGitHub, python3Packages, readline, bc }:
22
33with stdenv.lib;
44
55stdenv.mkDerivation rec {
66 pname = "bcal";
7− version = "1.9";
7+ version = "2.2";
88
99 src = fetchFromGitHub {
1010 owner = "jarun";
1111 repo = "bcal";
1212 rev = "v${version}";
13− sha256 = "0h6qi5rvzl6c6fsfdpdb3l4jcgip03l18i0b1x08z1y89i56y8mm";
13+ sha256 = "4vR5rcbNkoEdSRNoMH9qMHP3iWFxejkVfXNiYfwbo/A=";
1414 };
1515
1616 nativeBuildInputs = [ python3Packages.pytest ];
@@ -18,6 +18,7 @@ stdenv.mkDerivation rec {
1818 buildInputs = [ readline ];
1919
2020 doCheck = true;
21+ checkInputs = [ bc ];
2122 checkPhase = ''
2223 python3 -m pytest test.py
2324 '';
@@ -27,7 +28,7 @@ stdenv.mkDerivation rec {
2728 meta = {
2829 description = "Storage conversion and expression calculator";
2930 homepage = "https://github.com/jarun/bcal";
30− license = licenses.gpl3;
31+ license = licenses.gpl3Only;
3132 platforms = [ "aarch64-linux" "x86_64-darwin" "x86_64-linux" ];
3233 maintainers = with maintainers; [ jfrankenau ];
3334 };