forked from mirrors/nixpkgs
pythonPackages.pyregion: init at 2.0
This commit is contained in:
parent
50124a62c8
commit
646eb81a37
34
pkgs/development/python-modules/pyregion/default.nix
Normal file
34
pkgs/development/python-modules/pyregion/default.nix
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, pyparsing
|
||||||
|
, numpy
|
||||||
|
, cython
|
||||||
|
, astropy
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pyregion";
|
||||||
|
version = "2.0";
|
||||||
|
|
||||||
|
doCheck = false; # tests require pytest-astropy
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "a8ac5f764b53ec332f6bc43f6f2193ca13e8b7d5a3fb2e20ced6b2ea42a9d094";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
pyparsing
|
||||||
|
numpy
|
||||||
|
cython
|
||||||
|
astropy
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python parser for ds9 region files";
|
||||||
|
homepage = https://github.com/astropy/pyregion;
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = [ maintainers.smaret ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -4965,6 +4965,8 @@ in {
|
||||||
|
|
||||||
potr = callPackage ../development/python-modules/potr {};
|
potr = callPackage ../development/python-modules/potr {};
|
||||||
|
|
||||||
|
pyregion = callPackage ../development/python-modules/pyregion {};
|
||||||
|
|
||||||
python-u2flib-host = callPackage ../development/python-modules/python-u2flib-host { };
|
python-u2flib-host = callPackage ../development/python-modules/python-u2flib-host { };
|
||||||
|
|
||||||
pluggy = callPackage ../development/python-modules/pluggy {};
|
pluggy = callPackage ../development/python-modules/pluggy {};
|
||||||
|
|
Loading…
Reference in a new issue