10 buildPythonPackage rec {
13 format = "setuptools";
15 disabled = pythonOlder "3.7";
17 src = fetchFromGitHub {
20 rev = "refs/tags/v${version}";
21 hash = "sha256-2h+rhP/EVMG3IkJVkE74p4GeBTwV3BS7fUkKpwedr2k=";
24 nativeBuildInputs = [ cython ];
26 # Todo: Check why the tests have an import error
29 nativeCheckInputs = [ pytestCheckHook ];
31 pythonImportsCheck = [ "fastrlock" ];
34 description = "RLock implementation for CPython";
35 homepage = "https://github.com/scoder/fastrlock";
36 license = licenses.mit;
37 maintainers = with maintainers; [ hyphon81 ];