mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
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:
parent
9881934b57
commit
59cc47d802
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user