mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
knockknock: use python2
This commit is contained in:
parent
d0bf57ae85
commit
78f46d23fe
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user