bcal: 1.7 -> 1.8

The tests failed for a good reason on Darwin and should not have been
disabled. The issue has been resolved upstream with version 1.8 which
now also supports AArch64.
This commit is contained in:
Johannes Frankenau 2018-02-21 13:41:12 +01:00
parent 9881934b57
commit 59cc47d802
2 changed files with 5 additions and 8 deletions

View File

@ -4,30 +4,29 @@ with stdenv.lib;
stdenv.mkDerivation rec {
name = "bcal-${version}";
version = "1.7";
version = "1.8";
src = fetchFromGitHub {
owner = "jarun";
repo = "bcal";
rev = "v${version}";
sha256 = "08cqp2jysvy743gmwpzkbqhybsb49n65r63z3if53m3y59qg4aw8";
sha256 = "0jdn46wzwq7yn3x6p1xyqarp52pcr0ghnfhkm7nyxv734g1abw7r";
};
nativeBuildInputs = [ python3Packages.pytest ];
doCheck = !stdenv.isDarwin;
doCheck = true;
checkPhase = ''
python3 -m pytest test.py
'';
makeFlags = [ "CC=cc" ];
installFlags = [ "DESTDIR=$(out)" "PREFIX=" ];
meta = {
description = "Storage conversion and expression calculator";
homepage = https://github.com/jarun/bcal;
license = licenses.gpl3;
platforms = [ "x86_64-darwin" "x86_64-linux" ];
platforms = [ "aarch64-linux" "x86_64-darwin" "x86_64-linux" ];
maintainers = with maintainers; [ jfrankenau ];
};
}

View File

@ -19945,9 +19945,7 @@ with pkgs;
pcalc = callPackage ../applications/science/math/pcalc { };
bcal = callPackage ../applications/science/math/bcal {
stdenv = gccStdenv;
};
bcal = callPackage ../applications/science/math/bcal { };
pspp = callPackage ../applications/science/math/pspp {
inherit (gnome3) gtksourceview;