Merge pull request #199382 from r-ryantm/auto-update/python310Packages.fastrlock
python310Packages.fastrlock: 0.8 -> 0.8.1
This commit is contained in:
commit
8eb4b48384
@ -1,17 +1,43 @@
|
|||||||
{ lib, buildPythonPackage, fetchPypi }:
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, cython
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "fastrlock";
|
pname = "fastrlock";
|
||||||
version = "0.8";
|
version = "0.8.1";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
src = fetchPypi {
|
disabled = pythonOlder "3.7";
|
||||||
inherit pname version;
|
|
||||||
sha256 = "9cc100ed0924b32173d7de705a82fdf1257cdf60af1952a13f64759307b40931";
|
src = fetchFromGitHub {
|
||||||
|
owner = "scoder";
|
||||||
|
repo = pname;
|
||||||
|
rev = "refs/tags/v${version}";
|
||||||
|
hash = "sha256-KYJd1wGJo+z34cY0YfsRbpC9IsQY/VJqycGpMmLmaVk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
cython
|
||||||
|
];
|
||||||
|
|
||||||
|
# Todo: Check why the tests have an import error
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"fastrlock"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
description = "RLock implementation for CPython";
|
||||||
homepage = "https://github.com/scoder/fastrlock";
|
homepage = "https://github.com/scoder/fastrlock";
|
||||||
description = "A fast RLock implementation for CPython";
|
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ hyphon81 ];
|
maintainers = with maintainers; [ hyphon81 ];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user