diff options
author | Chris Ostrouchov <chris.ostrouchov@gmail.com> | 2019-07-12 23:34:03 -0400 |
---|---|---|
committer | Chris Ostrouchov <chris.ostrouchov@gmail.com> | 2019-07-14 14:09:41 -0400 |
commit | ce2e58b978dcefbd0c026d217c355ea7dad763c6 (patch) | |
tree | 1ae8bed57c6b735875879fda0f4ae7424e23eeb4 /pkgs/development/python-modules/regional | |
parent | 3c4b88e4d1a316ccd56b81bf5f00ea41420ff749 (diff) |
pythonPackages.regional: init at 1.1.2
Diffstat (limited to 'pkgs/development/python-modules/regional')
-rw-r--r-- | pkgs/development/python-modules/regional/default.nix | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/regional/default.nix b/pkgs/development/python-modules/regional/default.nix new file mode 100644 index 0000000000000..5f2aee1b42afe --- /dev/null +++ b/pkgs/development/python-modules/regional/default.nix @@ -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 ]; + }; +} |