python3Packages.asdf-standard: init at 1.0.1

This commit is contained in:
Fabian Affolter 2022-04-09 22:31:02 +02:00
parent 7ff696fdd4
commit 0a793b83f3
2 changed files with 45 additions and 0 deletions

View file

@ -0,0 +1,43 @@
{ lib
, buildPythonPackage
, fetchPypi
, importlib-resources
, pythonOlder
, setuptools-scm
}:
buildPythonPackage rec {
pname = "asdf-standard";
version = "1.0.1";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "asdf_standard";
inherit version;
hash = "sha256-HK8GceEm9K7DETreG1BjhYNpp2klXPu7vNLWfazFtZI=";
};
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = lib.optionals (pythonOlder "3.9") [
importlib-resources
];
# Circular dependency on asdf
doCheck = false;
pythonImportsCheck = [
"asdf_standard"
];
meta = with lib; {
description = "Standards document describing ASDF";
homepage = "https://github.com/asdf-format/asdf-standard";
license = licenses.bsd3;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -643,6 +643,8 @@ in {
asdf = callPackage ../development/python-modules/asdf { };
asdf-standard = callPackage ../development/python-modules/asdf-standard { };
ase = callPackage ../development/python-modules/ase { };
asgi-csrf = callPackage ../development/python-modules/asgi-csrf { };