Don't build some packages on some platforms

This commit is contained in:
Eelco Dolstra 2013-11-04 20:25:20 +01:00
parent 0296defd0c
commit 01087750ba
9 changed files with 16 additions and 11 deletions

View File

@ -77,6 +77,6 @@ stdenv.mkDerivation rec {
description = "A version control system intended to be a compelling replacement for CVS in the open source community"; description = "A version control system intended to be a compelling replacement for CVS in the open source community";
homepage = http://subversion.apache.org/; homepage = http://subversion.apache.org/;
maintainers = with stdenv.lib.maintainers; [ eelco lovek323 ]; maintainers = with stdenv.lib.maintainers; [ eelco lovek323 ];
platforms = stdenv.lib.platforms.all; platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
}; };
} }

View File

@ -25,6 +25,7 @@ stdenv.mkDerivation {
homepage = http://www.cwi.nl/htbin/sen1/twiki/bin/view/SEN1/ATerm; homepage = http://www.cwi.nl/htbin/sen1/twiki/bin/view/SEN1/ATerm;
license = "LGPL"; license = "LGPL";
description = "Library for manipulation of term data structures in C"; description = "Library for manipulation of term data structures in C";
platforms = stdenv.lib.platforms.all; platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
maintainers = stdenv.lib.maintainers.eelco;
}; };
} }

View File

@ -1,9 +1,9 @@
{stdenv, fetchurl}: { stdenv, fetchurl }:
let let
isMingw = stdenv ? cross && stdenv.cross.config == "i686-pc-mingw32" ; isMingw = stdenv ? cross && stdenv.cross.config == "i686-pc-mingw32" ;
in in
stdenv.mkDerivation ( { stdenv.mkDerivation {
name = "aterm-2.8"; name = "aterm-2.8";
src = fetchurl { src = fetchurl {
@ -23,9 +23,13 @@ stdenv.mkDerivation ( {
# feel too serious to just ignore. # feel too serious to just ignore.
doCheck = true; doCheck = true;
dontStrip = isMingw;
meta = { meta = {
homepage = http://www.cwi.nl/htbin/sen1/twiki/bin/view/SEN1/ATerm; homepage = http://www.cwi.nl/htbin/sen1/twiki/bin/view/SEN1/ATerm;
license = "LGPL"; license = "LGPL";
description = "Library for manipulation of term data structures in C"; description = "Library for manipulation of term data structures in C";
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
maintainers = stdenv.lib.maintainers.eelco;
}; };
} // ( if isMingw then { dontStrip = true; } else {}) ) }

View File

@ -57,7 +57,7 @@ stdenv.mkDerivation rec {
description = "Apache HTTPD, the world's most popular web server"; description = "Apache HTTPD, the world's most popular web server";
homepage = http://httpd.apache.org/; homepage = http://httpd.apache.org/;
license = stdenv.lib.licenses.asl20; license = stdenv.lib.licenses.asl20;
platforms = stdenv.lib.platforms.unix; platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
maintainers = with stdenv.lib.maintainers; [ simons lovek323 ]; maintainers = with stdenv.lib.maintainers; [ simons lovek323 ];
}; };
} }

View File

@ -62,7 +62,7 @@ stdenv.mkDerivation rec {
description = "Apache HTTPD, the world's most popular web server"; description = "Apache HTTPD, the world's most popular web server";
homepage = http://httpd.apache.org/; homepage = http://httpd.apache.org/;
license = licenses.asl20; license = licenses.asl20;
platforms = stdenv.lib.platforms.unix; platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
maintainers = with maintainers; [ lovek323 simons ]; maintainers = with maintainers; [ lovek323 simons ];
}; };
} }

View File

@ -81,7 +81,7 @@ in
homepage = http://www.zabbix.com/; homepage = http://www.zabbix.com/;
license = "GPL"; license = "GPL";
maintainers = [ stdenv.lib.maintainers.eelco ]; maintainers = [ stdenv.lib.maintainers.eelco ];
platforms = stdenv.lib.platforms.all; platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
}; };
}; };

View File

@ -62,7 +62,7 @@ in
homepage = http://www.zabbix.com/; homepage = http://www.zabbix.com/;
license = "GPL"; license = "GPL";
maintainers = [ stdenv.lib.maintainers.eelco ]; maintainers = [ stdenv.lib.maintainers.eelco ];
platforms = stdenv.lib.platforms.all; platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
}; };
}; };

View File

@ -48,6 +48,6 @@ pythonPackages.buildPythonPackage {
description = "A program that scans log files for repeated failing login attempts and bans IP addresses"; description = "A program that scans log files for repeated failing login attempts and bans IP addresses";
license = licenses.gpl2Plus; license = licenses.gpl2Plus;
maintainers = with maintainers; [ eelco lovek323 ]; maintainers = with maintainers; [ eelco lovek323 ];
platforms = platforms.unix; platforms = platforms.linux ++ platforms.darwin;
}; };
} }

View File

@ -18,6 +18,6 @@ stdenv.mkDerivation rec {
description = "GNU wdiff, comparing files on a word by word basis"; description = "GNU wdiff, comparing files on a word by word basis";
license = "GPLv3+"; license = "GPLv3+";
maintainers = [ stdenv.lib.maintainers.eelco ]; maintainers = [ stdenv.lib.maintainers.eelco ];
platforms = stdenv.lib.platforms.all; platforms = stdenv.lib.platforms.linux;
}; };
} }