mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
0215034f25
when they already rely on SRI hashes.
44 lines
930 B
Nix
44 lines
930 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, cpyparsing
|
|
, ipykernel
|
|
, mypy
|
|
, pexpect
|
|
, pygments
|
|
, pytestCheckHook
|
|
, prompt-toolkit
|
|
, tkinter
|
|
, watchdog
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "coconut";
|
|
version = "2.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "evhub";
|
|
repo = "coconut";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-+OrVNtre7kAfU5L7/6DadZxFNWVt5raF6HLGXHHpOvE=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ cpyparsing ipykernel mypy pygments prompt-toolkit watchdog ];
|
|
|
|
nativeCheckInputs = [ pexpect pytestCheckHook tkinter ];
|
|
|
|
# Currently most tests have performance issues
|
|
pytestFlagsArray = [
|
|
"coconut/tests/constants_test.py"
|
|
];
|
|
|
|
pythonImportsCheck = [ "coconut" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "http://coconut-lang.org/";
|
|
description = "Simple, elegant, Pythonic functional programming";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ fabianhjr ];
|
|
};
|
|
}
|