mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
Merge pull request #183009 from afh/afh-got-darwin
got: enable building on darwin platforms
This commit is contained in:
commit
6c3e052882
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchurl, pkg-config, openssl, libbsd, libuuid, libmd, zlib, ncurses }:
|
||||
{ lib, stdenv, fetchurl, pkg-config, openssl, libbsd, libuuid, libossp_uuid, libmd, zlib, ncurses }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "got";
|
||||
@ -11,7 +11,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ openssl libbsd libuuid libmd zlib ncurses ];
|
||||
buildInputs = [ openssl libbsd libuuid libmd zlib ncurses ]
|
||||
++ lib.optionals stdenv.isDarwin [ libossp_uuid ];
|
||||
|
||||
doInstallCheck = true;
|
||||
|
||||
@ -34,7 +35,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
homepage = "https://gameoftrees.org";
|
||||
license = licenses.isc;
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
maintainers = with maintainers; [ abbe ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user