Merge pull request #61996 from marius851000/hackertyper

hackertyper: update to 2.1
This commit is contained in:
Elis Hirwing 2019-05-25 08:06:51 +02:00 committed by GitHub
commit 52fde0733d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,26 +2,18 @@
stdenv.mkDerivation rec {
pname = "hackertyper";
version = "20190226";
version = "2.1";
src = fetchFromGitHub {
owner = "Hurricane996";
repo = "Hackertyper";
rev = "dc017270777f12086271bb5a1162d0f3613903c4";
sha256 = "0szkkkxspmfq1z2n4nldj2c9jn6jgiqik085rx1wkks0zgcdcgy1";
rev = "8d08e3200c65817bd8c5bd0baa5032919315853b";
sha256 = "0shri0srihw9fk027k61qkxr9ikwkn28aaamrhps6lg0vpbqpx2w";
};
makeFlags = [ "PREFIX=$(out)" ];
buildInputs = [ ncurses ];
preInstall = ''
mkdir -p $out/bin
mkdir -p $out/share/man/man1
'';
doInstallCheck = true;
installCheckPhase = ''
$out/bin/hackertyper -v