Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637{ lib, buildPythonPackage, cython, fetchFromGitHub, pytestCheckHook,}:
buildPythonPackage rec { pname = "fastrlock"; version = "0.8.4"; format = "setuptools";
src = fetchFromGitHub { owner = "scoder"; repo = "fastrlock"; tag = "v${version}"; hash = "sha256-yUPptWzmJ6vr4vMR6AQUQGAxymF4e9Otu3wr6NsCbmg="; };
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 = [ ]; };}