Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
962 B · 53 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354{ lib, buildPythonPackage, fetchFromGitHub, flit-core, packaging, pytestCheckHook, tomli,}:
buildPythonPackage rec { pname = "dependency-groups"; version = "1.3.1"; pyproject = true;
src = fetchFromGitHub { owner = "pypa"; repo = "dependency-groups"; tag = version; hash = "sha256-suuSx3zf0Y45FJdH8Cb6N7hcvPnzleREpHhtdiG2CLg="; };
build-system = [ flit-core ];
dependencies = [ packaging tomli ];
optional-dependencies = { cli = [ tomli ]; };
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "dependency_groups" ];
meta = { description = "A standalone implementation of PEP 735 Dependency Groups"; homepage = "https://github.com/pypa/dependency-groups"; changelog = "https://github.com/pypa/dependency-groups/blob/${src.tag}/CHANGELOG.rst"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ hexa ]; };}