evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / coconut / default.nix
blob5a245fc58f21c6efc437bcdbb496344d03c15356
2   lib,
3   anyio,
4   async-generator,
5   buildPythonPackage,
6   fetchFromGitHub,
7   cpyparsing,
8   ipykernel,
9   mypy,
10   pexpect,
11   pygments,
12   pytestCheckHook,
13   prompt-toolkit,
14   setuptools,
15   tkinter,
16   watchdog,
19 buildPythonPackage rec {
20   pname = "coconut";
21   version = "3.1.2";
22   pyproject = true;
24   src = fetchFromGitHub {
25     owner = "evhub";
26     repo = "coconut";
27     rev = "refs/tags/v${version}";
28     hash = "sha256-Vd6ZY3PlbPOy63/0/0YJ1U2PpsVdctOoInyKftj//cM=";
29   };
31   nativeBuildInputs = [ setuptools ];
33   propagatedBuildInputs = [
34     anyio
35     async-generator
36     cpyparsing
37     ipykernel
38     mypy
39     pygments
40     prompt-toolkit
41     setuptools
42     watchdog
43   ];
45   nativeCheckInputs = [
46     pexpect
47     pytestCheckHook
48     tkinter
49   ];
51   # Currently most tests have performance issues
52   pytestFlagsArray = [ "coconut/tests/constants_test.py" ];
54   pythonImportsCheck = [ "coconut" ];
56   meta = with lib; {
57     description = "Simple, elegant, Pythonic functional programming";
58     homepage = "http://coconut-lang.org/";
59     changelog = "https://github.com/evhub/coconut/releases/tag/v${version}";
60     license = licenses.asl20;
61     maintainers = with maintainers; [ fabianhjr ];
62   };