5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
73 lines
1.1 KiB
Nix
73 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 = with maintainers; [ ];
|
|
};
|
|
}
|