Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 60 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061{ lib, buildPythonPackage, fetchPypi, pythonOlder
# build-system, flit-core
# tests, pretend, pytestCheckHook}:
let packaging = buildPythonPackage rec { pname = "packaging"; version = "23.2"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi { inherit pname version; hash = "sha256-BI+w6UBQNlGOqvSKVZU8dQwR4aG2jg3RqdYu0MCSz8U="; };
nativeBuildInputs = [ flit-core ];
nativeCheckInputs = [ pytestCheckHook pretend ];
pythonImportsCheck = [ "packaging" "packaging.metadata" "packaging.requirements" "packaging.specifiers" "packaging.tags" "packaging.version" ];
# Prevent circular dependency with pytest doCheck = false;
passthru.tests = packaging.overridePythonAttrs (_: { doCheck = true; });
meta = with lib; { changelog = "https://github.com/pypa/packaging/blob/${version}/CHANGELOG.rst"; description = "Core utilities for Python packages"; downloadPage = "https://github.com/pypa/packaging"; homepage = "https://packaging.pypa.io/"; license = with licenses; [ bsd2 asl20 ]; maintainers = teams.python.members ++ (with maintainers; [ bennofs ]); }; };inpackaging