knockknock: use python2

This commit is contained in:
Frederik Rietdijk 2016-10-17 16:27:06 +02:00
parent d0bf57ae85
commit 78f46d23fe

View File

@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, pythonPackages, hping }:
{ stdenv, fetchFromGitHub, python2Packages, hping }:
pythonPackages.buildPythonApplication rec {
python2Packages.buildPythonApplication rec {
rev = "bf14bbff";
name = "knockknock-r${rev}";
@ -11,7 +11,10 @@ pythonPackages.buildPythonApplication rec {
sha256 = "1chpfs3w2vkjrgay69pbdr116z1jldv53fi768a1i05fdqhy1px4";
};
propagatedBuildInputs = [ pythonPackages.pycrypto ];
propagatedBuildInputs = [ python2Packages.pycrypto ];
# No tests
doCheck = false;
patchPhase = ''
sed -i '/build\//d' setup.py