Unverified Commit 80b81b2f authored by Robert Scott's avatar Robert Scott Committed by GitHub
Browse files

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

python310Packages.find-libpython: init at 0.3.0
parents fb75d0e1 4549cf6b
Loading
Loading
Loading
Loading
+32 −0
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
}:

buildPythonPackage rec {
  pname = "find-libpython";
  version = "0.3.0";
  format = "setuptools";

  src = fetchPypi {
    inherit version;
    pname = "find_libpython";
    sha256 = "sha256-bn/l2a9/rW3AZstVFaDpyQpx8f6yuy+OTNu0+DJ26eU=";
  };

  disabled = pythonOlder "3.7";

  pythonImportsCheck = [ "find_libpython" ];

  nativeCheckInputs = [ pytestCheckHook ];

  meta = with lib; {
    description = "Finds the libpython associated with your environment, wherever it may be hiding";
    changelog = "https://github.com/ktbarrett/find_libpython/releases/tag/${version}";
    homepage = "https://github.com/ktbarrett/find_libpython";
    license = licenses.mit;
    maintainers = with maintainers; [ jleightcap ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -3521,6 +3521,8 @@ self: super: with self; {

  findimports = callPackage ../development/python-modules/findimports { };

  find-libpython = callPackage ../development/python-modules/find-libpython { };

  findpython = callPackage ../development/python-modules/findpython { };

  fingerprints = callPackage ../development/python-modules/fingerprints { };