depot/third_party/nixpkgs/pkgs/development/python-modules/asdf/default.nix

72 lines
1.2 KiB
Nix
Raw Normal View History

{
lib,
asdf-standard,
asdf-transform-schemas,
attrs,
buildPythonPackage,
fetchFromGitHub,
fsspec,
importlib-metadata,
jmespath,
lz4,
numpy,
packaging,
psutil,
pytest-remotedata,
pytestCheckHook,
pythonOlder,
pyyaml,
semantic-version,
setuptools,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "asdf";
version = "3.2.0";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "asdf-format";
repo = "asdf";
rev = "refs/tags/${version}";
hash = "sha256-r+cEv6g7fq3I/h2mlszzJRQcazy7qP9pg0hfYG/Sa9E=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [
asdf-standard
asdf-transform-schemas
importlib-metadata
jmespath
numpy
packaging
pyyaml
semantic-version
attrs
];
nativeCheckInputs = [
fsspec
lz4
psutil
pytest-remotedata
pytestCheckHook
];
pythonImportsCheck = [ "asdf" ];
meta = with lib; {
description = "Python tools to handle ASDF files";
homepage = "https://github.com/asdf-format/asdf";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}