diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2022-04-09 22:47:52 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2022-04-09 22:47:52 +0200 |
commit | 9dba703fbd4c74f5712cb4a6114b51b079fe75c6 (patch) | |
tree | b16c76914644d42ef553a8d2e86853ee9030d288 /pkgs | |
parent | ae3b36d8053bbb581cd5220c3f3440cbb532ab5e (diff) |
python3Packages.asdf: 2.10.1 -> 2.11.0
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/asdf/default.nix | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/asdf/default.nix b/pkgs/development/python-modules/asdf/default.nix index 122020c271f9f..5087884074d82 100644 --- a/pkgs/development/python-modules/asdf/default.nix +++ b/pkgs/development/python-modules/asdf/default.nix @@ -1,10 +1,13 @@ { lib +, asdf-standard +, asdf-transform-schemas , astropy , buildPythonPackage , fetchPypi , importlib-resources , jmespath , jsonschema +, lz4 , numpy , packaging , pytest-astropy @@ -17,18 +20,23 @@ buildPythonPackage rec { pname = "asdf"; - version = "2.10.1"; - disabled = pythonOlder "3.6"; + version = "2.11.0"; format = "pyproject"; + disabled = pythonOlder "3.7"; + src = fetchPypi { inherit pname version; - sha256 = "sha256-9+Vp8ps3I5Oe/sgWTrLtcnS91ICwsoPXWDPw9Z0QhAk="; + hash = "sha256-FEWXGSkneduhO9+YlzrZvpJHUsI7TeagVLwBdMEIRvw="; }; - nativeBuildInputs = [ setuptools-scm ]; + nativeBuildInputs = [ + setuptools-scm + ]; propagatedBuildInputs = [ + asdf-standard + asdf-transform-schemas jmespath jsonschema numpy @@ -40,8 +48,9 @@ buildPythonPackage rec { ]; checkInputs = [ - pytest-astropy astropy + lz4 + pytest-astropy pytestCheckHook ]; @@ -49,11 +58,13 @@ buildPythonPackage rec { export PY_IGNORE_IMPORTMISMATCH=1 ''; - pythonImportsCheck = [ "asdf" ]; + pythonImportsCheck = [ + "asdf" + ]; meta = with lib; { description = "Python tools to handle ASDF files"; - homepage = "https://github.com/spacetelescope/asdf"; + homepage = "https://github.com/asdf-format/asdf"; license = licenses.bsd3; maintainers = with maintainers; [ costrouc ]; }; |