Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pyreaderwriterlock / default.nix
bloba9771f6698712caab2fa4c44c8ac78fff6f33220
1 { lib
2 , fetchFromGitHub
3 , buildPythonPackage
4 , pythonOlder
6   # propagates
7 , typing-extensions
9   # tests
10 , unittestCheckHook
13 buildPythonPackage rec {
14   pname = "pyreaderwriterlock";
15   version = "1.0.9";
16   format = "setuptools";
18   disabled = pythonOlder "3.7";
20   src = fetchFromGitHub {
21     owner = "elarivie";
22     repo = "pyReaderWriterLock";
23     rev = "refs/tags/v${version}";
24     hash = "sha256-8FC+4aDgGpF1BmOdlkFtMy7OfWdSmvn9fjKXSmmeJlg=";
25   };
27   propagatedBuildInputs = [ typing-extensions ];
29   nativeCheckInputs = [
30     unittestCheckHook
31   ];
33   pythonImportsCheck = [ "readerwriterlock" ];
35   meta = with lib; {
36     changelog = "https://github.com/elarivie/pyReaderWriterLock/blob/master/CHANGELOG.md";
37     description = "Implementation of the Readers-writers problem";
38     homepage = "https://github.com/elarivie/pyReaderWriterLock";
39     license = licenses.mit;
40     maintainers = with maintainers; [ MayNiklas ];
41   };