Merge pull request #282571 from fabaff/find-libpython-bump

python311Packages.find-libpython: 0.3.1 -> 0.3.1
This commit is contained in:
Fabian Affolter 2024-01-21 23:48:22 +01:00 committed by GitHub
commit 584740f888
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,30 +1,42 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, setuptools
, setuptools-scm
}:
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=";
};
version = "0.3.1";
pyproject = true;
disabled = pythonOlder "3.7";
pythonImportsCheck = [ "find_libpython" ];
src = fetchFromGitHub {
owner = "ktbarrett";
repo = "find_libpython";
rev = "refs/tags/v${version}";
hash = "sha256-DBBAgfYQ4UBFn5Osb1kpVBWbrZVBAvcVGQ/J4rJO/rQ=";
};
nativeCheckInputs = [ pytestCheckHook ];
nativeBuildInputs = [
setuptools
setuptools-scm
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"find_libpython"
];
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}";
changelog = "https://github.com/ktbarrett/find_libpython/releases/tag/v${version}";
homepage = "https://github.com/ktbarrett/find_libpython";
license = licenses.mit;
maintainers = with maintainers; [ jleightcap ];