pythonPackages.regional: init at 1.1.2

This commit is contained in:
Chris Ostrouchov 2019-07-12 23:34:03 -04:00
parent 3c4b88e4d1
commit ce2e58b978
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,41 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, numpy
, scipy
, matplotlib
, pytest
}:
buildPythonPackage rec {
pname = "regional";
version = "1.1.2";
src = fetchFromGitHub {
owner = "freeman-lab";
repo = pname;
rev = "e3a29c58982e5cd3d5700131ac96e5e0b84fb981"; # no tags in repo
sha256 = "03qgm35q9sa5cy0kkw4bj60zfylw0isfzb96nlhdfrsigzs2zkxv";
};
propagatedBuildInputs = [
numpy
scipy
matplotlib
];
checkInputs = [
pytest
];
checkPhase = ''
pytest
'';
meta = with lib; {
description = "Simple manipualtion and display of spatial regions";
homepage = https://github.com/freeman-lab/regional;
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};
}

View File

@ -2461,6 +2461,8 @@ in {
regex = callPackage ../development/python-modules/regex { };
regional = callPackage ../development/python-modules/regional { };
ratelimiter = callPackage ../development/python-modules/ratelimiter { };
pywatchman = callPackage ../development/python-modules/pywatchman { };