Merge pull request #282571 from fabaff/find-libpython-bump
python311Packages.find-libpython: 0.3.1 -> 0.3.1
This commit is contained in:
commit
584740f888
1 changed files with 24 additions and 12 deletions
|
@ -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 ];
|
||||
|
|
Loading…
Reference in a new issue