Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / coconut / default.nix
blob5e56c2ef139d6230dd95db7bffc99b4209d4a790
1 { lib
2 , anyio
3 , async-generator
4 , buildPythonPackage
5 , fetchFromGitHub
6 , cpyparsing
7 , ipykernel
8 , mypy
9 , pexpect
10 , pygments
11 , pytestCheckHook
12 , prompt-toolkit
13 , setuptools
14 , tkinter
15 , watchdog
18 buildPythonPackage rec {
19   pname = "coconut";
20   version = "3.1.0";
21   pyproject = true;
23   src = fetchFromGitHub {
24     owner = "evhub";
25     repo = "coconut";
26     rev = "refs/tags/v${version}";
27     hash = "sha256-xlA/yryUXZCU56gJ0y7M9JHgWkvXiB09ywyf0sP1o+4=";
28   };
30   nativeBuildInputs = [
31     setuptools
32   ];
34   propagatedBuildInputs = [
35     anyio
36     async-generator
37     cpyparsing
38     ipykernel
39     mypy
40     pygments
41     prompt-toolkit
42     setuptools
43     watchdog
44   ];
46   nativeCheckInputs = [
47     pexpect
48     pytestCheckHook
49     tkinter
50   ];
52   # Currently most tests have performance issues
53   pytestFlagsArray = [
54     "coconut/tests/constants_test.py"
55   ];
57   pythonImportsCheck = [
58     "coconut"
59   ];
61   meta = with lib; {
62     description = "Simple, elegant, Pythonic functional programming";
63     homepage = "http://coconut-lang.org/";
64     changelog = "https://github.com/evhub/coconut/releases/tag/v${version}";
65     license = licenses.asl20;
66     maintainers = with maintainers; [ fabianhjr ];
67   };