python312Packages.backports-shutil-which: init at 3.5.2

This commit is contained in:
Martin Weinelt
2025-01-25 21:45:56 +01:00
parent 78b1ecb39d
commit 8bd41f05b5
2 changed files with 35 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "backports-shutil-which";
version = "3.5.2";
pyproject = true;
src = fetchFromGitHub {
owner = "minrk";
repo = "backports.shutil_which";
tag = version;
hash = "sha256-smvBySS8Ek24y8X9DUGxF4AfJL2ZQ12xeDhEBsZRiP0=";
};
build-system = [ setuptools ];
nativeCheckInputs = [
pytestCheckHook
];
meta = {
description = "Backport of shutil.which from Python 3.3";
homepage = "https://github.com/minrk/backports.shutil_which";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ];
};
}

View File

@@ -1476,6 +1476,8 @@ self: super: with self; {
backports-entry-points-selectable = callPackage ../development/python-modules/backports-entry-points-selectable { };
backports-shutil-which = callPackage ../development/python-modules/backports-shutil-which { };
backports-strenum = callPackage ../development/python-modules/backports-strenum { };
backports-tarfile = callPackage ../development/python-modules/backports-tarfile { };