forked from mirrors/nixpkgs
hackertyper: init at 1.1
This commit is contained in:
parent
56cb15b5fc
commit
8ce538a70f
36
pkgs/tools/misc/hackertyper/default.nix
Normal file
36
pkgs/tools/misc/hackertyper/default.nix
Normal file
|
@ -0,0 +1,36 @@
|
|||
{ stdenv, fetchFromGitHub, ncurses }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "hackertyper";
|
||||
version = "20190226";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Hurricane996";
|
||||
repo = "Hackertyper";
|
||||
rev = "dc017270777f12086271bb5a1162d0f3613903c4";
|
||||
sha256 = "0szkkkxspmfq1z2n4nldj2c9jn6jgiqik085rx1wkks0zgcdcgy1";
|
||||
};
|
||||
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
buildInputs = [ ncurses ];
|
||||
|
||||
preInstall = ''
|
||||
mkdir -p $out/bin
|
||||
mkdir -p $out/share/man/man1
|
||||
'';
|
||||
|
||||
|
||||
|
||||
doInstallCheck = true;
|
||||
installCheckPhase = ''
|
||||
$out/bin/hackertyper -v
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A C rewrite of hackertyper.net";
|
||||
homepage = "https://github.com/Hurricane996/Hackertyper";
|
||||
license = licenses.gpl3;
|
||||
maintainers = [ maintainers.marius851000 ];
|
||||
};
|
||||
}
|
|
@ -3431,6 +3431,8 @@ in
|
|||
stdenv = if stdenv.cc.isClang then llvmPackages_6.stdenv else stdenv;
|
||||
};
|
||||
|
||||
hackertyper = callPackage ../tools/misc/hackertyper { };
|
||||
|
||||
haveged = callPackage ../tools/security/haveged { };
|
||||
|
||||
habitat = callPackage ../applications/networking/cluster/habitat { };
|
||||
|
|
Loading…
Reference in a new issue