pythonPackages.showit: init at 1.1.4
This commit is contained in:
parent
bd21da208b
commit
3c4b88e4d1
2 changed files with 41 additions and 0 deletions
39
pkgs/development/python-modules/showit/default.nix
Normal file
39
pkgs/development/python-modules/showit/default.nix
Normal file
|
@ -0,0 +1,39 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, numpy
|
||||
, matplotlib
|
||||
, pytest
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "showit";
|
||||
version = "1.1.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "freeman-lab";
|
||||
repo = pname;
|
||||
rev = "ef76425797c71fbe3795b4302c49ab5be6b0bacb"; # no tags in repo
|
||||
sha256 = "0xd8isrlwwxlgji90lly1sq4l2a37rqvhsmyhv7bd3aj1dyjmdr6";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
numpy
|
||||
matplotlib
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytest
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
pytest test
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "simple and sensible display of images";
|
||||
homepage = https://github.com/freeman-lab/showit;
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
|
@ -4463,6 +4463,8 @@ in {
|
|||
|
||||
should-dsl = callPackage ../development/python-modules/should-dsl { };
|
||||
|
||||
showit = callPackage ../development/python-modules/showit { };
|
||||
|
||||
simplejson = callPackage ../development/python-modules/simplejson { };
|
||||
|
||||
simplekml = callPackage ../development/python-modules/simplekml { };
|
||||
|
|
Loading…
Reference in a new issue