Files
nixpkgs/pkgs/development/python-modules/asdf/default.nix
T
Robert Schütz 1a04744f74 treewide: remove superfluous disabled
There is no need to disable Python packages for Python versions that are
no longer in Nixpkgs.
This change was generated using the following script:

    pattern='^\s*disabled\s*=\s*pythonOlder\s*"3\.\([0-9]\|10\)"\s*;\s*$'
    for f in $(find -name '*.nix'); do
        grep -q "$pattern" "$f" || continue
        sed -i "/$pattern/d" "$f"
        if [ $(grep -c pythonOlder "$f") == 1 ]; then
            sed -i '/^\s*pythonOlder,\s*$/d' "$f"
        fi
        nixfmt "$f"
    done
2026-01-11 09:34:20 -08:00

78 lines
1.2 KiB
Nix

{
lib,
aiohttp,
asdf-standard,
asdf-transform-schemas,
attrs,
buildPythonPackage,
fetchFromGitHub,
fsspec,
importlib-metadata,
jmespath,
lz4,
numpy,
packaging,
psutil,
pytest-remotedata,
pytestCheckHook,
pyyaml,
requests,
semantic-version,
setuptools,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "asdf";
version = "4.3.0";
pyproject = true;
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 = [ ];
};
}