anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / pyreaderwriterlock / default.nix
blob91a5d2934916eb15c0d762ecc1cf2d7c21b34519
2   lib,
3   fetchFromGitHub,
4   buildPythonPackage,
5   pythonOlder,
7   # build-system
8   setuptools,
10   # dependencies
11   typing-extensions,
13   # tests
14   pytestCheckHook,
17 buildPythonPackage rec {
18   pname = "pyreaderwriterlock";
19   version = "1.0.9";
20   pyproject = true;
22   disabled = pythonOlder "3.7";
24   src = fetchFromGitHub {
25     owner = "elarivie";
26     repo = "pyReaderWriterLock";
27     rev = "refs/tags/v${version}";
28     hash = "sha256-8FC+4aDgGpF1BmOdlkFtMy7OfWdSmvn9fjKXSmmeJlg=";
29   };
31   build-system = [ setuptools ];
33   dependencies = [ typing-extensions ];
35   nativeCheckInputs = [ pytestCheckHook ];
37   pythonImportsCheck = [ "readerwriterlock" ];
39   meta = with lib; {
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 ];
45   };