mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-26 23:27:29 +03:00
commit
042e8540c6
@ -5,11 +5,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "got";
|
pname = "got";
|
||||||
version = "0.91";
|
version = "0.92";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://gameoftrees.org/releases/portable/got-portable-${version}.tar.gz";
|
url = "https://gameoftrees.org/releases/portable/got-portable-${version}.tar.gz";
|
||||||
hash = "sha256-ebFetQhgEBjy3aq3TfK9veeevbmSAEv9kaUohsnsrlU=";
|
hash = "sha256-HaNCxgbl0ewvI96jr9/BgJphqoQC5P2atj5a51bj99c=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config bison ]
|
nativeBuildInputs = [ pkg-config bison ]
|
||||||
@ -18,6 +18,8 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [ openssl libbsd libevent libuuid libmd zlib ncurses ]
|
buildInputs = [ openssl libbsd libevent libuuid libmd zlib ncurses ]
|
||||||
++ lib.optionals stdenv.isDarwin [ libossp_uuid ];
|
++ lib.optionals stdenv.isDarwin [ libossp_uuid ];
|
||||||
|
|
||||||
|
configureFlags = [ "--enable-gotd" ];
|
||||||
|
|
||||||
preConfigure = lib.optionalString stdenv.isDarwin ''
|
preConfigure = lib.optionalString stdenv.isDarwin ''
|
||||||
# The configure script assumes dependencies on Darwin are install via
|
# The configure script assumes dependencies on Darwin are install via
|
||||||
# Homebrew or MacPorts and hardcodes assumptions about the paths of
|
# Homebrew or MacPorts and hardcodes assumptions about the paths of
|
||||||
|
Loading…
Reference in New Issue
Block a user