567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
38 lines
702 B
Nix
38 lines
702 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
python3,
|
|
coq,
|
|
}:
|
|
|
|
python3.pkgs.buildPythonPackage rec {
|
|
pname = "coq-jupyter";
|
|
version = "1.6.0";
|
|
format = "setuptools";
|
|
|
|
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 = {
|
|
homepage = "https://github.com/EugeneLoy/coq_jupyter";
|
|
description = "Jupyter kernel for Coq";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ thomasjm ];
|
|
};
|
|
}
|