mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
hackertyper: 20190226 -> 2.1
This commit is contained in:
parent
c89b2de425
commit
6b0d806fcc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user