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 13}: 14 15buildPythonPackage rec { 16 pname = "coconut"; 17 version = "2.1.0"; 18 19 src = fetchFromGitHub { 20 owner = "evhub"; 21 repo = "coconut"; 22 rev = "v${version}"; 23 sha256 = "sha256-TkMwOE/Jug1zKjR1048o/Jmn8o9/oQPNqzwXYakwpgs="; 24 }; 25 26 propagatedBuildInputs = [ cpyparsing ipykernel mypy pygments prompt-toolkit watchdog ]; 27 28 checkInputs = [ pexpect pytestCheckHook tkinter ]; 29 30 # Currently most tests have performance issues 31 pytestFlagsArray = [ 32 "coconut/tests/constants_test.py" 33 ]; 34 35 pythonImportsCheck = [ "coconut" ]; 36 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 }; 43}