Use meta.platforms

svn path=/nixpkgs/trunk/; revision=31909
This commit is contained in:
Yury G. Kudryashov 2012-01-28 14:39:56 +00:00
parent 12e953b944
commit 71c28d0e33
7 changed files with 13 additions and 29 deletions

View File

@ -166,5 +166,6 @@ stdenv.mkDerivation rec {
homepage = "http://mplayerhq.hu"; homepage = "http://mplayerhq.hu";
license = "GPL"; license = "GPL";
maintainers = [ stdenv.lib.maintainers.eelco stdenv.lib.maintainers.urkud ]; maintainers = [ stdenv.lib.maintainers.eelco stdenv.lib.maintainers.urkud ];
platforms = stdenv.lib.platforms.linux;
}; };
} }

View File

@ -22,6 +22,7 @@ let
meta = { meta = {
description = "Aspell dictionary for ${fullName}"; description = "Aspell dictionary for ${fullName}";
platforms = stdenv.lib.platforms.all;
}; };
}; };

View File

@ -55,7 +55,7 @@ stdenv.mkDerivation rec {
meta = { meta = {
homepage = http://www.cmake.org/; homepage = http://www.cmake.org/;
description = "Cross-Platform Makefile Generator"; description = "Cross-Platform Makefile Generator";
platforms = if useQt4 then qt4.meta.platforms else stdenv.lib.platforms.unix; platforms = if useQt4 then qt4.meta.platforms else stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.urkud ]; maintainers = [ stdenv.lib.maintainers.urkud ];
}; };
} }

View File

@ -19,6 +19,7 @@ stdenv.mkDerivation (rec {
meta = { meta = {
description = "A tool that allows packages to find out information about other packages"; description = "A tool that allows packages to find out information about other packages";
homepage = http://pkg-config.freedesktop.org/wiki/; homepage = http://pkg-config.freedesktop.org/wiki/;
platforms = stdenv.lib.platforms.all;
}; };
} // (if stdenv.system == "mips64el-linux" then } // (if stdenv.system == "mips64el-linux" then

View File

@ -89,5 +89,10 @@ gui = stdenv.mkDerivation {
mkdir -pv $out/share/icons mkdir -pv $out/share/icons
cp -av icons/hicolor $out/share/icons cp -av icons/hicolor $out/share/icons
''; '';
meta = {
description = "Qt4 wpa_supplicant client";
inherit (qt4.meta) platforms;
};
}; };
} }

View File

@ -3688,11 +3688,11 @@ let
gtkmathview = callPackage ../development/libraries/gtkmathview { }; gtkmathview = callPackage ../development/libraries/gtkmathview { };
gtkLibs = pkgs.gtkLibs224; gtkLibs = recurseIntoAttrs pkgs.gtkLibs224;
inherit (pkgs.gtkLibs) glib gtk pango cairo gdk_pixbuf; inherit (pkgs.gtkLibs) glib gtk pango cairo gdk_pixbuf;
gtkLibs224 = recurseIntoAttrs (let callPackage = pkgs.newScope pkgs.gtkLibs224; in { gtkLibs224 = let callPackage = pkgs.newScope pkgs.gtkLibs224; in {
glib = callPackage ../development/libraries/glib/2.28.x.nix { }; glib = callPackage ../development/libraries/glib/2.28.x.nix { };
@ -3716,7 +3716,7 @@ let
gob2 = callPackage ../development/tools/misc/gob2 { }; gob2 = callPackage ../development/tools/misc/gob2 { };
}); };
gtkLibs3x = let callPackage = newScope pkgs.gtkLibs3x; in { gtkLibs3x = let callPackage = newScope pkgs.gtkLibs3x; in {
glib = callPackage ../development/libraries/glib/2.30.x.nix { }; glib = callPackage ../development/libraries/glib/2.30.x.nix { };
@ -6264,8 +6264,7 @@ let
wirelesstools = callPackage ../os-specific/linux/wireless-tools { }; wirelesstools = callPackage ../os-specific/linux/wireless-tools { };
wpa_supplicant = callPackage ../os-specific/linux/wpa_supplicant { wpa_supplicant = callPackage ../os-specific/linux/wpa_supplicant { };
};
wpa_supplicant_gui = pkgs.wpa_supplicant.gui; wpa_supplicant_gui = pkgs.wpa_supplicant.gui;

View File

@ -15,7 +15,6 @@ with (import ./release-lib.nix);
} // (mapTestOn ((packagesWithMetaPlatform pkgs) // rec { } // (mapTestOn ((packagesWithMetaPlatform pkgs) // rec {
MPlayer = linux;
abcde = linux; abcde = linux;
alsaUtils = linux; alsaUtils = linux;
apacheHttpd = linux; apacheHttpd = linux;
@ -52,12 +51,10 @@ with (import ./release-lib.nix);
chatzilla = linux; chatzilla = linux;
cksfv = all; cksfv = all;
classpath = linux; classpath = linux;
cmake = all;
consolekit = linux; consolekit = linux;
coreutils = all; coreutils = all;
cpio = all; cpio = all;
cron = linux; cron = linux;
cups = linux;
cvs = linux; cvs = linux;
db4 = all; db4 = all;
ddrescue = linux; ddrescue = linux;
@ -237,7 +234,6 @@ with (import ./release-lib.nix);
php = linux; php = linux;
pidgin = linux; pidgin = linux;
pinentry = linux; pinentry = linux;
pkgconfig = all;
pltScheme = linux; pltScheme = linux;
pmccabe = linux; pmccabe = linux;
portmap = linux; portmap = linux;
@ -333,7 +329,6 @@ with (import ./release-lib.nix);
wine = ["i686-linux"]; wine = ["i686-linux"];
wireshark = linux; wireshark = linux;
wirelesstools = linux; wirelesstools = linux;
wpa_supplicant = linux;
wxGTK = linux; wxGTK = linux;
x11_ssh_askpass = linux; x11_ssh_askpass = linux;
xchm = linux; xchm = linux;
@ -354,20 +349,6 @@ with (import ./release-lib.nix);
zsh = linux; zsh = linux;
zsnes = ["i686-linux"]; zsnes = ["i686-linux"];
aspellDicts = {
de = all;
en = all;
es = all;
fr = all;
nl = all;
ru = all;
};
dbus_all = {
libs = linux;
tools = linux;
};
emacs22Packages = { emacs22Packages = {
bbdb = linux; bbdb = linux;
cedet = linux; cedet = linux;
@ -391,10 +372,6 @@ with (import ./release-lib.nix);
gnome_vfs = linux; gnome_vfs = linux;
}; };
gtkLibs = {
gtk = linux;
};
/* /*
haskellPackages_ghc6104 = { haskellPackages_ghc6104 = {
ghc = ghcSupported; ghc = ghcSupported;