qqwing: init at 1.3.4
This commit is contained in:
parent
43d5ab0926
commit
acd7ec8c22
35
pkgs/games/qqwing/default.nix
Normal file
35
pkgs/games/qqwing/default.nix
Normal file
@ -0,0 +1,35 @@
|
||||
{ stdenv, fetchFromGitHub, perl, autoconf, automake, libtool }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "qqwing-${version}";
|
||||
version = "1.3.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "stephenostermiller";
|
||||
repo = "qqwing";
|
||||
rev = "v${version}";
|
||||
sha256 = "1qq0vi4ch4y3a5fb1ncr0yzkj3mbvdiwa3d51qpabq94sh0cz09i";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
for file in "src-first-comment.pl" "src_neaten.pl"; do
|
||||
substituteInPlace "build/$file" \
|
||||
--replace "#!/usr/bin/perl" "#!${perl}/bin/perl"
|
||||
done
|
||||
|
||||
substituteInPlace "build/cpp_install.sh" \
|
||||
--replace "sudo " ""
|
||||
'';
|
||||
|
||||
buildInputs = [ perl autoconf automake libtool ];
|
||||
|
||||
makeFlags = [ "prefix=$(out)" "tgz" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://qqwing.com;
|
||||
description = "Sudoku generating and solving software";
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ jgeerds ];
|
||||
};
|
||||
}
|
@ -13733,6 +13733,8 @@ let
|
||||
|
||||
prboom = callPackage ../games/prboom { };
|
||||
|
||||
qqwing = callPackage ../games/qqwing { };
|
||||
|
||||
quake3demo = callPackage ../games/quake3/wrapper {
|
||||
name = "quake3-demo-${quake3game.name}";
|
||||
description = "Demo of Quake 3 Arena, a classic first-person shooter";
|
||||
|
Loading…
Reference in New Issue
Block a user