2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
2022-04-15 01:41:22 +00:00
|
|
|
, asdf-standard
|
|
|
|
, asdf-transform-schemas
|
2024-05-15 15:35:15 +00:00
|
|
|
, attrs
|
2020-04-24 23:36:52 +00:00
|
|
|
, buildPythonPackage
|
2022-11-02 22:02:43 +00:00
|
|
|
, fetchFromGitHub
|
2024-05-15 15:35:15 +00:00
|
|
|
, fsspec
|
|
|
|
, importlib-metadata
|
2021-07-14 22:03:04 +00:00
|
|
|
, jmespath
|
2022-04-15 01:41:22 +00:00
|
|
|
, lz4
|
2020-04-24 23:36:52 +00:00
|
|
|
, numpy
|
2021-03-23 19:22:30 +00:00
|
|
|
, packaging
|
2024-05-15 15:35:15 +00:00
|
|
|
, psutil
|
|
|
|
, pytest-remotedata
|
2021-03-23 19:22:30 +00:00
|
|
|
, pytestCheckHook
|
|
|
|
, pythonOlder
|
|
|
|
, pyyaml
|
|
|
|
, semantic-version
|
2024-05-15 15:35:15 +00:00
|
|
|
, setuptools
|
2021-03-23 19:22:30 +00:00
|
|
|
, setuptools-scm
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "asdf";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "3.2.0";
|
|
|
|
pyproject = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
disabled = pythonOlder "3.9";
|
2022-04-15 01:41:22 +00:00
|
|
|
|
2022-11-02 22:02:43 +00:00
|
|
|
src = fetchFromGitHub {
|
2024-05-15 15:35:15 +00:00
|
|
|
owner = "asdf-format";
|
|
|
|
repo = "asdf";
|
2022-11-02 22:02:43 +00:00
|
|
|
rev = "refs/tags/${version}";
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-r+cEv6g7fq3I/h2mlszzJRQcazy7qP9pg0hfYG/Sa9E=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
build-system = [
|
|
|
|
setuptools
|
2022-04-15 01:41:22 +00:00
|
|
|
setuptools-scm
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
dependencies = [
|
2022-04-15 01:41:22 +00:00
|
|
|
asdf-standard
|
|
|
|
asdf-transform-schemas
|
2024-05-15 15:35:15 +00:00
|
|
|
importlib-metadata
|
2021-07-14 22:03:04 +00:00
|
|
|
jmespath
|
2020-04-24 23:36:52 +00:00
|
|
|
numpy
|
2021-03-23 19:22:30 +00:00
|
|
|
packaging
|
|
|
|
pyyaml
|
|
|
|
semantic-version
|
2024-05-15 15:35:15 +00:00
|
|
|
attrs
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2024-05-15 15:35:15 +00:00
|
|
|
fsspec
|
2022-04-15 01:41:22 +00:00
|
|
|
lz4
|
2024-05-15 15:35:15 +00:00
|
|
|
psutil
|
|
|
|
pytest-remotedata
|
2021-03-23 19:22:30 +00:00
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-04-15 01:41:22 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"asdf"
|
|
|
|
];
|
2021-03-23 19:22:30 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Python tools to handle ASDF files";
|
2022-04-15 01:41:22 +00:00
|
|
|
homepage = "https://github.com/asdf-format/asdf";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.bsd3;
|
2023-08-04 22:07:22 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|