Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354{ lib, buildPythonPackage, fetchFromGitHub, flit-core, packaging, pytestCheckHook, tomli,}:
buildPythonPackage rec { pname = "dependency-groups"; version = "1.3.2"; pyproject = true;
src = fetchFromGitHub { owner = "pypa"; repo = "dependency-groups"; tag = version; hash = "sha256-qjWvUKUfxYnSUUU3zuS27/a9lxvrHC/qams+XULvxxI="; };
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 ]; };}