Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / coconut / default.nix
blob07e070d0493e6a349e0dfd4cfe02f3f2a032e8aa
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , cpyparsing
5 , ipykernel
6 , mypy
7 , pexpect
8 , pygments
9 , pytestCheckHook
10 , prompt-toolkit
11 , tkinter
12 , watchdog
15 buildPythonPackage rec {
16   pname = "coconut";
17   version = "3.0.3";
19   src = fetchFromGitHub {
20     owner = "evhub";
21     repo = "coconut";
22     rev = "refs/tags/v${version}";
23     hash = "sha256-u1tcIu0U1VZrUx2hVdtRDv1N4jVf176kQSw47/7lOXY=";
24   };
26   propagatedBuildInputs = [ cpyparsing ipykernel mypy pygments prompt-toolkit watchdog ];
28   nativeCheckInputs = [ pexpect pytestCheckHook tkinter ];
30   # Currently most tests have performance issues
31   pytestFlagsArray = [
32     "coconut/tests/constants_test.py"
33   ];
35   pythonImportsCheck = [ "coconut" ];
37   meta = with lib; {
38     homepage = "http://coconut-lang.org/";
39     description = "Simple, elegant, Pythonic functional programming";
40     license = licenses.asl20;
41     maintainers = with maintainers; [ fabianhjr ];
42   };