mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
Merge pull request #61996 from marius851000/hackertyper
hackertyper: update to 2.1
This commit is contained in:
commit
52fde0733d
@ -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