python3Packages.bash_kernel: init at 0.7.1

+49
+47
pkgs/development/python-modules/bash_kernel/default.nix
···
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , fetchpatch 5 + , ipykernel 6 + , isPy27 7 + , pexpect 8 + }: 9 + buildPythonPackage rec { 10 + pname = "bash_kernel"; 11 + version = "0.7.1"; 12 + name = "${pname}-${version}"; 13 + format = "flit"; 14 + disabled = isPy27; 15 + 16 + src = fetchPypi { 17 + inherit pname version; 18 + sha256 = "1s2kc7m52kq28b4j1q3456g5ani6nmq4n0rpbqi3yvh7ks0rby19"; 19 + }; 20 + 21 + patches = [ 22 + (fetchpatch { 23 + url = "https://patch-diff.githubusercontent.com/raw/takluyver/bash_kernel/pull/69.diff"; 24 + sha256 = "1qd7qjjmcph4dk6j0bl31h2fdmfiyyazvrc9xqqj8y21ki2sl33j"; 25 + }) 26 + ]; 27 + 28 + propagatedBuildInputs = [ ipykernel pexpect ]; 29 + 30 + doCheck = false; 31 + 32 + preBuild = '' 33 + mkdir tmp 34 + export HOME=$PWD/tmp 35 + ''; 36 + 37 + postInstall = '' 38 + python -m bash_kernel.install --prefix $out 39 + ''; 40 + 41 + meta = { 42 + description = "Bash Kernel for Jupyter"; 43 + homepage = "https://github.com/takluyver/bash_kernel"; 44 + license = lib.licenses.bsd3; 45 + maintainers = with lib.maintainers; [ zimbatm ]; 46 + }; 47 + }
+2
pkgs/top-level/python-packages.nix
··· 182 bap = pkgs.ocamlPackages_4_02.bap; 183 }; 184 185 bayespy = callPackage ../development/python-modules/bayespy { }; 186 187 bitcoin-price-api = callPackage ../development/python-modules/bitcoin-price-api { };
··· 182 bap = pkgs.ocamlPackages_4_02.bap; 183 }; 184 185 + bash_kernel = callPackage ../development/python-modules/bash_kernel { }; 186 + 187 bayespy = callPackage ../development/python-modules/bayespy { }; 188 189 bitcoin-price-api = callPackage ../development/python-modules/bitcoin-price-api { };