10 buildPythonPackage rec {
12 version = "unstable-2020-04-26";
16 src = fetchFromGitHub {
19 rev = "dfa42d0812d508ded99f690ee1a83281d900a3ec";
20 sha256 = "1lf4rbbxjmq9h6g3wrdzx3v3dn1bndfmiybxiy0sjavgb6lzc8kq";
24 substituteInPlace nix-kernel/kernel.py \
25 --replace "'nix'" "'${nix}/bin/nix'" \
26 --replace "'nix repl'" "'${nix}/bin/nix repl'"
28 substituteInPlace setup.py \
29 --replace "cmdclass={'install': install_with_kernelspec}," ""
32 propagatedBuildInputs = [
40 pythonImportsCheck = [ "nix-kernel" ];
43 description = "Simple jupyter kernel for nix-repl";
44 homepage = "https://github.com/GTrunSec/nix-kernel";
45 license = licenses.mit;
46 maintainers = with maintainers; [ costrouc ];