Merge pull request #200737 from ursi/hexgui
This commit is contained in:
commit
f92cbf4941
3 changed files with 44 additions and 0 deletions
|
@ -14287,6 +14287,12 @@
|
|||
githubId = 32751441;
|
||||
name = "urlordjames";
|
||||
};
|
||||
ursi = {
|
||||
email = "masondeanm@aol.com";
|
||||
github = "ursi";
|
||||
githubId = 17836748;
|
||||
name = "Mason Mackaman";
|
||||
};
|
||||
uskudnik = {
|
||||
email = "urban.skudnik@gmail.com";
|
||||
github = "uskudnik";
|
||||
|
|
36
pkgs/games/hexgui/default.nix
Normal file
36
pkgs/games/hexgui/default.nix
Normal file
|
@ -0,0 +1,36 @@
|
|||
{ ant
|
||||
, fetchFromGitHub
|
||||
, jdk
|
||||
, lib
|
||||
, makeWrapper
|
||||
, stdenv
|
||||
}:
|
||||
stdenv.mkDerivation {
|
||||
pname = "hexgui";
|
||||
version = "unstable-2022-5-30";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "selinger";
|
||||
repo = "hexgui";
|
||||
rev = "d94ce1d35a22dad28d3e7def4d28e6bebd54da9d";
|
||||
hash = "sha256-1MroFH2JSEZHFigcsw1+xyHJWEnHTvHmRPVirUgwM6I=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ ant jdk makeWrapper ];
|
||||
buildPhase = ''
|
||||
ant
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir $out
|
||||
mv bin lib $out
|
||||
wrapProgram $out/bin/hexgui --prefix PATH : ${lib.makeBinPath [ jdk ]}
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "GUI for the board game Hex (and Y)";
|
||||
homepage = "https://github.com/selinger/hexgui";
|
||||
license = lib.licenses.gpl3;
|
||||
maintainers = [ lib.maintainers.ursi ];
|
||||
};
|
||||
}
|
|
@ -7807,6 +7807,8 @@ with pkgs;
|
|||
hexd = callPackage ../tools/misc/hexd { };
|
||||
pixd = callPackage ../tools/misc/pixd { };
|
||||
|
||||
hexgui = callPackage ../games/hexgui { };
|
||||
|
||||
hey = callPackage ../tools/networking/hey { };
|
||||
|
||||
hhpc = callPackage ../tools/misc/hhpc { };
|
||||
|
|
Loading…
Reference in a new issue