3
0
Fork 0
forked from mirrors/nixpkgs

Set some meta.platforms

Also fix meta.platform -> meta.platforms in a few places.
This commit is contained in:
Eelco Dolstra 2015-03-20 16:52:02 +01:00
parent 0461f35894
commit 2ed5c2bd6b
45 changed files with 94 additions and 102 deletions

View file

@ -24,5 +24,6 @@ stdenv.mkDerivation {
description = "A GTK+-based Usenet newsreader good at both text and binaries";
homepage = http://pan.rebelbase.com/;
maintainers = [ stdenv.lib.maintainers.eelco ];
platforms = stdenv.lib.platforms.linux;
};
}

View file

@ -13,5 +13,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://sethwklein.net/projects/iana-etc/;
description = "IANA protocol and port number assignments (/etc/protocols and /etc/services)";
platforms = stdenv.lib.platforms.linux;
};
}

View file

@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
# The source code implementing the Marsenne Twister algorithm is licensed
# under the 3-clause BSD license. The rest is 2-clause BSD license.
license = stdenv.lib.licenses.bsd3;
platform = stdenv.lib.platforms.linux;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
};
}

View file

@ -18,9 +18,7 @@ let
in
with {
inherit (stdenv.lib) optional optionalString;
};
with stdenv.lib;
stdenv.mkDerivation rec {
name = "perl-5.20.1";
@ -79,4 +77,11 @@ stdenv.mkDerivation rec {
setupHook = ./setup-hook.sh;
passthru.libPrefix = "lib/perl5/site_perl";
meta = {
homepage = https://www.perl.org/;
description = "The standard implementation of the Perl 5 programmming language";
maintainers = [ maintainers.eelco ];
platforms = platforms.all;
};
}

View file

@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
'';
homepage = https://github.com/engla/keybinder/;
license = licenses.gpl2Plus;
platform = platforms.linux;
platforms = platforms.linux;
maintainers = [ maintainers.bjornfor ];
};
}

View file

@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
description = "Library for registering global key bindings";
homepage = https://github.com/engla/keybinder/;
license = licenses.mit;
platform = platforms.linux;
platforms = platforms.linux;
maintainers = [ maintainers.cstrahan ];
};
}

View file

@ -14,6 +14,6 @@ stdenv.mkDerivation rec {
description = "An abstraction library for audio visualisations";
homepage = "http://sourceforge.net/projects/libvisual/";
license = stdenv.lib.licenses.lgpl21Plus;
platform = stdenv.lib.platforms.unix;
platforms = stdenv.lib.platforms.unix;
};
}

View file

@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
description = "A multi-platform programmer's library designed to allow a developer to create robust software";
homepage = http://www.jedsoft.org/slang/;
license = stdenv.lib.licenses.gpl2Plus;
platform = stdenv.lib.platforms.unix;
platforms = stdenv.lib.platforms.unix;
maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
};
}

View file

@ -44,6 +44,6 @@ stdenv.mkDerivation rec {
license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ ];
platforms = stdenv.lib.platforms.all;
};
}

View file

@ -43,6 +43,6 @@ stdenv.mkDerivation rec {
license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ ];
platforms = stdenv.lib.platforms.all;
};
}

View file

@ -49,6 +49,6 @@ stdenv.mkDerivation rec {
license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ ];
platforms = stdenv.lib.platforms.all;
};
}

View file

@ -37,5 +37,7 @@ stdenv.mkDerivation rec {
'';
maintainers = [ stdenv.lib.maintainers.simons ];
platforms = stdenv.lib.platforms.all;
};
}

View file

@ -37,5 +37,7 @@ stdenv.mkDerivation rec {
'';
maintainers = [ stdenv.lib.maintainers.simons ];
platforms = stdenv.lib.platforms.all;
};
}

View file

@ -2,16 +2,18 @@
stdenv.mkDerivation {
name = "rogue-5.4.4";
src = fetchurl {
url = http://rogue.rogueforge.net/files/rogue5.4/rogue5.4.4-src.tar.gz;
sha256 = "18g81274d0f7sr04p7h7irz0d53j6kd9j1y3zbka1gcqq0gscdvx";
};
buildInputs = [ncurses];
buildInputs = [ ncurses ];
meta = {
homepage = http://rogue.rogueforge.net/rogue-5-4/;
description = "The final version of the original Rogue game developed for the UNIX operating system";
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.eelco ];
};
}

View file

@ -54,5 +54,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = ftp://ftp.altlinux.org/pub/people/legion/kbd/;
description = "Linux keyboard utilities and keyboard maps";
platforms = stdenv.lib.platforms.linux;
};
}

View file

@ -14,9 +14,9 @@ stdenv.mkDerivation rec {
meta = {
description = "A utility for viewing/manipulating the MAC address of network interfaces";
maintainers = with stdenv.lib.maintainers; [ joachifm ];
license = with stdenv.lib.licenses; gpl2Plus;
maintainers = [ stdenv.lib.maintainers.joachifm ];
license = stdenv.lib.licenses.gpl2Plus;
homepage = "https://www.gnu.org/software/macchanger";
platform = with stdenv.lib.platforms; linux;
platforms = stdenv.lib.platforms.linux;
};
}

View file

@ -1,8 +1,8 @@
{stdenv, fetchurl}:
{ stdenv, fetchurl }:
stdenv.mkDerivation {
name = "mingetty-1.08";
src = fetchurl {
url = mirror://sourceforge/mingetty/mingetty-1.08.tar.gz;
sha256 = "05yxrp44ky2kg6qknk1ih0kvwkgbn9fbz77r3vci7agslh5wjm8g";
@ -19,5 +19,6 @@ stdenv.mkDerivation {
meta = {
homepage = http://sourceforge.net/projects/mingetty;
platforms = stdenv.lib.platforms.linux;
};
}

View file

@ -21,5 +21,6 @@ stdenv.mkDerivation {
meta = {
description = "A system logging daemon";
platforms = stdenv.lib.platforms.linux;
};
}

View file

@ -43,5 +43,6 @@ stdenv.mkDerivation {
meta = {
homepage = http://www.nongnu.org/sysvinit/;
description = "Utilities related to booting and shutdown";
platforms = stdenv.lib.platforms.linux;
};
}

View file

@ -32,5 +32,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.linux-usb.org/;
description = "Tools for working with USB devices, such as lsusb";
platforms = stdenv.lib.platforms.linux;
};
}

View file

@ -52,5 +52,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.kernel.org/pub/linux/utils/util-linux/;
description = "A set of system utilities for Linux";
platforms = stdenv.lib.platforms.linux;
};
}

View file

@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
name = "gpm-1.20.6";
src = fetchurl {
url = "http://www.nico.schottelius.org/software/gpm/archives/${name}.tar.bz2";
sha256 = "1990i19ddzn8gg5xwm53yn7d0mya885f48sd2hyvr7dvzyaw7ch8";
@ -28,5 +28,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://www.nico.schottelius.org/software/gpm/;
description = "A daemon that provides mouse support on the Linux console";
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.eelco ];
};
}

View file

@ -40,5 +40,6 @@ stdenv.mkDerivation rec {
homepage = http://neil.brown.name/portmap/;
license = "BSD";
platforms = stdenv.lib.platforms.linux;
};
}

View file

@ -76,6 +76,8 @@ stdenv.mkDerivation rec {
license = stdenv.lib.licenses.gpl3Plus;
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.simons ];
};

View file

@ -40,6 +40,6 @@ stdenv.mkDerivation {
homepage = http://liquidsoap.fm/;
maintainers = with maintainers; [ emery ];
license = licenses.gpl2;
platform = ocaml.meta.platforms;
platforms = ocaml.meta.platforms;
};
}

View file

@ -29,6 +29,8 @@ stdenv.mkDerivation rec {
is just a bonus.
'';
platforms = stdenv.lib.platforms.all;
license = stdenv.lib.licenses.gpl3Plus;
};
}

View file

@ -14,5 +14,6 @@ stdenv.mkDerivation rec {
meta = {
description = "IBM JFS utilities";
platforms = stdenv.lib.platforms.linux;
};
}

View file

@ -82,6 +82,8 @@ let
license = stdenv.lib.licenses.gpl3Plus;
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.eelco ];
};
};

View file

@ -38,6 +38,8 @@ stdenv.mkDerivation rec {
* xargs - build and execute command lines from standard input.
'';
platforms = stdenv.lib.platforms.all;
license = stdenv.lib.licenses.gpl3Plus;
};
}

View file

@ -52,4 +52,7 @@ stdenv.mkDerivation {
passthru.grubTarget = "";
meta = {
platforms = stdenv.lib.platforms.linux;
};
}

View file

@ -27,5 +27,6 @@ stdenv.mkDerivation {
description = "Tool for displaying hard disk temperature";
homepage = https://savannah.nongnu.org/projects/hddtemp/;
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
};
}

View file

@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
description = "Readline wrapper for console programs";
homepage = http://utopia.knoware.nl/~hlub/uck/rlwrap/;
license = stdenv.lib.licenses.gpl2Plus;
platform = stdenv.lib.platforms.unix;
platforms = stdenv.lib.platforms.unix;
maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
};
}

View file

@ -11,5 +11,6 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://zakalwe.fi/~shd/foss/cksfv/;
description = "A tool for verifying files against a SFV checksum file";
platforms = stdenv.lib.platforms.all;
};
}

View file

@ -15,6 +15,6 @@ stdenv.mkDerivation rec {
homepage = http://dnscrypt.org/;
license = with stdenv.lib.licenses; [ isc ];
maintainers = with stdenv.lib.maintainers; [ joachifm ];
platform = stdenv.lib.platforms.all;
platforms = stdenv.lib.platforms.all;
};
}

View file

@ -1,24 +1,26 @@
{ fetchurl, stdenv }:
let version = "20000331"; in
stdenv.mkDerivation {
name = "host-${version}";
src = fetchurl {
url = "mirror://debian/pool/main/h/host/host_${version}.orig.tar.gz";
sha256 = "1g352k80arhwyidsa95nk28xjvzyypmwv3kga2451m3g7fmdqki1";
};
stdenv.mkDerivation {
name = "host-${version}";
preConfigure = ''
makeFlagsArray=(DESTBIN=$out/bin DESTMAN=$out/share/man OWNER=$(id -u) GROUP=$(id -g))
mkdir -p "$out/bin"
mkdir -p "$out/share/man/man1"
'';
src = fetchurl {
url = "mirror://debian/pool/main/h/host/host_${version}.orig.tar.gz";
sha256 = "1g352k80arhwyidsa95nk28xjvzyypmwv3kga2451m3g7fmdqki1";
};
installTargets = "install man";
preConfigure = ''
makeFlagsArray=(DESTBIN=$out/bin DESTMAN=$out/share/man OWNER=$(id -u) GROUP=$(id -g))
mkdir -p "$out/bin"
mkdir -p "$out/share/man/man1"
'';
meta = {
description = "DNS resolution utility";
license = "BSD-style";
};
}
installTargets = "install man";
meta = {
description = "DNS resolution utility";
license = "BSD-style";
platforms = stdenv.lib.platforms.linux;
};
}

View file

@ -21,6 +21,6 @@ stdenv.mkDerivation rec {
description = "Minimal I2P router written in C++";
licenses = licenses.gpl2;
maintainers = with maintainers; [ edwtjo ];
platform = platforms.linux;
platforms = platforms.linux;
};
}
}

View file

@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
any kind of file.
'';
license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [ muflax ];
maintainers = [ stdenv.lib.maintainers.muflax ];
platforms = stdenv.lib.platforms.all;
};
}

View file

@ -21,5 +21,6 @@ stdenv.mkDerivation rec {
homepage = http://www.tcpdump.org/;
license = "BSD-style";
maintainers = [ stdenv.lib.maintainers.mornfall ];
platforms = stdenv.lib.platforms.linux;
};
}

View file

@ -15,13 +15,14 @@ stdenv.mkDerivation rec {
NIX_CFLAGS_COMPILE = "-I${nspr}/include/nspr -I${nss}/include/nss -I${elfutils}/include";
NIX_CFLAGS_LINK = "-L${elfutils}/lib";
configureFlags = "--with-external-db --without-lua --enable-python";
meta = with stdenv.lib; {
homepage = http://www.rpm.org/;
license = licenses.gpl2;
description = "The RPM Package Manager";
maintainers = with maintainers; [ mornfall ];
maintainers = [ maintainers.mornfall ];
platforms = platforms.linux;
};
}

View file

@ -61,5 +61,7 @@ stdenv.mkDerivation rec {
license = http://www.sudo.ws/sudo/license.html;
maintainers = [ stdenv.lib.maintainers.eelco ];
platforms = stdenv.lib.platforms.linux;
};
}

View file

@ -33,5 +33,6 @@ stdenv.mkDerivation {
description = ''The classical Unix `at' job scheduling command'';
license = stdenv.lib.licenses.gpl2Plus;
homepage = http://packages.qa.debian.org/at;
platforms = stdenv.lib.platforms.linux;
};
}

View file

@ -20,8 +20,9 @@ stdenv.mkDerivation {
'';
preInstall = "mkdir -p $out/bin $out/sbin $out/share/man/man1 $out/share/man/man5 $out/share/man/man8";
meta = {
description = "Daemon for running commands at specific times (Vixie Cron)";
platforms = stdenv.lib.platforms.linux;
};
}

View file

@ -10,5 +10,6 @@ stdenv.mkDerivation {
meta = {
homepage = http://ftp.gnu.org/gnu/which/;
platforms = stdenv.lib.platforms.all;
};
}

View file

@ -42,6 +42,7 @@ stdenv.mkDerivation {
homepage = http://www.tug.org/tetex/;
matintainers = with maintainers; [ lovek323 ];
platforms = platforms.unix;
hydraPlatforms = platforms.linux;
};
}

View file

@ -50,25 +50,15 @@ let
} // (mapTestOn ((packagePlatforms pkgs) // rec {
abcde = linux;
apacheHttpd = linux;
aspell = all;
at = linux;
atlas = linux;
autoconf = all;
automake = all;
bash = all;
bashInteractive = all;
bazaar = linux; # first let sqlite3 work on darwin
binutils = linux;
bind = linux;
bvi = all;
castle_combat = linux;
cdrkit = linux;
cksfv = all;
classpath = linux;
coreutils = all;
cron = linux;
cvs = linux;
ddrescue = linux;
dhcp = linux;
dico = linux;
@ -91,13 +81,11 @@ let
eprover = linux;
expect = linux;
exult = linux;
findutils = all;
flex = all;
fontforge = linux;
gajim = linux;
gawk = all;
gcc = linux;
gcc34 = linux;
gcc44 = linux;
gcj = linux;
ghostscript = linux;
@ -113,29 +101,16 @@ let
gnutls = linux;
gogoclient = linux;
gphoto2 = linux;
gpm = linux;
gpscorrelate = linux;
gqview = gtkSupported;
graphviz = all;
grub = linux;
gsl = linux;
guile = linux; # tests fail on Cygwin
gzip = all;
hddtemp = linux;
host = linux;
html-tidy = all;
iana_etc = linux;
icewm = linux;
ifplugd = linux;
inkscape = linux;
irssi = linux;
jfsutils = linux;
jnettop = linux;
jwhois = linux;
kbd = linux;
keen4 = ["i686-linux"];
# klibc = linux;
less = all;
lftp = all;
libarchive = linux;
libtool = all;
@ -155,11 +130,9 @@ let
mercurial = unix;
mercurialFull = linux;
mesa = mesaPlatforms;
mingetty = linux;
mk = linux;
mktemp = all;
mod_python = linux;
module_init_tools = linux;
mupen64plus = linux;
mutt = linux;
mysql = linux;
@ -171,17 +144,12 @@ let
nss_ldap = linux;
nssmdns = linux;
ocaml = linux;
pan = gtkSupported;
par2cmdline = all;
pciutils = linux;
pdf2xml = all;
perl = all;
php = linux;
pinentry = linux;
pltScheme = linux;
pmccabe = linux;
portmap = linux;
postgresql = all;
ppl = all;
procps = linux;
pthreadmanpages = linux;
@ -192,13 +160,8 @@ let
qt3 = linux;
quake3demo = linux;
reiserfsprogs = linux;
rlwrap = all;
rogue = all;
rpm = linux;
rsync = linux;
rubber = allBut cygwin;
rxvt_unicode = linux;
screen = linux ++ darwin;
scrot = linux;
sdparm = linux;
seccure = linux;
@ -209,32 +172,16 @@ let
ssmtp = linux;
stdenv = all;
stlport = linux;
su = linux;
sudo = linux;
superTuxKart = linux;
swig = linux;
sysklogd = linux;
syslinux = ["i686-linux"];
sysvinit = linux;
sysvtools = linux;
tahoelafs = linux;
tangogps = linux;
tcl = linux;
tcpdump = linux;
teeworlds = linux;
tetex = linux;
texLive = linux;
texLiveBeamer = linux;
texLiveExtra = linux;
tightvnc = linux;
time = linux;
tinycc = linux;
uae = linux;
unrar = linux;
upstart = linux;
usbutils = linux;
utillinux = linux;
utillinuxCurses = linux;
viking = linux;
vice = linux;
vim = linux;
@ -244,7 +191,6 @@ let
vsftpd = linux;
w3m = all;
weechat = linux;
which = all;
wicd = linux;
wine = ["i686-linux"];
wirelesstools = linux;