Merge pull request #35230 from jfrankenau/init-bcal

bcal: init at 1.7
This commit is contained in:
Jörg Thalheim 2018-02-20 23:09:59 +00:00 committed by GitHub
commit 03e7929643
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,33 @@
{ stdenv, fetchFromGitHub, python3Packages }:
with stdenv.lib;
stdenv.mkDerivation rec {
name = "bcal-${version}";
version = "1.7";
src = fetchFromGitHub {
owner = "jarun";
repo = "bcal";
rev = "v${version}";
sha256 = "08cqp2jysvy743gmwpzkbqhybsb49n65r63z3if53m3y59qg4aw8";
};
nativeBuildInputs = [ python3Packages.pytest ];
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" ];
maintainers = with maintainers; [ jfrankenau ];
};
}

View File

@ -19728,6 +19728,8 @@ with pkgs;
pcalc = callPackage ../applications/science/math/pcalc { };
bcal = callPackage ../applications/science/math/bcal { };
pspp = callPackage ../applications/science/math/pspp {
inherit (gnome3) gtksourceview;
};