Files
nixpkgs/pkgs/development/python-modules/contextlib2/default.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

37 lines
811 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pythonOlder,
unittestCheckHook,
}:
buildPythonPackage {
pname = "contextlib2";
version = "21.6.0-unstable-2024-05-23";
pyproject = true;
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "jazzband";
repo = "contextlib2";
rev = "f64cf04df8a1f6a32ce2095192b4638d229ff25e";
hash = "sha256-HX9N8G8jl6cpEwdJ80pDcoo4osTO/f8fz5sNcY/R1Nk=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ unittestCheckHook ];
pythonImportsCheck = [ "contextlib2" ];
meta = {
description = "Backports and enhancements for the contextlib module";
homepage = "https://contextlib2.readthedocs.org/";
license = lib.licenses.psfl;
maintainers = with lib.maintainers; [ sigmanificient ];
};
}