pythonPackages.nix-kernel: disable on Python 2

Signed-off-by: Masanori Ogino <167209+omasanori@users.noreply.github.com>
This commit is contained in:
Masanori Ogino 2020-11-03 11:43:14 +09:00 committed by Jonathan Ringer
parent 7543833ccf
commit 719cfc6cf0

View file

@ -1,6 +1,7 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, isPy3k
, pexpect , pexpect
, notebook , notebook
, nix , nix
@ -10,6 +11,8 @@ buildPythonPackage rec {
pname = "nix-kernel"; pname = "nix-kernel";
version = "unstable-2020-04-26"; version = "unstable-2020-04-26";
disabled = !isPy3k;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "GTrunSec"; owner = "GTrunSec";
repo = "nix-kernel"; repo = "nix-kernel";