Something went wrong. Try again.
lol
Something went wrong. Try again.
719 B · 36 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637{ lib, buildPythonPackage, cython, fetchFromGitHub, pytestCheckHook,}:
buildPythonPackage rec { pname = "fastrlock"; version = "0.8.3"; format = "setuptools";
src = fetchFromGitHub { owner = "scoder"; repo = "fastrlock"; tag = "v${version}"; hash = "sha256-NB/AR6g1ZP5Atc0zwZNuXLsxg8BM67rWnx3Q6Pb0k5k="; };
nativeBuildInputs = [ cython ];
# Todo: Check why the tests have an import error doCheck = false;
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "fastrlock" ];
meta = { description = "RLock implementation for CPython"; homepage = "https://github.com/scoder/fastrlock"; license = lib.licenses.mit; maintainers = [ ]; };}