Merge pull request #39790 from matthewbauer/gnu-on-darwin
GNUs on Darwin
This commit is contained in:
commit
5e6f1abfd3
@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
|
||||
homepage = http://www.gnu.org/software/moe/;
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ AndersonTorres ];
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
# TODO: a configurable, global moerc file
|
||||
|
@ -29,6 +29,6 @@ stdenv.mkDerivation rec {
|
||||
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ pSub ];
|
||||
platforms = platforms.gnu ++ platforms.linux; # arbitrary choice
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
homepage = https://www.gnu.org/software/gcal/;
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = [ stdenv.lib.maintainers.romildo ];
|
||||
};
|
||||
}
|
||||
|
@ -15,6 +15,6 @@ stdenv.mkDerivation rec {
|
||||
description = "Graphical user interface for the GnuPG";
|
||||
homepage = https://www.gnupg.org/related_software/gpa/;
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
@ -35,6 +35,6 @@ stdenv.mkDerivation rec {
|
||||
more traditional syntax commands.
|
||||
'';
|
||||
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,5 @@
|
||||
{ stdenv, lib, fetchurl, pkgconfig, libcdio, libxml2, popt }:
|
||||
{ stdenv, lib, fetchurl, pkgconfig, libcdio, libxml2, popt
|
||||
, libiconv, darwin }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "vcdimager-2.0.1";
|
||||
@ -10,14 +11,15 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
buildInputs = [ libxml2 popt ];
|
||||
buildInputs = [ libxml2 popt libiconv ]
|
||||
++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ IOKit DiskArbitration ]);
|
||||
|
||||
propagatedBuildInputs = [ libcdio ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = http://www.gnu.org/software/vcdimager/;
|
||||
description = "Full-featured mastering suite for authoring, disassembling and analyzing Video CDs and Super Video CDs";
|
||||
platforms = platforms.gnu ++ platforms.linux; # random choice
|
||||
platforms = platforms.unix;
|
||||
license = licenses.gpl2;
|
||||
};
|
||||
}
|
||||
|
@ -49,7 +49,7 @@ stdenv.mkDerivation rec {
|
||||
homepage = http://www.gnu.org/software/dejagnu/;
|
||||
license = licenses.gpl2Plus;
|
||||
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ wkennington vrthra ];
|
||||
};
|
||||
}
|
||||
|
@ -37,7 +37,6 @@ stdenv.mkDerivation rec {
|
||||
|
||||
maintainers = [ ];
|
||||
|
||||
# The fancy libs aren't available on {Cyg,Dar}win.
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, ncurses, perl, help2man }:
|
||||
{ stdenv, lib, fetchurl, ncurses, perl, help2man }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "inetutils-1.9.4";
|
||||
@ -16,25 +16,20 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ ncurses /* for `talk' */ perl /* for `whois' */ help2man ];
|
||||
|
||||
configureFlags = [ "--with-ncurses-include-dir=${ncurses.dev}/include" ]
|
||||
++ stdenv.lib.optionals stdenv.hostPlatform.isMusl [ # Musl doesn't define rcmd
|
||||
++ lib.optionals stdenv.hostPlatform.isMusl [ # Musl doesn't define rcmd
|
||||
"--disable-rcp"
|
||||
"--disable-rsh"
|
||||
"--disable-rlogin"
|
||||
"--disable-rexec"
|
||||
];
|
||||
] ++ lib.optional stdenv.isDarwin "--disable-servers";
|
||||
|
||||
# Test fails with "UNIX socket name too long", probably because our
|
||||
# $TMPDIR is too long.
|
||||
#doCheck = true;
|
||||
doCheck = false;
|
||||
|
||||
installFlags = [ "SUIDMODE=" ];
|
||||
|
||||
postInstall = ''
|
||||
# XXX: These programs are normally installed setuid but since it
|
||||
# fails, they end up being non-executable, hence this hack.
|
||||
chmod +x $out/bin/{ping,ping6,${stdenv.lib.optionalString (!stdenv.hostPlatform.isMusl) ''rcp,rlogin,rsh,''}traceroute}
|
||||
'';
|
||||
|
||||
meta = {
|
||||
meta = with lib; {
|
||||
description = "Collection of common network programs";
|
||||
|
||||
longDescription =
|
||||
@ -45,9 +40,9 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
homepage = http://www.gnu.org/software/inetutils/;
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
license = licenses.gpl3Plus;
|
||||
|
||||
maintainers = [ ];
|
||||
platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux;
|
||||
maintainers = with maintainers; [ matthewbauer ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
@ -20,7 +20,7 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
description = "A client for the WHOIS protocol allowing you to query the owner of a domain name";
|
||||
homepage = http://www.gnu.org/software/jwhois/;
|
||||
license = "GPL";
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,5 @@
|
||||
{ stdenv, fetchurl, libgpgerror, libgcrypt, libassuan, libksba, pth, openldap }:
|
||||
{ stdenv, fetchurl, libgpgerror, libgcrypt, libassuan, libksba, pth, openldap
|
||||
, libiconv}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "dirmngr-1.1.1";
|
||||
@ -6,9 +7,10 @@ stdenv.mkDerivation rec {
|
||||
url = "mirror://gnupg/dirmngr/${name}.tar.bz2";
|
||||
sha256 = "1zz6m87ca55nq5f59hzm6qs48d37h93il881y7d0rf2d6660na6j";
|
||||
};
|
||||
buildInputs = [ libgpgerror libgcrypt libassuan libksba pth openldap ];
|
||||
buildInputs = [ libgpgerror libgcrypt libassuan libksba
|
||||
pth openldap libiconv ];
|
||||
|
||||
meta = {
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user