evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / strct / default.nix
blob989b4e006d30b4a0679a0018bc71cff5cbd25704
2   lib,
3   fetchFromGitHub,
4   buildPythonPackage,
5   setuptools,
6   pytestCheckHook,
7   pytest-cov-stub,
8   sortedcontainers,
9 }:
11 buildPythonPackage rec {
12   pname = "strct";
13   version = "0.0.34";
14   pyproject = true;
16   src = fetchFromGitHub {
17     owner = "shaypal5";
18     repo = "strct";
19     rev = "v${version}";
20     hash = "sha256-uPM2U+emZUCGqEhIeTBmaOu8eSfK4arqvv9bItBWpUs=";
21   };
23   # don't append .dev0 to version
24   env.RELEASING_PROCESS = "1";
26   nativeBuildInputs = [ setuptools ];
28   nativeCheckInputs = [
29     pytestCheckHook
30     pytest-cov-stub
31     sortedcontainers
32   ];
34   pythonImportsCheck = [
35     "strct"
36     "strct.dicts"
37     "strct.hash"
38     "strct.lists"
39     "strct.sets"
40     "strct.sortedlists"
41   ];
43   meta = with lib; {
44     description = "Small pure-python package for data structure related utility functions";
45     homepage = "https://github.com/shaypal5/strct";
46     license = licenses.mit;
47     maintainers = with maintainers; [ pbsds ];
48   };