Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 65 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566{ lib, buildPythonPackage, fetchPypi, pythonOlder,
# build-system flit-core,
# tests pretend, pytestCheckHook,}:
let packaging = buildPythonPackage rec { pname = "packaging"; version = "25.0"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi { inherit pname version; hash = "sha256-1EOHLJjWd79g9qHy+MHLdI6P52LSv50xSLVZkpWw/E8="; };
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 = with maintainers; [ bennofs ]; teams = [ teams.python ]; }; };inpackaging