diff options
Diffstat (limited to 'pkgs/applications/editors/jupyter-kernels/coq/kernel.nix')
-rw-r--r-- | pkgs/applications/editors/jupyter-kernels/coq/kernel.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/applications/editors/jupyter-kernels/coq/kernel.nix b/pkgs/applications/editors/jupyter-kernels/coq/kernel.nix new file mode 100644 index 000000000000..78bf84716fef --- /dev/null +++ b/pkgs/applications/editors/jupyter-kernels/coq/kernel.nix @@ -0,0 +1,30 @@ +{ lib +, fetchFromGitHub +, python3 +, coq +}: + +python3.pkgs.buildPythonPackage rec { + pname = "coq-jupyter"; + version = "1.6.0"; + + src = fetchFromGitHub { + owner = "EugeneLoy"; + repo = "coq_jupyter"; + rev = "v${version}"; + sha256 = "sha256-+Pp51cxeqjg5MW4CEccNWVjNcY9iyFNATIEage9RWJ0="; + }; + + propagatedBuildInputs = (with python3.pkgs; [ ipykernel future ]) ++ [ coq ]; + + nativeBuildInputs = [ coq ]; + + doCheck = false; + + meta = with lib; { + homepage = "https://github.com/EugeneLoy/coq_jupyter"; + description = "Jupyter kernel for Coq"; + license = licenses.asl20; + maintainers = with maintainers; [ thomasjm ]; + }; +} |