pytrainer: unpin python 3.10
[NixPkgs.git] / pkgs / development / python-modules / pyrsistent / default.nix
blob57804f9bd150c594b751f61bf6ab82dace7a34b0
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   isPy27,
6   setuptools,
7   six,
8   pytestCheckHook,
9   hypothesis,
12 buildPythonPackage rec {
13   pname = "pyrsistent";
14   version = "0.20.0";
15   pyproject = true;
17   disabled = isPy27;
19   src = fetchPypi {
20     inherit pname version;
21     hash = "sha256-TEj3j2KrWWxnkIYITQ3RMlSuTz1scqg//fXr3vjyZaQ=";
22   };
24   nativeBuildInputs = [ setuptools ];
26   propagatedBuildInputs = [ six ];
28   nativeCheckInputs = [
29     pytestCheckHook
30     hypothesis
31   ];
33   pythonImportsCheck = [ "pyrsistent" ];
35   meta = with lib; {
36     homepage = "https://github.com/tobgu/pyrsistent/";
37     description = "Persistent/Functional/Immutable data structures";
38     license = licenses.mit;
39     maintainers = with maintainers; [ desiderius ];
40   };