mastodon: 4.3.1 -> 4.3.2 (#361487)
[NixPkgs.git] / pkgs / development / python-modules / etuples / default.nix
blobd1a122162d2b0d459d9ba97280c3bf2651066cc1
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   cons,
6   multipledispatch,
7   py,
8   pytestCheckHook,
9   pytest-html,
10   pythonOlder,
13 buildPythonPackage rec {
14   pname = "etuples";
15   version = "0.3.9";
16   format = "setuptools";
18   disabled = pythonOlder "3.8";
20   src = fetchFromGitHub {
21     owner = "pythological";
22     repo = "etuples";
23     rev = "refs/tags/v${version}";
24     hash = "sha256-dl+exar98PnqEiCNX+Ydllp7aohsAYrFtxb2Q1Lxx6Y=";
25   };
27   propagatedBuildInputs = [
28     cons
29     multipledispatch
30   ];
32   nativeCheckInputs = [
33     py
34     pytestCheckHook
35     pytest-html
36   ];
38   pytestFlagsArray = [
39     "--html=testing-report.html"
40     "--self-contained-html"
41   ];
43   pythonImportsCheck = [ "etuples" ];
45   meta = with lib; {
46     description = "Python S-expression emulation using tuple-like objects";
47     homepage = "https://github.com/pythological/etuples";
48     changelog = "https://github.com/pythological/etuples/releases/tag/v${version}";
49     license = licenses.asl20;
50     maintainers = with maintainers; [ Etjean ];
51   };