Files
nixpkgs/pkgs/development/python-modules/asdf/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

81 lines
1.3 KiB
Nix

{
lib,
aiohttp,
asdf-standard,
asdf-transform-schemas,
attrs,
buildPythonPackage,
fetchFromGitHub,
fsspec,
importlib-metadata,
jmespath,
lz4,
numpy,
packaging,
psutil,
pytest-remotedata,
pytestCheckHook,
pythonOlder,
pyyaml,
requests,
semantic-version,
setuptools,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "asdf";
version = "4.3.0";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "asdf-format";
repo = "asdf";
tag = version;
hash = "sha256-sCjDZ/6KiFH9LbdDpco8z1xRgJe0dm0HVhpRbO51RDI=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [
asdf-standard
asdf-transform-schemas
importlib-metadata
jmespath
numpy
packaging
pyyaml
semantic-version
attrs
];
nativeCheckInputs = [
aiohttp
fsspec
lz4
psutil
pytest-remotedata
pytestCheckHook
requests
];
disabledTests = [
# AssertionError: assert 527033 >= 1048801
"test_update_add_array_at_end"
];
pythonImportsCheck = [ "asdf" ];
meta = {
description = "Python tools to handle ASDF files";
homepage = "https://github.com/asdf-format/asdf";
license = lib.licenses.bsd3;
maintainers = [ ];
};
}