python3Packages.asdf: 2.7.3 -> 2.8.1

This commit is contained in:
Fabian Affolter 2021-07-05 00:30:14 +02:00
parent f75e2a648c
commit 19ca015480

View file

@ -2,6 +2,8 @@
, astropy , astropy
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, importlib-resources
, jmespath
, jsonschema , jsonschema
, numpy , numpy
, packaging , packaging
@ -15,23 +17,26 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "asdf"; pname = "asdf";
version = "2.7.3"; version = "2.8.1";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
format = "pyproject"; format = "pyproject";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "11dyr295wn5m2pcynlwj7kgw9xr66msfvwn1m6a5vv13vzj19spp"; sha256 = "sha256-bp3fME3FTa5vcj7qUoUEGqvuI2uwSpI13zDcFgWvbJw=";
}; };
nativeBuildInputs = [ setuptools-scm ]; nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [ propagatedBuildInputs = [
jmespath
jsonschema jsonschema
numpy numpy
packaging packaging
pyyaml pyyaml
semantic-version semantic-version
] ++ lib.optionals (pythonOlder "3.9") [
importlib-resources
]; ];
checkInputs = [ checkInputs = [
@ -50,6 +55,6 @@ buildPythonPackage rec {
description = "Python tools to handle ASDF files"; description = "Python tools to handle ASDF files";
homepage = "https://github.com/spacetelescope/asdf"; homepage = "https://github.com/spacetelescope/asdf";
license = licenses.bsd3; license = licenses.bsd3;
maintainers = [ maintainers.costrouc ]; maintainers = with maintainers; [ costrouc ];
}; };
} }