From 57c2d27876821e719d6b7c1e03df49aa25a17098 Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Thu, 11 Nov 2021 12:36:25 +0300 Subject: [PATCH] knockknock: enable on darwin --- pkgs/tools/security/knockknock/default.nix | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/pkgs/tools/security/knockknock/default.nix b/pkgs/tools/security/knockknock/default.nix index 960667e72def..a3dd1b3c7d07 100644 --- a/pkgs/tools/security/knockknock/default.nix +++ b/pkgs/tools/security/knockknock/default.nix @@ -1,14 +1,13 @@ { lib, fetchFromGitHub, python2Packages, hping }: -let - rev = "bf14bbff"; -in python2Packages.buildPythonApplication rec { - pname = "knockknock-r"; - version = rev; + +python2Packages.buildPythonApplication rec { + pname = "knockknock"; + version = "unstable-2012-09-17"; src = fetchFromGitHub { - inherit rev; owner = "moxie0"; repo = "knockknock"; + rev = "bf14bbffc5f1d2105cd1d955dabca26b3faa0db4"; sha256 = "1chpfs3w2vkjrgay69pbdr116z1jldv53fi768a1i05fdqhy1px4"; }; @@ -25,10 +24,10 @@ in python2Packages.buildPythonApplication rec { meta = with lib; { description = "Simple, secure port knocking daemon and client written in Python"; - homepage = "http://www.thoughtcrime.org/software/knockknock/"; - license = licenses.gpl3; + homepage = "https://github.com/moxie0/knockknock"; + license = licenses.gpl3Plus; maintainers = with maintainers; [ copumpkin ]; - platforms = platforms.linux; + platforms = platforms.unix; }; }