Merge pull request #231183 from jleightcap/jl/find-libpython-0.3.0

python310Packages.find-libpython: init at 0.3.0

authored by

Robert Scott and committed by
GitHub
80b81b2f fb75d0e1

+34
+32
pkgs/development/python-modules/find-libpython/default.nix
···
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , pytestCheckHook 5 + , pythonOlder 6 + }: 7 + 8 + buildPythonPackage rec { 9 + pname = "find-libpython"; 10 + version = "0.3.0"; 11 + format = "setuptools"; 12 + 13 + src = fetchPypi { 14 + inherit version; 15 + pname = "find_libpython"; 16 + sha256 = "sha256-bn/l2a9/rW3AZstVFaDpyQpx8f6yuy+OTNu0+DJ26eU="; 17 + }; 18 + 19 + disabled = pythonOlder "3.7"; 20 + 21 + pythonImportsCheck = [ "find_libpython" ]; 22 + 23 + nativeCheckInputs = [ pytestCheckHook ]; 24 + 25 + meta = with lib; { 26 + description = "Finds the libpython associated with your environment, wherever it may be hiding"; 27 + changelog = "https://github.com/ktbarrett/find_libpython/releases/tag/${version}"; 28 + homepage = "https://github.com/ktbarrett/find_libpython"; 29 + license = licenses.mit; 30 + maintainers = with maintainers; [ jleightcap ]; 31 + }; 32 + }
+2
pkgs/top-level/python-packages.nix
··· 3521 3522 findimports = callPackage ../development/python-modules/findimports { }; 3523 3524 findpython = callPackage ../development/python-modules/findpython { }; 3525 3526 fingerprints = callPackage ../development/python-modules/fingerprints { };
··· 3521 3522 findimports = callPackage ../development/python-modules/findimports { }; 3523 3524 + find-libpython = callPackage ../development/python-modules/find-libpython { }; 3525 + 3526 findpython = callPackage ../development/python-modules/findpython { }; 3527 3528 fingerprints = callPackage ../development/python-modules/fingerprints { };