python3Package.asdf-transform-schemas: init at 0.2.2

This commit is contained in:
Fabian Affolter 2022-04-09 22:42:04 +02:00
parent 0a793b83f3
commit ae3b36d805
2 changed files with 48 additions and 0 deletions

View file

@ -0,0 +1,46 @@
{ lib
, asdf-standard
, buildPythonPackage
, fetchPypi
, importlib-resources
, pythonOlder
, setuptools-scm
}:
buildPythonPackage rec {
pname = "asdf-transform-schemas";
version = "0.2.2";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "asdf_transform_schemas";
inherit version;
hash = "sha256-9xqTCe0+vQmxk3roV8lM7JKIeHBEDrPphou77XJlaxU=";
};
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = [
asdf-standard
] ++ lib.optionals (pythonOlder "3.9") [
importlib-resources
];
# Circular dependency on asdf
doCheck = false;
pythonImportsCheck = [
"asdf_transform_schemas"
];
meta = with lib; {
description = "ASDF schemas for validating transform tags";
homepage = "https://github.com/asdf-format/asdf-transform-schemas";
license = licenses.bsd3;
maintainers = with maintainers; [ fab ];
};
}

View file

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