5ca88bfbb9
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
71 lines
1.1 KiB
Nix
71 lines
1.1 KiB
Nix
{
|
|
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 = [ ];
|
|
};
|
|
}
|