1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "backports-shutil-which"; 11 version = "3.5.2"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "minrk"; 16 repo = "backports.shutil_which"; 17 tag = version; 18 hash = "sha256-smvBySS8Ek24y8X9DUGxF4AfJL2ZQ12xeDhEBsZRiP0="; 19 }; 20 21 build-system = [ setuptools ]; 22 23 nativeCheckInputs = [ 24 pytestCheckHook 25 ]; 26 27 meta = { 28 description = "Backport of shutil.which from Python 3.3"; 29 homepage = "https://github.com/minrk/backports.shutil_which"; 30 license = lib.licenses.mit; 31 maintainers = with lib.maintainers; [ ]; 32 }; 33}