nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 36 lines 719 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 cython, 5 fetchFromGitHub, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "fastrlock"; 11 version = "0.8.3"; 12 format = "setuptools"; 13 14 src = fetchFromGitHub { 15 owner = "scoder"; 16 repo = "fastrlock"; 17 tag = "v${version}"; 18 hash = "sha256-NB/AR6g1ZP5Atc0zwZNuXLsxg8BM67rWnx3Q6Pb0k5k="; 19 }; 20 21 nativeBuildInputs = [ cython ]; 22 23 # Todo: Check why the tests have an import error 24 doCheck = false; 25 26 nativeCheckInputs = [ pytestCheckHook ]; 27 28 pythonImportsCheck = [ "fastrlock" ]; 29 30 meta = { 31 description = "RLock implementation for CPython"; 32 homepage = "https://github.com/scoder/fastrlock"; 33 license = lib.licenses.mit; 34 maintainers = [ ]; 35 }; 36}