3
0
Fork 0
forked from mirrors/nixpkgs

hackertyper: init at 1.1

This commit is contained in:
marius851000 2019-05-10 12:27:05 +02:00 committed by Lassulus
parent 56cb15b5fc
commit 8ce538a70f
2 changed files with 38 additions and 0 deletions

View 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 ];
};
}

View file

@ -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 { };