17 buildPythonPackage rec {
18 pname = "pyreaderwriterlock";
22 disabled = pythonOlder "3.7";
24 src = fetchFromGitHub {
26 repo = "pyReaderWriterLock";
27 rev = "refs/tags/v${version}";
28 hash = "sha256-8FC+4aDgGpF1BmOdlkFtMy7OfWdSmvn9fjKXSmmeJlg=";
31 build-system = [ setuptools ];
33 dependencies = [ typing-extensions ];
35 nativeCheckInputs = [ pytestCheckHook ];
37 pythonImportsCheck = [ "readerwriterlock" ];
40 changelog = "https://github.com/elarivie/pyReaderWriterLock/blob/master/CHANGELOG.md";
41 description = "Implementation of the Readers-writers problem";
42 homepage = "https://github.com/elarivie/pyReaderWriterLock";
43 license = licenses.mit;
44 maintainers = with maintainers; [ MayNiklas ];