knockknock: remove

Uses python2 and abandoned by upstream.
This commit is contained in:
Martin Weinelt 2022-01-02 03:18:26 +01:00
parent 9f0c445d21
commit cd7ba30786
No known key found for this signature in database
GPG key ID: 87C1E9888F856759
3 changed files with 1 additions and 35 deletions

View file

@ -1,33 +0,0 @@
{ lib, fetchFromGitHub, python2Packages, hping }:
python2Packages.buildPythonApplication rec {
pname = "knockknock";
version = "unstable-2012-09-17";
src = fetchFromGitHub {
owner = "moxie0";
repo = "knockknock";
rev = "bf14bbffc5f1d2105cd1d955dabca26b3faa0db4";
sha256 = "1chpfs3w2vkjrgay69pbdr116z1jldv53fi768a1i05fdqhy1px4";
};
propagatedBuildInputs = [ python2Packages.pycrypto ];
# No tests
doCheck = false;
postPatch = ''
sed -i '/build\//d' setup.py
substituteInPlace setup.py --replace "/etc" "$out/etc"
substituteInPlace knockknock.py --replace 'existsInPath("hping3")' '"${hping}/bin/hping3"'
'';
meta = with lib; {
description = "Simple, secure port knocking daemon and client written in Python";
homepage = "https://github.com/moxie0/knockknock";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ copumpkin ];
platforms = platforms.unix;
};
}

View file

@ -417,6 +417,7 @@ mapAliases ({
kicad-with-packages3d = kicad; # added 2019-11-25
kindlegen = throw "kindlegen has been removed from nixpkgs, as it's abandoned and no longer available for download."; # 2021-03-09
kino = throw "kino has been removed because it was broken and abandoned"; # added 2021-04-25
knockknock = throw "knockknock has been removed from nixpkgs because the upstream project is abandoned."; # 2022-01-01
krename-qt5 = krename; # added 2017-02-18
kerberos = libkrb5; # moved from top-level 2021-03-14
keymon = throw "keymon has been removed from nixpkgs, as it's abandoned and archived."; # added 2019-12-10

View file

@ -6909,8 +6909,6 @@ with pkgs;
klystrack = callPackage ../applications/audio/klystrack { };
knockknock = callPackage ../tools/security/knockknock { };
knockpy = callPackage ../tools/security/knockpy { };
kore = callPackage ../development/web/kore { };