blob: 3b31e6b665dc328b37e7663a782a9730c845be53 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
{
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 = [ ];
};
}
|