10 buildPythonPackage rec {
12 version = "unstable-2020-04-26";
13 format = "setuptools";
17 src = fetchFromGitHub {
20 rev = "dfa42d0812d508ded99f690ee1a83281d900a3ec";
21 sha256 = "1lf4rbbxjmq9h6g3wrdzx3v3dn1bndfmiybxiy0sjavgb6lzc8kq";
25 substituteInPlace nix-kernel/kernel.py \
26 --replace "'nix'" "'${nix}/bin/nix'" \
27 --replace "'nix repl'" "'${nix}/bin/nix repl'"
29 substituteInPlace setup.py \
30 --replace "cmdclass={'install': install_with_kernelspec}," ""
33 propagatedBuildInputs = [
41 pythonImportsCheck = [ "nix-kernel" ];
44 description = "Simple jupyter kernel for nix-repl";
45 homepage = "https://github.com/GTrunSec/nix-kernel";
46 license = licenses.mit;
47 maintainers = with maintainers; [ ];