python310Packages.find-libpython: init at 0.3.0

https://github.com/ktbarrett/find_libpython

Signed-off-by: Jack Leightcap <jack@leightcap.com>
This commit is contained in:
Jack Leightcap
2023-05-11 12:58:53 -04:00
parent aaa8dfb38c
commit 4549cf6b2f
2 changed files with 34 additions and 0 deletions
@@ -0,0 +1,32 @@
{ 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 ];
};
}