git.iko.soy/typeable/nixpkgs
on master help sign in
Merge remote-tracking branch 'upstream/staging' into compiler-rt
205fc55John Ericson
doc/languages-frameworks/perl.xml+2−2
@@ -109,8 +109,8 @@ buildPerlPackage rec {
109 };
109 };
110
110
111 preConfigure = ''
111 preConfigure = ''
112− echo "LIB = ${db}/lib" > config.in
112+ echo "LIB = ${db.out}/lib" > config.in
113− echo "INCLUDE = ${db}/include" >> config.in
113+ echo "INCLUDE = ${db.dev}/include" >> config.in
114 '';
114 '';
115}
115}
116</programlisting>
116</programlisting>
doc/stdenv.xml+17
@@ -1163,6 +1163,14 @@ passthru = {
1163 </para>
1163 </para>
1164 </listitem>
1164 </listitem>
1165 </varlistentry>
1165 </varlistentry>
1166+ <varlistentry>
1167+ <term><varname>checkInputs</varname>
1168+ </term>
1169+ <listitem><para>
1170+ A list of dependencies used by the phase. This gets included in
1171+ <varname>buildInputs</varname> when <varname>doCheck</varname> is set.
1172+ </para></listitem>
1173+ </varlistentry>
1166 <varlistentry>
1174 <varlistentry>
1167 <term><varname>makeFlags</varname>
1175 <term><varname>makeFlags</varname>
1168 </term>
1176 </term>
@@ -1646,6 +1654,15 @@ set debug-file-directory ~/.nix-profile/lib/debug
1646 </para>
1654 </para>
1647 </listitem>
1655 </listitem>
1648 </varlistentry>
1656 </varlistentry>
1657+ <varlistentry>
1658+ <term><varname>installCheckInputs</varname>
1659+ </term>
1660+ <listitem><para>
1661+ A list of dependencies used by the phase. This gets included in
1662+ <varname>buildInputs</varname> when <varname>doInstallCheck</varname>
1663+ is set.
1664+ </para></listitem>
1665+ </varlistentry>
1649 <varlistentry>
1666 <varlistentry>
1650 <term><varname>preInstallCheck</varname>
1667 <term><varname>preInstallCheck</varname>
1651 </term>
1668 </term>
lib/systems/for-meta.nix+5−1
@@ -19,7 +19,11 @@ in rec {
19 darwin = [ patterns.isDarwin ];
19 darwin = [ patterns.isDarwin ];
20 freebsd = [ patterns.isFreeBSD ];
20 freebsd = [ patterns.isFreeBSD ];
21 # Should be better, but MinGW is unclear, and HURD is bit-rotted.
21 # Should be better, but MinGW is unclear, and HURD is bit-rotted.
22+ gnu = [
23+ { kernel = parse.kernels.linux; abi = parse.abis.gnu; }
22− gnu = [ { kernel = parse.kernels.linux; abi = parse.abis.gnu; } ];
24+ { kernel = parse.kernels.linux; abi = parse.abis.gnueabi; }
25+ { kernel = parse.kernels.linux; abi = parse.abis.gnueabihf; }
26+ ];
23 illumos = [ patterns.isSunOS ];
27 illumos = [ patterns.isSunOS ];
24 linux = [ patterns.isLinux ];
28 linux = [ patterns.isLinux ];
25 netbsd = [ patterns.isNetBSD ];
29 netbsd = [ patterns.isNetBSD ];
nixos/modules/services/misc/nix-daemon.nix+13−2
@@ -33,7 +33,7 @@ let
33 sh = pkgs.runtimeShell;
33 sh = pkgs.runtimeShell;
34 binshDeps = pkgs.writeReferencesToFile sh;
34 binshDeps = pkgs.writeReferencesToFile sh;
35 in
35 in
36− pkgs.runCommand "nix.conf" { extraOptions = cfg.extraOptions; } ''
36+ pkgs.runCommand "nix.conf" { extraOptions = cfg.extraOptions; } (''
37 ${optionalString (!isNix20) ''
37 ${optionalString (!isNix20) ''
38 extraPaths=$(for i in $(cat ${binshDeps}); do if test -d $i; then echo $i; fi; done)
38 extraPaths=$(for i in $(cat ${binshDeps}); do if test -d $i; then echo $i; fi; done)
39 ''}
39 ''}
@@ -62,7 +62,11 @@ let
62 ''}
62 ''}
63 $extraOptions
63 $extraOptions
64 END
64 END
65− '';
65+ '' + optionalString cfg.checkConfig ''
66+ echo "Checking that Nix can read nix.conf..."
67+ ln -s $out ./nix.conf
68+ NIX_CONF_DIR=$PWD ${cfg.package}/bin/nix show-config >/dev/null
69+ '');
66
70
67in
71in
68
72
@@ -351,6 +355,13 @@ in
351 '';
355 '';
352 };
356 };
353
357
358+ checkConfig = mkOption {
359+ type = types.bool;
360+ default = true;
361+ description = ''
362+ If enabled (the default), checks that Nix can parse the generated nix.conf.
363+ '';
364+ };
354 };
365 };
355
366
356 };
367 };
nixos/release.nix+1
@@ -288,6 +288,7 @@ in rec {
288 tests.flatpak = callTest tests/flatpak.nix {};
288 tests.flatpak = callTest tests/flatpak.nix {};
289 tests.firewall = callTest tests/firewall.nix {};
289 tests.firewall = callTest tests/firewall.nix {};
290 tests.fwupd = callTest tests/fwupd.nix {};
290 tests.fwupd = callTest tests/fwupd.nix {};
291+ tests.gdk-pixbuf = callTest tests/gdk-pixbuf.nix {};
291 #tests.gitlab = callTest tests/gitlab.nix {};
292 #tests.gitlab = callTest tests/gitlab.nix {};
292 tests.gitolite = callTest tests/gitolite.nix {};
293 tests.gitolite = callTest tests/gitolite.nix {};
293 tests.gjs = callTest tests/gjs.nix {};
294 tests.gjs = callTest tests/gjs.nix {};
nixos/tests/gdk-pixbuf.nixnew file+19
@@ -0,0 +1,19 @@
1+# run installed tests
2+import ./make-test.nix ({ pkgs, ... }: {
3+ name = "gdk-pixbuf";
4+
5+ meta = {
6+ maintainers = pkgs.gdk_pixbuf.meta.maintainers;
7+ };
8+
9+ machine = { pkgs, ... }: {
10+ environment.systemPackages = with pkgs; [ gnome-desktop-testing ];
11+ environment.variables.XDG_DATA_DIRS = [ "${pkgs.gdk_pixbuf.installedTests}/share" ];
12+
13+ virtualisation.memorySize = 4096; # Tests allocate a lot of memory trying to exploit a CVE
14+ };
15+
16+ testScript = ''
17+ $machine->succeed("gnome-desktop-testing-runner");
18+ '';
19+})
pkgs/applications/altcoins/bitcoin.nix+4
@@ -25,6 +25,10 @@ stdenv.mkDerivation rec{
25 "--with-qt-bindir=${qtbase.dev}/bin:${qttools.dev}/bin"
25 "--with-qt-bindir=${qtbase.dev}/bin:${qttools.dev}/bin"
26 ];
26 ];
27
27
28+ # Fails with "This application failed to start because it could not
29+ # find or load the Qt platform plugin "minimal""
30+ doCheck = false;
31+
28 meta = {
32 meta = {
29 description = "Peer-to-peer electronic cash system";
33 description = "Peer-to-peer electronic cash system";
30 longDescription= ''
34 longDescription= ''
pkgs/applications/audio/easytag/default.nix+2
@@ -22,6 +22,8 @@ in stdenv.mkDerivation rec {
22 gsettings-desktop-schemas gnome3.defaultIconTheme
22 gsettings-desktop-schemas gnome3.defaultIconTheme
23 ];
23 ];
24
24
25+ doCheck = false; # fails 1 out of 9 tests
26+
25 passthru = {
27 passthru = {
26 updateScript = gnome3.updateScript {
28 updateScript = gnome3.updateScript {
27 packageName = pname;
29 packageName = pname;
pkgs/applications/graphics/ImageMagick/default.nix+2
@@ -78,6 +78,8 @@ stdenv.mkDerivation rec {
78 [ libX11 libXext libXt libwebp ]
78 [ libX11 libXext libXt libwebp ]
79 ;
79 ;
80
80
81+ doCheck = false; # fails 6 out of 76 tests
82+
81 postInstall = ''
83 postInstall = ''
82 (cd "$dev/include" && ln -s ImageMagick* ImageMagick)
84 (cd "$dev/include" && ln -s ImageMagick* ImageMagick)
83 moveToOutput "bin/*-config" "$dev"
85 moveToOutput "bin/*-config" "$dev"
pkgs/applications/misc/audio/soxr/default.nix+2−2
@@ -1,11 +1,11 @@
1{ stdenv, fetchurl, cmake }:
1{ stdenv, fetchurl, cmake }:
2
2
3stdenv.mkDerivation rec {
3stdenv.mkDerivation rec {
4− name = "soxr-0.1.2";
4+ name = "soxr-0.1.3";
5
5
6 src = fetchurl {
6 src = fetchurl {
7 url = "mirror://sourceforge/soxr/${name}-Source.tar.xz";
7 url = "mirror://sourceforge/soxr/${name}-Source.tar.xz";
8− sha256 = "0xf2w3piwz9gfr1xqyrj4k685q5dy53kq3igv663i4f4y4sg9rjl";
8+ sha256 = "12aql6svkplxq5fjycar18863hcq84c5kx8g6f4rj0lcvigw24di";
9 };
9 };
10
10
11 outputs = [ "out" "doc" ]; # headers are just two and very small
11 outputs = [ "out" "doc" ]; # headers are just two and very small
pkgs/applications/networking/browsers/firefox-bin/release_sources.nix+399−389
@@ -1,975 +1,985 @@
1{
1{
2− version = "59.0.2";
2+ version = "60.0.1";
3 sources = [
3 sources = [
4− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/ach/firefox-59.0.2.tar.bz2";
4+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/ach/firefox-60.0.1.tar.bz2";
5 locale = "ach";
5 locale = "ach";
6 arch = "linux-x86_64";
6 arch = "linux-x86_64";
7− sha512 = "6242d81b96456c52a25af82049ffae548f7b5e14e47e2e643cea94f338e10027270d67b13c27a4a77fddc378b1e0869b5a0f897b9b269fecbe1d55336dfa4718";
7+ sha512 = "ca1638e32f121b1f366d89934e5516ee23cbe249596a7600f5ba1986fcb014d9125d24d3d7a38f251aa9fb527d368001ccc0af80063a7f3abb02a2a920bc7fd7";
8 }
8 }
9− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/af/firefox-59.0.2.tar.bz2";
9+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/af/firefox-60.0.1.tar.bz2";
10 locale = "af";
10 locale = "af";
11 arch = "linux-x86_64";
11 arch = "linux-x86_64";
12− sha512 = "e2aa156326a38c4ac55b4ebcbcd460ce64d5e9abc210bd53d484cb97bded59bd73045fb7b3099ff3301f0262938ce8b4b90f5b0f807f73d9b7637a826a5055d9";
12+ sha512 = "f693b42ee4380fa6c0505fb7971984dcb466ef2a1ce90c09e8088e758f1aef5d3ee790ac578737523ba93f2866dcc92722852579cf4cc5898e66adf28ce17495";
13 }
13 }
14− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/an/firefox-59.0.2.tar.bz2";
14+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/an/firefox-60.0.1.tar.bz2";
15 locale = "an";
15 locale = "an";
16 arch = "linux-x86_64";
16 arch = "linux-x86_64";
17− sha512 = "2946fdb675ac86e32e91b3a6cf4c26d14a5c977f22a587315a1c5a03db69f84efcd5057d7bd7f8b37e7433f53d915e9e9e5ab0c9d35739ce82e1c3183b1c4d5e";
17+ sha512 = "4858341f974d45c982a9c3c8285de2932db81c8dbdd124272e7aaafc0e4712f613aec5e4929ad0182c1801850fc394ebeda38f08a40e71e29ce111c17abbfc7d";
18 }
18 }
19− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/ar/firefox-59.0.2.tar.bz2";
19+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/ar/firefox-60.0.1.tar.bz2";
20 locale = "ar";
20 locale = "ar";
21 arch = "linux-x86_64";
21 arch = "linux-x86_64";
22− sha512 = "2d497f930358fdd36ae5e708bd73e151461497f8715b11efd5a2b6c23b71fbf985faeeb2bfa5cc2816982e81f27091705f849923cb724078764b50fa684374f4";
22+ sha512 = "dcbe81e9b0910c44530f9b8f33876c8e2df6ca314172f268c9b5cc53010f5f4024b37929a726d4c138033596d904596a6040b6770e796d20a9a8999ff3e84ecc";
23 }
23 }
24− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/as/firefox-59.0.2.tar.bz2";
24+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/as/firefox-60.0.1.tar.bz2";
25 locale = "as";
25 locale = "as";
26 arch = "linux-x86_64";
26 arch = "linux-x86_64";
27− sha512 = "a1d51a99f8a5b47668c74414372d11120160f264762a3bfb988be2aaeb958ad5d3897472618a86a4a8422850c46f2895cf426fe9d064938c263bca96a9592eb4";
27+ sha512 = "4420f102bc6d665ddb568d3a27001cb91ddd76ac20ebe65c4c6fe58d92b2b9406a47c492c2f5ed4da42a48355e30a982c81da2b756826d239d443179bd6deec1";
28 }
28 }
29− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/ast/firefox-59.0.2.tar.bz2";
29+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/ast/firefox-60.0.1.tar.bz2";
30 locale = "ast";
30 locale = "ast";
31 arch = "linux-x86_64";
31 arch = "linux-x86_64";
32− sha512 = "dcd450fb49cce376f27e8135f8c27400af1c2cf139120602c000091231703db2cac791c82de157c9335fb09050cd4e4ee6013da3068b1527dcd9e0aedda16c5d";
32+ sha512 = "5294a33939e40bc868041952830593fafb27f7be2eb7fc163571a6d08c7ccf19443f177bd73e4a3bed96d73103d2fb696810982648abfe300973c7ca7c6677d8";
33 }
33 }
34− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/az/firefox-59.0.2.tar.bz2";
34+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/az/firefox-60.0.1.tar.bz2";
35 locale = "az";
35 locale = "az";
36 arch = "linux-x86_64";
36 arch = "linux-x86_64";
37− sha512 = "fb004315a6ad15cc9ccb6d3b36901c4c495ea21fe146df3869711fc7ae8fb625a109fc416079e85163e79524bb987b366b2d057cd0808d0dfc61f78910fbef96";
37+ sha512 = "272fe5c3c276e9f3cc9554ebada40a90762af24cf6652a5fb9541f41aad964358471f2c19f94b3c1ad59eaf93a4ee507617f4ec299d4601c41d72a6620d0cd3b";
38 }
38 }
39− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/be/firefox-59.0.2.tar.bz2";
39+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/be/firefox-60.0.1.tar.bz2";
40 locale = "be";
40 locale = "be";
41 arch = "linux-x86_64";
41 arch = "linux-x86_64";
42− sha512 = "ba51003823e74734726f655cfd20fe968ebe5feacd0c985f7c8b2cf9766d7b68fe74dafc8baa0605b8fb46b22312a593218c5a57fdfabddea6a51491de74cc13";
42+ sha512 = "75689bbdb2f678ed36b265696d21d6f9becd7658001e15bbd8bd306e683b69d4762ac1cb27ddbb12638f7e626927e36fc0a16cc7b98479c5f2e21769dcd9cd06";
43 }
43 }
44− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/bg/firefox-59.0.2.tar.bz2";
44+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/bg/firefox-60.0.1.tar.bz2";
45 locale = "bg";
45 locale = "bg";
46 arch = "linux-x86_64";
46 arch = "linux-x86_64";
47− sha512 = "f9df1a70c569f853b94c912d8cdbc7cf98a57eda9d461777f9f94c776f4db0a70b6093478ae1e7c87e80f37cfc5a39af3d2b37897ca60496f0d00ac9b45c1713";
47+ sha512 = "33b7aa767bb6c234dcb8406eb7eee3160424192dc1a76b9c1c7beee1de42d1c623ad009ab714e60c62e07bbb087cc1b08feec7628361739380a767bb7b43a020";
48 }
48 }
49− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/bn-BD/firefox-59.0.2.tar.bz2";
49+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/bn-BD/firefox-60.0.1.tar.bz2";
50 locale = "bn-BD";
50 locale = "bn-BD";
51 arch = "linux-x86_64";
51 arch = "linux-x86_64";
52− sha512 = "85758a1ac327b067a59358d3faa0663244a24a4769ac0dfe03bf9dddd5a680503ea4bc9313294d9771bc7e4f3341904c68e0059d912b563aba8061dd0b6cc793";
52+ sha512 = "3c6fdfe39d61fd681fa3d30a4ea1c1ef7988a1345912592a79b9622f18d1106ab96e099fe56b428568467c0c63b56e2cc09bc5fe2a9705478f458d5de0f36433";
53 }
53 }
54− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/bn-IN/firefox-59.0.2.tar.bz2";
54+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/bn-IN/firefox-60.0.1.tar.bz2";
55 locale = "bn-IN";
55 locale = "bn-IN";
56 arch = "linux-x86_64";
56 arch = "linux-x86_64";
57− sha512 = "895d63b62be42947e955ce426e03f7f8cbf8333d77fd3ff4ca6623db18cc740fb1ea6c41aefbc75aa79d60fca2f00b75f1b2e6b5b0bb1ddcec61f9c0772dedfb";
57+ sha512 = "d9c67926f2df8faae64a6d9848a3823bd4968cafa1caaaf8b2713db2656c0a6c82dfc16eca9741c274994178ea46a7325b5f72a11ecafddacd8cf4df45683a89";
58 }
58 }
59− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/br/firefox-59.0.2.tar.bz2";
59+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/br/firefox-60.0.1.tar.bz2";
60 locale = "br";
60 locale = "br";
61 arch = "linux-x86_64";
61 arch = "linux-x86_64";
62− sha512 = "e62f445437a07f9fa070335328064355715d2e5ef81e5572f04a8644f47dd1c8cf8a3a7ac6fa88038c4e996229ab695e692aa1c0b0b3becf214579aaa76a5569";
62+ sha512 = "a0ad58a34f85b254d5985a1bc6a2a0003a91773ba43408a45998098b98fe104b9f09e4d4e9bc9ab7ec9cd378692beb6e9f7aa4d2e55b49630c807bf0f9d158dd";
63 }
63 }
64− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/bs/firefox-59.0.2.tar.bz2";
64+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/bs/firefox-60.0.1.tar.bz2";
65 locale = "bs";
65 locale = "bs";
66 arch = "linux-x86_64";
66 arch = "linux-x86_64";
67− sha512 = "d3adea6061daa0fd54d5cd7d9d8a00f8b88db8ed36545f9fcaee7520c1cfe58534d1fb57e8297fdc8b4f348bd6c728891f6a88f1d4d36f59a7f2ffbe0e4eb229";
67+ sha512 = "3c24cba1629f4458832d09df121c897fa08c6c3a02ddb42d4e232207086525ff0dd01adc8e133c4ed2b6fc909907efd87f985cf0bc1d27fed18055ec566403f2";
68 }
68 }
69− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/ca/firefox-59.0.2.tar.bz2";
69+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/ca/firefox-60.0.1.tar.bz2";
70 locale = "ca";
70 locale = "ca";
71 arch = "linux-x86_64";
71 arch = "linux-x86_64";
72− sha512 = "5bab1fe909680ff6eacf8fadc9aba7786d801379a2e79e5da04e973a3a218de8807c3d08f7641be554fd49c592028949e30b262fcda52413303d9044e161a60e";
72+ sha512 = "75d63bd285257a1f8a6dd97981914fbe0886d77abebc237f08abb498a34bd1f129e38afd6fdbdce3da3d7dab5a7138e1da883ffad0ca31f954da68fc3d273ed4";
73 }
73 }
74− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/cak/firefox-59.0.2.tar.bz2";
74+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/cak/firefox-60.0.1.tar.bz2";
75 locale = "cak";
75 locale = "cak";
76 arch = "linux-x86_64";
76 arch = "linux-x86_64";
77− sha512 = "f54a09501c7311890542d91b0ec96dfa5cb634685af4ef0fcc69e633157183f0c5ef906a205fadba6e132c9ee657f7161879a83ea382bbe400694e92c065de64";
77+ sha512 = "d79aaa1c8833f2fa9c9612efb8e5b7a02805c37f1fc45db6f7fc2f6288c48f75880ff46b9ddd96be7f05b674a8201f3c1bcbd36d0deafd9072aee5dce8f18ab1";
78 }
78 }
79− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/cs/firefox-59.0.2.tar.bz2";
79+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/cs/firefox-60.0.1.tar.bz2";
80 locale = "cs";
80 locale = "cs";
81 arch = "linux-x86_64";
81 arch = "linux-x86_64";
82− sha512 = "28f17b2ef72356a058976da30960af1c8d4f2a02a946aec57b3671d71887573a98375eecca4a2f0f21b37bcbe0dd189ce4ee17ccb9af8fc60d63e9bd20ca44b6";
82+ sha512 = "8b01b051a92320457c9364ab0f28761a7dc574b35777098bb773c9b0ec64d8947a76a2bf3c58b3b4a073e392f7d07b4f804994854c6f625a9e9dc51cad9bf914";
83 }
83 }
84− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/cy/firefox-59.0.2.tar.bz2";
84+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/cy/firefox-60.0.1.tar.bz2";
85 locale = "cy";
85 locale = "cy";
86 arch = "linux-x86_64";
86 arch = "linux-x86_64";
87− sha512 = "36c8a1ac125a55db15d0bf7c8d8fed1ca3b0031a9421437b683adf7691fca281a499af6812cccd608e65bbcda3e1e94469b16ead2a9093708c8c2daf4ea7d588";
87+ sha512 = "9f0e601b41e8f698de134d17d84f1b43d8f91d3319041482fe698fce34c8bcaa0da31e1e113fde72e1760bd93dc11dded02fbc917d69cf1ab008518e54c491dc";
88 }
88 }
89− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/da/firefox-59.0.2.tar.bz2";
89+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/da/firefox-60.0.1.tar.bz2";
90 locale = "da";
90 locale = "da";
91 arch = "linux-x86_64";
91 arch = "linux-x86_64";
92− sha512 = "fd8c669362fcf945b6280d103d1b9524741993db8d38b78e494ae14106309999d09f4b13d55b8521612cac9e5dad622ef361fa16f197389405ff620b3eeac467";
92+ sha512 = "dc4280c4e4f7e51befe4adc002d6875f9bdc7d4cb592335134d5b0df18462b6fe54817dbfa2815375e8947bf76d81ab9ccec31b7b36f07ca2b11ec04b3bbf728";
93 }
93 }
94− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/de/firefox-59.0.2.tar.bz2";
94+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/de/firefox-60.0.1.tar.bz2";
95 locale = "de";
95 locale = "de";
96 arch = "linux-x86_64";
96 arch = "linux-x86_64";
97− sha512 = "32cbc3d054628a11959ccc7b553fdcf98f863a86373307bf8f558a78482de0161e533b71cbfc03142b0ac7aded506e53e821213e42c574d28132fd2f98a753e4";
97+ sha512 = "f9c7e6f1b83616883c74ba8fca5d21b793a811868e15e40611c93312f76ca8d8c37c4222454a8a71bce47d1d30e8596ed5907eb9300c3b5a957ae49249808c7c";
98 }
98 }
99− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/dsb/firefox-59.0.2.tar.bz2";
99+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/dsb/firefox-60.0.1.tar.bz2";
100 locale = "dsb";
100 locale = "dsb";
101 arch = "linux-x86_64";
101 arch = "linux-x86_64";
102− sha512 = "4e7c2f6b980dd4872850f7dfcc068c7e40a8bc896e27ede759029bf0324e1189e605ffdd2291d2e6a4a0c61e56bff6cd760b77e232209127e9a90a38b012e4fb";
102+ sha512 = "fc41281038372262d135de8004a1d7b03a3c8047fc20ab0e6856b696eee3260328a64b59212a809eb03cad7efd58fadda422e44153e7c8e33415d0efe5321c63";
103 }
103 }
104− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/el/firefox-59.0.2.tar.bz2";
104+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/el/firefox-60.0.1.tar.bz2";
105 locale = "el";
105 locale = "el";
106 arch = "linux-x86_64";
106 arch = "linux-x86_64";
107− sha512 = "ecf743c23ef70e92e1f7ddfd2f1862b5b60b446f0e1020778a79ec11af94ce5f03ffea9b0b7048a7ee0861602d5c32f4f4bc8cd4b7171ae306987e1ca9993ddf";
107+ sha512 = "5a5f2d3f2f83e8c3a4bf358cc9611f1279fbf218f24c4e5aff69efcbe4b27ae08b955bafafe3a73ae1caa05914bd4ad739f1292344d9434f1f486f5e615645dd";
108 }
108 }
109− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/en-GB/firefox-59.0.2.tar.bz2";
109+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/en-GB/firefox-60.0.1.tar.bz2";
110 locale = "en-GB";
110 locale = "en-GB";
111 arch = "linux-x86_64";
111 arch = "linux-x86_64";
112− sha512 = "ddec1dfcf976f93d1eb310ccacd9e04dac8e0b075d37b54be1402531d12c11ee9dce2be7d0bfa92c9b654192c71781fd2631cad24c8153275e786552b9ab11e6";
112+ sha512 = "19b09722af085bdb016a12cc586ec9d32371d293f3c5be660efdb792e2d894d339600cef27325759f0489a0b3a4000123685c19db5b6d933d3f4f51244cd4f90";
113 }
113 }
114− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/en-US/firefox-59.0.2.tar.bz2";
114+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/en-US/firefox-60.0.1.tar.bz2";
115 locale = "en-US";
115 locale = "en-US";
116 arch = "linux-x86_64";
116 arch = "linux-x86_64";
117− sha512 = "3257084102282621f15207af04e6dcbb98887b13a8be911069572c151d8ad96f90e7c083e571b4ecd4d4d4ff3bfeee1dc539042d8e5bc6a0fbd7f36c427da402";
117+ sha512 = "2f7c14e1ef94ad4751c7382d7b012fcd36787ee1045918226cb3b0fdbb08508fa986181f54e304df12fdb8d49aadd62afc936f5855939437a7f9d8860976398c";
118 }
118 }
119− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/en-ZA/firefox-59.0.2.tar.bz2";
119+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/en-ZA/firefox-60.0.1.tar.bz2";
120 locale = "en-ZA";
120 locale = "en-ZA";
121 arch = "linux-x86_64";
121 arch = "linux-x86_64";
122− sha512 = "35d2f29daddfb6ba439b160644869bf806ce7a2e36c26d4dc9ef2ff2eb5079e0bda9095edd727fca9c64c3be5a5646e56892bd7ff76b2c67300c1ec7f074d98f";
122+ sha512 = "04661ad52e94ad5e8967e21a460fe1e25cc08f9f0f108e9fe55633d4fdaaf23df133b1b73388146c496285d8562b57d38603100f45c4d81787ec02d4c4b6f0f6";
123 }
123 }
124− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/eo/firefox-59.0.2.tar.bz2";
124+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/eo/firefox-60.0.1.tar.bz2";
125 locale = "eo";
125 locale = "eo";
126 arch = "linux-x86_64";
126 arch = "linux-x86_64";
127− sha512 = "867ac54d47f2266ad357d1666c9206c00e45d7184f6b3a0199c2474b63829ad1d41e95491d2c977885e878d36e2d7e93d215c53e629886e7cb04abc198a06e42";
127+ sha512 = "bb1bd451569e1a4f116b458bb9d020d046b556c7335589dd6aa13f2a941b4ebbd197fa25728607f8bcfeacb610a94943d01d05b072f212346a5b74e96071f157";
128 }
128 }
129− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/es-AR/firefox-59.0.2.tar.bz2";
129+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/es-AR/firefox-60.0.1.tar.bz2";
130 locale = "es-AR";
130 locale = "es-AR";
131 arch = "linux-x86_64";
131 arch = "linux-x86_64";
132− sha512 = "3d577099cb28dd4c4d1349141a715783215510d015f7b2b02739d530222ece5229ab3e6cfe481be4e9d1d17c40aaacac10af9d9c2be37f7956620924e56c87e8";
132+ sha512 = "8b175a74a9688a50adc42a13b4ff4c137b34f09c571606d9a25080a8134640bfc8e0ef757ff88e90428153002d5c71f6dd339c54320520976669c264004a6743";
133 }
133 }
134− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/es-CL/firefox-59.0.2.tar.bz2";
134+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/es-CL/firefox-60.0.1.tar.bz2";
135 locale = "es-CL";
135 locale = "es-CL";
136 arch = "linux-x86_64";
136 arch = "linux-x86_64";
137− sha512 = "821738beffdb260b6b3d8b5c3a1395b6b7d58db6b05a744899c0eb83a291855152f5055c3ca6d9a460bd032d5e72829198cb72dedfcf6614aafe1d7b8189dc26";
137+ sha512 = "7561ea580fa411d7c4a8c4cc6bed455f3287a55a843484d20431aa81f7d08b42386287e3cbf5fe7751f528945d9ed70b922cbaaa0f5cde74ff030101d897447a";
138 }
138 }
139− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/es-ES/firefox-59.0.2.tar.bz2";
139+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/es-ES/firefox-60.0.1.tar.bz2";
140 locale = "es-ES";
140 locale = "es-ES";
141 arch = "linux-x86_64";
141 arch = "linux-x86_64";
142− sha512 = "10ae818fd27acc38a5386d06cd7d890d4eaa44407fe6334b81cdbe3f43ded90be72e749f075e165105e9a6f02e08014aabd7cd783860d6790b67eb2889718e5d";
142+ sha512 = "3f7dea40f758a29ac6cdc8dc9e78ab4fde698c7f8d5369670ae31ef3a09819dd40e28296e2c05caa57e95bf4238f6c162fb81fff6d2bcb4a2ebf26eaad3a225a";
143 }
143 }
144− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/es-MX/firefox-59.0.2.tar.bz2";
144+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/es-MX/firefox-60.0.1.tar.bz2";
145 locale = "es-MX";
145 locale = "es-MX";
146 arch = "linux-x86_64";
146 arch = "linux-x86_64";
147− sha512 = "239d3c287eeface29994c8c2bb9bacd739d638cb277e18e57dc729e35cc0c11f6c7168673c110206f3e931c850bfebaf1a26d4f690d8f3ff6f85a61147522941";
147+ sha512 = "2ef05c4095c02c22769098c837cabc435d2d84ec60b7ce09682c6625117c93e294bd00877379561728117e33d5991a0272cf48044a035964eb5d9df6167586d3";
148 }
148 }
149− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/et/firefox-59.0.2.tar.bz2";
149+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/et/firefox-60.0.1.tar.bz2";
150 locale = "et";
150 locale = "et";
151 arch = "linux-x86_64";
151 arch = "linux-x86_64";
152− sha512 = "824b63c3c596191f1f1c60734bbed70058cb9bf71959dbba759a2b2e75a76d0b0c50ead203c093d568a18bb622372ae112ac22da0a33e4cfe89e5a42d7329b04";
152+ sha512 = "445158a41339640365d8101bf4473dc77df38f8c965a75f66ba8ef48172e6bd21d6813025192a7f98d451b50078faf5485f95b826af566c3e5215a10df2cbcce";
153 }
153 }
154− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/eu/firefox-59.0.2.tar.bz2";
154+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/eu/firefox-60.0.1.tar.bz2";
155 locale = "eu";
155 locale = "eu";
156 arch = "linux-x86_64";
156 arch = "linux-x86_64";
157− sha512 = "01e0991d3a1926f41708353bd98e3aa00d3cc71dc7635b9cce52c3699aa5ee670818db76e9d82de4afce338165fa01bb0e88c3e8b86ab2d92d1b8d3845183510";
157+ sha512 = "7760ad9243be37fbf1aa727afda348f8b4460eb4726d1402e2da82b3165f208eee21b786adde20e7c11aeb5567c6e379210874b0eba75a86f5c88486b4c48c2d";
158 }
158 }
159− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/fa/firefox-59.0.2.tar.bz2";
159+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/fa/firefox-60.0.1.tar.bz2";
160 locale = "fa";
160 locale = "fa";
161 arch = "linux-x86_64";
161 arch = "linux-x86_64";
162− sha512 = "726100abc12832418c5cdc15b9e9083d88d72a70a0f6a1a567ce781173a554cc4495da0e53539185e6ec27143bae98e952a5002dea91fceaa5f8d8e51b6d6a2d";
162+ sha512 = "38fff9451b7fc7a027a5cf646ea6666a9519ae57f31ea77da8560777e485fcafa27e5203ce184916a725449384ce7531f41ba5f38d30a05004093c932c052ebb";
163 }
163 }
164− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/ff/firefox-59.0.2.tar.bz2";
164+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/ff/firefox-60.0.1.tar.bz2";
165 locale = "ff";
165 locale = "ff";
166 arch = "linux-x86_64";
166 arch = "linux-x86_64";
167− sha512 = "1a0d97e27008ff5f3bf3fe85cb14c303320a3015cf928b2ea4c2e115a5a1cfd809743d801157f53d6ffdfcc359c3738f2e2a0e12e5ca7ac8e3f2b93253654e8f";
167+ sha512 = "efed066528af1466f750af19ac816f64031220618cd1c35e8c2041b6d94e0b3fe894780dda51c22e75eb49d4a0f3013c6de9557167de22b85ab4d72bb44d6729";
168 }
168 }
169− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/fi/firefox-59.0.2.tar.bz2";
169+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/fi/firefox-60.0.1.tar.bz2";
170 locale = "fi";
170 locale = "fi";
171 arch = "linux-x86_64";
171 arch = "linux-x86_64";
172− sha512 = "ba0278c06463d0ef44308f46326a3fb9dfc0cc4243086dd9acb856e54465ad672bcfac68afd9ff81d08a1d0c924a044e0ac5afb299be9d06b657c159f6c8ceec";
172+ sha512 = "95d8c34ba47b0fbf2b112764c5f2dff684f9e207c839eef45a2443500de6f30b72ded618e116d784b6b315028df8cceb1efe11d3dc08b1af4a0466c016854c73";
173 }
173 }
174− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/fr/firefox-59.0.2.tar.bz2";
174+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/fr/firefox-60.0.1.tar.bz2";
175 locale = "fr";
175 locale = "fr";
176 arch = "linux-x86_64";
176 arch = "linux-x86_64";
177− sha512 = "bd8ca7884937574f0d6b4dc5399771135778aef06bd09aac275ca11c2a8dff580be45ffbea5ceb58f8baa7d7007587aa07c3ddedd407f0852c1a3940e7ccfc8e";
177+ sha512 = "108fa3054bec0877f35594c6c5f22d5d5bce3eaf5e74e5a1843bcb7592ff84b67160065b32962497577cf59b5375f0bcf75d4676c4e7201712589050a018e00b";
178 }
178 }
179− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/fy-NL/firefox-59.0.2.tar.bz2";
179+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/fy-NL/firefox-60.0.1.tar.bz2";
180 locale = "fy-NL";
180 locale = "fy-NL";
181 arch = "linux-x86_64";
181 arch = "linux-x86_64";
182− sha512 = "9e5fa467a99cd7a9ab102eb2a50ef14a4402d03ad3dec5b6d511c7da3843e779b1492b1ba22cc72f83070ff88353ffdbf1a9d26636462c0e3bdaa6dccd6a6200";
182+ sha512 = "9dddf9cc3be7557e495e712f542f5f3f40ef205c893b5773217ff13e93cc83d35c7d7fa3611ebd1223a9cde4308cc8b4d0d0ba8879072e9dbc1d1433b972ae15";
183 }
183 }
184− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/ga-IE/firefox-59.0.2.tar.bz2";
184+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/ga-IE/firefox-60.0.1.tar.bz2";
185 locale = "ga-IE";
185 locale = "ga-IE";
186 arch = "linux-x86_64";
186 arch = "linux-x86_64";
187− sha512 = "1226faa2c14196824f31da863aca7d076972a47d71a971847c09c66d268d07a9aa2677fa0a7e8f11f149b77261636d62c39e7a382db3abb2917bbbac74330d45";
187+ sha512 = "a2539cd2e7ec2f8898c98a27e7e70772d42a14a435279e33f2fe192189253e8c0d92814d25d3b2e5a5c66ac02ba6745b5feee1045c965398781fa86b19c68b0c";
188 }
188 }
189− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/gd/firefox-59.0.2.tar.bz2";
189+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/gd/firefox-60.0.1.tar.bz2";
190 locale = "gd";
190 locale = "gd";
191 arch = "linux-x86_64";
191 arch = "linux-x86_64";
192− sha512 = "eb0dd803b7ba91574a044503d2edbf633e08c834f8eaa5e546975d91ac7254b3fd4357710fe4627d742a2ea3e64f568a5ef1a893363c516f958e4a153f528f12";
192+ sha512 = "dbfcbdd6bf0ddcf535821268d0c7fe59541387647124a7b95243babb1ba02e34dbfc3956808aea1bafe5f301a7c31382eb958e3da21a476c7961f44b4055bd4b";
193 }
193 }
194− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/gl/firefox-59.0.2.tar.bz2";
194+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/gl/firefox-60.0.1.tar.bz2";
195 locale = "gl";
195 locale = "gl";
196 arch = "linux-x86_64";
196 arch = "linux-x86_64";
197− sha512 = "e789fdf2452043165df90c83ce4bc0ca641366ffe5f89026bb763480973073d79c097313b744c3b2017be3d80f690d18459d1b8969538ce310b802163a2eec45";
197+ sha512 = "743c417dcb7bfb4027b0f56ff9c2561888bb7a66b0399e713bc65255f6283f9f33736abbfb449030cada641b085ed9d6a5a7010c60ada1002802f4cf6f3fedbf";
198 }
198 }
199− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/gn/firefox-59.0.2.tar.bz2";
199+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/gn/firefox-60.0.1.tar.bz2";
200 locale = "gn";
200 locale = "gn";
201 arch = "linux-x86_64";
201 arch = "linux-x86_64";
202− sha512 = "c368f07013b7b4fcc74e88d68a07d5d0a1fb5133991fb343d5b1a86145108e14a762962f3a3d5c7188d8cd75188cba7f26bee5555d3a5e7cfb9741e2e11ed42a";
202+ sha512 = "319eb86fac5e121e27a55386d3b9b79a07e4c766ac999ea387e03619f85e1c9a194dc4bc6cb56d66203ae647f6cede6bba81e65c4bace35baec986a18d79045f";
203 }
203 }
204− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/gu-IN/firefox-59.0.2.tar.bz2";
204+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/gu-IN/firefox-60.0.1.tar.bz2";
205 locale = "gu-IN";
205 locale = "gu-IN";
206 arch = "linux-x86_64";
206 arch = "linux-x86_64";
207− sha512 = "34795309248224a31ef64cef9ff335f357505684f38edc06b9365dc0da98c5b96aa38f21e317e5f0cff0d3d3fa94ef7f8aea6c27f67501aeac68c3112b63cc43";
207+ sha512 = "37a5b54f94b5532d8bbaff537642bce1ca3822697821b84df523d9ecbeecd991aa2302c65a1f31883e7a0f9519347a3bb5995bc17208e1a56d8c98897fd1d2b9";
208 }
208 }
209− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/he/firefox-59.0.2.tar.bz2";
209+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/he/firefox-60.0.1.tar.bz2";
210 locale = "he";
210 locale = "he";
211 arch = "linux-x86_64";
211 arch = "linux-x86_64";
212− sha512 = "05e21abbec43babe818f28f2f12e55159e413b0e6e0871fee76f50c380085ea129620864642d3d26e80e039a50a8434015ed348c51341b6d87190c627b90bb82";
212+ sha512 = "7a9cae5f7a7aebbf25908509efae41430f6f24d91d406964f83da585762cc078caf508750a562683e1f782bd805ba24b59327d1807badf63462a19955230aef2";
213 }
213 }
214− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/hi-IN/firefox-59.0.2.tar.bz2";
214+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/hi-IN/firefox-60.0.1.tar.bz2";
215 locale = "hi-IN";
215 locale = "hi-IN";
216 arch = "linux-x86_64";
216 arch = "linux-x86_64";
217− sha512 = "f6964340a688305ac3855efa57280e3b5eb64f22e11445d76fe28edbe04216318a16c1fd02009b8a66ccc2ec689d8e0bc374e485bc03e964dd5b65ad27e535e4";
217+ sha512 = "99ed2ea7f0aaaf214d3d4e60ff1fefefee09c42d5aaee85690d0c4e9832cab67f23b4d3f5eff8f46a936ab91922bb32ccc801db06c1cfaee4bdea3e60df3a2b0";
218 }
218 }
219− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/hr/firefox-59.0.2.tar.bz2";
219+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/hr/firefox-60.0.1.tar.bz2";
220 locale = "hr";
220 locale = "hr";
221 arch = "linux-x86_64";
221 arch = "linux-x86_64";
222− sha512 = "e0966ea4bfa256eb3a255eab7c89fc9073789512941311863199d96db4014f657acbd1e403a6a4dfc8165dc39d54fb1f9ef48790e942eadaf90f0cb7ffe15ef4";
222+ sha512 = "ea4814ad10720b0685713ea2d670c65713e453693b1d6ab95eb55e1ce418f398549ffdbbec172955d0141f275caa424c75bbcb326b736013dd8741511cba9488";
223 }
223 }
224− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/hsb/firefox-59.0.2.tar.bz2";
224+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/hsb/firefox-60.0.1.tar.bz2";
225 locale = "hsb";
225 locale = "hsb";
226 arch = "linux-x86_64";
226 arch = "linux-x86_64";
227− sha512 = "e8ac60e1b925e7530884777a4ae05037e5c577fe6dc834ff8a007f473846b052290787d3d2f0c19b56e573385b6471336208d360c4c13a3ea3dd686429c28fe2";
227+ sha512 = "2e89edffaebcf69580fdb83c92830b091956d2ddd2d523885d0cbb858f3a958661c47e65e82a5f4f832751b215d568f985632a466e52cc23254ebf0b0276cdbb";
228 }
228 }
229− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/hu/firefox-59.0.2.tar.bz2";
229+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/hu/firefox-60.0.1.tar.bz2";
230 locale = "hu";
230 locale = "hu";
231 arch = "linux-x86_64";
231 arch = "linux-x86_64";
232− sha512 = "737634b022794a37223779592ec948015a90c6c96c952acff5821c3af9c060e7fc60c988f17d87d5faa822fb860e6697e233601c7fb910ab5596935fce12ba49";
232+ sha512 = "d00f603275a624ad6ded66f71b287e38afc8c4904b194fa0c71ab4f148ce2ddeda286eadc1b2395c316a4ace7aa7ea39e6f50ae8b8177bcafd60774661295e23";
233 }
233 }
234− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/hy-AM/firefox-59.0.2.tar.bz2";
234+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/hy-AM/firefox-60.0.1.tar.bz2";
235 locale = "hy-AM";
235 locale = "hy-AM";
236 arch = "linux-x86_64";
236 arch = "linux-x86_64";
237− sha512 = "53d3a10011e8cbd22bbe86c6ed256775de580f7b8094ce30d8337268362cffa2df85267fe11432f659a012047a164a63d1c143014c0dd26ff865760119223f5c";
237+ sha512 = "da238fd6afbb3bbd7586f9f057ccb53d5dd8068fc12ce6ced6602384ede890b71e964c0c516b776154f5de358b1bf6b06daf91526dd8fd334bc6fb8fa650bc1a";
238 }
238 }
239− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/ia/firefox-59.0.2.tar.bz2";
239+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/ia/firefox-60.0.1.tar.bz2";
240 locale = "ia";
240 locale = "ia";
241 arch = "linux-x86_64";
241 arch = "linux-x86_64";
242− sha512 = "5d1ba2fa31d3c5ee692d3bf8ae0995ab166ea0c31044e056b4806bca141d34f93ed5117630c311c072d22cf65d12efefa812203a8237464cc9a285c236439810";
242+ sha512 = "dad9d2b95fa47fc1b34aa9bd47f785e7640eaf44ee51dc0cee8df6897939e3c77977c60b7a8fd3427b23dddb10bf4d0758b3ba08d305c61f7b42dab6b490a6fd";
243 }
243 }
244− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/id/firefox-59.0.2.tar.bz2";
244+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/id/firefox-60.0.1.tar.bz2";
245 locale = "id";
245 locale = "id";
246 arch = "linux-x86_64";
246 arch = "linux-x86_64";
247− sha512 = "b94a086208cff6fa7b4b3f7eb4d681e77d2042ef1c6b21af322ef7316b8551344aa72c3d7a39b86826b8c6d69f847b9d20f60143a048ee28db88847dedfd1d37";
247+ sha512 = "17f8ceee4f31a8a37684d1319f9b84685c05f3f2aa0ba3a8801c4132c2f61755ef9427eeffdb38420829e92fbbd24dcbe54906de59d89ff149f055ede61b751d";
248 }
248 }
249− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/is/firefox-59.0.2.tar.bz2";
249+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/is/firefox-60.0.1.tar.bz2";
250 locale = "is";
250 locale = "is";
251 arch = "linux-x86_64";
251 arch = "linux-x86_64";
252− sha512 = "9767dcbe58dd91364b313f4b7b8f85e1768148080ff97220fa1dfb3dc8d5a69e6fb8fbd607a92411d5f4adbfb856c101bc80f922b0b1ce8b63a79039e84c329b";
252+ sha512 = "9dc8a651bcf460e48a64661dea924d56d48e37424579b369ce4bce113d3a3405fd65f542096c8d199a2a3db42463dc28964fe92c42419c8aa5020084b82059a9";
253 }
253 }
254− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/it/firefox-59.0.2.tar.bz2";
254+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/it/firefox-60.0.1.tar.bz2";
255 locale = "it";
255 locale = "it";
256 arch = "linux-x86_64";
256 arch = "linux-x86_64";
257− sha512 = "f8ffccb521f97f0f18f70a0cd2cecc1c31162072bbbd929a1952823275d7b7d07f36e64bf6811e1aaba64b880c432b1dd342483b9ad5a594971a0bd068c45197";
257+ sha512 = "49a8881a2ae10544db31aba2a8f54bce5948ad25a47f8bd221d8982f12fa66cc7caa43e8c1963cc3ed156ded31bcc331ca0b2f784655c7ef0d8af89d7fd2c271";
258 }
258 }
259− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/ja/firefox-59.0.2.tar.bz2";
259+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/ja/firefox-60.0.1.tar.bz2";
260 locale = "ja";
260 locale = "ja";
261 arch = "linux-x86_64";
261 arch = "linux-x86_64";
262− sha512 = "bd97cbffe8c4c1ca0fd8e44615a6e04dc5929c8ab896952911a04da3796a9132f797a4e32ee262af7a2d8bad294a30e11349731306d86ad18200715408337437";
262+ sha512 = "9af0675507f54ec12924c29e051fa4727ea7b380ebcbb8fac1a91481c0405585b4e593324f72b4778538f0acc0efe8878f21f16a02272c5b02acc5ba7be7245c";
263 }
263 }
264− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/ka/firefox-59.0.2.tar.bz2";
264+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/ka/firefox-60.0.1.tar.bz2";
265 locale = "ka";
265 locale = "ka";
266 arch = "linux-x86_64";
266 arch = "linux-x86_64";
267− sha512 = "1b5a69053263a0571227e614e0ed05ca1cf8bfd7a6294fb82778c2bc99b209fc68b7d644cafa223686ae2a54ee125036a91a3a847a753c194982c0f2327b3b49";
267+ sha512 = "c5b52b448bdb19945baab604b820d383f48cf75a3fef2b8d734f0874d7aa8ba1e3ac6493e9892d8003371fde1bec8405cb1bb0991656b8d9d537e8c0b77a062d";
268 }
268 }
269− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/kab/firefox-59.0.2.tar.bz2";
269+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/kab/firefox-60.0.1.tar.bz2";
270 locale = "kab";
270 locale = "kab";
271 arch = "linux-x86_64";
271 arch = "linux-x86_64";
272− sha512 = "33805bf3976c9ff6699767ef69336f06eb86f08b540b54b33c8997b6af42eaac6be7b9dc8f29d3099ca9530209516ef84e819fcf98f3a7bef3e8d47be8d372b2";
272+ sha512 = "7f93bb78f7e57004fc22863d7dcd40f9407e32a606ff07bbc20a3e4e8d348720fff541d72d962d119eab70998925cdb81ab816086bb8d95c4724a9c02a723587";
273 }
273 }
274− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/kk/firefox-59.0.2.tar.bz2";
274+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/kk/firefox-60.0.1.tar.bz2";
275 locale = "kk";
275 locale = "kk";
276 arch = "linux-x86_64";
276 arch = "linux-x86_64";
277− sha512 = "c2bc89ceadb7ea2c81ee2b4d72bfbeac8a34cd1838f0c2201d7ef0c819e597b87a935a0e6be0831b997ecd290e286de7a1c9b903a10daaa5dfc0fdec2309b260";
277+ sha512 = "fc60ad4c8c2db9252e4975534a50b373bd5b223ea8ae6e6d2a7a07bbaa4834d078ef2756b40dcbab2cc4dc1bdb5feb1def890021c1d44620a179dbb10ec2ab28";
278 }
278 }
279− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/km/firefox-59.0.2.tar.bz2";
279+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/km/firefox-60.0.1.tar.bz2";
280 locale = "km";
280 locale = "km";
281 arch = "linux-x86_64";
281 arch = "linux-x86_64";
282− sha512 = "cb1919f31651b38a77683850077cccd73c27496e1f9b4354accfc35f294d479b92549ebbfa173fdfadf95b03bbb45cf1baa0c8a4e51f132448ffb9fb2293a67b";
282+ sha512 = "c6a544c825f3895ec390275e823da876113d74e16fe3c61838c55afae38b9ba7abdc05e28d1b66bdd3477be0e4b0b792fa2244eb6dfa7aa4a189da438badd823";
283 }
283 }
284− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/kn/firefox-59.0.2.tar.bz2";
284+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/kn/firefox-60.0.1.tar.bz2";
285 locale = "kn";
285 locale = "kn";
286 arch = "linux-x86_64";
286 arch = "linux-x86_64";
287− sha512 = "4293747292be73ccf60a19744120f9cc13b45a7be0c5de4243dacb5a2258eb88391d6dc6b240420ca5097ff5f5e2d5d36240289f6a5c51ba7d0fd31729d342fe";
287+ sha512 = "c42366e72d38cbe3301d52ec5c6e34d5b623d5f1a06e8309cdacb5ed6b6a3a356034cbe95ccc5c6a8b320dd41e8a92564b66effddab4a03476dacf00acab3fc9";
288 }
288 }
289− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/ko/firefox-59.0.2.tar.bz2";
289+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/ko/firefox-60.0.1.tar.bz2";
290 locale = "ko";
290 locale = "ko";
291 arch = "linux-x86_64";
291 arch = "linux-x86_64";
292− sha512 = "1a4723d890649ae29e9030ed2fe3208e44ed10adbe35c25877003a6adc21e033278874241bf5fc971b93f94d33fb4b503dda438153a8bc80b187b584841423ae";
292+ sha512 = "4e05c5d8956661956581acd8bbd93eebaa84b6d5972da34b976bb6f654a06d1d0286504350b89dc43988675a3a9c57890dcec81c4a39ad87e0fbd0593a0e1d63";
293 }
293 }
294− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/lij/firefox-59.0.2.tar.bz2";
294+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/lij/firefox-60.0.1.tar.bz2";
295 locale = "lij";
295 locale = "lij";
296 arch = "linux-x86_64";
296 arch = "linux-x86_64";
297− sha512 = "564260546bc6436dc47ebe6b413abad6d2d25dd7a64d9b5ddbd52fdec49af951b9ce26f3aeccc330aa9601605bec7b3b1f8701668d2b01ee06a228f723600fc1";
297+ sha512 = "68120d34a56f65afe99930e32c0b35660c36b38d61e5f60f7ad5da131b1c95d02e241124379c11b6287d2f8794191d27ef1fff1f5c4eed5dd3a5df6f5a2183cb";
298 }
298 }
299− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/lt/firefox-59.0.2.tar.bz2";
299+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/lt/firefox-60.0.1.tar.bz2";
300 locale = "lt";
300 locale = "lt";
301 arch = "linux-x86_64";
301 arch = "linux-x86_64";
302− sha512 = "0aa6b9bb99ae8284f7287def5048af21372d03211a279f2226de7a739523fe189b3e06e207660be7ab35751b5ccc6aaa1b53dc293417971300a4a8e7cc162b6d";
302+ sha512 = "149ee7cedc772534427202309ec4060e8187a847b79dd686096d5ec2c44b1a0656e8c3099606e921942e8c426d0206551fa5952dc0e9abd1d510320fee26926a";
303 }
303 }
304− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/lv/firefox-59.0.2.tar.bz2";
304+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/lv/firefox-60.0.1.tar.bz2";
305 locale = "lv";
305 locale = "lv";
306 arch = "linux-x86_64";
306 arch = "linux-x86_64";
307− sha512 = "f63955b57e40d2d49d5d1b276ad5b2bdd5122daf476c560dc64e82afa36e4a649e384957c69609e74ff96935004ddbd45c8043a27991d082e59e0f42e7221aac";
307+ sha512 = "0e630d9a09895fdb06c6893d7f9f3bfe3c3832d4a1682e2f12ee89611570b6bbca695bafd8dcfa583525645db86a156bfcf97afb575c44c19f801a43edd824cb";
308 }
308 }
309− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/mai/firefox-59.0.2.tar.bz2";
309+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/mai/firefox-60.0.1.tar.bz2";
310 locale = "mai";
310 locale = "mai";
311 arch = "linux-x86_64";
311 arch = "linux-x86_64";
312− sha512 = "7e857033b14656e972ecbb6f60454cc63f79a9c775bb1fdc669f44af3bde4e1d04ceac3f7028eaab17fccd8136c417d937009b6fc0e80c45200b279660924bd5";
312+ sha512 = "6c3dc9e2230a3f7d74390e00e661eca28306996cb8d5379ee7fde818dc09beb813ae5ccf09319510a1df84e3ebd45b7f1a8a08e776d046e39a69f724fbd79da9";
313 }
313 }
314− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/mk/firefox-59.0.2.tar.bz2";
314+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/mk/firefox-60.0.1.tar.bz2";
315 locale = "mk";
315 locale = "mk";
316 arch = "linux-x86_64";
316 arch = "linux-x86_64";
317− sha512 = "8f7bf3418145af3ab47372af8e131b4a8b350dcfa8a7f74720a96812563327a4e4816976c2fd655fbaced91fadeb98489bf0fd043e103e5e0923b9c2ee408188";
317+ sha512 = "60353c437af1ed116c5d16a4e5d57a1b99016a36eeca8f8e4e8379553a5374cea543dd8a9864e448028b2f188ae16180590da7e199ef96fad604e172fa1f6e55";
318 }
318 }
319− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/ml/firefox-59.0.2.tar.bz2";
319+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/ml/firefox-60.0.1.tar.bz2";
320 locale = "ml";
320 locale = "ml";
321 arch = "linux-x86_64";
321 arch = "linux-x86_64";
322− sha512 = "b9e65dd54f8b4c1da28f6079938320f9943ff94ea0a0a7857192805ff84b53e7de6b762d05f8a66b6dee9f8586623932c5cac7163db2829fe41a13b3c73c27a2";
322+ sha512 = "6065d13e781728dcf587a1389d3893ee69e7e49b601cccb293e2c13dd5e0b5b039ddcef5de3b8b61baf30aa0e994f44eed6f29b38c94b3b24df88f102b0721fd";
323 }
323 }
324− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/mr/firefox-59.0.2.tar.bz2";
324+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/mr/firefox-60.0.1.tar.bz2";
325 locale = "mr";
325 locale = "mr";
326 arch = "linux-x86_64";
326 arch = "linux-x86_64";
327− sha512 = "80e20cc4d30dd2ce2a7d5c40b4c98271a0c0834cff7bf201c3db8df4bece056becbe71dce7056d24b837d16889cb15ec73be7e853384d88447d9d00eada4fcd6";
327+ sha512 = "ddaf770f926ffcb612bef6169cbf073ed4c624635d00db6edd3ac6c6051ebd9ab926ae48f2a9b92a5816c6aa2e6b5ed33ea90827f18c70b7364bc33d6ff9174d";
328 }
328 }
329− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/ms/firefox-59.0.2.tar.bz2";
329+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/ms/firefox-60.0.1.tar.bz2";
330 locale = "ms";
330 locale = "ms";
331 arch = "linux-x86_64";
331 arch = "linux-x86_64";
332− sha512 = "ab4e6a3c244a7e1c4683f58252d02865cc9e8be51a2fe189d8bf555c968260dde63af130a491a8c3b093776a1d1d6b883e32b4054c19a20a9d1856685b4cbe35";
332+ sha512 = "4b9f1e63cfce7b99e05d54f99b7d42255f2e2875718e2ba0e173a7aa53113ed990f1547ecafd508a8547b696f036ec88826260545ab7a6b03d4acde8afbd1fc4";
333 }
333 }
334− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/my/firefox-59.0.2.tar.bz2";
334+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/my/firefox-60.0.1.tar.bz2";
335 locale = "my";
335 locale = "my";
336 arch = "linux-x86_64";
336 arch = "linux-x86_64";
337− sha512 = "aef82a1dff4adc9d93c967ca4fa3e4601772e8b748c3d41a08d2893667bc661a0c640b02450bfa647d35b9c097919ce90a4a4034f83cf4ec51d2341651205aab";
337+ sha512 = "a82103f7dc6880e8e81ec3f0f9b07af4dc13de369eb87398dc977f2935387e489c6e61ff2f5a2c883d5d69ec24cd556bc44c722592d432a3a8f82420fadf11d0";
338 }
338 }
339− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/nb-NO/firefox-59.0.2.tar.bz2";
339+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/nb-NO/firefox-60.0.1.tar.bz2";
340 locale = "nb-NO";
340 locale = "nb-NO";
341 arch = "linux-x86_64";
341 arch = "linux-x86_64";
342− sha512 = "edd9601c678f8f551fa379d7f3c31d2e4c68434d9d3401b40f2945622e6c844993fcf3aaf010ec5b3bc13eb8c8cbe951d76b66a908b4824526b8da368361a347";
342+ sha512 = "4a68aabf3a6a085a8a7abfe705ee67b724243696e63bbd5a9324a1a39c2765db0c75d1fd8b652b78982702702fa1997831945e2eb56b059efe55d64d351723d6";
343 }
343 }
344− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/ne-NP/firefox-59.0.2.tar.bz2";
344+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/ne-NP/firefox-60.0.1.tar.bz2";
345 locale = "ne-NP";
345 locale = "ne-NP";
346 arch = "linux-x86_64";
346 arch = "linux-x86_64";
347− sha512 = "6d7a5d81e0551e675d8dee4be7fc0b8a39afb37b74949d408f197562bb8d7866706dd1b9fad60de4410cac9bc91a4ecdb92aa75a60b2fc2e2b7cc51fc9e46c60";
347+ sha512 = "760c819b44b1b2d694ddd5841a97f586c46fe2661c18a2d9f6831ae24a1f67a90beaf5592d8dccba35868a0e608f80b0a652f9c3af8e01601dbfe771d35c38d2";
348 }
348 }
349− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/nl/firefox-59.0.2.tar.bz2";
349+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/nl/firefox-60.0.1.tar.bz2";
350 locale = "nl";
350 locale = "nl";
351 arch = "linux-x86_64";
351 arch = "linux-x86_64";
352− sha512 = "3d4c3714c7d1c7d4865bace3827df94068bf0cfa4037af130cb7ce0a5f6cf7eaa0e37d091fb36758b13f52a5307288e5480ddcae50bd8645cec527481c03d7f3";
352+ sha512 = "698c765c19647bbd6cf55e3812501131720ffdb485058e90e79446b5310d056ee09162253ee334535ff0eff2d544748385ea88d3bc1fb3bfa0044d4eefac8f07";
353 }
353 }
354− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/nn-NO/firefox-59.0.2.tar.bz2";
354+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/nn-NO/firefox-60.0.1.tar.bz2";
355 locale = "nn-NO";
355 locale = "nn-NO";
356 arch = "linux-x86_64";
356 arch = "linux-x86_64";
357− sha512 = "753e792e3402a5b75043899a5f50f5926ce31d2439ee1eed16193932e962338cddd974194ac94f7aa1ef0df548d95f901a50988abbf9f3e9820f89ac372e39d0";
357+ sha512 = "5cd75409e8f952a681cf7485860a0c45bcb77a9b6f3d645f27b34560802772917a8d29eb465b8eca2fafdaa5db1cfd5a37ef2219cd14444296c81b1c53008375";
358 }
358 }
359− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/or/firefox-59.0.2.tar.bz2";
359+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/oc/firefox-60.0.1.tar.bz2";
360+ locale = "oc";
361+ arch = "linux-x86_64";
362+ sha512 = "765bee0da88cdf168a37521e94249e14dfc80f72248e9d6805b098af8d99801ba38b96eadd6461bfa523fc2bb9999652ca2309ae9fa9202a5e5e00d4aecb506c";
363+ }
364+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/or/firefox-60.0.1.tar.bz2";
360 locale = "or";
365 locale = "or";
361 arch = "linux-x86_64";
366 arch = "linux-x86_64";
362− sha512 = "ac0068afcdd2b6bf5416298e1be065387606bb0b79cffa364aeef9011535ca5c155d1d28fec0715a648f065628efd2c847f47785ac7f27415ceda1902da1add8";
367+ sha512 = "06fdff27a007b45357d17f77fb22b589bd2f0d07866e0f64f00af46a1403f7375df82cda101997d008882232ba34043f26e0e8db0f796bfe30d442eb990ddfec";
363 }
368 }
364− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/pa-IN/firefox-59.0.2.tar.bz2";
369+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/pa-IN/firefox-60.0.1.tar.bz2";
365 locale = "pa-IN";
370 locale = "pa-IN";
366 arch = "linux-x86_64";
371 arch = "linux-x86_64";
367− sha512 = "fe77072b374c34f5026de80ffae16fd4b30705969a795079ef9e81dcf66dddddfe01287dd44bb4f0001427935671d2753d22a8b80469f9c4e896e215400dd9f1";
372+ sha512 = "8a416b28b1f2d73865d151480ff329843e53ad45dea6a1e931fa6426d1d448d47b6ef2e8cf2125d7e03c69bbed90351bf6fe65036be490dbe7688598eb01a8ff";
368 }
373 }
369− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/pl/firefox-59.0.2.tar.bz2";
374+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/pl/firefox-60.0.1.tar.bz2";
370 locale = "pl";
375 locale = "pl";
371 arch = "linux-x86_64";
376 arch = "linux-x86_64";
372− sha512 = "e4b05ab04418e65880f989d642478023bde4ba5ce17627f806b223d19005b4e6825d8a9d5c532c878a397b3cbd8220c4aa4c2627b17b83fd6f4acc395c0a1923";
377+ sha512 = "df635d41fc27ccab2eb30d6b73effe6ee33a44f543fa0f7cdfcb9e2ba8a70ba3a5608a914bb80bd4f450b623d3d6b05e0d9cb250a660560cbefdf98d501425b6";
373 }
378 }
374− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/pt-BR/firefox-59.0.2.tar.bz2";
379+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/pt-BR/firefox-60.0.1.tar.bz2";
375 locale = "pt-BR";
380 locale = "pt-BR";
376 arch = "linux-x86_64";
381 arch = "linux-x86_64";
377− sha512 = "9d67c1264b90dc58ac62fa094792955b75724791b7941354d5836cecf2c5c13ec279cad12f93287e524f0f0dfc2302f68f7585dd783998630007dac806f7e2d3";
382+ sha512 = "b5e23c79428ab50ee97ceb79305331cb36b19f9f76b8473a53f83e669178eecbf06fcf79d067923147fda14863d56bdc157d1123b50cf64841ef3d8fd77f7cd8";
378 }
383 }
379− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/pt-PT/firefox-59.0.2.tar.bz2";
384+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/pt-PT/firefox-60.0.1.tar.bz2";
380 locale = "pt-PT";
385 locale = "pt-PT";
381 arch = "linux-x86_64";
386 arch = "linux-x86_64";
382− sha512 = "a241e003b6d1a3537b5232fc793aa6dce194433028987753bbeaa5c21cdec58b326e12bd4136656cb35bae3cdece5dac100f912151aeee7548420de2d3875e93";
387+ sha512 = "03e3dc135b4d0d8c74ed9cd087edebdf26b256768adbf42d3a8e6745b438a9e617d717d9fa68533d9aa5e7c07c64ed42540b5005cd1b36fa04e9912b4e046090";
383 }
388 }
384− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/rm/firefox-59.0.2.tar.bz2";
389+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/rm/firefox-60.0.1.tar.bz2";
385 locale = "rm";
390 locale = "rm";
386 arch = "linux-x86_64";
391 arch = "linux-x86_64";
387− sha512 = "87ada5bbfeb43e3a42f1eaa44c58e025f66ddce965e1c97de8ca0df190ca18106eacd2d1f28c959a104e79df583672206c047eb79c51a32f431f8cb6fd68bccb";
392+ sha512 = "74884aa4baf61bef8707eb94c9cd523707426ee5c5e280a2f18ddc1cb5535d15a83c7125b4734e3472c9e0ffcf2a8aa7837b9c150ecfc2b1767ee42750cd2a3c";
388 }
393 }
389− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/ro/firefox-59.0.2.tar.bz2";
394+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/ro/firefox-60.0.1.tar.bz2";
390 locale = "ro";
395 locale = "ro";
391 arch = "linux-x86_64";
396 arch = "linux-x86_64";
392− sha512 = "97c5d69e1e40bcb779ce058820b0a4afa4000b3c12170c63ecff1ad4b5994f71ddf36c49536280edefb971fafa6be52a3b436a405ca9a1762aa08d2cd61022c0";
397+ sha512 = "d245c0322e0a4d94b3a837c75c8b800505c82472363202520fdc99d0db04b2830bbf522bf1cc63285d103a0fab22083b8dba93c1117df78ec8ccb6c03cb36633";
393 }
398 }
394− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/ru/firefox-59.0.2.tar.bz2";
399+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/ru/firefox-60.0.1.tar.bz2";
395 locale = "ru";
400 locale = "ru";
396 arch = "linux-x86_64";
401 arch = "linux-x86_64";
397− sha512 = "74fb10b42eef3a2391aeab0e3dd1ce463b58cadba5c42e2fc8a5e0bdb1f9df122aec65a662c9ecb8a14b1ee76bb060c64de93f116a37d207b4cc0887ecc0e2bd";
402+ sha512 = "1ff03c04e419498d3e2ea565c02f4716f41370fc97c24166e54d6a07d92ad6f0ffb6ba13f708e4079d00a4c98fc24e36c278414c7b638e29cc7e5f2891417348";
398 }
403 }
399− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/si/firefox-59.0.2.tar.bz2";
404+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/si/firefox-60.0.1.tar.bz2";
400 locale = "si";
405 locale = "si";
401 arch = "linux-x86_64";
406 arch = "linux-x86_64";
402− sha512 = "d63503345ef7896e9d9a3ecfc80395b6ced67c38b02c19f7afcf94a9efde01f3ac53f1d581b8151d78eed6c7f8eb69f9edccaa3be49133aa3abf2a1eb759a02e";
407+ sha512 = "4467d0a6a69d7ce89e1849d1cfaa81f2588cf8019e50a5fac6f292a2a50c55750130e885334659f834190969636ab74a3af97d6175be5f88e45b97cb772a55e5";
403 }
408 }
404− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/sk/firefox-59.0.2.tar.bz2";
409+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/sk/firefox-60.0.1.tar.bz2";
405 locale = "sk";
410 locale = "sk";
406 arch = "linux-x86_64";
411 arch = "linux-x86_64";
407− sha512 = "1020baafadd4a1de8118bbdf4e281c704595730937d3aca9c8185a6ada54f4a72b8efcc7c493200c32a6a11e7121ef52d7aace68c47784eb5d17ed7fdda32d60";
412+ sha512 = "1060fbd4bf7f83c851d74773ce0277ebcb7f22769ef95b75775d7546b3fbad930e2a04deead17d37e5bee69f39aa978b65c41e20862235209528bb91a776550c";
408 }
413 }
409− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/sl/firefox-59.0.2.tar.bz2";
414+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/sl/firefox-60.0.1.tar.bz2";
410 locale = "sl";
415 locale = "sl";
411 arch = "linux-x86_64";
416 arch = "linux-x86_64";
412− sha512 = "a93e20498b5b3a2b5d19197bbeb48c4502217e44a25c48372f8855a49f762e89438262ccf5dde1fea24af1199bc8cc5c935b1bc886e0bb581d698d10a59d60e9";
417+ sha512 = "75f0d0a4af65fc3f3992cd859c7f7f7a9292aa4f0e1906fd4e7bb4106edad80f3cf086cd843bb526cf2958cdfd94403fd110c83d232c533b105e7a79b6b01b06";
413 }
418 }
414− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/son/firefox-59.0.2.tar.bz2";
419+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/son/firefox-60.0.1.tar.bz2";
415 locale = "son";
420 locale = "son";
416 arch = "linux-x86_64";
421 arch = "linux-x86_64";
417− sha512 = "24411644b553e6f3c305b8a893a7bcd4ed59568a6fb7001b999be114a3e88f30d40ac6f3351c28b3287bd2a9e6aec461c54433caa45fdd349aea07e83401fc2f";
422+ sha512 = "4f5a8dbd2c60874a4158a4f78b66377a193265751c1f7629836c789ce0abb83de85ff1bee97ab8708ef86bb123d0d2ea5bbb2bb21fcdc52950e1c1164fc13684";
418 }
423 }
419− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/sq/firefox-59.0.2.tar.bz2";
424+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/sq/firefox-60.0.1.tar.bz2";
420 locale = "sq";
425 locale = "sq";
421 arch = "linux-x86_64";
426 arch = "linux-x86_64";
422− sha512 = "40ec8fdcc4fcec937a710e5d19077243d0ff5cd832bd20365817e4f4ff1cae5eeb2a664906ce7f60a5184fb053735df5825ffddce41276797fcce3a11548f4db";
427+ sha512 = "5b226608e43a7fe4ae8f23eced67af9f512adda9f70c4f33b81f0a4e779e78e9301bb5e95a4b4362ee79a04ac5da81c36005c5b4e903d40f6f4af84b5503c113";
423 }
428 }
424− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/sr/firefox-59.0.2.tar.bz2";
429+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/sr/firefox-60.0.1.tar.bz2";
425 locale = "sr";
430 locale = "sr";
426 arch = "linux-x86_64";
431 arch = "linux-x86_64";
427− sha512 = "e538596cf0de4a9d8af4e801d7c17d00c1e63c56775cef0d087a77e320cda2269cca74f0c73f679208a184c6cbf4b20c56d1d222e8846f15fc4a91c16ae3ea5e";
432+ sha512 = "143de2c6f87385f71deb0faf6db20cfa5680c5e3f682e89456602f05494624d22db9c577b92934cda98e041f27682103d1755864b0dec5bc3b2b6d9121133532";
428 }
433 }
429− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/sv-SE/firefox-59.0.2.tar.bz2";
434+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/sv-SE/firefox-60.0.1.tar.bz2";
430 locale = "sv-SE";
435 locale = "sv-SE";
431 arch = "linux-x86_64";
436 arch = "linux-x86_64";
432− sha512 = "3466f482ec04f5e8827f437c9456908f04e78c67ffd299b841f2f82cdc2c38a61a566c8d85405312c144aa5c45698b5f6e81190aaee739adf4384f95c81f9e76";
437+ sha512 = "09e52958d73ec2b32331109a1f1d9798493cecae739fde6542dc4d6ba026b4d2e1d1f3816b4d2b16d71faa3a3840417329b97eb7a8c0fac2cd168b159a61eb7f";
433 }
438 }
434− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/ta/firefox-59.0.2.tar.bz2";
439+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/ta/firefox-60.0.1.tar.bz2";
435 locale = "ta";
440 locale = "ta";
436 arch = "linux-x86_64";
441 arch = "linux-x86_64";
437− sha512 = "7598994ca03afb1c2933b640298453a618d140791fe20255789081babb0d9788c4f3ab34d5ede82e1d688f5dc0486fa0f842f1d125dc5a955580d14b1efb6489";
442+ sha512 = "72b0e1a7b94eccade119f7e4b251b803f4f0c54783faeb506649b9048d663698e084e15664baccfa79ad2f6c6238a19c1bc61bcf840fbf003df94cd62ef38deb";
438 }
443 }
439− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/te/firefox-59.0.2.tar.bz2";
444+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/te/firefox-60.0.1.tar.bz2";
440 locale = "te";
445 locale = "te";
441 arch = "linux-x86_64";
446 arch = "linux-x86_64";
442− sha512 = "759be69dcd9b795f7b1b8192928e27799061d83d86e0234cd2a1fdda0d922a7a9d958b19655bbe976d409297f2e2fb2d2a6a525f90f77fa53071d510ffdc6438";
447+ sha512 = "0478768a0e6b228ad924dcda9dca83fbe2d51646503db931ae4600bd107fa15c8f1bcfd4034b6201a72debf561a815c28c54396a45100dacb68d9f04c2c0a45f";
443 }
448 }
444− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/th/firefox-59.0.2.tar.bz2";
449+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/th/firefox-60.0.1.tar.bz2";
445 locale = "th";
450 locale = "th";
446 arch = "linux-x86_64";
451 arch = "linux-x86_64";
447− sha512 = "a46d7eae4a2670615e100707ec3e340d48502b63d6f6f98d4a3140c1bc9d0826b44001bd8ef940c4e786ba5d3f8a00e350faa18d30fcc7663f9c29f20e7a20fd";
452+ sha512 = "499aa56d62d5293e050bc67a50feefaf5019385291e4d3a602f35c1e8b58937acaea893a36d4d77e0e4eacacc3c406054b9e81bfe8cdb27c687b4cc6efcf1b2e";
448 }
453 }
449− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/tr/firefox-59.0.2.tar.bz2";
454+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/tr/firefox-60.0.1.tar.bz2";
450 locale = "tr";
455 locale = "tr";
451 arch = "linux-x86_64";
456 arch = "linux-x86_64";
452− sha512 = "ec5ecf9c76315d1fdc508c94023cdd60edaeba44ef6ee49859ba0689413819f11f54c9ba787000a166b0fd7f628e3c2b42f42c9014f9e7823da257d0abe88cba";
457+ sha512 = "8c3f26b9d37e47e3445fb14ca547f143961f19eab66c93ee4a560828a4bed3c773fe09d2e77c350effd76e0a0c447a0121c9ed29774a5ed93de3d707891a024e";
453 }
458 }
454− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/uk/firefox-59.0.2.tar.bz2";
459+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/uk/firefox-60.0.1.tar.bz2";
455 locale = "uk";
460 locale = "uk";
456 arch = "linux-x86_64";
461 arch = "linux-x86_64";
457− sha512 = "430cbe8281803ca0a4e124fb62a8d2dcafb751ae20441e22dbfd45e544cf906371eef4889f16df5c1be91a4eafa193303e053f75ff15fbe82a836df3ef19a5ff";
462+ sha512 = "ef7a776d6aadd6d9c70594260679810325a4cbd11002bedf5e7d58d36bfc82f72c3c2c352f0d693292992ad6bf9fc323e5947183f6c713f85c353ebe72203b7f";
458 }
463 }
459− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/ur/firefox-59.0.2.tar.bz2";
464+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/ur/firefox-60.0.1.tar.bz2";
460 locale = "ur";
465 locale = "ur";
461 arch = "linux-x86_64";
466 arch = "linux-x86_64";
462− sha512 = "b293eaea548f8d1e96087e111e96fa35940254477599a3c2aec9bbe005347cdcfdcd79f9e3e6d22829fe52b091d6d18dc04ce768724f9709a6e397838974c45a";
467+ sha512 = "9096d21d134c2e55d694ea9a6e06a669e636b15fc4532bcda12b9944d38eef325e256106004e6f9fa503f5590e5077da5f72a535b8887501a53d4a8c9c0c4c55";
463 }
468 }
464− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/uz/firefox-59.0.2.tar.bz2";
469+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/uz/firefox-60.0.1.tar.bz2";
465 locale = "uz";
470 locale = "uz";
466 arch = "linux-x86_64";
471 arch = "linux-x86_64";
467− sha512 = "dc0a6b771469b89cca470a50afe47c642fe6bae284599c876c51c2c5834147cec435508c101f33d76d1e4ce5760f52f3a59592495c82db314de426a9602097ab";
472+ sha512 = "d856195097a7923d42a7efb257a9758ce4bb5ec3d93de798bfcea1ff20dbbe1664d71fcd8bc72dc9592bb4c4e8e45a041164fb9b9174c2c75e2c04ade968e532";
468 }
473 }
469− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/vi/firefox-59.0.2.tar.bz2";
474+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/vi/firefox-60.0.1.tar.bz2";
470 locale = "vi";
475 locale = "vi";
471 arch = "linux-x86_64";
476 arch = "linux-x86_64";
472− sha512 = "6f7b9acc584e41be34b884da9b9f2d7aae602958cbac9843d73dada11d1a584101e603f9111c24983dc3ca0b70462091cbcf755c93b7811469b179aa2b3ecc60";
477+ sha512 = "7ce9b59b89c77e289b56ee8b358409aa6bca3c47b6be004a38037f7c156834213dc5704e1ffabe3fa86f1ba89243abb6efa2fba31eb5bd1f4d95e0f225d0253d";
473 }
478 }
474− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/xh/firefox-59.0.2.tar.bz2";
479+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/xh/firefox-60.0.1.tar.bz2";
475 locale = "xh";
480 locale = "xh";
476 arch = "linux-x86_64";
481 arch = "linux-x86_64";
477− sha512 = "7623715582708bf3e18ce924aa6e1d0fc6c8bf38503691d3ede092070860db3a116b2f39ee1e467d286e0566bad594679b489b39d2c5b5885321982689b8a56a";
482+ sha512 = "7dfc5627038c97188e4875af30cb88baea359463d5bd47d11440c9f33f84ad4168d860e947e90c104ac647a09f3134892a394b8a8435639f71f7bb9edd92bcae";
478 }
483 }
479− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/zh-CN/firefox-59.0.2.tar.bz2";
484+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/zh-CN/firefox-60.0.1.tar.bz2";
480 locale = "zh-CN";
485 locale = "zh-CN";
481 arch = "linux-x86_64";
486 arch = "linux-x86_64";
482− sha512 = "9d0e41df6cf6a7244c4aa29913ac664c67463ad50b91ffa1e7e345601eaeba76d8553523b322ae477ef0f0c5fce55ad2e1cf5bfc5fd777d9433ebedcd2474d98";
487+ sha512 = "75d8a96eac39c0c60814718929997e9d4a60a2fd273ceab744bead7164d6bbdbd8057a94a3310709da7b6287549cd44f6d7dabc4bba1bfe1f48f3345193cd142";
483 }
488 }
484− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/zh-TW/firefox-59.0.2.tar.bz2";
489+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/zh-TW/firefox-60.0.1.tar.bz2";
485 locale = "zh-TW";
490 locale = "zh-TW";
486 arch = "linux-x86_64";
491 arch = "linux-x86_64";
487− sha512 = "c65832ecb353527c6b9e11dacccc9e3d1cbfbb16db1872c8afb4472f632a0e2b4f994af43144e430aa8c8ba6aa6a579d3c024c9111fcbfa6531a4b2b7377414c";
492+ sha512 = "d0465db2b3aa8a52d8e60c480605c069c31f0fcf80cc757980022bb538c0509b99563ce7fd06f2660dc8169dcd3fb6a8681859218365a3ef2ea822eebeb29e12";
488 }
493 }
489− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/ach/firefox-59.0.2.tar.bz2";
494+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/ach/firefox-60.0.1.tar.bz2";
490 locale = "ach";
495 locale = "ach";
491 arch = "linux-i686";
496 arch = "linux-i686";
492− sha512 = "468b25a5e90b385514b0f486bc3fd09a1e7c8c7230b8e31b04dc4bd18027396078b525fc5b51c9747e642d1bc60be49a7e2cfafafd528d95f08033abd12b0757";
497+ sha512 = "7770772e90d57f9bfe30a5f965cd89fe367ded55c4fc146da547d150c85d0fbe906fa092c2a62ae8df3cccd5702e6a7b1b1680e0522e3164d1df20d2538993e0";
493 }
498 }
494− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/af/firefox-59.0.2.tar.bz2";
499+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/af/firefox-60.0.1.tar.bz2";
495 locale = "af";
500 locale = "af";
496 arch = "linux-i686";
501 arch = "linux-i686";
497− sha512 = "a3b92e792d1ef58e029fc097eb354940094c8a94da97dd39b1f69610ffdb9a1a6527b01da2b6716c6c199d85886b6e05aa084bab30f8a2d0ba33ad4c2f6c36ef";
502+ sha512 = "c615df0582484ce23cb16556cda202cdd81056d197a78be02b31d3f71059644378c2e24cd42b4afcbb0b610a3f25d87aa1178671ba04437a0885cd90b0954f97";
498 }
503 }
499− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/an/firefox-59.0.2.tar.bz2";
504+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/an/firefox-60.0.1.tar.bz2";
500 locale = "an";
505 locale = "an";
501 arch = "linux-i686";
506 arch = "linux-i686";
502− sha512 = "9fcb76d123b657b9eb7c62c53c703ea27afa2f41b5107cd67dc01923ffb9dc6d3f334f5d801058f05925b18afea289eac03dfc3c2b188bd2059f4dd0c40710fe";
507+ sha512 = "ab0fd2292c5aac5ec5e1669c49f0aa6568f0c8d0bbea8c20c18ead6a52e88ddf08e3ca44e24386a9a0102f0bd7eec12b9e2b9e6713a3958cf13bd978106f7009";
503 }
508 }
504− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/ar/firefox-59.0.2.tar.bz2";
509+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/ar/firefox-60.0.1.tar.bz2";
505 locale = "ar";
510 locale = "ar";
506 arch = "linux-i686";
511 arch = "linux-i686";
507− sha512 = "eee65b88c2269081dd04fbb37d360b0738e6527581e60dfef60093719a3a15b44d0d594321b4865a35784d2f378e8d86f308736d8be76c1cb7d39152b916bbc8";
512+ sha512 = "dac0df9a18f1a7d01c1caf05e17edbffa6029733c6d439c26fed0b12d1fa8ad325fa10ccca51cde25ada1f76e338c0e6a8792e400f0ae44771231a3a49a33a8d";
508 }
513 }
509− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/as/firefox-59.0.2.tar.bz2";
514+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/as/firefox-60.0.1.tar.bz2";
510 locale = "as";
515 locale = "as";
511 arch = "linux-i686";
516 arch = "linux-i686";
512− sha512 = "f2e54d00258b6f1c55bd8a1deed5e9c9b1e6f1579447ad832f348b50bec8fce66e50c78b2ee6e05c885359a6b2b1f9d298e907fe99478536967103708143f24a";
517+ sha512 = "d57627a4cfad823602cf5e243c5a1c1d8e5e7fd5cbbd345cac1db7ca23947fbe0dfc8a4dad223c6af8b5059f3544a34afde8502ea29f9ed6e41623ce4d856f98";
513 }
518 }
514− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/ast/firefox-59.0.2.tar.bz2";
519+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/ast/firefox-60.0.1.tar.bz2";
515 locale = "ast";
520 locale = "ast";
516 arch = "linux-i686";
521 arch = "linux-i686";
517− sha512 = "4f23798708447a4a3801b392a2ac27207df7d2b722291d3836163b3900c7745404399cb700873cf6afa70121c429ba31bbd8b0b1f597e8c91b2f970d0d6421e5";
522+ sha512 = "32bd3dcfa0a8c63605aefe54a3c96f2dea826d41edce8c71bdc4da5eaffc2b303c8f1c057ce0a4c6ce5d853d4ef55484b5dacb51f27dad5e50b96cdeaa2298c1";
518 }
523 }
519− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/az/firefox-59.0.2.tar.bz2";
524+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/az/firefox-60.0.1.tar.bz2";
520 locale = "az";
525 locale = "az";
521 arch = "linux-i686";
526 arch = "linux-i686";
522− sha512 = "2f12c45870d5ac1a6baea455bda954cf3b112b0a3b46249a23b7cfc064c6eb00cf0ed2952deb220777cc084fa2345368b95388e143dad6e45042e7863c6c3038";
527+ sha512 = "e94f419ec6a34100242babf4afbbf23b98106748b7c2f02b83ff4b0a396bf5e003ec1bb3ed36feeeff82c79fb17c18918ee6e9ddc038ffccc0e121dcaf0eb1f4";
523 }
528 }
524− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/be/firefox-59.0.2.tar.bz2";
529+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/be/firefox-60.0.1.tar.bz2";
525 locale = "be";
530 locale = "be";
526 arch = "linux-i686";
531 arch = "linux-i686";
527− sha512 = "f70af6a6f464b6098802e65226b198f670e5d9ecb2fd56f9c375cabec1e602211c4cf7d80e430f961bb56694cb1d546aa116c7a5aaeb06d13319ed41e3e69ddb";
532+ sha512 = "b23cc179f2c4c5b3d79f6009d87f4772dedba67150e014b792a5d892fd1e09a413ed405d86f82e9f74a1c2e36ab76b2a9e41bd49dc7d16483749d195b56791de";
528 }
533 }
529− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/bg/firefox-59.0.2.tar.bz2";
534+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/bg/firefox-60.0.1.tar.bz2";
530 locale = "bg";
535 locale = "bg";
531 arch = "linux-i686";
536 arch = "linux-i686";
532− sha512 = "87377e96a52ed8866be4a3e6ee9c20c6d8acfaaccb53de0d2a4fd553060166c20b3677a2cd3322523f3b3f7d03618e6a6c27e485113184698207cd4b88b7e699";
537+ sha512 = "0d8abaa490719185579d4c24b02ce38971191ec13bdd1798966364c2f9fc118bf46dfa4ae0621d1c6427beeb03f487a1ebccb0a4e49d6ec93372397de56c4851";
533 }
538 }
534− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/bn-BD/firefox-59.0.2.tar.bz2";
539+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/bn-BD/firefox-60.0.1.tar.bz2";
535 locale = "bn-BD";
540 locale = "bn-BD";
536 arch = "linux-i686";
541 arch = "linux-i686";
537− sha512 = "0d275fdd76d8ee85615f67a11ef46bbf8b718c54a09cf6f3c7f2336098e0bc282caf429a4b228e31e7c3622be41f41384af174da9fa856fe36dc46271f55ed1f";
542+ sha512 = "db9e15472c21880a07e1337e92fde44ec19a8f6297992b589f20bc05ec37140c41d65097f1759734b9ac13b75c806996e17c70bd5fd0bbe65e3acd6a0bb0a854";
538 }
543 }
539− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/bn-IN/firefox-59.0.2.tar.bz2";
544+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/bn-IN/firefox-60.0.1.tar.bz2";
540 locale = "bn-IN";
545 locale = "bn-IN";
541 arch = "linux-i686";
546 arch = "linux-i686";
542− sha512 = "b77374481f21f37e246eb325ee41202fed9916ce36065a88f51e28fe5a015e2df341417b3420d2bff0df93437a56adb4e1fae0422bb094918a19157c655fa34d";
547+ sha512 = "2017273b405a8ff2b9bb1d1c1120c74679a1583ddee9f32e4643f62ef22fd3174e4e01f22e374af92b9821a550b8711d2b65987c71b44215236c161827f679b0";
543 }
548 }
544− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/br/firefox-59.0.2.tar.bz2";
549+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/br/firefox-60.0.1.tar.bz2";
545 locale = "br";
550 locale = "br";
546 arch = "linux-i686";
551 arch = "linux-i686";
547− sha512 = "ba071fe6a668ebc7c00baec930a568a90d03c866a0b5f0011b25e8427f40fd32d54fd770e94610da43775a882eb27eff6359c67d65670fa0fc6179e788cd1394";
552+ sha512 = "9e7648e312d78397bdc06b0a6921f76acf1916c28c8ae05aa9dc7c70c83d522898ef7e2e847cc3c0cbb19553a572ada7914b60424a46d57c0d7fc207941af3dc";
548 }
553 }
549− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/bs/firefox-59.0.2.tar.bz2";
554+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/bs/firefox-60.0.1.tar.bz2";
550 locale = "bs";
555 locale = "bs";
551 arch = "linux-i686";
556 arch = "linux-i686";
552− sha512 = "de70dff3aa71422c96e17e637bd56c18d4b74c8cf1ef5834f1f077249f6d7d1e95703f55063737b464916b2aa87eb4469d197e3fe772d168d184e72979712e65";
557+ sha512 = "6e93cd48d03f87e027e913199e0e7b99f5d66d2d81a4d7da52b8f6a38b9b1e43d5ac5ffa56a6eb46c921a695f1826c6f5b936d4622aab3501e6132da26395888";
553 }
558 }
554− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/ca/firefox-59.0.2.tar.bz2";
559+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/ca/firefox-60.0.1.tar.bz2";
555 locale = "ca";
560 locale = "ca";
556 arch = "linux-i686";
561 arch = "linux-i686";
557− sha512 = "e197d847b044a9ff4e09b67c64a2e4bca5eb2a1770ed4cd9ba965342106b7ec809950d611367308fe2c556c4b413640f050cbbaa00532402d71b59d51c4b60c6";
562+ sha512 = "0e49140d11167e2b6c7d15f75f2b121ab44afffaf1af9135012314c9234af25555a5e18a7ae866d3219e6c0c6752f7ae313f66c7312959fc101c32e417feaed1";
558 }
563 }
559− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/cak/firefox-59.0.2.tar.bz2";
564+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/cak/firefox-60.0.1.tar.bz2";
560 locale = "cak";
565 locale = "cak";
561 arch = "linux-i686";
566 arch = "linux-i686";
562− sha512 = "a716ff884d1d5260b9ed830877223eff731ad301c1349c9f1dcfea5b9dbed0770269c27aa8a336516270386c4b896a87721e3a5e433e92bd579e0d88311271e9";
567+ sha512 = "75c5532e9ee936aa24c5fad77c96fb8aa9e84d3531ac6d36330fd3c324c8bdf13f2e7f815d844e639fd06096c6203e4253c9d97e0c7a564b0b393543a892e56d";
563 }
568 }
564− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/cs/firefox-59.0.2.tar.bz2";
569+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/cs/firefox-60.0.1.tar.bz2";
565 locale = "cs";
570 locale = "cs";
566 arch = "linux-i686";
571 arch = "linux-i686";
567− sha512 = "d66e5f440b2bcece18013499129462ed20d85d9b27ec803ed27bb7d4302d2369331b2320970d256b6e61ba77d93e362171ed012843ec926047c281223218a25a";
572+ sha512 = "32835014bb3b7acb93d566710bf52ebb3bde52f9c17f4b4de64ec598e4a40b9ee8644a2c1866a48aa6598ace07969912eeb09a47811d67d6cb317078e8e99e99";
568 }
573 }
569− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/cy/firefox-59.0.2.tar.bz2";
574+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/cy/firefox-60.0.1.tar.bz2";
570 locale = "cy";
575 locale = "cy";
571 arch = "linux-i686";
576 arch = "linux-i686";
572− sha512 = "87c2c1056bb56b5fc3d1fa9aaf8a1d99a5ad5558016b3953d0dd1f7c70b989863fd1d66f6a8d7a0d14fff351dee8f436b89d5dc593e610721068fe187055aca4";
577+ sha512 = "7b29c7e69a18e817828fd7cfc05faee51a9f9bd1b229a1943443cc3676b4a3e8daf4b52232633c713f0cc3ec4d9ef43a6dae0ec1dcec66caf0ab9d67b1be9467";
573 }
578 }
574− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/da/firefox-59.0.2.tar.bz2";
579+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/da/firefox-60.0.1.tar.bz2";
575 locale = "da";
580 locale = "da";
576 arch = "linux-i686";
581 arch = "linux-i686";
577− sha512 = "6243867a2a5a7a30176c4698888e7998c35ad84790a75a86808e6490f013990890a8137579928573564ac7dadaee6efe921579423773a0c25aa57db17a216eeb";
582+ sha512 = "41aa2e220651b92b8aef3e868d1b9080d1872841d5b82cafa7c1f2d1b0db063c487198949643d89fa0121bfa4287b7dcda99c245f8095b1f3dd86bfe960ab257";
578 }
583 }
579− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/de/firefox-59.0.2.tar.bz2";
584+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/de/firefox-60.0.1.tar.bz2";
580 locale = "de";
585 locale = "de";
581 arch = "linux-i686";
586 arch = "linux-i686";
582− sha512 = "d21c6a44def103db09a072ad72fc42d3876fee9095c5b660fd491084301e2d3bbe383b4c7f9419d666dbf280bec59743a034b4f576cd618142dc7f498fc69e5b";
587+ sha512 = "7d25282bb59a627dcf09b39ca15777253593c4b91e61e6f9d4d2138426cf8ee16f6d8e509398824d8697e42eb301db29e6843eebfad5eaee1fdaaba5fbe7f76c";
583 }
588 }
584− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/dsb/firefox-59.0.2.tar.bz2";
589+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/dsb/firefox-60.0.1.tar.bz2";
585 locale = "dsb";
590 locale = "dsb";
586 arch = "linux-i686";
591 arch = "linux-i686";
587− sha512 = "34446bdb17e81da9ec3689eac248b2ca0fb11ceff7a153bb502a5e0d62a16d2d4a090f9a29e4ff61ae1f87ec68f2fef94be53895a409678d14ad99331058495c";
592+ sha512 = "1f1245297135c1c1550db1ceb110546bc0b436ceaf364bbcd531f6df4770ab694c1602de9f39bf0d9083dccdefa1d5fea21cf9f4e46925cf1357bcc5043f8926";
588 }
593 }
589− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/el/firefox-59.0.2.tar.bz2";
594+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/el/firefox-60.0.1.tar.bz2";
590 locale = "el";
595 locale = "el";
591 arch = "linux-i686";
596 arch = "linux-i686";
592− sha512 = "f5d73ccbe24e30eed81546b6132dc70f08feaac68dffb749ecd7af14052b343aaa4de7bf0ff73924b28b4c5b86c29ca1f6a69caf85ee77d4c4088b925547825b";
597+ sha512 = "58763f729f19722446e87dc7f0e8044993f9cff5b7f707c3d1256628d00011c48973f4408a8cbca67551b621f67256a9596d91f353ecd82482e3b9278fe8b687";
593 }
598 }
594− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/en-GB/firefox-59.0.2.tar.bz2";
599+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/en-GB/firefox-60.0.1.tar.bz2";
595 locale = "en-GB";
600 locale = "en-GB";
596 arch = "linux-i686";
601 arch = "linux-i686";
597− sha512 = "4dbf56a7aa86341c2d08b799d76c7e0dde04d418539657f74e18a088df29d390ee10b60c1b9625bdf46ffc4f458b6ca3e86aa93b1a2d948f10b7d7bb6ac250d4";
602+ sha512 = "d51d6942aaed323fd82eb833a84ee13e4ce8b2d7c461a5bd1f2f48b2b1ae8c9d900280bd21a2891455bf17711f01cbbe70e793f18e3a0c2e9b15cec274c3da1b";
598 }
603 }
599− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/en-US/firefox-59.0.2.tar.bz2";
604+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/en-US/firefox-60.0.1.tar.bz2";
600 locale = "en-US";
605 locale = "en-US";
601 arch = "linux-i686";
606 arch = "linux-i686";
602− sha512 = "15e93c9d069d0e4761520cefa508fdd7e06cca979ddb9cfa1762d70d104f5758fdccfecb531c6099f9372f112abc88dd273a29a67f720cbfa1be5c440378363e";
607+ sha512 = "6c849a9fe358e06c9db01fcc1f811c9cce59cfc150423dcbf8f83eb1407113378b25641de67a8ce8bfeea4930937fd0ff4e919648ef80b219f84eebc3ebee546";
603 }
608 }
604− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/en-ZA/firefox-59.0.2.tar.bz2";
609+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/en-ZA/firefox-60.0.1.tar.bz2";
605 locale = "en-ZA";
610 locale = "en-ZA";
606 arch = "linux-i686";
611 arch = "linux-i686";
607− sha512 = "772ca9b0318e1175e455d2243ea537a5bfab8d84541a7ee306b3670084240b9eb165935f41ef874650c3b1f5e4632ad2d5c0bce3f29a05a0676ed3ddf133cbd0";
612+ sha512 = "42280dcb3627c457097887b51a2530eaf32850c4b01e25c62fde1c89e3cc8392ad29ee72ed8cdec11d78f776e4d720235e4f33b21883cef0c4c99823f26c7c10";
608 }
613 }
609− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/eo/firefox-59.0.2.tar.bz2";
614+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/eo/firefox-60.0.1.tar.bz2";
610 locale = "eo";
615 locale = "eo";
611 arch = "linux-i686";
616 arch = "linux-i686";
612− sha512 = "cc3c98e80c343b065ac8f6af6875d1b2146113303ebaac42c5866d03ff254aebab2cafe398aa1fe38ef8c9d4fb8ece87345e09114145e06a2a7d6c783f1ef601";
617+ sha512 = "0ada2ad4b8ef63b0881d1249b29a39aca65bf2714614e5c074d80d8901124a54d63ec5af4301ffe1483f4e70c6cfcb62db398042b8d12005aca7d95079588065";
613 }
618 }
614− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/es-AR/firefox-59.0.2.tar.bz2";
619+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/es-AR/firefox-60.0.1.tar.bz2";
615 locale = "es-AR";
620 locale = "es-AR";
616 arch = "linux-i686";
621 arch = "linux-i686";
617− sha512 = "fea909cd16c4558ed05602cab2c3a22186d727da969143b77deb9515ef4d87dd41e59e7fc6a322e924f0b809b6205f37297576106a50b5896b4920cdab2e4749";
622+ sha512 = "5c548ab1b0ddbf832d0ae42ff5bc6457ff7aee08b8ac3e94ef65a0e3ab326bfdf6f85be8745fca64e66efd2b45ee992499ccfff963ae21308519fca1bc72cfb5";
618 }
623 }
619− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/es-CL/firefox-59.0.2.tar.bz2";
624+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/es-CL/firefox-60.0.1.tar.bz2";
620 locale = "es-CL";
625 locale = "es-CL";
621 arch = "linux-i686";
626 arch = "linux-i686";
622− sha512 = "5015cdb3a1d803abed9a143fca7a118a239e37a38a65898de7ae60981066113f270260fe8e9b83822385115c2b5e378cc58ed68949ef6297e0f7fc1e28c9c8e8";
627+ sha512 = "509acc1e54e03aadf6c2b1b21d0366d52fa02a51f1983107ef88a7a175226021a574bbdeccc5715bd63ad596f934fa69e1c10bc0122359409632d06bde63f14a";
623 }
628 }
624− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/es-ES/firefox-59.0.2.tar.bz2";
629+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/es-ES/firefox-60.0.1.tar.bz2";
625 locale = "es-ES";
630 locale = "es-ES";
626 arch = "linux-i686";
631 arch = "linux-i686";
627− sha512 = "81fe49a2f31913c030cb801180daf730855dedc5f6adbd39d7d1d8a4b359a3aeee063d7fef0ce35641f163f5f8c965603bc549a1ae3b2458682c390d16a0faf0";
632+ sha512 = "e23028c9a8234744001b267ba43899b2740b63e5655ff289d1e45b1132f3fa97e28d7d800bdeaf2d016ede782432db8f7cae1dd8598eaffba3899c9f7a99ff37";
628 }
633 }
629− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/es-MX/firefox-59.0.2.tar.bz2";
634+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/es-MX/firefox-60.0.1.tar.bz2";
630 locale = "es-MX";
635 locale = "es-MX";
631 arch = "linux-i686";
636 arch = "linux-i686";
632− sha512 = "24bff972bb2f27530b18cb7a640f2f85190977725cd82b1e86c1b47578f1d3058fcb7387d19cb2e1dece49b72c17048829bf6a66aabee2592a4b9503e3c4e546";
637+ sha512 = "a5974914bf0e664ee4dfc0ca2697be5971563e24249adb6b7a7528be67329ec43005fa77acf9bd51970776e9da110019d8bc353a4d6cbce3a27c122399c88cb3";
633 }
638 }
634− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/et/firefox-59.0.2.tar.bz2";
639+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/et/firefox-60.0.1.tar.bz2";
635 locale = "et";
640 locale = "et";
636 arch = "linux-i686";
641 arch = "linux-i686";
637− sha512 = "d60b637f9d78a2b9e53dbab8e6db27aafa701af3cde841e056158d3de53d1c0c1032c5381f7c388edf59b1476078e0dc8166e82f39f7c006fc28c5d897f0e1b4";
642+ sha512 = "9701a3d97558c3a6946294aa3196d816ada9c721d72993a2b10be24640d48ec37c5675abe3a42df9ca986e8b92f3fffabe0649d3be335e2e557f39f63d454997";
638 }
643 }
639− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/eu/firefox-59.0.2.tar.bz2";
644+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/eu/firefox-60.0.1.tar.bz2";
640 locale = "eu";
645 locale = "eu";
641 arch = "linux-i686";
646 arch = "linux-i686";
642− sha512 = "47ed51fa6f27e8b7bd9dd0c3556af3d85e6b004d5c6a5868db8c844ba97a06eba4d3998295058ef92c4a49dad31fca0a3c24b19603e1fafccbf6b7d461596080";
647+ sha512 = "119c5b59dd5520017334db3ff95511ca8ab2d674dfbc85f0cd6f77fac919bbc0e99af18c59f05fb6cdf75f6015cb83ac24d15d0cf4ae3a2b5ed7564c8bc7bf9d";
643 }
648 }
644− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/fa/firefox-59.0.2.tar.bz2";
649+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/fa/firefox-60.0.1.tar.bz2";
645 locale = "fa";
650 locale = "fa";
646 arch = "linux-i686";
651 arch = "linux-i686";
647− sha512 = "8919e1daf708630e397200f09b3e9810b3aa40feb87769af5e1f0ae44ab49c63fcda1982cae5ac4753c600164b34f533054e055293a87e5a8fcf55809cda61c0";
652+ sha512 = "c45fa6ace31733812411d597362bc56f4672fb7a8bd9b127eb288d7ddd2de3e129721c2ec44a08d8adbc8c15672328ef62384e0139a1e37c6a12ba9ae35ceb7f";
648 }
653 }
649− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/ff/firefox-59.0.2.tar.bz2";
654+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/ff/firefox-60.0.1.tar.bz2";
650 locale = "ff";
655 locale = "ff";
651 arch = "linux-i686";
656 arch = "linux-i686";
652− sha512 = "b0a6f5a974750f3ee5b485872d1e7c51a3d894c4118de139b718e85eab94624be302ce2603233fdc3a75df3f12242d4d57c9a96ca1f429bf9e0613d2b299ee86";
657+ sha512 = "cf96e6cdc941ec347036b5d737d0060a892220ebe6f72a71354a21099a7c82a0fd337bfeb6e6eba53d95af88754687888abc4dfa307348d5073315692a4f3496";
653 }
658 }
654− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/fi/firefox-59.0.2.tar.bz2";
659+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/fi/firefox-60.0.1.tar.bz2";
655 locale = "fi";
660 locale = "fi";
656 arch = "linux-i686";
661 arch = "linux-i686";
657− sha512 = "7dc300de36cd860d566a9b84de0ce2c4fdd5eeda4bf641a45e40779e98087c7dc881d2c623c99f8551c08bc84b98b1ab4547ab8144b1a22795710f57112285c6";
662+ sha512 = "0b4bc6fc0559c05b92e42bcd11513ae20d2101384189ffcff337cb017bfbc5a90151e5c4b8bfe29442ffddfb48eba552a06b3a1db24f7dbb78ff45bfc6a4b5f2";
658 }
663 }
659− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/fr/firefox-59.0.2.tar.bz2";
664+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/fr/firefox-60.0.1.tar.bz2";
660 locale = "fr";
665 locale = "fr";
661 arch = "linux-i686";
666 arch = "linux-i686";
662− sha512 = "ff793e4873e8895259b2657d613513404953d27d81bcb0c26ac97c3c2ef2c1ed8db3ec909ecb744dcaa7d194b4fa0660885daf96932270f1382742dd55e0f5b0";
667+ sha512 = "0ce803471b565c8ca715b1700a54be80894205434060751c31d8696d1716f3d3b8fc19c5a0baa82e78f7ffe0df462780e479597c975d2c476b10540de1e98656";
663 }
668 }
664− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/fy-NL/firefox-59.0.2.tar.bz2";
669+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/fy-NL/firefox-60.0.1.tar.bz2";
665 locale = "fy-NL";
670 locale = "fy-NL";
666 arch = "linux-i686";
671 arch = "linux-i686";
667− sha512 = "cbb9bf54a401aad2bc8bb869f8680ee4c00e5ae206ca9b7db732c955ee256e4ad226ccb8ffa320cb3e08aaaa787032b3dbed06aad548e733ba43ec87ddb52bb9";
672+ sha512 = "3dae49cc320f46622ec92d7ad948455a1861f8986cfe9b98bc73035fa41ae44c9b150b9223c037c87c42c5d93c62bdff40784010d2e7f8ee6ee8fb7725c3ee55";
668 }
673 }
669− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/ga-IE/firefox-59.0.2.tar.bz2";
674+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/ga-IE/firefox-60.0.1.tar.bz2";
670 locale = "ga-IE";
675 locale = "ga-IE";
671 arch = "linux-i686";
676 arch = "linux-i686";
672− sha512 = "bdfc3de17be432cb55219bf3f2a3d1371f3fe4776f452a0fb37ce4f5259fadb46487778ec63f6065dfec2cce43758be2e5ed8c5f75394f1604f3318e96f56363";
677+ sha512 = "9bc562d1e432e6e45e56de1238b61f27303fe5b475f0ab0528e44f7c15424911b6b699b08e0386dec8cc7c15df9345b7690361b24b9d467841df63d5677392f6";
673 }
678 }
674− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/gd/firefox-59.0.2.tar.bz2";
679+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/gd/firefox-60.0.1.tar.bz2";
675 locale = "gd";
680 locale = "gd";
676 arch = "linux-i686";
681 arch = "linux-i686";
677− sha512 = "008548e75853625b690bd92e60cea25c1d9b302f7f78f42fdb4536413c10b8203f337c8384b45c3c9b729e6541f57a22e12ba264594ccfa82742373df571ebff";
682+ sha512 = "fd343b25a8f07fd3d5f276372bdeea05bd9692b761051c9fa968beafb6518619ccc40e2d69ef00737ed4da23f092363ba575099137aec85dfb7f6a813384ca7f";
678 }
683 }
679− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/gl/firefox-59.0.2.tar.bz2";
684+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/gl/firefox-60.0.1.tar.bz2";
680 locale = "gl";
685 locale = "gl";
681 arch = "linux-i686";
686 arch = "linux-i686";
682− sha512 = "212ce344a4592ff36006e4671c29b7a4734e513d5267c4ed0e7c50c6d0b794547cb042d543feeb55a48ced69bf001670683df159354f152f9d45786cc7184c03";
687+ sha512 = "2be7fd719d946a96325e684a14247ea344e9c5e096378f02629f87bcc1180d01010cf46f3baa4edc2cebeb4fb99aa5e1d79c24e7b2d1c4d5da1c747ae884be3c";
683 }
688 }
684− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/gn/firefox-59.0.2.tar.bz2";
689+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/gn/firefox-60.0.1.tar.bz2";
685 locale = "gn";
690 locale = "gn";
686 arch = "linux-i686";
691 arch = "linux-i686";
687− sha512 = "6f60fe0c208b6447b4ee9f8c550805f070f4b3209632de91fd0a60853cdba70aa9e6653a29429ea4686dff3ccfe5dcc5a1fedd6495c7d7c38b623f31c2cfe19d";
692+ sha512 = "d19176ca380d778ed407db04712d51098b57090487564ffefbe0d2e25c4a35596e3ba2b10b9d179e886f38a4d3a4fbdfa7454116a49ec82b6701678c3af7d8dd";
688 }
693 }
689− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/gu-IN/firefox-59.0.2.tar.bz2";
694+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/gu-IN/firefox-60.0.1.tar.bz2";
690 locale = "gu-IN";
695 locale = "gu-IN";
691 arch = "linux-i686";
696 arch = "linux-i686";
692− sha512 = "0ec6bdefeffbbd52655d332b9c21be2b372f6ee260684cd28216679aa1af267d0408d5ba641a5dcee145b80c357936a090700427520f9ee7d712e20eec13c57f";
697+ sha512 = "d219e58d9699ff8b3d87822421f032fbcb4f8c3dd7c13b928e7e8a1661d0672cc1582ea55fb348fb168641307d430d66aaa7912e32a9ac1c78091e3f46867723";
693 }
698 }
694− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/he/firefox-59.0.2.tar.bz2";
699+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/he/firefox-60.0.1.tar.bz2";
695 locale = "he";
700 locale = "he";
696 arch = "linux-i686";
701 arch = "linux-i686";
697− sha512 = "2a4a76c674fd53eed5a73f3ef5d143138752e9d52db5c69d56fd5d0dff1c19349afba6987c4736d53391bc602245c1d4ac9f5c9b60a0c1d561f4162c859ae3b5";
702+ sha512 = "cf2e5f7f7da94e75f26be5fb6c9e90d089dbab94779fa026ab61f87bbbb0e6ae75e16160c65f19de809bf6527b9d8a92bb0cec97ad18657b07ebb107b88edd6c";
698 }
703 }
699− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/hi-IN/firefox-59.0.2.tar.bz2";
704+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/hi-IN/firefox-60.0.1.tar.bz2";
700 locale = "hi-IN";
705 locale = "hi-IN";
701 arch = "linux-i686";
706 arch = "linux-i686";
702− sha512 = "34d932f073e803678990098623149dc0ea427a70ed3e604651fb622a87404ddaf25c3a79503f4e343315101704f5cd1db058a262ed47ae02eba85f102a64f780";
707+ sha512 = "08626ae0313f7227eb144bd264a6f9c7d2e041b88fce8f1ea182bfdf438496ecc1899d9caf76bf00b6ea25604fa6032807766a93de088764e17a2c8449bd548c";
703 }
708 }
704− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/hr/firefox-59.0.2.tar.bz2";
709+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/hr/firefox-60.0.1.tar.bz2";
705 locale = "hr";
710 locale = "hr";
706 arch = "linux-i686";
711 arch = "linux-i686";
707− sha512 = "474f5d71087f8eb2646750bb6a14c993b2d3708234a09b4ecee7b43e2ed75a8b9d249749f16408751a019b9a32ed8be57c5d61f9fdc36ad0f1e7aa7b5863ab9f";
712+ sha512 = "1c9e3ae0e271ed1ed332fe1c6f820cd0ebf0cb01e86ec713b9523a7247efb8ddd4c6d5f0dd93d5522adab2e18e1bcf9ed44ed2a86be03643f1836e260b498524";
708 }
713 }
709− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/hsb/firefox-59.0.2.tar.bz2";
714+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/hsb/firefox-60.0.1.tar.bz2";
710 locale = "hsb";
715 locale = "hsb";
711 arch = "linux-i686";
716 arch = "linux-i686";
712− sha512 = "9b9127af72f9f4d780714c41a54d26ac3e8065c8ec42e0ed1318013896a3e8d920786713c79ba626f4930c92d44f2acad72ac600b5735122470fa3e3ea317965";
717+ sha512 = "669c3c36fc77359edabced7532e558d0f4e24fef66766b49ca71b4f32d19cc3a1856fc92b716de8507d742905fcb82d6d23f62d542f5adf151a95b99068c7195";
713 }
718 }
714− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/hu/firefox-59.0.2.tar.bz2";
719+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/hu/firefox-60.0.1.tar.bz2";
715 locale = "hu";
720 locale = "hu";
716 arch = "linux-i686";
721 arch = "linux-i686";
717− sha512 = "cec7b19e6e3fc11708c4b67105b191433880b53da8316fc8fa4d6af9eea23cf17423bbfa2f6283490815ee5c7ab33ba8e66ee7bdc201e3eef39808db34d572e0";
722+ sha512 = "c84788b5f7c670e0a0afda91f47d91f51a40e4441522e049b850bed89908363c74dfea7c9023bf3d54068c1fcdb7752f327f57b6f8812e880363881434f893f7";
718 }
723 }
719− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/hy-AM/firefox-59.0.2.tar.bz2";
724+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/hy-AM/firefox-60.0.1.tar.bz2";
720 locale = "hy-AM";
725 locale = "hy-AM";
721 arch = "linux-i686";
726 arch = "linux-i686";
722− sha512 = "4c25802601dadbac82dc260e329db69dff3b69d1eb9237fff76ae6de98a00a79dde0702d4cecfe67016a26e2a7ea4b1f15ce70eb82f422ea3bb8afb9810313bb";
727+ sha512 = "ca81e92cc2ddf30c55dbf7124c4f11f0c2dc00466d17e8f518d2969ae57e04e2a543118756bae3e55bc72e668bc9e78ea1e11d952fb233e43941560720cfa90c";
723 }
728 }
724− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/ia/firefox-59.0.2.tar.bz2";
729+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/ia/firefox-60.0.1.tar.bz2";
725 locale = "ia";
730 locale = "ia";
726 arch = "linux-i686";
731 arch = "linux-i686";
727− sha512 = "99b3d9c4533d376ee7a9f8fd364b9b44a8f0b9f235346a60755f144fae4550a6d51993952736b58e28ed3d07a549cd1d2da5223d7af28f187c78b41959e5d733";
732+ sha512 = "8914b9e45e37602eec6aa20a77ed5c9cf618b0c5d789fbe1821d13ea909148606923d1acbb79006c3fc3e38a4657e926eab02d91a1f47717a9b6f527c935c629";
728 }
733 }
729− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/id/firefox-59.0.2.tar.bz2";
734+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/id/firefox-60.0.1.tar.bz2";
730 locale = "id";
735 locale = "id";
731 arch = "linux-i686";
736 arch = "linux-i686";
732− sha512 = "27275c8e2deb6716c8492fbc4ff56b8a2061be51101a2a7085c0a4bdf35c0bfec77af1f650236d13096ad204b93df695d5ab238ff6c312f9092f4d8adbc8d431";
737+ sha512 = "ccdc3eceb51e7ee33f3a49bbb752055bd000152dfe3af1bf9bd7d8a617e217c8615bea4c3ce1d8bb51ab60477956867f5ce93bad472da47fbf47404ab0db9524";
733 }
738 }
734− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/is/firefox-59.0.2.tar.bz2";
739+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/is/firefox-60.0.1.tar.bz2";
735 locale = "is";
740 locale = "is";
736 arch = "linux-i686";
741 arch = "linux-i686";
737− sha512 = "54b6be973aab07231843455b3e0adf8f7dbc19ecd1e484795af7d6a3e346ae717621d0950297379c88a955bd75af0a19497f55015cc624609510fc3ff7b8355e";
742+ sha512 = "802c8d9b77678bdf051633b19a452544028a4be76fde686240a78fad9d25dc7ed38de0c58b54fbe214bcdc46e0cd1b6f2cad5ec646a8fabe3e8c7072b84b627a";
738 }
743 }
739− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/it/firefox-59.0.2.tar.bz2";
744+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/it/firefox-60.0.1.tar.bz2";
740 locale = "it";
745 locale = "it";
741 arch = "linux-i686";
746 arch = "linux-i686";
742− sha512 = "bea36ccf3c3202bb41d09ef07cf4a30d8f3b7d64a96e4955f1e62c6ce1c252726991bb3dbd1d41b840ad7d626ca2abc83eca59a1997325d0f54231daea95ff06";
747+ sha512 = "44cc35fb9e6375739c5e88bc8e7489c15a80faa9d0327ffb2793916d2674cf71a4b237a41073f05477fcb142bdac8d4ada684ce2101027f551a7241eb46bb7b9";
743 }
748 }
744− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/ja/firefox-59.0.2.tar.bz2";
749+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/ja/firefox-60.0.1.tar.bz2";
745 locale = "ja";
750 locale = "ja";
746 arch = "linux-i686";
751 arch = "linux-i686";
747− sha512 = "bfc409fd6487ff113045732d1826589f8020597958cad12d2b821f496eeb53e65cd4e1b1d002527f6255350254b60a96d9d04c47bcde8bac89483b04270f5b86";
752+ sha512 = "8daac42dcb02ad640a56196ce500b9528c4fbc2a562549f08d76bfd990e51dc2c938a99becd26860c659e4bdaf90465d6c9c909f6cea95030c61839adc79a4a7";
748 }
753 }
749− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/ka/firefox-59.0.2.tar.bz2";
754+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/ka/firefox-60.0.1.tar.bz2";
750 locale = "ka";
755 locale = "ka";
751 arch = "linux-i686";
756 arch = "linux-i686";
752− sha512 = "f62ff3d950324b140238dc9e521e6a038a64dcc22c2679b36b59900b0f58b15d774084fdea7a1f82125a7d09d1b5c831808424e63612aac9e0a61320f6a3e4f8";
757+ sha512 = "2cd50870e0ebad8d385b5e1feffa546dbdee31c2916277c36afa9835d01f9e9dc1d7d4c0f386d4baca38eef11a6c0b1cf1657bc7588a1cd5512e894b12acb9d7";
753 }
758 }
754− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/kab/firefox-59.0.2.tar.bz2";
759+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/kab/firefox-60.0.1.tar.bz2";
755 locale = "kab";
760 locale = "kab";
756 arch = "linux-i686";
761 arch = "linux-i686";
757− sha512 = "573b7cbca69294ac56fd714308caed1549dbaff2c3716887765cf968c20d0ed37b1e0f2849af2481ef237d7c617c6641c42ecf0337fb0fc18afba82c89def034";
762+ sha512 = "8c292f95480d21ad521df9e4fbbd580306c2615705a37a75ceaffc8f6ca5a24648fa1e0bc97006c34a38b6e58a523a487953c414395c1bef8f58c11b68bdf5e5";
758 }
763 }
759− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/kk/firefox-59.0.2.tar.bz2";
764+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/kk/firefox-60.0.1.tar.bz2";
760 locale = "kk";
765 locale = "kk";
761 arch = "linux-i686";
766 arch = "linux-i686";
762− sha512 = "0503e33fc8716dd94c455a0a6201334ad2bbe1f3ad9cbce057d69ec77d65bdda48a126464335cee62117b3638be636e8f2908a003951dd2866908c964a9f889d";
767+ sha512 = "285e6bb268d6b9968d9a0d2cda10c82a790be9d0dde686ba3c0230d84029eae28943e1edf70188fb32c96a7712f13ed9087eac57d690bae222736593515e80e3";
763 }
768 }
764− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/km/firefox-59.0.2.tar.bz2";
769+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/km/firefox-60.0.1.tar.bz2";
765 locale = "km";
770 locale = "km";
766 arch = "linux-i686";
771 arch = "linux-i686";
767− sha512 = "15797d366faf6f4daa60191e4c91cd9feab242e0879204ae8114ca5824a78fc42941c79d190526e1387ec28d2c150d008d4f69c78c450fa6c6aa9d3cbbd151c9";
772+ sha512 = "a939d51066e185a68170bd7c3d21523c4e3c5d69189822496ddbde0bda46ffba3728211efcebb89808ca6d70d76ba12547bfdea8c8fb3420000dbe39fecb8232";
768 }
773 }
769− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/kn/firefox-59.0.2.tar.bz2";
774+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/kn/firefox-60.0.1.tar.bz2";
770 locale = "kn";
775 locale = "kn";
771 arch = "linux-i686";
776 arch = "linux-i686";
772− sha512 = "53908d7a78feb6b4ac8365aeacfa7cc845af5f324b57e0fed6bce78eb4298b316ccad268d022e9adc409eb9be49b9777c7f01197dad4ab79746b8805877c1706";
777+ sha512 = "2207b6883e5dc506d556f8f79bc773f304168029b3282835282296c8b2104ebee6a12e5b1f3887645d366339bc026e53021a004bbab893e3e0362ca28921c78d";
773 }
778 }
774− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/ko/firefox-59.0.2.tar.bz2";
779+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/ko/firefox-60.0.1.tar.bz2";
775 locale = "ko";
780 locale = "ko";
776 arch = "linux-i686";
781 arch = "linux-i686";
777− sha512 = "ee4bc8ffdbd1a329df5dac2580122d883895418b93c69146206ae4e516ba1e5e993b23870ff487fb26df198b3ad73b708f9cd1f8c3f6a9f60dab73dea6ecd373";
782+ sha512 = "02b13260a74edecb18543679e8d0f969d95b40f87dc237f39465399ddfb5cdd66293408ffda594a53a6514a83ee120c464f3827064b6a286187916109eb0cb03";
778 }
783 }
779− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/lij/firefox-59.0.2.tar.bz2";
784+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/lij/firefox-60.0.1.tar.bz2";
780 locale = "lij";
785 locale = "lij";
781 arch = "linux-i686";
786 arch = "linux-i686";
782− sha512 = "a3e92d13e071ec8e76c9a4b946fadc146664263b5176ecd56dc6d412d4a0b8165b67c6be568805455e2179dacb2dc9d5d917981e3b6d52b8ce994d4062d7aae5";
787+ sha512 = "2386a05577d90599c48c04083ef1305d84b7a88b6cf22eb331fcda80ef5678755f7d60f418c053dda9aa992aab5ac6ada99bc5e76afca9cec1dd0d250313d277";
783 }
788 }
784− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/lt/firefox-59.0.2.tar.bz2";
789+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/lt/firefox-60.0.1.tar.bz2";
785 locale = "lt";
790 locale = "lt";
786 arch = "linux-i686";
791 arch = "linux-i686";
787− sha512 = "47c6066bea50fa958812ac3389efa3408b2c35ace30c99d9ffb91ae037f1a2444933eb081992b97e3419554ef6ede9aff7c445b5262a59a324e7c1301059f149";
792+ sha512 = "6eac885d100539167429293655033e86387d50fddc6d6702f5b9e8ee6f21758e3bf01e340c4dee702958851cdf89c3159ed940545b2d439f8d32a90bc3c272a4";
788 }
793 }
789− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/lv/firefox-59.0.2.tar.bz2";
794+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/lv/firefox-60.0.1.tar.bz2";
790 locale = "lv";
795 locale = "lv";
791 arch = "linux-i686";
796 arch = "linux-i686";
792− sha512 = "090db495b0e0883e0e378d992a855aee03e2f2fa02ea257522485742e5a879ca42231029c2e36b8a8c31425e343ea0fcc2568a9a961752ca709737c3b3bc32ce";
797+ sha512 = "984840eff4cf03915d04ca12ed78ce06db9c765db069d2cb647d3b795f8fbe6927f6abfa5d8ccc1c2806f10ab45fa7d612a08f4a0aee1b129c9aa4ad31bf4613";
793 }
798 }
794− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/mai/firefox-59.0.2.tar.bz2";
799+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/mai/firefox-60.0.1.tar.bz2";
795 locale = "mai";
800 locale = "mai";
796 arch = "linux-i686";
801 arch = "linux-i686";
797− sha512 = "b073c397f8d5196e14d0bbd45485532ac11cd01c42fba883c6d2f3b8f831b6cd6ce095f44e279b17ec60a12e48b776004edbc22ab76fde69af875842a48fb2c6";
802+ sha512 = "b063a79532ec9345751d69a41a1e3542256c2b623532a524724eda4f04aba6f5174c568cb45f60e332b1224f3cc0f9a0e641e455e3668cbbb52048571715a559";
798 }
803 }
799− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/mk/firefox-59.0.2.tar.bz2";
804+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/mk/firefox-60.0.1.tar.bz2";
800 locale = "mk";
805 locale = "mk";
801 arch = "linux-i686";
806 arch = "linux-i686";
802− sha512 = "eb20befd569cf18a9bd8455d56d152e48b194e6703cc21457af6407348f5db0405d9fa6a7b503b8c72c96b9cda953c3e0167e5803f6f62947751e042562ad427";
807+ sha512 = "944882edf6c53dc02682733d50dd09c1df3b06c8bb32e05ee1307504936ced2d408623b7ec6588aac3a26e5c82861cf5bb4db44cd4462c9fd8d9fe62dec19743";
803 }
808 }
804− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/ml/firefox-59.0.2.tar.bz2";
809+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/ml/firefox-60.0.1.tar.bz2";
805 locale = "ml";
810 locale = "ml";
806 arch = "linux-i686";
811 arch = "linux-i686";
807− sha512 = "d91c916c45e9ac2abeb655bb318030553139294859701ad99cbaed1c946a24b71ebe63b7efc2d66f995cefe09b7d04bc5bda17784713d8e4a5f27702c4ac7797";
812+ sha512 = "b206d4ceffcf460c73b31326ce2a7cc5d8fefd851a3d824a0012793d0bb0cd773b6abfda81cfcb721f11b3f6b4f38de727a04ab2a32a56f3f7ab7abde6632d3a";
808 }
813 }
809− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/mr/firefox-59.0.2.tar.bz2";
814+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/mr/firefox-60.0.1.tar.bz2";
810 locale = "mr";
815 locale = "mr";
811 arch = "linux-i686";
816 arch = "linux-i686";
812− sha512 = "9d925c4828a427bc77631b28ffd6857f5adc38266731be58e283aa99b2fb4ed304ab464b32f33bce4ce1506c13c76947264891eabd7e63dfdbd020605bb1e8c6";
817+ sha512 = "965c85edf69d05c96f3f23b987376c3747dfe9694af92f925c405a42544ac8a2992782c7aea60bce3fab4072db153b37e0f2873a4f42e564e821731eefd05400";
813 }
818 }
814− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/ms/firefox-59.0.2.tar.bz2";
819+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/ms/firefox-60.0.1.tar.bz2";
815 locale = "ms";
820 locale = "ms";
816 arch = "linux-i686";
821 arch = "linux-i686";
817− sha512 = "2e0f463f9db9f6c0e44e354ea495cc06f5dda8c92af586745744434c112073f4f46eab7576d1e26c93a7a8b739deb09930b10cca01eea70f6bc245a44d58fa74";
822+ sha512 = "ae5938803a9acc6871577d6629579c0bd5ac4d7404e87cfe373876b94204d5af1110425400f9a7642b13bf2a68f32f2c485c8b9e3565f4d3c49ffd967a8e6df0";
818 }
823 }
819− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/my/firefox-59.0.2.tar.bz2";
824+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/my/firefox-60.0.1.tar.bz2";
820 locale = "my";
825 locale = "my";
821 arch = "linux-i686";
826 arch = "linux-i686";
822− sha512 = "3e279289928231a02436cb344f1629b990b220c22df04e4cd3583a4995e59901a0062763e246e8cbc44ec696c7a94eb8e25ab7534a9f32b957f1332228af9b7f";
827+ sha512 = "4fb3ac47fcd3b7b36bb66fa24ac82bf9ade26fbadf8eea125b78fced6222ae0f2c3c45638b3511b630b50e27fce70739733fbb357744ba89febd16544703b356";
823 }
828 }
824− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/nb-NO/firefox-59.0.2.tar.bz2";
829+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/nb-NO/firefox-60.0.1.tar.bz2";
825 locale = "nb-NO";
830 locale = "nb-NO";
826 arch = "linux-i686";
831 arch = "linux-i686";
827− sha512 = "abf3048155dff62d4225471531568292410bae499f10a7f51caa493bf3c66d45a30fd3fe62db2bc21447259aa75e024681abd8b1f8567fd7647202b7399b256e";
832+ sha512 = "c469e49346a29b8b2bb87b6d3be37f72be7db18977a9085240184a66cced8da5c8a62d09c84424985418e106d8cc1a2359ce8778e515430188ff6921d403b42f";
828 }
833 }
829− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/ne-NP/firefox-59.0.2.tar.bz2";
834+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/ne-NP/firefox-60.0.1.tar.bz2";
830 locale = "ne-NP";
835 locale = "ne-NP";
831 arch = "linux-i686";
836 arch = "linux-i686";
832− sha512 = "a0a9a872bb6f92cc1f5fbf17e8ffa06fe841d5c0f50bfc543779caf10726e1a0a18bd003aef9619b25110b5a37510375de077461c3fab276cd58b319f4107a1c";
837+ sha512 = "5374a889f9ae7934c4138b4742dfe50c360858e460b7e348be5ba7196f001453466c84b8bb55e8c1178a194e9500831684f50866c13ccfdd6228a8fb4d17e607";
833 }
838 }
834− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/nl/firefox-59.0.2.tar.bz2";
839+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/nl/firefox-60.0.1.tar.bz2";
835 locale = "nl";
840 locale = "nl";
836 arch = "linux-i686";
841 arch = "linux-i686";
837− sha512 = "0b0a0b5df01a72c4a433938dd8f750c60594e393108564ba20745205fa87e30231e8518e28bedb770d5b988c3684ea80f27f7de28d864a26da69fda3a5c39617";
842+ sha512 = "f937a25191c60c973b0676cc9ad993c07c221dbdc3c3f794c8cfbb2981ebe4d85b0450702b5c7270f47f6daa7b55bb4fb617e113686bc7b496811f5304ae8053";
838 }
843 }
839− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/nn-NO/firefox-59.0.2.tar.bz2";
844+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/nn-NO/firefox-60.0.1.tar.bz2";
840 locale = "nn-NO";
845 locale = "nn-NO";
841 arch = "linux-i686";
846 arch = "linux-i686";
842− sha512 = "0a8c474d2e0103dad61e7efbfe8bdabcf246395e7abc213a6b195aff79ae28d843c4dbcfcdbb1740c6d49e2329a1afbbde8e798dc50044be4924450c7f024396";
847+ sha512 = "d95de4ef017c0fb951fcf8c90488acc63f5fa82ec7c72bc87f02aa4f2f4f75c2f4cf1a805958fadacd65759e68fef1be21181ad8511c6d1158bbf331c72b97d2";
848+ }
849+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/oc/firefox-60.0.1.tar.bz2";
850+ locale = "oc";
851+ arch = "linux-i686";
852+ sha512 = "d4757d7a79b953a9aa92363c7fc40a7545fd7dcfa5ed03ee45af2b48b71b74a0fcbb841fd580244e6ddcc392c6fd105fbaaa03e42256522e2b51e6b18f433fb3";
843 }
853 }
844− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/or/firefox-59.0.2.tar.bz2";
854+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/or/firefox-60.0.1.tar.bz2";
845 locale = "or";
855 locale = "or";
846 arch = "linux-i686";
856 arch = "linux-i686";
847− sha512 = "3b97c26b98859f1fa6e8cd682908c46fcfac7bc4aa6d6e8b0495bcdd4e1ddb53f924d4436499dcf0f059ab24d516439c2c8b4881c938d74ebb7c0e2b30911a14";
857+ sha512 = "e5d6ec46f23bb31fd32ec5bf58049d7d948fb7632a198fdac34c004c23b58d2bb08c163e4b53e789529d1f6232fd050142a0c84d7d43d1d334ad3b66857a747e";
848 }
858 }
849− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/pa-IN/firefox-59.0.2.tar.bz2";
859+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/pa-IN/firefox-60.0.1.tar.bz2";
850 locale = "pa-IN";
860 locale = "pa-IN";
851 arch = "linux-i686";
861 arch = "linux-i686";
852− sha512 = "978e0143198910d4c8c47764f7fce401cace00018318e5deb71a22666d7f94df735304354dd07ec2ca4386898ed4c15c8cd3efb1104dd054a4c1c11661b7619a";
862+ sha512 = "bc2d7ef61b866fae30e6b2fe6c542e206e879d4d0edeff4764a635c9927430cd763e6e907d8676914a5dc95d7a670958f332a62d09517446cfa1a32ebbc858df";
853 }
863 }
854− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/pl/firefox-59.0.2.tar.bz2";
864+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/pl/firefox-60.0.1.tar.bz2";
855 locale = "pl";
865 locale = "pl";
856 arch = "linux-i686";
866 arch = "linux-i686";
857− sha512 = "618f2dd7460090dd0b1c0edff4b33d5ae51f1298f20ec5ccf845e5e6e5e4128c55b937496257ef49064806a720b5c8326cedca9764702824391447a83ed2118c";
867+ sha512 = "c8ee365012576e66468c848d232af3d28796fc7bb8a2971e953ae0f4783b3eee06bd4c1da5725732ee5bd964c2447d1d3cd11041f5d56d88877fc36a6a568dab";
858 }
868 }
859− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/pt-BR/firefox-59.0.2.tar.bz2";
869+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/pt-BR/firefox-60.0.1.tar.bz2";
860 locale = "pt-BR";
870 locale = "pt-BR";
861 arch = "linux-i686";
871 arch = "linux-i686";
862− sha512 = "7e12f0f18562fb628b994df2e2c2a9bac4fe85ad593a0de37f3e1c3b1dce60406d2f28606aec5cf84ecec05570b38e7dd95d6f348dbadee09bf27ac34d52b47e";
872+ sha512 = "e708e25ba08c0ba92981c0abd27b170086fd7e54be5604ba5b6c4be47012d4cc467f5ee81e5a50ee1ccf413d5e4e3fa29fafca0ce84d4b35001e59e46afa796b";
863 }
873 }
864− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/pt-PT/firefox-59.0.2.tar.bz2";
874+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/pt-PT/firefox-60.0.1.tar.bz2";
865 locale = "pt-PT";
875 locale = "pt-PT";
866 arch = "linux-i686";
876 arch = "linux-i686";
867− sha512 = "80d9c00f741ab177a5d0ffd94a8462077240c07a56dfb49213e222264224d5df5f4f964dac55d097b0ba9d658dd42ed50761ca86fc087c29cc4ef9d2972956ae";
877+ sha512 = "5a227d1954a93f35d83b7f89b48d6fef10f1ce09c239eb84a3fbf76b2c93f03ecb0890a9c18bc2d2edb01fece405aeafe16ced0420ef8b8ff90efb232d13569b";
868 }
878 }
869− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/rm/firefox-59.0.2.tar.bz2";
879+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/rm/firefox-60.0.1.tar.bz2";
870 locale = "rm";
880 locale = "rm";
871 arch = "linux-i686";
881 arch = "linux-i686";
872− sha512 = "9ef01b038cb0971b41fbb19d250db4ca96adc31f0a9cf8b7197ebe700acfab69b2dae35f2c3487ae1983df0793cacd5a7aca7d9fdec8b7fa94cb245ff1308338";
882+ sha512 = "9f2caae925cebb42c49c4c2b139dcfd961174aa8a4dd4d323b65d84b6acbef5beb1e5c844f09454d6fa3af882758137d452ba1cbad5cf017a8b54766f4967ba1";
873 }
883 }
874− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/ro/firefox-59.0.2.tar.bz2";
884+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/ro/firefox-60.0.1.tar.bz2";
875 locale = "ro";
885 locale = "ro";
876 arch = "linux-i686";
886 arch = "linux-i686";
877− sha512 = "d60ec8a9bddaabdae7b210c7b8f4229b10ae1080a89a3a661b6ffbffae479c81ec8f620b82655d92a792e31d4f1fad9477d195005dfdc803a7f3998d4a091413";
887+ sha512 = "a24ffa5fb4f05bb700025df13384ca5f57183eb94d9826fa82560dc45d50a05c3f96c7c58fb1f609e1efdf3b9d3b86bd720a044d5c5c0ae8886e1d4218189635";
878 }
888 }
879− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/ru/firefox-59.0.2.tar.bz2";
889+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/ru/firefox-60.0.1.tar.bz2";
880 locale = "ru";
890 locale = "ru";
881 arch = "linux-i686";
891 arch = "linux-i686";
882− sha512 = "8a42c89e4a0ac8f26421450637c2781c2dac2fd4469080f5d17a86cbbaa2c1cae56cc641797e6c1efb1576467c2d9e960b8a486f4b79556eba1d8a099d82e567";
892+ sha512 = "e256695c13cdce7fbd0650561c2e68ca7b3c6eafef5c451b54db67ebd6dc0c14f1c84622cc2550a573932b4ef1ffe20d1608a2d36d3fe0033ec18399ca80448d";
883 }
893 }
884− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/si/firefox-59.0.2.tar.bz2";
894+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/si/firefox-60.0.1.tar.bz2";
885 locale = "si";
895 locale = "si";
886 arch = "linux-i686";
896 arch = "linux-i686";
887− sha512 = "230b155c90db9c05a8f896357c1cb2baca0f96cada2a62fced73caa94a49116459b4ae42a4f61ce03dd08d9ce03541067a5cc64a53ad17cd63debbfe645a2614";
897+ sha512 = "b42ffbb1c3948555320d89e7732c145061b91453ed6f70a7d334754264ede63759201ff36bf94b1e33814c0d171541e450f8eb53ef95e8c5320d0e408475ba5c";
888 }
898 }
889− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/sk/firefox-59.0.2.tar.bz2";
899+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/sk/firefox-60.0.1.tar.bz2";
890 locale = "sk";
900 locale = "sk";
891 arch = "linux-i686";
901 arch = "linux-i686";
892− sha512 = "1072c117830b85c54e7c1ead8ca552e92ce0c1971f26a28d27490802ceeb15fc105323599fd768a8ecd94597b3f51f8efdfb3e91743395c19b52a152ffb383d5";
902+ sha512 = "d224b3ae2edeea852e2d26314b3f8d22d7c048eebd540107281b2863c23dd7c7caeab9ec814c90434da515e912acfea35d5331beede5b9e6bc74ec77ca8e8781";
893 }
903 }
894− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/sl/firefox-59.0.2.tar.bz2";
904+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/sl/firefox-60.0.1.tar.bz2";
895 locale = "sl";
905 locale = "sl";
896 arch = "linux-i686";
906 arch = "linux-i686";
897− sha512 = "5580f6777ce0acd2d47af993a8bec2e23ef16d77e6fb653147637e1efa08e82006a41108b94b213e7bb6d57b9dc27e8cc2bc1f0a26e9c2cf766e9c82dcc673d9";
907+ sha512 = "c3c1ae0ce8858d1dfeba2e56d9b92769ab06585c86519f754f3ac97a527816bbf7c56df6e8055c04e7b06370c1b9c397ca522991c5f23371ef4e76fb3811cd23";
898 }
908 }
899− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/son/firefox-59.0.2.tar.bz2";
909+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/son/firefox-60.0.1.tar.bz2";
900 locale = "son";
910 locale = "son";
901 arch = "linux-i686";
911 arch = "linux-i686";
902− sha512 = "0f930af28da8a3643d424dc957643682909d86f83d2cde87656abb33fd5d9c5277a46cf46d4ed28a790eaa0b5681f48cc43a2184c8273cb85c821359d07ad46e";
912+ sha512 = "7622a3c211e34c48185e5756168378d60bbfb52784cb9b4e1b37d9e985d92d3d88ba6b29b750578136db9beb5f2123cb1b7c9f47d4b8139b0441b92884620c4a";
903 }
913 }
904− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/sq/firefox-59.0.2.tar.bz2";
914+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/sq/firefox-60.0.1.tar.bz2";
905 locale = "sq";
915 locale = "sq";
906 arch = "linux-i686";
916 arch = "linux-i686";
907− sha512 = "08589b3b4bfb670a912045614bb408a856b48aee4184b98e475101b1ff0ce3f6659c13ae4ffeb981e28f0b7243ba6b340065224dae0cef85e6f5877b0b150db0";
917+ sha512 = "8f4f30bd858bba7c2e90655821395522f6a96e38ff169334b034f182162294af8ca2d00da375e03c3e18e1c96c113333ec4f7d41ac01d385a12a7acb3e188653";
908 }
918 }
909− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/sr/firefox-59.0.2.tar.bz2";
919+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/sr/firefox-60.0.1.tar.bz2";
910 locale = "sr";
920 locale = "sr";
911 arch = "linux-i686";
921 arch = "linux-i686";
912− sha512 = "2abe8a5c502564823ffeaf59925d6749463e4aa0fcb0732f0c68acd8243b5a1bf5a71834fd9e519df8aa4b7b32fe69336ed9976b1ffb2ca67068cbe47f9b6987";
922+ sha512 = "00b4b3ef5d8217d7acfb2504c86338ca729f9ca3b69f2a0616def97ca88bcf61f2669f1a4e4acf4ccf5473db08de53c4308a342cc3ce944634743fdc1b8e5a11";
913 }
923 }
914− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/sv-SE/firefox-59.0.2.tar.bz2";
924+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/sv-SE/firefox-60.0.1.tar.bz2";
915 locale = "sv-SE";
925 locale = "sv-SE";
916 arch = "linux-i686";
926 arch = "linux-i686";
917− sha512 = "ff79a7639d654cc2714f75e619c0c6c5862c1e4216fe7e2eeaf3876c47e16a6555dfa28e9be6b8215fe9e308e4c8753c5d70bcc6f3979c8a70fd7330652126ed";
927+ sha512 = "287ae1efdc8ec6a34165bd4588b51c0f81203685d47ed59c01922e87d7d9aae9ab23b1351a7297a493d45645635c2da7458b245ef56991e7ec928fe264576e57";
918 }
928 }
919− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/ta/firefox-59.0.2.tar.bz2";
929+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/ta/firefox-60.0.1.tar.bz2";
920 locale = "ta";
930 locale = "ta";
921 arch = "linux-i686";
931 arch = "linux-i686";
922− sha512 = "fb4d4c6def12ffe32eb9517858488921f1c77380f3d1d35a8652ebe7b9e14429709debffa6dd6a1008fee71c664fd8f582db1052a203dc1d7c10ba418222f7fc";
932+ sha512 = "fde55160176bf7f5c016d7d780e8a78e556ba6d04e1703e6fd6e90ffa278b23822855e8e26a7b86ff38cf006dad3042ea9cd7d4f75b810efa5f543ac28126f6a";
923 }
933 }
924− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/te/firefox-59.0.2.tar.bz2";
934+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/te/firefox-60.0.1.tar.bz2";
925 locale = "te";
935 locale = "te";
926 arch = "linux-i686";
936 arch = "linux-i686";
927− sha512 = "ae97d60ac98c6cd9bad620a7c5dba8d51bdb2b035132daa0d915d1fc1e04802a25137bbbac82009ec51c0d858346e2f5c43f9981c48e991cc094cf11711fdeef";
937+ sha512 = "5cd75ab1ed134ceae22c0020d753cae351caabf513a025dfe30ab3b146f5c693cdf202f5cb4f48a00fafdfe6584ff693d383a5a3f973e307e9ef056e61bcc43e";
928 }
938 }
929− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/th/firefox-59.0.2.tar.bz2";
939+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/th/firefox-60.0.1.tar.bz2";
930 locale = "th";
940 locale = "th";
931 arch = "linux-i686";
941 arch = "linux-i686";
932− sha512 = "695fae213cc6705ec130c4dc08dd1c28f6ad605e0a2d0e92deef13737cc2780cd420dd883dc5153bf9cd174e1740effbc817054b16417fed90d04be04f21ab24";
942+ sha512 = "037b7e200bb6246e3d95983f5cd9451a10c54be0fcbbf30ec35ddc115395cf8fda3274a212285bbb1dcadd69f3efaab60606345765ed3f69471c5ea2d47c467e";
933 }
943 }
934− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/tr/firefox-59.0.2.tar.bz2";
944+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/tr/firefox-60.0.1.tar.bz2";
935 locale = "tr";
945 locale = "tr";
936 arch = "linux-i686";
946 arch = "linux-i686";
937− sha512 = "f79e1f5027a84b772358d25f0441744036f60da7de5c0b26428ebd81900977e70d2c36b454e73f7026b7e20c058830502c92bdb8cc7d55c3ab40df43b7380d31";
947+ sha512 = "d2cd7b818c64a6529387d5bf540174aee44b5e863479978b15aac20fe62d102f231d2f1367454c5ddf9f3009776e6176fca8d96eeb221730a477c4fced4b45d7";
938 }
948 }
939− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/uk/firefox-59.0.2.tar.bz2";
949+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/uk/firefox-60.0.1.tar.bz2";
940 locale = "uk";
950 locale = "uk";
941 arch = "linux-i686";
951 arch = "linux-i686";
942− sha512 = "30b7661e84a875ff356284a87d1dc00a9e8fc1c03c953c471d785445e78cf4568450fec97bb16a1c63b092931719119510f33f55f02ff56e38adf4fb3be3f2c8";
952+ sha512 = "4f8ed8dbd4f7bc8184ee4c128382a5ccc5dd6b93840199657a6a2ce5e6ffa5b192d7e17d50ea4a4631f2ef0a5fa225506de953a03e92b4f51e731c436d4d2b11";
943 }
953 }
944− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/ur/firefox-59.0.2.tar.bz2";
954+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/ur/firefox-60.0.1.tar.bz2";
945 locale = "ur";
955 locale = "ur";
946 arch = "linux-i686";
956 arch = "linux-i686";
947− sha512 = "9ef6fed1bea2857fc60e22eb9a87db8261316ba0852a3c5d35d65c3ead474ae34ee532588e25942f76be2f13a341c9bd9b672e5b192db1d3ccfee3f6a6787b83";
957+ sha512 = "4c8db3bf7affc403705bcb5c4da7685a43cc6119e02f3efe8fa499bc22da18a6f43f7d720fe07c32d226d97e6f92ea1611f153d85f7ebd25c038e938acaa3da8";
948 }
958 }
949− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/uz/firefox-59.0.2.tar.bz2";
959+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/uz/firefox-60.0.1.tar.bz2";
950 locale = "uz";
960 locale = "uz";
951 arch = "linux-i686";
961 arch = "linux-i686";
952− sha512 = "ab75b5c8e81b6bfc12b07b4fb2872cf2297c7249c352f5b66d95d867698f3e9a601f273e708bcb8855505eaba87b384e2b62f9d0b85e5976acf1c948e5e5a3e1";
962+ sha512 = "933c279629ce254da1f7886825a934413a129e2371eb72a8999dc846e0cee12648e68ea9f3b01264aea4c1b5fb2f9081e039b02bc7f5c808307135e8675e05f7";
953 }
963 }
954− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/vi/firefox-59.0.2.tar.bz2";
964+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/vi/firefox-60.0.1.tar.bz2";
955 locale = "vi";
965 locale = "vi";
956 arch = "linux-i686";
966 arch = "linux-i686";
957− sha512 = "d08e244d22c92c0e64c1104d5bbaaa19fa3b0d8f7a3616ae0df71d8f141039f1e7e87480f52d319f57d545f58c7095da643d4bac150e47c3e595b27cb793076f";
967+ sha512 = "c2bd138c1edd4425ee7f9cf341cb01d2ef04c1924185c8632a7b2e8ce3c87b4847611827dedfd826ad12028d486a27536c2053b9a677edcf74232183f36a49d7";
958 }
968 }
959− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/xh/firefox-59.0.2.tar.bz2";
969+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/xh/firefox-60.0.1.tar.bz2";
960 locale = "xh";
970 locale = "xh";
961 arch = "linux-i686";
971 arch = "linux-i686";
962− sha512 = "b956f01619afc421ed23ac644af51f62fa9f5cffcd7f5b6bf640014d1326583f8ba871e4e4f5cf8e81ab0a2b46335b5e921243e71ed16d51b2c89f0a7d1a1280";
972+ sha512 = "2ee93f40b882c52b80297075864a079b9a91ad30f9fbb64d64d4eeddf9cee31b717d4fbf59d25c8fd40944a2df2f0b67e95d1a57cb1031277429a7fe97be0d05";
963 }
973 }
964− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/zh-CN/firefox-59.0.2.tar.bz2";
974+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/zh-CN/firefox-60.0.1.tar.bz2";
965 locale = "zh-CN";
975 locale = "zh-CN";
966 arch = "linux-i686";
976 arch = "linux-i686";
967− sha512 = "80f3c557a7fa2d51f5ba2d07adef2bd6980a4cd256b95702ee4fac2967d039476ea3b828ce951b354be9fea9508ecae2ea12a8b29f8feb0101b2101d741bf633";
977+ sha512 = "1ab340e9827d84d757f7b88c165ff07ab2d6202cdf939b6a50d40e23d09c002a49daaf9d4e7b90fdf20cfe36160e2d6518fcedf455de5a9f49c05badd6f0cb69";
968 }
978 }
969− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/zh-TW/firefox-59.0.2.tar.bz2";
979+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/zh-TW/firefox-60.0.1.tar.bz2";
970 locale = "zh-TW";
980 locale = "zh-TW";
971 arch = "linux-i686";
981 arch = "linux-i686";
972− sha512 = "50668a428310083cd175ce0dd9d09742866143d56efb0b13d11de1905d5b1d9f61e441bf1364e518aa87ebc790a335cc3b69d2438d3a4f92b4802345b8a443fa";
982+ sha512 = "3886ef200481d8f0dcb4add628144dfda705edeea37f1560fdeee7a45e797b75b885a2e590193d59f84d13b2c848c42d0e0f94986d3f4c514a9410e6924a71f4";
973 }
983 }
974 ];
984 ];
975}
985}
pkgs/applications/networking/browsers/firefox/common.nix+4−1
@@ -28,7 +28,9 @@
28# WARNING: NEVER set any of the options below to `true` by default.
28# WARNING: NEVER set any of the options below to `true` by default.
29# Set to `privacySupport` or `false`.
29# Set to `privacySupport` or `false`.
30
30
31+# webrtcSupport breaks the aarch64 build on version >= 60.
32+# https://bugzilla.mozilla.org/show_bug.cgi?id=1434589
31−, webrtcSupport ? !privacySupport
33+, webrtcSupport ? (if lib.versionAtLeast version "60" && stdenv.isAarch64 then false else !privacySupport)
32, geolocationSupport ? !privacySupport
34, geolocationSupport ? !privacySupport
33, googleAPISupport ? geolocationSupport
35, googleAPISupport ? geolocationSupport
34, crashreporterSupport ? false
36, crashreporterSupport ? false
@@ -213,6 +215,7 @@ stdenv.mkDerivation (rec {
213 ++ extraMakeFlags;
215 ++ extraMakeFlags;
214
216
215 enableParallelBuilding = true;
217 enableParallelBuilding = true;
218+ doCheck = false; # "--disable-tests" above
216
219
217 preInstall = ''
220 preInstall = ''
218 # The following is needed for startup cache creation on grsecurity kernels.
221 # The following is needed for startup cache creation on grsecurity kernels.
pkgs/applications/networking/browsers/firefox/no-buildconfig.patch+3−3
@@ -1,7 +1,7 @@
1diff -ru -x '*~' firefox-55.0.3-orig/docshell/base/nsAboutRedirector.cpp firefox-55.0.3/docshell/base/nsAboutRedirector.cpp
1diff -ru -x '*~' firefox-55.0.3-orig/docshell/base/nsAboutRedirector.cpp firefox-55.0.3/docshell/base/nsAboutRedirector.cpp
2--- firefox-55.0.3-orig/docshell/base/nsAboutRedirector.cpp 2017-07-31 18:20:51.000000000 +0200
2--- firefox-55.0.3-orig/docshell/base/nsAboutRedirector.cpp 2017-07-31 18:20:51.000000000 +0200
3+++ firefox-55.0.3/docshell/base/nsAboutRedirector.cpp 2017-09-26 22:02:00.814151731 +0200
3+++ firefox-55.0.3/docshell/base/nsAboutRedirector.cpp 2017-09-26 22:02:00.814151731 +0200
4−@@ -40,10 +40,6 @@
4+@@ -36,10 +36,6 @@
5 nsIAboutModule::ALLOW_SCRIPT
5 nsIAboutModule::ALLOW_SCRIPT
6 },
6 },
7 {
7 {
@@ -20,6 +20,6 @@ diff -ru -x '*~' firefox-55.0.3-orig/toolkit/content/jar.mn firefox-55.0.3/toolk
20 content/global/browser-child.js
20 content/global/browser-child.js
21 content/global/browser-content.js
21 content/global/browser-content.js
22-* content/global/buildconfig.html
22-* content/global/buildconfig.html
23+ content/global/buildconfig.css
23 content/global/contentAreaUtils.js
24 content/global/contentAreaUtils.js
24− #ifndef MOZ_FENNEC
25− content/global/customizeToolbar.css
25+ content/global/datepicker.xhtml
pkgs/applications/networking/browsers/firefox/packages.nix+35−8
@@ -12,21 +12,27 @@ let
12 ./fix-pa-context-connect-retval.patch
12 ./fix-pa-context-connect-retval.patch
13 ];
13 ];
14
14
15+ firefox60_aarch64_skia_patch = fetchpatch {
16+ name = "aarch64-skia.patch";
17+ url = https://src.fedoraproject.org/rpms/firefox/raw/8cff86d95da3190272d1beddd45b41de3148f8ef/f/build-aarch64-skia.patch;
18+ sha256 = "11acb0ms4jrswp7268nm2p8g8l4lv8zc666a5bqjbb09x9k6b78k";
19+ };
20+
15in
21in
16
22
17rec {
23rec {
18
24
19 firefox = common rec {
25 firefox = common rec {
20 pname = "firefox";
26 pname = "firefox";
21− version = "59.0.2";
27+ version = "60.0.1";
22 src = fetchurl {
28 src = fetchurl {
23− url = "https://hg.mozilla.org/releases/mozilla-release/archive/239e434d6d2b8e1e2b697c3416d1e96d48fe98e5.tar.bz2";
29+ url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz";
24− sha512 = "3kfh224sfc9ig4733frnskcs49xzjkrs00lxllsvx1imm6f4sf117mqlvc7bhgrn8ldiqn6vaa5g6gd9b7awkk1g975bbzk9namb3yv";
30+ sha512 = "083bhfh32dy1cz4c4wn92i2lnl9mqikkd9dlkwd5i6clyjb9pc6d5g87kvb8si0n6jll4alyhw792j56a7gmzny3d93068hr4zyh3qn";
25 };
31 };
26
32
27 patches = nixpkgsPatches ++ [
33 patches = nixpkgsPatches ++ [
28 ./no-buildconfig.patch
34 ./no-buildconfig.patch
29− ];
35+ ] ++ lib.optional stdenv.isAarch64 firefox60_aarch64_skia_patch;
30
36
31 meta = {
37 meta = {
32 description = "A web browser built from Firefox source tree";
38 description = "A web browser built from Firefox source tree";
@@ -39,12 +45,12 @@ rec {
39 };
45 };
40 } {};
46 } {};
41
47
42− firefox-esr = common rec {
48+ firefox-esr-52 = common rec {
43 pname = "firefox-esr";
49 pname = "firefox-esr";
44− version = "52.7.3esr";
50+ version = "52.8.0esr";
45 src = fetchurl {
51 src = fetchurl {
46 url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz";
52 url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz";
47− sha512 = "31y3qrslg61724vmly6gr1lqcrqgpkh3zsl8riax45gizfcp3qbgkvmd5wwfn9fiwjqi6ww3i08j51wxrfxcxznv7c6qzsvzzc30mgw";
53+ sha512 = "4136fa582e4ffd754d46a79bdb562bd12da4d013d87dfe40fa92addf377e95f5f642993c8b783edd5290089619beeb5a907a0810b68b8808884f087986977df1";
48 };
54 };
49
55
50 patches = nixpkgsPatches;
56 patches = nixpkgsPatches;
@@ -53,7 +59,28 @@ rec {
53 description = "A web browser built from Firefox Extended Support Release source tree";
59 description = "A web browser built from Firefox Extended Support Release source tree";
54 };
60 };
55 updateScript = callPackage ./update.nix {
61 updateScript = callPackage ./update.nix {
56− attrPath = "firefox-esr-unwrapped";
62+ attrPath = "firefox-esr-52-unwrapped";
63+ versionSuffix = "esr";
64+ };
65+ } {};
66+
67+ firefox-esr-60 = common rec {
68+ pname = "firefox-esr";
69+ version = "60.0.1esr";
70+ src = fetchurl {
71+ url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz";
72+ sha512 = "2kswaf2d8qbhx1ry4ai7y2hr8cprpm00wwdr9qwpdr31m7w0jzndh0fn7jn1f57s42j6jk0jg78d34x10p2rvdii8hrbbr9q9sw8v4b";
73+ };
74+
75+ patches = nixpkgsPatches ++ [
76+ ./no-buildconfig.patch
77+ ] ++ lib.optional stdenv.isAarch64 firefox60_aarch64_skia_patch;
78+
79+ meta = firefox.meta // {
80+ description = "A web browser built from Firefox Extended Support Release source tree";
81+ };
82+ updateScript = callPackage ./update.nix {
83+ attrPath = "firefox-esr-60-unwrapped";
57 versionSuffix = "esr";
84 versionSuffix = "esr";
58 };
85 };
59 } {};
86 } {};
pkgs/applications/networking/browsers/firefox/update.nix+1−5
@@ -28,9 +28,5 @@ writeScript "update-${attrPath}" ''
28 sort --version-sort | \
28 sort --version-sort | \
29 tail -n 1`
29 tail -n 1`
30
30
31− source_url=`curl --silent $url$version/SOURCE | grep -o 'https://.*\.tar\.bz2'`
32−
33− shasum=`curl --silent $url$version/SHA512SUMS | grep 'source\.tar\.xz' | cut -d ' ' -f 1`
34−
35− update-source-version ${attrPath} "$version" "$shasum" "$source_url"
31+ update-source-version ${attrPath} "$version"
36''
32''
pkgs/applications/networking/browsers/firefox/wrapper.nix−2
@@ -7,7 +7,6 @@
7, trezor-bridge, bluejeans, djview4, adobe-reader
7, trezor-bridge, bluejeans, djview4, adobe-reader
8, google_talk_plugin, fribid, gnome3/*.gnome-shell*/
8, google_talk_plugin, fribid, gnome3/*.gnome-shell*/
9, esteidfirefoxplugin
9, esteidfirefoxplugin
10−, vlc_npapi
11, browserpass, chrome-gnome-shell, uget-integrator
10, browserpass, chrome-gnome-shell, uget-integrator
12, libudev
11, libudev
13, kerberos
12, kerberos
@@ -57,7 +56,6 @@ let
57 ++ lib.optional (cfg.enableBluejeans or false) bluejeans
56 ++ lib.optional (cfg.enableBluejeans or false) bluejeans
58 ++ lib.optional (cfg.enableAdobeReader or false) adobe-reader
57 ++ lib.optional (cfg.enableAdobeReader or false) adobe-reader
59 ++ lib.optional (cfg.enableEsteid or false) esteidfirefoxplugin
58 ++ lib.optional (cfg.enableEsteid or false) esteidfirefoxplugin
60− ++ lib.optional (cfg.enableVLC or false) vlc_npapi
61 ++ extraPlugins
59 ++ extraPlugins
62 );
60 );
63 nativeMessagingHosts =
61 nativeMessagingHosts =
pkgs/applications/networking/p2p/transmission-remote-gtk/default.nix+10−7
@@ -21,13 +21,16 @@ stdenv.mkDerivation rec {
21 pkgconfig intltool autoconf-archive
21 pkgconfig intltool autoconf-archive
22 appstream-glib
22 appstream-glib
23 ];
23 ];
24+
24 buildInputs = [ gtk3 json-glib curl glib hicolor-icon-theme ];
25 buildInputs = [ gtk3 json-glib curl glib hicolor-icon-theme ];
25
26
27+ doCheck = false; # fails with style validation error
28+
26− meta = with stdenv.lib;
29+ meta = with stdenv.lib; {
27− { description = "GTK remote control for the Transmission BitTorrent client";
30+ description = "GTK remote control for the Transmission BitTorrent client";
28− homepage = https://github.com/ajf8/transmission-remote-gtk;
31+ homepage = https://github.com/ajf8/transmission-remote-gtk;
29− license = licenses.gpl2;
32+ license = licenses.gpl2;
30− maintainers = [ maintainers.ehmry ];
33+ maintainers = [ maintainers.ehmry ];
31− platforms = platforms.linux;
34+ platforms = platforms.linux;
32− };
35+ };
33}
36}
pkgs/applications/networking/remote/citrix-receiver/default.nix+1−1
@@ -23,7 +23,7 @@
23, alsaLib
23, alsaLib
24, libidn
24, libidn
25, zlib
25, zlib
26−, version ? null
26+, version ? "13.9.0"
27}:
27}:
28
28
29let
29let
pkgs/applications/version-management/cvs/default.nix+2
@@ -30,6 +30,8 @@ stdenv.mkDerivation {
30
30
31 buildInputs = [ nano ];
31 buildInputs = [ nano ];
32
32
33+ doCheck = false; # fails 1 of 1 tests
34+
33 meta = {
35 meta = {
34 homepage = http://cvs.nongnu.org;
36 homepage = http://cvs.nongnu.org;
35 description = "Concurrent Versions System - a source control system";
37 description = "Concurrent Versions System - a source control system";
pkgs/applications/version-management/git-and-tools/git/default.nix+68−12
@@ -18,7 +18,7 @@ assert sendEmailSupport -> perlSupport;
18assert svnSupport -> perlSupport;
18assert svnSupport -> perlSupport;
19
19
20let
20let
21− version = "2.16.3";
21+ version = "2.17.0";
22 svn = subversionClient.override { perlBindings = perlSupport; };
22 svn = subversionClient.override { perlBindings = perlSupport; };
23in
23in
24
24
@@ -27,19 +27,24 @@ stdenv.mkDerivation {
27
27
28 src = fetchurl {
28 src = fetchurl {
29 url = "https://www.kernel.org/pub/software/scm/git/git-${version}.tar.xz";
29 url = "https://www.kernel.org/pub/software/scm/git/git-${version}.tar.xz";
30− sha256 = "0j1dwvg5llnj3g0fp8hdgpms4hp90qw9f6509vqw30dhwplrjpfn";
30+ sha256 = "1ismz7nsz8dgjmk782xr9s0mr2qh06f72pdcgbxfmnw1bvlya5p9";
31 };
31 };
32
32
33 outputs = [ "out" ] ++ stdenv.lib.optional perlSupport "gitweb";
33 outputs = [ "out" ] ++ stdenv.lib.optional perlSupport "gitweb";
34
34
35 hardeningDisable = [ "format" ];
35 hardeningDisable = [ "format" ];
36
36
37+ enableParallelBuilding = true;
38+
39+ ## Patch
40+
37 patches = [
41 patches = [
38 ./docbook2texi.patch
42 ./docbook2texi.patch
39 ./symlinks-in-bin.patch
43 ./symlinks-in-bin.patch
40 ./git-sh-i18n.patch
44 ./git-sh-i18n.patch
41 ./ssh-path.patch
45 ./ssh-path.patch
42 ./git-send-email-honor-PATH.patch
46 ./git-send-email-honor-PATH.patch
47+ ./installCheck-path.patch
43 ];
48 ];
44
49
45 postPatch = ''
50 postPatch = ''
@@ -47,6 +52,10 @@ stdenv.mkDerivation {
47 substituteInPlace "$x" \
52 substituteInPlace "$x" \
48 --subst-var-by ssh "${openssh}/bin/ssh"
53 --subst-var-by ssh "${openssh}/bin/ssh"
49 done
54 done
55+
56+ # Fix references to gettext introduced by ./git-sh-i18n.patch
57+ substituteInPlace git-sh-i18n.sh \
58+ --subst-var-by gettext ${gettext}
50 '';
59 '';
51
60
52 nativeBuildInputs = [ gettext perl ]
61 nativeBuildInputs = [ gettext perl ]
@@ -58,7 +67,6 @@ stdenv.mkDerivation {
58 ++ stdenv.lib.optionals withpcre2 [ pcre2 ]
67 ++ stdenv.lib.optionals withpcre2 [ pcre2 ]
59 ++ stdenv.lib.optionals stdenv.isDarwin [ darwin.Security ];
68 ++ stdenv.lib.optionals stdenv.isDarwin [ darwin.Security ];
60
69
61−
62 # required to support pthread_cancel()
70 # required to support pthread_cancel()
63 NIX_LDFLAGS = stdenv.lib.optionalString (!stdenv.cc.isClang) "-lgcc_s"
71 NIX_LDFLAGS = stdenv.lib.optionalString (!stdenv.cc.isClang) "-lgcc_s"
64 + stdenv.lib.optionalString (stdenv.isFreeBSD) "-lthr";
72 + stdenv.lib.optionalString (stdenv.isFreeBSD) "-lthr";
@@ -68,6 +76,10 @@ stdenv.mkDerivation {
68 "ac_cv_snprintf_returns_bogus=no"
76 "ac_cv_snprintf_returns_bogus=no"
69 ];
77 ];
70
78
79+ preBuild = ''
80+ makeFlagsArray+=( perllibdir=$out/$(perl -MConfig -wle 'print substr $Config{installsitelib}, 1 + length $Config{siteprefixexp}') )
81+ '';
82+
71 makeFlags = [
83 makeFlags = [
72 "prefix=\${out}"
84 "prefix=\${out}"
73 "SHELL_PATH=${stdenv.shell}"
85 "SHELL_PATH=${stdenv.shell}"
@@ -86,15 +98,17 @@ stdenv.mkDerivation {
86 popd
98 popd
87 '';
99 '';
88
100
89− # FIXME: "make check" requires Sparse; the Makefile must be tweaked
101+
90− # so that `SPARSE_FLAGS' corresponds to the current architecture...
102+ ## Install
91− #doCheck = true;
103+
104+ # WARNING: Do not `rm` or `mv` files from the source tree; use `cp` instead.
105+ # We need many of these files during the installCheckPhase.
92
106
93 installFlags = "NO_INSTALL_HARDLINKS=1";
107 installFlags = "NO_INSTALL_HARDLINKS=1";
94
108
95 preInstall = stdenv.lib.optionalString stdenv.isDarwin ''
109 preInstall = stdenv.lib.optionalString stdenv.isDarwin ''
96 mkdir -p $out/bin
110 mkdir -p $out/bin
97− mv $PWD/contrib/credential/osxkeychain/git-credential-osxkeychain $out/bin
111+ cp -a $PWD/contrib/credential/osxkeychain/git-credential-osxkeychain $out/bin
98 '';
112 '';
99
113
100 postInstall =
114 postInstall =
@@ -112,7 +126,7 @@ stdenv.mkDerivation {
112
126
113 # Install contrib stuff.
127 # Install contrib stuff.
114 mkdir -p $out/share/git
128 mkdir -p $out/share/git
115− mv contrib $out/share/git/
129+ cp -a contrib $out/share/git/
116 ln -s "$out/share/git/contrib/credential/netrc/git-credential-netrc" $out/bin/
130 ln -s "$out/share/git/contrib/credential/netrc/git-credential-netrc" $out/bin/
117 mkdir -p $out/share/emacs/site-lisp
131 mkdir -p $out/share/emacs/site-lisp
118 ln -s "$out/share/git/contrib/emacs/"*.el $out/share/emacs/site-lisp/
132 ln -s "$out/share/git/contrib/emacs/"*.el $out/share/emacs/site-lisp/
@@ -145,9 +159,6 @@ stdenv.mkDerivation {
145 perl -0777 -i -pe "$SCRIPT" \
159 perl -0777 -i -pe "$SCRIPT" \
146 $out/libexec/git-core/git-{sh-setup,filter-branch,merge-octopus,mergetool,quiltimport,request-pull,stash,submodule,subtree,web--browse}
160 $out/libexec/git-core/git-{sh-setup,filter-branch,merge-octopus,mergetool,quiltimport,request-pull,stash,submodule,subtree,web--browse}
147
161
148− # Fix references to gettext.
149− substituteInPlace $out/libexec/git-core/git-sh-i18n \
150− --subst-var-by gettext ${gettext}
151
162
152 # Also put git-http-backend into $PATH, so that we can use smart
163 # Also put git-http-backend into $PATH, so that we can use smart
153 # HTTP(s) transports for pushing
164 # HTTP(s) transports for pushing
@@ -225,7 +236,52 @@ EOF
225 '';
236 '';
226
237
227
238
228− enableParallelBuilding = true;
239+ ## InstallCheck
240+
241+ doInstallCheck = true;
242+
243+ installCheckTarget = "test";
244+
245+ # see also installCheckFlagsArray
246+ installCheckFlags = "DEFAULT_TEST_TARGET=prove";
247+
248+ preInstallCheck = ''
249+ installCheckFlagsArray+=(
250+ GIT_PROVE_OPTS="--jobs $NIX_BUILD_CORES --failures --state=failed,save"
251+ GIT_TEST_INSTALLED=$out/bin
252+ ${stdenv.lib.optionalString (!svnSupport) "NO_SVN_TESTS=y"}
253+ )
254+
255+ function disable_test {
256+ local test=$1 pattern=$2
257+ if [ $# -eq 1 ]; then
258+ mv t/{,skip-}$test.sh || true
259+ else
260+ sed -i t/$test.sh \
261+ -e "/^ *test_expect_.*$pattern/,/^ *' *\$/{s/^/#/}"
262+ fi
263+ }
264+
265+ # Shared permissions are forbidden in sandbox builds.
266+ disable_test t0001-init shared
267+ disable_test t1301-shared-repo
268+
269+ # Our patched gettext never fallbacks
270+ disable_test t0201-gettext-fallbacks
271+
272+ ${stdenv.lib.optionalString (!sendEmailSupport) ''
273+ # Disable sendmail tests
274+ disable_test t9001-send-email
275+ ''}
276+
277+ # XXX: I failed to understand why this one fails.
278+ # Could someone try to re-enable it on the next release ?
279+ disable_test t1700-split-index "null sha1"
280+ '' + stdenv.lib.optionalString stdenv.hostPlatform.isMusl ''
281+ # Test fails (as of 2.17.0, musl 1.1.19)
282+ disable_test t3900-i18n-commit
283+ '';
284+
229
285
230 meta = {
286 meta = {
231 homepage = https://git-scm.com/;
287 homepage = https://git-scm.com/;
pkgs/applications/version-management/git-and-tools/git/docbook2texi.patch+8−8
@@ -2,19 +2,19 @@ This patch does two things: (1) use the right name for `docbook2texi',
2and (2) make sure `gitman.info' isn't produced since it's broken (duplicate
2and (2) make sure `gitman.info' isn't produced since it's broken (duplicate
3node names).
3node names).
4
4
5−diff -ru git-1.8.4-orig/Documentation/Makefile git-1.8.4/Documentation/Makefile
5+diff --git a/Documentation/Makefile b/Documentation/Makefile
6−--- git-1.8.4-orig/Documentation/Makefile 2013-08-23 21:38:43.000000000 +0200
6+--- a/Documentation/Makefile
7−+++ git-1.8.4/Documentation/Makefile 2013-09-30 14:48:51.532890378 +0200
7++++ b/Documentation/Makefile
8−@@ -101,7 +101,7 @@
8+@@ -122,7 +122,7 @@
9
9
10 MAKEINFO = makeinfo
10 MAKEINFO = makeinfo
11 INSTALL_INFO = install-info
11 INSTALL_INFO = install-info
12-DOCBOOK2X_TEXI = docbook2x-texi
12-DOCBOOK2X_TEXI = docbook2x-texi
13+DOCBOOK2X_TEXI = docbook2texi
13+DOCBOOK2X_TEXI = docbook2texi
14 DBLATEX = dblatex
14 DBLATEX = dblatex
15− ifndef PERL_PATH
15+ ASCIIDOC_DBLATEX_DIR = /etc/asciidoc/dblatex
16− PERL_PATH = /usr/bin/perl
16+ DBLATEX_COMMON = -p $(ASCIIDOC_DBLATEX_DIR)/asciidoc-dblatex.xsl -s $(ASCIIDOC_DBLATEX_DIR)/asciidoc-dblatex.sty
17−@@ -205,7 +205,7 @@
17+@@ -240,7 +240,7 @@
18 man5: $(DOC_MAN5)
18 man5: $(DOC_MAN5)
19 man7: $(DOC_MAN7)
19 man7: $(DOC_MAN7)
20
20
@@ -23,7 +23,7 @@ diff -ru git-1.8.4-orig/Documentation/Makefile git-1.8.4/Documentation/Makefile
23
23
24 pdf: user-manual.pdf
24 pdf: user-manual.pdf
25
25
26−@@ -221,10 +221,9 @@
26+@@ -256,10 +256,9 @@
27
27
28 install-info: info
28 install-info: info
29 $(INSTALL) -d -m 755 $(DESTDIR)$(infodir)
29 $(INSTALL) -d -m 755 $(DESTDIR)$(infodir)
pkgs/applications/version-management/git-and-tools/git/git-send-email-honor-PATH.patch+3−5
@@ -1,22 +1,20 @@
1diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt
1diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt
2−index 8060ea35c..c81067a19 100644
3--- a/Documentation/git-send-email.txt
2--- a/Documentation/git-send-email.txt
4+++ b/Documentation/git-send-email.txt
3+++ b/Documentation/git-send-email.txt
5−@@ -203,8 +203,7 @@ a password is obtained using 'git-credential'.
4+@@ -208,8 +208,7 @@ a password is obtained using 'git-credential'.
6 specify a full pathname of a sendmail-like program instead;
5 specify a full pathname of a sendmail-like program instead;
7 the program must support the `-i` option. Default value can
6 the program must support the `-i` option. Default value can
8 be specified by the `sendemail.smtpServer` configuration
7 be specified by the `sendemail.smtpServer` configuration
9- option; the built-in default is to search for `sendmail` in
8- option; the built-in default is to search for `sendmail` in
10- `/usr/sbin`, `/usr/lib` and $PATH if such program is
9- `/usr/sbin`, `/usr/lib` and $PATH if such program is
11−+ option; the built-in default is to search in $PATH if such program is
10++ option; the built-in default is to search in $PATH if such program is
12 available, falling back to `localhost` otherwise.
11 available, falling back to `localhost` otherwise.
13
12
14 --smtp-server-port=<port>::
13 --smtp-server-port=<port>::
15diff --git a/git-send-email.perl b/git-send-email.perl
14diff --git a/git-send-email.perl b/git-send-email.perl
16−index edcc6d346..8e357aeab 100755
17--- a/git-send-email.perl
15--- a/git-send-email.perl
18+++ b/git-send-email.perl
16+++ b/git-send-email.perl
19−@@ -885,8 +885,7 @@ if (defined $initial_reply_to) {
17+@@ -944,8 +944,7 @@ if (defined $reply_to) {
20 }
18 }
21
19
22 if (!defined $smtp_server) {
20 if (!defined $smtp_server) {
pkgs/applications/version-management/git-and-tools/git/installCheck-path.patchnew file+12
@@ -0,0 +1,12 @@
1+diff --git a/t/test-lib.sh b/t/test-lib.sh
2+--- a/t/test-lib.sh
3++++ b/t/test-lib.sh
4+@@ -923,7 +923,7 @@
5+ then
6+ GIT_EXEC_PATH=$($GIT_TEST_INSTALLED/git --exec-path) ||
7+ error "Cannot run git from $GIT_TEST_INSTALLED."
8+- PATH=$GIT_TEST_INSTALLED:$GIT_BUILD_DIR:$PATH
9++ PATH=$GIT_TEST_INSTALLED:$GIT_BUILD_DIR/t/helper:$GIT_BUILD_DIR:$PATH
10+ GIT_EXEC_PATH=${GIT_TEST_EXEC_PATH:-$GIT_EXEC_PATH}
11+ else # normal case, use ../bin-wrappers only unless $with_dashes:
12+ git_bin_dir="$GIT_BUILD_DIR/bin-wrappers"
pkgs/applications/version-management/git-and-tools/git/symlinks-in-bin.patch+4−4
@@ -1,7 +1,7 @@
1−diff -ru -x '*~' git-1.8.2.1-orig/Makefile git-1.8.2.1/Makefile
1+diff --git a/Makefile b/Makefile
2−--- git-1.8.2.1-orig/Makefile 2013-04-08 00:52:04.000000000 +0200
2+--- a/Makefile
3−+++ git-1.8.2.1/Makefile 2013-04-22 15:46:42.906026940 +0200
3++++ b/Makefile
4−@@ -2319,8 +2319,7 @@
4+@@ -2609,8 +2609,7 @@
5 { test "$$bindir/" = "$$execdir/" || \
5 { test "$$bindir/" = "$$execdir/" || \
6 for p in git$X $(filter $(install_bindir_programs),$(ALL_PROGRAMS)); do \
6 for p in git$X $(filter $(install_bindir_programs),$(ALL_PROGRAMS)); do \
7 $(RM) "$$execdir/$$p" && \
7 $(RM) "$$execdir/$$p" && \
pkgs/applications/version-management/subversion/default.nix+2
@@ -88,6 +88,8 @@ let
88
88
89 enableParallelBuilding = true;
89 enableParallelBuilding = true;
90
90
91+ doCheck = false; # fails 10 out of ~2300 tests
92+
91 meta = {
93 meta = {
92 description = "A version control system intended to be a compelling replacement for CVS in the open source community";
94 description = "A version control system intended to be a compelling replacement for CVS in the open source community";
93 homepage = http://subversion.apache.org/;
95 homepage = http://subversion.apache.org/;
pkgs/applications/video/omxplayer/default.nix+11−11
@@ -12,9 +12,13 @@ let
12 sha256 = "03s1zsprz5p6gjgwwqcf7b6cvzwwid6l8k7bamx9i0f1iwkgdm0j";
12 sha256 = "03s1zsprz5p6gjgwwqcf7b6cvzwwid6l8k7bamx9i0f1iwkgdm0j";
13 };
13 };
14
14
15+ configurePlatforms = [];
15 configureFlags = [
16 configureFlags = [
16− "--arch=arm"
17+ "--arch=${hostPlatform.parsed.cpu.name}"
18+ ] ++ stdenv.lib.optionals stdenv.hostPlatform.isAarch32 [
19+ # TODO be better with condition
17 "--cpu=arm1176jzf-s"
20 "--cpu=arm1176jzf-s"
21+ ] ++ [
18 "--disable-muxers"
22 "--disable-muxers"
19 "--enable-muxer=spdif"
23 "--enable-muxer=spdif"
20 "--enable-muxer=adts"
24 "--enable-muxer=adts"
@@ -42,19 +46,14 @@ let
42 "--enable-hardcoded-tables"
46 "--enable-hardcoded-tables"
43 "--disable-runtime-cpudetect"
47 "--disable-runtime-cpudetect"
44 "--disable-debug"
48 "--disable-debug"
49+ "--arch=${hostPlatform.parsed.cpu.name}"
50+ "--target_os=${hostPlatform.parsed.kernel.name}"
51+ ] ++ stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
52+ "--cross-prefix=${stdenv.cc.targetPrefix}"
53+ "--enable-cross-compile"
45 ];
54 ];
46
55
47 enableParallelBuilding = true;
56 enableParallelBuilding = true;
48−
49− crossAttrs = {
50− configurePlatforms = [];
51− configureFlags = configureFlags ++ [
52− "--cross-prefix=${stdenv.cc.targetPrefix}"
53− "--enable-cross-compile"
54− "--target_os=linux"
55− "--arch=${hostPlatform.parsed.cpu.name}"
56− ];
57− };
58
57
59 meta = {
58 meta = {
60 homepage = http://www.ffmpeg.org/;
59 homepage = http://www.ffmpeg.org/;
@@ -83,5 +82,6 @@ stdenv.mkDerivation rec {
83 homepage = https://github.com/huceke/omxplayer;
82 homepage = https://github.com/huceke/omxplayer;
84 description = "Commandline OMX player for the Raspberry Pi";
83 description = "Commandline OMX player for the Raspberry Pi";
85 license = stdenv.lib.licenses.gpl2Plus;
84 license = stdenv.lib.licenses.gpl2Plus;
85+ platforms = stdenv.lib.platforms.arm;
86 };
86 };
87}
87}
pkgs/applications/video/vlc/default.nix+47−52
@@ -1,86 +1,81 @@
1+{ stdenv, fetchurl, autoreconfHook
1−{ stdenv, fetchurl, xz, bzip2, perl, xorg, libdvdnav, libbluray
2+, libarchive, perl, xorg, libdvdnav, libbluray
2, zlib, a52dec, libmad, faad2, ffmpeg, alsaLib
3, zlib, a52dec, libmad, faad2, ffmpeg, alsaLib
3, pkgconfig, dbus, fribidi, freefont_ttf, libebml, libmatroska
4, pkgconfig, dbus, fribidi, freefont_ttf, libebml, libmatroska
4−, libvorbis, libtheora, speex, lua5, libgcrypt, libupnp
5+, libvorbis, libtheora, speex, lua5, libgcrypt, libgpgerror, libupnp
5, libcaca, libpulseaudio, flac, schroedinger, libxml2, librsvg
6, libcaca, libpulseaudio, flac, schroedinger, libxml2, librsvg
6−, mpeg2dec, udev, gnutls, avahi, libcddb, libjack2, SDL, SDL_image
7+, mpeg2dec, systemd, gnutls, avahi, libcddb, libjack2, SDL, SDL_image
7, libmtp, unzip, taglib, libkate, libtiger, libv4l, samba, liboggz
8, libmtp, unzip, taglib, libkate, libtiger, libv4l, samba, liboggz
8−, libass, libva, libdvbpsi, libdc1394, libraw1394, libopus
9+, libass, libva-full, libdvbpsi, libdc1394, libraw1394, libopus
9−, libvdpau, libsamplerate, live555, fluidsynth
10+, libvdpau, libsamplerate, live555, fluidsynth, wayland, wayland-protocols
10−, qt4 ? null
11+, onlyLibVLC ? false
11−, withQt5 ? false, qtbase ? null, qtx11extras ? null
12+, withQt5 ? true, qtbase ? null, qtsvg ? null, qtx11extras ? null
12, jackSupport ? false
13, jackSupport ? false
13, fetchpatch
14, fetchpatch
14}:
15}:
15
16
16with stdenv.lib;
17with stdenv.lib;
17
18
18−assert (withQt5 -> qtbase != null && qtx11extras != null);
19+assert (withQt5 -> qtbase != null && qtsvg != null && qtx11extras != null);
19−assert (!withQt5 -> qt4 != null);
20
20
21stdenv.mkDerivation rec {
21stdenv.mkDerivation rec {
22 name = "vlc-${version}";
22 name = "vlc-${version}";
23− version = "2.2.8";
23+ version = "3.0.1";
24
24
25 src = fetchurl {
25 src = fetchurl {
26 url = "http://get.videolan.org/vlc/${version}/${name}.tar.xz";
26 url = "http://get.videolan.org/vlc/${version}/${name}.tar.xz";
27− sha256 = "1v32snw46rkgbdqdy3dssl2y13i8p2cr1cw1i18r6vdmiy24dw4v";
27+ sha256 = "008krfhykm9447wc1kkw82bsw3f6ikljgrqyb1sinwlxnkghqw6f";
28 };
28 };
29
29
30− # Comment-out the Qt 5.5 version check, as we do apply the relevant patch.
30+ # VLC uses a *ton* of libraries for various pieces of functionality, many of
31− # https://trac.videolan.org/vlc/ticket/16497
31+ # which are not included here for no other reason that nobody has mentioned
32− postPatch = if (!withQt5) then null else
32+ # needing them
33− "sed '/I78ef29975181ee22429c9bd4b11d96d9e68b7a9c/s/^/: #/' -i configure";
34−
35− buildInputs =
33+ buildInputs = [
36− [ xz bzip2 perl zlib a52dec libmad faad2 ffmpeg alsaLib libdvdnav libdvdnav.libdvdread
34+ zlib a52dec libmad faad2 ffmpeg alsaLib libdvdnav libdvdnav.libdvdread
37− libbluray dbus fribidi libvorbis libtheora speex lua5 libgcrypt
35+ libbluray dbus fribidi libvorbis libtheora speex lua5 libgcrypt libgpgerror
38− libupnp libcaca libpulseaudio flac schroedinger libxml2 librsvg mpeg2dec
36+ libupnp libcaca libpulseaudio flac schroedinger libxml2 librsvg mpeg2dec
39− udev gnutls avahi libcddb SDL SDL_image libmtp unzip taglib
37+ systemd gnutls avahi libcddb SDL SDL_image libmtp unzip taglib libarchive
40− libkate libtiger libv4l samba liboggz libass libdvbpsi libva
38+ libkate libtiger libv4l samba liboggz libass libdvbpsi libva-full
41− xorg.xlibsWrapper xorg.libXv xorg.libXvMC xorg.libXpm xorg.xcbutilkeysyms
39+ xorg.xlibsWrapper xorg.libXv xorg.libXvMC xorg.libXpm xorg.xcbutilkeysyms
42− libdc1394 libraw1394 libopus libebml libmatroska libvdpau libsamplerate live555
40+ libdc1394 libraw1394 libopus libebml libmatroska libvdpau libsamplerate live555
43− fluidsynth
41+ fluidsynth wayland wayland-protocols
44− ]
45− ++ [(if withQt5 then qtbase else qt4)]
42+ ] ++ optionals withQt5 [ qtbase qtsvg qtx11extras ]
46− ++ optional withQt5 qtx11extras
47 ++ optional jackSupport libjack2;
43 ++ optional jackSupport libjack2;
48
44
49− nativeBuildInputs = [ pkgconfig ];
45+ nativeBuildInputs = [ autoreconfHook perl pkgconfig ];
46+
47+ enableParallelBuilding = true;
50
48
51 LIVE555_PREFIX = live555;
49 LIVE555_PREFIX = live555;
52
50
53− preConfigure = ''
51+ # vlc depends on a c11-gcc wrapper script which we don't have so we need to
54− sed -e "s@/bin/echo@echo@g" -i configure
52+ # set the path to the compiler
55− '' + optionalString withQt5 ''
53+ BUILDCC = "${stdenv.cc}/bin/gcc";
56− # Make sure we only *add* "-std=c++11" to CXXFLAGS instead of overriding the
57− # values figured out by configure (for example "-g -O2").
58− sed -i -re '/^ *CXXFLAGS=("[^$"]+")? *$/s/CXXFLAGS="?/&-std=c++11 /' \
59− configure
60− '';
61
54
62− configureFlags =
55+ postPatch = ''
63− [ "--enable-alsa"
56+ substituteInPlace configure \
64− "--with-kde-solid=$out/share/apps/solid/actions"
57+ --replace /bin/echo echo
65− "--enable-dc1394"
66− "--enable-ncurses"
67− "--enable-vdpau"
68− "--enable-dvdnav"
69− "--enable-samplerate"
70− ];
71
58
72− enableParallelBuilding = true;
59+ substituteInPlace modules/text_renderer/freetype/platform_fonts.h --replace \
60+ /usr/share/fonts/truetype/freefont ${freefont_ttf}/share/fonts/truetype
61+ '';
73
62
74− preBuild = ''
63+ # https://github.com/NixOS/nixpkgs/pull/35124#issuecomment-370552830
75− substituteInPlace modules/text_renderer/freetype.c --replace \
64+ postFixup = ''
76− /usr/share/fonts/truetype/freefont/FreeSerifBold.ttf \
65+ find $out/lib/vlc/plugins -exec touch -d @1 '{}' ';'
77− ${freefont_ttf}/share/fonts/truetype/FreeSerifBold.ttf
66+ $out/lib/vlc/vlc-cache-gen $out/vlc/plugins
78 '';
67 '';
79
68
69+ # Most of the libraries are auto-detected so we don't need to set a bunch of
70+ # "--enable-foo" flags here
71+ configureFlags = [
72+ "--with-kde-solid=$out/share/apps/solid/actions"
73+ ] ++ optional onlyLibVLC "--disable-vlc";
74+
80 meta = with stdenv.lib; {
75 meta = with stdenv.lib; {
81 description = "Cross-platform media player and streaming server";
76 description = "Cross-platform media player and streaming server";
82 homepage = http://www.videolan.org/vlc/;
77 homepage = http://www.videolan.org/vlc/;
83− platforms = platforms.linux;
84 license = licenses.lgpl21Plus;
78 license = licenses.lgpl21Plus;
79+ platforms = platforms.linux;
85 };
80 };
86}
81}
pkgs/applications/video/vlc/plugin.nixdeleted−34
@@ -1,34 +0,0 @@
1−{ stdenv, fetchgit, vlc, autoconf, automake, libtool, pkgconfig, npapi_sdk,
2−libxcb, xlibsWrapper, gtk}:
3−
4−with stdenv.lib;
5−
6−stdenv.mkDerivation rec {
7− name = "vlc-plugin-${version}";
8− version = "2.2.2"; # This 2.2.2 builds fine with vlc 2.2.4
9−
10− src = fetchgit {
11− url = "https://code.videolan.org/videolan/npapi-vlc.git";
12− rev = "5fa6fbc11cf5bad983f57656c0085e47e18fbf20";
13− sha256 = "0k4s0657kv1mx1md8vj87scs0hz59xy7syqdsxb48w3w8gnfljs0";
14− };
15−
16− preConfigure = "sh autogen.sh";
17−
18− nativeBuildInputs = [ pkgconfig ];
19− buildInputs = [ vlc autoconf automake libtool npapi_sdk libxcb
20− xlibsWrapper gtk ];
21−
22− enableParallelBuilding = true;
23−
24− passthru = {
25− mozillaPlugin = "/lib/mozilla/plugins";
26− };
27−
28− meta = with stdenv.lib; {
29− description = "Webplugins based on libVLC (for firefox, npapi)";
30− homepage = https://code.videolan.org/videolan/npapi-vlc;
31− platforms = platforms.linux;
32− license = licenses.gpl2Plus;
33− };
34−}
pkgs/applications/virtualization/qemu/default.nix+2
@@ -119,6 +119,8 @@ stdenv.mkDerivation rec {
119 ++ optional openGLSupport "--enable-opengl"
119 ++ optional openGLSupport "--enable-opengl"
120 ++ optional virglSupport "--enable-virglrenderer";
120 ++ optional virglSupport "--enable-virglrenderer";
121
121
122+ doCheck = false; # tries to access /dev
123+
122 postFixup =
124 postFixup =
123 ''
125 ''
124 for exe in $out/bin/qemu-system-* ; do
126 for exe in $out/bin/qemu-system-* ; do
pkgs/build-support/bintools-wrapper/add-flags.sh+4−12
@@ -5,28 +5,20 @@ var_templates_list=(
5 NIX+LDFLAGS_BEFORE
5 NIX+LDFLAGS_BEFORE
6 NIX+LDFLAGS_AFTER
6 NIX+LDFLAGS_AFTER
7 NIX+LDFLAGS_HARDEN
7 NIX+LDFLAGS_HARDEN
8+ NIX+HARDENING_ENABLE
8)
9)
9var_templates_bool=(
10var_templates_bool=(
10 NIX+SET_BUILD_ID
11 NIX+SET_BUILD_ID
11 NIX+DONT_SET_RPATH
12 NIX+DONT_SET_RPATH
12)
13)
13
14
14−declare -a role_infixes=()
15+accumulateRoles
15−if [ "${NIX_BINTOOLS_WRAPPER_@infixSalt@_TARGET_BUILD:-}" ]; then
16− role_infixes+=(_BUILD_)
17−fi
18−if [ "${NIX_BINTOOLS_WRAPPER_@infixSalt@_TARGET_HOST:-}" ]; then
19− role_infixes+=(_)
20−fi
21−if [ "${NIX_BINTOOLS_WRAPPER_@infixSalt@_TARGET_TARGET:-}" ]; then
22− role_infixes+=(_TARGET_)
23−fi
24
16
25for var in "${var_templates_list[@]}"; do
17for var in "${var_templates_list[@]}"; do
26− mangleVarList "$var" "${role_infixes[@]}"
18+ mangleVarList "$var" ${role_infixes[@]+"${role_infixes[@]}"}
27done
19done
28for var in "${var_templates_bool[@]}"; do
20for var in "${var_templates_bool[@]}"; do
29− mangleVarBool "$var" "${role_infixes[@]}"
21+ mangleVarBool "$var" ${role_infixes[@]+"${role_infixes[@]}"}
30done
22done
31
23
32if [ -e @out@/nix-support/libc-ldflags ]; then
24if [ -e @out@/nix-support/libc-ldflags ]; then
pkgs/build-support/bintools-wrapper/add-hardening.sh+46−41
@@ -1,53 +1,58 @@
1−hardeningFlags=(relro bindnow)
2−# Intentionally word-split in case 'hardeningEnable' is defined in
3−# Nix. Also, our bootstrap tools version of bash is old enough that
4−# undefined arrays trip `set -u`.
5−if [[ -v hardeningEnable[@] ]]; then
6− hardeningFlags+=(${hardeningEnable[@]})
7−fi
8−hardeningLDFlags=()
1+declare -a hardeningLDFlags=()
2+
3+declare -A hardeningEnableMap=()
9
4
10−declare -A hardeningDisableMap
5+# Intentionally word-split in case 'NIX_HARDENING_ENABLE' is defined in Nix. The
6+# array expansion also prevents undefined variables from causing trouble with
7+# `set -u`.
8+for flag in ${NIX_@infixSalt@_HARDENING_ENABLE-}; do
9+ hardeningEnableMap["$flag"]=1
10+done
11
11
12−# Intentionally word-split in case 'hardeningDisable' is defined in Nix.
12+# Remove unsupported flags.
13−for flag in ${hardeningDisable[@]:-IGNORED_KEY} @hardening_unsupported_flags@
13+for flag in @hardening_unsupported_flags@; do
14−do
14+ unset -v "hardeningEnableMap[$flag]"
15− hardeningDisableMap[$flag]=1
16done
15done
17
16
18if (( "${NIX_DEBUG:-0}" >= 1 )); then
17if (( "${NIX_DEBUG:-0}" >= 1 )); then
18+ declare -a allHardeningFlags=(pie relro bindnow)
19+ declare -A hardeningDisableMap=()
20+
21+ # Determine which flags were effectively disabled so we can report below.
22+ for flag in "${allHardeningFlags[@]}"; do
23+ if [[ -z "${hardeningEnableMap[$flag]-}" ]]; then
24+ hardeningDisableMap[$flag]=1
25+ fi
26+ done
27+
19 printf 'HARDENING: disabled flags:' >&2
28 printf 'HARDENING: disabled flags:' >&2
20 (( "${#hardeningDisableMap[@]}" )) && printf ' %q' "${!hardeningDisableMap[@]}" >&2
29 (( "${#hardeningDisableMap[@]}" )) && printf ' %q' "${!hardeningDisableMap[@]}" >&2
21 echo >&2
30 echo >&2
22−fi
23
31
24−if [[ -z "${hardeningDisableMap[all]:-}" ]]; then
32+ if (( "${#hardeningEnableMap[@]}" )); then
25− if (( "${NIX_DEBUG:-0}" >= 1 )); then
26 echo 'HARDENING: Is active (not completely disabled with "all" flag)' >&2;
33 echo 'HARDENING: Is active (not completely disabled with "all" flag)' >&2;
27 fi
34 fi
28− for flag in "${hardeningFlags[@]}"
29− do
30− if [[ -z "${hardeningDisableMap[$flag]:-}" ]]; then
31− case $flag in
32− pie)
33− if [[ ! ("$*" =~ " -shared " || "$*" =~ " -static ") ]]; then
34− if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling LDFlags -pie >&2; fi
35− hardeningLDFlags+=('-pie')
36− fi
37− ;;
38− relro)
39− if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling relro >&2; fi
40− hardeningLDFlags+=('-z' 'relro')
41− ;;
42− bindnow)
43− if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling bindnow >&2; fi
44− hardeningLDFlags+=('-z' 'now')
45− ;;
46− *)
47− # Ignore unsupported. Checked in Nix that at least *some*
48− # tool supports each flag.
49− ;;
50− esac
51− fi
52− done
53fi
35fi
36+
37+for flag in "${!hardeningEnableMap[@]}"; do
38+ case $flag in
39+ pie)
40+ if [[ ! ("$*" =~ " -shared " || "$*" =~ " -static ") ]]; then
41+ if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling LDFlags -pie >&2; fi
42+ hardeningLDFlags+=('-pie')
43+ fi
44+ ;;
45+ relro)
46+ if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling relro >&2; fi
47+ hardeningLDFlags+=('-z' 'relro')
48+ ;;
49+ bindnow)
50+ if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling bindnow >&2; fi
51+ hardeningLDFlags+=('-z' 'now')
52+ ;;
53+ *)
54+ # Ignore unsupported. Checked in Nix that at least *some*
55+ # tool supports each flag.
56+ ;;
57+ esac
58+done
pkgs/build-support/bintools-wrapper/default.nix+10−4
@@ -74,7 +74,7 @@ in
74
74
75stdenv.mkDerivation {
75stdenv.mkDerivation {
76 name = targetPrefix
76 name = targetPrefix
77− + (if name != "" then name else "${bintoolsName}-wrapper")
77+ + (if name != "" then name else stdenv.lib.removePrefix targetPrefix "${bintoolsName}-wrapper")
78 + (stdenv.lib.optionalString (bintools != null && bintoolsVersion != "") "-${bintoolsVersion}");
78 + (stdenv.lib.optionalString (bintools != null && bintoolsVersion != "") "-${bintoolsVersion}");
79
79
80 preferLocalBuild = true;
80 preferLocalBuild = true;
@@ -188,9 +188,15 @@ stdenv.mkDerivation {
188 else throw "unknown emulation for platform: " + targetPlatform.config;
188 else throw "unknown emulation for platform: " + targetPlatform.config;
189 in targetPlatform.platform.bfdEmulation or (fmt + sep + arch);
189 in targetPlatform.platform.bfdEmulation or (fmt + sep + arch);
190
190
191+ strictDeps = true;
191 depsTargetTargetPropagated = extraPackages;
192 depsTargetTargetPropagated = extraPackages;
192
193
194+ wrapperName = "BINTOOLS_WRAPPER";
195+
196+ setupHooks = [
197+ ../setup-hooks/role.bash
193− setupHook = ./setup-hook.sh;
198+ ./setup-hook.sh
199+ ];
194
200
195 postFixup =
201 postFixup =
196 ''
202 ''
@@ -289,7 +295,7 @@ stdenv.mkDerivation {
289 set +u
295 set +u
290 substituteAll ${./add-flags.sh} $out/nix-support/add-flags.sh
296 substituteAll ${./add-flags.sh} $out/nix-support/add-flags.sh
291 substituteAll ${./add-hardening.sh} $out/nix-support/add-hardening.sh
297 substituteAll ${./add-hardening.sh} $out/nix-support/add-hardening.sh
292− substituteAll ${../cc-wrapper/utils.sh} $out/nix-support/utils.sh
298+ substituteAll ${../wrapper-common/utils.bash} $out/nix-support/utils.bash
293
299
294 ##
300 ##
295 ## Extra custom steps
301 ## Extra custom steps
@@ -300,7 +306,7 @@ stdenv.mkDerivation {
300
306
301 inherit dynamicLinker expand-response-params;
307 inherit dynamicLinker expand-response-params;
302
308
303− # for substitution in utils.sh
309+ # for substitution in utils.bash
304 expandResponseParams = "${expand-response-params}/bin/expand-response-params";
310 expandResponseParams = "${expand-response-params}/bin/expand-response-params";
305
311
306 meta =
312 meta =
pkgs/build-support/bintools-wrapper/ld-wrapper.sh+3−3
@@ -14,7 +14,7 @@ if [ -n "@coreutils_bin@" ]; then
14 PATH="@coreutils_bin@/bin"
14 PATH="@coreutils_bin@/bin"
15fi
15fi
16
16
17−source @out@/nix-support/utils.sh
17+source @out@/nix-support/utils.bash
18
18
19if [ -z "${NIX_BINTOOLS_WRAPPER_@infixSalt@_FLAGS_SET:-}" ]; then
19if [ -z "${NIX_BINTOOLS_WRAPPER_@infixSalt@_FLAGS_SET:-}" ]; then
20 source @out@/nix-support/add-flags.sh
20 source @out@/nix-support/add-flags.sh
@@ -57,8 +57,8 @@ fi
57
57
58source @out@/nix-support/add-hardening.sh
58source @out@/nix-support/add-hardening.sh
59
59
60−extraAfter=("${hardeningLDFlags[@]}")
60+extraAfter=()
61−extraBefore=()
61+extraBefore=(${hardeningLDFlags[@]+"${hardeningLDFlags[@]}"})
62
62
63if [ -z "${NIX_@infixSalt@_LDFLAGS_SET:-}" ]; then
63if [ -z "${NIX_@infixSalt@_LDFLAGS_SET:-}" ]; then
64 extraAfter+=($NIX_@infixSalt@_LDFLAGS)
64 extraAfter+=($NIX_@infixSalt@_LDFLAGS)
pkgs/build-support/bintools-wrapper/setup-hook.sh+13−31
@@ -8,47 +8,25 @@ set -u
8# native compile.
8# native compile.
9#
9#
10# TODO(@Ericson2314): No native exception
10# TODO(@Ericson2314): No native exception
11−[[ -z ${crossConfig-} ]] || (( "$hostOffset" < 0 )) || return 0
11+[[ -z ${strictDeps-} ]] || (( "$hostOffset" < 0 )) || return 0
12
12
13bintoolsWrapper_addLDVars () {
13bintoolsWrapper_addLDVars () {
14− case $depHostOffset in
14+ # See ../setup-hooks/role.bash
15− -1) local role='BUILD_' ;;
15+ local role_post role_pre
16− 0) local role='' ;;
16+ getTargetRoleEnvHook
17− 1) local role='TARGET_' ;;
18− *) echo "bintools-wrapper: Error: Cannot be used with $depHostOffset-offset deps" >2;
19− return 1 ;;
20− esac
21
17
22 if [[ -d "$1/lib64" && ! -L "$1/lib64" ]]; then
18 if [[ -d "$1/lib64" && ! -L "$1/lib64" ]]; then
23− export NIX_${role}LDFLAGS+=" -L$1/lib64"
19+ export NIX_${role_pre}LDFLAGS+=" -L$1/lib64"
24 fi
20 fi
25
21
26 if [[ -d "$1/lib" ]]; then
22 if [[ -d "$1/lib" ]]; then
27− export NIX_${role}LDFLAGS+=" -L$1/lib"
23+ export NIX_${role_pre}LDFLAGS+=" -L$1/lib"
28 fi
24 fi
29}
25}
30
26
31−case $targetOffset in
27+# See ../setup-hooks/role.bash
32− -1)
28+getTargetRole
33− export NIX_BINTOOLS_WRAPPER_@infixSalt@_TARGET_BUILD=1
29+getTargetRoleWrapper
34− role_pre='BUILD_'
35− role_post='_FOR_BUILD'
36− ;;
37− 0)
38− export NIX_BINTOOLS_WRAPPER_@infixSalt@_TARGET_HOST=1
39− role_pre=''
40− role_post=''
41− ;;
42− 1)
43− export NIX_BINTOOLS_WRAPPER_@infixSalt@_TARGET_TARGET=1
44− role_pre='TARGET_'
45− role_post='_FOR_TARGET'
46− ;;
47− *)
48− echo "cc-wrapper: used as improper sort of dependency" >2;
49− return 1
50− ;;
51−esac
52
30
53addEnvHooks "$targetOffset" bintoolsWrapper_addLDVars
31addEnvHooks "$targetOffset" bintoolsWrapper_addLDVars
54
32
@@ -83,6 +61,10 @@ do
83 fi
61 fi
84done
62done
85
63
64+# If unset, assume the default hardening flags.
65+: ${NIX_HARDENING_ENABLE="fortify stackprotector pic strictoverflow format relro bindnow"}
66+export NIX_HARDENING_ENABLE
67+
86# No local scope in sourced file
68# No local scope in sourced file
87unset -v role_pre role_post cmd upper_case
69unset -v role_pre role_post cmd upper_case
88set +u
70set +u
pkgs/build-support/cc-wrapper/add-flags.sh+3−14
@@ -14,26 +14,15 @@ var_templates_bool=(
14 NIX+ENFORCE_NO_NATIVE
14 NIX+ENFORCE_NO_NATIVE
15)
15)
16
16
17−# Accumulate infixes for taking in the right input parameters. See setup-hook
17+accumulateRoles
18−# for details.
19−declare -a role_infixes=()
20−if [ "${NIX_CC_WRAPPER_@infixSalt@_TARGET_BUILD:-}" ]; then
21− role_infixes+=(_BUILD_)
22−fi
23−if [ "${NIX_CC_WRAPPER_@infixSalt@_TARGET_HOST:-}" ]; then
24− role_infixes+=(_)
25−fi
26−if [ "${NIX_CC_WRAPPER_@infixSalt@_TARGET_TARGET:-}" ]; then
27− role_infixes+=(_TARGET_)
28−fi
29
18
30# We need to mangle names for hygiene, but also take parameters/overrides
19# We need to mangle names for hygiene, but also take parameters/overrides
31# from the environment.
20# from the environment.
32for var in "${var_templates_list[@]}"; do
21for var in "${var_templates_list[@]}"; do
33− mangleVarList "$var" "${role_infixes[@]}"
22+ mangleVarList "$var" ${role_infixes[@]+"${role_infixes[@]}"}
34done
23done
35for var in "${var_templates_bool[@]}"; do
24for var in "${var_templates_bool[@]}"; do
36− mangleVarBool "$var" "${role_infixes[@]}"
25+ mangleVarBool "$var" ${role_infixes[@]+"${role_infixes[@]}"}
37done
26done
38
27
39# `-B@out@/bin' forces cc to use ld-wrapper.sh when calling ld.
28# `-B@out@/bin' forces cc to use ld-wrapper.sh when calling ld.
pkgs/build-support/cc-wrapper/add-hardening.sh+60−55
@@ -1,67 +1,72 @@
1−hardeningFlags=(fortify stackprotector pic strictoverflow format relro bindnow)
2−# Intentionally word-split in case 'hardeningEnable' is defined in
3−# Nix. Also, our bootstrap tools version of bash is old enough that
4−# undefined arrays trip `set -u`.
5−if [[ -v hardeningEnable[@] ]]; then
6− hardeningFlags+=(${hardeningEnable[@]})
7−fi
8−hardeningCFlags=()
1+declare -a hardeningCFlags=()
2+
3+declare -A hardeningEnableMap=()
9
4
10−declare -A hardeningDisableMap
5+# Intentionally word-split in case 'NIX_HARDENING_ENABLE' is defined in Nix. The
6+# array expansion also prevents undefined variables from causing trouble with
7+# `set -u`.
8+for flag in ${NIX_@infixSalt@_HARDENING_ENABLE-}; do
9+ hardeningEnableMap["$flag"]=1
10+done
11
11
12−# Intentionally word-split in case 'hardeningDisable' is defined in Nix.
12+# Remove unsupported flags.
13−for flag in ${hardeningDisable[@]:-IGNORED_KEY} @hardening_unsupported_flags@
13+for flag in @hardening_unsupported_flags@; do
14−do
14+ unset -v "hardeningEnableMap[$flag]"
15− hardeningDisableMap[$flag]=1
16done
15done
17
16
18if (( "${NIX_DEBUG:-0}" >= 1 )); then
17if (( "${NIX_DEBUG:-0}" >= 1 )); then
18+ declare -a allHardeningFlags=(fortify stackprotector pie pic strictoverflow format)
19+ declare -A hardeningDisableMap=()
20+
21+ # Determine which flags were effectively disabled so we can report below.
22+ for flag in "${allHardeningFlags[@]}"; do
23+ if [[ -z "${hardeningEnableMap[$flag]-}" ]]; then
24+ hardeningDisableMap["$flag"]=1
25+ fi
26+ done
27+
19 printf 'HARDENING: disabled flags:' >&2
28 printf 'HARDENING: disabled flags:' >&2
20 (( "${#hardeningDisableMap[@]}" )) && printf ' %q' "${!hardeningDisableMap[@]}" >&2
29 (( "${#hardeningDisableMap[@]}" )) && printf ' %q' "${!hardeningDisableMap[@]}" >&2
21 echo >&2
30 echo >&2
22−fi
23
31
24−if [[ -z "${hardeningDisableMap[all]:-}" ]]; then
32+ if (( "${#hardeningEnableMap[@]}" )); then
25− if (( "${NIX_DEBUG:-0}" >= 1 )); then
26 echo 'HARDENING: Is active (not completely disabled with "all" flag)' >&2;
33 echo 'HARDENING: Is active (not completely disabled with "all" flag)' >&2;
27 fi
34 fi
28− for flag in "${hardeningFlags[@]}"
29− do
30− if [[ -z "${hardeningDisableMap[$flag]:-}" ]]; then
31− case $flag in
32− fortify)
33− if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling fortify >&2; fi
34− hardeningCFlags+=('-O2' '-D_FORTIFY_SOURCE=2')
35− ;;
36− stackprotector)
37− if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling stackprotector >&2; fi
38− hardeningCFlags+=('-fstack-protector-strong' '--param' 'ssp-buffer-size=4')
39− ;;
40− pie)
41− if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling CFlags -fPIE >&2; fi
42− hardeningCFlags+=('-fPIE')
43− if [[ ! ("$*" =~ " -shared " || "$*" =~ " -static ") ]]; then
44− if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling LDFlags -pie >&2; fi
45− hardeningCFlags+=('-pie')
46− fi
47− ;;
48− pic)
49− if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling pic >&2; fi
50− hardeningCFlags+=('-fPIC')
51− ;;
52− strictoverflow)
53− if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling strictoverflow >&2; fi
54− hardeningCFlags+=('-fno-strict-overflow')
55− ;;
56− format)
57− if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling format >&2; fi
58− hardeningCFlags+=('-Wformat' '-Wformat-security' '-Werror=format-security')
59− ;;
60− *)
61− # Ignore unsupported. Checked in Nix that at least *some*
62− # tool supports each flag.
63− ;;
64− esac
65− fi
66− done
67fi
35fi
36+
37+for flag in "${!hardeningEnableMap[@]}"; do
38+ case $flag in
39+ fortify)
40+ if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling fortify >&2; fi
41+ hardeningCFlags+=('-O2' '-D_FORTIFY_SOURCE=2')
42+ ;;
43+ stackprotector)
44+ if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling stackprotector >&2; fi
45+ hardeningCFlags+=('-fstack-protector-strong' '--param' 'ssp-buffer-size=4')
46+ ;;
47+ pie)
48+ if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling CFlags -fPIE >&2; fi
49+ hardeningCFlags+=('-fPIE')
50+ if [[ ! ("$*" =~ " -shared " || "$*" =~ " -static ") ]]; then
51+ if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling LDFlags -pie >&2; fi
52+ hardeningCFlags+=('-pie')
53+ fi
54+ ;;
55+ pic)
56+ if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling pic >&2; fi
57+ hardeningCFlags+=('-fPIC')
58+ ;;
59+ strictoverflow)
60+ if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling strictoverflow >&2; fi
61+ hardeningCFlags+=('-fno-strict-overflow')
62+ ;;
63+ format)
64+ if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling format >&2; fi
65+ hardeningCFlags+=('-Wformat' '-Wformat-security' '-Werror=format-security')
66+ ;;
67+ *)
68+ # Ignore unsupported. Checked in Nix that at least *some*
69+ # tool supports each flag.
70+ ;;
71+ esac
72+done
pkgs/build-support/cc-wrapper/cc-wrapper.sh+3−3
@@ -15,7 +15,7 @@ if [[ -n "@coreutils_bin@" && -n "@gnugrep_bin@" ]]; then
15 PATH="@coreutils_bin@/bin:@gnugrep_bin@/bin"
15 PATH="@coreutils_bin@/bin:@gnugrep_bin@/bin"
16fi
16fi
17
17
18−source @out@/nix-support/utils.sh
18+source @out@/nix-support/utils.bash
19
19
20# Flirting with a layer violation here.
20# Flirting with a layer violation here.
21if [ -z "${NIX_BINTOOLS_WRAPPER_@infixSalt@_FLAGS_SET:-}" ]; then
21if [ -z "${NIX_BINTOOLS_WRAPPER_@infixSalt@_FLAGS_SET:-}" ]; then
@@ -134,8 +134,8 @@ fi
134source @out@/nix-support/add-hardening.sh
134source @out@/nix-support/add-hardening.sh
135
135
136# Add the flags for the C compiler proper.
136# Add the flags for the C compiler proper.
137−extraAfter=($NIX_@infixSalt@_CFLAGS_COMPILE "${hardeningCFlags[@]}")
137+extraAfter=($NIX_@infixSalt@_CFLAGS_COMPILE)
138−extraBefore=()
138+extraBefore=(${hardeningCFlags[@]+"${hardeningCFlags[@]}"})
139
139
140if [ "$dontLink" != 1 ]; then
140if [ "$dontLink" != 1 ]; then
141
141
pkgs/build-support/cc-wrapper/default.nix+10−4
@@ -71,7 +71,7 @@ assert nativePrefix == bintools.nativePrefix;
71
71
72stdenv.mkDerivation {
72stdenv.mkDerivation {
73 name = targetPrefix
73 name = targetPrefix
74− + (if name != "" then name else "${ccName}-wrapper")
74+ + (if name != "" then name else stdenv.lib.removePrefix targetPrefix "${ccName}-wrapper")
75 + (stdenv.lib.optionalString (cc != null && ccVersion != "") "-${ccVersion}");
75 + (stdenv.lib.optionalString (cc != null && ccVersion != "") "-${ccVersion}");
76
76
77 preferLocalBuild = true;
77 preferLocalBuild = true;
@@ -188,10 +188,16 @@ stdenv.mkDerivation {
188 wrap ${targetPrefix}gccgo ${./cc-wrapper.sh} $ccPath/${targetPrefix}gccgo
188 wrap ${targetPrefix}gccgo ${./cc-wrapper.sh} $ccPath/${targetPrefix}gccgo
189 '';
189 '';
190
190
191+ strictDeps = true;
191 propagatedBuildInputs = [ bintools ];
192 propagatedBuildInputs = [ bintools ];
192 depsTargetTargetPropagated = extraPackages;
193 depsTargetTargetPropagated = extraPackages;
193
194
195+ wrapperName = "CC_WRAPPER";
196+
197+ setupHooks = [
198+ ../setup-hooks/role.bash
194− setupHook = ./setup-hook.sh;
199+ ./setup-hook.sh
200+ ];
195
201
196 postFixup =
202 postFixup =
197 ''
203 ''
@@ -277,7 +283,7 @@ stdenv.mkDerivation {
277 + ''
283 + ''
278 substituteAll ${./add-flags.sh} $out/nix-support/add-flags.sh
284 substituteAll ${./add-flags.sh} $out/nix-support/add-flags.sh
279 substituteAll ${./add-hardening.sh} $out/nix-support/add-hardening.sh
285 substituteAll ${./add-hardening.sh} $out/nix-support/add-hardening.sh
280− substituteAll ${./utils.sh} $out/nix-support/utils.sh
286+ substituteAll ${../wrapper-common/utils.bash} $out/nix-support/utils.bash
281
287
282 ##
288 ##
283 ## Extra custom steps
289 ## Extra custom steps
@@ -288,7 +294,7 @@ stdenv.mkDerivation {
288
294
289 inherit expand-response-params;
295 inherit expand-response-params;
290
296
291− # for substitution in utils.sh
297+ # for substitution in utils.bash
292 expandResponseParams = "${expand-response-params}/bin/expand-response-params";
298 expandResponseParams = "${expand-response-params}/bin/expand-response-params";
293
299
294 meta =
300 meta =
pkgs/build-support/cc-wrapper/setup-hook.sh+13−42
@@ -60,61 +60,28 @@ set -u
60# native compile.
60# native compile.
61#
61#
62# TODO(@Ericson2314): No native exception
62# TODO(@Ericson2314): No native exception
63−[[ -z ${crossConfig-} ]] || (( "$hostOffset" < 0 )) || return 0
63+[[ -z ${strictDeps-} ]] || (( "$hostOffset" < 0 )) || return 0
64
64
65# It's fine that any other cc-wrapper will redefine this. Bash functions close
65# It's fine that any other cc-wrapper will redefine this. Bash functions close
66# over no state, and there's no @-substitutions within, so any redefined
66# over no state, and there's no @-substitutions within, so any redefined
67# function is guaranteed to be exactly the same.
67# function is guaranteed to be exactly the same.
68ccWrapper_addCVars () {
68ccWrapper_addCVars () {
69− # The `depHostOffset` describes how the host platform of the dependencies
69+ # See ../setup-hooks/role.bash
70− # are slid relative to the depending package. It is brought into scope of
70+ local role_post role_pre
71− # the environment hook defined as the role of the dependency being applied.
71+ getTargetRoleEnvHook
72− case $depHostOffset in
73− -1) local role='BUILD_' ;;
74− 0) local role='' ;;
75− 1) local role='TARGET_' ;;
76− *) echo "cc-wrapper: Error: Cannot be used with $depHostOffset-offset deps" >2;
77− return 1 ;;
78− esac
79
72
80 if [[ -d "$1/include" ]]; then
73 if [[ -d "$1/include" ]]; then
81− export NIX_${role}CFLAGS_COMPILE+=" ${ccIncludeFlag:--isystem} $1/include"
74+ export NIX_${role_pre}CFLAGS_COMPILE+=" ${ccIncludeFlag:--isystem} $1/include"
82 fi
75 fi
83
76
84 if [[ -d "$1/Library/Frameworks" ]]; then
77 if [[ -d "$1/Library/Frameworks" ]]; then
85− export NIX_${role}CFLAGS_COMPILE+=" -F$1/Library/Frameworks"
78+ export NIX_${role_pre}CFLAGS_COMPILE+=" -F$1/Library/Frameworks"
86 fi
79 fi
87}
80}
88
81
89−# Since the same cc-wrapper derivation can be depend on in multiple ways, we
90−# need to accumulate *each* role (i.e. target platform relative the depending
91−# derivation) in which the cc-wrapper derivation is used.
92−# `NIX_CC_WRAPPER_@infixSalt@_TARGET_*` tracks this (needs to be an exported env
93−# var so can't use fancier data structures).
94−#
95−# We also need to worry about what role is being added on *this* invocation of
96−# setup-hook, which `role` tracks.
82+# See ../setup-hooks/role.bash
97−case $targetOffset in
83+getTargetRole
98− -1)
84+getTargetRoleWrapper
99− export NIX_CC_WRAPPER_@infixSalt@_TARGET_BUILD=1
100− role_pre='BUILD_'
101− role_post='_FOR_BUILD'
102− ;;
103− 0)
104− export NIX_CC_WRAPPER_@infixSalt@_TARGET_HOST=1
105− role_pre=''
106− role_post=''
107− ;;
108− 1)
109− export NIX_CC_WRAPPER_@infixSalt@_TARGET_TARGET=1
110− role_pre='TARGET_'
111− role_post='_FOR_TARGET'
112− ;;
113− *)
114− echo "cc-wrapper: used as improper sort of dependency" >2;
115− return 1
116− ;;
117−esac
118
85
119# We use the `targetOffset` to choose the right env hook to accumulate the right
86# We use the `targetOffset` to choose the right env hook to accumulate the right
120# sort of deps (those with that offset).
87# sort of deps (those with that offset).
@@ -147,6 +114,10 @@ export ${role_pre}CXX=@named_cxx@
147export CC${role_post}=@named_cc@
114export CC${role_post}=@named_cc@
148export CXX${role_post}=@named_cxx@
115export CXX${role_post}=@named_cxx@
149
116
117+# If unset, assume the default hardening flags.
118+: ${NIX_HARDENING_ENABLE="fortify stackprotector pic strictoverflow format relro bindnow"}
119+export NIX_HARDENING_ENABLE
120+
150# No local scope in sourced file
121# No local scope in sourced file
151unset -v role_pre role_post
122unset -v role_pre role_post
152set +u
123set +u
pkgs/build-support/rust/default.nix+1−1
@@ -91,7 +91,7 @@ in stdenv.mkDerivation (args // {
91 installPhase = args.installPhase or ''
91 installPhase = args.installPhase or ''
92 runHook preInstall
92 runHook preInstall
93 mkdir -p $out/bin
93 mkdir -p $out/bin
94− find target/release -maxdepth 1 -executable -exec cp "{}" $out/bin \;
94+ find target/release -maxdepth 1 -executable -type f -exec cp "{}" $out/bin \;
95 runHook postInstall
95 runHook postInstall
96 '';
96 '';
97
97
pkgs/build-support/setup-hooks/role.bashnew file+75
@@ -0,0 +1,75 @@
1+# Since the same derivation can be depend on in multiple ways, we need to
2+# accumulate *each* role (i.e. host and target platforms relative the depending
3+# derivation) in which the derivation is used.
4+#
5+# The role is intened to be use as part of other variables names like
6+# - $NIX_${role_pre}_SOMETHING
7+# - $NIX_SOMETHING_${role_post}
8+
9+function getRole() {
10+ case $1 in
11+ -1)
12+ role_pre='BUILD_'
13+ role_post='_FOR_BUILD'
14+ ;;
15+ 0)
16+ role_pre=''
17+ role_post=''
18+ ;;
19+ 1)
20+ role_pre='TARGET_'
21+ role_post='_FOR_TARGET'
22+ ;;
23+ *)
24+ echo "@name@: used as improper sort of dependency" >2
25+ return 1
26+ ;;
27+ esac
28+}
29+
30+# `hostOffset` describes how the host platform of the package is slid relative
31+# to the depending package. `targetOffset` likewise describes the target
32+# platform of the package. Both are brought into scope of the setup hook defined
33+# for dependency whose setup hook is being processed relative to the package
34+# being built.
35+
36+function getHostRole() {
37+ getRole "$hostOffset"
38+}
39+function getTargetRole() {
40+ getRole "$targetOffset"
41+}
42+
43+# `depHostOffset` describes how the host platform of the dependencies are slid
44+# relative to the depending package. `depTargetOffset` likewise describes the
45+# target platform of dependenices. Both are brought into scope of the
46+# environment hook defined for the dependency being applied relative to the
47+# package being built.
48+
49+function getHostRoleEnvHook() {
50+ getRole "$depHostOffset"
51+}
52+function getTargetRoleEnvHook() {
53+ getRole "$depTargetOffset"
54+}
55+
56+# This variant is inteneded specifically for code-prodocing tool wrapper scripts
57+# `NIX_@wrapperName@_@infixSalt@_TARGET_*` tracks this (needs to be an exported
58+# env var so can't use fancier data structures).
59+function getTargetRoleWrapper() {
60+ case $targetOffset in
61+ -1)
62+ export NIX_@wrapperName@_@infixSalt@_TARGET_BUILD=1
63+ ;;
64+ 0)
65+ export NIX_@wrapperName@_@infixSalt@_TARGET_HOST=1
66+ ;;
67+ 1)
68+ export NIX_@wrapperName@_@infixSalt@_TARGET_TARGET=1
69+ ;;
70+ *)
71+ echo "@name@: used as improper sort of dependency" >2
72+ return 1
73+ ;;
74+ esac
75+}
pkgs/build-support/cc-wrapper/utils.sh → pkgs/build-support/wrapper-common/utils.bashrenamed+15
@@ -1,3 +1,18 @@
1+# Accumulate infixes for taking in the right input parameters with the `mangle*`
2+# functions below. See setup-hook for details.
3+accumulateRoles() {
4+ declare -ga role_infixes=()
5+ if [ "${NIX_@wrapperName@_@infixSalt@_TARGET_BUILD:-}" ]; then
6+ role_infixes+=(_BUILD_)
7+ fi
8+ if [ "${NIX_@wrapperName@_@infixSalt@_TARGET_HOST:-}" ]; then
9+ role_infixes+=(_)
10+ fi
11+ if [ "${NIX_@wrapperName@_@infixSalt@_TARGET_TARGET:-}" ]; then
12+ role_infixes+=(_TARGET_)
13+ fi
14+}
15+
1mangleVarList() {
16mangleVarList() {
2 local var="$1"
17 local var="$1"
3 shift
18 shift
pkgs/data/misc/poppler-data/default.nix+2−2
@@ -1,11 +1,11 @@
1{ fetchurl, stdenv, cmake, ninja }:
1{ fetchurl, stdenv, cmake, ninja }:
2
2
3stdenv.mkDerivation rec {
3stdenv.mkDerivation rec {
4− name = "poppler-data-0.4.8";
4+ name = "poppler-data-0.4.9";
5
5
6 src = fetchurl {
6 src = fetchurl {
7 url = "http://poppler.freedesktop.org/${name}.tar.gz";
7 url = "http://poppler.freedesktop.org/${name}.tar.gz";
8− sha256 = "0wi8yyynladny51r4q53z7ygh7y491ayp8nqqv6wqqzjc60s35hh";
8+ sha256 = "04i0wgdkn5lhda8cyxd1ll4a2p41pwqrwd47n9mdpl7cx5ypx70z";
9 };
9 };
10
10
11 nativeBuildInputs = [ cmake ninja ];
11 nativeBuildInputs = [ cmake ninja ];
pkgs/data/misc/tzdata/default.nix+2
@@ -37,6 +37,8 @@ stdenv.mkDerivation rec {
37
37
38 depsBuildBuild = [ buildPackages.stdenv.cc ];
38 depsBuildBuild = [ buildPackages.stdenv.cc ];
39
39
40+ doCheck = false; # needs more tools
41+
40 installFlags = [ "ZIC=./zic-native" ];
42 installFlags = [ "ZIC=./zic-native" ];
41
43
42 preInstall = ''
44 preInstall = ''
pkgs/desktops/gnome-2/desktop/gtksourceview/default.nix+2
@@ -38,4 +38,6 @@ stdenv.mkDerivation rec {
38 preConfigure = optionalString stdenv.isDarwin ''
38 preConfigure = optionalString stdenv.isDarwin ''
39 intltoolize --force
39 intltoolize --force
40 '';
40 '';
41+
42+ doCheck = false; # requires X11 daemon
41}
43}
pkgs/desktops/gnome-2/desktop/zenity/default.nix+2
@@ -13,4 +13,6 @@ stdenv.mkDerivation {
13 buildInputs = [ gtk libglade libxml2 libxslt libX11 docbook_xml_dtd_412 ];
13 buildInputs = [ gtk libglade libxml2 libxslt libX11 docbook_xml_dtd_412 ];
14
14
15 nativeBuildInputs = [ pkgconfig intltool gnome-doc-utils which ];
15 nativeBuildInputs = [ pkgconfig intltool gnome-doc-utils which ];
16+
17+ doCheck = false; # fails, tries to access the net
16}
18}
pkgs/desktops/gnome-2/platform/gnome-vfs/default.nix+2
@@ -21,4 +21,6 @@ stdenv.mkDerivation rec {
21 propagatedBuildInputs = [ GConf glib ];
21 propagatedBuildInputs = [ GConf glib ];
22
22
23 postPatch = "find . -name Makefile.in | xargs sed 's/-DG_DISABLE_DEPRECATED//g' -i ";
23 postPatch = "find . -name Makefile.in | xargs sed 's/-DG_DISABLE_DEPRECATED//g' -i ";
24+
25+ doCheck = false; # needs dbus daemon
24}
26}
pkgs/desktops/gnome-3/apps/gnome-boxes/default.nix+3
@@ -24,6 +24,9 @@ in stdenv.mkDerivation rec {
24 meson ninja vala pkgconfig gettext itstool wrapGAppsHook gobjectIntrospection desktop-file-utils
24 meson ninja vala pkgconfig gettext itstool wrapGAppsHook gobjectIntrospection desktop-file-utils
25 ];
25 ];
26
26
27+ # Required for USB redirection PolicyKit rules file
28+ propagatedUserEnvPkgs = [ spice-gtk ];
29+
27 buildInputs = [
30 buildInputs = [
28 libvirt-glib glib gtk3 gtkvnc libxml2
31 libvirt-glib glib gtk3 gtkvnc libxml2
29 libvirt spice-gtk spice-protocol libsoup json-glib webkitgtk libosinfo systemd
32 libvirt spice-gtk spice-protocol libsoup json-glib webkitgtk libosinfo systemd
pkgs/desktops/gnome-3/core/dconf/default.nix+2
@@ -23,6 +23,8 @@ stdenv.mkDerivation rec {
23 nativeBuildInputs = [ meson ninja vala pkgconfig python3 libxslt libxml2 docbook_xsl ];
23 nativeBuildInputs = [ meson ninja vala pkgconfig python3 libxslt libxml2 docbook_xsl ];
24 buildInputs = [ glib dbus-glib ];
24 buildInputs = [ glib dbus-glib ];
25
25
26+ doCheck = false; # fails 2 out of 9 tests, maybe needs dbus daemon?
27+
26 passthru = {
28 passthru = {
27 updateScript = gnome3.updateScript {
29 updateScript = gnome3.updateScript {
28 packageName = pname;
30 packageName = pname;
pkgs/desktops/xfce/core/xfconf.nix+2−1
@@ -19,6 +19,8 @@ stdenv.mkDerivation rec {
19 buildInputs = [ intltool glib libxfce4util ];
19 buildInputs = [ intltool glib libxfce4util ];
20 propagatedBuildInputs = [ dbus-glib ];
20 propagatedBuildInputs = [ dbus-glib ];
21
21
22+ doCheck = false; # requires dbus daemon
23+
22 meta = with stdenv.lib; {
24 meta = with stdenv.lib; {
23 homepage = http://docs.xfce.org/xfce/xfconf/start;
25 homepage = http://docs.xfce.org/xfce/xfconf/start;
24 description = "Simple client-server configuration storage and query system for Xfce";
26 description = "Simple client-server configuration storage and query system for Xfce";
@@ -26,4 +28,3 @@ stdenv.mkDerivation rec {
26 platforms = platforms.linux;
28 platforms = platforms.linux;
27 };
29 };
28}
30}
29−
pkgs/development/compilers/gcc/4.8/default.nix+12−20
@@ -25,7 +25,8 @@
25, libcCross ? null
25, libcCross ? null
26, crossStageStatic ? false
26, crossStageStatic ? false
27, libpthread ? null, libpthreadCross ? null # required for GNU/Hurd
27, libpthread ? null, libpthreadCross ? null # required for GNU/Hurd
28−, stripped ? true
28+, # Strip kills static libs of other archs (hence no cross)
29+ stripped ? hostPlatform == buildPlatform && targetPlatform == hostPlatform
29, gnused ? null
30, gnused ? null
30, darwin ? null
31, darwin ? null
31, buildPlatform, hostPlatform, targetPlatform
32, buildPlatform, hostPlatform, targetPlatform
@@ -154,7 +155,7 @@ let version = "4.8.5";
154 "--disable-decimal-float" # No final libdecnumber (it may work only in 386)
155 "--disable-decimal-float" # No final libdecnumber (it may work only in 386)
155 ]));
156 ]));
156 stageNameAddon = if crossStageStatic then "-stage-static" else "-stage-final";
157 stageNameAddon = if crossStageStatic then "-stage-static" else "-stage-final";
157− crossNameAddon = if targetPlatform != hostPlatform then "-${targetPlatform.config}" + stageNameAddon else "";
158+ crossNameAddon = if targetPlatform != hostPlatform then "${targetPlatform.config}${stageNameAddon}-" else "";
158
159
159 bootstrap = targetPlatform == hostPlatform;
160 bootstrap = targetPlatform == hostPlatform;
160
161
@@ -164,7 +165,7 @@ in
164assert x11Support -> (filter (x: x == null) ([ gtk2 libart_lgpl ] ++ xlibs)) == [];
165assert x11Support -> (filter (x: x == null) ([ gtk2 libart_lgpl ] ++ xlibs)) == [];
165
166
166stdenv.mkDerivation ({
167stdenv.mkDerivation ({
167− name = "${name}${if stripped then "" else "-debug"}-${version}" + crossNameAddon;
168+ name = crossNameAddon + "${name}${if stripped then "" else "-debug"}-${version}";
168
169
169 builder = ../builder.sh;
170 builder = ../builder.sh;
170
171
@@ -267,11 +268,7 @@ stdenv.mkDerivation ({
267 dontDisableStatic = true;
268 dontDisableStatic = true;
268
269
269 # TODO(@Ericson2314): Always pass "--target" and always prefix.
270 # TODO(@Ericson2314): Always pass "--target" and always prefix.
270− configurePlatforms =
271− # TODO(@Ericson2314): Figure out what's going wrong with Arm
272− if buildPlatform == hostPlatform && hostPlatform == targetPlatform && targetPlatform.isAarch32
273− then []
274− else [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
271+ configurePlatforms = [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
275
272
276 configureFlags =
273 configureFlags =
277 # Basic dependencies
274 # Basic dependencies
@@ -351,21 +348,19 @@ stdenv.mkDerivation ({
351
348
352 targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null;
349 targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null;
353
350
354− buildFlags = if bootstrap then
351+ buildFlags = optional
352+ (bootstrap && hostPlatform == buildPlatform)
355− (if profiledCompiler then "profiledbootstrap" else "bootstrap")
353+ (if profiledCompiler then "profiledbootstrap" else "bootstrap");
356− else "";
354+
355+ dontStrip = !stripped;
356+
357+ doCheck = false; # requires a lot of tools, causes a dependency cycle for stdenv
357
358
358 installTargets =
359 installTargets =
359 if stripped
360 if stripped
360 then "install-strip"
361 then "install-strip"
361 else "install";
362 else "install";
362
363
363− /* For cross-built gcc (build != host == target) */
364− crossAttrs = {
365− dontStrip = true;
366− buildFlags = "";
367− };
368−
369 # http://gcc.gnu.org/install/specific.html#x86-64-x-solaris210
364 # http://gcc.gnu.org/install/specific.html#x86-64-x-solaris210
370 ${if hostPlatform.system == "x86_64-solaris" then "CC" else null} = "gcc -m64";
365 ${if hostPlatform.system == "x86_64-solaris" then "CC" else null} = "gcc -m64";
371
366
@@ -467,8 +462,5 @@ stdenv.mkDerivation ({
467 installTargets = "install-gcc install-target-libgcc";
462 installTargets = "install-gcc install-target-libgcc";
468}
463}
469
464
470−# Strip kills static libs of other archs (hence targetPlatform != hostPlatform)
471−// optionalAttrs (!stripped || targetPlatform != hostPlatform) { dontStrip = true; }
472−
473// optionalAttrs (enableMultilib) { dontMoveLib64 = true; }
465// optionalAttrs (enableMultilib) { dontMoveLib64 = true; }
474)
466)
pkgs/development/compilers/gcc/4.9/default.nix+12−20
@@ -25,7 +25,8 @@
25, libcCross ? null
25, libcCross ? null
26, crossStageStatic ? false
26, crossStageStatic ? false
27, libpthread ? null, libpthreadCross ? null # required for GNU/Hurd
27, libpthread ? null, libpthreadCross ? null # required for GNU/Hurd
28−, stripped ? true
28+, # Strip kills static libs of other archs (hence no cross)
29+ stripped ? hostPlatform == buildPlatform && targetPlatform == hostPlatform
29, gnused ? null
30, gnused ? null
30, darwin ? null
31, darwin ? null
31, buildPlatform, hostPlatform, targetPlatform
32, buildPlatform, hostPlatform, targetPlatform
@@ -162,7 +163,7 @@ let version = "4.9.4";
162 "--disable-decimal-float" # No final libdecnumber (it may work only in 386)
163 "--disable-decimal-float" # No final libdecnumber (it may work only in 386)
163 ]));
164 ]));
164 stageNameAddon = if crossStageStatic then "-stage-static" else "-stage-final";
165 stageNameAddon = if crossStageStatic then "-stage-static" else "-stage-final";
165− crossNameAddon = if targetPlatform != hostPlatform then "-${targetPlatform.config}" + stageNameAddon else "";
166+ crossNameAddon = if targetPlatform != hostPlatform then "${targetPlatform.config}${stageNameAddon}-" else "";
166
167
167 bootstrap = targetPlatform == hostPlatform;
168 bootstrap = targetPlatform == hostPlatform;
168
169
@@ -172,7 +173,7 @@ in
172assert x11Support -> (filter (x: x == null) ([ gtk2 libart_lgpl ] ++ xlibs)) == [];
173assert x11Support -> (filter (x: x == null) ([ gtk2 libart_lgpl ] ++ xlibs)) == [];
173
174
174stdenv.mkDerivation ({
175stdenv.mkDerivation ({
175− name = "${name}${if stripped then "" else "-debug"}-${version}" + crossNameAddon;
176+ name = crossNameAddon + "${name}${if stripped then "" else "-debug"}-${version}";
176
177
177 builder = ../builder.sh;
178 builder = ../builder.sh;
178
179
@@ -290,11 +291,7 @@ stdenv.mkDerivation ({
290 dontDisableStatic = true;
291 dontDisableStatic = true;
291
292
292 # TODO(@Ericson2314): Always pass "--target" and always prefix.
293 # TODO(@Ericson2314): Always pass "--target" and always prefix.
293− configurePlatforms =
294− # TODO(@Ericson2314): Figure out what's going wrong with Arm
295− if buildPlatform == hostPlatform && hostPlatform == targetPlatform && targetPlatform.isAarch32
296− then []
297− else [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
294+ configurePlatforms = [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
298
295
299 configureFlags =
296 configureFlags =
300 # Basic dependencies
297 # Basic dependencies
@@ -373,21 +370,19 @@ stdenv.mkDerivation ({
373
370
374 targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null;
371 targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null;
375
372
376− buildFlags = if bootstrap then
373+ buildFlags = optional
374+ (bootstrap && hostPlatform == buildPlatform)
377− (if profiledCompiler then "profiledbootstrap" else "bootstrap")
375+ (if profiledCompiler then "profiledbootstrap" else "bootstrap");
378− else "";
376+
377+ dontStrip = !stripped;
378+
379+ doCheck = false; # requires a lot of tools, causes a dependency cycle for stdenv
379
380
380 installTargets =
381 installTargets =
381 if stripped
382 if stripped
382 then "install-strip"
383 then "install-strip"
383 else "install";
384 else "install";
384
385
385− /* For cross-built gcc (build != host == target) */
386− crossAttrs = {
387− dontStrip = true;
388− buildFlags = "";
389− };
390−
391 # http://gcc.gnu.org/install/specific.html#x86-64-x-solaris210
386 # http://gcc.gnu.org/install/specific.html#x86-64-x-solaris210
392 ${if hostPlatform.system == "x86_64-solaris" then "CC" else null} = "gcc -m64";
387 ${if hostPlatform.system == "x86_64-solaris" then "CC" else null} = "gcc -m64";
393
388
@@ -485,9 +480,6 @@ stdenv.mkDerivation ({
485 installTargets = "install-gcc install-target-libgcc";
480 installTargets = "install-gcc install-target-libgcc";
486}
481}
487
482
488−# Strip kills static libs of other archs (hence targetPlatform != hostPlatform)
489−// optionalAttrs (!stripped || targetPlatform != hostPlatform) { dontStrip = true; }
490−
491// optionalAttrs (enableMultilib) { dontMoveLib64 = true; }
483// optionalAttrs (enableMultilib) { dontMoveLib64 = true; }
492
484
493// optionalAttrs (langJava) {
485// optionalAttrs (langJava) {
pkgs/development/compilers/gcc/5/default.nix+12−20
@@ -25,7 +25,8 @@
25, libcCross ? null
25, libcCross ? null
26, crossStageStatic ? false
26, crossStageStatic ? false
27, libpthread ? null, libpthreadCross ? null # required for GNU/Hurd
27, libpthread ? null, libpthreadCross ? null # required for GNU/Hurd
28−, stripped ? true
28+, # Strip kills static libs of other archs (hence no cross)
29+ stripped ? hostPlatform == buildPlatform && targetPlatform == hostPlatform
29, gnused ? null
30, gnused ? null
30, cloog # unused; just for compat with gcc4, as we override the parameter on some places
31, cloog # unused; just for compat with gcc4, as we override the parameter on some places
31, darwin ? null
32, darwin ? null
@@ -148,7 +149,7 @@ let version = "5.5.0";
148 "--disable-decimal-float" # No final libdecnumber (it may work only in 386)
149 "--disable-decimal-float" # No final libdecnumber (it may work only in 386)
149 ]));
150 ]));
150 stageNameAddon = if crossStageStatic then "-stage-static" else "-stage-final";
151 stageNameAddon = if crossStageStatic then "-stage-static" else "-stage-final";
151− crossNameAddon = if targetPlatform != hostPlatform then "-${targetPlatform.config}" + stageNameAddon else "";
152+ crossNameAddon = if targetPlatform != hostPlatform then "${targetPlatform.config}${stageNameAddon}-" else "";
152
153
153 bootstrap = targetPlatform == hostPlatform;
154 bootstrap = targetPlatform == hostPlatform;
154
155
@@ -158,7 +159,7 @@ in
158assert x11Support -> (filter (x: x == null) ([ gtk2 libart_lgpl ] ++ xlibs)) == [];
159assert x11Support -> (filter (x: x == null) ([ gtk2 libart_lgpl ] ++ xlibs)) == [];
159
160
160stdenv.mkDerivation ({
161stdenv.mkDerivation ({
161− name = "${name}${if stripped then "" else "-debug"}-${version}" + crossNameAddon;
162+ name = crossNameAddon + "${name}${if stripped then "" else "-debug"}-${version}";
162
163
163 builder = ../builder.sh;
164 builder = ../builder.sh;
164
165
@@ -292,11 +293,7 @@ stdenv.mkDerivation ({
292 dontDisableStatic = true;
293 dontDisableStatic = true;
293
294
294 # TODO(@Ericson2314): Always pass "--target" and always prefix.
295 # TODO(@Ericson2314): Always pass "--target" and always prefix.
295− configurePlatforms =
296− # TODO(@Ericson2314): Figure out what's going wrong with Arm
297− if buildPlatform == hostPlatform && hostPlatform == targetPlatform && targetPlatform.isAarch32
298− then []
299− else [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
296+ configurePlatforms = [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
300
297
301 configureFlags =
298 configureFlags =
302 # Basic dependencies
299 # Basic dependencies
@@ -372,21 +369,19 @@ stdenv.mkDerivation ({
372
369
373 targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null;
370 targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null;
374
371
375− buildFlags = if bootstrap then
372+ buildFlags = optional
373+ (bootstrap && hostPlatform == buildPlatform)
376− (if profiledCompiler then "profiledbootstrap" else "bootstrap")
374+ (if profiledCompiler then "profiledbootstrap" else "bootstrap");
377− else "";
375+
376+ dontStrip = !stripped;
377+
378+ doCheck = false; # requires a lot of tools, causes a dependency cycle for stdenv
378
379
379 installTargets =
380 installTargets =
380 if stripped
381 if stripped
381 then "install-strip"
382 then "install-strip"
382 else "install";
383 else "install";
383
384
384− /* For cross-built gcc (build != host == target) */
385− crossAttrs = {
386− dontStrip = true;
387− buildFlags = "";
388− };
389−
390 # http://gcc.gnu.org/install/specific.html#x86-64-x-solaris210
385 # http://gcc.gnu.org/install/specific.html#x86-64-x-solaris210
391 ${if hostPlatform.system == "x86_64-solaris" then "CC" else null} = "gcc -m64";
386 ${if hostPlatform.system == "x86_64-solaris" then "CC" else null} = "gcc -m64";
392
387
@@ -484,8 +479,5 @@ stdenv.mkDerivation ({
484 installTargets = "install-gcc install-target-libgcc";
479 installTargets = "install-gcc install-target-libgcc";
485}
480}
486
481
487−# Strip kills static libs of other archs (hence targetPlatform != hostPlatform)
488−// optionalAttrs (!stripped || targetPlatform != hostPlatform) { dontStrip = true; }
489−
490// optionalAttrs (enableMultilib) { dontMoveLib64 = true; }
482// optionalAttrs (enableMultilib) { dontMoveLib64 = true; }
491)
483)
pkgs/development/compilers/gcc/6/default.nix+12−19
@@ -25,7 +25,8 @@
25, libcCross ? null
25, libcCross ? null
26, crossStageStatic ? false
26, crossStageStatic ? false
27, libpthread ? null, libpthreadCross ? null # required for GNU/Hurd
27, libpthread ? null, libpthreadCross ? null # required for GNU/Hurd
28−, stripped ? true
28+, # Strip kills static libs of other archs (hence no cross)
29+ stripped ? hostPlatform == buildPlatform && targetPlatform == hostPlatform
29, gnused ? null
30, gnused ? null
30, cloog # unused; just for compat with gcc4, as we override the parameter on some places
31, cloog # unused; just for compat with gcc4, as we override the parameter on some places
31, darwin ? null
32, darwin ? null
@@ -151,7 +152,7 @@ let version = "6.4.0";
151 "--disable-decimal-float" # No final libdecnumber (it may work only in 386)
152 "--disable-decimal-float" # No final libdecnumber (it may work only in 386)
152 ]));
153 ]));
153 stageNameAddon = if crossStageStatic then "-stage-static" else "-stage-final";
154 stageNameAddon = if crossStageStatic then "-stage-static" else "-stage-final";
154− crossNameAddon = if targetPlatform != hostPlatform then "-${targetPlatform.config}" + stageNameAddon else "";
155+ crossNameAddon = if targetPlatform != hostPlatform then "${targetPlatform.config}${stageNameAddon}-" else "";
155
156
156 bootstrap = targetPlatform == hostPlatform;
157 bootstrap = targetPlatform == hostPlatform;
157
158
@@ -161,7 +162,7 @@ in
161assert x11Support -> (filter (x: x == null) ([ gtk2 libart_lgpl ] ++ xlibs)) == [];
162assert x11Support -> (filter (x: x == null) ([ gtk2 libart_lgpl ] ++ xlibs)) == [];
162
163
163stdenv.mkDerivation ({
164stdenv.mkDerivation ({
164− name = "${name}${if stripped then "" else "-debug"}-${version}" + crossNameAddon;
165+ name = crossNameAddon + "${name}${if stripped then "" else "-debug"}-${version}";
165
166
166 builder = ../builder.sh;
167 builder = ../builder.sh;
167
168
@@ -300,11 +301,7 @@ stdenv.mkDerivation ({
300 dontDisableStatic = true;
301 dontDisableStatic = true;
301
302
302 # TODO(@Ericson2314): Always pass "--target" and always prefix.
303 # TODO(@Ericson2314): Always pass "--target" and always prefix.
303− configurePlatforms =
304− # TODO(@Ericson2314): Figure out what's going wrong with Arm
305− if buildPlatform == hostPlatform && hostPlatform == targetPlatform && targetPlatform.isAarch32
306− then []
307− else [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
304+ configurePlatforms = [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
308
305
309 configureFlags =
306 configureFlags =
310 # Basic dependencies
307 # Basic dependencies
@@ -380,20 +377,19 @@ stdenv.mkDerivation ({
380
377
381 targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null;
378 targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null;
382
379
383− buildFlags =
380+ buildFlags = optional
381+ (bootstrap && hostPlatform == buildPlatform)
384− optional bootstrap (if profiledCompiler then "profiledbootstrap" else "bootstrap");
382+ (if profiledCompiler then "profiledbootstrap" else "bootstrap");
383+
384+ dontStrip = !stripped;
385+
386+ doCheck = false; # requires a lot of tools, causes a dependency cycle for stdenv
385
387
386 installTargets =
388 installTargets =
387 if stripped
389 if stripped
388 then "install-strip"
390 then "install-strip"
389 else "install";
391 else "install";
390
392
391− /* For cross-built gcc (build != host == target) */
392− crossAttrs = {
393− dontStrip = true;
394− buildFlags = "";
395− };
396−
397 # http://gcc.gnu.org/install/specific.html#x86-64-x-solaris210
393 # http://gcc.gnu.org/install/specific.html#x86-64-x-solaris210
398 ${if hostPlatform.system == "x86_64-solaris" then "CC" else null} = "gcc -m64";
394 ${if hostPlatform.system == "x86_64-solaris" then "CC" else null} = "gcc -m64";
399
395
@@ -491,9 +487,6 @@ stdenv.mkDerivation ({
491 installTargets = "install-gcc install-target-libgcc";
487 installTargets = "install-gcc install-target-libgcc";
492}
488}
493
489
494−# Strip kills static libs of other archs (hence targetPlatform != hostPlatform)
495−// optionalAttrs (!stripped || targetPlatform != hostPlatform) { dontStrip = true; }
496−
497// optionalAttrs (enableMultilib) { dontMoveLib64 = true; }
490// optionalAttrs (enableMultilib) { dontMoveLib64 = true; }
498
491
499// optionalAttrs (langJava) {
492// optionalAttrs (langJava) {
pkgs/development/compilers/gcc/7/default.nix+18−89
@@ -2,30 +2,24 @@
2, langC ? true, langCC ? true, langFortran ? false
2, langC ? true, langCC ? true, langFortran ? false
3, langObjC ? targetPlatform.isDarwin
3, langObjC ? targetPlatform.isDarwin
4, langObjCpp ? targetPlatform.isDarwin
4, langObjCpp ? targetPlatform.isDarwin
5−, langJava ? false
6, langGo ? false
5, langGo ? false
7, profiledCompiler ? false
6, profiledCompiler ? false
8, staticCompiler ? false
7, staticCompiler ? false
9, enableShared ? true
8, enableShared ? true
10, texinfo ? null
9, texinfo ? null
11−, perl ? null # optional, for texi2pod (then pod2man); required for Java
10+, perl ? null # optional, for texi2pod (then pod2man)
12, gmp, mpfr, libmpc, gettext, which
11, gmp, mpfr, libmpc, gettext, which
13, libelf # optional, for link-time optimizations (LTO)
12, libelf # optional, for link-time optimizations (LTO)
14, isl ? null # optional, for the Graphite optimization framework.
13, isl ? null # optional, for the Graphite optimization framework.
15−, zlib ? null, boehmgc ? null
14+, zlib ? null
16−, zip ? null, unzip ? null, pkgconfig ? null
17−, gtk2 ? null, libart_lgpl ? null
18−, libX11 ? null, libXt ? null, libSM ? null, libICE ? null, libXtst ? null
19−, libXrender ? null, xproto ? null, renderproto ? null, xextproto ? null
20−, libXrandr ? null, libXi ? null, inputproto ? null, randrproto ? null
21−, x11Support ? langJava
22, enableMultilib ? false
15, enableMultilib ? false
23, enablePlugin ? hostPlatform == buildPlatform # Whether to support user-supplied plug-ins
16, enablePlugin ? hostPlatform == buildPlatform # Whether to support user-supplied plug-ins
24, name ? "gcc"
17, name ? "gcc"
25, libcCross ? null
18, libcCross ? null
26, crossStageStatic ? false
19, crossStageStatic ? false
27, libpthread ? null, libpthreadCross ? null # required for GNU/Hurd
20, libpthread ? null, libpthreadCross ? null # required for GNU/Hurd
28−, stripped ? true
21+, # Strip kills static libs of other archs (hence no cross)
22+ stripped ? hostPlatform == buildPlatform && targetPlatform == hostPlatform
29, gnused ? null
23, gnused ? null
30, cloog # unused; just for compat with gcc4, as we override the parameter on some places
24, cloog # unused; just for compat with gcc4, as we override the parameter on some places
31, darwin ? null
25, darwin ? null
@@ -33,10 +27,6 @@
33, buildPackages
27, buildPackages
34}:
28}:
35
29
36−assert langJava -> zip != null && unzip != null
37− && zlib != null && boehmgc != null
38− && perl != null; # for `--enable-java-home'
39−
40# LTO needs libelf and zlib.
30# LTO needs libelf and zlib.
41assert libelf != null -> zlib != null;
31assert libelf != null -> zlib != null;
42
32
@@ -70,29 +60,6 @@ let version = "7.3.0";
70 })
60 })
71 ++ optional langFortran ../gfortran-driving.patch;
61 ++ optional langFortran ../gfortran-driving.patch;
72
62
73− javaEcj = fetchurl {
74− # The `$(top_srcdir)/ecj.jar' file is automatically picked up at
75− # `configure' time.
76−
77− # XXX: Eventually we might want to take it from upstream.
78− url = "ftp://sourceware.org/pub/java/ecj-4.3.jar";
79− sha256 = "0jz7hvc0s6iydmhgh5h2m15yza7p2rlss2vkif30vm9y77m97qcx";
80− };
81−
82− # Antlr (optional) allows the Java `gjdoc' tool to be built. We want a
83− # binary distribution here to allow the whole chain to be bootstrapped.
84− javaAntlr = fetchurl {
85− url = http://www.antlr.org/download/antlr-4.4-complete.jar;
86− sha256 = "02lda2imivsvsis8rnzmbrbp8rh1kb8vmq4i67pqhkwz7lf8y6dz";
87− };
88−
89− xlibs = [
90− libX11 libXt libSM libICE libXtst libXrender libXrandr libXi
91− xproto renderproto xextproto inputproto randrproto
92− ];
93−
94− javaAwtGtk = langJava && x11Support;
95−
96 /* Cross-gcc settings (build == host != target) */
63 /* Cross-gcc settings (build == host != target) */
97 crossMingw = targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt";
64 crossMingw = targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt";
98 crossDarwin = targetPlatform != hostPlatform && targetPlatform.libc == "libSystem";
65 crossDarwin = targetPlatform != hostPlatform && targetPlatform.libc == "libSystem";
@@ -156,17 +123,14 @@ let version = "7.3.0";
156 "--disable-decimal-float" # No final libdecnumber (it may work only in 386)
123 "--disable-decimal-float" # No final libdecnumber (it may work only in 386)
157 ]));
124 ]));
158 stageNameAddon = if crossStageStatic then "-stage-static" else "-stage-final";
125 stageNameAddon = if crossStageStatic then "-stage-static" else "-stage-final";
159− crossNameAddon = if targetPlatform != hostPlatform then "-${targetPlatform.config}" + stageNameAddon else "";
126+ crossNameAddon = if targetPlatform != hostPlatform then "${targetPlatform.config}${stageNameAddon}-" else "";
160
127
161 bootstrap = targetPlatform == hostPlatform;
128 bootstrap = targetPlatform == hostPlatform;
162
129
163in
130in
164
131
165−# We need all these X libraries when building AWT with GTK+.
166−assert x11Support -> (filter (x: x == null) ([ gtk2 libart_lgpl ] ++ xlibs)) == [];
167−
168stdenv.mkDerivation ({
132stdenv.mkDerivation ({
169− name = "${name}${if stripped then "" else "-debug"}-${version}" + crossNameAddon;
133+ name = crossNameAddon + "${name}${if stripped then "" else "-debug"}-${version}";
170
134
171 builder = ../builder.sh;
135 builder = ../builder.sh;
172
136
@@ -262,13 +226,12 @@ stdenv.mkDerivation ({
262
226
263 # TODO(@Ericson2314): Make passthru instead. Weird to avoid mass rebuild,
227 # TODO(@Ericson2314): Make passthru instead. Weird to avoid mass rebuild,
264 crossStageStatic = targetPlatform == hostPlatform || crossStageStatic;
228 crossStageStatic = targetPlatform == hostPlatform || crossStageStatic;
265− inherit noSysDirs staticCompiler langJava
229+ inherit noSysDirs staticCompiler
266 libcCross crossMingw;
230 libcCross crossMingw;
267
231
268 depsBuildBuild = [ buildPackages.stdenv.cc ];
232 depsBuildBuild = [ buildPackages.stdenv.cc ];
269 nativeBuildInputs = [ texinfo which gettext ]
233 nativeBuildInputs = [ texinfo which gettext ]
270− ++ (optional (perl != null) perl)
234+ ++ (optional (perl != null) perl);
271− ++ (optional javaAwtGtk pkgconfig);
272
235
273 # For building runtime libs
236 # For building runtime libs
274 depsBuildTarget =
237 depsBuildTarget =
@@ -283,8 +246,6 @@ stdenv.mkDerivation ({
283 targetPackages.stdenv.cc.bintools # For linking code at run-time
246 targetPackages.stdenv.cc.bintools # For linking code at run-time
284 ] ++ (optional (isl != null) isl)
247 ] ++ (optional (isl != null) isl)
285 ++ (optional (zlib != null) zlib)
248 ++ (optional (zlib != null) zlib)
286− ++ (optionals langJava [ boehmgc zip unzip ])
287− ++ (optionals javaAwtGtk ([ gtk2 libart_lgpl ] ++ xlibs))
288 ++ (optionals (targetPlatform != hostPlatform) [targetPackages.stdenv.cc.bintools])
249 ++ (optionals (targetPlatform != hostPlatform) [targetPackages.stdenv.cc.bintools])
289
250
290 # The builder relies on GNU sed (for instance, Darwin's `sed' fails with
251 # The builder relies on GNU sed (for instance, Darwin's `sed' fails with
@@ -305,11 +266,7 @@ stdenv.mkDerivation ({
305 dontDisableStatic = true;
266 dontDisableStatic = true;
306
267
307 # TODO(@Ericson2314): Always pass "--target" and always prefix.
268 # TODO(@Ericson2314): Always pass "--target" and always prefix.
308− configurePlatforms =
309− # TODO(@Ericson2314): Figure out what's going wrong with Arm
310− if buildPlatform == hostPlatform && hostPlatform == targetPlatform && targetPlatform.isAarch32
311− then []
312− else [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
269+ configurePlatforms = [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
313
270
314 configureFlags =
271 configureFlags =
315 # Basic dependencies
272 # Basic dependencies
@@ -336,7 +293,6 @@ stdenv.mkDerivation ({
336 ( optional langC "c"
293 ( optional langC "c"
337 ++ optional langCC "c++"
294 ++ optional langCC "c++"
338 ++ optional langFortran "fortran"
295 ++ optional langFortran "fortran"
339− ++ optional langJava "java"
340 ++ optional langGo "go"
296 ++ optional langGo "go"
341 ++ optional langObjC "objc"
297 ++ optional langObjC "objc"
342 ++ optional langObjCpp "obj-c++"
298 ++ optional langObjCpp "obj-c++"
@@ -357,18 +313,6 @@ stdenv.mkDerivation ({
357 # Optional features
313 # Optional features
358 optional (isl != null) "--with-isl=${isl}" ++
314 optional (isl != null) "--with-isl=${isl}" ++
359
315
360− # Java options
361− optionals langJava [
362− "--with-ecj-jar=${javaEcj}"
363−
364− # Follow Sun's layout for the convenience of IcedTea/OpenJDK. See
365− # <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2010-April/008888.html>.
366− "--enable-java-home"
367− "--with-java-home=\${prefix}/lib/jvm/jre"
368− ] ++
369− optional javaAwtGtk "--enable-java-awt=gtk" ++
370− optional (langJava && javaAntlr != null) "--with-antlr-jar=${javaAntlr}" ++
371−
372 (import ../common/platform-flags.nix { inherit (stdenv) lib targetPlatform; }) ++
316 (import ../common/platform-flags.nix { inherit (stdenv) lib targetPlatform; }) ++
373 optional (targetPlatform != hostPlatform) crossConfigureFlags ++
317 optional (targetPlatform != hostPlatform) crossConfigureFlags ++
374 optional (!bootstrap) "--disable-bootstrap" ++
318 optional (!bootstrap) "--disable-bootstrap" ++
@@ -386,31 +330,25 @@ stdenv.mkDerivation ({
386
330
387 targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null;
331 targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null;
388
332
389− buildFlags =
333+ buildFlags = optional
334+ (bootstrap && hostPlatform == buildPlatform)
390− optional bootstrap (if profiledCompiler then "profiledbootstrap" else "bootstrap");
335+ (if profiledCompiler then "profiledbootstrap" else "bootstrap");
336+
337+ dontStrip = !stripped;
338+
339+ doCheck = false; # requires a lot of tools, causes a dependency cycle for stdenv
391
340
392 installTargets =
341 installTargets =
393 if stripped
342 if stripped
394 then "install-strip"
343 then "install-strip"
395 else "install";
344 else "install";
396
345
397− /* For cross-built gcc (build != host == target) */
398− crossAttrs = {
399− dontStrip = true;
400− buildFlags = "";
401− };
402−
403 # http://gcc.gnu.org/install/specific.html#x86-64-x-solaris210
346 # http://gcc.gnu.org/install/specific.html#x86-64-x-solaris210
404 ${if hostPlatform.system == "x86_64-solaris" then "CC" else null} = "gcc -m64";
347 ${if hostPlatform.system == "x86_64-solaris" then "CC" else null} = "gcc -m64";
405
348
406 # Setting $CPATH and $LIBRARY_PATH to make sure both `gcc' and `xgcc' find the
349 # Setting $CPATH and $LIBRARY_PATH to make sure both `gcc' and `xgcc' find the
407 # library headers and binaries, regarless of the language being compiled.
350 # library headers and binaries, regarless of the language being compiled.
408 #
351 #
409− # Note: When building the Java AWT GTK+ peer, the build system doesn't honor
410− # `--with-gmp' et al., e.g., when building
411− # `libjava/classpath/native/jni/java-math/gnu_java_math_GMP.c', so we just add
412− # them to $CPATH and $LIBRARY_PATH in this case.
413− #
414 # Likewise, the LTO code doesn't find zlib.
352 # Likewise, the LTO code doesn't find zlib.
415 #
353 #
416 # Cross-compiling, we need gcc not to read ./specs in order to build the g++
354 # Cross-compiling, we need gcc not to read ./specs in order to build the g++
@@ -419,9 +357,6 @@ stdenv.mkDerivation ({
419
357
420 CPATH = optionals (targetPlatform == hostPlatform) (makeSearchPathOutput "dev" "include" ([]
358 CPATH = optionals (targetPlatform == hostPlatform) (makeSearchPathOutput "dev" "include" ([]
421 ++ optional (zlib != null) zlib
359 ++ optional (zlib != null) zlib
422− ++ optional langJava boehmgc
423− ++ optionals javaAwtGtk xlibs
424− ++ optionals javaAwtGtk [ gmp mpfr ]
425 ++ optional (libpthread != null) libpthread
360 ++ optional (libpthread != null) libpthread
426 ++ optional (libpthreadCross != null) libpthreadCross
361 ++ optional (libpthreadCross != null) libpthreadCross
427
362
@@ -433,9 +368,6 @@ stdenv.mkDerivation ({
433
368
434 LIBRARY_PATH = optionals (targetPlatform == hostPlatform) (makeLibraryPath ([]
369 LIBRARY_PATH = optionals (targetPlatform == hostPlatform) (makeLibraryPath ([]
435 ++ optional (zlib != null) zlib
370 ++ optional (zlib != null) zlib
436− ++ optional langJava boehmgc
437− ++ optionals javaAwtGtk xlibs
438− ++ optionals javaAwtGtk [ gmp mpfr ]
439 ++ optional (libpthread != null) libpthread)
371 ++ optional (libpthread != null) libpthread)
440 );
372 );
441
373
@@ -476,8 +408,8 @@ stdenv.mkDerivation ({
476
408
477 longDescription = ''
409 longDescription = ''
478 The GNU Compiler Collection includes compiler front ends for C, C++,
410 The GNU Compiler Collection includes compiler front ends for C, C++,
479− Objective-C, Fortran, OpenMP for C/C++/Fortran, Java, and Ada, as well
411+ Objective-C, Fortran, OpenMP for C/C++/Fortran, and Ada, as well as
480− as libraries for these languages (libstdc++, libgcj, libgomp,...).
412+ libraries for these languages (libstdc++, libgomp,...).
481
413
482 GCC development is a part of the GNU Project, aiming to improve the
414 GCC development is a part of the GNU Project, aiming to improve the
483 compiler used in the GNU system including the GNU/Linux variant.
415 compiler used in the GNU system including the GNU/Linux variant.
@@ -497,8 +429,5 @@ stdenv.mkDerivation ({
497 installTargets = "install-gcc install-target-libgcc";
429 installTargets = "install-gcc install-target-libgcc";
498}
430}
499
431
500−# Strip kills static libs of other archs (hence targetPlatform != hostPlatform)
501−// optionalAttrs (!stripped || targetPlatform != hostPlatform) { dontStrip = true; }
502−
503// optionalAttrs (enableMultilib) { dontMoveLib64 = true; }
432// optionalAttrs (enableMultilib) { dontMoveLib64 = true; }
504)
433)
pkgs/development/compilers/gcc/8/default.nix+8−17
@@ -18,7 +18,8 @@
18, libcCross ? null
18, libcCross ? null
19, crossStageStatic ? false
19, crossStageStatic ? false
20, libpthread ? null, libpthreadCross ? null # required for GNU/Hurd
20, libpthread ? null, libpthreadCross ? null # required for GNU/Hurd
21−, stripped ? true
21+, # Strip kills static libs of other archs (hence no cross)
22+ stripped ? hostPlatform == buildPlatform && targetPlatform == hostPlatform
22, gnused ? null
23, gnused ? null
23, cloog # unused; just for compat with gcc4, as we override the parameter on some places
24, cloog # unused; just for compat with gcc4, as we override the parameter on some places
24, darwin ? null
25, darwin ? null
@@ -260,11 +261,7 @@ stdenv.mkDerivation ({
260 dontDisableStatic = true;
261 dontDisableStatic = true;
261
262
262 # TODO(@Ericson2314): Always pass "--target" and always prefix.
263 # TODO(@Ericson2314): Always pass "--target" and always prefix.
263− configurePlatforms =
264− # TODO(@Ericson2314): Figure out what's going wrong with Arm
265− if buildPlatform == hostPlatform && hostPlatform == targetPlatform && targetPlatform.isAarch32
266− then []
267− else [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
264+ configurePlatforms = [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
268
265
269 configureFlags =
266 configureFlags =
270 # Basic dependencies
267 # Basic dependencies
@@ -327,20 +324,17 @@ stdenv.mkDerivation ({
327
324
328 targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null;
325 targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null;
329
326
330− buildFlags =
327+ buildFlags = optional
328+ (bootstrap && hostPlatform == buildPlatform)
331− optional bootstrap (if profiledCompiler then "profiledbootstrap" else "bootstrap");
329+ (if profiledCompiler then "profiledbootstrap" else "bootstrap");
330+
331+ dontStrip = !stripped;
332
332
333 installTargets =
333 installTargets =
334 if stripped
334 if stripped
335 then "install-strip"
335 then "install-strip"
336 else "install";
336 else "install";
337
337
338− /* For cross-built gcc (build != host == target) */
339− crossAttrs = {
340− dontStrip = true;
341− buildFlags = "";
342− };
343−
344 # http://gcc.gnu.org/install/specific.html#x86-64-x-solaris210
338 # http://gcc.gnu.org/install/specific.html#x86-64-x-solaris210
345 ${if hostPlatform.system == "x86_64-solaris" then "CC" else null} = "gcc -m64";
339 ${if hostPlatform.system == "x86_64-solaris" then "CC" else null} = "gcc -m64";
346
340
@@ -427,8 +421,5 @@ stdenv.mkDerivation ({
427 installTargets = "install-gcc install-target-libgcc";
421 installTargets = "install-gcc install-target-libgcc";
428}
422}
429
423
430−# Strip kills static libs of other archs (hence targetPlatform != hostPlatform)
431−// optionalAttrs (!stripped || targetPlatform != hostPlatform) { dontStrip = true; }
432−
433// optionalAttrs (enableMultilib) { dontMoveLib64 = true; }
424// optionalAttrs (enableMultilib) { dontMoveLib64 = true; }
434)
425)
pkgs/development/compilers/gcc/libstdc++-hook.sh+4−12
@@ -1,13 +1,5 @@
1−# The `hostOffset` describes how the host platform of the dependencies are slid
1+# See pkgs/build-support/setup-hooks/role.bash
2−# relative to the depending package. It is brought into scope of the setup hook
2+getHostRole
3−# defined as the role of the dependency whose hooks is being run.
4−case $hostOffset in
5− -1) local role='BUILD_' ;;
6− 0) local role='' ;;
7− 1) local role='TARGET_' ;;
8− *) echo "cc-wrapper: Error: Cannot be used with $hostOffset-offset deps" >2;
9− return 1 ;;
10−esac
11
3
12−export NIX_${role}CXXSTDLIB_COMPILE+=" -isystem $(echo -n @gcc@/include/c++/*) -isystem $(echo -n @gcc@/include/c++/*)/$(@gcc@/bin/gcc -dumpmachine)"
4+export NIX_${role_pre}CXXSTDLIB_COMPILE+=" -isystem $(echo -n @gcc@/include/c++/*) -isystem $(echo -n @gcc@/include/c++/*)/$(@gcc@/bin/gcc -dumpmachine)"
13−export NIX_${role}CXXSTDLIB_LINK=" -stdlib=libstdc++"
5+export NIX_${role_pre}CXXSTDLIB_LINK=" -stdlib=libstdc++"
pkgs/development/compilers/gcc/snapshot/default.nix+12−84
@@ -2,30 +2,24 @@
2, langC ? true, langCC ? true, langFortran ? false
2, langC ? true, langCC ? true, langFortran ? false
3, langObjC ? targetPlatform.isDarwin
3, langObjC ? targetPlatform.isDarwin
4, langObjCpp ? targetPlatform.isDarwin
4, langObjCpp ? targetPlatform.isDarwin
5−, langJava ? false
6, langGo ? false
5, langGo ? false
7, profiledCompiler ? false
6, profiledCompiler ? false
8, staticCompiler ? false
7, staticCompiler ? false
9, enableShared ? true
8, enableShared ? true
10, texinfo ? null
9, texinfo ? null
11−, perl ? null # optional, for texi2pod (then pod2man); required for Java
10+, perl ? null # optional, for texi2pod (then pod2man)
12, gmp, mpfr, libmpc, gettext, which
11, gmp, mpfr, libmpc, gettext, which
13, libelf # optional, for link-time optimizations (LTO)
12, libelf # optional, for link-time optimizations (LTO)
14, isl ? null # optional, for the Graphite optimization framework.
13, isl ? null # optional, for the Graphite optimization framework.
15−, zlib ? null, boehmgc ? null
14+, zlib ? null
16−, zip ? null, unzip ? null, pkgconfig ? null
17−, gtk2 ? null, libart_lgpl ? null
18−, libX11 ? null, libXt ? null, libSM ? null, libICE ? null, libXtst ? null
19−, libXrender ? null, xproto ? null, renderproto ? null, xextproto ? null
20−, libXrandr ? null, libXi ? null, inputproto ? null, randrproto ? null
21−, x11Support ? langJava
22, enableMultilib ? false
15, enableMultilib ? false
23, enablePlugin ? hostPlatform == buildPlatform # Whether to support user-supplied plug-ins
16, enablePlugin ? hostPlatform == buildPlatform # Whether to support user-supplied plug-ins
24, name ? "gcc"
17, name ? "gcc"
25, libcCross ? null
18, libcCross ? null
26, crossStageStatic ? false
19, crossStageStatic ? false
27, libpthread ? null, libpthreadCross ? null # required for GNU/Hurd
20, libpthread ? null, libpthreadCross ? null # required for GNU/Hurd
28−, stripped ? true
21+, # Strip kills static libs of other archs (hence no cross)
22+ stripped ? hostPlatform == buildPlatform && targetPlatform == hostPlatform
29, gnused ? null
23, gnused ? null
30, cloog # unused; just for compat with gcc4, as we override the parameter on some places
24, cloog # unused; just for compat with gcc4, as we override the parameter on some places
31, darwin ? null
25, darwin ? null
@@ -34,10 +28,6 @@
34, buildPackages
28, buildPackages
35}:
29}:
36
30
37−assert langJava -> zip != null && unzip != null
38− && zlib != null && boehmgc != null
39− && perl != null; # for `--enable-java-home'
40−
41# LTO needs libelf and zlib.
31# LTO needs libelf and zlib.
42assert libelf != null -> zlib != null;
32assert libelf != null -> zlib != null;
43
33
@@ -63,29 +53,6 @@ let version = "7-20170409";
63 ++ optional noSysDirs ../no-sys-dirs.patch
53 ++ optional noSysDirs ../no-sys-dirs.patch
64 ++ optional langFortran ../gfortran-driving.patch;
54 ++ optional langFortran ../gfortran-driving.patch;
65
55
66− javaEcj = fetchurl {
67− # The `$(top_srcdir)/ecj.jar' file is automatically picked up at
68− # `configure' time.
69−
70− # XXX: Eventually we might want to take it from upstream.
71− url = "ftp://sourceware.org/pub/java/ecj-4.3.jar";
72− sha256 = "0jz7hvc0s6iydmhgh5h2m15yza7p2rlss2vkif30vm9y77m97qcx";
73− };
74−
75− # Antlr (optional) allows the Java `gjdoc' tool to be built. We want a
76− # binary distribution here to allow the whole chain to be bootstrapped.
77− javaAntlr = fetchurl {
78− url = http://www.antlr.org/download/antlr-4.4-complete.jar;
79− sha256 = "02lda2imivsvsis8rnzmbrbp8rh1kb8vmq4i67pqhkwz7lf8y6dz";
80− };
81−
82− xlibs = [
83− libX11 libXt libSM libICE libXtst libXrender libXrandr libXi
84− xproto renderproto xextproto inputproto randrproto
85− ];
86−
87− javaAwtGtk = langJava && x11Support;
88−
89 /* Cross-gcc settings (build == host != target) */
56 /* Cross-gcc settings (build == host != target) */
90 crossMingw = targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt";
57 crossMingw = targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt";
91 crossDarwin = targetPlatform != hostPlatform && targetPlatform.libc == "libSystem";
58 crossDarwin = targetPlatform != hostPlatform && targetPlatform.libc == "libSystem";
@@ -150,9 +117,6 @@ let version = "7-20170409";
150
117
151in
118in
152
119
153−# We need all these X libraries when building AWT with GTK+.
154−assert x11Support -> (filter (x: x == null) ([ gtk2 libart_lgpl ] ++ xlibs)) == [];
155−
156stdenv.mkDerivation ({
120stdenv.mkDerivation ({
157 name = "${name}${if stripped then "" else "-debug"}-${version}" + crossNameAddon;
121 name = "${name}${if stripped then "" else "-debug"}-${version}" + crossNameAddon;
158
122
@@ -225,13 +189,12 @@ stdenv.mkDerivation ({
225
189
226 # TODO(@Ericson2314): Make passthru instead. Weird to avoid mass rebuild,
190 # TODO(@Ericson2314): Make passthru instead. Weird to avoid mass rebuild,
227 crossStageStatic = targetPlatform == hostPlatform || crossStageStatic;
191 crossStageStatic = targetPlatform == hostPlatform || crossStageStatic;
228− inherit noSysDirs staticCompiler langJava
192+ inherit noSysDirs staticCompiler
229 libcCross crossMingw;
193 libcCross crossMingw;
230
194
231 depsBuildBuild = [ buildPackages.stdenv.cc ];
195 depsBuildBuild = [ buildPackages.stdenv.cc ];
232 nativeBuildInputs = [ texinfo which gettext ]
196 nativeBuildInputs = [ texinfo which gettext ]
233− ++ (optional (perl != null) perl)
197+ ++ (optional (perl != null) perl);
234− ++ (optional javaAwtGtk pkgconfig);
235
198
236 # For building runtime libs
199 # For building runtime libs
237 depsBuildTarget =
200 depsBuildTarget =
@@ -246,8 +209,6 @@ stdenv.mkDerivation ({
246 targetPackages.stdenv.cc.bintools # For linking code at run-time
209 targetPackages.stdenv.cc.bintools # For linking code at run-time
247 ] ++ (optional (isl != null) isl)
210 ] ++ (optional (isl != null) isl)
248 ++ (optional (zlib != null) zlib)
211 ++ (optional (zlib != null) zlib)
249− ++ (optionals langJava [ boehmgc zip unzip ])
250− ++ (optionals javaAwtGtk ([ gtk2 libart_lgpl ] ++ xlibs))
251 ++ (optionals (targetPlatform != hostPlatform) [targetPackages.stdenv.cc.bintools])
212 ++ (optionals (targetPlatform != hostPlatform) [targetPackages.stdenv.cc.bintools])
252
213
253 # The builder relies on GNU sed (for instance, Darwin's `sed' fails with
214 # The builder relies on GNU sed (for instance, Darwin's `sed' fails with
@@ -268,11 +229,7 @@ stdenv.mkDerivation ({
268 dontDisableStatic = true;
229 dontDisableStatic = true;
269
230
270 # TODO(@Ericson2314): Always pass "--target" and always prefix.
231 # TODO(@Ericson2314): Always pass "--target" and always prefix.
271− configurePlatforms =
272− # TODO(@Ericson2314): Figure out what's going wrong with Arm
273− if buildPlatform == hostPlatform && hostPlatform == targetPlatform && targetPlatform.isAarch32
274− then []
275− else [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
232+ configurePlatforms = [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
276
233
277 configureFlags =
234 configureFlags =
278 # Basic dependencies
235 # Basic dependencies
@@ -299,7 +256,6 @@ stdenv.mkDerivation ({
299 ( optional langC "c"
256 ( optional langC "c"
300 ++ optional langCC "c++"
257 ++ optional langCC "c++"
301 ++ optional langFortran "fortran"
258 ++ optional langFortran "fortran"
302− ++ optional langJava "java"
303 ++ optional langGo "go"
259 ++ optional langGo "go"
304 ++ optional langObjC "objc"
260 ++ optional langObjC "objc"
305 ++ optional langObjCpp "obj-c++"
261 ++ optional langObjCpp "obj-c++"
@@ -320,17 +276,6 @@ stdenv.mkDerivation ({
320 # Optional features
276 # Optional features
321 optional (isl != null) "--with-isl=${isl}" ++
277 optional (isl != null) "--with-isl=${isl}" ++
322
278
323− # Java options
324− optionals langJava [
325− "--with-ecj-jar=${javaEcj}"
326−
327− # Follow Sun's layout for the convenience of IcedTea/OpenJDK. See
328− # <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2010-April/008888.html>.
329− "--enable-java-home"
330− "--with-java-home=\${prefix}/lib/jvm/jre"
331− ] ++
332− optional javaAwtGtk "--enable-java-awt=gtk" ++
333− optional (langJava && javaAntlr != null) "--with-antlr-jar=${javaAntlr}" ++
334
279
335 (import ../common/platform-flags.nix { inherit (stdenv) lib targetPlatform; }) ++
280 (import ../common/platform-flags.nix { inherit (stdenv) lib targetPlatform; }) ++
336 optional (targetPlatform != hostPlatform) crossConfigureFlags ++
281 optional (targetPlatform != hostPlatform) crossConfigureFlags ++
@@ -351,28 +296,20 @@ stdenv.mkDerivation ({
351 (if profiledCompiler then "profiledbootstrap" else "bootstrap")
296 (if profiledCompiler then "profiledbootstrap" else "bootstrap")
352 else "";
297 else "";
353
298
299+ dontStrip = !stripped;
300+ NIX_STRIP_DEBUG = !stripped;
301+
354 installTargets =
302 installTargets =
355 if stripped
303 if stripped
356 then "install-strip"
304 then "install-strip"
357 else "install";
305 else "install";
358
306
359− /* For cross-built gcc (build != host == target) */
360− crossAttrs = {
361− dontStrip = true;
362− buildFlags = "";
363− };
364−
365 # http://gcc.gnu.org/install/specific.html#x86-64-x-solaris210
307 # http://gcc.gnu.org/install/specific.html#x86-64-x-solaris210
366 ${if hostPlatform.system == "x86_64-solaris" then "CC" else null} = "gcc -m64";
308 ${if hostPlatform.system == "x86_64-solaris" then "CC" else null} = "gcc -m64";
367
309
368 # Setting $CPATH and $LIBRARY_PATH to make sure both `gcc' and `xgcc' find the
310 # Setting $CPATH and $LIBRARY_PATH to make sure both `gcc' and `xgcc' find the
369 # library headers and binaries, regarless of the language being compiled.
311 # library headers and binaries, regarless of the language being compiled.
370 #
312 #
371− # Note: When building the Java AWT GTK+ peer, the build system doesn't honor
372− # `--with-gmp' et al., e.g., when building
373− # `libjava/classpath/native/jni/java-math/gnu_java_math_GMP.c', so we just add
374− # them to $CPATH and $LIBRARY_PATH in this case.
375− #
376 # Likewise, the LTO code doesn't find zlib.
313 # Likewise, the LTO code doesn't find zlib.
377 #
314 #
378 # Cross-compiling, we need gcc not to read ./specs in order to build the g++
315 # Cross-compiling, we need gcc not to read ./specs in order to build the g++
@@ -381,9 +318,6 @@ stdenv.mkDerivation ({
381
318
382 CPATH = optionals (targetPlatform == hostPlatform) (makeSearchPathOutput "dev" "include" ([]
319 CPATH = optionals (targetPlatform == hostPlatform) (makeSearchPathOutput "dev" "include" ([]
383 ++ optional (zlib != null) zlib
320 ++ optional (zlib != null) zlib
384− ++ optional langJava boehmgc
385− ++ optionals javaAwtGtk xlibs
386− ++ optionals javaAwtGtk [ gmp mpfr ]
387 ++ optional (libpthread != null) libpthread
321 ++ optional (libpthread != null) libpthread
388 ++ optional (libpthreadCross != null) libpthreadCross
322 ++ optional (libpthreadCross != null) libpthreadCross
389
323
@@ -395,9 +329,6 @@ stdenv.mkDerivation ({
395
329
396 LIBRARY_PATH = optionals (targetPlatform == hostPlatform) (makeLibraryPath ([]
330 LIBRARY_PATH = optionals (targetPlatform == hostPlatform) (makeLibraryPath ([]
397 ++ optional (zlib != null) zlib
331 ++ optional (zlib != null) zlib
398− ++ optional langJava boehmgc
399− ++ optionals javaAwtGtk xlibs
400− ++ optionals javaAwtGtk [ gmp mpfr ]
401 ++ optional (libpthread != null) libpthread)
332 ++ optional (libpthread != null) libpthread)
402 );
333 );
403
334
@@ -438,8 +369,8 @@ stdenv.mkDerivation ({
438
369
439 longDescription = ''
370 longDescription = ''
440 The GNU Compiler Collection includes compiler front ends for C, C++,
371 The GNU Compiler Collection includes compiler front ends for C, C++,
441− Objective-C, Fortran, OpenMP for C/C++/Fortran, Java, and Ada, as well
372+ Objective-C, Fortran, OpenMP for C/C++/Fortran, and Ada, as well as
442− as libraries for these languages (libstdc++, libgcj, libgomp,...).
373+ libraries for these languages (libstdc++, libgomp,...).
443
374
444 GCC development is a part of the GNU Project, aiming to improve the
375 GCC development is a part of the GNU Project, aiming to improve the
445 compiler used in the GNU system including the GNU/Linux variant.
376 compiler used in the GNU system including the GNU/Linux variant.
@@ -461,8 +392,5 @@ stdenv.mkDerivation ({
461 installTargets = "install-gcc install-target-libgcc";
392 installTargets = "install-gcc install-target-libgcc";
462}
393}
463
394
464−# Strip kills static libs of other archs (hence targetPlatform != hostPlatform)
465−// optionalAttrs (!stripped || targetPlatform != hostPlatform) { dontStrip = true; NIX_STRIP_DEBUG = 0; }
466−
467// optionalAttrs (enableMultilib) { dontMoveLib64 = true; }
395// optionalAttrs (enableMultilib) { dontMoveLib64 = true; }
468)
396)
pkgs/development/compilers/ghc/7.10.3.nix+2−4
@@ -129,10 +129,8 @@ stdenv.mkDerivation rec {
129 "--disable-large-address-space"
129 "--disable-large-address-space"
130 ];
130 ];
131
131
132− # Hack to make sure we never to the relaxation `$PATH` and hooks support for
132+ # Make sure we never relax`$PATH` and hooks support for compatability.
133− # compatability. This will be replaced with something clearer in a future
133+ strictDeps = true;
134− # masss-rebuild.
135− crossConfig = true;
136
134
137 nativeBuildInputs = [
135 nativeBuildInputs = [
138 ghc perl libxml2 libxslt docbook_xsl docbook_xml_dtd_45 docbook_xml_dtd_42 hscolour
136 ghc perl libxml2 libxslt docbook_xsl docbook_xml_dtd_45 docbook_xml_dtd_42 hscolour
pkgs/development/compilers/ghc/8.0.2.nix+2−4
@@ -129,10 +129,8 @@ stdenv.mkDerivation rec {
129 "--disable-large-address-space"
129 "--disable-large-address-space"
130 ];
130 ];
131
131
132− # Hack to make sure we never to the relaxation `$PATH` and hooks support for
132+ # Make sure we never relax`$PATH` and hooks support for compatability.
133− # compatability. This will be replaced with something clearer in a future
133+ strictDeps = true;
134− # masss-rebuild.
135− crossConfig = true;
136
134
137 nativeBuildInputs = [ ghc perl hscolour sphinx ];
135 nativeBuildInputs = [ ghc perl hscolour sphinx ];
138
136
pkgs/development/compilers/ghc/8.2.2.nix+5−4
@@ -148,10 +148,8 @@ stdenv.mkDerivation rec {
148 "--disable-large-address-space"
148 "--disable-large-address-space"
149 ];
149 ];
150
150
151− # Hack to make sure we never to the relaxation `$PATH` and hooks support for
151+ # Make sure we never relax`$PATH` and hooks support for compatability.
152− # compatability. This will be replaced with something clearer in a future
152+ strictDeps = true;
153− # masss-rebuild.
154− crossConfig = true;
155
153
156 nativeBuildInputs = [ alex autoconf autoreconfHook automake ghc happy hscolour perl python3 sphinx ];
154 nativeBuildInputs = [ alex autoconf autoreconfHook automake ghc happy hscolour perl python3 sphinx ];
157
155
@@ -171,6 +169,9 @@ stdenv.mkDerivation rec {
171 stripDebugFlags = [ "-S" ] ++ stdenv.lib.optional (!targetPlatform.isDarwin) "--keep-file-symbols";
169 stripDebugFlags = [ "-S" ] ++ stdenv.lib.optional (!targetPlatform.isDarwin) "--keep-file-symbols";
172
170
173 checkTarget = "test";
171 checkTarget = "test";
172+ doCheck = false; # fails with "testsuite/tests: No such file or directory. Stop."
173+
174+ hardeningDisable = [ "format" ];
174
175
175 # zsh and other shells are smart about `{ghc}` but bash isn't, and doesn't
176 # zsh and other shells are smart about `{ghc}` but bash isn't, and doesn't
176 # treat that as a unary `{x,y,z,..}` repetition.
177 # treat that as a unary `{x,y,z,..}` repetition.
pkgs/development/compilers/ghc/8.4.2.nix+2−4
@@ -139,10 +139,8 @@ stdenv.mkDerivation rec {
139 "--disable-large-address-space"
139 "--disable-large-address-space"
140 ];
140 ];
141
141
142− # Hack to make sure we never to the relaxation `$PATH` and hooks support for
142+ # Make sure we never relax`$PATH` and hooks support for compatability.
143− # compatability. This will be replaced with something clearer in a future
143+ strictDeps = true;
144− # masss-rebuild.
145− crossConfig = true;
146
144
147 nativeBuildInputs = [ ghc perl autoconf automake m4 happy alex python3 ];
145 nativeBuildInputs = [ ghc perl autoconf automake m4 happy alex python3 ];
148
146
pkgs/development/compilers/ghc/head.nix+2−4
@@ -136,10 +136,8 @@ stdenv.mkDerivation rec {
136 "--disable-large-address-space"
136 "--disable-large-address-space"
137 ];
137 ];
138
138
139− # Hack to make sure we never to the relaxation `$PATH` and hooks support for
139+ # Make sure we never relax`$PATH` and hooks support for compatability.
140− # compatability. This will be replaced with something clearer in a future
140+ strictDeps = true;
141− # masss-rebuild.
142− crossConfig = true;
143
141
144 nativeBuildInputs = [ ghc perl autoconf automake happy alex python3 ];
142 nativeBuildInputs = [ ghc perl autoconf automake happy alex python3 ];
145
143
pkgs/development/compilers/go/1.10.nix+2−2
@@ -25,13 +25,13 @@ in
25
25
26stdenv.mkDerivation rec {
26stdenv.mkDerivation rec {
27 name = "go-${version}";
27 name = "go-${version}";
28− version = "1.10.1";
28+ version = "1.10.2";
29
29
30 src = fetchFromGitHub {
30 src = fetchFromGitHub {
31 owner = "golang";
31 owner = "golang";
32 repo = "go";
32 repo = "go";
33 rev = "go${version}";
33 rev = "go${version}";
34− sha256 = "1wqwy52ibb343a4v7b9q26xa6r5jk4khfxd90wbpcayws8cxly8m";
34+ sha256 = "1lbxnlj5l9i8k1dg33dh8ndx9vspk9dkpcbg06jbbswy6kadmx6f";
35 };
35 };
36
36
37 # perl is used for testing go vet
37 # perl is used for testing go vet
pkgs/development/compilers/llvm/3.5/libc++/default.nix+4−1
@@ -39,7 +39,10 @@ stdenv.mkDerivation rec {
39
39
40 linkCxxAbi = stdenv.isLinux;
40 linkCxxAbi = stdenv.isLinux;
41
41
42+ setupHooks = [
43+ ../../../../../build-support/setup-hooks/role.bash
42− setupHook = ./setup-hook.sh;
44+ ./setup-hook.sh
45+ ];
43
46
44 meta = {
47 meta = {
45 homepage = http://libcxx.llvm.org/;
48 homepage = http://libcxx.llvm.org/;
pkgs/development/compilers/llvm/3.5/libc++/setup-hook.sh+4−12
@@ -1,14 +1,6 @@
1−# The `hostOffset` describes how the host platform of the dependencies are slid
1+# See pkgs/build-support/setup-hooks/role.bash
2−# relative to the depending package. It is brought into scope of the setup hook
2+getHostRole
3−# defined as the role of the dependency whose hooks is being run.
4−case $hostOffset in
5− -1) local role='BUILD_' ;;
6− 0) local role='' ;;
7− 1) local role='TARGET_' ;;
8− *) echo "cc-wrapper: Error: Cannot be used with $hostOffset-offset deps" >2;
9− return 1 ;;
10−esac
11
3
12linkCxxAbi="@linkCxxAbi@"
4linkCxxAbi="@linkCxxAbi@"
13−export NIX_${role}CXXSTDLIB_COMPILE+=" -isystem @out@/include/c++/v1"
5+export NIX_${role_pre}CXXSTDLIB_COMPILE+=" -isystem @out@/include/c++/v1"
14−export NIX_${role}CXXSTDLIB_LINK=" -stdlib=libc++${linkCxxAbi:+" -lc++abi"}"
6+export NIX_${role_pre}CXXSTDLIB_LINK=" -stdlib=libc++${linkCxxAbi:+" -lc++abi"}"
pkgs/development/compilers/llvm/3.7/libc++/default.nix+4−1
@@ -33,7 +33,10 @@ stdenv.mkDerivation rec {
33
33
34 linkCxxAbi = stdenv.isLinux;
34 linkCxxAbi = stdenv.isLinux;
35
35
36+ setupHooks = [
37+ ../../../../../build-support/setup-hooks/role.bash
36− setupHook = ./setup-hook.sh;
38+ ./setup-hook.sh
39+ ];
37
40
38 meta = {
41 meta = {
39 homepage = http://libcxx.llvm.org/;
42 homepage = http://libcxx.llvm.org/;
pkgs/development/compilers/llvm/3.7/libc++/setup-hook.sh+4−12
@@ -1,14 +1,6 @@
1−# The `hostOffset` describes how the host platform of the dependencies are slid
1+# See pkgs/build-support/setup-hooks/role.bash
2−# relative to the depending package. It is brought into scope of the setup hook
2+getHostRole
3−# defined as the role of the dependency whose hooks is being run.
4−case $hostOffset in
5− -1) local role='BUILD_' ;;
6− 0) local role='' ;;
7− 1) local role='TARGET_' ;;
8− *) echo "cc-wrapper: Error: Cannot be used with $hostOffset-offset deps" >2;
9− return 1 ;;
10−esac
11
3
12linkCxxAbi="@linkCxxAbi@"
4linkCxxAbi="@linkCxxAbi@"
13−export NIX_${role}CXXSTDLIB_COMPILE+=" -isystem @out@/include/c++/v1"
5+export NIX_${role_pre}CXXSTDLIB_COMPILE+=" -isystem @out@/include/c++/v1"
14−export NIX_${role}CXXSTDLIB_LINK=" -stdlib=libc++${linkCxxAbi:+" -lc++abi"}"
6+export NIX_${role_pre}CXXSTDLIB_LINK=" -stdlib=libc++${linkCxxAbi:+" -lc++abi"}"
pkgs/development/compilers/llvm/3.8/libc++/default.nix+4−1
@@ -31,7 +31,10 @@ stdenv.mkDerivation rec {
31
31
32 linkCxxAbi = stdenv.isLinux;
32 linkCxxAbi = stdenv.isLinux;
33
33
34+ setupHooks = [
35+ ../../../../../build-support/setup-hooks/role.bash
34− setupHook = ./setup-hook.sh;
36+ ./setup-hook.sh
37+ ];
35
38
36 meta = {
39 meta = {
37 homepage = http://libcxx.llvm.org/;
40 homepage = http://libcxx.llvm.org/;
pkgs/development/compilers/llvm/3.8/libc++/setup-hook.sh+4−12
@@ -1,14 +1,6 @@
1−# The `hostOffset` describes how the host platform of the dependencies
1+# See pkgs/build-support/setup-hooks/role.bash
2−# relative to the depending package. It is brought into scope of the setup hook
2+getHostRole
3−# defined as the role of the dependency whose hooks is being run.
4−case $hostOffset in
5− -1) local role='BUILD_' ;;
6− 0) local role='' ;;
7− 1) local role='TARGET_' ;;
8− *) echo "cc-wrapper: Error: Cannot be used with $hostOffset-offset deps" >2;
9− return 1 ;;
10−esac
11
3
12linkCxxAbi="@linkCxxAbi@"
4linkCxxAbi="@linkCxxAbi@"
13−export NIX_${role}CXXSTDLIB_COMPILE+=" -isystem @out@/include/c++/v1"
5+export NIX_${role_pre}CXXSTDLIB_COMPILE+=" -isystem @out@/include/c++/v1"
14−export NIX_${role}CXXSTDLIB_LINK=" -stdlib=libc++${linkCxxAbi:+" -lc++abi"}"
6+export NIX_${role_pre}CXXSTDLIB_LINK=" -stdlib=libc++${linkCxxAbi:+" -lc++abi"}"
pkgs/development/compilers/llvm/3.9/libc++/default.nix+4−1
@@ -31,7 +31,10 @@ stdenv.mkDerivation rec {
31
31
32 linkCxxAbi = stdenv.isLinux;
32 linkCxxAbi = stdenv.isLinux;
33
33
34+ setupHooks = [
35+ ../../../../../build-support/setup-hooks/role.bash
34− setupHook = ./setup-hook.sh;
36+ ./setup-hook.sh
37+ ];
35
38
36 meta = {
39 meta = {
37 homepage = http://libcxx.llvm.org/;
40 homepage = http://libcxx.llvm.org/;
pkgs/development/compilers/llvm/3.9/libc++/setup-hook.sh+4−12
@@ -1,14 +1,6 @@
1−# The `hostOffset` describes how the host platform of the dependencies
1+# See pkgs/build-support/setup-hooks/role.bash
2−# relative to the depending package. It is brought into scope of the setup hook
2+getHostRole
3−# defined as the role of the dependency whose hooks is being run.
4−case $hostOffset in
5− -1) local role='BUILD_' ;;
6− 0) local role='' ;;
7− 1) local role='TARGET_' ;;
8− *) echo "cc-wrapper: Error: Cannot be used with $hostOffset-offset deps" >2;
9− return 1 ;;
10−esac
11
3
12linkCxxAbi="@linkCxxAbi@"
4linkCxxAbi="@linkCxxAbi@"
13−export NIX_${role}CXXSTDLIB_COMPILE+=" -isystem @out@/include/c++/v1"
5+export NIX_${role_pre}CXXSTDLIB_COMPILE+=" -isystem @out@/include/c++/v1"
14−export NIX_${role}CXXSTDLIB_LINK=" -stdlib=libc++${linkCxxAbi:+" -lc++abi"}"
6+export NIX_${role_pre}CXXSTDLIB_LINK=" -stdlib=libc++${linkCxxAbi:+" -lc++abi"}"
pkgs/development/compilers/llvm/4/libc++/default.nix+4−1
@@ -44,7 +44,10 @@ stdenv.mkDerivation rec {
44
44
45 linkCxxAbi = stdenv.isLinux;
45 linkCxxAbi = stdenv.isLinux;
46
46
47+ setupHooks = [
48+ ../../../../../build-support/setup-hooks/role.bash
47− setupHook = ./setup-hook.sh;
49+ ./setup-hook.sh
50+ ];
48
51
49 meta = {
52 meta = {
50 homepage = http://libcxx.llvm.org/;
53 homepage = http://libcxx.llvm.org/;
pkgs/development/compilers/llvm/4/libc++/setup-hook.sh+4−12
@@ -1,14 +1,6 @@
1−# The `hostOffset` describes how the host platform of the dependencies
1+# See pkgs/build-support/setup-hooks/role.bash
2−# relative to the depending package. It is brought into scope of the setup hook
2+getHostRole
3−# defined as the role of the dependency whose hooks is being run.
4−case $hostOffset in
5− -1) local role='BUILD_' ;;
6− 0) local role='' ;;
7− 1) local role='TARGET_' ;;
8− *) echo "cc-wrapper: Error: Cannot be used with $hostOffset-offset deps" >2;
9− return 1 ;;
10−esac
11
3
12linkCxxAbi="@linkCxxAbi@"
4linkCxxAbi="@linkCxxAbi@"
13−export NIX_${role}CXXSTDLIB_COMPILE+=" -isystem @out@/include/c++/v1"
5+export NIX_${role_pre}CXXSTDLIB_COMPILE+=" -isystem @out@/include/c++/v1"
14−export NIX_${role}CXXSTDLIB_LINK=" -stdlib=libc++${linkCxxAbi:+" -lc++abi"}"
6+export NIX_${role_pre}CXXSTDLIB_LINK=" -stdlib=libc++${linkCxxAbi:+" -lc++abi"}"
pkgs/development/compilers/llvm/5/clang/default.nix+6−4
@@ -9,7 +9,7 @@ let
9 name = "clang-${version}";
9 name = "clang-${version}";
10
10
11 unpackPhase = ''
11 unpackPhase = ''
12− unpackFile ${fetch "cfe" "1zyh4dggxd55lnfg73c8fybnkssqcaa6bq2h4bzimnnj1jdnqpqk"}
12+ unpackFile ${fetch "cfe" "0018520c4qxf5hgjdqgpz2dgl3faf4gsz87fdlb8zdmx99rfk77s"}
13 mv cfe-${version}* clang
13 mv cfe-${version}* clang
14 sourceRoot=$PWD/clang
14 sourceRoot=$PWD/clang
15 unpackFile ${clang-tools-extra_src}
15 unpackFile ${clang-tools-extra_src}
@@ -50,10 +50,12 @@ let
50
50
51 outputs = [ "out" "lib" "python" ];
51 outputs = [ "out" "lib" "python" ];
52
52
53− # Clang expects to find LLVMgold in its own prefix
54− # Clang expects to find sanitizer libraries in its own prefix
55 postInstall = ''
53 postInstall = ''
54+ # Clang expects to find LLVMgold in its own prefix
55+ if [ -e ${llvm}/lib/LLVMgold.so ]; then
56− ln -sv ${llvm}/lib/LLVMgold.so $out/lib
56+ ln -sv ${llvm}/lib/LLVMgold.so $out/lib
57+ fi
58+ # Clang expects to find sanitizer libraries in its own prefix
57 ln -sv ${llvm}/lib/clang/${release_version}/lib $out/lib/clang/${release_version}/
59 ln -sv ${llvm}/lib/clang/${release_version}/lib $out/lib/clang/${release_version}/
58 ln -sv $out/bin/clang $out/bin/cpp
60 ln -sv $out/bin/clang $out/bin/cpp
59
61
pkgs/development/compilers/llvm/5/default.nix+3−3
@@ -6,7 +6,7 @@
6}:
6}:
7
7
8let
8let
9− release_version = "5.0.1";
9+ release_version = "5.0.2";
10 version = release_version; # differentiating these is important for rc's
10 version = release_version; # differentiating these is important for rc's
11
11
12 fetch = name: sha256: fetchurl {
12 fetch = name: sha256: fetchurl {
@@ -14,8 +14,8 @@ let
14 inherit sha256;
14 inherit sha256;
15 };
15 };
16
16
17− compiler-rt_src = fetch "compiler-rt" "1nlmm0b3wpdwxkldqp1klzv3rpqf94q2a248xgqb7aapyhbi9paf";
17+ compiler-rt_src = fetch "compiler-rt" "0ipd4jdxpczgr2w6lzrabymz6dhzj69ywmyybjjc1q397zgrvziy";
18− clang-tools-extra_src = fetch "clang-tools-extra" "09fjii7w43kvxvsxxs6gig9vz95vnvx1779rqd36h8kksvws3bcs";
18+ clang-tools-extra_src = fetch "clang-tools-extra" "018b3fiwah8f8br5i26qmzh6sjvzchpn358sn8v079m49f2jldm3";
19
19
20 # Add man output without introducing extra dependencies.
20 # Add man output without introducing extra dependencies.
21 overrideManOutput = drv:
21 overrideManOutput = drv:
pkgs/development/compilers/llvm/5/libc++/default.nix+5−2
@@ -3,7 +3,7 @@
3stdenv.mkDerivation rec {
3stdenv.mkDerivation rec {
4 name = "libc++-${version}";
4 name = "libc++-${version}";
5
5
6− src = fetch "libcxx" "003wwniwlikgh38cbqbcshc5gkiv3a2jkmbn6am9s46y5gfrk3zs";
6+ src = fetch "libcxx" "1672aaf95fgy4xsfra8pw24f6r93zwzpan1033hkcm8p2glqipvf";
7
7
8 postUnpack = ''
8 postUnpack = ''
9 unpackFile ${libcxxabi.src}
9 unpackFile ${libcxxabi.src}
@@ -40,7 +40,10 @@ stdenv.mkDerivation rec {
40
40
41 linkCxxAbi = stdenv.isLinux;
41 linkCxxAbi = stdenv.isLinux;
42
42
43+ setupHooks = [
44+ ../../../../../build-support/setup-hooks/role.bash
43− setupHook = ./setup-hook.sh;
45+ ./setup-hook.sh
46+ ];
44
47
45 meta = {
48 meta = {
46 homepage = http://libcxx.llvm.org/;
49 homepage = http://libcxx.llvm.org/;
pkgs/development/compilers/llvm/5/libc++/setup-hook.sh+4−12
@@ -1,14 +1,6 @@
1−# The `hostOffset` describes how the host platform of the dependencies
1+# See pkgs/build-support/setup-hooks/role.bash
2−# relative to the depending package. It is brought into scope of the setup hook
2+getHostRole
3−# defined as the role of the dependency whose hooks is being run.
4−case $hostOffset in
5− -1) local role='BUILD_' ;;
6− 0) local role='' ;;
7− 1) local role='TARGET_' ;;
8− *) echo "cc-wrapper: Error: Cannot be used with $hostOffset-offset deps" >2;
9− return 1 ;;
10−esac
11
3
12linkCxxAbi="@linkCxxAbi@"
4linkCxxAbi="@linkCxxAbi@"
13−export NIX_${role}CXXSTDLIB_COMPILE+=" -isystem @out@/include/c++/v1"
5+export NIX_${role_pre}CXXSTDLIB_COMPILE+=" -isystem @out@/include/c++/v1"
14−export NIX_${role}CXXSTDLIB_LINK=" -stdlib=libc++${linkCxxAbi:+" -lc++abi"}"
6+export NIX_${role_pre}CXXSTDLIB_LINK=" -stdlib=libc++${linkCxxAbi:+" -lc++abi"}"
pkgs/development/compilers/llvm/5/libc++abi.nix+1−1
@@ -3,7 +3,7 @@
3stdenv.mkDerivation {
3stdenv.mkDerivation {
4 name = "libc++abi-${version}";
4 name = "libc++abi-${version}";
5
5
6− src = fetch "libcxxabi" "0m78yr4arlz2b9m96xcygk15m2pbz8i10snk78i3q7pjnwn1a9as";
6+ src = fetch "libcxxabi" "12lp799rskr4fc2xr64qn4jfkjnfd8b1aymvsxyn4k9ar7r9pgqv";
7
7
8 nativeBuildInputs = [ cmake ];
8 nativeBuildInputs = [ cmake ];
9 buildInputs = stdenv.lib.optional (!stdenv.isDarwin && !stdenv.isFreeBSD) libunwind;
9 buildInputs = stdenv.lib.optional (!stdenv.isDarwin && !stdenv.isFreeBSD) libunwind;
pkgs/development/compilers/llvm/5/lld.nix+1−1
@@ -10,7 +10,7 @@
10stdenv.mkDerivation {
10stdenv.mkDerivation {
11 name = "lld-${version}";
11 name = "lld-${version}";
12
12
13− src = fetch "lld" "15fq2zvkliyiw5qi7ig2r8bshgbz4kzvs5in16mhfkw20l06rcym";
13+ src = fetch "lld" "1ah75rjly6747jk1zbwca3z0svr9b09ylgxd4x9ns721xir6sia6";
14
14
15 nativeBuildInputs = [ cmake ];
15 nativeBuildInputs = [ cmake ];
16 buildInputs = [ llvm ];
16 buildInputs = [ llvm ];
pkgs/development/compilers/llvm/5/lldb.nix+1−1
@@ -17,7 +17,7 @@
17stdenv.mkDerivation {
17stdenv.mkDerivation {
18 name = "lldb-${version}";
18 name = "lldb-${version}";
19
19
20− src = fetch "lldb" "0sipv8k37ai44m7jcf6wsbm2q41dgk3sk9m3i6823jkmg7kckhdp";
20+ src = fetch "lldb" "05j2a63yzln43852nng8a7y47spzlyr1cvdmgmbxgd29c8r0bfkq";
21
21
22 postPatch = ''
22 postPatch = ''
23 # Fix up various paths that assume llvm and clang are installed in the same place
23 # Fix up various paths that assume llvm and clang are installed in the same place
pkgs/development/compilers/llvm/5/llvm.nix+1−1
@@ -20,7 +20,7 @@
20}:
20}:
21
21
22let
22let
23− src = fetch "llvm" "1c07i0b61j69m578lgjkyayg419sh7sn40xb3j112nr2q2gli9sz";
23+ src = fetch "llvm" "0g1bbj2n6xv4p1n6hh17vj3vpvg56wacipc81dgwga9mg2lys8nm";
24
24
25 # Used when creating a version-suffixed symlink of libLLVM.dylib
25 # Used when creating a version-suffixed symlink of libLLVM.dylib
26 shortVersion = with stdenv.lib;
26 shortVersion = with stdenv.lib;
pkgs/development/compilers/llvm/5/openmp.nix+1−1
@@ -10,7 +10,7 @@
10stdenv.mkDerivation {
10stdenv.mkDerivation {
11 name = "openmp-${version}";
11 name = "openmp-${version}";
12
12
13− src = fetch "openmp" "0lr6r87xzg87w1q9rrh04nqpyr8c929dh4qy3csjiy7rsb6kbdmd";
13+ src = fetch "openmp" "0p2n52676wlq6y9q99n5pivq6pvvda1p994r69fxj206ahn59jir";
14
14
15 nativeBuildInputs = [ cmake perl ];
15 nativeBuildInputs = [ cmake perl ];
16 buildInputs = [ llvm ];
16 buildInputs = [ llvm ];
pkgs/development/compilers/llvm/6/libc++/default.nix+4−1
@@ -40,7 +40,10 @@ stdenv.mkDerivation rec {
40
40
41 linkCxxAbi = stdenv.isLinux;
41 linkCxxAbi = stdenv.isLinux;
42
42
43+ setupHooks = [
44+ ../../../../../build-support/setup-hooks/role.bash
43− setupHook = ./setup-hook.sh;
45+ ./setup-hook.sh
46+ ];
44
47
45 meta = {
48 meta = {
46 homepage = http://libcxx.llvm.org/;
49 homepage = http://libcxx.llvm.org/;
pkgs/development/compilers/llvm/6/libc++/setup-hook.sh+4−12
@@ -1,14 +1,6 @@
1−# The `hostOffset` describes how the host platform of the dependencies
1+# See pkgs/build-support/setup-hooks/role.bash
2−# relative to the depending package. It is brought into scope of the setup hook
2+getHostRole
3−# defined as the role of the dependency whose hooks is being run.
4−case $hostOffset in
5− -1) local role='BUILD_' ;;
6− 0) local role='' ;;
7− 1) local role='TARGET_' ;;
8− *) echo "cc-wrapper: Error: Cannot be used with $hostOffset-offset deps" >2;
9− return 1 ;;
10−esac
11
3
12linkCxxAbi="@linkCxxAbi@"
4linkCxxAbi="@linkCxxAbi@"
13−export NIX_${role}CXXSTDLIB_COMPILE+=" -isystem @out@/include/c++/v1"
5+export NIX_${role_pre}CXXSTDLIB_COMPILE+=" -isystem @out@/include/c++/v1"
14−export NIX_${role}CXXSTDLIB_LINK=" -stdlib=libc++${linkCxxAbi:+" -lc++abi"}"
6+export NIX_${role_pre}CXXSTDLIB_LINK=" -stdlib=libc++${linkCxxAbi:+" -lc++abi"}"
pkgs/development/compilers/openjdk/8.nix+2
@@ -133,6 +133,8 @@ let
133
133
134 buildFlags = [ "all" ];
134 buildFlags = [ "all" ];
135
135
136+ doCheck = false; # fails with "No rule to make target 'y'."
137+
136 installPhase = ''
138 installPhase = ''
137 mkdir -p $out/lib/openjdk $out/share $jre/lib/openjdk
139 mkdir -p $out/lib/openjdk $out/share $jre/lib/openjdk
138
140
pkgs/development/haskell-modules/generic-builder.nix+2−1
@@ -314,6 +314,8 @@ stdenv.mkDerivation ({
314 runHook postBuild
314 runHook postBuild
315 '';
315 '';
316
316
317+ inherit doCheck;
318+
317 checkPhase = ''
319 checkPhase = ''
318 runHook preCheck
320 runHook preCheck
319 ${setupCommand} test ${testTarget}
321 ${setupCommand} test ${testTarget}
@@ -428,7 +430,6 @@ stdenv.mkDerivation ({
428// optionalAttrs (postConfigure != "") { inherit postConfigure; }
430// optionalAttrs (postConfigure != "") { inherit postConfigure; }
429// optionalAttrs (preBuild != "") { inherit preBuild; }
431// optionalAttrs (preBuild != "") { inherit preBuild; }
430// optionalAttrs (postBuild != "") { inherit postBuild; }
432// optionalAttrs (postBuild != "") { inherit postBuild; }
431−// optionalAttrs (doCheck) { inherit doCheck; }
432// optionalAttrs (doBenchmark) { inherit doBenchmark; }
433// optionalAttrs (doBenchmark) { inherit doBenchmark; }
433// optionalAttrs (checkPhase != "") { inherit checkPhase; }
434// optionalAttrs (checkPhase != "") { inherit checkPhase; }
434// optionalAttrs (preCheck != "") { inherit preCheck; }
435// optionalAttrs (preCheck != "") { inherit preCheck; }
pkgs/development/interpreters/dart/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, unzip, version }:
1+{ stdenv, fetchurl, unzip, version ? "1.24.3" }:
2
2
3let
3let
4
4
@@ -57,9 +57,9 @@ stdenv.mkDerivation {
57 '';
57 '';
58
58
59 libPath = stdenv.lib.makeLibraryPath [ stdenv.cc.cc ];
59 libPath = stdenv.lib.makeLibraryPath [ stdenv.cc.cc ];
60−
60+
61 dontStrip = true;
61 dontStrip = true;
62−
62+
63 meta = {
63 meta = {
64 platforms = [ "i686-linux" "x86_64-linux" ];
64 platforms = [ "i686-linux" "x86_64-linux" ];
65 homepage = https://www.dartlang.org/;
65 homepage = https://www.dartlang.org/;
pkgs/development/interpreters/guile/1.8.nix+6−10
@@ -16,7 +16,11 @@ stdenv.mkDerivation rec {
16 setOutputFlags = false; # $dev gets into the library otherwise
16 setOutputFlags = false; # $dev gets into the library otherwise
17
17
18 # GCC 4.6 raises a number of set-but-unused warnings.
18 # GCC 4.6 raises a number of set-but-unused warnings.
19− configureFlags = [ "--disable-error-on-warning" ];
19+ configureFlags = [ "--disable-error-on-warning" ]
20+ # Guile needs patching to preset results for the configure tests about
21+ # pthreads, which work only in native builds.
22+ ++ stdenv.lib.optional (stdenv.hostPlatform != stdenv.buildPlatform)
23+ "--with-threads=no";
20
24
21 depsBuildBuild = [ buildPackages.stdenv.cc ]
25 depsBuildBuild = [ buildPackages.stdenv.cc ]
22 ++ stdenv.lib.optional (hostPlatform != buildPlatform)
26 ++ stdenv.lib.optional (hostPlatform != buildPlatform)
@@ -34,17 +38,8 @@ stdenv.mkDerivation rec {
34 libtool
38 libtool
35 ];
39 ];
36
40
37−
38 patches = [ ./cpp-4.5.patch ];
41 patches = [ ./cpp-4.5.patch ];
39
42
40− # Guile needs patching to preset results for the configure tests
41− # about pthreads, which work only in native builds.
42− preConfigure = ''
43− if test -n "$crossConfig"; then
44− configureFlags="--with-threads=no $configureFlags"
45− fi
46− '';
47−
48 preBuild = ''
43 preBuild = ''
49 sed -e '/lt_dlinit/a lt_dladdsearchdir("'$out/lib'");' -i libguile/dynl.c
44 sed -e '/lt_dlinit/a lt_dladdsearchdir("'$out/lib'");' -i libguile/dynl.c
50 '';
45 '';
@@ -66,6 +61,7 @@ stdenv.mkDerivation rec {
66 # This is fixed here:
61 # This is fixed here:
67 # <http://git.savannah.gnu.org/cgit/guile.git/commit/?h=branch_release-1-8&id=a0aa1e5b69d6ef0311aeea8e4b9a94eae18a1aaf>.
62 # <http://git.savannah.gnu.org/cgit/guile.git/commit/?h=branch_release-1-8&id=a0aa1e5b69d6ef0311aeea8e4b9a94eae18a1aaf>.
68 doCheck = false;
63 doCheck = false;
64+ doInstallCheck = doCheck;
69
65
70 setupHook = ./setup-hook.sh;
66 setupHook = ./setup-hook.sh;
71
67
pkgs/development/interpreters/guile/2.0.nix+1
@@ -89,6 +89,7 @@
89 # make check doesn't work on darwin
89 # make check doesn't work on darwin
90 # On Linuxes+Hydra the tests are flaky; feel free to investigate deeper.
90 # On Linuxes+Hydra the tests are flaky; feel free to investigate deeper.
91 doCheck = false;
91 doCheck = false;
92+ doInstallCheck = doCheck;
92
93
93 setupHook = ./setup-hook-2.0.sh;
94 setupHook = ./setup-hook-2.0.sh;
94
95
pkgs/development/interpreters/guile/default.nix+1
@@ -85,6 +85,7 @@
85 # make check doesn't work on darwin
85 # make check doesn't work on darwin
86 # On Linuxes+Hydra the tests are flaky; feel free to investigate deeper.
86 # On Linuxes+Hydra the tests are flaky; feel free to investigate deeper.
87 doCheck = false;
87 doCheck = false;
88+ doInstallCheck = doCheck;
88
89
89 setupHook = ./setup-hook-2.2.sh;
90 setupHook = ./setup-hook-2.2.sh;
90
91
pkgs/development/interpreters/perl/default.nix+2
@@ -105,6 +105,8 @@ let
105
105
106 passthru.libPrefix = "lib/perl5/site_perl";
106 passthru.libPrefix = "lib/perl5/site_perl";
107
107
108+ doCheck = false; # some tests fail, expensive
109+
108 # TODO: it seems like absolute paths to some coreutils is required.
110 # TODO: it seems like absolute paths to some coreutils is required.
109 postInstall =
111 postInstall =
110 ''
112 ''
pkgs/development/interpreters/python/build-python-package.nix+2−1
@@ -2,6 +2,7 @@
2# and can build packages that use distutils, setuptools or flit.
2# and can build packages that use distutils, setuptools or flit.
3
3
4{ lib
4{ lib
5+, config
5, python
6, python
6, wrapPython
7, wrapPython
7, setuptools
8, setuptools
@@ -19,7 +20,7 @@ let
19 wheel-specific = import ./build-python-package-wheel.nix { };
20 wheel-specific = import ./build-python-package-wheel.nix { };
20 common = import ./build-python-package-common.nix { inherit python bootstrapped-pip; };
21 common = import ./build-python-package-common.nix { inherit python bootstrapped-pip; };
21 mkPythonDerivation = import ./mk-python-derivation.nix {
22 mkPythonDerivation = import ./mk-python-derivation.nix {
22− inherit lib python wrapPython setuptools unzip ensureNewerSourcesForZipFilesHook toPythonModule namePrefix;
23+ inherit lib config python wrapPython setuptools unzip ensureNewerSourcesForZipFilesHook toPythonModule namePrefix;
23 };
24 };
24in
25in
25
26
pkgs/development/interpreters/python/cpython/2.7/default.nix+8−5
@@ -31,7 +31,7 @@ with stdenv.lib;
31
31
32let
32let
33 majorVersion = "2.7";
33 majorVersion = "2.7";
34− minorVersion = "14";
34+ minorVersion = "15";
35 minorVersionSuffix = "";
35 minorVersionSuffix = "";
36 pythonVersion = majorVersion;
36 pythonVersion = majorVersion;
37 version = "${majorVersion}.${minorVersion}${minorVersionSuffix}";
37 version = "${majorVersion}.${minorVersion}${minorVersionSuffix}";
@@ -40,7 +40,7 @@ let
40
40
41 src = fetchurl {
41 src = fetchurl {
42 url = "https://www.python.org/ftp/python/${majorVersion}.${minorVersion}/Python-${version}.tar.xz";
42 url = "https://www.python.org/ftp/python/${majorVersion}.${minorVersion}/Python-${version}.tar.xz";
43− sha256 = "0rka541ys16jwzcnnvjp2v12m4cwgd2jp6wj4kj511p715pb5zvi";
43+ sha256 = "0x2mvz9dp11wj7p5ccvmk9s0hzjk2fa1m462p395l4r6bfnb3n92";
44 };
44 };
45
45
46 hasDistutilsCxxPatch = !(stdenv.cc.isGNU or false);
46 hasDistutilsCxxPatch = !(stdenv.cc.isGNU or false);
@@ -58,8 +58,6 @@ let
58 # if DETERMINISTIC_BUILD env var is set
58 # if DETERMINISTIC_BUILD env var is set
59 ./deterministic-build.patch
59 ./deterministic-build.patch
60
60
61− ./properly-detect-curses.patch
62−
63 ] ++ optionals (x11Support && stdenv.isDarwin) [
61 ] ++ optionals (x11Support && stdenv.isDarwin) [
64 ./use-correct-tcl-tk-on-darwin.patch
62 ./use-correct-tcl-tk-on-darwin.patch
65 ] ++ optionals stdenv.isLinux [
63 ] ++ optionals stdenv.isLinux [
@@ -140,7 +138,10 @@ let
140 "ac_cv_computed_gotos=yes"
138 "ac_cv_computed_gotos=yes"
141 "ac_cv_file__dev_ptmx=yes"
139 "ac_cv_file__dev_ptmx=yes"
142 "ac_cv_file__dev_ptc=yes"
140 "ac_cv_file__dev_ptc=yes"
143− ];
141+ ]
142+ # Never even try to use lchmod on linux,
143+ # don't rely on detecting glibc-isms.
144+ ++ optional hostPlatform.isLinux "ac_cv_func_lchmod=no";
144
145
145 postConfigure = if hostPlatform.isCygwin then ''
146 postConfigure = if hostPlatform.isCygwin then ''
146 sed -i Makefile -e 's,PYTHONPATH="$(srcdir),PYTHONPATH="$(abs_srcdir),'
147 sed -i Makefile -e 's,PYTHONPATH="$(srcdir),PYTHONPATH="$(abs_srcdir),'
@@ -241,6 +242,8 @@ in stdenv.mkDerivation {
241
242
242 enableParallelBuilding = true;
243 enableParallelBuilding = true;
243
244
245+ doCheck = false; # expensive, and fails
246+
244 meta = {
247 meta = {
245 homepage = http://python.org;
248 homepage = http://python.org;
246 description = "A high-level dynamically-typed programming language";
249 description = "A high-level dynamically-typed programming language";
pkgs/development/interpreters/python/cpython/2.7/properly-detect-curses.patchdeleted−116
@@ -1,116 +0,0 @@
1−From 6dc83db69b5e29d25ba6d73646ea2e9a1097848a Mon Sep 17 00:00:00 2001
2−From: Roumen Petrov <local@example.net>
3−Date: Sun, 19 Feb 2012 16:13:24 +0200
4−Subject: [PATCH] CROSS-properly detect WINDOW _flags for different ncurses versions
5−
6−---
7− Include/py_curses.h | 5 +++++
8− configure.ac | 40 ++++++++++++++++++++++++++++++++++++++--
9− pyconfig.h.in | 6 ++++++
10− 3 files changed, 49 insertions(+), 2 deletions(-)
11−
12−diff --git a/Include/py_curses.h b/Include/py_curses.h
13−index f2c08f6..a9b5260 100644
14−--- a/Include/py_curses.h
15−+++ b/Include/py_curses.h
16−@@ -14,7 +14,9 @@
17− /* the following define is necessary for OS X 10.6; without it, the
18− Apple-supplied ncurses.h sets NCURSES_OPAQUE to 1, and then Python
19− can't get at the WINDOW flags field. */
20−+/* NOTE configure check if ncurses require such definition
21− #define NCURSES_OPAQUE 0
22−+*/
23− #endif /* __APPLE__ */
24−
25− #ifdef __FreeBSD__
26−@@ -57,9 +59,12 @@
27− #ifdef HAVE_NCURSES_H
28− /* configure was checking <curses.h>, but we will
29− use <ncurses.h>, which has all these features. */
30−+/* NOTE configure check for existence of flags
31−+ * Also flags are visible only if WINDOW structure is not opaque
32− #ifndef WINDOW_HAS_FLAGS
33− #define WINDOW_HAS_FLAGS 1
34− #endif
35−+*/
36− #ifndef MVWDELCH_IS_EXPRESSION
37− #define MVWDELCH_IS_EXPRESSION 1
38− #endif
39−diff --git a/configure.ac b/configure.ac
40−index 0a3a186..75f5142 100644
41−--- a/configure.ac
42−+++ b/configure.ac
43−@@ -4150,15 +4150,51 @@ then
44− fi
45−
46− AC_MSG_CHECKING(whether WINDOW has _flags)
47−-AC_CACHE_VAL(ac_cv_window_has_flags,
48− AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <curses.h>]], [[
49− WINDOW *w;
50− w->_flags = 0;
51− ]])],
52− [ac_cv_window_has_flags=yes],
53−-[ac_cv_window_has_flags=no]))
54−+[ac_cv_window_has_flags=no])
55− AC_MSG_RESULT($ac_cv_window_has_flags)
56−
57−+py_curses_window_is_opaque=no
58−+if test no = $ac_cv_window_has_flags; then
59−+ AC_MSG_CHECKING([whether WINDOW has _flags in non-opaque structure])
60−+ AC_COMPILE_IFELSE([
61−+ AC_LANG_PROGRAM([[
62−+ #define NCURSES_OPAQUE 0
63−+ #include <curses.h>
64−+ ]],[[
65−+ WINDOW *w;
66−+ w->_flags = 0;
67−+ ]])],
68−+ [py_curses_window_is_opaque=yes])
69−+ AC_MSG_RESULT([$py_curses_window_is_opaque])
70−+fi
71−+if test yes = $py_curses_window_is_opaque; then
72−+ ac_cv_window_has_flags=yes
73−+ AC_DEFINE([NCURSES_OPAQUE], [0], [Define to 0 if you have WINDOW _flags in non-opaque structure.])
74−+fi
75−+
76−+py_curses_window_is_internal=no
77−+if test no = $ac_cv_window_has_flags; then
78−+ AC_MSG_CHECKING([whether WINDOW has _flags as internal structure])
79−+ AC_COMPILE_IFELSE([
80−+ AC_LANG_PROGRAM([[
81−+ #define NCURSES_INTERNALS 1
82−+ #include <curses.h>
83−+ ]],[[
84−+ WINDOW *w;
85−+ w->_flags = 0;
86−+ ]])],
87−+ [py_curses_window_is_internal=yes])
88−+ AC_MSG_RESULT([$py_curses_window_is_internal])
89−+fi
90−+if test yes = $py_curses_window_is_internal; then
91−+ ac_cv_window_has_flags=yes
92−+ AC_DEFINE([NCURSES_INTERNALS], [1], [Define to 1 if you have WINDOW _flags as internal structure.])
93−+fi
94−
95− if test "$ac_cv_window_has_flags" = yes
96− then
97−diff --git a/pyconfig.h.in b/pyconfig.h.in
98−index 3ca3a4f..484c817 100644
99−--- a/pyconfig.h.in
100−+++ b/pyconfig.h.in
101−@@ -1130,6 +1130,12 @@
102− /* Define if mvwdelch in curses.h is an expression. */
103− #undef MVWDELCH_IS_EXPRESSION
104−
105−+/* Define to 1 if you have WINDOW _flags as internal structure. */
106−+#undef NCURSES_INTERNALS
107−+
108−+/* Define to 0 if you have WINDOW _flags in non-opaque structure. */
109−+#undef NCURSES_OPAQUE
110−+
111− /* Define to the address where bug reports for this package should be sent. */
112− #undef PACKAGE_BUGREPORT
113−
114−--
115−1.6.4
116−
pkgs/development/interpreters/python/cpython/3.4/default.nix+20−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl
1+{ stdenv, fetchurl, fetchpatch
2, bzip2
2, bzip2
3, expat
3, expat
4, libffi
4, libffi
@@ -39,6 +39,8 @@ let
39 ++ optionals x11Support [ tcl tk libX11 xproto ]
39 ++ optionals x11Support [ tcl tk libX11 xproto ]
40 ++ optionals stdenv.isDarwin [ CF configd ];
40 ++ optionals stdenv.isDarwin [ CF configd ];
41
41
42+ hasDistutilsCxxPatch = !(stdenv.cc.isGNU or false);
43+
42in stdenv.mkDerivation {
44in stdenv.mkDerivation {
43 name = "python3-${version}";
45 name = "python3-${version}";
44 pythonVersion = majorVersion;
46 pythonVersion = majorVersion;
@@ -69,6 +71,16 @@ in stdenv.mkDerivation {
69 ./ld_library_path.patch
71 ./ld_library_path.patch
70 ] ++ optionals (x11Support && stdenv.isDarwin) [
72 ] ++ optionals (x11Support && stdenv.isDarwin) [
71 ./use-correct-tcl-tk-on-darwin.patch
73 ./use-correct-tcl-tk-on-darwin.patch
74+ ] ++ optionals hasDistutilsCxxPatch [
75+ # Fix for http://bugs.python.org/issue1222585
76+ # Upstream distutils is calling C compiler to compile C++ code, which
77+ # only works for GCC and Apple Clang. This makes distutils to call C++
78+ # compiler when needed.
79+ (fetchpatch {
80+ url = "https://bugs.python.org/file47046/python-3.x-distutils-C++.patch";
81+ sha256 = "0dgdn9k2kmw4wh90vdnjcrnn97ylxgx7mbn9l87fwz6j501jqvk8";
82+ extraPrefix = "";
83+ })
72 ];
84 ];
73
85
74 postPatch = ''
86 postPatch = ''
@@ -96,7 +108,10 @@ in stdenv.mkDerivation {
96 "--without-ensurepip"
108 "--without-ensurepip"
97 "--with-system-expat"
109 "--with-system-expat"
98 "--with-system-ffi"
110 "--with-system-ffi"
99− ];
111+ ]
112+ # Never even try to use lchmod on linux,
113+ # don't rely on detecting glibc-isms.
114+ ++ optional stdenv.hostPlatform.isLinux "ac_cv_func_lchmod=no";
100
115
101 preConfigure = ''
116 preConfigure = ''
102 for i in /usr /sw /opt /pkg; do # improve purity
117 for i in /usr /sw /opt /pkg; do # improve purity
@@ -163,7 +178,7 @@ in stdenv.mkDerivation {
163 passthru = let
178 passthru = let
164 pythonPackages = callPackage ../../../../../top-level/python-packages.nix {python=self; overrides=packageOverrides;};
179 pythonPackages = callPackage ../../../../../top-level/python-packages.nix {python=self; overrides=packageOverrides;};
165 in rec {
180 in rec {
166− inherit libPrefix sitePackages x11Support;
181+ inherit libPrefix sitePackages x11Support hasDistutilsCxxPatch;
167 executable = "${libPrefix}m";
182 executable = "${libPrefix}m";
168 buildEnv = callPackage ../../wrapper.nix { python = self; inherit (pythonPackages) requiredPythonModules; };
183 buildEnv = callPackage ../../wrapper.nix { python = self; inherit (pythonPackages) requiredPythonModules; };
169 withPackages = import ../../with-packages.nix { inherit buildEnv pythonPackages;};
184 withPackages = import ../../with-packages.nix { inherit buildEnv pythonPackages;};
@@ -176,6 +191,8 @@ in stdenv.mkDerivation {
176
191
177 enableParallelBuilding = true;
192 enableParallelBuilding = true;
178
193
194+ doCheck = false; # expensive, and fails
195+
179 meta = {
196 meta = {
180 homepage = http://python.org;
197 homepage = http://python.org;
181 description = "A high-level dynamically-typed programming language";
198 description = "A high-level dynamically-typed programming language";
pkgs/development/interpreters/python/cpython/3.5/default.nix+25−2
@@ -39,6 +39,8 @@ let
39 ++ optionals x11Support [ tcl tk libX11 xproto ]
39 ++ optionals x11Support [ tcl tk libX11 xproto ]
40 ++ optionals stdenv.isDarwin [ CF configd ];
40 ++ optionals stdenv.isDarwin [ CF configd ];
41
41
42+ hasDistutilsCxxPatch = !(stdenv.cc.isGNU or false);
43+
42in stdenv.mkDerivation {
44in stdenv.mkDerivation {
43 name = "python3-${version}";
45 name = "python3-${version}";
44 pythonVersion = majorVersion;
46 pythonVersion = majorVersion;
@@ -67,8 +69,24 @@ in stdenv.mkDerivation {
67 patches = [
69 patches = [
68 ./no-ldconfig.patch
70 ./no-ldconfig.patch
69 ./ld_library_path.patch
71 ./ld_library_path.patch
72+ ] ++ optionals stdenv.isDarwin [
73+ # Fix for https://bugs.python.org/issue24658
74+ (fetchpatch {
75+ url = "https://bugs.python.org/file45178/issue24658-3-3.6.diff";
76+ sha256 = "1x060hs80nl34mcl2ji2i7l4shxkmxwgq8h8lcmav8rjqqz1nb4a";
77+ })
70 ] ++ optionals (x11Support && stdenv.isDarwin) [
78 ] ++ optionals (x11Support && stdenv.isDarwin) [
71 ./use-correct-tcl-tk-on-darwin.patch
79 ./use-correct-tcl-tk-on-darwin.patch
80+ ] ++ optionals hasDistutilsCxxPatch [
81+ # Fix for http://bugs.python.org/issue1222585
82+ # Upstream distutils is calling C compiler to compile C++ code, which
83+ # only works for GCC and Apple Clang. This makes distutils to call C++
84+ # compiler when needed.
85+ (fetchpatch {
86+ url = "https://bugs.python.org/file47046/python-3.x-distutils-C++.patch";
87+ sha256 = "0dgdn9k2kmw4wh90vdnjcrnn97ylxgx7mbn9l87fwz6j501jqvk8";
88+ extraPrefix = "";
89+ })
72 ];
90 ];
73
91
74 postPatch = ''
92 postPatch = ''
@@ -90,7 +108,10 @@ in stdenv.mkDerivation {
90 "--without-ensurepip"
108 "--without-ensurepip"
91 "--with-system-expat"
109 "--with-system-expat"
92 "--with-system-ffi"
110 "--with-system-ffi"
93− ];
111+ ]
112+ # Never even try to use lchmod on linux,
113+ # don't rely on detecting glibc-isms.
114+ ++ optional stdenv.hostPlatform.isLinux "ac_cv_func_lchmod=no";
94
115
95 preConfigure = ''
116 preConfigure = ''
96 for i in /usr /sw /opt /pkg; do # improve purity
117 for i in /usr /sw /opt /pkg; do # improve purity
@@ -157,7 +178,7 @@ in stdenv.mkDerivation {
157 passthru = let
178 passthru = let
158 pythonPackages = callPackage ../../../../../top-level/python-packages.nix {python=self; overrides=packageOverrides;};
179 pythonPackages = callPackage ../../../../../top-level/python-packages.nix {python=self; overrides=packageOverrides;};
159 in rec {
180 in rec {
160− inherit libPrefix sitePackages x11Support;
181+ inherit libPrefix sitePackages x11Support hasDistutilsCxxPatch;
161 executable = "${libPrefix}m";
182 executable = "${libPrefix}m";
162 buildEnv = callPackage ../../wrapper.nix { python = self; inherit (pythonPackages) requiredPythonModules; };
183 buildEnv = callPackage ../../wrapper.nix { python = self; inherit (pythonPackages) requiredPythonModules; };
163 withPackages = import ../../with-packages.nix { inherit buildEnv pythonPackages;};
184 withPackages = import ../../with-packages.nix { inherit buildEnv pythonPackages;};
@@ -169,6 +190,8 @@ in stdenv.mkDerivation {
169
190
170 enableParallelBuilding = true;
191 enableParallelBuilding = true;
171
192
193+ doCheck = false; # expensive, and fails
194+
172 meta = {
195 meta = {
173 homepage = http://python.org;
196 homepage = http://python.org;
174 description = "A high-level dynamically-typed programming language";
197 description = "A high-level dynamically-typed programming language";
pkgs/development/interpreters/python/cpython/3.6/default.nix+25−2
@@ -42,6 +42,8 @@ let
42 nativeBuildInputs =
42 nativeBuildInputs =
43 optional (stdenv.hostPlatform != stdenv.buildPlatform) buildPackages.python3;
43 optional (stdenv.hostPlatform != stdenv.buildPlatform) buildPackages.python3;
44
44
45+ hasDistutilsCxxPatch = !(stdenv.cc.isGNU or false);
46+
45in stdenv.mkDerivation {
47in stdenv.mkDerivation {
46 name = "python3-${version}";
48 name = "python3-${version}";
47 pythonVersion = majorVersion;
49 pythonVersion = majorVersion;
@@ -69,8 +71,24 @@ in stdenv.mkDerivation {
69
71
70 patches = [
72 patches = [
71 ./no-ldconfig.patch
73 ./no-ldconfig.patch
74+ ] ++ optionals stdenv.isDarwin [
75+ # Fix for https://bugs.python.org/issue24658
76+ (fetchpatch {
77+ url = "https://bugs.python.org/file45178/issue24658-3-3.6.diff";
78+ sha256 = "1x060hs80nl34mcl2ji2i7l4shxkmxwgq8h8lcmav8rjqqz1nb4a";
79+ })
72 ] ++ optionals (x11Support && stdenv.isDarwin) [
80 ] ++ optionals (x11Support && stdenv.isDarwin) [
73 ./use-correct-tcl-tk-on-darwin.patch
81 ./use-correct-tcl-tk-on-darwin.patch
82+ ] ++ optionals hasDistutilsCxxPatch [
83+ # Fix for http://bugs.python.org/issue1222585
84+ # Upstream distutils is calling C compiler to compile C++ code, which
85+ # only works for GCC and Apple Clang. This makes distutils to call C++
86+ # compiler when needed.
87+ (fetchpatch {
88+ url = "https://bugs.python.org/file47046/python-3.x-distutils-C++.patch";
89+ sha256 = "0dgdn9k2kmw4wh90vdnjcrnn97ylxgx7mbn9l87fwz6j501jqvk8";
90+ extraPrefix = "";
91+ })
74 ];
92 ];
75
93
76 postPatch = ''
94 postPatch = ''
@@ -113,7 +131,10 @@ in stdenv.mkDerivation {
113 "ac_cv_computed_gotos=yes"
131 "ac_cv_computed_gotos=yes"
114 "ac_cv_file__dev_ptmx=yes"
132 "ac_cv_file__dev_ptmx=yes"
115 "ac_cv_file__dev_ptc=yes"
133 "ac_cv_file__dev_ptc=yes"
116− ];
134+ ]
135+ # Never even try to use lchmod on linux,
136+ # don't rely on detecting glibc-isms.
137+ ++ optional stdenv.hostPlatform.isLinux "ac_cv_func_lchmod=no";
117
138
118 preConfigure = ''
139 preConfigure = ''
119 for i in /usr /sw /opt /pkg; do # improve purity
140 for i in /usr /sw /opt /pkg; do # improve purity
@@ -180,7 +201,7 @@ in stdenv.mkDerivation {
180 passthru = let
201 passthru = let
181 pythonPackages = callPackage ../../../../../top-level/python-packages.nix {python=self; overrides=packageOverrides;};
202 pythonPackages = callPackage ../../../../../top-level/python-packages.nix {python=self; overrides=packageOverrides;};
182 in rec {
203 in rec {
183− inherit libPrefix sitePackages x11Support;
204+ inherit libPrefix sitePackages x11Support hasDistutilsCxxPatch;
184 executable = "${libPrefix}m";
205 executable = "${libPrefix}m";
185 buildEnv = callPackage ../../wrapper.nix { python = self; inherit (pythonPackages) requiredPythonModules; };
206 buildEnv = callPackage ../../wrapper.nix { python = self; inherit (pythonPackages) requiredPythonModules; };
186 withPackages = import ../../with-packages.nix { inherit buildEnv pythonPackages;};
207 withPackages = import ../../with-packages.nix { inherit buildEnv pythonPackages;};
@@ -193,6 +214,8 @@ in stdenv.mkDerivation {
193
214
194 enableParallelBuilding = true;
215 enableParallelBuilding = true;
195
216
217+ doCheck = false; # expensive, and fails
218+
196 meta = {
219 meta = {
197 homepage = http://python.org;
220 homepage = http://python.org;
198 description = "A high-level dynamically-typed programming language";
221 description = "A high-level dynamically-typed programming language";
pkgs/development/interpreters/python/mk-python-derivation.nix+3−2
@@ -1,6 +1,7 @@
1# Generic builder.
1# Generic builder.
2
2
3{ lib
3{ lib
4+, config
4, python
5, python
5, wrapPython
6, wrapPython
6, setuptools
7, setuptools
@@ -53,7 +54,7 @@
53
54
54, passthru ? {}
55, passthru ? {}
55
56
56−, doCheck ? false
57+, doCheck ? config.doCheckByDefault or false
57
58
58, ... } @ attrs:
59, ... } @ attrs:
59
60
@@ -74,7 +75,6 @@ toPythonModule (python.stdenv.mkDerivation (builtins.removeAttrs attrs [
74
75
75 buildInputs = [ wrapPython ]
76 buildInputs = [ wrapPython ]
76 ++ lib.optional (lib.hasSuffix "zip" (attrs.src.name or "")) unzip
77 ++ lib.optional (lib.hasSuffix "zip" (attrs.src.name or "")) unzip
77− ++ lib.optionals doCheck checkInputs
78 ++ lib.optional catchConflicts setuptools # If we no longer propagate setuptools
78 ++ lib.optional catchConflicts setuptools # If we no longer propagate setuptools
79 ++ buildInputs
79 ++ buildInputs
80 ++ pythonPath;
80 ++ pythonPath;
@@ -85,6 +85,7 @@ toPythonModule (python.stdenv.mkDerivation (builtins.removeAttrs attrs [
85 # Python packages don't have a checkPhase, only an installCheckPhase
85 # Python packages don't have a checkPhase, only an installCheckPhase
86 doCheck = false;
86 doCheck = false;
87 doInstallCheck = doCheck;
87 doInstallCheck = doCheck;
88+ installCheckInputs = checkInputs;
88
89
89 postFixup = lib.optionalString (!dontWrapPythonPrograms) ''
90 postFixup = lib.optionalString (!dontWrapPythonPrograms) ''
90 wrapPythonPrograms
91 wrapPythonPrograms
pkgs/development/libraries/appstream-glib/default.nix+2
@@ -39,6 +39,8 @@ stdenv.mkDerivation rec {
39 "-Ddep11=false"
39 "-Ddep11=false"
40 ];
40 ];
41
41
42+ doCheck = false; # fails at least 1 test
43+
42 postInstall = ''
44 postInstall = ''
43 moveToOutput "share/installed-tests" "$installedTests"
45 moveToOutput "share/installed-tests" "$installedTests"
44 '';
46 '';
pkgs/development/libraries/apr-util/default.nix+3−2
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
30 configureFlags = [ "--with-apr=${apr.dev}" "--with-expat=${expat.dev}" ]
30 configureFlags = [ "--with-apr=${apr.dev}" "--with-expat=${expat.dev}" ]
31 ++ optional (!stdenv.isCygwin) "--with-crypto"
31 ++ optional (!stdenv.isCygwin) "--with-crypto"
32 ++ optional sslSupport "--with-openssl=${openssl.dev}"
32 ++ optional sslSupport "--with-openssl=${openssl.dev}"
33− ++ optional bdbSupport "--with-berkeley-db=${db}"
33+ ++ optional bdbSupport "--with-berkeley-db=${db.dev}"
34 ++ optional ldapSupport "--with-ldap=ldap"
34 ++ optional ldapSupport "--with-ldap=ldap"
35 ++ optionals stdenv.isCygwin
35 ++ optionals stdenv.isCygwin
36 [ "--without-pgsql" "--without-sqlite2" "--without-sqlite3"
36 [ "--without-pgsql" "--without-sqlite2" "--without-sqlite3"
@@ -44,9 +44,10 @@ stdenv.mkDerivation rec {
44 ++ optional stdenv.isFreeBSD cyrus_sasl;
44 ++ optional stdenv.isFreeBSD cyrus_sasl;
45
45
46 postInstall = ''
46 postInstall = ''
47− for f in $out/lib/*.la $out/lib/apr-util-1/*.la; do
47+ for f in $out/lib/*.la $out/lib/apr-util-1/*.la $dev/bin/apu-1-config; do
48 substituteInPlace $f \
48 substituteInPlace $f \
49 --replace "${expat.dev}/lib" "${expat.out}/lib" \
49 --replace "${expat.dev}/lib" "${expat.out}/lib" \
50+ --replace "${db.dev}/lib" "${db.out}/lib" \
50 --replace "${openssl.dev}/lib" "${openssl.out}/lib"
51 --replace "${openssl.dev}/lib" "${openssl.out}/lib"
51 done
52 done
52
53
pkgs/development/libraries/at-spi2-atk/default.nix+2
@@ -16,6 +16,8 @@ stdenv.mkDerivation rec {
16 buildInputs = [ python popt atk libX11 libICE xorg.libXtst libXi
16 buildInputs = [ python popt atk libX11 libICE xorg.libXtst libXi
17 dbus-glib at-spi2-core libSM ];
17 dbus-glib at-spi2-core libSM ];
18
18
19+ doCheck = false; # needs dbus daemon
20+
19 meta = with stdenv.lib; {
21 meta = with stdenv.lib; {
20 platforms = platforms.unix;
22 platforms = platforms.unix;
21 };
23 };
pkgs/development/libraries/at-spi2-core/default.nix+2
@@ -23,6 +23,8 @@ stdenv.mkDerivation rec {
23 # ToDo: on non-NixOS we create a symlink from there?
23 # ToDo: on non-NixOS we create a symlink from there?
24 configureFlags = "--with-dbus-daemondir=/run/current-system/sw/bin/";
24 configureFlags = "--with-dbus-daemondir=/run/current-system/sw/bin/";
25
25
26+ doCheck = false; # needs dbus daemon
27+
26 meta = with stdenv.lib; {
28 meta = with stdenv.lib; {
27 platforms = platforms.unix;
29 platforms = platforms.unix;
28 };
30 };
pkgs/development/libraries/avahi/default.nix+4−2
@@ -20,13 +20,15 @@ stdenv.mkDerivation rec {
20 buildInputs = [ libdaemon dbus perl perlXMLParser glib expat libiconv ]
20 buildInputs = [ libdaemon dbus perl perlXMLParser glib expat libiconv ]
21 ++ (stdenv.lib.optional qt4Support qt4);
21 ++ (stdenv.lib.optional qt4Support qt4);
22
22
23− nativeBuildInputs = [ pkgconfig gettext intltool ];
23+ nativeBuildInputs = [ pkgconfig gettext intltool glib ];
24
24
25 configureFlags =
25 configureFlags =
26 [ "--disable-qt3" "--disable-gdbm" "--disable-mono"
26 [ "--disable-qt3" "--disable-gdbm" "--disable-mono"
27 "--disable-gtk" "--disable-gtk3"
27 "--disable-gtk" "--disable-gtk3"
28 "--${if qt4Support then "enable" else "disable"}-qt4"
28 "--${if qt4Support then "enable" else "disable"}-qt4"
29− "--disable-python" "--localstatedir=/var" "--with-distro=none" ]
29+ "--disable-python" "--localstatedir=/var" "--with-distro=none"
30+ # A systemd unit is provided by the avahi-daemon NixOS module
31+ "--with-systemdsystemunitdir=no" ]
30 ++ stdenv.lib.optional withLibdnssdCompat "--enable-compat-libdns_sd"
32 ++ stdenv.lib.optional withLibdnssdCompat "--enable-compat-libdns_sd"
31 # autoipd won't build on darwin
33 # autoipd won't build on darwin
32 ++ stdenv.lib.optional stdenv.isDarwin "--disable-autoipd";
34 ++ stdenv.lib.optional stdenv.isDarwin "--disable-autoipd";
pkgs/development/libraries/boehm-gc/default.nix+2−2
@@ -4,14 +4,14 @@
4
4
5stdenv.mkDerivation rec {
5stdenv.mkDerivation rec {
6 name = "boehm-gc-${version}";
6 name = "boehm-gc-${version}";
7− version = "7.6.4";
7+ version = "7.6.6";
8
8
9 src = fetchurl {
9 src = fetchurl {
10 urls = [
10 urls = [
11 "http://www.hboehm.info/gc/gc_source/gc-${version}.tar.gz"
11 "http://www.hboehm.info/gc/gc_source/gc-${version}.tar.gz"
12 "https://github.com/ivmai/bdwgc/releases/download/v${version}/gc-${version}.tar.gz"
12 "https://github.com/ivmai/bdwgc/releases/download/v${version}/gc-${version}.tar.gz"
13 ];
13 ];
14− sha256 = "076dzsqqyxd3nlzs0z277vvhqjp8nv5dqi763s0m90zr6ljiyk5r";
14+ sha256 = "1p1r015a7jbpvkkbgzv1y8nxrbbp6dg0mq3ksi6ji0qdz3wfss79";
15 };
15 };
16
16
17 buildInputs = [ libatomic_ops ];
17 buildInputs = [ libatomic_ops ];
pkgs/development/libraries/boost/generic.nix+2−2
@@ -55,11 +55,11 @@ let
55 "--layout=${layout}"
55 "--layout=${layout}"
56 "variant=${variant}"
56 "variant=${variant}"
57 "threading=${threading}"
57 "threading=${threading}"
58− "runtime-link=${runtime-link}"
59 "link=${link}"
58 "link=${link}"
60 "-sEXPAT_INCLUDE=${expat.dev}/include"
59 "-sEXPAT_INCLUDE=${expat.dev}/include"
61 "-sEXPAT_LIBPATH=${expat.out}/lib"
60 "-sEXPAT_LIBPATH=${expat.out}/lib"
61+ ] ++ optional (link != "static") "runtime-link=${runtime-link}"
62− ] ++ optional (variant == "release") "debug-symbols=off"
62+ ++ optional (variant == "release") "debug-symbols=off"
63 ++ optional (toolset != null) "toolset=${toolset}"
63 ++ optional (toolset != null) "toolset=${toolset}"
64 ++ optional (mpi != null || hostPlatform != buildPlatform) "--user-config=user-config.jam"
64 ++ optional (mpi != null || hostPlatform != buildPlatform) "--user-config=user-config.jam"
65 ++ optionals (hostPlatform.libc == "msvcrt") [
65 ++ optionals (hostPlatform.libc == "msvcrt") [
pkgs/development/libraries/c-ares/default.nix+2−2
@@ -2,11 +2,11 @@
2
2
3let self =
3let self =
4stdenv.mkDerivation rec {
4stdenv.mkDerivation rec {
5− name = "c-ares-1.13.0";
5+ name = "c-ares-1.14.0";
6
6
7 src = fetchurl {
7 src = fetchurl {
8 url = "http://c-ares.haxx.se/download/${name}.tar.gz";
8 url = "http://c-ares.haxx.se/download/${name}.tar.gz";
9− sha256 = "19qxhv9aiw903fr808y77r6l9js0fq9m3gcaqckan9jan7qhixq3";
9+ sha256 = "0vnwmbvymw677k780kpb6sb8i3szdp89rzy8mz1fwg1657yw3ls5";
10 };
10 };
11
11
12 meta = with stdenv.lib; {
12 meta = with stdenv.lib; {
pkgs/development/libraries/cairo/default.nix+9−15
@@ -9,25 +9,17 @@
9
9
10assert glSupport -> libGL != null;
10assert glSupport -> libGL != null;
11
11
12+let
13+ version = "1.15.10";
12−let inherit (stdenv.lib) optional optionals; in
14+ inherit (stdenv.lib) optional optionals;
13−
14−stdenv.mkDerivation rec {
15+in stdenv.mkDerivation rec {
15− name = "cairo-1.14.10";
16+ name = "cairo-${version}";
16
17
17 src = fetchurl {
18 src = fetchurl {
18− url = "http://cairographics.org/releases/${name}.tar.xz";
19+ url = "http://cairographics.org/${if stdenv.lib.mod (builtins.fromJSON (stdenv.lib.versions.minor version)) 2 == 0 then "releases" else "snapshots"}/${name}.tar.xz";
19− sha256 = "02banr0wxckq62nbhc3mqidfdh2q956i2r7w2hd9bjgjb238g1vy";
20+ sha256 = "14l3jll98pjdlpm8f972v0spzcsf6y5nz85y2k8iybyg6ihj5jk2";
20 };
21 };
21
22
22− patches = [
23− # from https://bugs.freedesktop.org/show_bug.cgi?id=98165
24− (fetchpatch {
25− name = "cairo-CVE-2016-9082.patch";
26− url = "https://bugs.freedesktop.org/attachment.cgi?id=127421";
27− sha256 = "03sfyaclzlglip4pvfjb4zj4dmm8mlphhxl30mb6giinkc74bfri";
28− })
29− ];
30−
31 outputs = [ "out" "dev" "devdoc" ];
23 outputs = [ "out" "dev" "devdoc" ];
32 outputBin = "dev"; # very small
24 outputBin = "dev"; # very small
33
25
@@ -80,6 +72,8 @@ stdenv.mkDerivation rec {
80
72
81 enableParallelBuilding = true;
73 enableParallelBuilding = true;
82
74
75+ doCheck = false; # fails
76+
83 postInstall = stdenv.lib.optionalString stdenv.isDarwin glib.flattenInclude;
77 postInstall = stdenv.lib.optionalString stdenv.isDarwin glib.flattenInclude;
84
78
85 meta = with stdenv.lib; {
79 meta = with stdenv.lib; {
pkgs/development/libraries/celt/generic.nix+2
@@ -16,6 +16,8 @@ stdenv.mkDerivation rec {
16 buildInputs = []
16 buildInputs = []
17 ++ stdenv.lib.optional liboggSupport libogg;
17 ++ stdenv.lib.optional liboggSupport libogg;
18
18
19+ doCheck = false; # fails
20+
19 meta = with stdenv.lib; {
21 meta = with stdenv.lib; {
20 description = "Ultra-low delay audio codec";
22 description = "Ultra-low delay audio codec";
21 homepage = http://www.celt-codec.org/;
23 homepage = http://www.celt-codec.org/;
pkgs/development/libraries/ctpp2/default.nix+2
@@ -16,6 +16,8 @@ stdenv.mkDerivation rec {
16 sed -ie 's/<stdlib.h>/<stdlib.h>\n#include <unistd.h>/' src/CTPP2FileSourceLoader.cpp
16 sed -ie 's/<stdlib.h>/<stdlib.h>\n#include <unistd.h>/' src/CTPP2FileSourceLoader.cpp
17 '';
17 '';
18
18
19+ doCheck = false; # fails
20+
19 meta = {
21 meta = {
20 description = "A high performance templating engine";
22 description = "A high performance templating engine";
21 homepage = http://ctpp.havoc.ru;
23 homepage = http://ctpp.havoc.ru;
pkgs/development/libraries/db/generic.nix+2
@@ -20,6 +20,8 @@ stdenv.mkDerivation (rec {
20
20
21 patches = extraPatches;
21 patches = extraPatches;
22
22
23+ outputs = [ "bin" "out" "dev" ];
24+
23 configureFlags =
25 configureFlags =
24 [
26 [
25 (if cxxSupport then "--enable-cxx" else "--disable-cxx")
27 (if cxxSupport then "--enable-cxx" else "--disable-cxx")
pkgs/development/libraries/dbus-glib/default.nix+3−3
@@ -1,11 +1,11 @@
1{ stdenv, fetchurl, pkgconfig, expat, gettext, libiconv, dbus, glib }:
1{ stdenv, fetchurl, pkgconfig, expat, gettext, libiconv, dbus, glib }:
2
2
3stdenv.mkDerivation rec {
3stdenv.mkDerivation rec {
4− name = "dbus-glib-0.108";
4+ name = "dbus-glib-0.110";
5
5
6 src = fetchurl {
6 src = fetchurl {
7 url = "${meta.homepage}/releases/dbus-glib/${name}.tar.gz";
7 url = "${meta.homepage}/releases/dbus-glib/${name}.tar.gz";
8− sha256 = "0b307hw9j41npzr6niw1bs6ryp87m5yafg492gqwvsaj4dz0qd4z";
8+ sha256 = "09g8swvc95bk1z6j8sw463p2v0dqmgm2zjfndf7i8sbcyq67dr3w";
9 };
9 };
10
10
11 outputs = [ "out" "dev" "devdoc" ];
11 outputs = [ "out" "dev" "devdoc" ];
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
21 configureFlagsArray+=("--exec-prefix=$dev")
21 configureFlagsArray+=("--exec-prefix=$dev")
22 '';
22 '';
23
23
24− doCheck = true;
24+ doCheck = false;
25
25
26 passthru = { inherit dbus glib; };
26 passthru = { inherit dbus glib; };
27
27
pkgs/development/libraries/dbus/default.nix+2−2
@@ -6,8 +6,8 @@ assert x11Support -> libX11 != null
6 && libSM != null;
6 && libSM != null;
7
7
8let
8let
9− version = "1.12.6";
9+ version = "1.12.8";
10− sha256 = "05picaq8j60wlwyi84qvw5liw3nd0cws9va3krnc3pms0wm906v2";
10+ sha256 = "1cvfi7jiby12h0f5gbysphhk99m6mch87ab3cqxkj0w36gkrkp72";
11
11
12self = stdenv.mkDerivation {
12self = stdenv.mkDerivation {
13 name = "dbus-${version}";
13 name = "dbus-${version}";
pkgs/development/libraries/eigen/default.nix+5−3
@@ -5,19 +5,21 @@ let
5in
5in
6stdenv.mkDerivation {
6stdenv.mkDerivation {
7 name = "eigen-${version}";
7 name = "eigen-${version}";
8−
8+
9 src = fetchurl {
9 src = fetchurl {
10 url = "http://bitbucket.org/eigen/eigen/get/${version}.tar.gz";
10 url = "http://bitbucket.org/eigen/eigen/get/${version}.tar.gz";
11 name = "eigen-${version}.tar.gz";
11 name = "eigen-${version}.tar.gz";
12 sha256 = "00l52y7m276gh8wjkqqcxz6x687azrm7a70s3iraxnpy9bxa9y04";
12 sha256 = "00l52y7m276gh8wjkqqcxz6x687azrm7a70s3iraxnpy9bxa9y04";
13 };
13 };
14−
14+
15 nativeBuildInputs = [ cmake ];
15 nativeBuildInputs = [ cmake ];
16
16
17+ doCheck = false; # a couple of tests fail with "Child aborted"
18+
17 postInstall = ''
19 postInstall = ''
18 sed -e '/Cflags:/s@''${prefix}/@@' -i "$out"/share/pkgconfig/eigen3.pc
20 sed -e '/Cflags:/s@''${prefix}/@@' -i "$out"/share/pkgconfig/eigen3.pc
19 '';
21 '';
20−
22+
21 meta = with stdenv.lib; {
23 meta = with stdenv.lib; {
22 description = "C++ template library for linear algebra: vectors, matrices, and related algorithms";
24 description = "C++ template library for linear algebra: vectors, matrices, and related algorithms";
23 license = licenses.lgpl3Plus;
25 license = licenses.lgpl3Plus;
pkgs/development/libraries/enchant/2.x.nix+2
@@ -17,6 +17,8 @@ in stdenv.mkDerivation rec {
17 buildInputs = [ glib hunspell ];
17 buildInputs = [ glib hunspell ];
18 propagatedBuildInputs = [ hspell aspell ]; # libtool puts it to la file
18 propagatedBuildInputs = [ hspell aspell ]; # libtool puts it to la file
19
19
20+ doCheck = false; # fails to compile with with "UnitTest++.h: No such file or directory"
21+
20 meta = with stdenv.lib; {
22 meta = with stdenv.lib; {
21 description = "Generic spell checking library";
23 description = "Generic spell checking library";
22 homepage = https://abiword.github.io/enchant/;
24 homepage = https://abiword.github.io/enchant/;
pkgs/development/libraries/epoxy/default.nix+4−2
@@ -6,13 +6,13 @@ with stdenv.lib;
6
6
7stdenv.mkDerivation rec {
7stdenv.mkDerivation rec {
8 name = "epoxy-${version}";
8 name = "epoxy-${version}";
9− version = "1.5.0";
9+ version = "1.5.1";
10
10
11 src = fetchFromGitHub {
11 src = fetchFromGitHub {
12 owner = "anholt";
12 owner = "anholt";
13 repo = "libepoxy";
13 repo = "libepoxy";
14 rev = "${version}";
14 rev = "${version}";
15− sha256 = "1ixpqb10pmdy3n9nxd5inflig9dal5502ggadcns5b58j6jr0yv0";
15+ sha256 = "1811agxr7g9wd832np8sw152j468kg3qydmfkc564v54ncfcgaci";
16 };
16 };
17
17
18 outputs = [ "out" "dev" ];
18 outputs = [ "out" "dev" ];
@@ -29,6 +29,8 @@ stdenv.mkDerivation rec {
29
29
30 NIX_CFLAGS_COMPILE = ''-DLIBGL_PATH="${getLib libGL}/lib"'';
30 NIX_CFLAGS_COMPILE = ''-DLIBGL_PATH="${getLib libGL}/lib"'';
31
31
32+ doCheck = false; # needs X11
33+
32 meta = {
34 meta = {
33 description = "A library for handling OpenGL function pointer management";
35 description = "A library for handling OpenGL function pointer management";
34 homepage = https://github.com/anholt/libepoxy;
36 homepage = https://github.com/anholt/libepoxy;
pkgs/development/libraries/ffmpeg-full/default.nix+6−15
@@ -250,7 +250,10 @@ stdenv.mkDerivation rec {
250 --replace /usr/local/lib/frei0r-1 ${frei0r}/lib/frei0r-1
250 --replace /usr/local/lib/frei0r-1 ${frei0r}/lib/frei0r-1
251 '';
251 '';
252
252
253+ configurePlatforms = [];
253 configureFlags = [
254 configureFlags = [
255+ "--target_os=${hostPlatform.parsed.kernel.name}"
256+ "--arch=${hostPlatform.parsed.cpu.name}"
254 /*
257 /*
255 * Licensing flags
258 * Licensing flags
256 */
259 */
@@ -371,8 +374,6 @@ stdenv.mkDerivation rec {
371 #(enableFeature quvi "libquvi")
374 #(enableFeature quvi "libquvi")
372 (enableFeature (rtmpdump != null) "librtmp")
375 (enableFeature (rtmpdump != null) "librtmp")
373 #(enableFeature (schroedinger != null) "libschroedinger")
376 #(enableFeature (schroedinger != null) "libschroedinger")
374− #(enableFeature (shine != null) "libshine")
375− (enableFeature (samba != null && gplLicensing && version3Licensing) "libsmbclient")
376 (enableFeature (SDL2 != null) "sdl2")
377 (enableFeature (SDL2 != null) "sdl2")
377 (enableFeature (soxr != null) "libsoxr")
378 (enableFeature (soxr != null) "libsoxr")
378 (enableFeature (speex != null) "libspeex")
379 (enableFeature (speex != null) "libspeex")
@@ -396,6 +397,9 @@ stdenv.mkDerivation rec {
396 (enableFeature optimizationsDeveloper "optimizations")
397 (enableFeature optimizationsDeveloper "optimizations")
397 (enableFeature extraWarningsDeveloper "extra-warnings")
398 (enableFeature extraWarningsDeveloper "extra-warnings")
398 (enableFeature strippingDeveloper "stripping")
399 (enableFeature strippingDeveloper "stripping")
400+ ] ++ optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
401+ "--cross-prefix=${stdenv.cc.targetPrefix}"
402+ "--enable-cross-compile"
399 ];
403 ];
400
404
401 nativeBuildInputs = [ perl pkgconfig texinfo yasm ];
405 nativeBuildInputs = [ perl pkgconfig texinfo yasm ];
@@ -432,21 +436,8 @@ stdenv.mkDerivation rec {
432 done
436 done
433 '';
437 '';
434
438
435−
436 enableParallelBuilding = true;
439 enableParallelBuilding = true;
437
440
438− /* Cross-compilation is untested, consider this an outline, more work
439− needs to be done to portions of the build to get it to work correctly */
440− crossAttrs = {
441− configurePlatforms = [];
442− configureFlags = configureFlags ++ [
443− "--cross-prefix=${stdenv.cc.targetPrefix}"
444− "--enable-cross-compile"
445− "--target_os=${hostPlatform.parsed.kernel.name}"
446− "--arch=${hostPlatform.parsed.cpu.name}"
447− ];
448− };
449−
450 meta = with stdenv.lib; {
441 meta = with stdenv.lib; {
451 description = "A complete, cross-platform solution to record, convert and stream audio and video";
442 description = "A complete, cross-platform solution to record, convert and stream audio and video";
452 homepage = https://www.ffmpeg.org/;
443 homepage = https://www.ffmpeg.org/;
pkgs/development/libraries/ffmpeg/generic.nix+8−13
@@ -79,7 +79,10 @@ stdenv.mkDerivation rec {
79 ++ optional (reqMin "1.0") "doc" ; # just dev-doc
79 ++ optional (reqMin "1.0") "doc" ; # just dev-doc
80 setOutputFlags = false; # doesn't accept all and stores configureFlags in libs!
80 setOutputFlags = false; # doesn't accept all and stores configureFlags in libs!
81
81
82+ configurePlatforms = [];
82 configureFlags = [
83 configureFlags = [
84+ "--arch=${hostPlatform.parsed.cpu.name}"
85+ "--target_os=${hostPlatform.parsed.kernel.name}"
83 # License
86 # License
84 "--enable-gpl"
87 "--enable-gpl"
85 "--enable-version3"
88 "--enable-version3"
@@ -145,6 +148,9 @@ stdenv.mkDerivation rec {
145 "--disable-stripping"
148 "--disable-stripping"
146 # Disable mmx support for 0.6.90
149 # Disable mmx support for 0.6.90
147 (verFix null "0.6.90" "--disable-mmx")
150 (verFix null "0.6.90" "--disable-mmx")
151+ ] ++ optionals (stdenv.hostPlatform == stdenv.buildPlatform) [
152+ "--cross-prefix=${stdenv.cc.targetPrefix}"
153+ "--enable-cross-compile"
148 ] ++ optional stdenv.cc.isClang "--cc=clang";
154 ] ++ optional stdenv.cc.isClang "--cc=clang";
149
155
150 nativeBuildInputs = [ perl pkgconfig texinfo yasm ];
156 nativeBuildInputs = [ perl pkgconfig texinfo yasm ];
@@ -160,26 +166,15 @@ stdenv.mkDerivation rec {
160 ++ optional vdpauSupport libvdpau
166 ++ optional vdpauSupport libvdpau
161 ++ optional sdlSupport (if reqMin "3.2" then SDL2 else SDL);
167 ++ optional sdlSupport (if reqMin "3.2" then SDL2 else SDL);
162
168
163−
164 enableParallelBuilding = true;
169 enableParallelBuilding = true;
165
170
171+ doCheck = false; # fails
172+
166 postFixup = ''
173 postFixup = ''
167 moveToOutput bin "$bin"
174 moveToOutput bin "$bin"
168 moveToOutput share/ffmpeg/examples "$doc"
175 moveToOutput share/ffmpeg/examples "$doc"
169 '';
176 '';
170
177
171− /* Cross-compilation is untested, consider this an outline, more work
172− needs to be done to portions of the build to get it to work correctly */
173− crossAttrs = {
174− configurePlatforms = [];
175− configureFlags = configureFlags ++ [
176− "--cross-prefix=${stdenv.cc.targetPrefix}"
177− "--enable-cross-compile"
178− "--target_os=${hostPlatform.parsed.kernel.name}"
179− "--arch=${hostPlatform.parsed.cpu.name}"
180− ];
181− };
182−
183 installFlags = [ "install-man" ];
178 installFlags = [ "install-man" ];
184
179
185 passthru = {
180 passthru = {
pkgs/development/libraries/fontconfig/2.10.nix+3−11
@@ -17,23 +17,15 @@ stdenv.mkDerivation rec {
17 buildInputs = [ expat ];
17 buildInputs = [ expat ];
18
18
19 configureFlags = [
19 configureFlags = [
20+ "--with-arch=${hostPlatform.parsed.cpu.name}"
20 "--sysconfdir=/etc"
21 "--sysconfdir=/etc"
21 "--with-cache-dir=/var/cache/fontconfig"
22 "--with-cache-dir=/var/cache/fontconfig"
22 "--disable-docs"
23 "--disable-docs"
23 "--with-default-fonts="
24 "--with-default-fonts="
25+ ] ++ stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
26+ "--with-arch=${hostPlatform.parsed.cpu.name}"
24 ];
27 ];
25
28
26− # We should find a better way to access the arch reliably.
27− crossArch = if stdenv.hostPlatform != stdenv.buildPlatform
28− then hostPlatform.parsed.cpu.name
29− else null;
30−
31− preConfigure = ''
32− if test -n "$crossConfig"; then
33− configureFlags="$configureFlags --with-arch=$crossArch";
34− fi
35− '';
36−
37 enableParallelBuilding = true;
29 enableParallelBuilding = true;
38
30
39 doCheck = true;
31 doCheck = true;
pkgs/development/libraries/fontconfig/default.nix+3−11
@@ -40,23 +40,15 @@ stdenv.mkDerivation rec {
40 buildInputs = [ expat ];
40 buildInputs = [ expat ];
41
41
42 configureFlags = [
42 configureFlags = [
43+ "--with-arch=${hostPlatform.parsed.cpu.name}"
43 "--with-cache-dir=/var/cache/fontconfig" # otherwise the fallback is in $out/
44 "--with-cache-dir=/var/cache/fontconfig" # otherwise the fallback is in $out/
44 "--disable-docs"
45 "--disable-docs"
45 # just <1MB; this is what you get when loading config fails for some reason
46 # just <1MB; this is what you get when loading config fails for some reason
46 "--with-default-fonts=${dejavu_fonts.minimal}"
47 "--with-default-fonts=${dejavu_fonts.minimal}"
48+ ] ++ stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
49+ "--with-arch=${hostPlatform.parsed.cpu.name}"
47 ];
50 ];
48
51
49− # We should find a better way to access the arch reliably.
50− crossArch = if stdenv.hostPlatform != stdenv.buildPlatform
51− then hostPlatform.parsed.cpu.name
52− else null;
53−
54− preConfigure = ''
55− if test -n "$crossConfig"; then
56− configureFlags="$configureFlags --with-arch=$crossArch";
57− fi
58− '';
59−
60 enableParallelBuilding = true;
52 enableParallelBuilding = true;
61
53
62 doCheck = true;
54 doCheck = true;
pkgs/development/libraries/gdk-pixbuf/default.nix+57−20
@@ -1,40 +1,74 @@
1+{ stdenv, fetchurl, fetchgit, fetchpatch, meson, ninja, pkgconfig, gettext, python3, libxml2, libxslt, docbook_xsl
1−{ stdenv, fetchurl, pkgconfig, glib, libtiff, libjpeg, libpng, libX11, gnome3
2+, docbook_xml_dtd_43, gtk-doc, glib, libtiff, libjpeg, libpng, libX11, gnome3
2−, jasper, gobjectIntrospection, doCheck ? false }:
3+, jasper, gobjectIntrospection, doCheck ? false, makeWrapper }:
3
4
4let
5let
5 pname = "gdk-pixbuf";
6 pname = "gdk-pixbuf";
6− version = "2.36.7";
7+ version = "2.36.12";
7− # TODO: since 2.36.8 gdk-pixbuf gets configured to use mime-type sniffing,
8− # which apparently requires access to shared-mime-info files during runtime.
9in
8in
10stdenv.mkDerivation rec {
9stdenv.mkDerivation rec {
11 name = "${pname}-${version}";
10 name = "${pname}-${version}";
12
11
12+ # TODO: Change back once tests/bug753605-atsize.jpg is part of the dist tarball
13− src = fetchurl {
13+ # src = fetchurl {
14− url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
14+ # url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
15− sha256 = "1b6e5eef09d98f05f383014ecd3503e25dfb03d7e5b5f5904e5a65b049a6a4d8";
15+ # sha256 = "0d534ysa6n9prd17wwzisq7mj6qkhwh8wcf8qgin1ar3hbs5ry7z";
16+ # };
17+ src = fetchgit {
18+ url = https://git.gnome.org/browse/gdk-pixbuf;
19+ rev = version;
20+ sha256 = "18lwqg63vyap2m1mw049rnb8fm869429xbf7636a2n21gs3d3jwv";
16 };
21 };
17
22
18− outputs = [ "out" "dev" "devdoc" ];
23+ patches = [
24+ # TODO: since 2.36.8 gdk-pixbuf gets configured to use mime-type sniffing,
25+ # which requires access to shared-mime-info files during runtime.
26+ # For now, we are patching the build script to avoid the dependency.
27+ ./no-mime-sniffing.patch
19
28
20− setupHook = ./setup-hook.sh;
29+ # Fix installed tests with meson
30+ # https://bugzilla.gnome.org/show_bug.cgi?id=795527
31+ (fetchurl {
32+ url = https://bugzilla.gnome.org/attachment.cgi?id=371381;
33+ sha256 = "0nl1cixkjfa5kcfh0laz8h6hdsrpdkxqn7a1k35jrb6zwc9hbydn";
34+ })
35+
36+ # Add missing test file bug753605-atsize.jpg
37+ (fetchpatch {
38+ url = https://git.gnome.org/browse/gdk-pixbuf/patch/?id=87f8f4bf01dfb9982c1ef991e4060a5e19fdb7a7;
39+ sha256 = "1slzywwnrzfx3zjzdsxrvp4g2q4skmv50pdfmyccp41j7bfyb2j0";
40+ })
21
41
22− enableParallelBuilding = true;
42+ # Move installed tests to a separate output
43+ ./installed-tests-path.patch
44+ ];
45+
46+ outputs = [ "out" "dev" "man" "devdoc" "installedTests" ];
47+
48+ setupHook = ./setup-hook.sh;
23
49
24 # !!! We might want to factor out the gdk-pixbuf-xlib subpackage.
50 # !!! We might want to factor out the gdk-pixbuf-xlib subpackage.
25− buildInputs = [ libX11 gobjectIntrospection ];
51+ buildInputs = [ libX11 ];
26
52
27− nativeBuildInputs = [ pkgconfig ];
53+ nativeBuildInputs = [
54+ meson ninja pkgconfig gettext python3 libxml2 libxslt docbook_xsl docbook_xml_dtd_43
55+ gtk-doc gobjectIntrospection makeWrapper
56+ ];
28
57
29 propagatedBuildInputs = [ glib libtiff libjpeg libpng jasper ];
58 propagatedBuildInputs = [ glib libtiff libjpeg libpng jasper ];
30
59
31− configureFlags = "--with-libjasper --with-x11"
60+ mesonFlags = [
61+ "-Ddocs=true"
62+ "-Djasper=true"
63+ "-Dx11=true"
32− + stdenv.lib.optionalString (gobjectIntrospection != null) " --enable-introspection=yes"
64+ "-Dgir=${if gobjectIntrospection != null then "true" else "false"}"
33− ;
65+ ];
66+
67+ postPatch = ''
68+ chmod +x build-aux/* # patchShebangs only applies to executables
69+ patchShebangs build-aux
34
70
35− # on darwin, tests don't link
71+ substituteInPlace tests/meson.build --subst-var-by installedtestsprefix "$installedTests"
36− preBuild = stdenv.lib.optionalString (stdenv.isDarwin && !doCheck) ''
37− substituteInPlace Makefile --replace "docs tests" "docs"
38 '';
72 '';
39
73
40 postInstall =
74 postInstall =
@@ -42,10 +76,13 @@ stdenv.mkDerivation rec {
42 ''
76 ''
43 moveToOutput "bin" "$dev"
77 moveToOutput "bin" "$dev"
44 moveToOutput "bin/gdk-pixbuf-thumbnailer" "$out"
78 moveToOutput "bin/gdk-pixbuf-thumbnailer" "$out"
79+
80+ # We need to install 'loaders.cache' in lib/gdk-pixbuf-2.0/2.10.0/
81+ $dev/bin/gdk-pixbuf-query-loaders --update-cache
45 '';
82 '';
46
83
47 # The tests take an excessive amount of time (> 1.5 hours) and memory (> 6 GB).
84 # The tests take an excessive amount of time (> 1.5 hours) and memory (> 6 GB).
48− inherit (doCheck);
85+ inherit doCheck;
49
86
50 passthru = {
87 passthru = {
51 updateScript = gnome3.updateScript {
88 updateScript = gnome3.updateScript {
pkgs/development/libraries/gdk-pixbuf/installed-tests-path.patchnew file+13
@@ -0,0 +1,13 @@
1+--- a/tests/meson.build
2++++ b/tests/meson.build
3+@@ -85,8 +85,8 @@
4+ 'aero.gif',
5+ ]
6+
7+-installed_test_bindir = join_paths(gdk_pixbuf_libexecdir, 'installed-tests', meson.project_name())
8+-installed_test_datadir = join_paths(gdk_pixbuf_datadir, 'installed-tests', meson.project_name())
9++installed_test_bindir = join_paths('@installedtestsprefix@', 'libexec', 'installed-tests', meson.project_name())
10++installed_test_datadir = join_paths('@installedtestsprefix@', 'share', 'installed-tests', meson.project_name())
11+
12+ install_data(test_data, install_dir: installed_test_bindir)
13+ install_subdir('test-images', install_dir: installed_test_bindir)
pkgs/development/libraries/gdk-pixbuf/no-mime-sniffing.patchnew file+18
@@ -0,0 +1,18 @@
1+--- a/meson.build
2++++ b/meson.build
3+@@ -186,13 +186,8 @@
4+ gmodule_dep = dependency('gmodule-no-export-2.0')
5+ gio_dep = dependency('gio-2.0')
6+
7+-# On non-Windows/macOS systems we always required shared-mime-info and GIO
8+-if host_system != 'windows' and host_system != 'darwin'
9+- shared_mime_dep = dependency('shared-mime-info')
10+- gdk_pixbuf_conf.set('GDK_PIXBUF_USE_GIO_MIME', 1)
11+-else
12+- shared_mime_dep = []
13+-endif
14++# No MIME sniffing for now
15++shared_mime_dep = []
16+
17+ gdk_pixbuf_deps = [ mathlib_dep, gobject_dep, gmodule_dep, gio_dep, shared_mime_dep ]
18+
pkgs/development/libraries/gegl/default.nix+2
@@ -25,6 +25,8 @@ stdenv.mkDerivation rec {
25
25
26 nativeBuildInputs = [ pkgconfig ];
26 nativeBuildInputs = [ pkgconfig ];
27
27
28+ doCheck = false; # fails 3 out of 19 tests
29+
28 meta = {
30 meta = {
29 description = "Graph-based image processing framework";
31 description = "Graph-based image processing framework";
30 homepage = http://www.gegl.org;
32 homepage = http://www.gegl.org;
pkgs/development/libraries/geoclue/2.0.nix+2−2
@@ -5,11 +5,11 @@
5with stdenv.lib;
5with stdenv.lib;
6
6
7stdenv.mkDerivation rec {
7stdenv.mkDerivation rec {
8− name = "geoclue-2.4.7";
8+ name = "geoclue-2.4.8";
9
9
10 src = fetchurl {
10 src = fetchurl {
11 url = "http://www.freedesktop.org/software/geoclue/releases/2.4/${name}.tar.xz";
11 url = "http://www.freedesktop.org/software/geoclue/releases/2.4/${name}.tar.xz";
12− sha256 = "19hfmr8fa1js8ynazdyjxlyrqpjn6m1719ay70ilga4rayxrcyyi";
12+ sha256 = "08yg1r7m0n9hwyvcy769qkmkf8lslqwv69cjfffwnc3zm5km25qj";
13 };
13 };
14
14
15 outputs = [ "out" "dev" ];
15 outputs = [ "out" "dev" ];
pkgs/development/libraries/gettext/default.nix+16−17
@@ -16,12 +16,19 @@ stdenv.mkDerivation rec {
16
16
17 LDFLAGS = if stdenv.isSunOS then "-lm -lmd -lmp -luutil -lnvpair -lnsl -lidmap -lavl -lsec" else "";
17 LDFLAGS = if stdenv.isSunOS then "-lm -lmd -lmp -luutil -lnvpair -lnsl -lidmap -lavl -lsec" else "";
18
18
19+ configureFlags = [
19− configureFlags = [ "--disable-csharp" "--with-xz" ]
20+ "--disable-csharp" "--with-xz"
20 # avoid retaining reference to CF during stdenv bootstrap
21 # avoid retaining reference to CF during stdenv bootstrap
21− ++ lib.optionals stdenv.isDarwin [
22+ ] ++ lib.optionals stdenv.isDarwin [
22− "gt_cv_func_CFPreferencesCopyAppValue=no"
23+ "gt_cv_func_CFPreferencesCopyAppValue=no"
23− "gt_cv_func_CFLocaleCopyCurrent=no"
24+ "gt_cv_func_CFLocaleCopyCurrent=no"
25+ ] ++ stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
26+ # On cross building, gettext supposes that the wchar.h from libc
27+ # does not fulfill gettext needs, so it tries to work with its
28+ # own wchar.h file, which does not cope well with the system's
29+ # wchar.h and stddef.h (gcc-4.3 - glibc-2.9)
30+ "gl_cv_func_wcwidth_works=yes"
24− ];
31+ ];
25
32
26 postPatch = ''
33 postPatch = ''
27 substituteAllInPlace gettext-runtime/src/gettext.sh.in
34 substituteAllInPlace gettext-runtime/src/gettext.sh.in
@@ -33,22 +40,14 @@ stdenv.mkDerivation rec {
33 sed -i -e "s/\(libgettextsrc_la_LDFLAGS = \)/\\1..\/gnulib-lib\/libxml_rpl.la /" gettext-tools/src/Makefile.in
40 sed -i -e "s/\(libgettextsrc_la_LDFLAGS = \)/\\1..\/gnulib-lib\/libxml_rpl.la /" gettext-tools/src/Makefile.in
34 '';
41 '';
35
42
36− # On cross building, gettext supposes that the wchar.h from libc
37− # does not fulfill gettext needs, so it tries to work with its
38− # own wchar.h file, which does not cope well with the system's
39− # wchar.h and stddef.h (gcc-4.3 - glibc-2.9)
40− preConfigure = ''
41− if test -n "$crossConfig"; then
42− echo gl_cv_func_wcwidth_works=yes > cachefile
43− configureFlags="$configureFlags --cache-file=`pwd`/cachefile"
44− fi
45− '';
46−
47 nativeBuildInputs = [ xz xz.bin ];
43 nativeBuildInputs = [ xz xz.bin ];
48 # HACK, see #10874 (and 14664)
44 # HACK, see #10874 (and 14664)
49 buildInputs = stdenv.lib.optional (!stdenv.isLinux && !hostPlatform.isCygwin) libiconv;
45 buildInputs = stdenv.lib.optional (!stdenv.isLinux && !hostPlatform.isCygwin) libiconv;
50
46
47+ setupHooks = [
48+ ../../../build-support/setup-hooks/role.bash
51− setupHook = ./gettext-setup-hook.sh;
49+ ./gettext-setup-hook.sh
50+ ];
52 gettextNeedsLdflags = hostPlatform.libc != "glibc" && !hostPlatform.isMusl;
51 gettextNeedsLdflags = hostPlatform.libc != "glibc" && !hostPlatform.isMusl;
53
52
54 enableParallelBuilding = true;
53 enableParallelBuilding = true;
pkgs/development/libraries/gettext/gettext-setup-hook.sh+6−17
@@ -1,6 +1,8 @@
1gettextDataDirsHook() {
1gettextDataDirsHook() {
2+ # See pkgs/build-support/setup-hooks/role.bash
3+ getHostRoleEnvHook
2 if [ -d "$1/share/gettext" ]; then
4 if [ -d "$1/share/gettext" ]; then
3− addToSearchPath GETTEXTDATADIRS "$1/share/gettext"
5+ addToSearchPath "GETTEXTDATADIRS${role_post}" "$1/share/gettext"
4 fi
6 fi
5}
7}
6
8
@@ -8,21 +10,8 @@ addEnvHooks "$hostOffset" gettextDataDirsHook
8
10
9# libintl must be listed in load flags on non-Glibc
11# libintl must be listed in load flags on non-Glibc
10# it doesn't hurt to have it in Glibc either though
12# it doesn't hurt to have it in Glibc either though
11−gettextLdflags() {
12− # The `depHostOffset` describes how the host platform of the dependencies
13− # are slid relative to the depending package. It is brought into scope of
14− # the environment hook defined as the role of the dependency being applied.
15− case $depHostOffset in
16− -1) local role='BUILD_' ;;
17− 0) local role='' ;;
18− 1) local role='TARGET_' ;;
19− *) echo "cc-wrapper: Error: Cannot be used with $depHostOffset-offset deps" >2;
20− return 1 ;;
21− esac
22−
23− export NIX_${role}LDFLAGS+=" -lintl"
24−}
25−
26if [ ! -z "@gettextNeedsLdflags@" ]; then
13if [ ! -z "@gettextNeedsLdflags@" ]; then
27− addEnvHooks "$hostOffset" gettextLdflags
14+ # See pkgs/build-support/setup-hooks/role.bash
15+ getHostRole
16+ export NIX_${role_pre}LDFLAGS+=" -lintl"
28fi
17fi
pkgs/development/libraries/git2/0.25.nix+2
@@ -25,6 +25,8 @@ stdenv.mkDerivation rec {
25
25
26 enableParallelBuilding = true;
26 enableParallelBuilding = true;
27
27
28+ doCheck = false; # hangs. or very expensive?
29+
28 meta = {
30 meta = {
29 description = "The Git linkable library";
31 description = "The Git linkable library";
30 homepage = https://libgit2.github.com/;
32 homepage = https://libgit2.github.com/;
pkgs/development/libraries/git2/default.nix+2
@@ -26,6 +26,8 @@ stdenv.mkDerivation (rec {
26
26
27 enableParallelBuilding = true;
27 enableParallelBuilding = true;
28
28
29+ doCheck = false; # hangs. or very expensive?
30+
29 meta = with stdenv.lib; {
31 meta = with stdenv.lib; {
30 description = "The Git linkable library";
32 description = "The Git linkable library";
31 homepage = https://libgit2.github.com/;
33 homepage = https://libgit2.github.com/;
pkgs/development/libraries/glib/default.nix+1−1
@@ -65,7 +65,7 @@ stdenv.mkDerivation rec {
65 ++ optionals stdenv.isLinux [ utillinuxMinimal ] # for libmount
65 ++ optionals stdenv.isLinux [ utillinuxMinimal ] # for libmount
66 ++ optionals doCheck [ tzdata libxml2 desktop-file-utils shared-mime-info ];
66 ++ optionals doCheck [ tzdata libxml2 desktop-file-utils shared-mime-info ];
67
67
68− nativeBuildInputs = [ pkgconfig perl python ];
68+ nativeBuildInputs = [ pkgconfig perl python gettext ];
69
69
70 propagatedBuildInputs = [ zlib libffi gettext libiconv ];
70 propagatedBuildInputs = [ zlib libffi gettext libiconv ];
71
71
pkgs/development/libraries/glibc/common.nix+2
@@ -188,6 +188,8 @@ stdenv.mkDerivation ({
188
188
189 preBuild = lib.optionalString withGd "unset NIX_DONT_SET_RPATH";
189 preBuild = lib.optionalString withGd "unset NIX_DONT_SET_RPATH";
190
190
191+ doCheck = false; # fails
192+
191 meta = {
193 meta = {
192 homepage = http://www.gnu.org/software/libc/;
194 homepage = http://www.gnu.org/software/libc/;
193 description = "The GNU C Library";
195 description = "The GNU C Library";
pkgs/development/libraries/glibc/default.nix+7−6
@@ -71,14 +71,15 @@ callPackage ./common.nix { inherit stdenv; } {
71
71
72 # Get rid of more unnecessary stuff.
72 # Get rid of more unnecessary stuff.
73 rm -rf $out/var $bin/bin/sln
73 rm -rf $out/var $bin/bin/sln
74−
74+ ''
75 # For some reason these aren't stripped otherwise and retain reference
75 # For some reason these aren't stripped otherwise and retain reference
76 # to bootstrap-tools; on cross-arm this stripping would break objects.
76 # to bootstrap-tools; on cross-arm this stripping would break objects.
77− if [ -z "$crossConfig" ]; then
77+ + stdenv.lib.optionalString (stdenv.hostPlatform == stdenv.buildPlatform) ''
78+
78− for i in "$out"/lib/*.a; do
79+ for i in "$out"/lib/*.a; do
79− [ "$i" = "$out/lib/libm.a" ] || strip -S "$i"
80+ [ "$i" = "$out/lib/libm.a" ] || $STRIP -S "$i"
80− done
81+ done
81− fi
82+ '' + ''
82
83
83 # Put libraries for static linking in a separate output. Note
84 # Put libraries for static linking in a separate output. Note
84 # that libc_nonshared.a and libpthread_nonshared.a are required
85 # that libc_nonshared.a and libpthread_nonshared.a are required
pkgs/development/libraries/gnu-config/default.nix+3−3
@@ -1,16 +1,16 @@
1{ stdenv, fetchurl }:
1{ stdenv, fetchurl }:
2
2
3let
3let
4− rev = "6a82322dd05cdc57b4cd9f7effdf1e2fd6f7482b";
4+ rev = "b75cdc942a6172f63b34faf642b8c797239f6776";
5
5
6 # Don't use fetchgit as this is needed during Aarch64 bootstrapping
6 # Don't use fetchgit as this is needed during Aarch64 bootstrapping
7 configGuess = fetchurl {
7 configGuess = fetchurl {
8 url = "http://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=${rev}";
8 url = "http://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=${rev}";
9− sha256 = "1yj9yi94h7z4z6jzickddv64ksz1aq5kj0c7krgzjn8xf8p3avmh";
9+ sha256 = "1bb8z1wzjs81p9qrvji4bc2a8zyxjinz90k8xq7sxxdp6zrmq1sv";
10 };
10 };
11 configSub = fetchurl {
11 configSub = fetchurl {
12 url = "http://git.savannah.gnu.org/cgit/config.git/plain/config.sub?id=${rev}";
12 url = "http://git.savannah.gnu.org/cgit/config.git/plain/config.sub?id=${rev}";
13− sha256 = "1qsqdpla6icbzskkk7v3zxrpzlpqlc94ny9hyy5wh5lm5rwwfvb7";
13+ sha256 = "00dn5i2cp4iqap5vr368r5ifrgcjfq5pr97i4dkkdbha1han5hsc";
14 };
14 };
15in
15in
16stdenv.mkDerivation rec {
16stdenv.mkDerivation rec {
pkgs/development/libraries/gobject-introspection/default.nix+2
@@ -49,6 +49,8 @@ stdenv.mkDerivation rec {
49 cairoLib = "${getLib cairo}/lib";
49 cairoLib = "${getLib cairo}/lib";
50 });
50 });
51
51
52+ doCheck = false; # fails
53+
52 passthru = {
54 passthru = {
53 updateScript = gnome3.updateScript {
55 updateScript = gnome3.updateScript {
54 packageName = pname;
56 packageName = pname;
pkgs/development/libraries/grantlee/5/default.nix+2
@@ -31,6 +31,8 @@ mkDerivation rec {
31
31
32 setupHook = ./setup-hook.sh;
32 setupHook = ./setup-hook.sh;
33
33
34+ doCheck = false; # fails all the tests (ctest)
35+
34 meta = with lib; {
36 meta = with lib; {
35 description = "Qt5 port of Django template system";
37 description = "Qt5 port of Django template system";
36 longDescription = ''
38 longDescription = ''
pkgs/development/libraries/gstreamer/bad/default.nix+5
@@ -70,4 +70,9 @@ stdenv.mkDerivation rec {
70 ++ optional (!stdenv.isDarwin) wildmidi
70 ++ optional (!stdenv.isDarwin) wildmidi
71 # TODO: mjpegtools uint64_t is not compatible with guint64 on Darwin
71 # TODO: mjpegtools uint64_t is not compatible with guint64 on Darwin
72 ++ optional (!stdenv.isDarwin) mjpegtools;
72 ++ optional (!stdenv.isDarwin) mjpegtools;
73+
74+ enableParallelBuilding = true;
75+
76+ doCheck = false; # fails 20 out of 58 tests, expensive
77+
73}
78}
pkgs/development/libraries/gstreamer/base/default.nix+2−2
@@ -1,7 +1,7 @@
1{ stdenv, fetchurl, fetchpatch, lib
1{ stdenv, fetchurl, fetchpatch, lib
2, pkgconfig, meson, ninja, gettext, gobjectIntrospection
2, pkgconfig, meson, ninja, gettext, gobjectIntrospection
3, python, gstreamer, orc, pango, libtheora, libvisual
3, python, gstreamer, orc, pango, libtheora, libvisual
4−, libintl
4+, libintl, libopus
5, enableX11 ? stdenv.isLinux, libXv
5, enableX11 ? stdenv.isLinux, libXv
6, enableWayland ? stdenv.isLinux, wayland
6, enableWayland ? stdenv.isLinux, wayland
7, enableAlsa ? stdenv.isLinux, alsaLib
7, enableAlsa ? stdenv.isLinux, alsaLib
@@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
42 # Introspection fails on my MacBook currently
42 # Introspection fails on my MacBook currently
43 ++ lib.optional stdenv.isDarwin "--disable-introspection";
43 ++ lib.optional stdenv.isDarwin "--disable-introspection";
44
44
45− buildInputs = [ orc libtheora libintl ]
45+ buildInputs = [ orc libtheora libintl libopus ]
46 ++ lib.optional enableAlsa alsaLib
46 ++ lib.optional enableAlsa alsaLib
47 ++ lib.optionals enableX11 [ libXv pango ]
47 ++ lib.optionals enableX11 [ libXv pango ]
48 ++ lib.optional enableWayland wayland
48 ++ lib.optional enableWayland wayland
pkgs/development/libraries/gtk+/2.x.nix+10−1
@@ -4,6 +4,7 @@
4, cupsSupport ? true, cups ? null
4, cupsSupport ? true, cups ? null
5, gdktarget ? "x11"
5, gdktarget ? "x11"
6, AppKit, Cocoa
6, AppKit, Cocoa
7+, fetchpatch
7}:
8}:
8
9
9assert xineramaSupport -> xorg.libXinerama != null;
10assert xineramaSupport -> xorg.libXinerama != null;
@@ -28,7 +29,13 @@ stdenv.mkDerivation rec {
28
29
29 nativeBuildInputs = [ setupHook perl pkgconfig gettext gobjectIntrospection ];
30 nativeBuildInputs = [ setupHook perl pkgconfig gettext gobjectIntrospection ];
30
31
32+ patches = [
31− patches = [ ./2.0-immodules.cache.patch ./gtk2-theme-paths.patch ];
33+ ./2.0-immodules.cache.patch
34+ ./gtk2-theme-paths.patch
35+ ] ++ optional stdenv.isDarwin (fetchpatch {
36+ url = https://bug557780.bugzilla-attachments.gnome.org/attachment.cgi?id=306776;
37+ sha256 = "0sp8f1r5c4j2nlnbqgv7s7nxa4cfwigvm033hvhb1ld652pjag4r";
38+ });
32
39
33 propagatedBuildInputs = with xorg;
40 propagatedBuildInputs = with xorg;
34 [ glib cairo pango gdk_pixbuf atk ]
41 [ glib cairo pango gdk_pixbuf atk ]
@@ -49,6 +56,8 @@ stdenv.mkDerivation rec {
49 "--disable-visibility"
56 "--disable-visibility"
50 ];
57 ];
51
58
59+ doCheck = false; # needs X11
60+
52 postInstall = ''
61 postInstall = ''
53 moveToOutput share/gtk-2.0/demo "$devdoc"
62 moveToOutput share/gtk-2.0/demo "$devdoc"
54 # The updater is needed for nixos env and it's tiny.
63 # The updater is needed for nixos env and it's tiny.
pkgs/development/libraries/gtk+/3.x.nix+2
@@ -63,6 +63,8 @@ stdenv.mkDerivation rec {
63 "--enable-wayland-backend"
63 "--enable-wayland-backend"
64 ];
64 ];
65
65
66+ doCheck = false; # needs X11
67+
66 postInstall = optionalString (!stdenv.isDarwin) ''
68 postInstall = optionalString (!stdenv.isDarwin) ''
67 substituteInPlace "$out/lib/gtk-3.0/3.0.0/printbackends/libprintbackend-cups.la" \
69 substituteInPlace "$out/lib/gtk-3.0/3.0.0/printbackends/libprintbackend-cups.la" \
68 --replace '-L${gmp.dev}/lib' '-L${gmp.out}/lib'
70 --replace '-L${gmp.dev}/lib' '-L${gmp.out}/lib'
pkgs/development/libraries/gts/default.nix+2
@@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
13 nativeBuildInputs = [ pkgconfig ];
13 nativeBuildInputs = [ pkgconfig ];
14 buildInputs = [ glib gettext ];
14 buildInputs = [ glib gettext ];
15
15
16+ doCheck = false; # fails with "permission denied"
17+
16 meta = {
18 meta = {
17 homepage = http://gts.sourceforge.net/;
19 homepage = http://gts.sourceforge.net/;
18 license = stdenv.lib.licenses.lgpl2Plus;
20 license = stdenv.lib.licenses.lgpl2Plus;
pkgs/development/libraries/id3lib/default.nix+3−1
@@ -9,12 +9,14 @@ stdenv.mkDerivation {
9 ];
9 ];
10
10
11 buildInputs = [ zlib ];
11 buildInputs = [ zlib ];
12−
12+
13 src = fetchurl {
13 src = fetchurl {
14 url = mirror://sourceforge/id3lib/id3lib-3.8.3.tar.gz;
14 url = mirror://sourceforge/id3lib/id3lib-3.8.3.tar.gz;
15 sha256 = "0yfhqwk0w8q2hyv1jib1008jvzmwlpsxvc8qjllhna6p1hycqj97";
15 sha256 = "0yfhqwk0w8q2hyv1jib1008jvzmwlpsxvc8qjllhna6p1hycqj97";
16 };
16 };
17
17
18+ doCheck = false; # fails to compile
19+
18 meta = {
20 meta = {
19 platforms = stdenv.lib.platforms.unix;
21 platforms = stdenv.lib.platforms.unix;
20 };
22 };
pkgs/development/libraries/jasper/default.nix+2
@@ -30,6 +30,8 @@ stdenv.mkDerivation rec {
30
30
31 enableParallelBuilding = true;
31 enableParallelBuilding = true;
32
32
33+ doCheck = false; # fails
34+
33 postInstall = ''
35 postInstall = ''
34 moveToOutput bin "$bin"
36 moveToOutput bin "$bin"
35 '';
37 '';
pkgs/development/libraries/kerberos/heimdal.nix+8−6
@@ -1,7 +1,7 @@
1{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, python2, perl, yacc, flex
1{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, python2, perl, yacc, flex
2, texinfo, perlPackages
2, texinfo, perlPackages
3, openldap, libcap_ng, sqlite, openssl, db, libedit, pam
3, openldap, libcap_ng, sqlite, openssl, db, libedit, pam
4−
4+, CoreFoundation, Security, SystemConfiguration
5# Extra Args
5# Extra Args
6, type ? ""
6, type ? ""
7}:
7}:
@@ -26,8 +26,9 @@ stdenv.mkDerivation rec {
26 nativeBuildInputs = [ autoreconfHook pkgconfig python2 perl yacc flex ]
26 nativeBuildInputs = [ autoreconfHook pkgconfig python2 perl yacc flex ]
27 ++ (with perlPackages; [ JSON ])
27 ++ (with perlPackages; [ JSON ])
28 ++ optional (!libOnly) texinfo;
28 ++ optional (!libOnly) texinfo;
29− buildInputs = optionals (!stdenv.isFreeBSD) [ libcap_ng db ]
29+ buildInputs = optionals (stdenv.isLinux) [ libcap_ng ]
30− ++ [ sqlite openssl libedit ]
30+ ++ [ db sqlite openssl libedit ]
31+ ++ optionals (stdenv.isDarwin) [ CoreFoundation Security SystemConfiguration ]
31 ++ optionals (!libOnly) [ openldap pam ];
32 ++ optionals (!libOnly) [ openldap pam ];
32
33
33 ## ugly, X should be made an option
34 ## ugly, X should be made an option
@@ -39,10 +40,11 @@ stdenv.mkDerivation rec {
39 "--with-libedit=${libedit}"
40 "--with-libedit=${libedit}"
40 "--with-openssl=${openssl.dev}"
41 "--with-openssl=${openssl.dev}"
41 "--without-x"
42 "--without-x"
42− "--with-berkeley-db=${db}"
43+ "--with-berkeley-db"
44+ "--with-berkeley-db-include=${db.dev}/include"
43 ] ++ optionals (!libOnly) [
45 ] ++ optionals (!libOnly) [
44 "--with-openldap=${openldap.dev}"
46 "--with-openldap=${openldap.dev}"
45− ] ++ optionals (!stdenv.isFreeBSD) [
47+ ] ++ optionals (stdenv.isLinux) [
46 "--with-capng"
48 "--with-capng"
47 ];
49 ];
48
50
@@ -92,7 +94,7 @@ stdenv.mkDerivation rec {
92 meta = {
94 meta = {
93 description = "An implementation of Kerberos 5 (and some more stuff)";
95 description = "An implementation of Kerberos 5 (and some more stuff)";
94 license = licenses.bsd3;
96 license = licenses.bsd3;
95− platforms = platforms.linux ++ platforms.freebsd;
97+ platforms = platforms.unix;
96 maintainers = with maintainers; [ wkennington ];
98 maintainers = with maintainers; [ wkennington ];
97 };
99 };
98
100
pkgs/development/libraries/kerberos/krb5.nix+1
@@ -62,6 +62,7 @@ stdenv.mkDerivation rec {
62 '';
62 '';
63
63
64 enableParallelBuilding = true;
64 enableParallelBuilding = true;
65+ doCheck = false; # fails with "No suitable file for testing purposes"
65
66
66 meta = {
67 meta = {
67 description = "MIT Kerberos 5";
68 description = "MIT Kerberos 5";
pkgs/development/libraries/lcms/default.nix+2
@@ -12,6 +12,8 @@ stdenv.mkDerivation {
12
12
13 outputs = [ "bin" "dev" "out" "man" ];
13 outputs = [ "bin" "dev" "out" "man" ];
14
14
15+ doCheck = false; # fails with "Error in Linear interpolation (2p): Must be i=8000, But is n=8001"
16+
15 meta = {
17 meta = {
16 description = "Color management engine";
18 description = "Color management engine";
17 homepage = http://www.littlecms.com/;
19 homepage = http://www.littlecms.com/;
pkgs/development/libraries/ldns/default.nix+3
@@ -40,6 +40,9 @@ stdenv.mkDerivation rec {
40 "--with-trust-anchor=${dns-root-data}/root.key"
40 "--with-trust-anchor=${dns-root-data}/root.key"
41 "--with-drill"
41 "--with-drill"
42 "--disable-gost"
42 "--disable-gost"
43+ ] ++ stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
44+ "ac_cv_func_malloc_0_nonnull=yes"
45+ "ac_cv_func_realloc_0_nonnull=yes"
43 ];
46 ];
44
47
45 postInstall = ''
48 postInstall = ''
pkgs/development/libraries/libappindicator/default.nix+1−1
@@ -2,7 +2,7 @@
2
2
3{ stdenv, fetchurl, lib, file
3{ stdenv, fetchurl, lib, file
4, pkgconfig, autoconf
4, pkgconfig, autoconf
5−, glib, dbus-glib, gtkVersion
5+, glib, dbus-glib, gtkVersion ? "3"
6, gtk2 ? null, libindicator-gtk2 ? null, libdbusmenu-gtk2 ? null
6, gtk2 ? null, libindicator-gtk2 ? null, libdbusmenu-gtk2 ? null
7, gtk3 ? null, libindicator-gtk3 ? null, libdbusmenu-gtk3 ? null
7, gtk3 ? null, libindicator-gtk3 ? null, libdbusmenu-gtk3 ? null
8, python2Packages, gobjectIntrospection, vala
8, python2Packages, gobjectIntrospection, vala
pkgs/development/libraries/libarchive/default.nix+2
@@ -38,6 +38,8 @@ stdenv.mkDerivation rec {
38 echo "#include <windows.h>" >> config.h
38 echo "#include <windows.h>" >> config.h
39 '' else null;
39 '' else null;
40
40
41+ doCheck = false; # fails
42+
41 preFixup = ''
43 preFixup = ''
42 sed -i $lib/lib/libarchive.la \
44 sed -i $lib/lib/libarchive.la \
43 -e 's|-lcrypto|-L${openssl.out}/lib -lcrypto|' \
45 -e 's|-lcrypto|-L${openssl.out}/lib -lcrypto|' \
pkgs/development/libraries/libav/default.nix+24−28
@@ -18,7 +18,7 @@
18
18
19assert faacSupport -> enableUnfree;
19assert faacSupport -> enableUnfree;
20
20
21−let inherit (stdenv.lib) optional optionals hasPrefix; in
21+let inherit (stdenv.lib) optional optionals hasPrefix enableFeature; in
22
22
23/* ToDo:
23/* ToDo:
24 - more deps, inspiration: http://packages.ubuntu.com/raring/libav-tools
24 - more deps, inspiration: http://packages.ubuntu.com/raring/libav-tools
@@ -51,29 +51,35 @@ let
51 substituteInPlace ./configure --replace "#! /bin/sh" "#!${bash}/bin/sh"
51 substituteInPlace ./configure --replace "#! /bin/sh" "#!${bash}/bin/sh"
52 '';
52 '';
53
53
54− configureFlags =
54+ configurePlatforms = [];
55− assert stdenv.lib.all (x: x!=null) buildInputs;
55+ configureFlags = assert stdenv.lib.all (x: x!=null) buildInputs; [
56− [
56+ "--arch=${hostPlatform.parsed.cpu.name}"
57+ "--target_os=${hostPlatform.parsed.kernel.name}"
57 #"--enable-postproc" # it's now a separate package in upstream
58 #"--enable-postproc" # it's now a separate package in upstream
58 "--disable-avserver" # upstream says it's in a bad state
59 "--disable-avserver" # upstream says it's in a bad state
59 "--enable-avplay"
60 "--enable-avplay"
60 "--enable-shared"
61 "--enable-shared"
61 "--enable-runtime-cpudetect"
62 "--enable-runtime-cpudetect"
62 "--cc=cc"
63 "--cc=cc"
63− ]
64+ (enableFeature enableGPL "gpl")
64− ++ optionals enableGPL [ "--enable-gpl" "--enable-swscale" ]
65+ (enableFeature enableGPL "swscale")
66+ (enableFeature mp3Support "libmp3lame")
65− ++ optional mp3Support "--enable-libmp3lame"
67+ (enableFeature mp3Support "libmp3lame")
66− ++ optional speexSupport "--enable-libspeex"
68+ (enableFeature speexSupport "libspeex")
67− ++ optional theoraSupport "--enable-libtheora"
69+ (enableFeature theoraSupport "libtheora")
68− ++ optional vorbisSupport "--enable-libvorbis"
70+ (enableFeature vorbisSupport "libvorbis")
69− ++ optional vpxSupport "--enable-libvpx"
71+ (enableFeature vpxSupport "libvpx")
70− ++ optional x264Support "--enable-libx264"
72+ (enableFeature x264Support "libx264")
71− ++ optional xvidSupport "--enable-libxvid"
73+ (enableFeature xvidSupport "libxvid")
72− ++ optional faacSupport "--enable-libfaac --enable-nonfree"
74+ (enableFeature faacSupport "libfaac")
75+ (enableFeature faacSupport "nonfree")
73− ++ optional vaapiSupport "--enable-vaapi"
76+ (enableFeature vaapiSupport "vaapi")
74− ++ optional vdpauSupport "--enable-vdpau"
77+ (enableFeature vdpauSupport "vdpau")
75− ++ optional freetypeSupport "--enable-libfreetype"
78+ (enableFeature freetypeSupport "libfreetype")
79+ ] ++ optional (stdenv.hostPlatform != stdenv.buildPlatform) [
80+ "--cross-prefix=${stdenv.cc.targetPrefix}"
81+ "--enable-cross-compile"
76− ;
82+ ];
77
83
78 nativeBuildInputs = [ pkgconfig perl ];
84 nativeBuildInputs = [ pkgconfig perl ];
79 buildInputs = [ lame yasm zlib bzip2 SDL bash ]
85 buildInputs = [ lame yasm zlib bzip2 SDL bash ]
@@ -112,16 +118,6 @@ let
112 doInstallCheck = false; # fails randomly
118 doInstallCheck = false; # fails randomly
113 installCheckTarget = "check"; # tests need to be run *after* installation
119 installCheckTarget = "check"; # tests need to be run *after* installation
114
120
115− crossAttrs = {
116− configurePlatforms = [];
117− configureFlags = configureFlags ++ [
118− "--cross-prefix=${stdenv.cc.targetPrefix}"
119− "--enable-cross-compile"
120− "--target_os=linux"
121− "--arch=${hostPlatform.parsed.cpu.name}"
122− ];
123− };
124−
125 passthru = { inherit vdpauSupport; };
121 passthru = { inherit vdpauSupport; };
126
122
127 meta = with stdenv.lib; {
123 meta = with stdenv.lib; {
pkgs/development/libraries/libcddb/default.nix+2
@@ -10,6 +10,8 @@ stdenv.mkDerivation rec {
10
10
11 buildInputs = stdenv.lib.optional stdenv.isDarwin libiconv;
11 buildInputs = stdenv.lib.optional stdenv.isDarwin libiconv;
12
12
13+ doCheck = false; # fails 3 of 5 tests with locale errors
14+
13 meta = with stdenv.lib; {
15 meta = with stdenv.lib; {
14 description = "C library to access data on a CDDB server (freedb.org)";
16 description = "C library to access data on a CDDB server (freedb.org)";
15 homepage = http://libcddb.sourceforge.net/;
17 homepage = http://libcddb.sourceforge.net/;
pkgs/development/libraries/libcue/default.nix+2
@@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
13
13
14 nativeBuildInputs = [ cmake bison flex ];
14 nativeBuildInputs = [ cmake bison flex ];
15
15
16+ doCheck = false; # fails all the tests (ctest)
17+
16 meta = with stdenv.lib; {
18 meta = with stdenv.lib; {
17 description = "CUE Sheet Parser Library";
19 description = "CUE Sheet Parser Library";
18 longDescription = ''
20 longDescription = ''
pkgs/development/libraries/libdrm/default.nix+2−2
@@ -1,11 +1,11 @@
1{ stdenv, fetchurl, pkgconfig, libpthreadstubs, libpciaccess, valgrind-light }:
1{ stdenv, fetchurl, pkgconfig, libpthreadstubs, libpciaccess, valgrind-light }:
2
2
3stdenv.mkDerivation rec {
3stdenv.mkDerivation rec {
4− name = "libdrm-2.4.91";
4+ name = "libdrm-2.4.92";
5
5
6 src = fetchurl {
6 src = fetchurl {
7 url = "http://dri.freedesktop.org/libdrm/${name}.tar.bz2";
7 url = "http://dri.freedesktop.org/libdrm/${name}.tar.bz2";
8− sha256 = "0068dn47c478vm1lyyhy02gilrpsma0xmcblhvs0dzqyrk80wjk3";
8+ sha256 = "1yirzx8hmlvv6r0l7lb3zxmgy5la2mri9al0k16xqfg19pdqzr79";
9 };
9 };
10
10
11 outputs = [ "out" "dev" "bin" ];
11 outputs = [ "out" "dev" "bin" ];
pkgs/development/libraries/libdvdcss/default.nix+2−2
@@ -2,13 +2,13 @@
2
2
3stdenv.mkDerivation rec {
3stdenv.mkDerivation rec {
4 name = "libdvdcss-${version}";
4 name = "libdvdcss-${version}";
5− version = "1.4.1";
5+ version = "1.4.2";
6
6
7 buildInputs = stdenv.lib.optional stdenv.isDarwin IOKit;
7 buildInputs = stdenv.lib.optional stdenv.isDarwin IOKit;
8
8
9 src = fetchurl {
9 src = fetchurl {
10 url = "http://get.videolan.org/libdvdcss/${version}/${name}.tar.bz2";
10 url = "http://get.videolan.org/libdvdcss/${version}/${name}.tar.bz2";
11− sha256 = "1b7awvyahivglp7qmgx2g5005kc5npv257gw7wxdprjsnx93f1zb";
11+ sha256 = "0x957zzpf4w2cp8zlk29prj8i2q6hay3lzdzsyz8y3cwxivyvhkq";
12 };
12 };
13
13
14 meta = with stdenv.lib; {
14 meta = with stdenv.lib; {
pkgs/development/libraries/libevdev/default.nix+2−2
@@ -1,11 +1,11 @@
1{ stdenv, fetchurl, python }:
1{ stdenv, fetchurl, python }:
2
2
3stdenv.mkDerivation rec {
3stdenv.mkDerivation rec {
4− name = "libevdev-1.5.8";
4+ name = "libevdev-1.5.9";
5
5
6 src = fetchurl {
6 src = fetchurl {
7 url = "https://www.freedesktop.org/software/libevdev/${name}.tar.xz";
7 url = "https://www.freedesktop.org/software/libevdev/${name}.tar.xz";
8− sha256 = "0vac7n1miqdprikq4g63vsk681q8v416r0nbh2xai7b08qgdi0v0";
8+ sha256 = "0xca343ff12wh6nsq76r0nbsfrm8dypjrzm4fqz9vv9v8i8kfrp1";
9 };
9 };
10
10
11 buildInputs = [ python ];
11 buildInputs = [ python ];
pkgs/development/libraries/libevent/default.nix+2
@@ -29,6 +29,8 @@ stdenv.mkDerivation rec {
29 ++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames
29 ++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames
30 ;
30 ;
31
31
32+ doCheck = false; # needs the net
33+
32 postInstall = stdenv.lib.optionalString sslSupport ''
34 postInstall = stdenv.lib.optionalString sslSupport ''
33 moveToOutput "lib/libevent_openssl*" "$openssl"
35 moveToOutput "lib/libevent_openssl*" "$openssl"
34 substituteInPlace "$dev/lib/pkgconfig/libevent_openssl.pc" \
36 substituteInPlace "$dev/lib/pkgconfig/libevent_openssl.pc" \
pkgs/development/libraries/libgudev/default.nix+4−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkgconfig, udev, glib, gnome3 }:
1+{ stdenv, fetchurl, pkgconfig, udev, glib, gobjectIntrospection, gnome3 }:
2
2
3let
3let
4 pname = "libgudev";
4 pname = "libgudev";
@@ -6,12 +6,14 @@ in stdenv.mkDerivation rec {
6 name = "libgudev-${version}";
6 name = "libgudev-${version}";
7 version = "232";
7 version = "232";
8
8
9+ outputs = [ "out" "dev" ];
10+
9 src = fetchurl {
11 src = fetchurl {
10 url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
12 url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
11 sha256 = "ee4cb2b9c573cdf354f6ed744f01b111d4b5bed3503ffa956cefff50489c7860";
13 sha256 = "ee4cb2b9c573cdf354f6ed744f01b111d4b5bed3503ffa956cefff50489c7860";
12 };
14 };
13
15
14− nativeBuildInputs = [ pkgconfig ];
16+ nativeBuildInputs = [ pkgconfig gobjectIntrospection ];
15 buildInputs = [ udev glib ];
17 buildInputs = [ udev glib ];
16
18
17 # There's a dependency cycle with umockdev and the tests fail to LD_PRELOAD anyway.
19 # There's a dependency cycle with umockdev and the tests fail to LD_PRELOAD anyway.
pkgs/development/libraries/libical/default.nix+2
@@ -18,6 +18,8 @@ stdenv.mkDerivation rec {
18 ./respect-env-tzdir.patch
18 ./respect-env-tzdir.patch
19 ];
19 ];
20
20
21+ doCheck = false; # fails all the tests (ctest)
22+
21 meta = with stdenv.lib; {
23 meta = with stdenv.lib; {
22 homepage = https://github.com/libical/libical;
24 homepage = https://github.com/libical/libical;
23 description = "An Open Source implementation of the iCalendar protocols";
25 description = "An Open Source implementation of the iCalendar protocols";
pkgs/development/libraries/libiconv/default.nix+4−1
@@ -14,7 +14,10 @@ stdenv.mkDerivation rec {
14 sha256 = "0y1ij745r4p48mxq84rax40p10ln7fc7m243p8k8sia519i3dxfc";
14 sha256 = "0y1ij745r4p48mxq84rax40p10ln7fc7m243p8k8sia519i3dxfc";
15 };
15 };
16
16
17+ setupHooks = [
18+ ../../../build-support/setup-hooks/role.bash
17− setupHook = ./setup-hook.sh;
19+ ./setup-hook.sh
20+ ];
18
21
19 postPatch =
22 postPatch =
20 lib.optionalString ((hostPlatform != buildPlatform && hostPlatform.libc == "msvcrt") || stdenv.cc.nativeLibc)
23 lib.optionalString ((hostPlatform != buildPlatform && hostPlatform.libc == "msvcrt") || stdenv.cc.nativeLibc)
pkgs/development/libraries/libiconv/setup-hook.sh+3−15
@@ -1,18 +1,6 @@
1# libiconv must be listed in load flags on non-Glibc
1# libiconv must be listed in load flags on non-Glibc
2# it doesn't hurt to have it in Glibc either though
2# it doesn't hurt to have it in Glibc either though
3−iconvLdflags() {
4− # The `depHostOffset` describes how the host platform of the dependencies
5− # are slid relative to the depending package. It is brought into scope of
6− # the environment hook defined as the role of the dependency being applied.
7− case $depHostOffset in
8− -1) local role='BUILD_' ;;
9− 0) local role='' ;;
10− 1) local role='TARGET_' ;;
11− *) echo "cc-wrapper: Error: Cannot be used with $depHostOffset-offset deps" >2;
12− return 1 ;;
13− esac
14
3
4+# See pkgs/build-support/setup-hooks/role.bash
5+getHostRole
15− export NIX_${role}LDFLAGS+=" -liconv"
6+export NIX_${role_pre}LDFLAGS+=" -liconv"
16−}
17−
18−addEnvHooks "$hostOffset" iconvLdflags
pkgs/development/libraries/libidn/default.nix+4−2
@@ -1,11 +1,11 @@
1{ fetchurl, stdenv, libiconv }:
1{ fetchurl, stdenv, libiconv }:
2
2
3stdenv.mkDerivation rec {
3stdenv.mkDerivation rec {
4− name = "libidn-1.33";
4+ name = "libidn-1.34";
5
5
6 src = fetchurl {
6 src = fetchurl {
7 url = "mirror://gnu/libidn/${name}.tar.gz";
7 url = "mirror://gnu/libidn/${name}.tar.gz";
8− sha256 = "068fjg2arlppjqqpzd714n1lf6gxkpac9v5yyvp1qwmv6nvam9s4";
8+ sha256 = "0g3fzypp0xjcgr90c5cyj57apx1cmy0c6y9lvw2qdcigbyby469p";
9 };
9 };
10
10
11 outputs = [ "bin" "dev" "out" "info" "devdoc" ];
11 outputs = [ "bin" "dev" "out" "info" "devdoc" ];
@@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
17
17
18 buildInputs = stdenv.lib.optional stdenv.isDarwin libiconv;
18 buildInputs = stdenv.lib.optional stdenv.isDarwin libiconv;
19
19
20+ doCheck = false; # fails
21+
20 meta = {
22 meta = {
21 homepage = http://www.gnu.org/software/libidn/;
23 homepage = http://www.gnu.org/software/libidn/;
22 description = "Library for internationalized domain names";
24 description = "Library for internationalized domain names";
pkgs/development/libraries/libidn2/default.nix+2−2
@@ -4,11 +4,11 @@ with stdenv.lib;
4
4
5stdenv.mkDerivation rec {
5stdenv.mkDerivation rec {
6 name = "libidn2-${version}";
6 name = "libidn2-${version}";
7− version = "2.0.4";
7+ version = "2.0.5";
8
8
9 src = fetchurl {
9 src = fetchurl {
10 url = "mirror://gnu/gnu/libidn/${name}.tar.gz";
10 url = "mirror://gnu/gnu/libidn/${name}.tar.gz";
11− sha256 = "1w6jycr5bbawimhb72wxf9ic92yrhfadahfj0b70myw5n81nnjv4";
11+ sha256 = "1f529jxmhj12q7i1gvw2d9i24zbslz3kj91kbgxac7vgi1q93xjk";
12 };
12 };
13
13
14 outputs = [ "bin" "dev" "out" "info" "devdoc" ];
14 outputs = [ "bin" "dev" "out" "info" "devdoc" ];
pkgs/development/libraries/libindicate/default.nix+1−1
@@ -3,7 +3,7 @@
3{ stdenv, fetchurl, lib, file
3{ stdenv, fetchurl, lib, file
4, pkgconfig, autoconf
4, pkgconfig, autoconf
5, glib, dbus-glib, libdbusmenu-glib
5, glib, dbus-glib, libdbusmenu-glib
6−, gtkVersion, gtk2 ? null, gtk3 ? null
6+, gtkVersion ? "3", gtk2 ? null, gtk3 ? null
7, pythonPackages, gobjectIntrospection, vala, gnome-doc-utils
7, pythonPackages, gobjectIntrospection, vala, gnome-doc-utils
8, monoSupport ? false, mono ? null, gtk-sharp-2_0 ? null
8, monoSupport ? false, mono ? null, gtk-sharp-2_0 ? null
9 }:
9 }:
pkgs/development/libraries/libindicator/default.nix+3−1
@@ -1,6 +1,6 @@
1{ stdenv, fetchurl, lib, file
1{ stdenv, fetchurl, lib, file
2, pkgconfig
2, pkgconfig
3−, gtkVersion, gtk2 ? null, gtk3 ? null }:
3+, gtkVersion ? "3", gtk2 ? null, gtk3 ? null }:
4
4
5with lib;
5with lib;
6
6
@@ -40,6 +40,8 @@ stdenv.mkDerivation rec {
40 "localstatedir=\${TMPDIR}"
40 "localstatedir=\${TMPDIR}"
41 ];
41 ];
42
42
43+ doCheck = false; # fails 8 out of 8 tests
44+
43 meta = {
45 meta = {
44 description = "A set of symbols and convenience functions for Ayatana indicators";
46 description = "A set of symbols and convenience functions for Ayatana indicators";
45 homepage = https://launchpad.net/libindicator;
47 homepage = https://launchpad.net/libindicator;
pkgs/development/libraries/libinput/default.nix+2−2
@@ -16,11 +16,11 @@ in
16with stdenv.lib;
16with stdenv.lib;
17stdenv.mkDerivation rec {
17stdenv.mkDerivation rec {
18 name = "libinput-${version}";
18 name = "libinput-${version}";
19− version = "1.10.0";
19+ version = "1.10.3";
20
20
21 src = fetchurl {
21 src = fetchurl {
22 url = "http://www.freedesktop.org/software/libinput/${name}.tar.xz";
22 url = "http://www.freedesktop.org/software/libinput/${name}.tar.xz";
23− sha256 = "0mrzsf0349d1g68lizkzxw7vaw459fl8xhl7v0s8njb31hp2riy2";
23+ sha256 = "0002xk9cqzpqrlhgav1wp8nimsbp9d2w8rd8mgygczq2hjar0lhd";
24 };
24 };
25
25
26 outputs = [ "out" "dev" ];
26 outputs = [ "out" "dev" ];
pkgs/development/libraries/libjpeg-turbo/default.nix−3
@@ -29,9 +29,6 @@ stdenv.mkDerivation rec {
29 description = "A faster (using SIMD) libjpeg implementation";
29 description = "A faster (using SIMD) libjpeg implementation";
30 license = licenses.ijg; # and some parts under other BSD-style licenses
30 license = licenses.ijg; # and some parts under other BSD-style licenses
31 maintainers = [ maintainers.vcunat ];
31 maintainers = [ maintainers.vcunat ];
32− # upstream supports darwin (and others), but it doesn't build currently
33 platforms = platforms.all;
32 platforms = platforms.all;
34− hydraPlatforms = platforms.linux;
35 };
33 };
36}
34}
37−
pkgs/development/libraries/libjpeg/default.nix+3−3
@@ -3,11 +3,11 @@
3with stdenv.lib;
3with stdenv.lib;
4
4
5stdenv.mkDerivation {
5stdenv.mkDerivation {
6− name = "libjpeg-8d";
6+ name = "libjpeg-9c";
7
7
8 src = fetchurl {
8 src = fetchurl {
9− url = http://www.ijg.org/files/jpegsrc.v8d.tar.gz;
9+ url = http://www.ijg.org/files/jpegsrc.v9c.tar.gz;
10− sha256 = "1cz0dy05mgxqdgjf52p54yxpyy95rgl30cnazdrfmw7hfca9n0h0";
10+ sha256 = "08kixcf3a7s9x91174abjnk1xbvj4v8crdc73zi4k9h3jfbm00k5";
11 };
11 };
12
12
13 configureFlags = optional static "--enable-static --disable-shared";
13 configureFlags = optional static "--enable-static --disable-shared";
pkgs/development/libraries/liblo/default.nix+3−1
@@ -8,7 +8,9 @@ stdenv.mkDerivation rec {
8 sha256 = "0sn0ckc1d0845mhsaa62wf7f9v0c0ykiq796a30ja5096kib9qdc";
8 sha256 = "0sn0ckc1d0845mhsaa62wf7f9v0c0ykiq796a30ja5096kib9qdc";
9 };
9 };
10
10
11+ doCheck = false; # fails 1 out of 3 tests
12+
11− meta = {
13+ meta = {
12 description = "Lightweight library to handle the sending and receiving of messages according to the Open Sound Control (OSC) protocol";
14 description = "Lightweight library to handle the sending and receiving of messages according to the Open Sound Control (OSC) protocol";
13 homepage = https://sourceforge.net/projects/liblo;
15 homepage = https://sourceforge.net/projects/liblo;
14 license = stdenv.lib.licenses.gpl2;
16 license = stdenv.lib.licenses.gpl2;
pkgs/development/libraries/libmsgpack/generic.nix+6−7
@@ -13,13 +13,12 @@ stdenv.mkDerivation rec {
13
13
14 enableParallelBuilding = true;
14 enableParallelBuilding = true;
15
15
16− crossAttrs = {
17− } // stdenv.lib.optionalAttrs (hostPlatform.libc == "msvcrt") {
18− cmakeFlags = [
16+ cmakeFlags = []
17+ ++ stdenv.lib.optional (stdenv.hostPlatform != stdenv.buildPlatform)
19− "-DMSGPACK_BUILD_EXAMPLES=OFF"
18+ "-DMSGPACK_BUILD_EXAMPLES=OFF"
19+ ++ stdenv.lib.optional (hostPlatform.libc == "msvcrt")
20− "-DCMAKE_SYSTEM_NAME=Windows"
20+ "-DCMAKE_SYSTEM_NAME=Windows"
21− ];
22− };
21+ ;
23
22
24 meta = with stdenv.lib; {
23 meta = with stdenv.lib; {
25 description = "MessagePack implementation for C and C++";
24 description = "MessagePack implementation for C and C++";
pkgs/development/libraries/libnetfilter_conntrack/default.nix+2−2
@@ -2,11 +2,11 @@
2
2
3stdenv.mkDerivation rec {
3stdenv.mkDerivation rec {
4 name = "libnetfilter_conntrack-${version}";
4 name = "libnetfilter_conntrack-${version}";
5− version = "1.0.6";
5+ version = "1.0.7";
6
6
7 src = fetchurl {
7 src = fetchurl {
8 url = "https://netfilter.org/projects/libnetfilter_conntrack/files/${name}.tar.bz2";
8 url = "https://netfilter.org/projects/libnetfilter_conntrack/files/${name}.tar.bz2";
9− sha256 = "1svzyf3rq9nbrcw1jsricgyhh7x1am8iqn6kjr6mzrw42810ik7g";
9+ sha256 = "1dl9z50yny04xi5pymlykwmy6hcfc9p4nd7m47697zwxw98m6s1k";
10 };
10 };
11
11
12 buildInputs = [ libmnl ];
12 buildInputs = [ libmnl ];
pkgs/development/libraries/libnfsidmap/default.nix+5−1
@@ -2,12 +2,16 @@
2
2
3stdenv.mkDerivation rec {
3stdenv.mkDerivation rec {
4 name = "libnfsidmap-0.25";
4 name = "libnfsidmap-0.25";
5−
5+
6 src = fetchurl {
6 src = fetchurl {
7 url = "http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/${name}.tar.gz";
7 url = "http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/${name}.tar.gz";
8 sha256 = "1kzgwxzh83qi97rblcm9qj80cdvnv8kml2plz0q103j0hifj8vb5";
8 sha256 = "1kzgwxzh83qi97rblcm9qj80cdvnv8kml2plz0q103j0hifj8vb5";
9 };
9 };
10
10
11+ postPatch = ''
12+ sed -i '1i#include <sys/types.h>' cfg.h
13+ '';
14+
11 preConfigure =
15 preConfigure =
12 ''
16 ''
13 configureFlags="--with-pluginpath=$out/lib/libnfsidmap"
17 configureFlags="--with-pluginpath=$out/lib/libnfsidmap"
pkgs/development/libraries/libnftnl/default.nix+2−2
@@ -1,12 +1,12 @@
1{ stdenv, fetchurl, pkgconfig, libmnl }:
1{ stdenv, fetchurl, pkgconfig, libmnl }:
2
2
3stdenv.mkDerivation rec {
3stdenv.mkDerivation rec {
4− version = "1.0.9";
4+ version = "1.1.0";
5 name = "libnftnl-${version}";
5 name = "libnftnl-${version}";
6
6
7 src = fetchurl {
7 src = fetchurl {
8 url = "https://netfilter.org/projects/libnftnl/files/${name}.tar.bz2";
8 url = "https://netfilter.org/projects/libnftnl/files/${name}.tar.bz2";
9− sha256 = "0d9nkdbdck8sg6msysqyv3m9kjr9sjif5amf26dfa0g3mqjdihgy";
9+ sha256 = "0v4gywcjvv2vg4zk632al1zv3ad0lx87nshynv110l8n3fhsq3pc";
10 };
10 };
11
11
12 nativeBuildInputs = [ pkgconfig ];
12 nativeBuildInputs = [ pkgconfig ];
pkgs/development/libraries/libnih/default.nix+3−1
@@ -4,7 +4,7 @@ let version = "1.0.3"; in
4
4
5stdenv.mkDerivation rec {
5stdenv.mkDerivation rec {
6 name = "libnih-${version}";
6 name = "libnih-${version}";
7−
7+
8 src = fetchurl {
8 src = fetchurl {
9 url = "http://code.launchpad.net/libnih/1.0/${version}/+download/libnih-${version}.tar.gz";
9 url = "http://code.launchpad.net/libnih/1.0/${version}/+download/libnih-${version}.tar.gz";
10 sha256 = "01glc6y7z1g726zwpvp2zm79pyb37ki729jkh45akh35fpgp4xc9";
10 sha256 = "01glc6y7z1g726zwpvp2zm79pyb37ki729jkh45akh35fpgp4xc9";
@@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
13 nativeBuildInputs = [ pkgconfig ];
13 nativeBuildInputs = [ pkgconfig ];
14 buildInputs = [ dbus expat ];
14 buildInputs = [ dbus expat ];
15
15
16+ doCheck = false; # fails 1 of 17 test
17+
16 meta = {
18 meta = {
17 description = "A small library for C application development";
19 description = "A small library for C application development";
18 homepage = https://launchpad.net/libnih;
20 homepage = https://launchpad.net/libnih;
pkgs/development/libraries/libomxil-bellagio/default.nix+2
@@ -14,6 +14,8 @@ stdenv.mkDerivation rec {
14
14
15 patches = [ ./fedora-fixes.patch ];
15 patches = [ ./fedora-fixes.patch ];
16
16
17+ doCheck = false; # fails
18+
17 meta = with stdenv.lib; {
19 meta = with stdenv.lib; {
18 homepage = https://sourceforge.net/projects/omxil/;
20 homepage = https://sourceforge.net/projects/omxil/;
19 description = "An opensource implementation of the Khronos OpenMAX Integration Layer API to access multimedia components";
21 description = "An opensource implementation of the Khronos OpenMAX Integration Layer API to access multimedia components";
pkgs/development/libraries/libpcap/default.nix+10−10
@@ -12,10 +12,16 @@ stdenv.mkDerivation rec {
12
12
13 # We need to force the autodetection because detection doesn't
13 # We need to force the autodetection because detection doesn't
14 # work in pure build enviroments.
14 # work in pure build enviroments.
15− configureFlags =
15+ configureFlags = [
16− if stdenv.isLinux then [ "--with-pcap=linux" ]
16+ ("--with-pcap=" + {
17− else if stdenv.isDarwin then [ "--with-pcap=bpf" ]
17+ linux = "linux";
18+ darwin = "bpf";
19+ }.${stdenv.hostPlatform.parsed.kernel.name})
20+ ] ++ stdenv.lib.optionals (stdenv.hostPlatform == stdenv.buildPlatform) [
21+ "ac_cv_linux_vers=2"
18− else [];
22+ ];
23+
24+ dontStrip = stdenv.hostPlatform != stdenv.buildPlatform;
19
25
20 prePatch = stdenv.lib.optionalString stdenv.isDarwin ''
26 prePatch = stdenv.lib.optionalString stdenv.isDarwin ''
21 substituteInPlace configure --replace " -arch i386" ""
27 substituteInPlace configure --replace " -arch i386" ""
@@ -39,12 +45,6 @@ stdenv.mkDerivation rec {
39
45
40 preInstall = ''mkdir -p $out/bin'';
46 preInstall = ''mkdir -p $out/bin'';
41
47
42− crossAttrs = {
43− # Stripping hurts in static libraries
44− dontStrip = true;
45− configureFlags = configureFlags ++ [ "ac_cv_linux_vers=2" ];
46− };
47−
48 meta = with stdenv.lib; {
48 meta = with stdenv.lib; {
49 homepage = http://www.tcpdump.org;
49 homepage = http://www.tcpdump.org;
50 description = "Packet Capture Library";
50 description = "Packet Capture Library";
pkgs/development/libraries/libproxy/default.nix+2
@@ -30,6 +30,8 @@ stdenv.mkDerivation rec {
30 )
30 )
31 '';
31 '';
32
32
33+ doCheck = false; # fails 1 out of 10 tests
34+
33 meta = with stdenv.lib; {
35 meta = with stdenv.lib; {
34 platforms = platforms.linux ++ platforms.darwin;
36 platforms = platforms.linux ++ platforms.darwin;
35 license = licenses.lgpl21;
37 license = licenses.lgpl21;
pkgs/development/libraries/librdf/raptor2.nix+1−1
@@ -17,6 +17,6 @@ stdenv.mkDerivation rec {
17 homepage = http://librdf.org/raptor;
17 homepage = http://librdf.org/raptor;
18 license = with stdenv.lib.licenses; [ lgpl21 asl20 ];
18 license = with stdenv.lib.licenses; [ lgpl21 asl20 ];
19 maintainers = with stdenv.lib.maintainers; [ marcweber ];
19 maintainers = with stdenv.lib.maintainers; [ marcweber ];
20− platforms = stdenv.lib.platforms.linux;
20+ platforms = stdenv.lib.platforms.unix;
21 };
21 };
22}
22}
pkgs/development/libraries/librdf/rasqal.nix+1−1
@@ -21,6 +21,6 @@ stdenv.mkDerivation rec {
21 homepage = http://librdf.org/rasqal;
21 homepage = http://librdf.org/rasqal;
22 license = with stdenv.lib.licenses; [ lgpl21 asl20 ];
22 license = with stdenv.lib.licenses; [ lgpl21 asl20 ];
23 maintainers = with stdenv.lib.maintainers; [ marcweber ];
23 maintainers = with stdenv.lib.maintainers; [ marcweber ];
24− platforms = stdenv.lib.platforms.linux;
24+ platforms = stdenv.lib.platforms.unix;
25 };
25 };
26}
26}
pkgs/development/libraries/librdf/redland.nix+7−4
@@ -1,5 +1,5 @@
1{ stdenv, fetchurl, pkgconfig, openssl, libxslt, perl
1{ stdenv, fetchurl, pkgconfig, openssl, libxslt, perl
2−, curl, pcre, libxml2, librdf_rasqal
2+, curl, pcre, libxml2, librdf_rasqal, gmp
3, mysql, withMysql ? false
3, mysql, withMysql ? false
4, postgresql, withPostgresql ? false
4, postgresql, withPostgresql ? false
5, sqlite, withSqlite ? true
5, sqlite, withSqlite ? true
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
16
16
17 nativeBuildInputs = [ perl pkgconfig ];
17 nativeBuildInputs = [ perl pkgconfig ];
18
18
19− buildInputs = [ openssl libxslt curl pcre libxml2 ]
19+ buildInputs = [ openssl libxslt curl pcre libxml2 gmp ]
20 ++ stdenv.lib.optional withMysql mysql.connector-c
20 ++ stdenv.lib.optional withMysql mysql.connector-c
21 ++ stdenv.lib.optional withSqlite sqlite
21 ++ stdenv.lib.optional withSqlite sqlite
22 ++ stdenv.lib.optional withPostgresql postgresql
22 ++ stdenv.lib.optional withPostgresql postgresql
@@ -28,13 +28,16 @@ stdenv.mkDerivation rec {
28
28
29 configureFlags =
29 configureFlags =
30 [ "--with-threads" ]
30 [ "--with-threads" ]
31− ++ stdenv.lib.optional withBdb "--with-bdb=${db}";
31+ ++ stdenv.lib.optionals withBdb [
32+ "--with-bdb-include=${db.dev}/include"
33+ "--with-bdb-lib=${db.out}/lib"
34+ ];
32
35
33 # Fix broken DT_NEEDED in lib/redland/librdf_storage_sqlite.so.
36 # Fix broken DT_NEEDED in lib/redland/librdf_storage_sqlite.so.
34 NIX_CFLAGS_LINK = "-lraptor2";
37 NIX_CFLAGS_LINK = "-lraptor2";
35
38
36 meta = {
39 meta = {
37 homepage = http://librdf.org/;
40 homepage = http://librdf.org/;
38− platforms = stdenv.lib.platforms.linux;
41+ platforms = stdenv.lib.platforms.unix;
39 };
42 };
40}
43}
pkgs/development/libraries/librsvg/default.nix+16−5
@@ -5,17 +5,17 @@
5
5
6let
6let
7 pname = "librsvg";
7 pname = "librsvg";
8− version = "2.42.2";
8+ version = "2.42.4";
9in
9in
10stdenv.mkDerivation rec {
10stdenv.mkDerivation rec {
11 name = "${pname}-${version}";
11 name = "${pname}-${version}";
12
12
13 src = fetchurl {
13 src = fetchurl {
14 url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
14 url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
15− sha256 = "0c550a0bffef768a436286116c03d9f6cd3f97f5021c13e7f093b550fac12562";
15+ sha256 = "1qsd0j7s97ab5fzy5b5gix5b7hbw57cr46ia8pkcrr4ylsi80li2";
16 };
16 };
17
17
18− outputs = [ "out" "dev" ];
18+ outputs = [ "out" "dev" "installedTests" ];
19
19
20 buildInputs = [ libxml2 libgsf bzip2 libcroco pango libintl ];
20 buildInputs = [ libxml2 libgsf bzip2 libcroco pango libintl ];
21
21
@@ -26,8 +26,17 @@ stdenv.mkDerivation rec {
26 ApplicationServices
26 ApplicationServices
27 ]);
27 ]);
28
28
29+ configureFlags = [
29− configureFlags = [ "--enable-introspection" "--enable-vala" ]
30+ "--enable-introspection"
31+ "--enable-vala"
32+ "--enable-installed-tests"
33+ "--enable-always-build-tests"
30− ++ stdenv.lib.optional stdenv.isDarwin "--disable-Bsymbolic";
34+ ] ++ stdenv.lib.optional stdenv.isDarwin "--disable-Bsymbolic";
35+
36+ makeFlags = [
37+ "installed_test_metadir=$(installedTests)/share/installed-tests/RSVG"
38+ "installed_testdir=$(installedTests)/libexec/installed-tests/RSVG"
39+ ];
31
40
32 NIX_CFLAGS_COMPILE
41 NIX_CFLAGS_COMPILE
33 = stdenv.lib.optionalString stdenv.isDarwin "-I${cairo.dev}/include/cairo";
42 = stdenv.lib.optionalString stdenv.isDarwin "-I${cairo.dev}/include/cairo";
@@ -52,6 +61,8 @@ stdenv.mkDerivation rec {
52 -i gdk-pixbuf-loader/librsvg.thumbnailer.in
61 -i gdk-pixbuf-loader/librsvg.thumbnailer.in
53 '';
62 '';
54
63
64+ doCheck = false; # fails 20 of 145 tests, very likely to be buggy
65+
55 # Merge gdkpixbuf and librsvg loaders
66 # Merge gdkpixbuf and librsvg loaders
56 postInstall = ''
67 postInstall = ''
57 mv $GDK_PIXBUF/loaders.cache $GDK_PIXBUF/loaders.cache.tmp
68 mv $GDK_PIXBUF/loaders.cache $GDK_PIXBUF/loaders.cache.tmp
pkgs/development/libraries/librsync/0.9.nix+1−3
@@ -12,9 +12,7 @@ stdenv.mkDerivation {
12
12
13 configureFlags = if stdenv.isCygwin then "--enable-static" else "--enable-shared";
13 configureFlags = if stdenv.isCygwin then "--enable-static" else "--enable-shared";
14
14
15− crossAttrs = {
15+ dontStrip = stdenv.hostPlatform != stdenv.buildPlatform;
16− dontStrip = true;
17− };
18
16
19 meta = {
17 meta = {
20 homepage = http://librsync.sourceforge.net/;
18 homepage = http://librsync.sourceforge.net/;
pkgs/development/libraries/librsync/default.nix+1−3
@@ -14,9 +14,7 @@ stdenv.mkDerivation rec {
14 nativeBuildInputs = [ cmake ];
14 nativeBuildInputs = [ cmake ];
15 buildInputs = [ perl zlib bzip2 popt ];
15 buildInputs = [ perl zlib bzip2 popt ];
16
16
17− crossAttrs = {
17+ dontStrip = stdenv.hostPlatform != stdenv.buildPlatform;
18− dontStrip = true;
19− };
20
18
21 meta = with stdenv.lib; {
19 meta = with stdenv.lib; {
22 homepage = http://librsync.sourceforge.net/;
20 homepage = http://librsync.sourceforge.net/;
pkgs/development/libraries/libsoup/default.nix+2
@@ -36,6 +36,8 @@ stdenv.mkDerivation rec {
36 "--with-gnome=${if gnomeSupport then "yes" else "no"}"
36 "--with-gnome=${if gnomeSupport then "yes" else "no"}"
37 ];
37 ];
38
38
39+ doCheck = false; # fails with "no: command not found"
40+
39 passthru = {
41 passthru = {
40 propagatedUserEnvPackages = [ glib-networking.out ];
42 propagatedUserEnvPackages = [ glib-networking.out ];
41 updateScript = gnome3.updateScript {
43 updateScript = gnome3.updateScript {
pkgs/development/libraries/libtorrent-rasterbar/default.nix+2
@@ -27,6 +27,8 @@ stdenv.mkDerivation rec {
27
27
28 enableParallelBuilding = true;
28 enableParallelBuilding = true;
29
29
30+ doCheck = false; # fails to link
31+
30 meta = with stdenv.lib; {
32 meta = with stdenv.lib; {
31 homepage = http://www.rasterbar.com/products/libtorrent/;
33 homepage = http://www.rasterbar.com/products/libtorrent/;
32 description = "A C++ BitTorrent implementation focusing on efficiency and scalability";
34 description = "A C++ BitTorrent implementation focusing on efficiency and scalability";
pkgs/development/libraries/libtoxcore/default.nix+6
@@ -29,6 +29,12 @@ let
29
29
30 enableParallelBuilding = true;
30 enableParallelBuilding = true;
31
31
32+ doCheck = false; # hangs, tries to access the net?
33+
34+ # for some reason the tests are not running - it says "No tests found!!"
35+ checkInputs = [ check ];
36+ checkPhase = "ctest";
37+
32 meta = with stdenv.lib; {
38 meta = with stdenv.lib; {
33 description = "P2P FOSS instant messaging application aimed to replace Skype";
39 description = "P2P FOSS instant messaging application aimed to replace Skype";
34 homepage = https://tox.chat;
40 homepage = https://tox.chat;
pkgs/development/libraries/libuchardet/default.nix+2
@@ -14,6 +14,8 @@ stdenv.mkDerivation rec {
14
14
15 buildInputs = [ cmake ];
15 buildInputs = [ cmake ];
16
16
17+ doCheck = false; # fails all the tests (ctest)
18+
17 meta = with stdenv.lib; {
19 meta = with stdenv.lib; {
18 description = "Mozilla's Universal Charset Detector C/C++ API";
20 description = "Mozilla's Universal Charset Detector C/C++ API";
19 homepage = https://www.byvoid.com/zht/project/uchardet;
21 homepage = https://www.byvoid.com/zht/project/uchardet;
pkgs/development/libraries/libunwind/default.nix+2
@@ -26,6 +26,8 @@ stdenv.mkDerivation rec {
26 done
26 done
27 '';
27 '';
28
28
29+ doCheck = false; # fails
30+
29 meta = with stdenv.lib; {
31 meta = with stdenv.lib; {
30 homepage = http://www.nongnu.org/libunwind;
32 homepage = http://www.nongnu.org/libunwind;
31 description = "A portable and efficient API to determine the call-chain of a program";
33 description = "A portable and efficient API to determine the call-chain of a program";
pkgs/development/libraries/libuv/default.nix+2−2
@@ -2,14 +2,14 @@
2, ApplicationServices, CoreServices }:
2, ApplicationServices, CoreServices }:
3
3
4stdenv.mkDerivation rec {
4stdenv.mkDerivation rec {
5− version = "1.19.2";
5+ version = "1.20.2";
6 name = "libuv-${version}";
6 name = "libuv-${version}";
7
7
8 src = fetchFromGitHub {
8 src = fetchFromGitHub {
9 owner = "libuv";
9 owner = "libuv";
10 repo = "libuv";
10 repo = "libuv";
11 rev = "v${version}";
11 rev = "v${version}";
12− sha256 = "118r8wigm65107fm7kzfz7gc4awy8xxg0knvwnshx1j40ks08x9z";
12+ sha256 = "14zlf59fr03v684ryapc57r9nfrznyk5xvcd59q04rb435ibib48";
13 };
13 };
14
14
15 postPatch = let
15 postPatch = let
pkgs/development/libraries/libvdpau-va-gl/default.nix+2
@@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
15 nativeBuildInputs = [ cmake pkgconfig ];
15 nativeBuildInputs = [ cmake pkgconfig ];
16 buildInputs = [ libX11 libpthreadstubs libXau libXdmcp libXext libvdpau glib libva ffmpeg libGLU ];
16 buildInputs = [ libX11 libpthreadstubs libXau libXdmcp libXext libvdpau glib libva ffmpeg libGLU ];
17
17
18+ doCheck = false; # fails. needs DRI access
19+
18 meta = with stdenv.lib; {
20 meta = with stdenv.lib; {
19 homepage = https://github.com/i-rinat/libvdpau-va-gl;
21 homepage = https://github.com/i-rinat/libvdpau-va-gl;
20 description = "VDPAU driver with OpenGL/VAAPI backend";
22 description = "VDPAU driver with OpenGL/VAAPI backend";
pkgs/development/libraries/libvpx/default.nix+26−30
@@ -58,13 +58,13 @@ assert isCygwin -> unitTestsSupport && webmIOSupport && libyuvSupport;
58
58
59stdenv.mkDerivation rec {
59stdenv.mkDerivation rec {
60 name = "libvpx-${version}";
60 name = "libvpx-${version}";
61− version = "1.6.1";
61+ version = "1.7.0";
62
62
63 src = fetchFromGitHub {
63 src = fetchFromGitHub {
64 owner = "webmproject";
64 owner = "webmproject";
65 repo = "libvpx";
65 repo = "libvpx";
66 rev = "v${version}";
66 rev = "v${version}";
67− sha256 = "10fs7xilf2bsj5bqw206lb5r5dgl84p5m6nibiirk28lmjx1i3l0";
67+ sha256 = "0vvh89hvp8qg9an9vcmwb7d9k3nixhxaz6zi65qdjnd0i56kkcz6";
68 };
68 };
69
69
70 patchPhase = ''patchShebangs .'';
70 patchPhase = ''patchShebangs .'';
@@ -72,6 +72,7 @@ stdenv.mkDerivation rec {
72 outputs = [ "bin" "dev" "out" ];
72 outputs = [ "bin" "dev" "out" ];
73 setOutputFlags = false;
73 setOutputFlags = false;
74
74
75+ configurePlatforms = [];
75 configureFlags = [
76 configureFlags = [
76 (enableFeature (vp8EncoderSupport || vp8DecoderSupport) "vp8")
77 (enableFeature (vp8EncoderSupport || vp8DecoderSupport) "vp8")
77 (enableFeature vp8EncoderSupport "vp8-encoder")
78 (enableFeature vp8EncoderSupport "vp8-encoder")
@@ -131,8 +132,29 @@ stdenv.mkDerivation rec {
131 (enableFeature (experimentalSpatialSvcSupport ||
132 (enableFeature (experimentalSpatialSvcSupport ||
132 experimentalFpMbStatsSupport ||
133 experimentalFpMbStatsSupport ||
133 experimentalEmulateHardwareSupport) "experimental")
134 experimentalEmulateHardwareSupport) "experimental")
135+ ] ++ optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
136+ #"--extra-cflags="
137+ #"--extra-cxxflags="
138+ #"--prefix="
139+ #"--libc="
140+ #"--libdir="
141+ "--enable-external-build"
142+ # libvpx darwin targets include darwin version (ie. ARCH-darwinXX-gcc, XX being the darwin version)
143+ # See all_platforms: https://github.com/webmproject/libvpx/blob/master/configure
144+ # Darwin versions: 10.4=8, 10.5=9, 10.6=10, 10.7=11, 10.8=12, 10.9=13, 10.10=14
145+ "--force-target=${hostPlatform.config}${
146+ if hostPlatform.isDarwin then
147+ if hostPlatform.osxMinVersion == "10.10" then "14"
148+ else if hostPlatform.osxMinVersion == "10.9" then "13"
149+ else if hostPlatform.osxMinVersion == "10.8" then "12"
150+ else if hostPlatform.osxMinVersion == "10.7" then "11"
151+ else if hostPlatform.osxMinVersion == "10.6" then "10"
152+ else if hostPlatform.osxMinVersion == "10.5" then "9"
153+ else "8"
154+ else ""}-gcc"
155+ (if hostPlatform.isCygwin then "--enable-static-msvcrt" else "")
134− # Experimental features
156+ ] # Experimental features
135− ] ++ optional experimentalSpatialSvcSupport "--enable-spatial-svc"
157+ ++ optional experimentalSpatialSvcSupport "--enable-spatial-svc"
136 ++ optional experimentalFpMbStatsSupport "--enable-fp-mb-stats"
158 ++ optional experimentalFpMbStatsSupport "--enable-fp-mb-stats"
137 ++ optional experimentalEmulateHardwareSupport "--enable-emulate-hardware";
159 ++ optional experimentalEmulateHardwareSupport "--enable-emulate-hardware";
138
160
@@ -145,32 +167,6 @@ stdenv.mkDerivation rec {
145
167
146 postInstall = ''moveToOutput bin "$bin" '';
168 postInstall = ''moveToOutput bin "$bin" '';
147
169
148− crossAttrs = {
149− configurePlatforms = [];
150− configureFlags = configureFlags ++ [
151− #"--extra-cflags="
152− #"--extra-cxxflags="
153− #"--prefix="
154− #"--libc="
155− #"--libdir="
156− "--enable-external-build"
157− # libvpx darwin targets include darwin version (ie. ARCH-darwinXX-gcc, XX being the darwin version)
158− # See all_platforms: https://github.com/webmproject/libvpx/blob/master/configure
159− # Darwin versions: 10.4=8, 10.5=9, 10.6=10, 10.7=11, 10.8=12, 10.9=13, 10.10=14
160− "--force-target=${hostPlatform.config}${
161− if hostPlatform.isDarwin then
162− if hostPlatform.osxMinVersion == "10.10" then "14"
163− else if hostPlatform.osxMinVersion == "10.9" then "13"
164− else if hostPlatform.osxMinVersion == "10.8" then "12"
165− else if hostPlatform.osxMinVersion == "10.7" then "11"
166− else if hostPlatform.osxMinVersion == "10.6" then "10"
167− else if hostPlatform.osxMinVersion == "10.5" then "9"
168− else "8"
169− else ""}-gcc"
170− (if hostPlatform.isCygwin then "--enable-static-msvcrt" else "")
171− ];
172− };
173−
174 meta = with stdenv.lib; {
170 meta = with stdenv.lib; {
175 description = "WebM VP8/VP9 codec SDK";
171 description = "WebM VP8/VP9 codec SDK";
176 homepage = https://www.webmproject.org/;
172 homepage = https://www.webmproject.org/;
pkgs/development/libraries/libvpx/git.nix+15−19
@@ -77,6 +77,7 @@ stdenv.mkDerivation rec {
77 outputs = [ "bin" "dev" "out" ];
77 outputs = [ "bin" "dev" "out" ];
78 setOutputFlags = false;
78 setOutputFlags = false;
79
79
80+ configurePlatforms = [];
80 configureFlags = [
81 configureFlags = [
81 (enableFeature (vp8EncoderSupport || vp8DecoderSupport) "vp8")
82 (enableFeature (vp8EncoderSupport || vp8DecoderSupport) "vp8")
82 (enableFeature vp8EncoderSupport "vp8-encoder")
83 (enableFeature vp8EncoderSupport "vp8-encoder")
@@ -139,23 +140,7 @@ stdenv.mkDerivation rec {
139 (enableFeature (experimentalSpatialSvcSupport ||
140 (enableFeature (experimentalSpatialSvcSupport ||
140 experimentalFpMbStatsSupport ||
141 experimentalFpMbStatsSupport ||
141 experimentalEmulateHardwareSupport) "experimental")
142 experimentalEmulateHardwareSupport) "experimental")
142− # Experimental features
143+ ] ++ optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
143− ] ++ optional experimentalSpatialSvcSupport "--enable-spatial-svc"
144− ++ optional experimentalFpMbStatsSupport "--enable-fp-mb-stats"
145− ++ optional experimentalEmulateHardwareSupport "--enable-emulate-hardware";
146−
147− nativeBuildInputs = [ perl yasm ];
148−
149− buildInputs = [ ]
150− ++ optionals unitTestsSupport [ coreutils curl ];
151−
152− enableParallelBuilding = true;
153−
154− postInstall = ''moveToOutput bin "$bin" '';
155−
156− crossAttrs = {
157− configurePlatforms = [];
158− configureFlags = configureFlags ++ [
159 #"--extra-cflags="
144 #"--extra-cflags="
160 #"--prefix="
145 #"--prefix="
161 #"--libc="
146 #"--libc="
@@ -175,8 +160,19 @@ stdenv.mkDerivation rec {
175 else "8"
160 else "8"
176 else ""}-gcc"
161 else ""}-gcc"
177 (if hostPlatform.isCygwin then "--enable-static-msvcrt" else "")
162 (if hostPlatform.isCygwin then "--enable-static-msvcrt" else "")
178− ];
163+ ] # Experimental features
179− };
164+ ++ optional experimentalSpatialSvcSupport "--enable-spatial-svc"
165+ ++ optional experimentalFpMbStatsSupport "--enable-fp-mb-stats"
166+ ++ optional experimentalEmulateHardwareSupport "--enable-emulate-hardware";
167+
168+ nativeBuildInputs = [ perl yasm ];
169+
170+ buildInputs = [ ]
171+ ++ optionals unitTestsSupport [ coreutils curl ];
172+
173+ enableParallelBuilding = true;
174+
175+ postInstall = ''moveToOutput bin "$bin" '';
180
176
181 meta = with stdenv.lib; {
177 meta = with stdenv.lib; {
182 description = "WebM VP8/VP9 codec SDK";
178 description = "WebM VP8/VP9 codec SDK";
pkgs/development/libraries/libwacom/default.nix+2−2
@@ -2,11 +2,11 @@
2
2
3stdenv.mkDerivation rec {
3stdenv.mkDerivation rec {
4 name = "libwacom-${version}";
4 name = "libwacom-${version}";
5− version = "0.28";
5+ version = "0.29";
6
6
7 src = fetchurl {
7 src = fetchurl {
8 url = "mirror://sourceforge/linuxwacom/libwacom/${name}.tar.bz2";
8 url = "mirror://sourceforge/linuxwacom/libwacom/${name}.tar.bz2";
9− sha256 = "1vv768870597rvwxdb59v6pjn1pxaxg4r6znbb5j3cl828q35mp7";
9+ sha256 = "1diklgcjhmvcxi9p1ifp6wcnyr6k7z9jhrlzfhzjqd6zipk01slw";
10 };
10 };
11
11
12 nativeBuildInputs = [ pkgconfig ];
12 nativeBuildInputs = [ pkgconfig ];
pkgs/development/libraries/libwebp/default.nix+2−2
@@ -27,11 +27,11 @@ in
27with stdenv.lib;
27with stdenv.lib;
28stdenv.mkDerivation rec {
28stdenv.mkDerivation rec {
29 name = "libwebp-${version}";
29 name = "libwebp-${version}";
30− version = "0.6.1";
30+ version = "1.0.0";
31
31
32 src = fetchurl {
32 src = fetchurl {
33 url = "http://downloads.webmproject.org/releases/webp/${name}.tar.gz";
33 url = "http://downloads.webmproject.org/releases/webp/${name}.tar.gz";
34− sha256 = "1ayq2zq0zbgf5yizbm32zh7p1vb8kibw74am6am1n5cz5mw3ql06";
34+ sha256 = "0nr2hd4iv61fphdbx49g96a56jkmdm9n2qss7jpkg1pii11rq9c4";
35 };
35 };
36
36
37 configureFlags = [
37 configureFlags = [
pkgs/development/libraries/libxkbcommon/default.nix+2
@@ -27,6 +27,8 @@ stdenv.mkDerivation rec {
27 "-Dx-locale-root=${libX11.out}/share/X11/locale"
27 "-Dx-locale-root=${libX11.out}/share/X11/locale"
28 ];
28 ];
29
29
30+ doCheck = false; # fails, needs unicode locale
31+
30 meta = with stdenv.lib; {
32 meta = with stdenv.lib; {
31 description = "A library to handle keyboard descriptions";
33 description = "A library to handle keyboard descriptions";
32 homepage = https://xkbcommon.org;
34 homepage = https://xkbcommon.org;
pkgs/development/libraries/libxml2/default.nix+2−2
@@ -10,11 +10,11 @@ let
10
10
11in stdenv.mkDerivation rec {
11in stdenv.mkDerivation rec {
12 name = "libxml2-${version}";
12 name = "libxml2-${version}";
13− version = "2.9.7";
13+ version = "2.9.8";
14
14
15 src = fetchurl {
15 src = fetchurl {
16 url = "http://xmlsoft.org/sources/${name}.tar.gz";
16 url = "http://xmlsoft.org/sources/${name}.tar.gz";
17− sha256 = "034hylzspvkm0p4bczqbf8q05a7r2disr8dz725x4bin61ymwg7n";
17+ sha256 = "0ci7is75bwqqw2p32vxvrk6ds51ik7qgx73m920rakv5jlayax0b";
18 };
18 };
19
19
20 outputs = [ "bin" "dev" "out" "man" "doc" ]
20 outputs = [ "bin" "dev" "out" "man" "doc" ]
pkgs/development/libraries/mesa/default.nix+3−3
@@ -67,7 +67,7 @@ let
67in
67in
68
68
69let
69let
70− version = "17.3.8";
70+ version = "18.0.3";
71 branch = head (splitString "." version);
71 branch = head (splitString "." version);
72in
72in
73
73
@@ -81,7 +81,7 @@ let self = stdenv.mkDerivation {
81 "ftp://ftp.freedesktop.org/pub/mesa/older-versions/${branch}.x/${version}/mesa-${version}.tar.xz"
81 "ftp://ftp.freedesktop.org/pub/mesa/older-versions/${branch}.x/${version}/mesa-${version}.tar.xz"
82 "https://mesa.freedesktop.org/archive/mesa-${version}.tar.xz"
82 "https://mesa.freedesktop.org/archive/mesa-${version}.tar.xz"
83 ];
83 ];
84− sha256 = "1cd6a4ll5arla3kncxnw9196ak1v4rvnb098aa7lm3n4h7r9p7cg";
84+ sha256 = "0c4yskqwmh5k0wavjrkfcldafvnpcx8gjcx584bscxks69krd789";
85 };
85 };
86
86
87 prePatch = "patchShebangs .";
87 prePatch = "patchShebangs .";
@@ -161,7 +161,7 @@ let self = stdenv.mkDerivation {
161 doCheck = false;
161 doCheck = false;
162
162
163 installFlags = [
163 installFlags = [
164− "sysconfdir=\${out}/etc"
164+ "sysconfdir=\${drivers}/etc"
165 "localstatedir=\${TMPDIR}"
165 "localstatedir=\${TMPDIR}"
166 "vendorjsondir=\${out}/share/glvnd/egl_vendor.d"
166 "vendorjsondir=\${out}/share/glvnd/egl_vendor.d"
167 ];
167 ];
pkgs/development/libraries/mpfi/default.nix+8−3
@@ -1,15 +1,20 @@
1{stdenv, fetchurl, mpfr}:
1{stdenv, fetchurl, mpfr}:
2stdenv.mkDerivation rec {
2stdenv.mkDerivation rec {
3 name = "mpfi-${version}";
3 name = "mpfi-${version}";
4− version = "1.5.1";
4+ version = "1.5.3";
5+ file_nr = "37331";
5 src = fetchurl {
6 src = fetchurl {
7+ # NOTE: the file_nr is whats important here. The actual package name (including the version)
8+ # is ignored. To find out the correct file_nr, go to https://gforge.inria.fr/projects/mpfi/
9+ # and click on Download in the section "Latest File Releases".
6− url = "https://gforge.inria.fr/frs/download.php/file/30129/mpfi-${version}.tar.bz2";
10+ url = "https://gforge.inria.fr/frs/download.php/file/${file_nr}/mpfi-${version}.tar.bz2";
7− sha256 = "0vk9jfcfiqda0zksg1ffy36pdznpng9b4nl7pfzpz9hps4v6bk1z";
11+ sha256 = "0bqr8yibl7jbrp0bw7xk1lm7nis7rv26jsz6y8ycvih8n9bx90r3";
8 };
12 };
9 buildInputs = [mpfr];
13 buildInputs = [mpfr];
10 meta = {
14 meta = {
11 inherit version;
15 inherit version;
12 description = ''A multiple precision interval arithmetic library based on MPFR'';
16 description = ''A multiple precision interval arithmetic library based on MPFR'';
17+ homepage = https://gforge.inria.fr/projects/mpfi/;
13 license = stdenv.lib.licenses.lgpl21Plus;
18 license = stdenv.lib.licenses.lgpl21Plus;
14 maintainers = [stdenv.lib.maintainers.raskin];
19 maintainers = [stdenv.lib.maintainers.raskin];
15 platforms = stdenv.lib.platforms.linux;
20 platforms = stdenv.lib.platforms.linux;
pkgs/development/libraries/mpfr/default.nix+3−2
@@ -3,11 +3,12 @@
3}:
3}:
4
4
5stdenv.mkDerivation rec {
5stdenv.mkDerivation rec {
6+ version = "4.0.1";
6− name = "mpfr-3.1.6";
7+ name = "mpfr-${version}";
7
8
8 src = fetchurl {
9 src = fetchurl {
9 url = "mirror://gnu/mpfr/${name}.tar.xz";
10 url = "mirror://gnu/mpfr/${name}.tar.xz";
10− sha256 = "0l598h9klpgkz2bp0rxiqb90mkqh9f2f81n5rpy191j00hdaqqks";
11+ sha256 = "0vp1lrc08gcmwdaqck6bpzllkrykvp06vz5gnqpyw0v3h9h4m1v7";
11 };
12 };
12
13
13 outputs = [ "out" "dev" "doc" "info" ];
14 outputs = [ "out" "dev" "doc" "info" ];
pkgs/development/libraries/ncurses/default.nix+6−4
@@ -1,6 +1,6 @@
1{ lib, stdenv, fetchurl, pkgconfig
1{ lib, stdenv, fetchurl, pkgconfig
2
2
3−, abiVersion
3+, abiVersion ? "6"
4, mouseSupport ? false
4, mouseSupport ? false
5, unicode ? true
5, unicode ? true
6, enableStatic ? stdenv.hostPlatform.useAndroidPrebuilt
6, enableStatic ? stdenv.hostPlatform.useAndroidPrebuilt
@@ -72,7 +72,9 @@ stdenv.mkDerivation rec {
72 # When building a wide-character (Unicode) build, create backward
72 # When building a wide-character (Unicode) build, create backward
73 # compatibility links from the the "normal" libraries to the
73 # compatibility links from the the "normal" libraries to the
74 # wide-character libraries (e.g. libncurses.so to libncursesw.so).
74 # wide-character libraries (e.g. libncurses.so to libncursesw.so).
75− postFixup = ''
75+ postFixup = let
76+ abiVersion-extension = if stdenv.isDarwin then "${abiVersion}.$dylibtype" else "$dylibtype.${abiVersion}"; in
77+ ''
76 # Determine what suffixes our libraries have
78 # Determine what suffixes our libraries have
77 suffix="$(awk -F': ' 'f{print $3; f=0} /default library suffix/{f=1}' config.log)"
79 suffix="$(awk -F': ' 'f{print $3; f=0} /default library suffix/{f=1}' config.log)"
78 libs="$(ls $dev/lib/pkgconfig | tr ' ' '\n' | sed "s,\(.*\)$suffix\.pc,\1,g")"
80 libs="$(ls $dev/lib/pkgconfig | tr ' ' '\n' | sed "s,\(.*\)$suffix\.pc,\1,g")"
@@ -95,12 +97,12 @@ stdenv.mkDerivation rec {
95 for dylibtype in so dll dylib; do
97 for dylibtype in so dll dylib; do
96 if [ -e "$out/lib/lib''${library}$suffix.$dylibtype" ]; then
98 if [ -e "$out/lib/lib''${library}$suffix.$dylibtype" ]; then
97 ln -svf lib''${library}$suffix.$dylibtype $out/lib/lib$library$newsuffix.$dylibtype
99 ln -svf lib''${library}$suffix.$dylibtype $out/lib/lib$library$newsuffix.$dylibtype
98− ln -svf lib''${library}$suffix.$dylibtype.${abiVersion} $out/lib/lib$library$newsuffix.$dylibtype.${abiVersion}
100+ ln -svf lib''${library}$suffix.${abiVersion-extension} $out/lib/lib$library$newsuffix.${abiVersion-extension}
99 if [ "ncurses" = "$library" ]
101 if [ "ncurses" = "$library" ]
100 then
102 then
101 # make libtinfo symlinks
103 # make libtinfo symlinks
102 ln -svf lib''${library}$suffix.$dylibtype $out/lib/libtinfo$newsuffix.$dylibtype
104 ln -svf lib''${library}$suffix.$dylibtype $out/lib/libtinfo$newsuffix.$dylibtype
103− ln -svf lib''${library}$suffix.$dylibtype.${abiVersion} $out/lib/libtinfo$newsuffix.$dylibtype.${abiVersion}
105+ ln -svf lib''${library}$suffix.${abiVersion-extension} $out/lib/libtinfo$newsuffix.${abiVersion-extension}
104 fi
106 fi
105 fi
107 fi
106 done
108 done
pkgs/development/libraries/nspr/default.nix+2−2
@@ -1,14 +1,14 @@
1{ stdenv, fetchurl
1{ stdenv, fetchurl
2, CoreServices ? null }:
2, CoreServices ? null }:
3
3
4−let version = "4.18"; in
4+let version = "4.19"; in
5
5
6stdenv.mkDerivation {
6stdenv.mkDerivation {
7 name = "nspr-${version}";
7 name = "nspr-${version}";
8
8
9 src = fetchurl {
9 src = fetchurl {
10 url = "mirror://mozilla/nspr/releases/v${version}/src/nspr-${version}.tar.gz";
10 url = "mirror://mozilla/nspr/releases/v${version}/src/nspr-${version}.tar.gz";
11− sha256 = "0d7vr3wrgp73qbywrvdkikk8vq1s1n9vhf62db80g1zqkg05g5mq";
11+ sha256 = "0agpv3f17h8kmzi0ifibaaxc1k3xc0q61wqw3l6r2xr2z8bmkn9f";
12 };
12 };
13
13
14 outputs = [ "out" "dev" ];
14 outputs = [ "out" "dev" ];
pkgs/development/libraries/nss/default.nix+3−12
@@ -1,13 +1,6 @@
1{ stdenv, fetchurl, nspr, perl, zlib, sqlite, fixDarwinDylibNames }:
1{ stdenv, fetchurl, nspr, perl, zlib, sqlite, fixDarwinDylibNames }:
2
2
3let
3let
4−
5− # Fix aarch64 build, shouldn't be needed after 3.35
6− aarch64Patch = fetchurl {
7− url = https://hg.mozilla.org/projects/nss/raw-rev/74e679158d1b;
8− sha256 = "1lhs4h32mb2al3z461yylk227nid769di1pdjr7p0kqm2z1qm3jq";
9− };
10−
11 nssPEM = fetchurl {
4 nssPEM = fetchurl {
12 url = http://dev.gentoo.org/~polynomial-c/mozilla/nss-3.15.4-pem-support-20140109.patch.xz;
5 url = http://dev.gentoo.org/~polynomial-c/mozilla/nss-3.15.4-pem-support-20140109.patch.xz;
13 sha256 = "10ibz6y0hknac15zr6dw4gv9nb5r5z9ym6gq18j3xqx7v7n3vpdw";
6 sha256 = "10ibz6y0hknac15zr6dw4gv9nb5r5z9ym6gq18j3xqx7v7n3vpdw";
@@ -15,11 +8,11 @@ let
15
8
16in stdenv.mkDerivation rec {
9in stdenv.mkDerivation rec {
17 name = "nss-${version}";
10 name = "nss-${version}";
18− version = "3.35";
11+ version = "3.36.1";
19
12
20 src = fetchurl {
13 src = fetchurl {
21− url = "mirror://mozilla/security/nss/releases/NSS_3_35_RTM/src/${name}.tar.gz";
14+ url = "mirror://mozilla/security/nss/releases/NSS_3_36_1_RTM/src/${name}.tar.gz";
22− sha256 = "1ypn68z9ncbbshi3184ywrhx5i846lyd72gps1grzqzdkgh7s4pl";
15+ sha256 = "1zrb49mp7cy3snnday1zv8d76h1mgppbcwxnlkqsgxlga8fl89b0";
23 };
16 };
24
17
25 buildInputs = [ perl zlib sqlite ]
18 buildInputs = [ perl zlib sqlite ]
@@ -29,8 +22,6 @@ in stdenv.mkDerivation rec {
29
22
30 prePatch = ''
23 prePatch = ''
31 xz -d < ${nssPEM} | patch -p1
24 xz -d < ${nssPEM} | patch -p1
32− '' + stdenv.lib.optionalString stdenv.isAarch64 ''
33− (cd nss && patch -p1 < ${aarch64Patch})
34 '';
25 '';
35
26
36 patches =
27 patches =
pkgs/development/libraries/openexr/default.nix+1
@@ -23,6 +23,7 @@ stdenv.mkDerivation rec {
23 propagatedBuildInputs = [ ilmbase zlib ];
23 propagatedBuildInputs = [ ilmbase zlib ];
24
24
25 enableParallelBuilding = true;
25 enableParallelBuilding = true;
26+ doCheck = false; # fails 1 of 1 tests
26
27
27 meta = with stdenv.lib; {
28 meta = with stdenv.lib; {
28 homepage = http://www.openexr.com/;
29 homepage = http://www.openexr.com/;
pkgs/development/libraries/openldap/default.nix+2
@@ -34,6 +34,8 @@ stdenv.mkDerivation rec {
34 ++ stdenv.lib.optional (cyrus_sasl == null) "--without-cyrus-sasl"
34 ++ stdenv.lib.optional (cyrus_sasl == null) "--without-cyrus-sasl"
35 ++ stdenv.lib.optional stdenv.isFreeBSD "--with-pic";
35 ++ stdenv.lib.optional stdenv.isFreeBSD "--with-pic";
36
36
37+ doCheck = false; # needs a running LDAP server
38+
37 installFlags = [ "sysconfdir=$(out)/etc" "localstatedir=$(out)/var" ];
39 installFlags = [ "sysconfdir=$(out)/etc" "localstatedir=$(out)/var" ];
38
40
39 # 1. Fixup broken libtool
41 # 1. Fixup broken libtool
pkgs/development/libraries/openssl/default.nix+1−2
@@ -73,8 +73,7 @@ let
73
73
74 makeFlags = [ "MANDIR=$(man)/share/man" ];
74 makeFlags = [ "MANDIR=$(man)/share/man" ];
75
75
76− # Parallel building is broken in OpenSSL.
77− enableParallelBuilding = false;
76+ enableParallelBuilding = true;
78
77
79 postInstall = ''
78 postInstall = ''
80 # If we're building dynamic libraries, then don't install static
79 # If we're building dynamic libraries, then don't install static
pkgs/development/libraries/p11-kit/default.nix+2
@@ -30,6 +30,8 @@ stdenv.mkDerivation rec {
30
30
31 installFlags = [ "exampledir=\${out}/etc/pkcs11" ];
31 installFlags = [ "exampledir=\${out}/etc/pkcs11" ];
32
32
33+ doInstallCheck = false; # probably a bug in this derivation
34+
33 meta = with stdenv.lib; {
35 meta = with stdenv.lib; {
34 homepage = https://p11-glue.freedesktop.org/;
36 homepage = https://p11-glue.freedesktop.org/;
35 platforms = platforms.all;
37 platforms = platforms.all;
pkgs/development/libraries/pcre2/default.nix+2
@@ -40,6 +40,8 @@ stdenv.mkDerivation rec {
40
40
41 outputs = [ "bin" "dev" "out" "doc" "man" "devdoc" ];
41 outputs = [ "bin" "dev" "out" "doc" "man" "devdoc" ];
42
42
43+ doCheck = false; # fails 1 of 3 tests
44+
43 postFixup = ''
45 postFixup = ''
44 moveToOutput bin/pcre2-config "$dev"
46 moveToOutput bin/pcre2-config "$dev"
45 '';
47 '';
pkgs/development/libraries/phonon/backends/vlc.nix+2−2
@@ -7,7 +7,7 @@
7with lib;
7with lib;
8
8
9let
9let
10− v = "0.9.0";
10+ v = "0.10.1";
11 pname = "phonon-backend-vlc";
11 pname = "phonon-backend-vlc";
12in
12in
13
13
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
25
25
26 src = fetchurl {
26 src = fetchurl {
27 url = "mirror://kde/stable/phonon/${pname}/${v}/${pname}-${v}.tar.xz";
27 url = "mirror://kde/stable/phonon/${pname}/${v}/${pname}-${v}.tar.xz";
28− sha256 = "1gnd1j305mqajw5gxm42vg6ajkvi8611bxgc3qhj5k0saz5dgkn0";
28+ sha256 = "0b87mzkw9fdkrwgnh1kw5i5wnrd05rl42hynlykb7cfymsk6v5h9";
29 };
29 };
30
30
31 buildInputs =
31 buildInputs =
pkgs/development/libraries/poppler/default.nix+2−2
@@ -8,7 +8,7 @@
8}:
8}:
9
9
10let # beware: updates often break cups-filters build
10let # beware: updates often break cups-filters build
11− version = "0.63.0";
11+ version = "0.65.0";
12 mkFlag = optset: flag: "-DENABLE_${flag}=${if optset then "on" else "off"}";
12 mkFlag = optset: flag: "-DENABLE_${flag}=${if optset then "on" else "off"}";
13in
13in
14stdenv.mkDerivation rec {
14stdenv.mkDerivation rec {
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
16
16
17 src = fetchurl {
17 src = fetchurl {
18 url = "${meta.homepage}/poppler-${version}.tar.xz";
18 url = "${meta.homepage}/poppler-${version}.tar.xz";
19− sha256 = "04d1z1ygyb3llzc6s6c99wxafvljj2sc5b76djif34f7mzfqmk17";
19+ sha256 = "01wgvpi1l7nqkvixnmhmlpld0fjryhl7rlwvba6agz9yz1rwzj49";
20 };
20 };
21
21
22 outputs = [ "out" "dev" ];
22 outputs = [ "out" "dev" ];
pkgs/development/libraries/popt/default.nix+4−2
@@ -8,10 +8,12 @@ stdenv.mkDerivation rec {
8 sha256 = "1j2c61nn2n351nhj4d25mnf3vpiddcykq005w2h6kw79dwlysa77";
8 sha256 = "1j2c61nn2n351nhj4d25mnf3vpiddcykq005w2h6kw79dwlysa77";
9 };
9 };
10
10
11− patches = if stdenv.isCygwin then [
11+ patches = stdenv.lib.optionals stdenv.isCygwin [
12 ./1.16-cygwin.patch
12 ./1.16-cygwin.patch
13 ./1.16-vpath.patch
13 ./1.16-vpath.patch
14− ] else null;
14+ ];
15+
16+ doCheck = false; # fails
15
17
16 meta = {
18 meta = {
17 description = "Command line option parsing library";
19 description = "Command line option parsing library";
pkgs/development/libraries/qt-4.x/4.8/default.nix+2
@@ -192,6 +192,8 @@ stdenv.mkDerivation rec {
192 sed -i 's/^\(LIBS[[:space:]]*=.*$\)/\1 -lobjc/' ./src/corelib/Makefile.Release
192 sed -i 's/^\(LIBS[[:space:]]*=.*$\)/\1 -lobjc/' ./src/corelib/Makefile.Release
193 '';
193 '';
194
194
195+ doCheck = false; # qwebframe test fails with fontconfig errors
196+
195 postInstall = ''
197 postInstall = ''
196 rm -rf $out/tests
198 rm -rf $out/tests
197 '';
199 '';
pkgs/development/libraries/qt-5/5.10/default.nix+1−3
@@ -37,9 +37,7 @@ let
37 srcs = import ./srcs.nix { inherit fetchurl; inherit mirror; };
37 srcs = import ./srcs.nix { inherit fetchurl; inherit mirror; };
38
38
39 patches = {
39 patches = {
40− qtbase = [ ./qtbase.patch ] ++
40+ qtbase = [ ./qtbase.patch ./qtbase-darwin.patch ];
41− optionals stdenv.isDarwin [ ./qtbase-darwin.patch
42− ./restore-pc-files.patch ];
43 qtdeclarative = [ ./qtdeclarative.patch ];
41 qtdeclarative = [ ./qtdeclarative.patch ];
44 qtscript = [ ./qtscript.patch ];
42 qtscript = [ ./qtscript.patch ];
45 qtserialport = [ ./qtserialport.patch ];
43 qtserialport = [ ./qtserialport.patch ];
pkgs/development/libraries/qt-5/5.10/restore-pc-files.patchdeleted−27
@@ -1,27 +0,0 @@
1−diff --git a/mkspecs/features/qt_module.prf b/mkspecs/features/qt_module.prf
2−index e6a0d97f1a..b50ce77d51 100644
3−--- a/mkspecs/features/qt_module.prf
4−+++ b/mkspecs/features/qt_module.prf
5−@@ -266,7 +266,7 @@ load(qt_installs)
6− load(qt_targets)
7−
8− # this builds on top of qt_common
9−-!internal_module:!lib_bundle:if(unix|mingw) {
10−+!internal_module:if(unix|mingw) {
11− CONFIG += create_pc
12− QMAKE_PKGCONFIG_DESTDIR = pkgconfig
13− host_build: \
14−diff --git a/mkspecs/features/qt_module_headers.prf b/mkspecs/features/qt_module_headers.prf
15−index 62b88c6fe2..f302f1e202 100644
16−--- a/mkspecs/features/qt_module_headers.prf
17−+++ b/mkspecs/features/qt_module_headers.prf
18−@@ -102,8 +102,7 @@ git_build: \
19− else: \
20− INC_PATH = $$MODULE_BASE_INDIR
21− include($$INC_PATH/include/$$MODULE_INCNAME/headers.pri, "", true)
22−-!lib_bundle: \ # Headers are embedded into the bundle, so don't install them separately.
23−- CONFIG += qt_install_headers
24−+CONFIG += qt_install_headers
25−
26− alien_syncqt: return()
27−
pkgs/development/libraries/qt-5/mkDerivation.nix+3
@@ -16,6 +16,9 @@ let
16 optional (!debug) "-DQT_NO_DEBUG"
16 optional (!debug) "-DQT_NO_DEBUG"
17 ++ lib.toList (args.NIX_CFLAGS_COMPILE or []);
17 ++ lib.toList (args.NIX_CFLAGS_COMPILE or []);
18
18
19+ configureFlags = [ "-no-framework" ]
20+ ++ (args.configureFlags or []);
21+
19 cmakeFlags =
22 cmakeFlags =
20 (args.cmakeFlags or [])
23 (args.cmakeFlags or [])
21 ++ [
24 ++ [
pkgs/development/libraries/qt-5/modules/qtbase.nix+6
@@ -327,6 +327,12 @@ stdenv.mkDerivation {
327 ]
327 ]
328 ++ lib.optional withGtk3 "-gtk"
328 ++ lib.optional withGtk3 "-gtk"
329 ++ lib.optional (compareVersion "5.9.0" >= 0) "-inotify"
329 ++ lib.optional (compareVersion "5.9.0" >= 0) "-inotify"
330+ ++ lib.optionals (compareVersion "5.10.0" >= 0) [
331+ # Without these, Qt stops working on kernels < 3.17. See:
332+ # https://github.com/NixOS/nixpkgs/issues/38832
333+ "-no-feature-renameat2"
334+ "-no-feature-getentropy"
335+ ]
330 );
336 );
331
337
332 enableParallelBuilding = true;
338 enableParallelBuilding = true;
pkgs/development/libraries/serf/default.nix+2−6
@@ -17,17 +17,13 @@ stdenv.mkDerivation rec {
17 sed -e '/^env[.]Append(BUILDERS/ienv.Append(ENV={"PATH":os.environ["PATH"]})' \
17 sed -e '/^env[.]Append(BUILDERS/ienv.Append(ENV={"PATH":os.environ["PATH"]})' \
18 -e '/^env[.]Append(BUILDERS/ienv.Append(ENV={"NIX_CFLAGS_COMPILE":os.environ["NIX_CFLAGS_COMPILE"]})' \
18 -e '/^env[.]Append(BUILDERS/ienv.Append(ENV={"NIX_CFLAGS_COMPILE":os.environ["NIX_CFLAGS_COMPILE"]})' \
19 -e '/^env[.]Append(BUILDERS/ienv.Append(ENV={"NIX_LDFLAGS":os.environ["NIX_LDFLAGS"]})' \
19 -e '/^env[.]Append(BUILDERS/ienv.Append(ENV={"NIX_LDFLAGS":os.environ["NIX_LDFLAGS"]})' \
20− -e 's,$OPENSSL/lib,${openssl.out}/lib,' \
21− -e 's,$OPENSSL/include,${openssl.dev}/include,' \
22 -i SConstruct
20 -i SConstruct
23 '';
21 '';
24
22
25 buildPhase = ''
23 buildPhase = ''
26 scons PREFIX="$out" OPENSSL="${openssl}" ZLIB="${zlib}" APR="$(echo "${apr.dev}"/bin/*-config)" CFLAGS="-I${zlib.dev}/include" \
24 scons PREFIX="$out" OPENSSL="${openssl}" ZLIB="${zlib}" APR="$(echo "${apr.dev}"/bin/*-config)" CFLAGS="-I${zlib.dev}/include" \
27− LINKFLAGS="-L${zlib.out}/lib -L${expat}/lib -L${openldap}/lib -L${libiconv}/lib" \
25+ LINKFLAGS="-L${zlib.out}/lib -L${openldap}/lib -L${libiconv}/lib" \
28− APU="$(echo "${aprutil.dev}"/bin/*-config)" CC="${
26+ APU="$(echo "${aprutil.dev}"/bin/*-config)" CC=$CC ${
29− if stdenv.cc.isClang then "clang" else "${stdenv.cc}/bin/gcc"
30− }" ${
31 if (stdenv.isDarwin || stdenv.isCygwin) then "" else "GSSAPI=\"${kerberos.dev}\""
27 if (stdenv.isDarwin || stdenv.isCygwin) then "" else "GSSAPI=\"${kerberos.dev}\""
32 }
28 }
33 '';
29 '';
pkgs/development/libraries/spice-gtk/default.nix+1−1
@@ -52,7 +52,7 @@ in stdenv.mkDerivation rec {
52
52
53 nativeBuildInputs = [ pkgconfig gettext libsoup autoreconfHook vala gobjectIntrospection ];
53 nativeBuildInputs = [ pkgconfig gettext libsoup autoreconfHook vala gobjectIntrospection ];
54
54
55− PKG_CONFIG_POLKIT_GOBJECT_1_POLICYDIR = "share/polkit-1/actions";
55+ PKG_CONFIG_POLKIT_GOBJECT_1_POLICYDIR = "$(out)/share/polkit-1/actions";
56
56
57 configureFlags = [
57 configureFlags = [
58 "--with-gtk3"
58 "--with-gtk3"
pkgs/development/libraries/sqlcipher/default.nix+2
@@ -20,6 +20,8 @@ stdenv.mkDerivation rec {
20 CFLAGS = [ "-DSQLITE_ENABLE_COLUMN_METADATA=1" "-DSQLITE_SECURE_DELETE=1" "-DSQLITE_ENABLE_UNLOCK_NOTIFY=1" "-DSQLITE_HAS_CODEC" ];
20 CFLAGS = [ "-DSQLITE_ENABLE_COLUMN_METADATA=1" "-DSQLITE_SECURE_DELETE=1" "-DSQLITE_ENABLE_UNLOCK_NOTIFY=1" "-DSQLITE_HAS_CODEC" ];
21 LDFLAGS = lib.optional (readline != null) "-lncurses";
21 LDFLAGS = lib.optional (readline != null) "-lncurses";
22
22
23+ doCheck = false; # fails. requires tcl?
24+
23 meta = with stdenv.lib; {
25 meta = with stdenv.lib; {
24 homepage = http://sqlcipher.net/;
26 homepage = http://sqlcipher.net/;
25 description = "Full Database Encryption for SQLite";
27 description = "Full Database Encryption for SQLite";
pkgs/development/libraries/sqlite/analyzer.nixnew file+18
@@ -0,0 +1,18 @@
1+{ stdenv, tcl, sqlite }:
2+
3+stdenv.mkDerivation rec {
4+ name = "sqlite-analyzer-${version}";
5+ inherit (sqlite) src version;
6+
7+ nativeBuildInputs = [ tcl ];
8+ makeFlags = [ "sqlite3_analyzer" ];
9+ installPhase = "install -Dt $out/bin sqlite3_analyzer";
10+
11+ meta = with stdenv.lib; {
12+ description = "A tool that shows statistics about SQLite databases";
13+ downloadPage = http://sqlite.org/download.html;
14+ homepage = http://www.sqlite.org;
15+ maintainers = with maintainers; [ pesterhazy ];
16+ platforms = platforms.unix;
17+ };
18+}
pkgs/development/libraries/sqlite/default.nix+33−13
@@ -1,21 +1,40 @@
1−{ lib, stdenv, fetchurl, interactive ? false, readline ? null, ncurses ? null }:
1+{ stdenv, fetchzip, tcl, zlib, interactive ? false, readline ? null, ncurses ? null }:
2
2
3assert interactive -> readline != null && ncurses != null;
3assert interactive -> readline != null && ncurses != null;
4
4
5−stdenv.mkDerivation {
5+with stdenv.lib;
6− name = "sqlite-3.22.0";
7
6
8− src = fetchurl {
7+let
8+ archiveVersion = version:
9+ let
10+ segments = splitString "." version;
11+ major = head segments;
12+ minor = concatMapStrings (fixedWidthNumber 2) (tail segments);
13+ in
14+ major + minor + "00";
15+in
16+
17+stdenv.mkDerivation rec {
18+ name = "sqlite-${version}";
19+ version = "3.23.1";
20+
21+ src = fetchzip {
9− url = "http://sqlite.org/2018/sqlite-autoconf-3220000.tar.gz";
22+ url = "https://sqlite.org/2018/sqlite-src-${archiveVersion version}.zip";
10− sha256 = "04n6hnw2g818d7r92cp2608kd5mhzyysy83k29kbq1mp709an918";
23+ sha256 = "1dshxmiqdiympg1i2jsz3x543zmcgzhn78lpsjc0546rir0s0zk0";
11 };
24 };
12
25
13 outputs = [ "bin" "dev" "out" ];
26 outputs = [ "bin" "dev" "out" ];
14 separateDebugInfo = stdenv.isLinux;
27 separateDebugInfo = stdenv.isLinux;
15
28
29+ nativeBuildInputs = [ tcl ];
30+ buildInputs = [ zlib ]
16− buildInputs = lib.optionals interactive [ readline ncurses ];
31+ ++ optionals interactive [ readline ncurses ];
17
32
33+ configureFlags = [
34+ # Disables libtclsqlite.so, tcl is still required for the build itself:
35+ "--disable-tcl"
36+ "--enable-threadsafe"
18− configureFlags = [ "--enable-threadsafe" ] ++ lib.optional interactive "--enable-readline";
37+ ] ++ optional interactive "--enable-readline";
19
38
20 NIX_CFLAGS_COMPILE = [
39 NIX_CFLAGS_COMPILE = [
21 "-DSQLITE_ENABLE_COLUMN_METADATA"
40 "-DSQLITE_ENABLE_COLUMN_METADATA"
@@ -53,15 +72,16 @@ stdenv.mkDerivation {
53 # Necessary for FTS5 on Linux
72 # Necessary for FTS5 on Linux
54 export NIX_LDFLAGS="$NIX_LDFLAGS -lm"
73 export NIX_LDFLAGS="$NIX_LDFLAGS -lm"
55
74
56− echo ""
75+ echo
57 echo "NIX_CFLAGS_COMPILE = $NIX_CFLAGS_COMPILE"
76 echo "NIX_CFLAGS_COMPILE = $NIX_CFLAGS_COMPILE"
58− echo ""
77+ echo
59 '';
78 '';
60
79
61 meta = {
80 meta = {
62− homepage = http://www.sqlite.org/;
63 description = "A self-contained, serverless, zero-configuration, transactional SQL database engine";
81 description = "A self-contained, serverless, zero-configuration, transactional SQL database engine";
64− platforms = stdenv.lib.platforms.unix;
82+ downloadPage = http://sqlite.org/download.html;
83+ homepage = http://www.sqlite.org/;
65− maintainers = with stdenv.lib.maintainers; [ eelco np ];
84+ maintainers = with maintainers; [ eelco np ];
85+ platforms = platforms.unix;
66 };
86 };
67}
87}
pkgs/development/libraries/sqlite/sqlite3_analyzer.nixdeleted−27
@@ -1,27 +0,0 @@
1−{ lib, stdenv, fetchurl, unzip, tcl }:
2−
3−stdenv.mkDerivation {
4− name = "sqlite3_analyzer-3.22.0";
5−
6− src = fetchurl {
7− url = "https://www.sqlite.org/2018/sqlite-src-3220000.zip";
8− sha256 = "04w97jj1659vl84rr73wg1mhj6by8r5075rzpn2xp42n537a7ibv";
9− };
10−
11− nativeBuildInputs = [ unzip ];
12− buildInputs = [ tcl ];
13−
14− makeFlags = [ "sqlite3_analyzer" ];
15−
16− installPhase = ''
17− install -Dm755 sqlite3_analyzer \
18− "$out/bin/sqlite3_analyzer"
19− '';
20−
21− meta = with stdenv.lib; {
22− homepage = http://www.sqlite.org/;
23− description = "A tool that shows statistics about sqlite databases";
24− platforms = platforms.unix;
25− maintainers = with maintainers; [ pesterhazy ];
26− };
27−}
pkgs/development/libraries/srtp/default.nix+2−2
@@ -5,13 +5,13 @@
5with stdenv.lib;
5with stdenv.lib;
6stdenv.mkDerivation rec {
6stdenv.mkDerivation rec {
7 name = "libsrtp-${version}";
7 name = "libsrtp-${version}";
8− version = "2.1.0";
8+ version = "2.2.0";
9
9
10 src = fetchFromGitHub {
10 src = fetchFromGitHub {
11 owner = "cisco";
11 owner = "cisco";
12 repo = "libsrtp";
12 repo = "libsrtp";
13 rev = "v${version}";
13 rev = "v${version}";
14− sha256 = "1q2rf1d2bsypdnw9k8ag6hrh9vbinfa504d1f42fdgdqw31d6lib";
14+ sha256 = "1ac7xs1djb03j131f1gmqyfmrplblid9qqyxahs0shdy707r5ll6";
15 };
15 };
16
16
17 nativeBuildInputs = [ pkgconfig ];
17 nativeBuildInputs = [ pkgconfig ];
pkgs/development/libraries/tk/8.5.nix−1
@@ -8,4 +8,3 @@ callPackage ./generic.nix (args // rec {
8 };
8 };
9
9
10})
10})
11−
pkgs/development/libraries/tk/8.6.nix−1
@@ -10,4 +10,3 @@ callPackage ./generic.nix (args // rec {
10 patches = [ ./different-prefix-with-tcl.patch ] ++ stdenv.lib.optionals stdenv.isDarwin [ ./Fix-bad-install_name-for-libtk8.6.dylib.patch ];
10 patches = [ ./different-prefix-with-tcl.patch ] ++ stdenv.lib.optionals stdenv.isDarwin [ ./Fix-bad-install_name-for-libtk8.6.dylib.patch ];
11
11
12})
12})
13−
pkgs/development/libraries/tk/generic.nix+2
@@ -31,6 +31,8 @@ stdenv.mkDerivation {
31
31
32 NIX_CFLAGS_LINK = if stdenv.isDarwin then "-lfontconfig" else null;
32 NIX_CFLAGS_LINK = if stdenv.isDarwin then "-lfontconfig" else null;
33
33
34+ doCheck = false; # fails. can't find itself
35+
34 inherit tcl;
36 inherit tcl;
35
37
36 passthru = rec {
38 passthru = rec {
pkgs/development/libraries/wayland/default.nix+2−2
@@ -8,11 +8,11 @@ assert expat != null;
8
8
9stdenv.mkDerivation rec {
9stdenv.mkDerivation rec {
10 name = "wayland-${version}";
10 name = "wayland-${version}";
11− version = "1.14.0";
11+ version = "1.15.0";
12
12
13 src = fetchurl {
13 src = fetchurl {
14 url = "https://wayland.freedesktop.org/releases/${name}.tar.xz";
14 url = "https://wayland.freedesktop.org/releases/${name}.tar.xz";
15− sha256 = "1f3sla6h0bw15fz8pjc67jhwj7pwmfdc7qlj42j5k9v116ycm07d";
15+ sha256 = "1c5fnys8hi71cnzjv5k7j0r8gx80p0yyqlrpmn06mmarhnxvwgzb";
16 };
16 };
17
17
18 configureFlags = [ "--with-scanner" "--disable-documentation" ];
18 configureFlags = [ "--with-scanner" "--disable-documentation" ];
pkgs/development/libraries/wayland/protocols.nix+2−2
@@ -4,11 +4,11 @@
4
4
5stdenv.mkDerivation rec {
5stdenv.mkDerivation rec {
6 name = "wayland-protocols-${version}";
6 name = "wayland-protocols-${version}";
7− version = "1.13";
7+ version = "1.14";
8
8
9 src = fetchurl {
9 src = fetchurl {
10 url = "http://wayland.freedesktop.org/releases/${name}.tar.xz";
10 url = "http://wayland.freedesktop.org/releases/${name}.tar.xz";
11− sha256 = "0f4gqvmz53q9d8h0ilhf4z773nb4vskzx11a3d1jycym120bqn07";
11+ sha256 = "1xknjcfhqvdi1s4iq4kk1q61fg2rar3g8q4vlqarpd324imqjj4n";
12 };
12 };
13
13
14 nativeBuildInputs = [ pkgconfig ];
14 nativeBuildInputs = [ pkgconfig ];
pkgs/development/libraries/x265/default.nix+2−2
@@ -16,14 +16,14 @@ in
16
16
17stdenv.mkDerivation rec {
17stdenv.mkDerivation rec {
18 name = "x265-${version}";
18 name = "x265-${version}";
19− version = "2.6";
19+ version = "2.7";
20
20
21 src = fetchurl {
21 src = fetchurl {
22 urls = [
22 urls = [
23 "http://get.videolan.org/x265/x265_${version}.tar.gz"
23 "http://get.videolan.org/x265/x265_${version}.tar.gz"
24 "https://github.com/videolan/x265/archive/${version}.tar.gz"
24 "https://github.com/videolan/x265/archive/${version}.tar.gz"
25 ];
25 ];
26− sha256 = "1gyd94jkwdii9308m07nymsbxrmrcl81c0j8i10zhslr2mj07w0v";
26+ sha256 = "18llni1m8kfvdwy5bp950z6gyd0nijmvi3hzd6gd8vpy5yk5zrym";
27 };
27 };
28
28
29 enableParallelBuilding = true;
29 enableParallelBuilding = true;
pkgs/development/libraries/zeromq/3.x.nix+2
@@ -10,6 +10,8 @@ stdenv.mkDerivation rec {
10
10
11 buildInputs = [ libuuid ];
11 buildInputs = [ libuuid ];
12
12
13+ doCheck = false; # fails all the tests (ctest)
14+
13 meta = with stdenv.lib; {
15 meta = with stdenv.lib; {
14 branch = "3";
16 branch = "3";
15 homepage = http://www.zeromq.org;
17 homepage = http://www.zeromq.org;
pkgs/development/libraries/zeromq/4.x.nix+2
@@ -19,6 +19,8 @@ stdenv.mkDerivation rec {
19 sed -i 's,''${PACKAGE_PREFIX_DIR}/,,g' ZeroMQConfig.cmake.in
19 sed -i 's,''${PACKAGE_PREFIX_DIR}/,,g' ZeroMQConfig.cmake.in
20 '';
20 '';
21
21
22+ doCheck = false; # fails all the tests (ctest)
23+
22 meta = with stdenv.lib; {
24 meta = with stdenv.lib; {
23 branch = "4";
25 branch = "4";
24 homepage = http://www.zeromq.org;
26 homepage = http://www.zeromq.org;
pkgs/development/perl-modules/BerkeleyDB/default.nix+2−2
@@ -9,7 +9,7 @@ buildPerlPackage rec {
9 };
9 };
10
10
11 preConfigure = ''
11 preConfigure = ''
12− echo "LIB = ${db}/lib" > config.in
12+ echo "LIB = ${db.out}/lib" > config.in
13− echo "INCLUDE = ${db}/include" >> config.in
13+ echo "INCLUDE = ${db.dev}/include" >> config.in
14 '';
14 '';
15}
15}
pkgs/development/perl-modules/DB_File/default.nix+2−2
@@ -12,8 +12,8 @@ buildPerlPackage rec {
12 cat > config.in <<EOF
12 cat > config.in <<EOF
13 PREFIX = size_t
13 PREFIX = size_t
14 HASH = u_int32_t
14 HASH = u_int32_t
15− LIB = ${db}/lib
15+ LIB = ${db.out}/lib
16− INCLUDE = ${db}/include
16+ INCLUDE = ${db.dev}/include
17 EOF
17 EOF
18 '';
18 '';
19}
19}
pkgs/development/python-modules/Cython/default.nix+2−2
@@ -13,11 +13,11 @@
13
13
14buildPythonPackage rec {
14buildPythonPackage rec {
15 pname = "Cython";
15 pname = "Cython";
16− version = "0.28.1";
16+ version = "0.28.2";
17
17
18 src = fetchPypi {
18 src = fetchPypi {
19 inherit pname version;
19 inherit pname version;
20− sha256 = "152ee5f345012ca3bb7cc71da2d3736ee20f52cd8476e4d49e5e25c5a4102b12";
20+ sha256 = "634e2f10fc8d026c633cffacb45cd8f4582149fa68e1428124e762dbc566e68a";
21 };
21 };
22
22
23 nativeBuildInputs = [
23 nativeBuildInputs = [
pkgs/development/python-modules/Nikola/default.nix+2−2
@@ -29,7 +29,7 @@
29
29
30buildPythonPackage rec {
30buildPythonPackage rec {
31 pname = "Nikola";
31 pname = "Nikola";
32− version = "7.8.14";
32+ version = "7.8.15";
33
33
34 # Nix contains only Python 3 supported version of doit, which is a dependency
34 # Nix contains only Python 3 supported version of doit, which is a dependency
35 # of Nikola. Python 2 support would require older doit 0.29.0 (which on the
35 # of Nikola. Python 2 support would require older doit 0.29.0 (which on the
@@ -46,7 +46,7 @@ buildPythonPackage rec {
46
46
47 src = fetchPypi {
47 src = fetchPypi {
48 inherit pname version;
48 inherit pname version;
49− sha256 = "0d838817ac30ac6d4b8139a2adc8b49bed22dbb8fbc6261958d2775e10447d92";
49+ sha256 = "182b4b9254f0d710603ba491853429ad6ef3f955f3e718191336b44cfd649000";
50 };
50 };
51
51
52 meta = {
52 meta = {
pkgs/development/python-modules/XlsxWriter/default.nix+2−2
@@ -3,11 +3,11 @@
3buildPythonPackage rec {
3buildPythonPackage rec {
4 name = "${pname}-${version}";
4 name = "${pname}-${version}";
5 pname = "XlsxWriter";
5 pname = "XlsxWriter";
6− version = "1.0.2";
6+ version = "1.0.4";
7
7
8 src = fetchPypi {
8 src = fetchPypi {
9 inherit pname version;
9 inherit pname version;
10− sha256 = "0mpq4l1jfghdqx2vzbzl9v28vw69lkx5vz9gb77gzaw8zypvnsx2";
10+ sha256 = "ad947fd9e8edfb64f25e0ccfb161e109f279e5a5520b3dd22ddc03b7f8220887";
11 };
11 };
12
12
13 meta = {
13 meta = {
pkgs/development/python-modules/aenum/default.nix+2−2
@@ -2,12 +2,12 @@
2
2
3buildPythonPackage rec {
3buildPythonPackage rec {
4 pname = "aenum";
4 pname = "aenum";
5− version = "2.1.0";
5+ version = "2.1.2";
6 name = "${pname}-${version}";
6 name = "${pname}-${version}";
7
7
8 src = fetchPypi {
8 src = fetchPypi {
9 inherit pname version;
9 inherit pname version;
10− sha256 = "9eb1c8f48ae13c56d22a7227db0e4b1717131b284c6c0db6e4ccca6f5894df95";
10+ sha256 = "a3208e4b28db3a7b232ff69b934aef2ea1bf27286d9978e1e597d46f490e4687";
11 };
11 };
12
12
13 # For Python 3, locale has to be set to en_US.UTF-8 for
13 # For Python 3, locale has to be set to en_US.UTF-8 for
pkgs/development/python-modules/aiohttp/default.nix+2−2
@@ -16,11 +16,11 @@
16
16
17buildPythonPackage rec {
17buildPythonPackage rec {
18 pname = "aiohttp";
18 pname = "aiohttp";
19− version = "3.1.2";
19+ version = "3.1.3";
20
20
21 src = fetchPypi {
21 src = fetchPypi {
22 inherit pname version;
22 inherit pname version;
23− sha256 = "df49fe4452a942e0031174c78917f9926d122d4603bf56bae4591639f2a3dc6a";
23+ sha256 = "9fcef0489e3335b200d31a9c1fb6ba80fdafe14cd82b971168c2f9fa1e4508ad";
24 };
24 };
25
25
26 disabled = pythonOlder "3.5";
26 disabled = pythonOlder "3.5";
pkgs/development/python-modules/astral/default.nix+2−2
@@ -2,11 +2,11 @@
2
2
3buildPythonPackage rec {
3buildPythonPackage rec {
4 pname = "astral";
4 pname = "astral";
5− version = "1.6";
5+ version = "1.6.1";
6
6
7 src = fetchPypi {
7 src = fetchPypi {
8 inherit pname version;
8 inherit pname version;
9− sha256 = "874b397ddbf0a4c1d8d644b21c2481e8a96b61343f820ad52d8a322d61a15083";
9+ sha256 = "ab0c08f2467d35fcaeb7bad15274743d3ac1ad18b5391f64a0058a9cd192d37d";
10 };
10 };
11
11
12 propagatedBuildInputs = [ pytz requests ];
12 propagatedBuildInputs = [ pytz requests ];
pkgs/development/python-modules/astropy/default.nix+2−2
@@ -7,7 +7,7 @@
7
7
8buildPythonPackage rec {
8buildPythonPackage rec {
9 pname = "astropy";
9 pname = "astropy";
10− version = "3.0.1";
10+ version = "3.0.2";
11
11
12 disabled = !isPy3k; # according to setup.py
12 disabled = !isPy3k; # according to setup.py
13
13
@@ -15,7 +15,7 @@ buildPythonPackage rec {
15
15
16 src = fetchPypi {
16 src = fetchPypi {
17 inherit pname version;
17 inherit pname version;
18− sha256 = "c35f4433c14ddfcaf2407cc815385f3d85396727e9a1e660cf66a7c4f5dd1067";
18+ sha256 = "22e682904a3b8884595addfb743cf1a3ecf2b539c6616d98f8426208d822d84a";
19 };
19 };
20
20
21 propagatedBuildInputs = [ pytest numpy ]; # yes it really has pytest in install_requires
21 propagatedBuildInputs = [ pytest numpy ]; # yes it really has pytest in install_requires
pkgs/development/python-modules/bayespy/default.nix+2−2
@@ -4,7 +4,7 @@
4
4
5buildPythonPackage rec {
5buildPythonPackage rec {
6 pname = "bayespy";
6 pname = "bayespy";
7− version = "0.5.14";
7+ version = "0.5.17";
8 name = "${pname}-${version}";
8 name = "${pname}-${version}";
9
9
10 # Python 2 not supported and not some old Python 3 because MPL doesn't support
10 # Python 2 not supported and not some old Python 3 because MPL doesn't support
@@ -13,7 +13,7 @@ buildPythonPackage rec {
13
13
14 src = fetchPypi {
14 src = fetchPypi {
15 inherit pname version;
15 inherit pname version;
16− sha256 = "129bac6a1c494eedabdd04abf14aac35db176d25db44e27f755c758a18adf03c";
16+ sha256 = "2e04cd9873eea6891ea8dfd5fc6d718727ea7cc416bc2ced50e00a741386925f";
17 };
17 };
18
18
19 checkInputs = [ pytest glibcLocales ];
19 checkInputs = [ pytest glibcLocales ];
pkgs/development/python-modules/bootstrapped-pip/default.nix+5−15
@@ -3,9 +3,9 @@
3let
3let
4 wheel_source = fetchPypi {
4 wheel_source = fetchPypi {
5 pname = "wheel";
5 pname = "wheel";
6− version = "0.30.0";
6+ version = "0.31.0";
7 format = "wheel";
7 format = "wheel";
8− sha256 = "e721e53864f084f956f40f96124a74da0631ac13fbbd1ba99e8e2b5e9cafdf64";
8+ sha256 = "9cdc8ab2cc9c3c2e2727a4b67c22881dbb0e1c503d592992594c5e131c867107";
9 };
9 };
10 setuptools_source = fetchPypi {
10 setuptools_source = fetchPypi {
11 pname = "setuptools";
11 pname = "setuptools";
@@ -14,23 +14,15 @@ let
14 sha256 = "8010754433e3211b9cdbbf784b50f30e80bf40fc6b05eb5f865fab83300599b8";
14 sha256 = "8010754433e3211b9cdbbf784b50f30e80bf40fc6b05eb5f865fab83300599b8";
15 };
15 };
16
16
17− # TODO: Shouldn't be necessary anymore for pip >= 10!
18− # https://github.com/NixOS/nixpkgs/issues/26392
19− # https://github.com/pypa/setuptools/issues/885
20− pkg_resources = fetchurl {
21− url = "https://raw.githubusercontent.com/pypa/setuptools/v36.0.1/pkg_resources/__init__.py";
22− sha256 = "1wdnq3mammk75mifkdmmjx7yhnpydvnvi804na8ym4mj934l2jkv";
23− };
24−
25in stdenv.mkDerivation rec {
17in stdenv.mkDerivation rec {
26 pname = "pip";
18 pname = "pip";
27− version = "9.0.3";
19+ version = "10.0.1";
28 name = "${python.libPrefix}-bootstrapped-${pname}-${version}";
20 name = "${python.libPrefix}-bootstrapped-${pname}-${version}";
29
21
30 src = fetchPypi {
22 src = fetchPypi {
31 inherit pname version;
23 inherit pname version;
32 format = "wheel";
24 format = "wheel";
33− sha256 = "c3ede34530e0e0b2381e7363aded78e0c33291654937e7373032fda04e8803e5";
25+ sha256 = "717cdffb2833be8409433a93746744b59505f42146e8d37de6c62b430e25d6d7";
34 };
26 };
35
27
36 unpackPhase = ''
28 unpackPhase = ''
@@ -38,8 +30,6 @@ in stdenv.mkDerivation rec {
38 unzip -d $out/${python.sitePackages} $src
30 unzip -d $out/${python.sitePackages} $src
39 unzip -d $out/${python.sitePackages} ${setuptools_source}
31 unzip -d $out/${python.sitePackages} ${setuptools_source}
40 unzip -d $out/${python.sitePackages} ${wheel_source}
32 unzip -d $out/${python.sitePackages} ${wheel_source}
41− # TODO: Shouldn't be necessary anymore for pip >= 10!
42− cp ${pkg_resources} $out/${python.sitePackages}/pip/_vendor/pkg_resources/__init__.py
43 '';
33 '';
44
34
45 patchPhase = ''
35 patchPhase = ''
@@ -53,7 +43,7 @@ in stdenv.mkDerivation rec {
53
43
54 # install pip binary
44 # install pip binary
55 echo '#!${python.interpreter}' > $out/bin/pip
45 echo '#!${python.interpreter}' > $out/bin/pip
56− echo 'import sys;from pip import main' >> $out/bin/pip
46+ echo 'import sys;from pip._internal import main' >> $out/bin/pip
57 echo 'sys.exit(main())' >> $out/bin/pip
47 echo 'sys.exit(main())' >> $out/bin/pip
58 chmod +x $out/bin/pip
48 chmod +x $out/bin/pip
59
49
pkgs/development/python-modules/buildout-nix/default.nix+2−2
@@ -2,12 +2,12 @@
2
2
3buildPythonPackage rec {
3buildPythonPackage rec {
4 pname = "zc.buildout";
4 pname = "zc.buildout";
5− version = "2.11.2";
5+ version = "2.11.3";
6 name = "${pname}-nix-${version}";
6 name = "${pname}-nix-${version}";
7
7
8 src = fetchurl {
8 src = fetchurl {
9 url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${pname}-${version}.tar.gz";
9 url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${pname}-${version}.tar.gz";
10− sha256 = "e304f3604a4235e896e94ea79230cfb9c0bc54569f04d5c6c4b49cc9dc4fdbf6";
10+ sha256 = "f7fde2cde7b937f67e52a3e94b76f9294b73c1e9bb698430e96778f3f735544c";
11 };
11 };
12
12
13 patches = [ ./nix.patch ];
13 patches = [ ./nix.patch ];
pkgs/development/python-modules/buildout/default.nix+2−2
@@ -2,11 +2,11 @@
2
2
3buildPythonPackage rec {
3buildPythonPackage rec {
4 pname = "zc.buildout";
4 pname = "zc.buildout";
5− version = "2.2.1";
5+ version = "2.2.5";
6
6
7 src = fetchPypi {
7 src = fetchPypi {
8 inherit pname version;
8 inherit pname version;
9− sha256 = "1xafi6ndlm964qj7pnmzmvhp719c8pgs7r7wkr508v3cq2jjw4m6";
9+ sha256 = "fb08f24f9e51e647e29d714f6e9ad51a4ea28673dddeed831315617bb5a805d0";
10 };
10 };
11
11
12 meta = with stdenv.lib; {
12 meta = with stdenv.lib; {
pkgs/development/python-modules/cmarkgfm/default.nix+2−2
@@ -2,11 +2,11 @@
2
2
3buildPythonPackage rec {
3buildPythonPackage rec {
4 pname = "cmarkgfm";
4 pname = "cmarkgfm";
5− version = "0.4.0";
5+ version = "0.4.2";
6
6
7 src = fetchPypi {
7 src = fetchPypi {
8 inherit pname version;
8 inherit pname version;
9− sha256 = "977d7061779c7ebc5cbe7af71adb795ced96058552fe5f6b646d95b5055959be";
9+ sha256 = "f20900f16377f2109783ae9348d34bc80530808439591c3d3df73d5c7ef1a00c";
10 };
10 };
11
11
12 propagatedBuildInputs = [ cffi ];
12 propagatedBuildInputs = [ cffi ];
pkgs/development/python-modules/colorlog/default.nix+2−2
@@ -2,11 +2,11 @@
2
2
3buildPythonPackage rec {
3buildPythonPackage rec {
4 pname = "colorlog";
4 pname = "colorlog";
5− version = "3.1.2";
5+ version = "3.1.4";
6
6
7 src = fetchPypi {
7 src = fetchPypi {
8 inherit pname version;
8 inherit pname version;
9− sha256 = "0i21sd6pggr2gqza41vyq2rqyb552wf5iwl4bc16i7kqislbd53z";
9+ sha256 = "418db638c9577f37f0fae4914074f395847a728158a011be2a193ac491b9779d";
10 };
10 };
11
11
12 checkInputs = [ pytest ];
12 checkInputs = [ pytest ];
pkgs/development/python-modules/confluent-kafka/default.nix+2−2
@@ -2,12 +2,12 @@
2
2
3buildPythonPackage rec {
3buildPythonPackage rec {
4 name = "${pname}-${version}";
4 name = "${pname}-${version}";
5− version = "0.11.0";
5+ version = "0.11.4";
6 pname = "confluent-kafka";
6 pname = "confluent-kafka";
7
7
8 src = fetchPypi {
8 src = fetchPypi {
9 inherit pname version;
9 inherit pname version;
10− sha256 = "4c34bfe8f823ee3777d93820ec6578365d2bde3cd1302cbd0e44c86b68643667";
10+ sha256 = "8cf480199685127c9692b0bf1e15eac82e71ae34b7967a016ab31a318741abb1";
11 };
11 };
12
12
13 buildInputs = [ rdkafka requests ] ++ (if isPy3k then [ avro3k ] else [ avro ]) ;
13 buildInputs = [ rdkafka requests ] ++ (if isPy3k then [ avro3k ] else [ avro ]) ;
pkgs/development/python-modules/dask/default.nix+2−2
@@ -12,12 +12,12 @@
12
12
13buildPythonPackage rec {
13buildPythonPackage rec {
14 pname = "dask";
14 pname = "dask";
15− version = "0.17.2";
15+ version = "0.17.4";
16 name = "${pname}-${version}";
16 name = "${pname}-${version}";
17
17
18 src = fetchPypi {
18 src = fetchPypi {
19 inherit pname version;
19 inherit pname version;
20− sha256 = "27e470b8cfdd0516189e641b1213fceec0ddc4f37ead1fbce733d3381134fccd";
20+ sha256 = "c111475a3d1f8cba41c8094e1fb1831c65015390dcef0308042a11a9606a2f6d";
21 };
21 };
22
22
23 checkInputs = [ pytest ];
23 checkInputs = [ pytest ];
pkgs/development/python-modules/deprecation/default.nixnew file+25
@@ -0,0 +1,25 @@
1+{ lib, buildPythonPackage, fetchPypi, python, packaging, unittest2 }:
2+
3+buildPythonPackage rec {
4+ pname = "deprecation";
5+ version = "2.0.2";
6+
7+ src = fetchPypi {
8+ inherit pname version;
9+ sha256 = "e8d0dc5a17d7d551730e5f23ff3a53fc9e438364b9efb47d41c3e9b05522eabe";
10+ };
11+
12+ propagatedBuildInputs = [ packaging ];
13+
14+ checkInputs = [ unittest2 ];
15+
16+ checkPhase = ''
17+ ${python.interpreter} -m unittest discover
18+ '';
19+
20+ meta = with lib; {
21+ description = "A library to handle automated deprecations";
22+ homepage = https://deprecation.readthedocs.io/;
23+ license = licenses.asl20;
24+ };
25+}
pkgs/development/python-modules/devpi-common/default.nix+2−2
@@ -2,12 +2,12 @@
2
2
3with pythonPackages;buildPythonPackage rec {
3with pythonPackages;buildPythonPackage rec {
4 pname = "devpi-common";
4 pname = "devpi-common";
5− version = "3.2.1";
5+ version = "3.2.3";
6 name = "${pname}-${version}";
6 name = "${pname}-${version}";
7
7
8 src = fetchPypi {
8 src = fetchPypi {
9 inherit pname version;
9 inherit pname version;
10− sha256 = "e9afa277a9b227d92335c49fab40be2e9bb112c0f4dda84906c14addb1ded2f7";
10+ sha256 = "d2ecae3a92b2da62ecc6586d1c40d265e61bce70d7f1be2327e8b98598ba2687";
11 };
11 };
12
12
13 propagatedBuildInputs = [ requests py ];
13 propagatedBuildInputs = [ requests py ];
pkgs/development/python-modules/django-ipware/default.nix+2−2
@@ -3,7 +3,7 @@
3buildPythonPackage rec {
3buildPythonPackage rec {
4 pname = "django-ipware";
4 pname = "django-ipware";
5 name = "${pname}-${version}";
5 name = "${pname}-${version}";
6− version = "2.0.1";
6+ version = "2.0.2";
7
7
8 meta = {
8 meta = {
9 description = "A Django application to retrieve user's IP address";
9 description = "A Django application to retrieve user's IP address";
@@ -13,7 +13,7 @@ buildPythonPackage rec {
13
13
14 src = fetchPypi {
14 src = fetchPypi {
15 inherit pname version;
15 inherit pname version;
16− sha256 = "3fba8821298c8533ce5609debf31dc8a22f228c50e100f42d97637a9f9357d43";
16+ sha256 = "abf2bfbf0ec6c04679372a55c25889c9b08f55ec404bca3dfc08f3cf6c832a11";
17 };
17 };
18
18
19 propagatedBuildInputs = [ django ];
19 propagatedBuildInputs = [ django ];
pkgs/development/python-modules/django/2_0.nix+2−2
@@ -7,13 +7,13 @@
7buildPythonPackage rec {
7buildPythonPackage rec {
8 pname = "Django";
8 pname = "Django";
9 name = "${pname}-${version}";
9 name = "${pname}-${version}";
10− version = "2.0.4";
10+ version = "2.0.5";
11
11
12 disabled = !isPy3k;
12 disabled = !isPy3k;
13
13
14 src = fetchPypi {
14 src = fetchPypi {
15 inherit pname version;
15 inherit pname version;
16− sha256 = "d81a1652963c81488e709729a80b510394050e312f386037f26b54912a3a10d0";
16+ sha256 = "71d1a584bb4ad2b4f933d07d02c716755c1394feaac1ce61ce37843ac5401092";
17 };
17 };
18
18
19 patches = stdenv.lib.optionals withGdal [
19 patches = stdenv.lib.optionals withGdal [
pkgs/development/python-modules/faker/default.nix+2−2
@@ -8,11 +8,11 @@ assert pythonOlder "3.3" -> ipaddress != null;
8
8
9buildPythonPackage rec {
9buildPythonPackage rec {
10 pname = "Faker";
10 pname = "Faker";
11− version = "0.8.12";
11+ version = "0.8.13";
12
12
13 src = fetchPypi {
13 src = fetchPypi {
14 inherit pname version;
14 inherit pname version;
15− sha256 = "9cc12b821f32ff45f6edfdc1ab7be3893b60b1224e952d68322a57e5b26a4a15";
15+ sha256 = "48fed4b4a191e2b42ad20c14115f1c6d36d338b80192075d7573f0f42d7fb321";
16 };
16 };
17
17
18 checkInputs = [
18 checkInputs = [
pkgs/development/python-modules/fastimport/default.nix+2−2
@@ -2,11 +2,11 @@
2
2
3buildPythonPackage rec {
3buildPythonPackage rec {
4 pname = "fastimport";
4 pname = "fastimport";
5− version = "0.9.6";
5+ version = "0.9.8";
6
6
7 src = fetchPypi {
7 src = fetchPypi {
8 inherit pname version;
8 inherit pname version;
9− sha256 = "1aqjsin4rmqm7ln4j0p73fzxifws6c6ikgyhav7r137m2ixsxl43";
9+ sha256 = "b2f2e8eb97000256e1aab83d2a0a053fc7b93c3aa4f7e9b971a5703dfc5963b9";
10 };
10 };
11
11
12 checkPhase = ''
12 checkPhase = ''
pkgs/development/python-modules/fiona/default.nix+2−2
@@ -5,12 +5,12 @@
5
5
6buildPythonPackage rec {
6buildPythonPackage rec {
7 pname = "Fiona";
7 pname = "Fiona";
8− version = "1.7.11.post1";
8+ version = "1.7.11.post2";
9 name = "${pname}-${version}";
9 name = "${pname}-${version}";
10
10
11 src = fetchPypi {
11 src = fetchPypi {
12 inherit pname version;
12 inherit pname version;
13− sha256 = "35df044fa805e6b420450f5d4281fc0edf96e1da0545c31032045cd3cfad3abf";
13+ sha256 = "5804c6f5f7e02cf1f95ca404c22653dd47d64e4496a0ba7af5a2d6b2051b872a";
14 };
14 };
15
15
16 buildInputs = [
16 buildInputs = [
pkgs/development/python-modules/flake8-future-import/default.nix+4−13
@@ -3,27 +3,18 @@
3
3
4buildPythonPackage rec {
4buildPythonPackage rec {
5 pname = "flake8-future-import";
5 pname = "flake8-future-import";
6− name = "${pname}-${version}";
7− version = "0.4.3";
6+ version = "0.4.5";
7+
8 # PyPI tarball doesn't include the test suite
8 # PyPI tarball doesn't include the test suite
9 src = fetchFromGitHub {
9 src = fetchFromGitHub {
10 owner = "xZise";
10 owner = "xZise";
11 repo = "flake8-future-import";
11 repo = "flake8-future-import";
12 rev = version;
12 rev = version;
13− sha256 = "0622bdcfa588m7g8igag6hf4rhjdwh74yfnrjwlxw4vlqhg344k4";
13+ sha256 = "00fpxa6g8cabybnciwnpsbg60zhgydc966jgwyyggw1pcg0frdqr";
14 };
14 };
15
15
16− patches = [
17− # Tests in 0.4.3 are broken. We can remove this patch after
18− # the next release.
19− (fetchurl {
20− url = "https://github.com/xZise/flake8-future-import/commit/b4f5a06b22c574fb5270574d1420715667768d5c.patch";
21− sha256 = "06n9ggz9p9kiwjb3vmaj44pm5vi4nhgzjfn7i730m85xn67xzmyn";
22− })
23− ];
24−
25−
26 propagatedBuildInputs = [ flake8 six ];
16 propagatedBuildInputs = [ flake8 six ];
17+
27 meta = {
18 meta = {
28 homepage = https://github.com/xZise/flake8-future-import;
19 homepage = https://github.com/xZise/flake8-future-import;
29 description = "A flake8 extension to check for the imported __future__ modules to make it easier to have a consistent code base";
20 description = "A flake8 extension to check for the imported __future__ modules to make it easier to have a consistent code base";
pkgs/development/python-modules/flask-cors/default.nix+2−2
@@ -4,11 +4,11 @@
4buildPythonPackage rec {
4buildPythonPackage rec {
5 name = "${pname}-${version}";
5 name = "${pname}-${version}";
6 pname = "Flask-Cors";
6 pname = "Flask-Cors";
7− version = "3.0.3";
7+ version = "3.0.4";
8
8
9 src = fetchPypi {
9 src = fetchPypi {
10 inherit pname version;
10 inherit pname version;
11− sha256 = "62ebc5ad80dc21ca0ea9f57466c2c74e24a62274af890b391790c260eb7b754b";
11+ sha256 = "bec996f0603a0693c0ea63c8126e5f8e966bb679cf82e6104b254e9c7f3a7d08";
12 };
12 };
13
13
14 buildInputs = [ nose ];
14 buildInputs = [ nose ];
pkgs/development/python-modules/flask/default.nix+2−2
@@ -3,12 +3,12 @@
3
3
4buildPythonPackage rec {
4buildPythonPackage rec {
5 name = "${pname}-${version}";
5 name = "${pname}-${version}";
6− version = "0.12.2";
6+ version = "0.12.4";
7 pname = "Flask";
7 pname = "Flask";
8
8
9 src = fetchPypi {
9 src = fetchPypi {
10 inherit pname version;
10 inherit pname version;
11− sha256 = "1hfs2jr2m5lr51xd4gblb28rncd0xrpycz6c07cyqsbv4dhl9x29";
11+ sha256 = "2ea22336f6d388b4b242bc3abf8a01244a8aa3e236e7407469ef78c16ba355dd";
12 };
12 };
13
13
14 checkInputs = [ pytest ];
14 checkInputs = [ pytest ];
pkgs/development/python-modules/google-api-python-client/default.nix+2−2
@@ -3,11 +3,11 @@
3
3
4buildPythonPackage rec {
4buildPythonPackage rec {
5 pname = "google-api-python-client";
5 pname = "google-api-python-client";
6− version = "1.6.6";
6+ version = "1.6.7";
7
7
8 src = fetchPypi {
8 src = fetchPypi {
9 inherit pname version;
9 inherit pname version;
10− sha256 = "ec72991f95201996a4edcea44a079cae0292798086beaadb054d91921632fe1b";
10+ sha256 = "05583a386e323f428552419253765314a4b29828c3cee15be735f9ebfa5aebf2";
11 };
11 };
12
12
13 # No tests included in archive
13 # No tests included in archive
pkgs/development/python-modules/google_api_core/default.nix+2−2
@@ -3,11 +3,11 @@
3
3
4buildPythonPackage rec {
4buildPythonPackage rec {
5 pname = "google-api-core";
5 pname = "google-api-core";
6− version = "1.1.0";
6+ version = "1.1.2";
7
7
8 src = fetchPypi {
8 src = fetchPypi {
9 inherit pname version;
9 inherit pname version;
10− sha256 = "b4f103de6bd38ab346f7d17236f6098a51ebdff733ff69956a0f1e29cb35f10b";
10+ sha256 = "2000963305e95410a66e6ef6cfcc9f4627a4a95cb1c10abc98268814f2a6cd80";
11 };
11 };
12
12
13 propagatedBuildInputs = [
13 propagatedBuildInputs = [
pkgs/development/python-modules/hdbscan/default.nix+2−2
@@ -10,11 +10,11 @@
10
10
11buildPythonPackage rec {
11buildPythonPackage rec {
12 pname = "hdbscan";
12 pname = "hdbscan";
13− version = "0.8.12";
13+ version = "0.8.13";
14
14
15 src = fetchPypi {
15 src = fetchPypi {
16 inherit pname version;
16 inherit pname version;
17− sha256 = "0yxi34frg2jwyvjl942qy4gq5pbx8dq4pf4p28d1xah8njchfqir";
17+ sha256 = "31874db29375816688b5541287a051c9bd768f2499ccf1f6a4d88d266530e2a6";
18 };
18 };
19
19
20 checkInputs = [ nose ];
20 checkInputs = [ nose ];
pkgs/development/python-modules/ipywidgets/default.nix+2−2
@@ -14,12 +14,12 @@
14
14
15buildPythonPackage rec {
15buildPythonPackage rec {
16 pname = "ipywidgets";
16 pname = "ipywidgets";
17− version = "7.2.0";
17+ version = "7.2.1";
18 name = "${pname}-${version}";
18 name = "${pname}-${version}";
19
19
20 src = fetchPypi {
20 src = fetchPypi {
21 inherit pname version;
21 inherit pname version;
22− sha256 = "f23aac2447f593dbdc89a86833a2d59666ed44af42b23c267de380c324599507";
22+ sha256 = "ab9869cda5af7ba449d8f707b29b7e97a7db97d6366805d6b733338f51096f54";
23 };
23 };
24
24
25 # Tests are not distributed
25 # Tests are not distributed
pkgs/development/python-modules/jira/default.nix+2−2
@@ -4,11 +4,11 @@
4
4
5buildPythonPackage rec {
5buildPythonPackage rec {
6 pname = "jira";
6 pname = "jira";
7− version = "1.0.14";
7+ version = "1.0.15";
8
8
9 src = fetchPypi {
9 src = fetchPypi {
10 inherit pname version;
10 inherit pname version;
11− sha256 = "1xncrcaqgj0gnva3bz5c4vwnn7z84v9cmr37pc93zx676w62fpm3";
11+ sha256 = "20108a1d5b0dd058d5d4e0047f2d09ee06aaa413b22ca4d5c249e86167417fe8";
12 };
12 };
13
13
14 buildInputs = [ glibcLocales pytest pytestcov pytestrunner pbr ];
14 buildInputs = [ glibcLocales pytest pytestcov pytestrunner pbr ];
pkgs/development/python-modules/jug/default.nix+2−2
@@ -6,7 +6,7 @@
6buildPythonPackage rec {
6buildPythonPackage rec {
7 name = "${pname}-${version}";
7 name = "${pname}-${version}";
8 pname = "Jug";
8 pname = "Jug";
9− version = "1.6.6";
9+ version = "1.6.7";
10 buildInputs = [ nose numpy ];
10 buildInputs = [ nose numpy ];
11 propagatedBuildInputs = [
11 propagatedBuildInputs = [
12 bottle
12 bottle
@@ -19,7 +19,7 @@ buildPythonPackage rec {
19
19
20 src = fetchPypi {
20 src = fetchPypi {
21 inherit pname version;
21 inherit pname version;
22− sha256 = "897ffbbbe8061772c238b4f436512ea3696016a04473c45a716d78c0de103ec1";
22+ sha256 = "a7faba838f3437163ae8459bff96e2c6ca1298312bdb9104c702685178d17269";
23 };
23 };
24
24
25 meta = with stdenv.lib; {
25 meta = with stdenv.lib; {
pkgs/development/python-modules/keras/default.nix+4−5
@@ -1,16 +1,15 @@
1{ stdenv, lib, buildPythonPackage, fetchPypi
1{ stdenv, lib, buildPythonPackage, fetchPypi
2, pytest, pytestcov, pytestpep8, pytest_xdist
2, pytest, pytestcov, pytestpep8, pytest_xdist
3−, six, numpy, scipy, pyyaml
3+, six, numpy, scipy, pyyaml, h5py
4}:
4}:
5
5
6buildPythonPackage rec {
6buildPythonPackage rec {
7 pname = "Keras";
7 pname = "Keras";
8− version = "2.1.5";
8+ version = "2.1.6";
9− name = "${pname}-${version}";
10
9
11 src = fetchPypi {
10 src = fetchPypi {
12 inherit pname version;
11 inherit pname version;
13− sha256 = "907ad29add1fff27342a9f4fe3e60003d450d3af41a38f22f629c7736fc8399d";
12+ sha256 = "c14af1081242c25617ade7eb62121d58d01f16e1e744bae9fc4f1f95a417716e";
14 };
13 };
15
14
16 checkInputs = [
15 checkInputs = [
@@ -21,7 +20,7 @@ buildPythonPackage rec {
21 ];
20 ];
22
21
23 propagatedBuildInputs = [
22 propagatedBuildInputs = [
24− six pyyaml numpy scipy
23+ six pyyaml numpy scipy h5py
25 ];
24 ];
26
25
27 # Couldn't get tests working
26 # Couldn't get tests working
pkgs/development/python-modules/keyring/default.nix+2−2
@@ -4,11 +4,11 @@
4
4
5buildPythonPackage rec {
5buildPythonPackage rec {
6 pname = "keyring";
6 pname = "keyring";
7− version = "12.0.1";
7+ version = "12.0.2";
8
8
9 src = fetchPypi {
9 src = fetchPypi {
10 inherit pname version;
10 inherit pname version;
11− sha256 = "846c9c709ee1203bac5444abec19b5228f4601377686f33cba672aa0ba313abd";
11+ sha256 = "445d9521b4fcf900e51c075112e25ddcf8af1db7d1d717380b64eda2cda84abc";
12 };
12 };
13
13
14 nativeBuildInputs = [ setuptools_scm ];
14 nativeBuildInputs = [ setuptools_scm ];
pkgs/development/python-modules/llfuse/default.nix+2−2
@@ -4,12 +4,12 @@
4
4
5buildPythonPackage rec {
5buildPythonPackage rec {
6 pname = "llfuse";
6 pname = "llfuse";
7− version = "1.3.3";
7+ version = "1.3.4";
8 name = pname + "-" + version;
8 name = pname + "-" + version;
9
9
10 src = fetchurl {
10 src = fetchurl {
11 url = "mirror://pypi/l/llfuse/${name}.tar.bz2";
11 url = "mirror://pypi/l/llfuse/${name}.tar.bz2";
12− sha256 = "e514fa390d143530c7395f640c6b527f4f80b03f90995c7b38ff0b2f86e11ce7";
12+ sha256 = "50396c5f3c49c3145e696e5b62df4fcca8b66634788020fba7b6932a858c78c2";
13 };
13 };
14
14
15 nativeBuildInputs = [ pkgconfig ];
15 nativeBuildInputs = [ pkgconfig ];
pkgs/development/python-modules/marisa-trie/default.nix+2−2
@@ -8,11 +8,11 @@
8
8
9buildPythonPackage rec {
9buildPythonPackage rec {
10 pname = "marisa-trie";
10 pname = "marisa-trie";
11− version = "0.7.4";
11+ version = "0.7.5";
12
12
13 src = fetchPypi {
13 src = fetchPypi {
14 inherit pname version;
14 inherit pname version;
15− sha256 = "1n4pxnaranbh3x2fcqxwh8j1z2918vy7i4q1z4jn75m9rkm5h8ia";
15+ sha256 = "c73bc25d868e8c4ea7aa7f1e19892db07bba2463351269b05340ccfa06eb2baf";
16 };
16 };
17
17
18 postPatch = ''
18 postPatch = ''
pkgs/development/python-modules/marshmallow/default.nix+2−2
@@ -5,7 +5,7 @@
5buildPythonPackage rec {
5buildPythonPackage rec {
6 pname = "marshmallow";
6 pname = "marshmallow";
7 name = "${pname}-${version}";
7 name = "${pname}-${version}";
8− version = "2.15.0";
8+ version = "2.15.1";
9
9
10 meta = {
10 meta = {
11 homepage = "https://github.com/marshmallow-code/marshmallow";
11 homepage = "https://github.com/marshmallow-code/marshmallow";
@@ -18,7 +18,7 @@ buildPythonPackage rec {
18
18
19 src = fetchPypi {
19 src = fetchPypi {
20 inherit pname version;
20 inherit pname version;
21− sha256 = "d3f31fe7be2106b1d783cbd0765ef4e1c6615505514695f33082805f929dd584";
21+ sha256 = "b73361eab812af97eaf8e8691333a1096787968450051d132c8b9fb90aa1db5a";
22 };
22 };
23
23
24 propagatedBuildInputs = [ dateutil simplejson ];
24 propagatedBuildInputs = [ dateutil simplejson ];
pkgs/development/python-modules/moto/default.nix+2−2
@@ -4,11 +4,11 @@
4
4
5buildPythonPackage rec {
5buildPythonPackage rec {
6 pname = "moto";
6 pname = "moto";
7− version = "1.3.1";
7+ version = "1.3.3";
8
8
9 src = fetchPypi {
9 src = fetchPypi {
10 inherit pname version;
10 inherit pname version;
11− sha256 = "e6b25a32b61ba97bbc2236960ad6865ab111962a927de720c907475adff4499b";
11+ sha256 = "45d14aca2b06b0083d5e82cfd770ebca0ba77b5070aec6928670240939a78681";
12 };
12 };
13
13
14 postPatch = ''
14 postPatch = ''
pkgs/development/python-modules/nipype/default.nix+2−2
@@ -33,11 +33,11 @@ assert !isPy3k -> configparser != null;
33
33
34buildPythonPackage rec {
34buildPythonPackage rec {
35 pname = "nipype";
35 pname = "nipype";
36− version = "1.0.2";
36+ version = "1.0.3";
37
37
38 src = fetchPypi {
38 src = fetchPypi {
39 inherit pname version;
39 inherit pname version;
40− sha256 = "1ed65f3e97fd0f82c418ad48af2107050e86d9e39eea4d22381ad7df932bf1ec";
40+ sha256 = "17850c2a34f10f93d12c994101ce86b5a0b7e939e5b854e9f9920c9513cc8e76";
41 };
41 };
42
42
43 # see https://github.com/nipy/nipype/issues/2240
43 # see https://github.com/nipy/nipype/issues/2240
pkgs/development/python-modules/numexpr/default.nix+2−2
@@ -7,11 +7,11 @@
7
7
8buildPythonPackage rec {
8buildPythonPackage rec {
9 pname = "numexpr";
9 pname = "numexpr";
10− version = "2.6.4";
10+ version = "2.6.5";
11
11
12 src = fetchPypi {
12 src = fetchPypi {
13 inherit pname version;
13 inherit pname version;
14− sha256 = "f0bef9a3a5407fb8d6344cf91b658bef7c13ec8a8eb13f423822d9d2ca5af6ce";
14+ sha256 = "f8ad8014085628eab91bc82fb9d10cf9ab8e04ede4884e4a1061445d395b36bb";
15 };
15 };
16
16
17 propagatedBuildInputs = [ numpy ];
17 propagatedBuildInputs = [ numpy ];
pkgs/development/python-modules/numpy/default.nix+5−4
@@ -2,20 +2,21 @@
2
2
3buildPythonPackage rec {
3buildPythonPackage rec {
4 pname = "numpy";
4 pname = "numpy";
5− version = "1.14.2";
5+ version = "1.14.3";
6
6
7 src = fetchPypi {
7 src = fetchPypi {
8 inherit pname version;
8 inherit pname version;
9 extension = "zip";
9 extension = "zip";
10− sha256 = "facc6f925c3099ac01a1f03758100772560a0b020fb9d70f210404be08006bcb";
10+ sha256 = "9016692c7d390f9d378fc88b7a799dc9caa7eb938163dda5276d3f3d6f75debf";
11 };
11 };
12
12
13 disabled = isPyPy;
13 disabled = isPyPy;
14 buildInputs = [ gfortran nose blas ];
14 buildInputs = [ gfortran nose blas ];
15
15
16 patches = lib.optionals (python.hasDistutilsCxxPatch or false) [
16 patches = lib.optionals (python.hasDistutilsCxxPatch or false) [
17− # See cpython 2.7 patches.
17+ # We patch cpython/distutils to fix https://bugs.python.org/issue1222585
18− # numpy.distutils is used by cython during it's check phase
18+ # Patching of numpy.distutils is needed to prevent it from undoing the
19+ # patch to distutils.
19 ./numpy-distutils-C++.patch
20 ./numpy-distutils-C++.patch
20 ];
21 ];
21
22
pkgs/development/python-modules/onkyo-eiscp/default.nix+2−2
@@ -3,12 +3,12 @@
3
3
4buildPythonPackage rec {
4buildPythonPackage rec {
5 pname = "onkyo-eiscp";
5 pname = "onkyo-eiscp";
6− version = "1.2.4";
6+ version = "1.2.5";
7 name = "${pname}-${version}";
7 name = "${pname}-${version}";
8
8
9 src = fetchPypi {
9 src = fetchPypi {
10 inherit pname version;
10 inherit pname version;
11− sha256 = "0qb5w2g2cnckq7psh92g1w3gf76437x1vwfhwnd247wshs5h7hxj";
11+ sha256 = "cfcca6bc6c36992095f5aa4a15870a3ef89b9a26d991da2333891c2675d4ef1b";
12 };
12 };
13
13
14 propagatedBuildInputs = [ docopt netifaces ];
14 propagatedBuildInputs = [ docopt netifaces ];
pkgs/development/python-modules/openpyxl/default.nix+2−2
@@ -9,12 +9,12 @@
9
9
10buildPythonPackage rec {
10buildPythonPackage rec {
11 pname = "openpyxl";
11 pname = "openpyxl";
12− version = "2.5.2";
12+ version = "2.5.3";
13 name = "${pname}-${version}";
13 name = "${pname}-${version}";
14
14
15 src = fetchPypi {
15 src = fetchPypi {
16 inherit pname version;
16 inherit pname version;
17− sha256 = "63165adcc806a5c281febb344f3594541f778f05b99a3a5e802941a3c0a85f71";
17+ sha256 = "0046fca88d6731875a385bf7edd689d7c4133f829203ea615a81291de3fa48b6";
18 };
18 };
19
19
20 checkInputs = [ pytest ];
20 checkInputs = [ pytest ];
pkgs/development/python-modules/pathlib2/default.nix+2−2
@@ -10,11 +10,11 @@
10
10
11if !(pythonOlder "3.4") then null else buildPythonPackage rec {
11if !(pythonOlder "3.4") then null else buildPythonPackage rec {
12 pname = "pathlib2";
12 pname = "pathlib2";
13− version = "2.3.0";
13+ version = "2.3.2";
14
14
15 src = fetchPypi {
15 src = fetchPypi {
16 inherit pname version;
16 inherit pname version;
17− sha256 = "d32550b75a818b289bd4c1f96b60c89957811da205afcceab75bc8b4857ea5b3";
17+ sha256 = "8eb170f8d0d61825e09a95b38be068299ddeda82f35e96c3301a8a5e7604cb83";
18 };
18 };
19
19
20 propagatedBuildInputs = [ six ] ++ lib.optional (pythonOlder "3.5") scandir;
20 propagatedBuildInputs = [ six ] ++ lib.optional (pythonOlder "3.5") scandir;
pkgs/development/python-modules/pbr/default.nix+2−2
@@ -2,12 +2,12 @@
2
2
3buildPythonPackage rec {
3buildPythonPackage rec {
4 pname = "pbr";
4 pname = "pbr";
5− version = "4.0.1";
5+ version = "4.0.2";
6 name = "${pname}-${version}";
6 name = "${pname}-${version}";
7
7
8 src = fetchPypi {
8 src = fetchPypi {
9 inherit pname version;
9 inherit pname version;
10− sha256 = "56b7a8ba7d64bf6135a9dfefb85a80d95924b3fde5ed6343a1a1d464a040dae3";
10+ sha256 = "dae4aaa78eafcad10ce2581fc34d694faa616727837fd8e55c1a00951ad6744f";
11 };
11 };
12
12
13 # circular dependencies with fixtures
13 # circular dependencies with fixtures
pkgs/development/python-modules/pip-tools/default.nix+4−2
@@ -3,12 +3,12 @@
3
3
4buildPythonPackage rec {
4buildPythonPackage rec {
5 pname = "pip-tools";
5 pname = "pip-tools";
6− version = "1.11.0";
6+ version = "2.0.2";
7 name = pname + "-" + version;
7 name = pname + "-" + version;
8
8
9 src = fetchurl {
9 src = fetchurl {
10 url = "mirror://pypi/p/pip-tools/${name}.tar.gz";
10 url = "mirror://pypi/p/pip-tools/${name}.tar.gz";
11− sha256 = "ba427b68443466c389e3b0b0ef55f537ab39344190ea980dfebb333d0e6a50a3";
11+ sha256 = "f11fc3bf1d87a0b4a68d4d595f619814e2396e92d75d7bdd2500edbf002ea6de";
12 };
12 };
13
13
14 LC_ALL = "en_US.UTF-8";
14 LC_ALL = "en_US.UTF-8";
@@ -22,6 +22,8 @@ buildPythonPackage rec {
22 "test_generate_hashes_without_interfering_with_each_other"
22 "test_generate_hashes_without_interfering_with_each_other"
23 "test_realistic_complex_sub_dependencies"
23 "test_realistic_complex_sub_dependencies"
24 "test_generate_hashes_with_editable"
24 "test_generate_hashes_with_editable"
25+ "test_filter_pip_markes"
26+ "test_get_hashes_local_repository_cache_miss"
25 # Expect specific version of "six":
27 # Expect specific version of "six":
26 "test_editable_package"
28 "test_editable_package"
27 "test_input_file_without_extension"
29 "test_input_file_without_extension"
pkgs/development/python-modules/pip/default.nix+3−3
@@ -10,11 +10,11 @@
10
10
11buildPythonPackage rec {
11buildPythonPackage rec {
12 pname = "pip";
12 pname = "pip";
13− version = "9.0.3";
13+ version = "10.0.1";
14
14
15 src = fetchPypi {
15 src = fetchPypi {
16 inherit pname version;
16 inherit pname version;
17− sha256 = "7bf48f9a693be1d58f49f7af7e0ae9fe29fd671cde8a55e6edca3581c4ef5796";
17+ sha256 = "f2bd08e0cd1b06e10218feaf6fef299f473ba706582eb3bd9d52203fdbd7ee68";
18 };
18 };
19
19
20 # pip detects that we already have bootstrapped_pip "installed", so we need
20 # pip detects that we already have bootstrapped_pip "installed", so we need
@@ -31,4 +31,4 @@ buildPythonPackage rec {
31 homepage = https://pip.pypa.io/;
31 homepage = https://pip.pypa.io/;
32 priority = 10;
32 priority = 10;
33 };
33 };
34−}
34+}
pkgs/development/python-modules/pretend/default.nix+2−2
@@ -2,11 +2,11 @@
2
2
3buildPythonPackage rec {
3buildPythonPackage rec {
4 pname = "pretend";
4 pname = "pretend";
5− version = "1.0.8";
5+ version = "1.0.9";
6
6
7 src = fetchPypi {
7 src = fetchPypi {
8 inherit pname version;
8 inherit pname version;
9− sha256 = "0r5r7ygz9m6d2bklflbl84cqhjkc2q12xgis8268ygjh30g2q3wk";
9+ sha256 = "c90eb810cde8ebb06dafcb8796f9a95228ce796531bc806e794c2f4649aa1b10";
10 };
10 };
11
11
12 # No tests in archive
12 # No tests in archive
pkgs/development/python-modules/psutil/default.nix+2−2
@@ -7,12 +7,12 @@
7
7
8buildPythonPackage rec {
8buildPythonPackage rec {
9 pname = "psutil";
9 pname = "psutil";
10− version = "5.4.3";
10+ version = "5.4.5";
11 name = "${pname}-${version}";
11 name = "${pname}-${version}";
12
12
13 src = fetchPypi {
13 src = fetchPypi {
14 inherit pname version;
14 inherit pname version;
15− sha256 = "e2467e9312c2fa191687b89ff4bc2ad8843be4af6fb4dc95a7cc5f7d7a327b18";
15+ sha256 = "ebe293be36bb24b95cdefc5131635496e88b17fabbcf1e4bc9b5c01f5e489cfe";
16 };
16 };
17
17
18 # No tests in archive
18 # No tests in archive
pkgs/development/python-modules/pyblake2/default.nix+2−2
@@ -5,12 +5,12 @@
5
5
6buildPythonPackage rec {
6buildPythonPackage rec {
7 pname = "pyblake2";
7 pname = "pyblake2";
8− version = "1.1.1";
8+ version = "1.1.2";
9 name = "${pname}-${version}";
9 name = "${pname}-${version}";
10
10
11 src = fetchPypi {
11 src = fetchPypi {
12 inherit pname version;
12 inherit pname version;
13− sha256 = "8ec8e9087d13c99b354ab6d8b4cadb1758633db5946ff95a6bc7ac538b6d7b3d";
13+ sha256 = "5ccc7eb02edb82fafb8adbb90746af71460fbc29aa0f822526fc976dff83e93f";
14 };
14 };
15
15
16 # requires setting up sphinx doctest
16 # requires setting up sphinx doctest
pkgs/development/python-modules/pycairo/default.nix+14−7
@@ -2,8 +2,7 @@
2
2
3buildPythonPackage rec {
3buildPythonPackage rec {
4 pname = "pycairo";
4 pname = "pycairo";
5− version = "1.15.4";
5+ version = "1.16.3";
6− name = "${pname}-${version}";
7
6
8 disabled = isPyPy;
7 disabled = isPyPy;
9
8
@@ -11,13 +10,21 @@ buildPythonPackage rec {
11 owner = "pygobject";
10 owner = "pygobject";
12 repo = "pycairo";
11 repo = "pycairo";
13 rev = "v${version}";
12 rev = "v${version}";
14− sha256 = "02vzmfxx8nl6dbwzc911wcj7hqspgqz6v9xmq6579vwfla0vaglv";
13+ sha256 = "0clk6wrfls3fa1xrn844762qfaw6gs4ivwkrfysidbzmlbxhpngl";
15 };
14 };
16
15
17− postPatch = ''
16+ # We need to create the pkgconfig file but it cannot be installed as a wheel since wheels
18− # we are unable to pass --prefix to bdist_wheel
17+ # are supposed to be relocatable and do not support --prefix option
19− # see https://github.com/NixOS/nixpkgs/pull/32034#discussion_r153285955
18+ buildPhase = ''
20− substituteInPlace setup.py --replace '"prefix": self.install_base' "'prefix': '$out'"
19+ ${python.interpreter} setup.py build
20+ '';
21+
22+ installPhase = ''
23+ ${python.interpreter} setup.py install --skip-build --prefix="$out" --optimize=1
24+ '';
25+
26+ checkPhase = ''
27+ ${python.interpreter} setup.py test
21 '';
28 '';
22
29
23 nativeBuildInputs = [ pkgconfig ];
30 nativeBuildInputs = [ pkgconfig ];
pkgs/development/python-modules/pygit2/default.nix+2−2
@@ -3,11 +3,11 @@
3buildPythonPackage rec {
3buildPythonPackage rec {
4 name = "${pname}-${version}";
4 name = "${pname}-${version}";
5 pname = "pygit2";
5 pname = "pygit2";
6− version = "0.26.3";
6+ version = "0.26.4";
7
7
8 src = fetchPypi {
8 src = fetchPypi {
9 inherit pname version;
9 inherit pname version;
10− sha256 = "29baa530d6fcbf7cca6a75cf9c78fb88613ca81afb39c62fe492f226f6b61800";
10+ sha256 = "a8a0ecce4aadac2675afa5bcda0f698bfe39ec61ac1e15b9264704d1b41bb390";
11 };
11 };
12
12
13 preConfigure = lib.optionalString stdenv.isDarwin ''
13 preConfigure = lib.optionalString stdenv.isDarwin ''
pkgs/development/python-modules/pyglet/default.nix+2−2
@@ -2,12 +2,12 @@
2, libGLU_combined, xorg, freetype, fontconfig, future}:
2, libGLU_combined, xorg, freetype, fontconfig, future}:
3
3
4buildPythonPackage rec {
4buildPythonPackage rec {
5− version = "1.3.1";
5+ version = "1.3.2";
6 pname = "pyglet";
6 pname = "pyglet";
7
7
8 src = fetchPypi {
8 src = fetchPypi {
9 inherit pname version;
9 inherit pname version;
10− sha256 = "0a73280fa3949ea4890fee28f625c10b1e10a7cda390a08b6bce4740948167cd";
10+ sha256 = "b00570e7cdf6971af8953b6ece50d83d13272afa5d1f1197c58c0f478dd17743";
11 };
11 };
12
12
13 postPatch = let
13 postPatch = let
pkgs/development/python-modules/pytest/default.nix+2−2
@@ -2,7 +2,7 @@
2, setuptools_scm, setuptools, six, pluggy, funcsigs, isPy3k, more-itertools
2, setuptools_scm, setuptools, six, pluggy, funcsigs, isPy3k, more-itertools
3}:
3}:
4buildPythonPackage rec {
4buildPythonPackage rec {
5− version = "3.5.0";
5+ version = "3.5.1";
6 pname = "pytest";
6 pname = "pytest";
7
7
8 preCheck = ''
8 preCheck = ''
@@ -12,7 +12,7 @@ buildPythonPackage rec {
12
12
13 src = fetchPypi {
13 src = fetchPypi {
14 inherit pname version;
14 inherit pname version;
15− sha256 = "fae491d1874f199537fd5872b5e1f0e74a009b979df9d53d1553fd03da1703e1";
15+ sha256 = "54713b26c97538db6ff0703a12b19aeaeb60b5e599de542e7fca0ec83b9038e8";
16 };
16 };
17
17
18 checkInputs = [ hypothesis ];
18 checkInputs = [ hypothesis ];
pkgs/development/python-modules/qtpy/default.nix+2−2
@@ -2,11 +2,11 @@
2
2
3buildPythonPackage rec {
3buildPythonPackage rec {
4 pname = "QtPy";
4 pname = "QtPy";
5− version = "1.4.0";
5+ version = "1.4.2";
6
6
7 src = fetchPypi {
7 src = fetchPypi {
8 inherit pname version;
8 inherit pname version;
9− sha256 = "8e78e7ce28015c1041be68b90f43048c9815e8c89d3362f8073feecdc70eafba";
9+ sha256 = "1d1a4343540433a203280f162d43226e4c87489155fe4a9a6f1923ba11362bf9";
10 };
10 };
11
11
12 # no concrete propagatedBuildInputs as multiple backends are supposed
12 # no concrete propagatedBuildInputs as multiple backends are supposed
pkgs/development/python-modules/robotframework/default.nix+2−2
@@ -1,14 +1,14 @@
1{ stdenv, fetchurl, buildPythonPackage, isPy3k }:
1{ stdenv, fetchurl, buildPythonPackage, isPy3k }:
2
2
3buildPythonPackage rec {
3buildPythonPackage rec {
4− version = "3.0.3";
4+ version = "3.0.4";
5 pname = "robotframework";
5 pname = "robotframework";
6 disabled = isPy3k;
6 disabled = isPy3k;
7 name = pname + "-" + version;
7 name = pname + "-" + version;
8
8
9 src = fetchurl {
9 src = fetchurl {
10 url = "mirror://pypi/r/robotframework/${name}.tar.gz";
10 url = "mirror://pypi/r/robotframework/${name}.tar.gz";
11− sha256 = "a5ffe9283c9247c3a1e81228fcc009819d8f94b48768170268a3e6274a998bca";
11+ sha256 = "ab94257cbd848dfca7148e092d233a12853cc7e840ce8231af9cbb5e7f51aa47";
12 };
12 };
13
13
14 meta = with stdenv.lib; {
14 meta = with stdenv.lib; {
pkgs/development/python-modules/rpy2/default.nix+2−2
@@ -16,12 +16,12 @@
16}:
16}:
17
17
18buildPythonPackage rec {
18buildPythonPackage rec {
19− version = "2.8.2";
19+ version = "2.8.6";
20 pname = "rpy2";
20 pname = "rpy2";
21 disabled = isPyPy;
21 disabled = isPyPy;
22 src = fetchPypi {
22 src = fetchPypi {
23 inherit version pname;
23 inherit version pname;
24− sha256 = "0k5jp6n1lfab7a6r5568aq31hg4fgf2cwy0hzvf3chp6yhyk26ic";
24+ sha256 = "004d13734a7b9a85cbc1e7a93ec87df741e28db1273ab5b0d9efaac04a9c5f98";
25 };
25 };
26 buildInputs = [
26 buildInputs = [
27 readline
27 readline
pkgs/development/python-modules/s3fs/default.nix+2−2
@@ -2,11 +2,11 @@
2
2
3buildPythonPackage rec {
3buildPythonPackage rec {
4 pname = "s3fs";
4 pname = "s3fs";
5− version = "0.1.4";
5+ version = "0.1.5";
6
6
7 src = fetchPypi {
7 src = fetchPypi {
8 inherit pname version;
8 inherit pname version;
9− sha256 = "f19b2e81cfcf6f2849fa8195c366c6e81d2378400bab0611f461c4e55d4f6bed";
9+ sha256 = "4fbab74d72ceeb1a6f249165bde7b1d1c4dd758390339f52c84f0832bc5117a7";
10 };
10 };
11
11
12 buildInputs = [ docutils ];
12 buildInputs = [ docutils ];
pkgs/development/python-modules/sphinx/default.nix+2−2
@@ -27,10 +27,10 @@
27buildPythonPackage rec {
27buildPythonPackage rec {
28 name = "${pname}-${version}";
28 name = "${pname}-${version}";
29 pname = "Sphinx";
29 pname = "Sphinx";
30− version = "1.7.2";
30+ version = "1.7.4";
31 src = fetchPypi {
31 src = fetchPypi {
32 inherit pname version;
32 inherit pname version;
33− sha256 = "5a1c9a0fec678c24b9a2f5afba240c04668edb7f45c67ce2ed008996b3f21ae2";
33+ sha256 = "e9b1a75a3eae05dded19c80eb17325be675e0698975baae976df603b6ed1eb10";
34 };
34 };
35 LC_ALL = "en_US.UTF-8";
35 LC_ALL = "en_US.UTF-8";
36
36
pkgs/development/python-modules/sqlalchemy/default.nix+2−2
@@ -11,11 +11,11 @@
11buildPythonPackage rec {
11buildPythonPackage rec {
12 pname = "SQLAlchemy";
12 pname = "SQLAlchemy";
13 name = "${pname}-${version}";
13 name = "${pname}-${version}";
14− version = "1.2.6";
14+ version = "1.2.7";
15
15
16 src = fetchPypi {
16 src = fetchPypi {
17 inherit pname version;
17 inherit pname version;
18− sha256 = "7cb00cc9b9f92ef8b4391c8a2051f81eeafefe32d63c6b395fd51401e9a39edb";
18+ sha256 = "d6cda03b0187d6ed796ff70e87c9a7dce2c2c9650a7bc3c022cd331416853c31";
19 };
19 };
20
20
21 checkInputs = [
21 checkInputs = [
pkgs/development/python-modules/sqlmap/default.nix+2−2
@@ -5,12 +5,12 @@
5
5
6buildPythonPackage rec {
6buildPythonPackage rec {
7 pname = "sqlmap";
7 pname = "sqlmap";
8− version = "1.2.4";
8+ version = "1.2.5";
9 name = "${pname}-${version}";
9 name = "${pname}-${version}";
10
10
11 src = fetchPypi {
11 src = fetchPypi {
12 inherit pname version;
12 inherit pname version;
13− sha256 = "cb70fdedd8dc0a30cf361d8e5401a5b07fc75c13847b13567b98966be4e3d063";
13+ sha256 = "93fe37e535f4aabd05a7456295f39c0af73cbcd0511750663fc7a718c5915919";
14 };
14 };
15
15
16 # No tests in archive
16 # No tests in archive
pkgs/development/python-modules/tables/default.nix+2−2
@@ -2,13 +2,13 @@
2, cython, bzip2, lzo, numpy, numexpr, hdf5, six, c-blosc }:
2, cython, bzip2, lzo, numpy, numexpr, hdf5, six, c-blosc }:
3
3
4buildPythonPackage rec {
4buildPythonPackage rec {
5− version = "3.4.2";
5+ version = "3.4.3";
6 pname = "tables";
6 pname = "tables";
7 name = "${pname}-${version}";
7 name = "${pname}-${version}";
8
8
9 src = fetchurl {
9 src = fetchurl {
10 url = "mirror://pypi/t/tables/${name}.tar.gz";
10 url = "mirror://pypi/t/tables/${name}.tar.gz";
11− sha256 = "fdbbea4edb6bad0ac0e53fc7bc6970e78e12eef4944aa4146bcdcb573201676c";
11+ sha256 = "b6aafe47154e2140c0a91bb38ebdb6ba67a24dd86263f1c294af8c11cb7deed4";
12 };
12 };
13
13
14 buildInputs = [ hdf5 cython bzip2 lzo c-blosc ];
14 buildInputs = [ hdf5 cython bzip2 lzo c-blosc ];
pkgs/development/python-modules/testfixtures/default.nix+2−2
@@ -3,11 +3,11 @@
3
3
4buildPythonPackage rec {
4buildPythonPackage rec {
5 pname = "testfixtures";
5 pname = "testfixtures";
6− version = "6.0.0";
6+ version = "6.0.2";
7
7
8 src = fetchPypi {
8 src = fetchPypi {
9 inherit pname version;
9 inherit pname version;
10− sha256 = "f6c4cf24d043f9d8e9a9337371ec1d2f6638a0032504bd67dbd724224fd64969";
10+ sha256 = "f8827cfc91e5cc9ac669727fdd48a85880f391b935a0a212b5cedb807879feec";
11 };
11 };
12
12
13 checkInputs = [ mock manuel pytest sybil zope_component ];
13 checkInputs = [ mock manuel pytest sybil zope_component ];
pkgs/development/python-modules/textacy/default.nix+2−2
@@ -25,11 +25,11 @@
25buildPythonPackage rec {
25buildPythonPackage rec {
26 name = "${pname}-${version}";
26 name = "${pname}-${version}";
27 pname = "textacy";
27 pname = "textacy";
28− version = "0.6.0";
28+ version = "0.6.1";
29
29
30 src = fetchPypi {
30 src = fetchPypi {
31 inherit pname version;
31 inherit pname version;
32− sha256 = "70ebd8f6536c1536132c997988a4f27731a2db5a7ca7bab29fb33746b444959f";
32+ sha256 = "32ffb796f2abf0577af480d482608cca2baf85d366a4e2981ffd3e632ebeb76c";
33 };
33 };
34
34
35 disabled = isPy27; # 2.7 requires backports.csv
35 disabled = isPy27; # 2.7 requires backports.csv
pkgs/development/python-modules/transitions/default.nix+2−2
@@ -3,11 +3,11 @@
3
3
4buildPythonPackage rec {
4buildPythonPackage rec {
5 pname = "transitions";
5 pname = "transitions";
6− version = "0.6.4";
6+ version = "0.6.5";
7
7
8 src = fetchPypi {
8 src = fetchPypi {
9 inherit pname version;
9 inherit pname version;
10− sha256 = "1ikxsjg7vil0yhiwhiimnjzcb1ig6g6g79sdhs9v8rnrszk1mi2n";
10+ sha256 = "f72b6c5fcac3d1345bbf829e1a48a810255bcb4fc2c11a634af68107c378c1be";
11 };
11 };
12
12
13 postPatch = ''
13 postPatch = ''
pkgs/development/python-modules/tweepy/default.nixnew file+28
@@ -0,0 +1,28 @@
1+{ lib, buildPythonPackage, fetchPypi, fetchpatch, requests, six, requests_oauthlib }:
2+
3+buildPythonPackage rec {
4+ pname = "tweepy";
5+ version = "3.6.0";
6+
7+ src = fetchPypi {
8+ inherit pname version;
9+ sha256 = "901500666de5e265d93e611dc05066bb020481c85550d6bcbf8030212938902c";
10+ };
11+
12+ # Fix build with pip 10
13+ # https://github.com/tweepy/tweepy/pull/1030
14+ patches = fetchpatch {
15+ url = "${meta.homepage}/commit/778bd7a31d2f5fae98652735e7844533589ca221.patch";
16+ sha256 = "1sqmjn0ngiynhfkdkcs33qmvl49ysfp8522hvxjk8bx252y9qw2h";
17+ };
18+
19+ doCheck = false;
20+ propagatedBuildInputs = [ requests six requests_oauthlib ];
21+
22+ meta = with lib; {
23+ homepage = https://github.com/tweepy/tweepy;
24+ description = "Twitter library for python";
25+ license = licenses.mit;
26+ maintainers = with maintainers; [ garbas ];
27+ };
28+}
pkgs/development/python-modules/widgetsnbextension/default.nix+2−2
@@ -8,11 +8,11 @@
8buildPythonPackage rec {
8buildPythonPackage rec {
9 pname = "widgetsnbextension";
9 pname = "widgetsnbextension";
10 name = "${pname}-${version}";
10 name = "${pname}-${version}";
11− version = "3.2.0";
11+ version = "3.2.1";
12
12
13 src = fetchPypi {
13 src = fetchPypi {
14 inherit pname version;
14 inherit pname version;
15− sha256 = "9b584b9210dadc98f1fae384fff5f4db047df0b94a81b2388c7b0b14a99c3f32";
15+ sha256 = "5417789ee6064ff515fd10be24870660af3561c02d3d48b26f6f44285d0f70cc";
16 };
16 };
17
17
18 propagatedBuildInputs = [ notebook ];
18 propagatedBuildInputs = [ notebook ];
pkgs/development/python-modules/xarray/default.nix+2−2
@@ -10,11 +10,11 @@
10
10
11buildPythonPackage rec {
11buildPythonPackage rec {
12 pname = "xarray";
12 pname = "xarray";
13− version = "0.10.2";
13+ version = "0.10.3";
14
14
15 src = fetchPypi {
15 src = fetchPypi {
16 inherit pname version;
16 inherit pname version;
17− sha256 = "dd5af05cc9ddd5713016ec1a7f0d481daf2f0bb4d4e0bd66790503f6412bbc59";
17+ sha256 = "72fafe29ba00633483aed39e405442226ef66d2ddc1021a39527ae1522b7067a";
18 };
18 };
19
19
20 checkInputs = [ pytest ];
20 checkInputs = [ pytest ];
pkgs/development/python-modules/zetup/default.nix+2−2
@@ -5,11 +5,11 @@
5buildPythonPackage rec {
5buildPythonPackage rec {
6 name = "${pname}-${version}";
6 name = "${pname}-${version}";
7 pname = "zetup";
7 pname = "zetup";
8− version = "0.2.42";
8+ version = "0.2.43";
9
9
10 src = fetchPypi {
10 src = fetchPypi {
11 inherit pname version;
11 inherit pname version;
12− sha256 = "6c9e25249f3014ed2162398772ccf1a5e8a4e9e66c74e3c7f6683945a6a3d84c";
12+ sha256 = "ee92ba93a03336962525536f237ae0decf99a9b5d484ba34a3cf06ef017dae8e";
13 };
13 };
14
14
15 checkPhase = ''
15 checkPhase = ''
pkgs/development/python-modules/zxcvbn-python/default.nix+2−2
@@ -5,13 +5,13 @@
5
5
6buildPythonPackage rec {
6buildPythonPackage rec {
7 pname = "zxcvbn-python";
7 pname = "zxcvbn-python";
8− version = "4.4.22";
8+ version = "4.4.24";
9
9
10 name = "${pname}-${version}";
10 name = "${pname}-${version}";
11
11
12 src = fetchPypi {
12 src = fetchPypi {
13 inherit pname version;
13 inherit pname version;
14− sha256 = "402d4222dc9994baed66a19a1cf5cb5c3fafd065f9cabc4cf7d5a2915e980979";
14+ sha256 = "900b28cc5e96be4091d8778f19f222832890264e338765a1c1c09fca2db64b2d";
15 };
15 };
16
16
17 # No tests in archive
17 # No tests in archive
pkgs/development/ruby-modules/bundler/default.nix+2−2
@@ -4,8 +4,8 @@ buildRubyGem rec {
4 inherit ruby;
4 inherit ruby;
5 name = "${gemName}-${version}";
5 name = "${gemName}-${version}";
6 gemName = "bundler";
6 gemName = "bundler";
7− version = "1.14.6";
7+ version = "1.16.1";
8− source.sha256 = "0h3x2csvlz99v2ryj1w72vn6kixf7rl35lhdryvh7s49brnj0cgl";
8+ source.sha256 = "42b8e0f57093e1d10c15542f956a871446b759e7969d99f91caf3b6731c156e8";
9 dontPatchShebangs = true;
9 dontPatchShebangs = true;
10
10
11 postFixup = ''
11 postFixup = ''
pkgs/development/tools/analysis/radare2/default.nix+30−11
@@ -1,4 +1,6 @@
1+{stdenv, fetchFromGitHub
2+, ninja, meson , pkgconfig
1−{stdenv, fetchFromGitHub, pkgconfig, libusb, readline, libewf, perl, zlib, openssl
3+, libusb, readline, libewf, perl, zlib, openssl
2, gtk2 ? null, vte ? null, gtkdialog ? null
4, gtk2 ? null, vte ? null, gtkdialog ? null
3, python ? null
5, python ? null
4, ruby ? null
6, ruby ? null
@@ -10,40 +12,57 @@ assert useX11 -> (gtk2 != null && vte != null && gtkdialog != null);
10assert rubyBindings -> ruby != null;
12assert rubyBindings -> ruby != null;
11assert pythonBindings -> python != null;
13assert pythonBindings -> python != null;
12
14
15+
13let
16let
14 inherit (stdenv.lib) optional;
17 inherit (stdenv.lib) optional;
18+ #<generated>
19+ # DO NOT EDIT! Automatically generated by ./update.py
20+ version_commit = "18177";
21+ gittap = "2.6.0";
22+ gittip = "83ef480221ec29d82c16003c61d0dc86b8851d38";
23+ version = "2.6.0";
24+ sha256 = "18jhb9w8c1m09383d2xm2qp0rc240psjygbbs222hzpx32hald5s";
25+ cs_tip = "37569a6874c8547b349a80823adda9284499fe80";
26+ cs_sha256 = "0v31367g4jn4baswl62y0rvvm2nf57y91n3731xqblvi6qxj8qkv";
27+ #</generated>
15in
28in
16stdenv.mkDerivation rec {
29stdenv.mkDerivation rec {
17− version = "2.5.0";
18 name = "radare2-${version}";
30 name = "radare2-${version}";
19
31
20 src = fetchFromGitHub {
32 src = fetchFromGitHub {
21 owner = "radare";
33 owner = "radare";
22 repo = "radare2";
34 repo = "radare2";
23 rev = version;
35 rev = version;
24− sha256 = "07x94chkhpn3wgw4pypn35psxq370j6xwmhf1mh5z27cqkq7c2yd";
36+ inherit sha256;
25 };
37 };
26
38
27− # do not try to update capstone
28− WITHOUT_PULL=1;
29−
30 postPatch = let
39 postPatch = let
31− cs_tip = "4a1b580d069c82d60070d0869a87000db7cdabe2"; # version from $sourceRoot/shlr/Makefile
32 capstone = fetchFromGitHub {
40 capstone = fetchFromGitHub {
33 owner = "aquynh";
41 owner = "aquynh";
34 repo = "capstone";
42 repo = "capstone";
43+ # version from $sourceRoot/shlr/Makefile
35 rev = cs_tip;
44 rev = cs_tip;
36− sha256 = "0v6rxfpxjq0hf40qn1n5m5wsv1dv6p1j8vm94a708lhvcbk9nkv8";
45+ sha256 = cs_sha256;
37 };
46 };
38 in ''
47 in ''
39 if ! grep -F "CS_TIP=${cs_tip}" shlr/Makefile; then echo "CS_TIP mismatch"; exit 1; fi
48 if ! grep -F "CS_TIP=${cs_tip}" shlr/Makefile; then echo "CS_TIP mismatch"; exit 1; fi
40− cp -r ${capstone} shlr/capstone
49+ ln -s ${capstone} shlr/capstone
41− chmod -R u+rw shlr/capstone
42 '';
50 '';
43
51
52+ postInstall = ''
53+ ln -s $out/bin/radare2 $out/bin/r2
54+ install -D -m755 $src/binr/r2pm/r2pm $out/bin/r2pm
55+ '';
56+
57+ mesonFlags = [
58+ "-Dr2_version_commit=${version_commit}"
59+ "-Dr2_gittap=${gittap}"
60+ "-Dr2_gittip=${gittip}"
61+ ];
62+
44 enableParallelBuilding = true;
63 enableParallelBuilding = true;
45
64
46− nativeBuildInputs = [ pkgconfig ];
65+ nativeBuildInputs = [ pkgconfig ninja meson ];
47 buildInputs = [ readline libusb libewf perl zlib openssl]
66 buildInputs = [ readline libusb libewf perl zlib openssl]
48 ++ optional useX11 [gtkdialog vte gtk2]
67 ++ optional useX11 [gtkdialog vte gtk2]
49 ++ optional rubyBindings [ruby]
68 ++ optional rubyBindings [ruby]
pkgs/development/tools/analysis/radare2/update.pynew file+72
@@ -0,0 +1,72 @@
1+#!/usr/bin/env nix-shell
2+#!nix-shell -p nix -p python3 -p git -i python
3+# USAGE - just run the script: ./update.py
4+# When editing this file, make also sure it passes the mypy typecheck
5+# and is formatted with yapf.
6+import urllib.request
7+import json
8+import tempfile
9+import subprocess
10+import fileinput
11+import re
12+from pathlib import Path
13+
14+
15+def sh(*args: str) -> str:
16+ out = subprocess.check_output(list(args))
17+ return out.strip().decode("utf-8")
18+
19+
20+def prefetch_github(owner: str, repo: str, ref: str) -> str:
21+ return sh("nix-prefetch-url", "--unpack",
22+ f"https://github.com/{owner}/{repo}/archive/{ref}.tar.gz")
23+
24+
25+def main() -> None:
26+ url = "https://api.github.com/repos/radare/radare2/releases/latest"
27+ with urllib.request.urlopen(url) as response:
28+ release = json.load(response) # type: ignore
29+ version = release["tag_name"]
30+ with tempfile.TemporaryDirectory() as dirname:
31+
32+ def git(*args: str) -> str:
33+ return sh("git", "-C", dirname, *args)
34+
35+ git("clone", "--branch", version, "https://github.com/radare/radare2",
36+ ".")
37+ sha256 = prefetch_github("radare", "radare2", version)
38+ nix_file = str(Path(__file__).parent.joinpath("default.nix"))
39+
40+ cs_tip = None
41+ with open(Path(dirname).joinpath("shlr", "Makefile")) as makefile:
42+ for l in makefile:
43+ match = re.match("CS_TIP=(\S+)", l)
44+ if match:
45+ cs_tip = match.group(1)
46+ assert cs_tip is not None
47+
48+ cs_sha256 = prefetch_github("aquynh", "capstone", cs_tip)
49+
50+ in_block = False
51+ with fileinput.FileInput(nix_file, inplace=True) as f:
52+ for l in f:
53+ if "#<generated>" in l:
54+ in_block = True
55+ print(f""" #<generated>
56+ # DO NOT EDIT! Automatically generated by ./update.py
57+ version_commit = "{git("rev-list", "--all", "--count")}";
58+ gittap = "{git("describe", "--tags", "--match", "[0-9]*")}";
59+ gittip = "{git("rev-parse", "HEAD")}";
60+ version = "{version}";
61+ sha256 = "{sha256}";
62+ cs_tip = "{cs_tip}";
63+ cs_sha256 = "{cs_sha256}";
64+ #</generated>""")
65+ elif "#</generated>" in l:
66+ in_block = False
67+ elif not in_block:
68+ print(l, end="")
69+
70+
71+if __name__ == "__main__":
72+ main()
pkgs/development/tools/analysis/valgrind/default.nix+2
@@ -59,6 +59,8 @@ stdenv.mkDerivation rec {
59 configureFlags =
59 configureFlags =
60 stdenv.lib.optional (stdenv.system == "x86_64-linux" || stdenv.system == "x86_64-darwin") "--enable-only64bit";
60 stdenv.lib.optional (stdenv.system == "x86_64-linux" || stdenv.system == "x86_64-darwin") "--enable-only64bit";
61
61
62+ doCheck = false; # fails
63+
62 postInstall = ''
64 postInstall = ''
63 for i in $out/lib/valgrind/*.supp; do
65 for i in $out/lib/valgrind/*.supp; do
64 substituteInPlace $i \
66 substituteInPlace $i \
pkgs/development/tools/build-managers/cmake/default.nix+23−13
@@ -1,6 +1,6 @@
1{ stdenv, fetchurl, pkgconfig
1{ stdenv, fetchurl, pkgconfig
2, bzip2, curl, expat, libarchive, xz, zlib, libuv, rhash
2, bzip2, curl, expat, libarchive, xz, zlib, libuv, rhash
3−, majorVersion ? "3.10"
3+, majorVersion ? "3.11"
4# darwin attributes
4# darwin attributes
5, ps
5, ps
6, isBootstrap ? false
6, isBootstrap ? false
@@ -17,6 +17,10 @@ with stdenv.lib;
17
17
18with (
18with (
19 {
19 {
20+ "3.11" = {
21+ minorVersion = "2";
22+ sha256 = "0j2jpx94lnqx5w59i9xihl56hf6ghk04438rqhh7lk1bryxj5g2y";
23+ };
20 "3.10" = {
24 "3.10" = {
21 minorVersion = "2";
25 minorVersion = "2";
22 sha256 = "80d0faad4ab56de07aa21a7fc692c88c4ce6156d42b0579c6962004a70a3218b";
26 sha256 = "80d0faad4ab56de07aa21a7fc692c88c4ce6156d42b0579c6962004a70a3218b";
@@ -80,19 +84,24 @@ stdenv.mkDerivation rec {
80 configureFlags="--parallel=''${NIX_BUILD_CORES:-1} $configureFlags"
84 configureFlags="--parallel=''${NIX_BUILD_CORES:-1} $configureFlags"
81 '';
85 '';
82
86
87+ configureFlags = [
83− configureFlags = [ "--docdir=share/doc/${name}" ]
88+ "--docdir=share/doc/${name}"
84− ++ (if useSharedLibraries then [ "--no-system-jsoncpp" "--system-libs" ] else [ "--no-system-libs" ]) # FIXME: cleanup
89+ ] ++ (if useSharedLibraries then [ "--no-system-jsoncpp" "--system-libs" ] else [ "--no-system-libs" ]) # FIXME: cleanup
85 ++ optional (useQt4 || withQt5) "--qt-gui"
90 ++ optional (useQt4 || withQt5) "--qt-gui"
91+ ++ [
86− ++ ["--"]
92+ "--"
87− ++ optionals (!useNcurses) [ "-DBUILD_CursesDialog=OFF" ]
93+ # We should set the proper `CMAKE_SYSTEM_NAME`.
88− ++ optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
94+ # http://www.cmake.org/Wiki/CMake_Cross_Compiling
95+ #
96+ # Unfortunately cmake seems to expect absolute paths for ar, ranlib, and
97+ # strip. Otherwise they are taken to be relative to the source root of the
98+ # package being built.
89− "-DCMAKE_CXX_COMPILER=${stdenv.cc.targetPrefix}c++"
99+ "-DCMAKE_CXX_COMPILER=${stdenv.cc.targetPrefix}c++"
90− "-DCMAKE_C_COMPILER=${stdenv.cc.targetPrefix}cc"
100+ "-DCMAKE_C_COMPILER=${stdenv.cc.targetPrefix}cc"
91− "-DCMAKE_AR=${getBin stdenv.cc.bintools.bintools}/bin/${stdenv.cc.targetPrefix}ar"
101+ "-DCMAKE_AR=${getBin stdenv.cc.bintools.bintools}/bin/${stdenv.cc.targetPrefix}ar"
92− "-DCMAKE_RANLIB=${getBin stdenv.cc.bintools.bintools}/bin/${stdenv.cc.targetPrefix}ranlib"
102+ "-DCMAKE_RANLIB=${getBin stdenv.cc.bintools.bintools}/bin/${stdenv.cc.targetPrefix}ranlib"
93− "-DCMAKE_STRIP=${getBin stdenv.cc.bintools.bintools}/bin/${stdenv.cc.targetPrefix}strip"
103+ "-DCMAKE_STRIP=${getBin stdenv.cc.bintools.bintools}/bin/${stdenv.cc.targetPrefix}strip"
94− # TODO: Why are ar and friends not provided by the bintools wrapper?
104+ ] ++ optionals (!useNcurses) [ "-DBUILD_CursesDialog=OFF" ];
95− ];
96
105
97 dontUseCmakeConfigure = true;
106 dontUseCmakeConfigure = true;
98 enableParallelBuilding = true;
107 enableParallelBuilding = true;
@@ -101,6 +110,7 @@ stdenv.mkDerivation rec {
101 # CMAKE_SYSTEM_NAME, etc.
110 # CMAKE_SYSTEM_NAME, etc.
102 configurePlatforms = [ ];
111 configurePlatforms = [ ];
103
112
113+ doCheck = false; # fails
104
114
105 meta = with stdenv.lib; {
115 meta = with stdenv.lib; {
106 homepage = http://www.cmake.org/;
116 homepage = http://www.cmake.org/;
pkgs/development/tools/build-managers/cmake/setup-hook.sh+11−14
@@ -29,20 +29,17 @@ cmakeConfigurePhase() {
29 cmakeFlags="-DCMAKE_INSTALL_PREFIX=$prefix $cmakeFlags"
29 cmakeFlags="-DCMAKE_INSTALL_PREFIX=$prefix $cmakeFlags"
30 fi
30 fi
31
31
32− if [ -n "$crossConfig" ]; then
33− # By now it supports linux builds only. We should set the proper
34− # CMAKE_SYSTEM_NAME otherwise.
32+ # We should set the proper `CMAKE_SYSTEM_NAME`.
35− # http://www.cmake.org/Wiki/CMake_Cross_Compiling
33+ # http://www.cmake.org/Wiki/CMake_Cross_Compiling
36− #
34+ #
37− # Unfortunately cmake seems to expect absolute paths for ar, ranlib, and
35+ # Unfortunately cmake seems to expect absolute paths for ar, ranlib, and
38− # strip. Otherwise they are taken to be relative to the source root of
36+ # strip. Otherwise they are taken to be relative to the source root of the
39− # the package being built.
37+ # package being built.
40− cmakeFlags="-DCMAKE_CXX_COMPILER=$crossConfig-c++ $cmakeFlags"
38+ cmakeFlags="-DCMAKE_CXX_COMPILER=$CXX $cmakeFlags"
41− cmakeFlags="-DCMAKE_C_COMPILER=$crossConfig-cc $cmakeFlags"
39+ cmakeFlags="-DCMAKE_C_COMPILER=$CC $cmakeFlags"
42− cmakeFlags="-DCMAKE_AR=$(command -v $crossConfig-ar) $cmakeFlags"
40+ cmakeFlags="-DCMAKE_AR=$(command -v $AR) $cmakeFlags"
43− cmakeFlags="-DCMAKE_RANLIB=$(command -v $crossConfig-ranlib) $cmakeFlags"
41+ cmakeFlags="-DCMAKE_RANLIB=$(command -v $RANLIB) $cmakeFlags"
44− cmakeFlags="-DCMAKE_STRIP=$(command -v $crossConfig-strip) $cmakeFlags"
42+ cmakeFlags="-DCMAKE_STRIP=$(command -v $STRIP) $cmakeFlags"
45− fi
46
43
47 # on macOS we want to prefer Unix-style headers to Frameworks
44 # on macOS we want to prefer Unix-style headers to Frameworks
48 # because we usually do not package the framework
45 # because we usually do not package the framework
pkgs/development/tools/build-managers/conan/default.nix+3−11
@@ -20,12 +20,12 @@ let newPython = python.override {
20};
20};
21
21
22in newPython.pkgs.buildPythonApplication rec {
22in newPython.pkgs.buildPythonApplication rec {
23− version = "1.1.1"; # remove patch below when updating
23+ version = "1.2.3";
24 pname = "conan";
24 pname = "conan";
25
25
26 src = newPython.pkgs.fetchPypi {
26 src = newPython.pkgs.fetchPypi {
27 inherit pname version;
27 inherit pname version;
28− sha256 = "1k1r401bc9fgmhd5n5f29mjcn346r3zdrm7p28nwpr2r2p3fslrl";
28+ sha256 = "623e92d99cd0f4ec92552b23af66a6bb066071e213659f502480bb9a96d7be23";
29 };
29 };
30
30
31 checkInputs = with newPython.pkgs; [
31 checkInputs = with newPython.pkgs; [
@@ -39,15 +39,7 @@ in newPython.pkgs.buildPythonApplication rec {
39 propagatedBuildInputs = with newPython.pkgs; [
39 propagatedBuildInputs = with newPython.pkgs; [
40 requests fasteners pyyaml pyjwt colorama patch
40 requests fasteners pyyaml pyjwt colorama patch
41 bottle pluginbase six distro pylint node-semver
41 bottle pluginbase six distro pylint node-semver
42− future pygments mccabe
42+ future pygments mccabe deprecation
43− ];
44−
45− patches = [
46− # already merged, remove with the next package update
47− (fetchpatch {
48− url = "https://github.com/conan-io/conan/commit/51cc4cbd51ac8f9b9efa2bf678a2d7810e273ff3.patch";
49− sha256 = "0d93g4hjpfk8z870imwdswkw5qba2h5zhfgwwijiqhr2pv7fl1y7";
50− })
51 ];
43 ];
52
44
53 preCheck = ''
45 preCheck = ''
pkgs/development/tools/build-managers/meson/default.nix+2−6
@@ -2,13 +2,13 @@
2 targetPrefix = lib.optionalString stdenv.isCross
2 targetPrefix = lib.optionalString stdenv.isCross
3 (targetPlatform.config + "-");
3 (targetPlatform.config + "-");
4in python3Packages.buildPythonApplication rec {
4in python3Packages.buildPythonApplication rec {
5− version = "0.45.1";
5+ version = "0.46.1";
6 pname = "meson";
6 pname = "meson";
7 name = "${pname}-${version}";
7 name = "${pname}-${version}";
8
8
9 src = python3Packages.fetchPypi {
9 src = python3Packages.fetchPypi {
10 inherit pname version;
10 inherit pname version;
11− sha256 = "154kxx49dbw7p30qfg1carb3mgqxx9hyy1r0yzfsg07hz1n2sq14";
11+ sha256 = "1jdxs2mkniy1hpdjc4b4jb95axsjp6j5fzphmm6d4gqmqyykjvqc";
12 };
12 };
13
13
14 postFixup = ''
14 postFixup = ''
@@ -43,10 +43,6 @@ in python3Packages.buildPythonApplication rec {
43 src = ./fix-rpath.patch;
43 src = ./fix-rpath.patch;
44 inherit (builtins) storeDir;
44 inherit (builtins) storeDir;
45 })
45 })
46−
47− # No one will ever need more than 128 bytes of data structure
48− # https://github.com/mesonbuild/meson/issues/3113
49− ./overly-strict-size-check.patch
50 ];
46 ];
51
47
52 setupHook = ./setup-hook.sh;
48 setupHook = ./setup-hook.sh;
pkgs/development/tools/build-managers/meson/overly-strict-size-check.patchdeleted−12
@@ -1,12 +0,0 @@
1−diff -Naur a/mesonbuild/compilers/c.py b/mesonbuild/compilers/c.py
2−--- a/mesonbuild/compilers/c.py 2017-12-10 08:37:19.000000000 -0500
3−+++ b/mesonbuild/compilers/c.py 2018-03-24 07:46:04.739929307 -0400
4−@@ -406,7 +406,7 @@
5− }}'''
6− if not self.compiles(t.format(**fargs), env, extra_args, dependencies):
7− return -1
8−- return self.cross_compute_int('sizeof(%s)' % typename, 1, 128, None, prefix, env, extra_args, dependencies)
9−+ return self.cross_compute_int('sizeof(%s)' % typename, 1, 1024, None, prefix, env, extra_args, dependencies)
10−
11− def sizeof(self, typename, prefix, env, extra_args=None, dependencies=None):
12− if extra_args is None:
pkgs/development/tools/dcadec/default.nix+3−1
@@ -14,6 +14,8 @@ stdenv.mkDerivation rec {
14
14
15 installPhase = "make PREFIX=/ DESTDIR=$out install";
15 installPhase = "make PREFIX=/ DESTDIR=$out install";
16
16
17+ doCheck = false; # fails with "ERROR: Run 'git submodule update --init test/samples' first."
18+
17 meta = with stdenv.lib; {
19 meta = with stdenv.lib; {
18 description = "DTS Coherent Acoustics decoder with support for HD extensions";
20 description = "DTS Coherent Acoustics decoder with support for HD extensions";
19 maintainers = with maintainers; [ edwtjo ];
21 maintainers = with maintainers; [ edwtjo ];
@@ -21,4 +23,4 @@ stdenv.mkDerivation rec {
21 license = licenses.lgpl21;
23 license = licenses.lgpl21;
22 platforms = platforms.linux;
24 platforms = platforms.linux;
23 };
25 };
24−}
26+}
pkgs/development/tools/documentation/doxygen/default.nix+1
@@ -25,6 +25,7 @@ stdenv.mkDerivation rec {
25 stdenv.lib.optional stdenv.isDarwin "-mmacosx-version-min=10.9";
25 stdenv.lib.optional stdenv.isDarwin "-mmacosx-version-min=10.9";
26
26
27 enableParallelBuilding = true;
27 enableParallelBuilding = true;
28+ doCheck = false; # fails
28
29
29 meta = {
30 meta = {
30 license = stdenv.lib.licenses.gpl2Plus;
31 license = stdenv.lib.licenses.gpl2Plus;
pkgs/development/tools/documentation/gtk-doc/default.nix+3
@@ -28,6 +28,9 @@ stdenv.mkDerivation rec {
28
28
29 configureFlags = "--disable-scrollkeeper";
29 configureFlags = "--disable-scrollkeeper";
30
30
31+ doCheck = false; # requires a lot of stuff
32+ doInstallCheck = false; # fails
33+
31 passthru = {
34 passthru = {
32 # Consumers are expected to copy the m4 files to their source tree, let them reuse the patch
35 # Consumers are expected to copy the m4 files to their source tree, let them reuse the patch
33 respect_xml_catalog_files_var_patch = ./respect-xml-catalog-files-var.patch;
36 respect_xml_catalog_files_var_patch = ./respect-xml-catalog-files-var.patch;
pkgs/development/tools/go2nix/default.nix+2
@@ -33,6 +33,8 @@ buildGoPackage rec {
33
33
34 allowGoReference = true;
34 allowGoReference = true;
35
35
36+ doCheck = false; # tries to access the net
37+
36 meta = with stdenv.lib; {
38 meta = with stdenv.lib; {
37 description = "Go apps packaging for Nix";
39 description = "Go apps packaging for Nix";
38 homepage = https://github.com/kamilchm/go2nix;
40 homepage = https://github.com/kamilchm/go2nix;
pkgs/development/tools/govers/default.nix+4−1
@@ -4,7 +4,7 @@ buildGoPackage rec {
4 name = "govers-${version}";
4 name = "govers-${version}";
5 version = "20150109-${stdenv.lib.strings.substring 0 7 rev}";
5 version = "20150109-${stdenv.lib.strings.substring 0 7 rev}";
6 rev = "3b5f175f65d601d06f48d78fcbdb0add633565b9";
6 rev = "3b5f175f65d601d06f48d78fcbdb0add633565b9";
7−
7+
8 goPackagePath = "github.com/rogpeppe/govers";
8 goPackagePath = "github.com/rogpeppe/govers";
9
9
10 src = fetchgit {
10 src = fetchgit {
@@ -14,4 +14,7 @@ buildGoPackage rec {
14 };
14 };
15
15
16 dontRenameImports = true;
16 dontRenameImports = true;
17+
18+ doCheck = false; # fails, silently
19+
17}
20}
pkgs/development/tools/misc/autoconf/2.64.nix+6−4
@@ -23,10 +23,12 @@ stdenv.mkDerivation rec {
23
23
24 enableParallelBuilding = true;
24 enableParallelBuilding = true;
25
25
26− preCheck =
27− # Make the Autotest test suite run in parallel.
26+ # Make the Autotest test suite run in parallel.
27+ preCheck =''
28− '' export TESTSUITEFLAGS="-j$NIX_BUILD_CORES"
28+ export TESTSUITEFLAGS="-j$NIX_BUILD_CORES"
29− '';
29+ '';
30+
31+ doInstallCheck = false; # fails
30
32
31 meta = {
33 meta = {
32 homepage = http://www.gnu.org/software/autoconf/;
34 homepage = http://www.gnu.org/software/autoconf/;
pkgs/development/tools/misc/autoconf/default.nix+6−4
@@ -24,10 +24,12 @@ stdenv.mkDerivation rec {
24
24
25 enableParallelBuilding = true;
25 enableParallelBuilding = true;
26
26
27− preCheck =
28− # Make the Autotest test suite run in parallel.
27+ # Make the Autotest test suite run in parallel.
28+ preCheck =''
29− '' export TESTSUITEFLAGS="-j$NIX_BUILD_CORES"
29+ export TESTSUITEFLAGS="-j$NIX_BUILD_CORES"
30− '';
30+ '';
31+
32+ doInstallCheck = false; # fails
31
33
32 meta = {
34 meta = {
33 homepage = http://www.gnu.org/software/autoconf/;
35 homepage = http://www.gnu.org/software/autoconf/;
pkgs/development/tools/misc/binutils/default.nix+3−5
@@ -104,11 +104,7 @@ stdenv.mkDerivation rec {
104 else "-static-libgcc";
104 else "-static-libgcc";
105
105
106 # TODO(@Ericson2314): Always pass "--target" and always targetPrefix.
106 # TODO(@Ericson2314): Always pass "--target" and always targetPrefix.
107− configurePlatforms =
108− # TODO(@Ericson2314): Figure out what's going wrong with Arm
109− if buildPlatform == hostPlatform && hostPlatform == targetPlatform && targetPlatform.isAarch32
110− then []
111− else [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
107+ configurePlatforms = [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
112
108
113 configureFlags = [
109 configureFlags = [
114 "--enable-targets=all" "--enable-64-bit-bfd"
110 "--enable-targets=all" "--enable-64-bit-bfd"
@@ -121,6 +117,8 @@ stdenv.mkDerivation rec {
121 "--enable-fix-loongson2f-nop"
117 "--enable-fix-loongson2f-nop"
122 ] ++ optionals gold [ "--enable-gold" "--enable-plugins" ];
118 ] ++ optionals gold [ "--enable-gold" "--enable-plugins" ];
123
119
120+ doCheck = false; # fails
121+
124 enableParallelBuilding = true;
122 enableParallelBuilding = true;
125
123
126 passthru = {
124 passthru = {
pkgs/development/tools/misc/itstool/default.nix+2−2
@@ -2,11 +2,11 @@
2# We need the same Python as is used to build libxml2Python
2# We need the same Python as is used to build libxml2Python
3
3
4stdenv.mkDerivation rec {
4stdenv.mkDerivation rec {
5− name = "itstool-2.0.2";
5+ name = "itstool-2.0.4";
6
6
7 src = fetchurl {
7 src = fetchurl {
8 url = "http://files.itstool.org/itstool/${name}.tar.bz2";
8 url = "http://files.itstool.org/itstool/${name}.tar.bz2";
9− sha256 = "bf909fb59b11a646681a8534d5700fec99be83bb2c57badf8c1844512227033a";
9+ sha256 = "0q7b4qrc758zfx3adsgvz0r93swdbxjr42w37rahngm33nshihlp";
10 };
10 };
11
11
12 buildInputs = [ python2 libxml2Python ];
12 buildInputs = [ python2 libxml2Python ];
pkgs/development/tools/misc/libtool/libtool2.nix+1
@@ -22,6 +22,7 @@ stdenv.mkDerivation rec {
22 # XXX: The GNU ld wrapper does all sorts of nasty things wrt. RPATH, which
22 # XXX: The GNU ld wrapper does all sorts of nasty things wrt. RPATH, which
23 # leads to the failure of a number of tests.
23 # leads to the failure of a number of tests.
24 doCheck = false;
24 doCheck = false;
25+ doInstallCheck = false;
25
26
26 # Don't run the native `strip' when cross-compiling. This breaks at least
27 # Don't run the native `strip' when cross-compiling. This breaks at least
27 # with `.a' files for MinGW.
28 # with `.a' files for MinGW.
pkgs/development/tools/misc/pkgconfig/default.nix+1−1
@@ -32,6 +32,7 @@ stdenv.mkDerivation rec {
32 "ac_cv_func_posix_getgrgid_r=yes"
32 "ac_cv_func_posix_getgrgid_r=yes"
33 ];
33 ];
34
34
35+ doCheck = false; # fails
35
36
36 postInstall = ''rm -f "$out"/bin/*-pkg-config''; # clean the duplicate file
37 postInstall = ''rm -f "$out"/bin/*-pkg-config''; # clean the duplicate file
37
38
@@ -42,4 +43,3 @@ stdenv.mkDerivation rec {
42 };
43 };
43
44
44}
45}
45−
pkgs/development/tools/misc/texinfo/4.13a.nix+5−28
@@ -1,10 +1,11 @@
1−{ stdenv, fetchurl, ncurses, lzma }:
1+{ stdenv, fetchurl, texinfo, ncurses, lzma }:
2
2
3stdenv.mkDerivation rec {
3stdenv.mkDerivation rec {
4− name = "texinfo-4.13a";
4+ name = "texinfo-${version}";
5+ version = "4.13a";
5
6
6 src = fetchurl {
7 src = fetchurl {
7− url = "mirror://gnu/texinfo/texinfo-4.13a.tar.lzma";
8+ url = "mirror://gnu/texinfo/${name}.tar.lzma";
8 sha256 = "1rf9ckpqwixj65bw469i634897xwlgkm5i9g2hv3avl6mv7b0a3d";
9 sha256 = "1rf9ckpqwixj65bw469i634897xwlgkm5i9g2hv3avl6mv7b0a3d";
9 };
10 };
10
11
@@ -14,29 +15,5 @@ stdenv.mkDerivation rec {
14 # Disabled because we don't have zdiff in the stdenv bootstrap.
15 # Disabled because we don't have zdiff in the stdenv bootstrap.
15 #doCheck = true;
16 #doCheck = true;
16
17
17− meta = {
18+ meta = texinfo.meta // { branch = version; };
18− description = "The GNU documentation system";
19−
20− longDescription = ''
21− Texinfo is the official documentation format of the GNU project.
22− It was invented by Richard Stallman and Bob Chassell many years
23− ago, loosely based on Brian Reid's Scribe and other formatting
24− languages of the time. It is used by many non-GNU projects as
25− well.
26−
27− Texinfo uses a single source file to produce output in a number
28− of formats, both online and printed (dvi, html, info, pdf, xml,
29− etc.). This means that instead of writing different documents
30− for online information and another for a printed manual, you
31− need write only one document. And when the work is revised, you
32− need revise only that one document. The Texinfo system is
33− well-integrated with GNU Emacs.
34− '';
35−
36− license = stdenv.lib.licenses.gpl3Plus;
37−
38− homepage = http://www.gnu.org/software/texinfo/;
39− branch = "4.13";
40− platforms = stdenv.lib.platforms.unix;
41− };
42}
19}
pkgs/development/tools/misc/texinfo/5.2.nix+3−53
@@ -1,54 +1,4 @@
1−{ stdenv, buildPackages, fetchurl, ncurses, perl, xz, procps, interactive ? false }:
1+import ./common.nix {
2−
2+ version = "5.2";
3−with stdenv.lib;
4−
5−stdenv.mkDerivation rec {
6− name = "texinfo-5.2";
7−
8− src = fetchurl {
9− url = "mirror://gnu/texinfo/${name}.tar.xz";
10− sha256 = "1njfwh2z34r2c4r0iqa7v24wmjzvsfyz4vplzry8ln3479lfywal";
3+ sha256 = "1njfwh2z34r2c4r0iqa7v24wmjzvsfyz4vplzry8ln3479lfywal";
11− };
12−
13− # We need a native compiler to build perl XS extensions
14− # when cross-compiling.
15− depsBuildBuild = [ buildPackages.stdenv.cc perl ];
16−
17− buildInputs = [ perl xz.bin ]
18− ++ optional interactive ncurses
19− ++ optional doCheck procps; # for tests
20−
21− configureFlags = [ "PERL=${buildPackages.perl}/bin/perl" ]
22− ++ stdenv.lib.optional stdenv.isSunOS "AWK=${gawk}/bin/awk";
23−
24− preInstall = ''
25− installFlags="TEXMF=$out/texmf-dist";
26− installTargets="install install-tex";
27− '';
28−
29− doCheck = !stdenv.isDarwin;
30−
31− meta = {
32− homepage = http://www.gnu.org/software/texinfo/;
33− description = "The GNU documentation system";
34− license = licenses.gpl3Plus;
35− platforms = platforms.all;
36−
37− longDescription = ''
38− Texinfo is the official documentation format of the GNU project.
39− It was invented by Richard Stallman and Bob Chassell many years
40− ago, loosely based on Brian Reid's Scribe and other formatting
41− languages of the time. It is used by many non-GNU projects as
42− well.
43−
44− Texinfo uses a single source file to produce output in a number
45− of formats, both online and printed (dvi, html, info, pdf, xml,
46− etc.). This means that instead of writing different documents
47− for online information and another for a printed manual, you
48− need write only one document. And when the work is revised, you
49− need revise only that one document. The Texinfo system is
50− well-integrated with GNU Emacs.
51− '';
52− branch = "5.2";
53− };
54}
4}
pkgs/development/tools/misc/texinfo/6.5.nix+3−55
@@ -1,56 +1,4 @@
1−{ stdenv, buildPackages, fetchurl, ncurses, perl, xz, libiconv, gawk, procps, interactive ? false }:
1+import ./common.nix {
2−
2+ version = "6.5";
3−with stdenv.lib;
4−
5−stdenv.mkDerivation rec {
6− name = "texinfo-6.5";
7−
8− src = fetchurl {
9− url = "mirror://gnu/texinfo/${name}.tar.xz";
10− sha256 = "0qjzvbvnv9003xdrcpi3jp7y68j4hq2ciw9frh2hghh698zlnxvp";
3+ sha256 = "0qjzvbvnv9003xdrcpi3jp7y68j4hq2ciw9frh2hghh698zlnxvp";
11− };
12−
13− # We need a native compiler to build perl XS extensions
14− # when cross-compiling.
15− depsBuildBuild = [ buildPackages.stdenv.cc perl ];
16−
17− buildInputs = [ xz ]
18− ++ optionals stdenv.isSunOS [ libiconv gawk ]
19− ++ optional interactive ncurses
20− ++ optional doCheck procps; # for tests
21−
22− configureFlags = [ "PERL=${buildPackages.perl}/bin/perl" ]
23− ++ stdenv.lib.optional stdenv.isSunOS "AWK=${gawk}/bin/awk";
24−
25− preInstall = ''
26− installFlags="TEXMF=$out/texmf-dist";
27− installTargets="install install-tex";
28− '';
29−
30− doCheck = interactive # simplify bootstrapping
31− && !stdenv.isDarwin && !stdenv.isSunOS/*flaky*/;
32−
33− meta = with stdenv.lib; {
34− homepage = http://www.gnu.org/software/texinfo/;
35− description = "The GNU documentation system";
36− license = licenses.gpl3Plus;
37− platforms = platforms.all;
38− maintainers = [ maintainers.vrthra ];
39−
40− longDescription = ''
41− Texinfo is the official documentation format of the GNU project.
42− It was invented by Richard Stallman and Bob Chassell many years
43− ago, loosely based on Brian Reid's Scribe and other formatting
44− languages of the time. It is used by many non-GNU projects as
45− well.
46−
47− Texinfo uses a single source file to produce output in a number
48− of formats, both online and printed (dvi, html, info, pdf, xml,
49− etc.). This means that instead of writing different documents
50− for online information and another for a printed manual, you
51− need write only one document. And when the work is revised, you
52− need revise only that one document. The Texinfo system is
53− well-integrated with GNU Emacs.
54− '';
55− };
56}
4}
pkgs/development/tools/misc/texinfo/common.nixnew file+64
@@ -0,0 +1,64 @@
1+{ version, sha256 }:
2+
3+{ stdenv, buildPackages, fetchurl, perl, xz
4+
5+# we are a dependency of gcc, this simplifies bootstraping
6+, interactive ? false, ncurses, procps
7+}:
8+
9+with stdenv.lib;
10+
11+stdenv.mkDerivation rec {
12+ name = "texinfo-${optionalString interactive "interactive-"}${version}";
13+ inherit version;
14+
15+ src = fetchurl {
16+ url = "mirror://gnu/texinfo/texinfo-${version}.tar.xz";
17+ inherit sha256;
18+ };
19+
20+ # We need a native compiler to build perl XS extensions
21+ # when cross-compiling.
22+ depsBuildBuild = [ buildPackages.stdenv.cc perl ];
23+
24+ buildInputs = [ xz.bin ]
25+ ++ optionals stdenv.isSunOS [ libiconv gawk ]
26+ ++ optionals interactive [ ncurses procps ];
27+
28+ configureFlags = [ "PERL=${buildPackages.perl}/bin/perl" ]
29+ ++ stdenv.lib.optional stdenv.isSunOS "AWK=${gawk}/bin/awk";
30+
31+ preInstall = ''
32+ installFlags="TEXMF=$out/texmf-dist";
33+ installTargets="install install-tex";
34+ '';
35+
36+ doCheck = interactive
37+ && !stdenv.isDarwin
38+ && !stdenv.isSunOS; # flaky
39+
40+ meta = {
41+ homepage = http://www.gnu.org/software/texinfo/;
42+ description = "The GNU documentation system";
43+ license = licenses.gpl3Plus;
44+ platforms = platforms.all;
45+ maintainers = with maintainers; [ vrthra oxij ];
46+
47+ longDescription = ''
48+ Texinfo is the official documentation format of the GNU project.
49+ It was invented by Richard Stallman and Bob Chassell many years
50+ ago, loosely based on Brian Reid's Scribe and other formatting
51+ languages of the time. It is used by many non-GNU projects as
52+ well.
53+
54+ Texinfo uses a single source file to produce output in a number
55+ of formats, both online and printed (dvi, html, info, pdf, xml,
56+ etc.). This means that instead of writing different documents
57+ for online information and another for a printed manual, you
58+ need write only one document. And when the work is revised, you
59+ need revise only that one document. The Texinfo system is
60+ well-integrated with GNU Emacs.
61+ '';
62+ branch = version;
63+ };
64+}
pkgs/development/tools/parsing/bison/3.x.nix+3
@@ -13,6 +13,9 @@ stdenv.mkDerivation rec {
13 nativeBuildInputs = [ m4 perl ] ++ stdenv.lib.optional stdenv.isSunOS help2man;
13 nativeBuildInputs = [ m4 perl ] ++ stdenv.lib.optional stdenv.isSunOS help2man;
14 propagatedBuildInputs = [ m4 ];
14 propagatedBuildInputs = [ m4 ];
15
15
16+ doCheck = false; # fails
17+ doInstallCheck = false; # fails
18+
16 meta = {
19 meta = {
17 homepage = http://www.gnu.org/software/bison/;
20 homepage = http://www.gnu.org/software/bison/;
18 description = "Yacc-compatible parser generator";
21 description = "Yacc-compatible parser generator";
pkgs/development/tools/vagrant/Gemfile+1−1
@@ -1,2 +1,2 @@
1source "https://rubygems.org"
1source "https://rubygems.org"
2−gem 'vagrant'
2+gem 'vagrant', git: "https://github.com/hashicorp/vagrant.git", tag: "v2.0.4"
pkgs/development/web/nodejs/v10.nixnew file+11
@@ -0,0 +1,11 @@
1+{ stdenv, callPackage, lib, openssl, enableNpm ? true }:
2+
3+let
4+ buildNodejs = callPackage ./nodejs.nix { inherit openssl; };
5+in
6+ buildNodejs {
7+ inherit enableNpm;
8+ version = "10.0.0";
9+ sha256 = "0l5bx2j4f2ij19kx14my7g7k37j3fn9qpjvbisjvhpbm42810fg2";
10+ patches = lib.optionals stdenv.isDarwin [ ./no-xcode-v7.patch ./no-xcodebuild.patch ];
11+ }
pkgs/games/freeciv/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, zlib, bzip2, pkgconfig, curl, lzma, gettext
1+{ stdenv, fetchurl, zlib, bzip2, pkgconfig, curl, lzma, gettext, libiconv
2, sdlClient ? true, SDL, SDL_mixer, SDL_image, SDL_ttf, SDL_gfx, freetype, fluidsynth
2, sdlClient ? true, SDL, SDL_mixer, SDL_image, SDL_ttf, SDL_gfx, freetype, fluidsynth
3, gtkClient ? false, gtk2
3, gtkClient ? false, gtk2
4, server ? true, readline
4, server ? true, readline
@@ -22,7 +22,7 @@ stdenv.mkDerivation {
22
22
23 nativeBuildInputs = [ pkgconfig ];
23 nativeBuildInputs = [ pkgconfig ];
24
24
25− buildInputs = [ zlib bzip2 curl lzma gettext ]
25+ buildInputs = [ zlib bzip2 curl lzma gettext libiconv ]
26 ++ optionals sdlClient [ SDL SDL_mixer SDL_image SDL_ttf SDL_gfx freetype fluidsynth ]
26 ++ optionals sdlClient [ SDL SDL_mixer SDL_image SDL_ttf SDL_gfx freetype fluidsynth ]
27 ++ optionals gtkClient [ gtk2 ]
27 ++ optionals gtkClient [ gtk2 ]
28 ++ optional server readline
28 ++ optional server readline
@@ -50,6 +50,6 @@ stdenv.mkDerivation {
50 license = licenses.gpl2;
50 license = licenses.gpl2;
51
51
52 maintainers = with maintainers; [ pierron ];
52 maintainers = with maintainers; [ pierron ];
53− platforms = platforms.linux;
53+ platforms = platforms.unix;
54 };
54 };
55}
55}
pkgs/misc/cups/filters.nix+1
@@ -56,6 +56,7 @@ in stdenv.mkDerivation rec {
56 '';
56 '';
57
57
58 enableParallelBuilding = true;
58 enableParallelBuilding = true;
59+ doCheck = false; # fails 4 out of 6 tests
59
60
60 meta = {
61 meta = {
61 homepage = http://www.linuxfoundation.org/collaborate/workgroups/openprinting/cups-filters;
62 homepage = http://www.linuxfoundation.org/collaborate/workgroups/openprinting/cups-filters;
pkgs/misc/emulators/wine/winetricks.nix+2
@@ -14,6 +14,8 @@ stdenv.mkDerivation rec {
14
14
15 makeFlags = [ "PREFIX=$(out)" ];
15 makeFlags = [ "PREFIX=$(out)" ];
16
16
17+ doCheck = false; # requires "bashate"
18+
17 postInstall = ''
19 postInstall = ''
18 sed -i \
20 sed -i \
19 -e '2i PATH="${pathAdd}:$PATH"' \
21 -e '2i PATH="${pathAdd}:$PATH"' \
pkgs/misc/uboot/nanonote.nix+8−13
@@ -1,8 +1,5 @@
1{stdenv, fetchurl, fetchgit}:
1{stdenv, fetchurl, fetchgit}:
2
2
3−# We should enable this check once we have the cross target system information
4−# assert stdenv.system == "armv5tel-linux" || crossConfig == "armv5tel-linux";
5−
6# All this file is made for the Marvell Sheevaplug
3# All this file is made for the Marvell Sheevaplug
7
4
8stdenv.mkDerivation {
5stdenv.mkDerivation {
@@ -30,21 +27,19 @@ stdenv.mkDerivation {
30 sed -i -e 's/0x200000;bootm/0x400000;bootm/' include/configs/qi_lb60.h
27 sed -i -e 's/0x200000;bootm/0x400000;bootm/' include/configs/qi_lb60.h
31 '';
28 '';
32
29
30+ makeFlags = [
31+ "CROSS_COMPILE=${stdenv.cc.targetPrefix}"
32+ ];
33+
33− # Remove the cross compiler prefix, and add reiserfs support
34+ # Add reiserfs support
34 configurePhase = ''
35 configurePhase = ''
35 make mrproper
36 make mrproper
36 make qi_lb60_config
37 make qi_lb60_config
37− sed -i /CROSS_COMPILE/d include/config.mk
38 '';
38 '';
39
39
40− buildPhase = ''
40+ preBuild= ''
41 # A variable named 'src' used to affect the build in some uboot...
41 # A variable named 'src' used to affect the build in some uboot...
42− unset src
42+ unset -v src
43− if test -z "$crossConfig"; then
44− make clean all
45− else
46− make clean all ARCH=mips CROSS_COMPILE=$crossConfig-
47− fi
48 '';
43 '';
49
44
50 dontStrip = true;
45 dontStrip = true;
@@ -59,6 +54,6 @@ stdenv.mkDerivation {
59 '';
54 '';
60
55
61 meta = {
56 meta = {
62− platforms = [ "mipsel-linux" ];
57+ platforms = stdenv.lib.platforms.mips;
63 };
58 };
64}
59}
pkgs/os-specific/bsd/netbsd/compat-setup-hook.sh+5−17
@@ -1,18 +1,6 @@
1−setupCompatFlags() {
1+# See pkgs/build-support/setup-hooks/role.bash
2− # The `depHostOffset` describes how the host platform of the dependencies
2+getHostRole
3− # are slid relative to the depending package. It is brought into scope of
4− # the environment hook defined as the role of the dependency being applied.
5− case $depHostOffset in
6− -1) local role='BUILD_' ;;
7− 0) local role='' ;;
8− 1) local role='TARGET_' ;;
9− *) echo "cc-wrapper: Error: Cannot be used with $depHostOffset-offset deps" >2;
10− return 1 ;;
11− esac
12
3
13− export NIX_${role}LDFLAGS+=" -lnbcompat"
4+export NIX_${role_pre}LDFLAGS+=" -lnbcompat"
14− export NIX_${role}CFLAGS_COMPILE+=" -DHAVE_NBTOOL_CONFIG_H"
5+export NIX_${role_pre}CFLAGS_COMPILE+=" -DHAVE_NBTOOL_CONFIG_H"
15− export NIX_${role}CFLAGS_COMPILE+=" -include nbtool_config.h"
6+export NIX_${role_pre}CFLAGS_COMPILE+=" -include nbtool_config.h"
16−}
17−
18−addEnvHooks "$hostOffset" setupCompatFlags
pkgs/os-specific/bsd/netbsd/default.nix+8−2
@@ -167,7 +167,10 @@ let
167 sha256 = "17phkfafybxwhzng44k5bhmag6i55br53ky1nwcmw583kg2fa86z";
167 sha256 = "17phkfafybxwhzng44k5bhmag6i55br53ky1nwcmw583kg2fa86z";
168 version = "7.1.2";
168 version = "7.1.2";
169
169
170+ setupHooks = [
171+ ../../../build-support/setup-hooks/role.bash
170− setupHook = ./compat-setup-hook.sh;
172+ ./compat-setup-hook.sh
173+ ];
171
174
172 # override defaults to prevent infinite recursion
175 # override defaults to prevent infinite recursion
173 nativeBuildInputs = [ makeMinimal ];
176 nativeBuildInputs = [ makeMinimal ];
@@ -270,7 +273,10 @@ let
270
273
271 runHook postInstall
274 runHook postInstall
272 '';
275 '';
276+ setupHooks = [
277+ ../../../build-support/setup-hooks/role.bash
273− setupHook = ./fts-setup-hook.sh;
278+ ./fts-setup-hook.sh
279+ ];
274 };
280 };
275
281
276 stat = netBSDDerivation {
282 stat = netBSDDerivation {
pkgs/os-specific/bsd/netbsd/fts-setup-hook.sh+3−15
@@ -1,16 +1,4 @@
1−ftsLdflags() {
1+# See pkgs/build-support/setup-hooks/role.bash
2− # The `depHostOffset` describes how the host platform of the dependencies
2+getHostRole
3− # are slid relative to the depending package. It is brought into scope of
4− # the environment hook defined as the role of the dependency being applied.
5− case $depHostOffset in
6− -1) local role='BUILD_' ;;
7− 0) local role='' ;;
8− 1) local role='TARGET_' ;;
9− *) echo "cc-wrapper: Error: Cannot be used with $depHostOffset-offset deps" >2;
10− return 1 ;;
11− esac
12
3
13− export NIX_${role}LDFLAGS+=" -lfts"
4+export NIX_${role_pre}LDFLAGS+=" -lfts"
14−}
15−
16−addEnvHooks "$hostOffset" ftsLdflags
pkgs/os-specific/darwin/apple-source-releases/CarbonHeaders/default.nix+1−1
@@ -1,7 +1,7 @@
1{ stdenv, appleDerivation }:
1{ stdenv, appleDerivation }:
2
2
3appleDerivation {
3appleDerivation {
4− phases = [ "unpackPhase" "installPhase" ];
4+ dontBuild = true;
5
5
6 installPhase = ''
6 installPhase = ''
7 mkdir -p $out/include
7 mkdir -p $out/include
pkgs/os-specific/darwin/apple-source-releases/CommonCrypto/default.nix−2
@@ -1,8 +1,6 @@
1{ stdenv, appleDerivation }:
1{ stdenv, appleDerivation }:
2
2
3appleDerivation {
3appleDerivation {
4− phases = [ "unpackPhase" "installPhase" ];
5−
6 installPhase = ''
4 installPhase = ''
7 mkdir -p $out/include/CommonCrypto
5 mkdir -p $out/include/CommonCrypto
8 cp include/* $out/include/CommonCrypto
6 cp include/* $out/include/CommonCrypto
pkgs/os-specific/darwin/apple-source-releases/ICU/default.nix+1
@@ -20,5 +20,6 @@ appleDerivation {
20
20
21 postInstall = ''
21 postInstall = ''
22 mv $out/usr/local/include $out/include
22 mv $out/usr/local/include $out/include
23+ rm -rf $out/usr
23 '';
24 '';
24}
25}
pkgs/os-specific/darwin/apple-source-releases/Libc/825_40_1.nix−2
@@ -1,8 +1,6 @@
1{ stdenv, appleDerivation, ed, unifdef }:
1{ stdenv, appleDerivation, ed, unifdef }:
2
2
3appleDerivation {
3appleDerivation {
4− phases = [ "unpackPhase" "installPhase" ];
5−
6 nativeBuildInputs = [ ed unifdef ];
4 nativeBuildInputs = [ ed unifdef ];
7
5
8 installPhase = ''
6 installPhase = ''
pkgs/os-specific/darwin/apple-source-releases/Libc/default.nix−2
@@ -1,8 +1,6 @@
1{ stdenv, appleDerivation, ed, unifdef, Libc_old, Libc_10-9 }:
1{ stdenv, appleDerivation, ed, unifdef, Libc_old, Libc_10-9 }:
2
2
3appleDerivation {
3appleDerivation {
4− phases = [ "unpackPhase" "installPhase" ];
5−
6 nativeBuildInputs = [ ed unifdef ];
4 nativeBuildInputs = [ ed unifdef ];
7
5
8 # TODO: asl.h actually comes from syslog project now
6 # TODO: asl.h actually comes from syslog project now
pkgs/os-specific/darwin/apple-source-releases/Libinfo/default.nix−2
@@ -1,8 +1,6 @@
1{ stdenv, appleDerivation }:
1{ stdenv, appleDerivation }:
2
2
3appleDerivation {
3appleDerivation {
4− phases = [ "unpackPhase" "installPhase" ];
5−
6 installPhase = ''
4 installPhase = ''
7 substituteInPlace xcodescripts/install_files.sh \
5 substituteInPlace xcodescripts/install_files.sh \
8 --replace "/usr/local/" "/" \
6 --replace "/usr/local/" "/" \
pkgs/os-specific/darwin/apple-source-releases/Libm/default.nix+1−3
@@ -1,8 +1,6 @@
1{ stdenv, appleDerivation }:
1{ stdenv, appleDerivation }:
2
2
3appleDerivation {
3appleDerivation {
4− phases = [ "unpackPhase" "installPhase" ];
5−
6 installPhase = ''
4 installPhase = ''
7 mkdir -p $out/include
5 mkdir -p $out/include
8
6
@@ -10,4 +8,4 @@ appleDerivation {
10 cp Source/Intel/fenv.h $out/include
8 cp Source/Intel/fenv.h $out/include
11 cp Source/complex.h $out/include
9 cp Source/complex.h $out/include
12 '';
10 '';
13−}
11+}
pkgs/os-specific/darwin/apple-source-releases/Libnotify/default.nix−2
@@ -1,8 +1,6 @@
1{ stdenv, appleDerivation }:
1{ stdenv, appleDerivation }:
2
2
3appleDerivation {
3appleDerivation {
4− phases = [ "unpackPhase" "installPhase" ];
5−
6 installPhase = ''
4 installPhase = ''
7 mkdir -p $out/include
5 mkdir -p $out/include
8 cp notify.h $out/include
6 cp notify.h $out/include
pkgs/os-specific/darwin/apple-source-releases/Librpcsvc/default.nix−2
@@ -1,8 +1,6 @@
1{ stdenv, appleDerivation, developer_cmds }:
1{ stdenv, appleDerivation, developer_cmds }:
2
2
3appleDerivation rec {
3appleDerivation rec {
4− phases = [ "unpackPhase" "installPhase" ];
5−
6 buildInputs = [ developer_cmds ];
4 buildInputs = [ developer_cmds ];
7
5
8 installPhase = ''
6 installPhase = ''
pkgs/os-specific/darwin/apple-source-releases/Libsystem/default.nix+1
@@ -23,6 +23,7 @@ appleDerivation rec {
23 (cd $dep/include && find . -name '*.h' | cpio -pdm $out/include)
23 (cd $dep/include && find . -name '*.h' | cpio -pdm $out/include)
24 done
24 done
25
25
26+
26 (cd ${cctools.dev}/include/mach-o && find . -name '*.h' | cpio -pdm $out/include/mach-o)
27 (cd ${cctools.dev}/include/mach-o && find . -name '*.h' | cpio -pdm $out/include/mach-o)
27
28
28 cat <<EOF > $out/include/TargetConditionals.h
29 cat <<EOF > $out/include/TargetConditionals.h
pkgs/os-specific/darwin/apple-source-releases/architecture/default.nix+3−11
@@ -1,19 +1,11 @@
1{ stdenv, appleDerivation }:
1{ stdenv, appleDerivation }:
2
2
3appleDerivation {
3appleDerivation {
4− phases = [ "unpackPhase" "installPhase" ];
4+ dontBuild = true;
5
5
6− postUnpack = ''
6+ installFlags = [ "EXPORT_DSTDIR=/include/architecture" ];
7− substituteInPlace $sourceRoot/Makefile \
8− --replace "/usr/include" "/include" \
9− --replace "/usr/bin/" "" \
10− --replace "/bin/" ""
11− '';
12
7
13− installPhase = ''
14− export DSTROOT=$out
8+ DSTROOT = "$(out)";
15− make install
16− '';
17
9
18 meta = with stdenv.lib; {
10 meta = with stdenv.lib; {
19 maintainers = with maintainers; [ copumpkin ];
11 maintainers = with maintainers; [ copumpkin ];
pkgs/os-specific/darwin/apple-source-releases/copyfile/default.nix+2−3
@@ -1,10 +1,9 @@
1{ stdenv, appleDerivation }:
1{ stdenv, appleDerivation }:
2
2
3appleDerivation {
3appleDerivation {
4− phases = [ "unpackPhase" "installPhase" ];
4+ dontBuild = true;
5−
6 installPhase = ''
5 installPhase = ''
7 mkdir -p $out/include/
6 mkdir -p $out/include/
8 cp copyfile.h $out/include/
7 cp copyfile.h $out/include/
9 '';
8 '';
10−}
9+}
pkgs/os-specific/darwin/apple-source-releases/dyld/default.nix−2
@@ -1,8 +1,6 @@
1{ stdenv, appleDerivation }:
1{ stdenv, appleDerivation }:
2
2
3appleDerivation {
3appleDerivation {
4− phases = [ "unpackPhase" "installPhase" ];
5−
6 installPhase = ''
4 installPhase = ''
7 mkdir -p $out/lib $out/include
5 mkdir -p $out/lib $out/include
8 ln -s /usr/lib/dyld $out/lib/dyld
6 ln -s /usr/lib/dyld $out/lib/dyld
pkgs/os-specific/darwin/apple-source-releases/eap8021x/default.nix+2−3
@@ -1,11 +1,10 @@
1{ stdenv, appleDerivation }:
1{ stdenv, appleDerivation }:
2
2
3appleDerivation {
3appleDerivation {
4− phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
4+ dontBuild = true;
5−
6 installPhase = ''
5 installPhase = ''
7 mkdir -p $out/Library/Frameworks/EAP8021X.framework/Headers
6 mkdir -p $out/Library/Frameworks/EAP8021X.framework/Headers
8
7
9 cp EAP8021X.fproj/EAPClientProperties.h $out/Library/Frameworks/EAP8021X.framework/Headers
8 cp EAP8021X.fproj/EAPClientProperties.h $out/Library/Frameworks/EAP8021X.framework/Headers
10 '';
9 '';
11−}
10+}
pkgs/os-specific/darwin/apple-source-releases/launchd/default.nix+1−3
@@ -1,8 +1,6 @@
1{ stdenv, appleDerivation }:
1{ stdenv, appleDerivation }:
2
2
3appleDerivation {
3appleDerivation {
4− phases = [ "unpackPhase" "installPhase" ];
5−
6 # No clue why the same file has two different names. Ask Apple!
4 # No clue why the same file has two different names. Ask Apple!
7 installPhase = ''
5 installPhase = ''
8 mkdir -p $out/include/ $out/include/servers
6 mkdir -p $out/include/ $out/include/servers
@@ -11,4 +9,4 @@ appleDerivation {
11 cp liblaunch/bootstrap.h $out/include/servers
9 cp liblaunch/bootstrap.h $out/include/servers
12 cp liblaunch/bootstrap.h $out/include/servers/bootstrap_defs.h
10 cp liblaunch/bootstrap.h $out/include/servers/bootstrap_defs.h
13 '';
11 '';
14−}
12+}
pkgs/os-specific/darwin/apple-source-releases/libclosure/default.nix+1−3
@@ -1,10 +1,8 @@
1{ stdenv, appleDerivation }:
1{ stdenv, appleDerivation }:
2
2
3appleDerivation {
3appleDerivation {
4− phases = [ "unpackPhase" "installPhase" ];
5−
6 installPhase = ''
4 installPhase = ''
7 mkdir -p $out/include
5 mkdir -p $out/include
8 cp *.h $out/include/
6 cp *.h $out/include/
9 '';
7 '';
10−}
8+}
pkgs/os-specific/darwin/apple-source-releases/libdispatch/default.nix+2−2
@@ -1,8 +1,8 @@
1{ stdenv, appleDerivation }:
1{ stdenv, appleDerivation }:
2
2
3appleDerivation {
3appleDerivation {
4− phases = [ "unpackPhase" "installPhase" ];
4+ dontConfigure = true;
5−
5+ dontBuild = true;
6 installPhase = ''
6 installPhase = ''
7 mkdir -p $out/include/dispatch $out/include/os
7 mkdir -p $out/include/dispatch $out/include/os
8
8
pkgs/os-specific/darwin/apple-source-releases/libiconv/default.nix+4−1
@@ -18,7 +18,10 @@ appleDerivation {
18 -Wl,-reexport_library -Wl,$out/lib/libcharset.dylib
18 -Wl,-reexport_library -Wl,$out/lib/libcharset.dylib
19 '';
19 '';
20
20
21+ setupHooks = [
22+ ../../../../build-support/setup-hooks/role.bash
21− setup-hook = ../../../../development/libraries/libiconv/setup-hook.sh;
23+ ../../../../development/libraries/libiconv/setup-hook.sh
24+ ];
22
25
23 meta = {
26 meta = {
24 platforms = stdenv.lib.platforms.darwin;
27 platforms = stdenv.lib.platforms.darwin;
pkgs/os-specific/darwin/apple-source-releases/libplatform/default.nix−2
@@ -1,8 +1,6 @@
1{ stdenv, appleDerivation }:
1{ stdenv, appleDerivation }:
2
2
3appleDerivation {
3appleDerivation {
4− phases = [ "unpackPhase" "installPhase" ];
5−
6 installPhase = ''
4 installPhase = ''
7 mkdir $out
5 mkdir $out
8 cp -r include $out/include
6 cp -r include $out/include
pkgs/os-specific/darwin/apple-source-releases/libpthread/default.nix−2
@@ -1,8 +1,6 @@
1{ stdenv, appleDerivation, libdispatch, xnu }:
1{ stdenv, appleDerivation, libdispatch, xnu }:
2
2
3appleDerivation {
3appleDerivation {
4− phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
5−
6 propagatedBuildInputs = [ libdispatch xnu ];
4 propagatedBuildInputs = [ libdispatch xnu ];
7
5
8 installPhase = ''
6 installPhase = ''
pkgs/os-specific/darwin/apple-source-releases/libresolv/default.nix−2
@@ -1,8 +1,6 @@
1{ stdenv, appleDerivation, Libinfo, configd, mDNSResponder }:
1{ stdenv, appleDerivation, Libinfo, configd, mDNSResponder }:
2
2
3appleDerivation {
3appleDerivation {
4− phases = [ "unpackPhase" "buildPhase" "installPhase" ];
5−
6 buildInputs = [ Libinfo configd mDNSResponder ];
4 buildInputs = [ Libinfo configd mDNSResponder ];
7
5
8 buildPhase = ''
6 buildPhase = ''
pkgs/os-specific/darwin/apple-source-releases/libutil/default.nix−2
@@ -2,8 +2,6 @@
2
2
3# all symbols are located in libSystem
3# all symbols are located in libSystem
4appleDerivation {
4appleDerivation {
5− phases = [ "unpackPhase" "installPhase" ];
6−
7 installPhase = ''
5 installPhase = ''
8 mkdir -p $out/include
6 mkdir -p $out/include
9 cp *.h $out/include
7 cp *.h $out/include
pkgs/os-specific/darwin/apple-source-releases/ppp/default.nix+1−2
@@ -1,8 +1,7 @@
1{ stdenv, appleDerivation }:
1{ stdenv, appleDerivation }:
2
2
3appleDerivation {
3appleDerivation {
4− phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
4+ dontBuild = true;
5−
6 installPhase = ''
5 installPhase = ''
7 mkdir -p $out/include/ppp
6 mkdir -p $out/include/ppp
8
7
pkgs/os-specific/darwin/apple-source-releases/removefile/default.nix+1−3
@@ -1,10 +1,8 @@
1{ stdenv, appleDerivation }:
1{ stdenv, appleDerivation }:
2
2
3appleDerivation {
3appleDerivation {
4− phases = [ "unpackPhase" "installPhase" ];
5−
6 installPhase = ''
4 installPhase = ''
7 mkdir -p $out/include/
5 mkdir -p $out/include/
8 cp removefile.h checkint.h $out/include/
6 cp removefile.h checkint.h $out/include/
9 '';
7 '';
10−}
8+}
pkgs/os-specific/darwin/xcode/default.nix−1
@@ -14,7 +14,6 @@ in stdenv.mkDerivation rec {
14 sha256 = "70bb550cc14eca80b9825f4ae9bfbf7f076bb75777311be428bc30a7eb7a6f7e";
14 sha256 = "70bb550cc14eca80b9825f4ae9bfbf7f076bb75777311be428bc30a7eb7a6f7e";
15 };
15 };
16
16
17− phases = [ "unpackPhase" "patchPhase" "installPhase" "fixupPhase" ];
18 outputs = [ "out" "toolchain" ];
17 outputs = [ "out" "toolchain" ];
19
18
20
19
pkgs/os-specific/linux/apparmor/default.nix+20−4
@@ -36,9 +36,7 @@ let
36 substituteInPlace ./common/Make.rules --replace "/usr/share/man" "share/man"
36 substituteInPlace ./common/Make.rules --replace "/usr/share/man" "share/man"
37 '';
37 '';
38
38
39− # use 'if c then x else null' to avoid rebuilding
40− # patches = stdenv.lib.optionals stdenv.hostPlatform.isMusl [
39+ patches = stdenv.lib.optionals stdenv.hostPlatform.isMusl [
41− patches = if stdenv.hostPlatform.isMusl then [
42 (fetchpatch {
40 (fetchpatch {
43 url = "https://git.alpinelinux.org/cgit/aports/plain/testing/apparmor/0002-Provide-missing-secure_getenv-and-scandirat-function.patch?id=74b8427cc21f04e32030d047ae92caa618105b53";
41 url = "https://git.alpinelinux.org/cgit/aports/plain/testing/apparmor/0002-Provide-missing-secure_getenv-and-scandirat-function.patch?id=74b8427cc21f04e32030d047ae92caa618105b53";
44 name = "0002-Provide-missing-secure_getenv-and-scandirat-function.patch";
42 name = "0002-Provide-missing-secure_getenv-and-scandirat-function.patch";
@@ -55,7 +53,11 @@ let
55 sha256 = "1m4dx901biqgnr4w4wz8a2z9r9dxyw7wv6m6mqglqwf2lxinqmp4";
53 sha256 = "1m4dx901biqgnr4w4wz8a2z9r9dxyw7wv6m6mqglqwf2lxinqmp4";
56 })
54 })
57 # (alpine patches {1,4,5,6,8} are needed for apparmor 2.11, but not 2.12)
55 # (alpine patches {1,4,5,6,8} are needed for apparmor 2.11, but not 2.12)
58− ] else null;
56+ ];
57+
58+ # Set to `true` after the next FIXME gets fixed or this gets some
59+ # common derivation infra. Too much copy-paste to fix one by one.
60+ doCheck = false;
59
61
60 # FIXME: convert these to a single multiple-outputs package?
62 # FIXME: convert these to a single multiple-outputs package?
61
63
@@ -99,6 +101,8 @@ let
99 mv $out/lib/python* $python/lib/
101 mv $out/lib/python* $python/lib/
100 '';
102 '';
101
103
104+ inherit doCheck;
105+
102 meta = apparmor-meta "library";
106 meta = apparmor-meta "library";
103 };
107 };
104
108
@@ -131,6 +135,8 @@ let
131 done
135 done
132 '';
136 '';
133
137
138+ inherit doCheck;
139+
134 meta = apparmor-meta "user-land utilities";
140 meta = apparmor-meta "user-land utilities";
135 };
141 };
136
142
@@ -154,6 +160,8 @@ let
154 makeFlags = ''LANGS= USE_SYSTEM=1'';
160 makeFlags = ''LANGS= USE_SYSTEM=1'';
155 installFlags = ''DESTDIR=$(out) BINDIR=$(out)/bin'';
161 installFlags = ''DESTDIR=$(out) BINDIR=$(out)/bin'';
156
162
163+ inherit doCheck;
164+
157 meta = apparmor-meta "binary user-land utilities";
165 meta = apparmor-meta "binary user-land utilities";
158 };
166 };
159
167
@@ -177,6 +185,8 @@ let
177 makeFlags = ''LANGS= USE_SYSTEM=1 INCLUDEDIR=${libapparmor}/include'';
185 makeFlags = ''LANGS= USE_SYSTEM=1 INCLUDEDIR=${libapparmor}/include'';
178 installFlags = ''DESTDIR=$(out) DISTRO=unknown'';
186 installFlags = ''DESTDIR=$(out) DISTRO=unknown'';
179
187
188+ inherit doCheck;
189+
180 meta = apparmor-meta "rule parser";
190 meta = apparmor-meta "rule parser";
181 };
191 };
182
192
@@ -192,6 +202,8 @@ let
192 makeFlags = ''USE_SYSTEM=1'';
202 makeFlags = ''USE_SYSTEM=1'';
193 installFlags = ''DESTDIR=$(out)'';
203 installFlags = ''DESTDIR=$(out)'';
194
204
205+ inherit doCheck;
206+
195 meta = apparmor-meta "PAM service";
207 meta = apparmor-meta "PAM service";
196 };
208 };
197
209
@@ -204,6 +216,8 @@ let
204 postPatch = "cd ./profiles";
216 postPatch = "cd ./profiles";
205 installFlags = ''DESTDIR=$(out) EXTRAS_DEST=$(out)/share/apparmor/extra-profiles'';
217 installFlags = ''DESTDIR=$(out) EXTRAS_DEST=$(out)/share/apparmor/extra-profiles'';
206
218
219+ inherit doCheck;
220+
207 meta = apparmor-meta "profiles";
221 meta = apparmor-meta "profiles";
208 };
222 };
209
223
@@ -218,6 +232,8 @@ let
218 cp -R ./kernel-patches/* "$out"
232 cp -R ./kernel-patches/* "$out"
219 '';
233 '';
220
234
235+ inherit doCheck;
236+
221 meta = apparmor-meta "kernel patches";
237 meta = apparmor-meta "kernel patches";
222 };
238 };
223
239
pkgs/os-specific/linux/busybox/default.nix+2
@@ -98,6 +98,8 @@ stdenv.mkDerivation rec {
98
98
99 enableParallelBuilding = true;
99 enableParallelBuilding = true;
100
100
101+ doCheck = false; # tries to access the net
102+
101 meta = with stdenv.lib; {
103 meta = with stdenv.lib; {
102 description = "Tiny versions of common UNIX utilities in a single small executable";
104 description = "Tiny versions of common UNIX utilities in a single small executable";
103 homepage = https://busybox.net/;
105 homepage = https://busybox.net/;
pkgs/os-specific/linux/hwdata/default.nix+2
@@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
13
13
14 configureFlags = "--datadir=$(prefix)/data";
14 configureFlags = "--datadir=$(prefix)/data";
15
15
16+ doCheck = false; # this does build machine-specific checks (e.g. enumerates PCI bus)
17+
16 meta = {
18 meta = {
17 homepage = https://github.com/vcrhonek/hwdata;
19 homepage = https://github.com/vcrhonek/hwdata;
18 description = "Hardware Database, including Monitors, pci.ids, usb.ids, and video cards";
20 description = "Hardware Database, including Monitors, pci.ids, usb.ids, and video cards";
pkgs/os-specific/linux/kernel/perf.nix+3
@@ -53,6 +53,9 @@ stdenv.mkDerivation {
53 "-Wno-error=unused-const-variable" "-Wno-error=misleading-indentation"
53 "-Wno-error=unused-const-variable" "-Wno-error=misleading-indentation"
54 ];
54 ];
55
55
56+ doCheck = false; # requires "sparse"
57+ doInstallCheck = false; # same
58+
56 separateDebugInfo = true;
59 separateDebugInfo = true;
57 installFlags = "install install-man ASCIIDOC8=1 prefix=$(out)";
60 installFlags = "install install-man ASCIIDOC8=1 prefix=$(out)";
58
61
pkgs/os-specific/linux/kexectools/default.nix+2−2
@@ -2,14 +2,14 @@
2
2
3stdenv.mkDerivation rec {
3stdenv.mkDerivation rec {
4 name = "kexec-tools-${version}";
4 name = "kexec-tools-${version}";
5− version = "2.0.16";
5+ version = "2.0.17";
6
6
7 src = fetchurl {
7 src = fetchurl {
8 urls = [
8 urls = [
9 "mirror://kernel/linux/utils/kernel/kexec/${name}.tar.xz"
9 "mirror://kernel/linux/utils/kernel/kexec/${name}.tar.xz"
10 "http://horms.net/projects/kexec/kexec-tools/${name}.tar.xz"
10 "http://horms.net/projects/kexec/kexec-tools/${name}.tar.xz"
11 ];
11 ];
12− sha256 = "043hasx5b9zk7r7dzx24z5wybg74dpmh0nyns6nrnb3mmm8k642v";
12+ sha256 = "1ac20jws8iys9w6dpn4q3hihyx73zkabdwv3gcb779cxfrmq2k2h";
13 };
13 };
14
14
15 hardeningDisable = [ "format" "pic" "relro" ];
15 hardeningDisable = [ "format" "pic" "relro" ];
pkgs/os-specific/linux/libcap-ng/default.nix+2−2
@@ -6,11 +6,11 @@ stdenv.mkDerivation rec {
6 name = "libcap-ng-${version}";
6 name = "libcap-ng-${version}";
7 # When updating make sure to test that the version with
7 # When updating make sure to test that the version with
8 # all of the python bindings still works
8 # all of the python bindings still works
9− version = "0.7.8";
9+ version = "0.7.9";
10
10
11 src = fetchurl {
11 src = fetchurl {
12 url = "${meta.homepage}/${name}.tar.gz";
12 url = "${meta.homepage}/${name}.tar.gz";
13− sha256 = "0pyhjxgsph3p28ayk4ynxab6wvzaqmazk1nkamx11m2w8jbzj6n2";
13+ sha256 = "0a0k484kwv0zilry2mbl9k56cnpdhsjxdxin17jas6kkyfy345aa";
14 };
14 };
15
15
16 nativeBuildInputs = [ swig ];
16 nativeBuildInputs = [ swig ];
pkgs/os-specific/linux/libnl/default.nix+24−6
@@ -1,17 +1,18 @@
1−{ stdenv, lib, fetchFromGitHub, fetchpatch, autoreconfHook, bison, flex, pkgconfig }:
1+{ stdenv, file, lib, fetchFromGitHub, fetchpatch, autoreconfHook, bison, flex, pkgconfig
2+, pythonSupport ? true, swig ? null, python}:
2
3
3−let version = "3.3.0"; in
4−stdenv.mkDerivation {
4+stdenv.mkDerivation rec {
5 name = "libnl-${version}";
5 name = "libnl-${version}";
6+ version = "3.4.0";
6
7
7 src = fetchFromGitHub {
8 src = fetchFromGitHub {
8 repo = "libnl";
9 repo = "libnl";
9 owner = "thom311";
10 owner = "thom311";
10 rev = "libnl${lib.replaceStrings ["."] ["_"] version}";
11 rev = "libnl${lib.replaceStrings ["."] ["_"] version}";
11− sha256 = "1796kyq2lkhz2802v9kp32vlxf8ynlyqgyw9nhmry3qh5d0ahcsv";
12+ sha256 = "1bqf1f5glwf285sa98k5pkj9gg79lliixk1jk85j63v5510fbagp";
12 };
13 };
13
14
14− outputs = [ "bin" "dev" "out" "man" ];
15+ outputs = [ "bin" "dev" "out" "man" ] ++ lib.optional pythonSupport "py";
15
16
16 patches = stdenv.lib.optional stdenv.hostPlatform.isMusl
17 patches = stdenv.lib.optional stdenv.hostPlatform.isMusl
17 (fetchpatch {
18 (fetchpatch {
@@ -19,7 +20,24 @@ stdenv.mkDerivation {
19 sha256 = "0dd7xxikib201i99k2if066hh7gwf2i4ffckrjplq6lr206jn00r";
20 sha256 = "0dd7xxikib201i99k2if066hh7gwf2i4ffckrjplq6lr206jn00r";
20 });
21 });
21
22
23+ enableParallelBuilding = true;
24+
22− nativeBuildInputs = [ autoreconfHook bison flex pkgconfig ];
25+ nativeBuildInputs = [ autoreconfHook bison flex pkgconfig file ]
26+ ++ lib.optional pythonSupport swig;
27+
28+ postBuild = lib.optionalString (pythonSupport) ''
29+ cd python
30+ ${python}/bin/python setup.py install --prefix=../pythonlib
31+ cd -
32+ '';
33+
34+ postFixup = lib.optionalString pythonSupport ''
35+ mv "pythonlib/" "$py"
36+ '';
37+
38+ passthru = {
39+ inherit pythonSupport;
40+ };
23
41
24 meta = with lib; {
42 meta = with lib; {
25 inherit version;
43 inherit version;
pkgs/os-specific/linux/lvm2/default.nix+2
@@ -59,6 +59,8 @@ stdenv.mkDerivation {
59 })
59 })
60 ];
60 ];
61
61
62+ doCheck = false; # requires root
63+
62 # To prevent make install from failing.
64 # To prevent make install from failing.
63 preInstall = "installFlags=\"OWNER= GROUP= confdir=$out/etc\"";
65 preInstall = "installFlags=\"OWNER= GROUP= confdir=$out/etc\"";
64
66
pkgs/os-specific/linux/mmc-utils/default.nix+2
@@ -10,6 +10,8 @@ stdenv.mkDerivation rec {
10 sha256 = "0hkdzc71pdnscbpdpgwljcchiyancarldjyd0w609sy18bky833x";
10 sha256 = "0hkdzc71pdnscbpdpgwljcchiyancarldjyd0w609sy18bky833x";
11 };
11 };
12
12
13+ makeFlags = "CC=${stdenv.cc.targetPrefix}cc";
14+
13 installPhase = ''
15 installPhase = ''
14 make install prefix=$out
16 make install prefix=$out
15 mkdir -p $out/share/man/man1
17 mkdir -p $out/share/man/man1
pkgs/os-specific/linux/musl/fts-setup-hook.sh+3−16
@@ -1,17 +1,4 @@
1−ftsLdflags() {
1+# See pkgs/build-support/setup-hooks/role.bash
2− # The `depHostOffset` describes how the host platform of the dependencies
2+getHostRole
3− # are slid relative to the depending package. It is brought into scope of
4− # the environment hook defined as the role of the dependency being applied.
5− case $depHostOffset in
6− -1) local role='BUILD_' ;;
7− 0) local role='' ;;
8− 1) local role='TARGET_' ;;
9− *) echo "cc-wrapper: Error: Cannot be used with $depHostOffset-offset deps" >2;
10− return 1 ;;
11− esac
12−
13− export NIX_${role}LDFLAGS+=" -lfts"
14−}
15−
16−addEnvHooks "$hostOffset" ftsLdflags
17
3
4+export NIX_${role_pre}LDFLAGS+=" -lfts"
pkgs/os-specific/linux/musl/fts.nix+4−1
@@ -12,5 +12,8 @@ stdenv.mkDerivation rec {
12
12
13 nativeBuildInputs = [ autoreconfHook pkgconfig ];
13 nativeBuildInputs = [ autoreconfHook pkgconfig ];
14
14
15+ setupHooks = [
16+ ../../../build-support/setup-hooks/role.bash
15− setupHook = ./fts-setup-hook.sh;
17+ ./fts-setup-hook.sh
18+ ];
16}
19}
pkgs/os-specific/linux/net-tools/default.nix+2
@@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
15 '';
15 '';
16
16
17 makeFlags = [
17 makeFlags = [
18+ "CC=${stdenv.cc.targetPrefix}cc"
19+ "AR=${stdenv.cc.targetPrefix}ar"
18 "BASEDIR=$(out)"
20 "BASEDIR=$(out)"
19 "mandir=/share/man"
21 "mandir=/share/man"
20 "HAVE_ARP_TOOLS=1"
22 "HAVE_ARP_TOOLS=1"
pkgs/os-specific/linux/nfs-utils/default.nix+13−1
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, lib, pkgconfig, utillinux, libcap, libtirpc, libevent, libnfsidmap
1+{ stdenv, fetchurl, fetchpatch, lib, pkgconfig, utillinux, libcap, libtirpc, libevent, libnfsidmap
2, sqlite, kerberos, kmod, libuuid, keyutils, lvm2, systemd, coreutils, tcp_wrappers
2, sqlite, kerberos, kmod, libuuid, keyutils, lvm2, systemd, coreutils, tcp_wrappers
3, buildEnv
3, buildEnv
4}:
4}:
@@ -39,6 +39,18 @@ in stdenv.mkDerivation rec {
39 ]
39 ]
40 ++ lib.optional (stdenv ? glibc) "--with-rpcgen=${stdenv.glibc.bin}/bin/rpcgen";
40 ++ lib.optional (stdenv ? glibc) "--with-rpcgen=${stdenv.glibc.bin}/bin/rpcgen";
41
41
42+ patches = lib.optionals stdenv.hostPlatform.isMusl [
43+ (fetchpatch {
44+ url = "https://raw.githubusercontent.com/alpinelinux/aports/cb880042d48d77af412d4688f24b8310ae44f55f/main/nfs-utils/0011-exportfs-only-do-glibc-specific-hackery-on-glibc.patch";
45+ sha256 = "0rrddrykz8prk0dcgfvmnz0vxn09dbgq8cb098yjjg19zz6d7vid";
46+ })
47+ # http://openwall.com/lists/musl/2015/08/18/10
48+ (fetchpatch {
49+ url = "https://raw.githubusercontent.com/alpinelinux/aports/cb880042d48d77af412d4688f24b8310ae44f55f/main/nfs-utils/musl-getservbyport.patch";
50+ sha256 = "1fqws9dz8n1d9a418c54r11y3w330qgy2652dpwcy96cm44sqyhf";
51+ })
52+ ];
53+
42 postPatch =
54 postPatch =
43 ''
55 ''
44 patchShebangs tests
56 patchShebangs tests
pkgs/os-specific/linux/pam/default.nix+8−5
@@ -1,4 +1,4 @@
1−{ stdenv, buildPackages, hostPlatform, fetchurl, fetchpatch, flex, cracklib }:
1+{ stdenv, buildPackages, hostPlatform, fetchurl, fetchpatch, flex, cracklib, db4 }:
2
2
3stdenv.mkDerivation rec {
3stdenv.mkDerivation rec {
4 name = "linux-pam-${version}";
4 name = "linux-pam-${version}";
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
29 depsBuildBuild = [ buildPackages.stdenv.cc ];
29 depsBuildBuild = [ buildPackages.stdenv.cc ];
30 nativeBuildInputs = [ flex ];
30 nativeBuildInputs = [ flex ];
31
31
32− buildInputs = [ cracklib ];
32+ buildInputs = [ cracklib db4 ];
33
33
34 enableParallelBuilding = true;
34 enableParallelBuilding = true;
35
35
@@ -55,9 +55,12 @@ stdenv.mkDerivation rec {
55 sed -e 's/pam_rhosts//g' -i modules/Makefile.in
55 sed -e 's/pam_rhosts//g' -i modules/Makefile.in
56 '';
56 '';
57
57
58− meta = {
58+ doCheck = false; # fails
59+
60+ meta = with stdenv.lib; {
59− homepage = http://ftp.kernel.org/pub/linux/libs/pam/;
61+ homepage = http://www.linux-pam.org/;
60 description = "Pluggable Authentication Modules, a flexible mechanism for authenticating user";
62 description = "Pluggable Authentication Modules, a flexible mechanism for authenticating user";
61− platforms = stdenv.lib.platforms.linux;
63+ platforms = platforms.linux;
64+ license = licenses.bsd3;
62 };
65 };
63}
66}
pkgs/os-specific/linux/procps-ng/default.nix+7−28
@@ -1,38 +1,17 @@
1−{ lib, stdenv, fetchFromGitLab, fetchpatch, ncurses, libtool, gettext, autoconf, automake, pkgconfig }:
1+{ lib, stdenv, fetchurl, ncurses, pkgconfig }:
2
2
3stdenv.mkDerivation rec {
3stdenv.mkDerivation rec {
4 name = "procps-${version}";
4 name = "procps-${version}";
5− version = "3.3.13";
5+ version = "3.3.14";
6
6
7− src = fetchFromGitLab {
7+ # The project's releases are on SF, but git repo on gitlab.
8− owner ="procps-ng";
8+ src = fetchurl {
9− repo = "procps";
9+ url = "mirror://sourceforge/procps-ng/procps-ng-${version}.tar.xz";
10− rev = "v${version}";
10+ sha256 = "0v3j6rkzzscqds37i105cxx3q4dk04rsgpqfd5p7hzcvk59h5njy";
11− sha256 = "0r3h9adhqi5fi62lx65z839fww35lfh2isnknhkaw71xndjpzr0q";
12 };
11 };
13
12
14 buildInputs = [ ncurses ];
13 buildInputs = [ ncurses ];
15− nativeBuildInputs = [ libtool gettext autoconf automake pkgconfig ];
14+ nativeBuildInputs = [ pkgconfig ];
16−
17− # https://gitlab.com/procps-ng/procps/issues/88
18− # Patches needed for musl and glibc 2.28
19− patches = [
20− (fetchpatch {
21− url = "https://gitlab.com/procps-ng/procps/uploads/f91ff094be1e4638aeffb67bdbb751ba/numa.h.diff";
22− sha256 = "16r537d2wfrvbv6dg9vyfck8n31xa58903mnssw1s4kb5ap83yd5";
23− extraPrefix = "";
24− })
25− (fetchpatch {
26− url = "https://gitlab.com/procps-ng/procps/uploads/6a7bdea4d82ba781451316fda74192ae/libio_detection.diff";
27− sha256 = "0qp0j60kiycjsv213ih10imjirmxz8zja3rk9fq5lr5xf7k2lr3p";
28− })
29− ];
30−
31− # autoreconfHook doesn't quite get, what procps-ng buildprocss does
32− # with po/Makefile.in.in and stuff.
33− preConfigure = ''
34− ./autogen.sh
35− '';
36
15
37 makeFlags = "usrbin_execdir=$(out)/bin";
16 makeFlags = "usrbin_execdir=$(out)/bin";
38
17
pkgs/os-specific/linux/systemd/default.nix+12−12
@@ -1,7 +1,7 @@
1{ stdenv, fetchFromGitHub, fetchpatch, pkgconfig, intltool, gperf, libcap, kmod
1{ stdenv, fetchFromGitHub, fetchpatch, pkgconfig, intltool, gperf, libcap, kmod
2, zlib, xz, pam, acl, cryptsetup, libuuid, m4, utillinux, libffi
2, zlib, xz, pam, acl, cryptsetup, libuuid, m4, utillinux, libffi
3, glib, kbd, libxslt, coreutils, libgcrypt, libgpgerror, libidn2, libapparmor
3, glib, kbd, libxslt, coreutils, libgcrypt, libgpgerror, libidn2, libapparmor
4−, audit, lz4, bzip2, libmicrohttpd
4+, audit, lz4, bzip2, libmicrohttpd, pcre2
5, linuxHeaders ? stdenv.cc.libc.linuxHeaders
5, linuxHeaders ? stdenv.cc.libc.linuxHeaders
6, iptables, gnu-efi
6, iptables, gnu-efi
7, autoreconfHook, gettext, docbook_xsl, docbook_xml_dtd_42, docbook_xml_dtd_45
7, autoreconfHook, gettext, docbook_xsl, docbook_xml_dtd_42, docbook_xml_dtd_45
@@ -43,7 +43,7 @@ in stdenv.mkDerivation rec {
43 buildInputs =
43 buildInputs =
44 [ linuxHeaders libcap kmod xz pam acl
44 [ linuxHeaders libcap kmod xz pam acl
45 /* cryptsetup */ libuuid glib libgcrypt libgpgerror libidn2
45 /* cryptsetup */ libuuid glib libgcrypt libgpgerror libidn2
46− libmicrohttpd ] ++
46+ libmicrohttpd pcre2 ] ++
47 stdenv.lib.optional withKexectools kexectools ++
47 stdenv.lib.optional withKexectools kexectools ++
48 stdenv.lib.optional withLibseccomp libseccomp ++
48 stdenv.lib.optional withLibseccomp libseccomp ++
49 [ libffi audit lz4 bzip2 libapparmor
49 [ libffi audit lz4 bzip2 libapparmor
@@ -101,20 +101,10 @@ in stdenv.mkDerivation rec {
101 mesonFlagsArray+=(-Ddbussystemservicedir=$out/share/dbus-1/system-services)
101 mesonFlagsArray+=(-Ddbussystemservicedir=$out/share/dbus-1/system-services)
102 mesonFlagsArray+=(-Dpamconfdir=$out/etc/pam.d)
102 mesonFlagsArray+=(-Dpamconfdir=$out/etc/pam.d)
103 mesonFlagsArray+=(-Drootprefix=$out)
103 mesonFlagsArray+=(-Drootprefix=$out)
104− mesonFlagsArray+=(-Dlibdir=$lib/lib)
105 mesonFlagsArray+=(-Drootlibdir=$lib/lib)
104 mesonFlagsArray+=(-Drootlibdir=$lib/lib)
106− mesonFlagsArray+=(-Dmandir=$man/lib)
107− mesonFlagsArray+=(-Dincludedir=$dev/include)
108 mesonFlagsArray+=(-Dpkgconfiglibdir=$dev/lib/pkgconfig)
105 mesonFlagsArray+=(-Dpkgconfiglibdir=$dev/lib/pkgconfig)
109 mesonFlagsArray+=(-Dpkgconfigdatadir=$dev/share/pkgconfig)
106 mesonFlagsArray+=(-Dpkgconfigdatadir=$dev/share/pkgconfig)
110
107
111− # FIXME: Why aren't includedir and libdir picked up from mesonFlags while other options are?
112− substituteInPlace meson.build \
113− --replace "includedir = join_paths(prefixdir, get_option('includedir'))" \
114− "includedir = '$dev/include'" \
115− --replace "libdir = join_paths(prefixdir, get_option('libdir'))" \
116− "libdir = '$lib/lib'"
117−
118 export LC_ALL="en_US.UTF-8";
108 export LC_ALL="en_US.UTF-8";
119 # FIXME: patch this in systemd properly (and send upstream).
109 # FIXME: patch this in systemd properly (and send upstream).
120 # already fixed in f00929ad622c978f8ad83590a15a765b4beecac9: (u)mount
110 # already fixed in f00929ad622c978f8ad83590a15a765b4beecac9: (u)mount
@@ -155,6 +145,14 @@ in stdenv.mkDerivation rec {
155 --replace "SYSTEMD_CGROUP_AGENT_PATH" "_SYSTEMD_CGROUP_AGENT_PATH"
145 --replace "SYSTEMD_CGROUP_AGENT_PATH" "_SYSTEMD_CGROUP_AGENT_PATH"
156 '';
146 '';
157
147
148+ patches = [
149+ # https://github.com/systemd/systemd/pull/8580
150+ (fetchpatch {
151+ url = https://github.com/systemd/systemd/pull/8580.patch;
152+ sha256 = "1yp07hlpgqq0h2y0qc3kasswzkycz6p8d56d695ck1qa2f5bdfgn";
153+ })
154+ ];
155+
158 hardeningDisable = [ "stackprotector" ];
156 hardeningDisable = [ "stackprotector" ];
159
157
160 NIX_CFLAGS_COMPILE =
158 NIX_CFLAGS_COMPILE =
@@ -170,6 +168,8 @@ in stdenv.mkDerivation rec {
170 "-USYSTEMD_BINARY_PATH" "-DSYSTEMD_BINARY_PATH=\"/run/current-system/systemd/lib/systemd/systemd\""
168 "-USYSTEMD_BINARY_PATH" "-DSYSTEMD_BINARY_PATH=\"/run/current-system/systemd/lib/systemd/systemd\""
171 ];
169 ];
172
170
171+ doCheck = false; # fails a bunch of tests
172+
173 postInstall = ''
173 postInstall = ''
174 # sysinit.target: Don't depend on
174 # sysinit.target: Don't depend on
175 # systemd-tmpfiles-setup.service. This interferes with NixOps's
175 # systemd-tmpfiles-setup.service. This interferes with NixOps's
pkgs/os-specific/linux/tcp-wrappers/cdecls.patchnew file+31
@@ -0,0 +1,31 @@
1+__BEGIN_DECLS/__END_DECLS are BSD specific and not defined in musl
2+glibc and uclibc had sys/cdefs.h doing it.
3+
4+Upstream-Status: Pending
5+Signed-off-by: Khem Raj <raj.khem@gmail.com>
6+
7+Index: tcp_wrappers_7.6/tcpd.h
8+===================================================================
9+--- tcp_wrappers_7.6.orig/tcpd.h
10++++ tcp_wrappers_7.6/tcpd.h
11+@@ -11,7 +11,9 @@
12+ #include <netinet/in.h>
13+ #include <stdio.h>
14+
15+-__BEGIN_DECLS
16++#ifdef __cplusplus
17++extern "C" {
18++#endif
19+
20+ /* Structure to describe one communications endpoint. */
21+
22+@@ -252,6 +254,8 @@ extern char *fix_strtok();
23+ extern char *my_strtok();
24+ #endif
25+
26+-__END_DECLS
27++#ifdef __cplusplus
28++}
29++#endif
30+
31+ #endif
pkgs/os-specific/linux/tcp-wrappers/default.nix+12−1
@@ -20,11 +20,22 @@ in stdenv.mkDerivation rec {
20 prePatch = ''
20 prePatch = ''
21 tar -xaf $debian
21 tar -xaf $debian
22 patches="$(cat debian/patches/series | sed 's,^,debian/patches/,') $patches"
22 patches="$(cat debian/patches/series | sed 's,^,debian/patches/,') $patches"
23+
24+ substituteInPlace Makefile --replace STRINGS STRINGDEFS
25+ substituteInPlace debian/patches/13_shlib_weaksym --replace STRINGS STRINGDEFS
26+ '';
27+
28+ # Fix __BEGIN_DECLS usage (even if it wasn't non-standard, this doesn't include sys/cdefs.h)
29+ patches = [ ./cdecls.patch ];
30+
31+ postPatch = stdenv.lib.optionalString stdenv.hostPlatform.isMusl ''
32+ substituteInPlace Makefile \
33+ --replace '-DNETGROUP' '-DUSE_GETDOMAIN'
23 '';
34 '';
24
35
25 buildInputs = [ libnsl ];
36 buildInputs = [ libnsl ];
26
37
27− makeFlags = [ "STRINGS=" "REAL_DAEMON_DIR=$(out)/bin" "linux" ];
38+ makeFlags = [ "REAL_DAEMON_DIR=$(out)/bin" "linux" "AR:=$(AR)" ];
28
39
29 installPhase = ''
40 installPhase = ''
30 mkdir -p "$out/bin"
41 mkdir -p "$out/bin"
pkgs/os-specific/linux/tcp-wrappers/tcp-wrappers-7.6-headers.patchnew file+295
@@ -0,0 +1,295 @@
1+--- a/options.c
2++++ b/options.c
3+@@ -34,6 +34,8 @@
4+
5+ /* System libraries. */
6+
7++#include <unistd.h>
8++#include <stdlib.h>
9+ #include <sys/types.h>
10+ #include <sys/param.h>
11+ #include <sys/socket.h>
12+--- a/safe_finger.c
13++++ b/safe_finger.c
14+@@ -20,6 +20,11 @@
15+
16+ /* System libraries */
17+
18++#include <unistd.h>
19++#include <fcntl.h>
20++#include <stdlib.h>
21++#include <sys/wait.h>
22++#include <grp.h>
23+ #include <sys/types.h>
24+ #include <sys/stat.h>
25+ #include <signal.h>
26+@@ -27,7 +31,7 @@
27+ #include <ctype.h>
28+ #include <pwd.h>
29+
30+-extern void exit();
31++int pipe_stdin(char **argv);
32+
33+ /* Local stuff */
34+
35+--- a/scaffold.c
36++++ b/scaffold.c
37+@@ -10,6 +10,7 @@
38+
39+ /* System libraries. */
40+
41++#include <stdlib.h>
42+ #include <sys/types.h>
43+ #include <sys/stat.h>
44+ #include <sys/socket.h>
45+@@ -27,7 +27,4 @@
46+ #endif
47+
48+-#ifndef INET6
49+-extern char *malloc();
50+-#endif
51+
52+ /* Application-specific. */
53+--- a/shell_cmd.c
54++++ b/shell_cmd.c
55+@@ -14,6 +14,10 @@
56+
57+ /* System libraries. */
58+
59++#include <unistd.h>
60++#include <stdlib.h>
61++#include <fcntl.h>
62++#include <sys/wait.h>
63+ #include <sys/types.h>
64+ #include <sys/param.h>
65+ #include <signal.h>
66+@@ -25,8 +25,6 @@
67+ #include <syslog.h>
68+ #include <string.h>
69+
70+-extern void exit();
71+-
72+ /* Local stuff. */
73+
74+ #include "tcpd.h"
75+--- a/tcpdchk.c
76++++ b/tcpdchk.c
77+@@ -20,6 +20,8 @@
78+
79+ /* System libraries. */
80+
81++#include <unistd.h>
82++#include <stdlib.h>
83+ #include <sys/types.h>
84+ #include <sys/stat.h>
85+ #ifdef INET6
86+@@ -35,10 +36,7 @@
87+ #include <netdb.h>
88+ #include <string.h>
89+
90+-extern int errno;
91+-extern void exit();
92+-extern int optind;
93+-extern char *optarg;
94++int cidr_mask_addr(char *str);
95+
96+ #ifndef INADDR_NONE
97+ #define INADDR_NONE (-1) /* XXX should be 0xffffffff */
98+--- a/clean_exit.c
99++++ b/clean_exit.c
100+@@ -13,8 +13,8 @@
101+ #endif
102+
103+ #include <stdio.h>
104+-
105+-extern void exit();
106++#include <unistd.h>
107++#include <stdlib.h>
108+
109+ #include "tcpd.h"
110+
111+--- a/hosts_access.c
112++++ b/hosts_access.c
113+@@ -23,6 +23,7 @@
114+
115+ /* System libraries. */
116+
117++#include <stdlib.h>
118+ #include <sys/types.h>
119+ #ifdef INT32_T
120+ typedef uint32_t u_int32_t;
121+@@ -43,8 +44,8 @@
122+ #include <netdb.h>
123+ #endif
124+
125+-extern char *fgets();
126+-extern int errno;
127++static int match_pattern_ylo(const char *s, const char *pattern);
128++int cidr_mask_addr(char *str);
129+
130+ #ifndef INADDR_NONE
131+ #define INADDR_NONE (-1) /* XXX should be 0xffffffff */
132+--- a/inetcf.c
133++++ b/inetcf.c
134+@@ -9,15 +9,14 @@
135+ static char sccsid[] = "@(#) inetcf.c 1.7 97/02/12 02:13:23";
136+ #endif
137+
138++#include <stdlib.h>
139+ #include <sys/types.h>
140+ #include <sys/stat.h>
141+ #include <stdio.h>
142+ #include <errno.h>
143+ #include <string.h>
144+
145+-extern int errno;
146+-extern void exit();
147+-
148++#include "scaffold.h"
149+ #include "tcpd.h"
150+ #include "inetcf.h"
151+
152+--- a/percent_x.c
153++++ b/percent_x.c
154+@@ -16,12 +16,12 @@
155+
156+ /* System libraries. */
157+
158++#include <unistd.h>
159++#include <stdlib.h>
160+ #include <stdio.h>
161+ #include <syslog.h>
162+ #include <string.h>
163+
164+-extern void exit();
165+-
166+ /* Local stuff. */
167+
168+ #include "tcpd.h"
169+--- a/rfc931.c
170++++ b/rfc931.c
171+@@ -15,6 +15,7 @@
172+
173+ /* System libraries. */
174+
175++#include <unistd.h>
176+ #include <stdio.h>
177+ #include <syslog.h>
178+ #include <sys/types.h>
179+--- a/tcpd.c
180++++ b/tcpd.c
181+@@ -16,6 +16,7 @@
182+
183+ /* System libraries. */
184+
185++#include <unistd.h>
186+ #include <sys/types.h>
187+ #include <sys/param.h>
188+ #include <sys/stat.h>
189+@@ -39,6 +39,8 @@
190+ #include "patchlevel.h"
191+ #include "tcpd.h"
192+
193++void fix_options(struct request_info *request);
194++
195+ int allow_severity = SEVERITY; /* run-time adjustable */
196+ int deny_severity = LOG_WARNING; /* ditto */
197+
198+--- a/tcpdmatch.c
199++++ b/tcpdmatch.c
200+@@ -19,6 +19,8 @@
201+
202+ /* System libraries. */
203+
204++#include <unistd.h>
205++#include <stdlib.h>
206+ #include <sys/types.h>
207+ #include <sys/stat.h>
208+ #include <sys/socket.h>
209+@@ -30,9 +32,6 @@
210+ #include <setjmp.h>
211+ #include <string.h>
212+
213+-extern void exit();
214+-extern int optind;
215+-extern char *optarg;
216+
217+ #ifndef INADDR_NONE
218+ #define INADDR_NONE (-1) /* XXX should be 0xffffffff */
219+--- a/update.c
220++++ b/update.c
221+@@ -19,6 +19,7 @@
222+
223+ /* System libraries */
224+
225++#include <unistd.h>
226+ #include <stdio.h>
227+ #include <syslog.h>
228+ #include <string.h>
229+--- a/misc.c
230++++ b/misc.c
231+@@ -14,11 +14,10 @@
232+ #include <arpa/inet.h>
233+ #include <stdio.h>
234+ #include <string.h>
235++#include <stdlib.h>
236+
237+ #include "tcpd.h"
238+
239+-extern char *fgets();
240+-
241+ #ifndef INADDR_NONE
242+ #define INADDR_NONE (-1) /* XXX should be 0xffffffff */
243+ #endif
244+--- a/fix_options.c
245++++ b/fix_options.c
246+@@ -32,6 +32,7 @@
247+
248+ /* fix_options - get rid of IP-level socket options */
249+
250++void
251+ fix_options(request)
252+ struct request_info *request;
253+ {
254+@@ -38,11 +38,8 @@
255+ #ifdef IP_OPTIONS
256+ unsigned char optbuf[BUFFER_SIZE / 3], *cp;
257+ char lbuf[BUFFER_SIZE], *lp;
258+-#ifdef __GLIBC__
259+- size_t optsize = sizeof(optbuf), ipproto;
260+-#else
261+- int optsize = sizeof(optbuf), ipproto;
262+-#endif
263++ socklen_t optsize = sizeof(optbuf);
264++ int ipproto;
265+ struct protoent *ip;
266+ int fd = request->fd;
267+ unsigned int opt;
268+--- a/socket.c
269++++ b/socket.c
270+@@ -95,11 +95,7 @@
271+ static struct sockaddr_in client;
272+ static struct sockaddr_in server;
273+ #endif
274+-#ifdef __GLIBC__
275+- size_t len;
276+-#else
277+- int len;
278+-#endif
279++ socklen_t len;
280+ char buf[BUFSIZ];
281+ int fd = request->fd;
282+
283+@@ -430,11 +426,7 @@
284+ #else
285+ struct sockaddr_in sin;
286+ #endif
287+-#ifdef __GLIBC__
288+- size_t size = sizeof(sin);
289+-#else
290+- int size = sizeof(sin);
291+-#endif
292++ socklen_t size;
293+
294+ /*
295+ * Eat up the not-yet received datagram. Some systems insist on a
pkgs/os-specific/linux/udisks/2-default.nix+2
@@ -48,6 +48,8 @@ stdenv.mkDerivation rec {
48 "INTROSPECTION_TYPELIBDIR=$(out)/lib/girepository-1.0"
48 "INTROSPECTION_TYPELIBDIR=$(out)/lib/girepository-1.0"
49 ];
49 ];
50
50
51+ doCheck = false; # fails
52+
51 meta = {
53 meta = {
52 homepage = http://www.freedesktop.org/wiki/Software/udisks;
54 homepage = http://www.freedesktop.org/wiki/Software/udisks;
53 description = "A daemon and command-line utility for querying and manipulating storage devices";
55 description = "A daemon and command-line utility for querying and manipulating storage devices";
pkgs/os-specific/linux/upower/default.nix+2
@@ -28,6 +28,8 @@ stdenv.mkDerivation rec {
28
28
29 NIX_CFLAGS_LINK = "-lgcc_s";
29 NIX_CFLAGS_LINK = "-lgcc_s";
30
30
31+ doCheck = false; # fails with "env: './linux/integration-test': No such file or directory"
32+
31 installFlags = "historydir=$(TMPDIR)/foo";
33 installFlags = "historydir=$(TMPDIR)/foo";
32
34
33 meta = {
35 meta = {
pkgs/os-specific/linux/util-linux/default.nix+3−3
@@ -4,15 +4,15 @@
4let
4let
5 version = lib.concatStringsSep "." ([ majorVersion ]
5 version = lib.concatStringsSep "." ([ majorVersion ]
6 ++ lib.optional (patchVersion != "") patchVersion);
6 ++ lib.optional (patchVersion != "") patchVersion);
7− majorVersion = "2.31";
7+ majorVersion = "2.32";
8− patchVersion = "1";
8+ patchVersion = "";
9
9
10in stdenv.mkDerivation rec {
10in stdenv.mkDerivation rec {
11 name = "util-linux-${version}";
11 name = "util-linux-${version}";
12
12
13 src = fetchurl {
13 src = fetchurl {
14 url = "mirror://kernel/linux/utils/util-linux/v${majorVersion}/${name}.tar.xz";
14 url = "mirror://kernel/linux/utils/util-linux/v${majorVersion}/${name}.tar.xz";
15− sha256 = "04fzrnrr3pvqskvjn9f81y0knh0jvvqx4lmbz5pd4lfdm5pv2l8s";
15+ sha256 = "0d2758kjll5xqm5fpp3sww1h66aahx161sf2b60jxqv4qymrfwvc";
16 };
16 };
17
17
18 patches = [
18 patches = [
pkgs/os-specific/linux/v4l-utils/default.nix+2−2
@@ -8,11 +8,11 @@
8
8
9stdenv.mkDerivation rec {
9stdenv.mkDerivation rec {
10 name = "v4l-utils-${version}";
10 name = "v4l-utils-${version}";
11− version = "1.12.3";
11+ version = "1.14.2";
12
12
13 src = fetchurl {
13 src = fetchurl {
14 url = "http://linuxtv.org/downloads/v4l-utils/${name}.tar.bz2";
14 url = "http://linuxtv.org/downloads/v4l-utils/${name}.tar.bz2";
15− sha256 = "0vpl3jl0x441y7b5cn7zhdsyi954hp9h2p30jhnr1zkx1rpxsiss";
15+ sha256 = "14h6d2p3n4jmxhd8i0p1m5dbwz5vnpb3z88xqd9ghg15n7265fg6";
16 };
16 };
17
17
18 outputs = [ "out" "dev" ];
18 outputs = [ "out" "dev" ];
pkgs/servers/amqp/rabbitmq-server/default.nix+2−8
@@ -1,17 +1,11 @@
1{ stdenv, fetchurl, runCommand
1{ stdenv, fetchurl, runCommand
2, erlang, python, libxml2, libxslt, xmlto
2, erlang, python, libxml2, libxslt, xmlto
3, docbook_xml_dtd_45, docbook_xsl, zip, unzip, rsync
3, docbook_xml_dtd_45, docbook_xsl, zip, unzip, rsync
4−
5, AppKit, Carbon, Cocoa
4, AppKit, Carbon, Cocoa
5+, getconf
6}:
6}:
7
7
8−let
9− # we only need that one glibc binary (28k instead of 2.7M)
10− getconf = runCommand "getconf" {} ''
11− install -D ${stdenv.lib.getBin stdenv.cc.libc}/bin/getconf $out/bin/getconf
12− '';
13−
14−in stdenv.mkDerivation rec {
8+stdenv.mkDerivation rec {
15 name = "rabbitmq-server-${version}";
9 name = "rabbitmq-server-${version}";
16 version = "3.6.15";
10 version = "3.6.15";
17
11
pkgs/servers/dns/bind/default.nix+2
@@ -67,6 +67,8 @@ stdenv.mkDerivation rec {
67 done
67 done
68 '';
68 '';
69
69
70+ doCheck = false; # requires root and the net
71+
70 meta = {
72 meta = {
71 homepage = http://www.isc.org/software/bind;
73 homepage = http://www.isc.org/software/bind;
72 description = "Domain name server";
74 description = "Domain name server";
pkgs/servers/ldap/389/default.nix+3−1
@@ -36,7 +36,9 @@ stdenv.mkDerivation rec {
36 "--sysconfdir=/etc"
36 "--sysconfdir=/etc"
37 "--localstatedir=/var"
37 "--localstatedir=/var"
38 "--with-openldap"
38 "--with-openldap"
39− "--with-db=${db}"
39+ "--with-db"
40+ "--with-db-inc=${db.dev}/include"
41+ "--with-db-lib=${db.out}/lib"
40 "--with-sasl=${cyrus_sasl.dev}"
42 "--with-sasl=${cyrus_sasl.dev}"
41 "--with-netsnmp=${net_snmp}"
43 "--with-netsnmp=${net_snmp}"
42 ];
44 ];
pkgs/servers/monitoring/net-snmp/default.nix+1
@@ -44,6 +44,7 @@ stdenv.mkDerivation rec {
44 buildInputs = [ file perl unzip openssl ];
44 buildInputs = [ file perl unzip openssl ];
45
45
46 enableParallelBuilding = true;
46 enableParallelBuilding = true;
47+ doCheck = false; # fails
47
48
48 postInstall = ''
49 postInstall = ''
49 for f in "$out/lib/"*.la $out/bin/net-snmp-config $out/bin/net-snmp-create-v3-user; do
50 for f in "$out/lib/"*.la $out/bin/net-snmp-config $out/bin/net-snmp-create-v3-user; do
pkgs/servers/sql/mariadb/default.nix+2−2
@@ -167,11 +167,11 @@ everything = stdenv.mkDerivation (common // {
167
167
168connector-c = stdenv.mkDerivation rec {
168connector-c = stdenv.mkDerivation rec {
169 name = "mariadb-connector-c-${version}";
169 name = "mariadb-connector-c-${version}";
170− version = "2.3.4";
170+ version = "2.3.5";
171
171
172 src = fetchurl {
172 src = fetchurl {
173 url = "https://downloads.mariadb.org/interstitial/connector-c-${version}/mariadb-connector-c-${version}-src.tar.gz/from/http%3A//ftp.hosteurope.de/mirror/archive.mariadb.org/?serve";
173 url = "https://downloads.mariadb.org/interstitial/connector-c-${version}/mariadb-connector-c-${version}-src.tar.gz/from/http%3A//ftp.hosteurope.de/mirror/archive.mariadb.org/?serve";
174− sha256 = "1g1sq5knarxkfhpkcczr6qxmq12pid65cdkqnhnfs94av89hbswb";
174+ sha256 = "0vvlfs56hxin130vh8pcs5w7jpv1yc6g76bhpzg88hnp4v1z8frg";
175 name = "mariadb-connector-c-${version}-src.tar.gz";
175 name = "mariadb-connector-c-${version}-src.tar.gz";
176 };
176 };
177
177
pkgs/servers/sql/postgresql/default.nix+2
@@ -75,6 +75,8 @@ let
75 wrapProgram $out/bin/initdb --prefix PATH ":" ${glibc.bin}/bin
75 wrapProgram $out/bin/initdb --prefix PATH ":" ${glibc.bin}/bin
76 '';
76 '';
77
77
78+ doInstallCheck = false; # needs a running daemon?
79+
78 disallowedReferences = [ stdenv.cc ];
80 disallowedReferences = [ stdenv.cc ];
79
81
80 passthru = {
82 passthru = {
pkgs/servers/x11/xorg/default.nix+3−3
@@ -2468,11 +2468,11 @@ let
2468 }) // {inherit inputproto libX11 libXaw xproto libXt ;};
2468 }) // {inherit inputproto libX11 libXaw xproto libXt ;};
2469
2469
2470 xkeyboardconfig = (mkDerivation "xkeyboardconfig" {
2470 xkeyboardconfig = (mkDerivation "xkeyboardconfig" {
2471− name = "xkeyboard-config-2.22";
2471+ name = "xkeyboard-config-2.23.1";
2472 builder = ./builder.sh;
2472 builder = ./builder.sh;
2473 src = fetchurl {
2473 src = fetchurl {
2474− url = mirror://xorg/individual/data/xkeyboard-config/xkeyboard-config-2.22.tar.bz2;
2474+ url = mirror://xorg/individual/data/xkeyboard-config/xkeyboard-config-2.23.1.tar.bz2;
2475− sha256 = "1garmbyfjp0han04l2l90zzwlfbdgdxl6r1qnic36i5wkycckbny";
2475+ sha256 = "1wq27cs1c9y7d1d7zp5yhq29paj9smajdb68lyvm28d2zq2vqjra";
2476 };
2476 };
2477 nativeBuildInputs = [ pkgconfig ];
2477 nativeBuildInputs = [ pkgconfig ];
2478 buildInputs = [ libX11 xproto ];
2478 buildInputs = [ libX11 xproto ];
pkgs/servers/x11/xorg/overrides.nix+23−12
@@ -5,11 +5,9 @@ let
5 inherit (stdenv) lib isDarwin;
5 inherit (stdenv) lib isDarwin;
6 inherit (lib) overrideDerivation;
6 inherit (lib) overrideDerivation;
7
7
8− setMalloc0ReturnsNullCrossCompiling = ''
8+ malloc0ReturnsNullCrossFlag = stdenv.lib.optional
9− if test -n "$crossConfig"; then
9+ (stdenv.hostPlatform != stdenv.buildPlatform)
10− configureFlags="$configureFlags --enable-malloc0returnsnull";
10+ "--enable-malloc0returnsnull";
11− fi
12− '';
13
11
14 gitRelease = { libName, version, rev, sha256 } : attrs : attrs // {
12 gitRelease = { libName, version, rev, sha256 } : attrs : attrs // {
15 name = libName + "-" + version;
13 name = libName + "-" + version;
@@ -101,7 +99,9 @@ in
101
99
102 libX11 = attrs: attrs // {
100 libX11 = attrs: attrs // {
103 outputs = [ "out" "dev" "man" ];
101 outputs = [ "out" "dev" "man" ];
102+ configureFlags = attrs.configureFlags or []
103+ ++ malloc0ReturnsNullCrossFlag;
104− preConfigure = setMalloc0ReturnsNullCrossCompiling + ''
104+ preConfigure = ''
105 sed 's,^as_dummy.*,as_dummy="\$PATH",' -i configure
105 sed 's,^as_dummy.*,as_dummy="\$PATH",' -i configure
106 '';
106 '';
107 postInstall =
107 postInstall =
@@ -138,16 +138,19 @@ in
138
138
139 libXxf86vm = attrs: attrs // {
139 libXxf86vm = attrs: attrs // {
140 outputs = [ "out" "dev" ];
140 outputs = [ "out" "dev" ];
141− preConfigure = setMalloc0ReturnsNullCrossCompiling;
141+ configureFlags = attrs.configureFlags or []
142+ ++ malloc0ReturnsNullCrossFlag;
142 };
143 };
143
144
144 # Propagate some build inputs because of header file dependencies.
145 # Propagate some build inputs because of header file dependencies.
145 # Note: most of these are in Requires.private, so maybe builder.sh
146 # Note: most of these are in Requires.private, so maybe builder.sh
146 # should propagate them automatically.
147 # should propagate them automatically.
147 libXt = attrs: attrs // {
148 libXt = attrs: attrs // {
148− preConfigure = setMalloc0ReturnsNullCrossCompiling + ''
149+ preConfigure = ''
149 sed 's,^as_dummy.*,as_dummy="\$PATH",' -i configure
150 sed 's,^as_dummy.*,as_dummy="\$PATH",' -i configure
150 '';
151 '';
152+ configureFlags = attrs.configureFlags or []
153+ ++ malloc0ReturnsNullCrossFlag;
151 propagatedBuildInputs = [ xorg.libSM ];
154 propagatedBuildInputs = [ xorg.libSM ];
152 CPP = stdenv.lib.optionalString stdenv.isDarwin "clang -E -";
155 CPP = stdenv.lib.optionalString stdenv.isDarwin "clang -E -";
153 outputs = [ "out" "dev" "devdoc" ];
156 outputs = [ "out" "dev" "devdoc" ];
@@ -188,7 +191,8 @@ in
188 libXft = attrs: attrs // {
191 libXft = attrs: attrs // {
189 outputs = [ "out" "dev" ];
192 outputs = [ "out" "dev" ];
190 propagatedBuildInputs = [ xorg.libXrender args.freetype args.fontconfig ];
193 propagatedBuildInputs = [ xorg.libXrender args.freetype args.fontconfig ];
191− preConfigure = setMalloc0ReturnsNullCrossCompiling;
194+ configureFlags = attrs.configureFlags or []
195+ ++ malloc0ReturnsNullCrossFlag;
192 # the include files need ft2build.h, and Requires.private isn't enough for us
196 # the include files need ft2build.h, and Requires.private isn't enough for us
193 postInstall = ''
197 postInstall = ''
194 sed "/^Requires:/s/$/, freetype2/" -i "$dev/lib/pkgconfig/xft.pc"
198 sed "/^Requires:/s/$/, freetype2/" -i "$dev/lib/pkgconfig/xft.pc"
@@ -198,7 +202,8 @@ in
198 libXext = attrs: attrs // {
202 libXext = attrs: attrs // {
199 outputs = [ "out" "dev" "man" "doc" ];
203 outputs = [ "out" "dev" "man" "doc" ];
200 propagatedBuildInputs = [ xorg.xproto xorg.libXau ];
204 propagatedBuildInputs = [ xorg.xproto xorg.libXau ];
201− preConfigure = setMalloc0ReturnsNullCrossCompiling;
205+ configureFlags = attrs.configureFlags or []
206+ ++ malloc0ReturnsNullCrossFlag;
202 };
207 };
203
208
204 libXfixes = attrs: attrs // {
209 libXfixes = attrs: attrs // {
@@ -221,7 +226,8 @@ in
221
226
222 libXrandr = attrs: attrs // {
227 libXrandr = attrs: attrs // {
223 outputs = [ "out" "dev" ];
228 outputs = [ "out" "dev" ];
224− preConfigure = setMalloc0ReturnsNullCrossCompiling;
229+ configureFlags = attrs.configureFlags or []
230+ ++ malloc0ReturnsNullCrossFlag;
225 propagatedBuildInputs = [xorg.libXrender];
231 propagatedBuildInputs = [xorg.libXrender];
226 };
232 };
227
233
@@ -232,8 +238,9 @@ in
232
238
233 libXrender = attrs: attrs // {
239 libXrender = attrs: attrs // {
234 outputs = [ "out" "dev" "doc" ];
240 outputs = [ "out" "dev" "doc" ];
241+ configureFlags = attrs.configureFlags or []
242+ ++ malloc0ReturnsNullCrossFlag;
235 propagatedBuildInputs = [ xorg.renderproto ];
243 propagatedBuildInputs = [ xorg.renderproto ];
236− preConfigure = setMalloc0ReturnsNullCrossCompiling;
237 };
244 };
238
245
239 libXres = attrs: attrs // {
246 libXres = attrs: attrs // {
@@ -596,6 +603,10 @@ in
596 nativeBuildInputs = attrs.nativeBuildInputs ++ [args.bison args.flex];
603 nativeBuildInputs = attrs.nativeBuildInputs ++ [args.bison args.flex];
597 };
604 };
598
605
606+ xauth = attrs: attrs // {
607+ doCheck = false; # fails
608+ };
609+
599 xcursorthemes = attrs: attrs // {
610 xcursorthemes = attrs: attrs // {
600 buildInputs = attrs.buildInputs ++ [xorg.xcursorgen];
611 buildInputs = attrs.buildInputs ++ [xorg.xcursorgen];
601 configureFlags = "--with-cursordir=$(out)/share/icons";
612 configureFlags = "--with-cursordir=$(out)/share/icons";
pkgs/shells/bash/4.4.nix+25−28
@@ -1,37 +1,33 @@
1{ stdenv, buildPackages
1{ stdenv, buildPackages
2−, fetchurl, readline70 ? null, texinfo ? null, binutils ? null, bison, autoconf
2+, fetchurl, binutils ? null, bison, autoconf
3, buildPlatform, hostPlatform
3, buildPlatform, hostPlatform
4+
5+# patch for cygwin requires readline support
4−, interactive ? false
6+, interactive ? stdenv.isCygwin, readline70 ? null
7+, withDocs ? false, texinfo ? null
8+, self
5}:
9}:
6
10
11+with stdenv.lib;
12+
7assert interactive -> readline70 != null;
13assert interactive -> readline70 != null;
14+assert withDocs -> texinfo != null;
8assert hostPlatform.isDarwin -> binutils != null;
15assert hostPlatform.isDarwin -> binutils != null;
9
16
10let
17let
11− version = "4.4";
12− realName = "bash-${version}";
13− shortName = "bash44";
14− sha256 = "1jyz6snd63xjn6skk7za6psgidsd53k05cr3lksqybi0q6936syq";
15−
16− upstreamPatches =
18+ upstreamPatches = import ./bash-4.4-patches.nix (nr: sha256: fetchurl {
17− let
18− patch = nr: sha256:
19− fetchurl {
20− url = "mirror://gnu/bash/${realName}-patches/${shortName}-${nr}";
19+ url = "mirror://gnu/bash/bash-4.4-patches/bash44-${nr}";
21− inherit sha256;
20+ inherit sha256;
22− };
21+ });
23− in
24− import ./bash-4.4-patches.nix patch;
25−
26− inherit (stdenv.lib) optional optionals optionalString;
27in
22in
28
23
29stdenv.mkDerivation rec {
24stdenv.mkDerivation rec {
30− name = "${realName}-p${toString (builtins.length upstreamPatches)}";
25+ name = "bash-${optionalString interactive "interactive-"}${version}-p${toString (builtins.length upstreamPatches)}";
26+ version = "4.4";
31
27
32 src = fetchurl {
28 src = fetchurl {
33− url = "mirror://gnu/bash/${realName}.tar.gz";
29+ url = "mirror://gnu/bash/bash-${version}.tar.gz";
34− inherit sha256;
30+ sha256 = "1jyz6snd63xjn6skk7za6psgidsd53k05cr3lksqybi0q6936syq";
35 };
31 };
36
32
37 hardeningDisable = [ "format" ];
33 hardeningDisable = [ "format" ];
@@ -50,18 +46,19 @@ stdenv.mkDerivation rec {
50 patchFlags = "-p0";
46 patchFlags = "-p0";
51
47
52 patches = upstreamPatches
48 patches = upstreamPatches
49+ ++ optional hostPlatform.isCygwin ./cygwin-bash-4.4.11-2.src.patch
53 # https://lists.gnu.org/archive/html/bug-bash/2016-10/msg00006.html
50 # https://lists.gnu.org/archive/html/bug-bash/2016-10/msg00006.html
54− ++ optional (hostPlatform.libc == "musl") (fetchurl {
51+ ++ optional hostPlatform.isMusl (fetchurl {
55 url = "https://lists.gnu.org/archive/html/bug-bash/2016-10/patchJxugOXrY2y.patch";
52 url = "https://lists.gnu.org/archive/html/bug-bash/2016-10/patchJxugOXrY2y.patch";
56 sha256 = "1m4v9imidb1cc1h91f2na0b8y9kc5c5fgmpvy9apcyv2kbdcghg1";
53 sha256 = "1m4v9imidb1cc1h91f2na0b8y9kc5c5fgmpvy9apcyv2kbdcghg1";
57− });
54+ });
58−
59− postPatch = optionalString hostPlatform.isCygwin "patch -p2 < ${./cygwin-bash-4.4.11-2.src.patch}";
60
55
61 configureFlags = [
56 configureFlags = [
62 (if interactive then "--with-installed-readline" else "--disable-readline")
57 (if interactive then "--with-installed-readline" else "--disable-readline")
63 ] ++ optionals (hostPlatform != buildPlatform) [
58 ] ++ optionals (hostPlatform != buildPlatform) [
64− "bash_cv_job_control_missing=nomissing bash_cv_sys_named_pipes=nomissing bash_cv_getcwd_malloc=yes"
59+ "bash_cv_job_control_missing=nomissing"
60+ "bash_cv_sys_named_pipes=nomissing"
61+ "bash_cv_getcwd_malloc=yes"
65 ] ++ optionals hostPlatform.isCygwin [
62 ] ++ optionals hostPlatform.isCygwin [
66 "--without-libintl-prefix --without-libiconv-prefix"
63 "--without-libintl-prefix --without-libiconv-prefix"
67 "--with-installed-readline"
64 "--with-installed-readline"
@@ -75,8 +72,8 @@ stdenv.mkDerivation rec {
75
72
76 # Note: Bison is needed because the patches above modify parse.y.
73 # Note: Bison is needed because the patches above modify parse.y.
77 depsBuildBuild = [ buildPackages.stdenv.cc ];
74 depsBuildBuild = [ buildPackages.stdenv.cc ];
78− nativeBuildInputs = [bison]
75+ nativeBuildInputs = [ bison ]
79− ++ optional (texinfo != null) texinfo
76+ ++ optional withDocs texinfo
80 ++ optional hostPlatform.isDarwin binutils
77 ++ optional hostPlatform.isDarwin binutils
81 ++ optional (hostPlatform.libc == "musl") autoconf;
78 ++ optional (hostPlatform.libc == "musl") autoconf;
82
79
pkgs/shells/bash/cygwin-bash-4.4.11-2.src.patch+38−38
@@ -1,5 +1,5 @@
1−--- origsrc/bash-4.4/bashline.c 2017-01-23 13:28:06.955247200 -0600
1+--- bashline.c 2017-01-23 13:28:06.955247200 -0600
2−+++ src/bash-4.4/bashline.c 2017-01-23 13:55:07.992877600 -0600
2++++ bashline.c 2017-01-23 13:55:07.992877600 -0600
3@@ -76,6 +76,16 @@
3@@ -76,6 +76,16 @@
4 # include "pcomplete.h"
4 # include "pcomplete.h"
5 #endif
5 #endif
@@ -104,8 +104,8 @@
104 r = file_isdir (fn);
104 r = file_isdir (fn);
105 free (fn);
105 free (fn);
106
106
107−--- origsrc/bash-4.4/builtins/read.def 2017-01-23 13:28:07.017686500 -0600
107+--- builtins/read.def 2017-01-23 13:28:07.017686500 -0600
108−+++ src/bash-4.4/builtins/read.def 2017-01-23 13:55:07.992877600 -0600
108++++ builtins/read.def 2017-01-23 13:55:07.992877600 -0600
109@@ -85,7 +85,6 @@ $END
109@@ -85,7 +85,6 @@ $END
110
110
111 #ifdef __CYGWIN__
111 #ifdef __CYGWIN__
@@ -140,8 +140,8 @@
140 if ((skip_ctlesc == 0 && c == CTLESC) || (skip_ctlnul == 0 && c == CTLNUL))
140 if ((skip_ctlesc == 0 && c == CTLESC) || (skip_ctlnul == 0 && c == CTLNUL))
141 {
141 {
142 saw_escape++;
142 saw_escape++;
143−--- origsrc/bash-4.4/builtins/set.def 2016-06-02 19:10:10.000000000 -0500
143+--- builtins/set.def 2016-06-02 19:10:10.000000000 -0500
144−+++ src/bash-4.4/builtins/set.def 2017-01-23 13:55:07.992877600 -0600
144++++ builtins/set.def 2017-01-23 13:55:07.992877600 -0600
145@@ -56,6 +56,13 @@ extern int dont_save_function_defs;
145@@ -56,6 +56,13 @@ extern int dont_save_function_defs;
146 #if defined (READLINE)
146 #if defined (READLINE)
147 extern int no_line_editing;
147 extern int no_line_editing;
@@ -258,8 +258,8 @@
258 free (vname);
258 free (vname);
259 }
259 }
260 }
260 }
261−--- origsrc/bash-4.4/builtins/shopt.def 2016-05-06 14:00:02.000000000 -0500
261+--- builtins/shopt.def 2016-05-06 14:00:02.000000000 -0500
262−+++ src/bash-4.4/builtins/shopt.def 2017-01-23 13:55:07.992877600 -0600
262++++ builtins/shopt.def 2017-01-23 13:55:07.992877600 -0600
263@@ -92,6 +92,10 @@ extern int glob_asciirange;
263@@ -92,6 +92,10 @@ extern int glob_asciirange;
264 extern int lastpipe_opt;
264 extern int lastpipe_opt;
265 extern int inherit_errexit;
265 extern int inherit_errexit;
@@ -281,8 +281,8 @@
281 #if defined (READLINE)
281 #if defined (READLINE)
282 { "complete_fullquote", &complete_fullquote, (shopt_set_func_t *)NULL},
282 { "complete_fullquote", &complete_fullquote, (shopt_set_func_t *)NULL},
283 { "direxpand", &dircomplete_expand, shopt_set_complete_direxpand },
283 { "direxpand", &dircomplete_expand, shopt_set_complete_direxpand },
284−--- origsrc/bash-4.4/config-top.h 2016-05-19 13:34:02.000000000 -0500
284+--- config-top.h 2016-05-19 13:34:02.000000000 -0500
285−+++ src/bash-4.4/config-top.h 2017-01-23 13:55:07.992877600 -0600
285++++ config-top.h 2017-01-23 13:55:07.992877600 -0600
286@@ -87,10 +87,10 @@
286@@ -87,10 +87,10 @@
287 #define DEFAULT_BASHRC "~/.bashrc"
287 #define DEFAULT_BASHRC "~/.bashrc"
288
288
@@ -305,8 +305,8 @@
305
305
306 /* Define if you want the case-capitalizing operators (~[~]) and the
306 /* Define if you want the case-capitalizing operators (~[~]) and the
307 `capcase' variable attribute (declare -c). */
307 `capcase' variable attribute (declare -c). */
308−--- origsrc/bash-4.4/doc/Makefile.in 2015-12-06 18:55:56.000000000 -0600
308+--- doc/Makefile.in 2015-12-06 18:55:56.000000000 -0600
309−+++ src/bash-4.4/doc/Makefile.in 2017-01-23 13:55:07.992877600 -0600
309++++ doc/Makefile.in 2017-01-23 13:55:07.992877600 -0600
310@@ -189,7 +189,7 @@ bashref.html: $(BASHREF_FILES) $(HSUSER)
310@@ -189,7 +189,7 @@ bashref.html: $(BASHREF_FILES) $(HSUSER)
311 $(MAKEINFO) --html --no-split -I$(TEXINPUTDIR) $(srcdir)/bashref.texi
311 $(MAKEINFO) --html --no-split -I$(TEXINPUTDIR) $(srcdir)/bashref.texi
312
312
@@ -329,8 +329,8 @@
329 -if test -f bash.info; then d=.; else d=$(srcdir); fi; \
329 -if test -f bash.info; then d=.; else d=$(srcdir); fi; \
330 $(INSTALL_DATA) $$d/bash.info $(DESTDIR)$(infodir)/bash.info
330 $(INSTALL_DATA) $$d/bash.info $(DESTDIR)$(infodir)/bash.info
331 # run install-info if it is present to update the info directory
331 # run install-info if it is present to update the info directory
332−--- origsrc/bash-4.4/doc/bash.1 2016-08-26 08:45:17.000000000 -0500
332+--- doc/bash.1 2016-08-26 08:45:17.000000000 -0500
333−+++ src/bash-4.4/doc/bash.1 2017-01-23 13:55:08.008447700 -0600
333++++ doc/bash.1 2017-01-23 13:55:08.008447700 -0600
334@@ -9607,6 +9607,10 @@ filenames.
334@@ -9607,6 +9607,10 @@ filenames.
335 This variable is set by default, which is the default bash behavior in
335 This variable is set by default, which is the default bash behavior in
336 versions through 4.2.
336 versions through 4.2.
@@ -342,8 +342,8 @@
342 .B direxpand
342 .B direxpand
343 If set,
343 If set,
344 .B bash
344 .B bash
345−--- origsrc/bash-4.4/doc/bashref.texi 2016-09-07 16:13:36.000000000 -0500
345+--- doc/bashref.texi 2016-09-07 16:13:36.000000000 -0500
346−+++ src/bash-4.4/doc/bashref.texi 2017-01-23 13:55:08.008447700 -0600
346++++ doc/bashref.texi 2017-01-23 13:55:08.008447700 -0600
347@@ -5123,6 +5123,10 @@ filenames.
347@@ -5123,6 +5123,10 @@ filenames.
348 This variable is set by default, which is the default Bash behavior in
348 This variable is set by default, which is the default Bash behavior in
349 versions through 4.2.
349 versions through 4.2.
@@ -355,8 +355,8 @@
355 @item direxpand
355 @item direxpand
356 If set, Bash
356 If set, Bash
357 replaces directory names with the results of word expansion when performing
357 replaces directory names with the results of word expansion when performing
358−--- origsrc/bash-4.4/doc/builtins.1 2012-02-21 13:32:05.000000000 -0600
358+--- doc/builtins.1 2012-02-21 13:32:05.000000000 -0600
359−+++ src/bash-4.4/doc/builtins.1 2017-01-23 13:55:08.008447700 -0600
359++++ doc/builtins.1 2017-01-23 13:55:08.008447700 -0600
360@@ -19,6 +19,6 @@ shift, shopt, source, suspend, test, tim
360@@ -19,6 +19,6 @@ shift, shopt, source, suspend, test, tim
361 ulimit, umask, unalias, unset, wait \- bash built-in commands, see \fBbash\fR(1)
361 ulimit, umask, unalias, unset, wait \- bash built-in commands, see \fBbash\fR(1)
362 .SH BASH BUILTIN COMMANDS
362 .SH BASH BUILTIN COMMANDS
@@ -365,8 +365,8 @@
365+.so man1/bash.1
365+.so man1/bash.1
366 .SH SEE ALSO
366 .SH SEE ALSO
367 bash(1), sh(1)
367 bash(1), sh(1)
368−--- origsrc/bash-4.4/general.c 2016-08-11 10:16:56.000000000 -0500
368+--- general.c 2016-08-11 10:16:56.000000000 -0500
369−+++ src/bash-4.4/general.c 2017-01-23 13:55:08.008447700 -0600
369++++ general.c 2017-01-23 13:55:08.008447700 -0600
370@@ -48,6 +48,10 @@
370@@ -48,6 +48,10 @@
371
371
372 #include <tilde/tilde.h>
372 #include <tilde/tilde.h>
@@ -388,8 +388,8 @@
388 result = savestring (pathbuf);
388 result = savestring (pathbuf);
389 }
389 }
390 #else
390 #else
391−--- origsrc/bash-4.4/input.c 2015-09-24 18:49:23.000000000 -0500
391+--- input.c 2015-09-24 18:49:23.000000000 -0500
392−+++ src/bash-4.4/input.c 2017-01-23 13:55:08.008447700 -0600
392++++ input.c 2017-01-23 13:55:08.008447700 -0600
393@@ -44,6 +44,10 @@
393@@ -44,6 +44,10 @@
394 #include "quit.h"
394 #include "quit.h"
395 #include "trap.h"
395 #include "trap.h"
@@ -421,8 +421,8 @@
421 #if !defined (DJGPP)
421 #if !defined (DJGPP)
422 return (bufstream_getc (buffers[bash_input.location.buffered_fd]));
422 return (bufstream_getc (buffers[bash_input.location.buffered_fd]));
423 #else
423 #else
424−--- origsrc/bash-4.4/lib/sh/pathphys.c 2013-05-28 14:33:58.000000000 -0500
424+--- lib/sh/pathphys.c 2013-05-28 14:33:58.000000000 -0500
425−+++ src/bash-4.4/lib/sh/pathphys.c 2017-01-23 13:55:08.008447700 -0600
425++++ lib/sh/pathphys.c 2017-01-23 13:55:08.008447700 -0600
426@@ -35,6 +35,7 @@
426@@ -35,6 +35,7 @@
427 #include <stdio.h>
427 #include <stdio.h>
428 #include <chartypes.h>
428 #include <chartypes.h>
@@ -453,8 +453,8 @@
453 double_slash_path = DOUBLE_SLASH (workpath);
453 double_slash_path = DOUBLE_SLASH (workpath);
454 qbase += double_slash_path;
454 qbase += double_slash_path;
455
455
456−--- origsrc/bash-4.4/lib/sh/tmpfile.c 2016-08-11 10:05:58.000000000 -0500
456+--- lib/sh/tmpfile.c 2016-08-11 10:05:58.000000000 -0500
457−+++ src/bash-4.4/lib/sh/tmpfile.c 2017-01-23 13:55:08.008447700 -0600
457++++ lib/sh/tmpfile.c 2017-01-23 13:55:08.008447700 -0600
458@@ -101,7 +101,7 @@ get_tmpdir (flags)
458@@ -101,7 +101,7 @@ get_tmpdir (flags)
459 if (tdir && (file_iswdir (tdir) == 0 || strlen (tdir) > PATH_MAX))
459 if (tdir && (file_iswdir (tdir) == 0 || strlen (tdir) > PATH_MAX))
460 tdir = 0;
460 tdir = 0;
@@ -464,8 +464,8 @@
464 tdir = get_sys_tmpdir ();
464 tdir = get_sys_tmpdir ();
465
465
466 #if defined (HAVE_PATHCONF) && defined (_PC_NAME_MAX)
466 #if defined (HAVE_PATHCONF) && defined (_PC_NAME_MAX)
467−--- origsrc/bash-4.4/mksyntax.c 2012-07-29 18:48:38.000000000 -0500
467+--- mksyntax.c 2012-07-29 18:48:38.000000000 -0500
468−+++ src/bash-4.4/mksyntax.c 2017-01-23 13:55:08.008447700 -0600
468++++ mksyntax.c 2017-01-23 13:55:08.008447700 -0600
469@@ -29,13 +29,13 @@
469@@ -29,13 +29,13 @@
470
470
471 #ifdef HAVE_UNISTD_H
471 #ifdef HAVE_UNISTD_H
@@ -483,8 +483,8 @@
483 #ifndef errno
483 #ifndef errno
484 extern int errno;
484 extern int errno;
485 #endif
485 #endif
486−--- origsrc/bash-4.4/parse.y 2016-09-11 10:31:46.000000000 -0500
486+--- parse.y 2016-09-11 10:31:46.000000000 -0500
487−+++ src/bash-4.4/parse.y 2017-01-23 13:55:08.008447700 -0600
487++++ parse.y 2017-01-23 13:55:08.008447700 -0600
488@@ -1539,14 +1539,20 @@ yy_string_get ()
488@@ -1539,14 +1539,20 @@ yy_string_get ()
489 string = bash_input.location.string;
489 string = bash_input.location.string;
490
490
@@ -509,8 +509,8 @@
509 }
509 }
510
510
511 static int
511 static int
512−--- origsrc/bash-4.4/subst.c 2017-01-23 13:28:06.955247200 -0600
512+--- subst.c 2017-01-23 13:28:06.955247200 -0600
513−+++ src/bash-4.4/subst.c 2017-01-23 13:55:08.008447700 -0600
513++++ subst.c 2017-01-23 13:55:08.008447700 -0600
514@@ -43,6 +43,7 @@
514@@ -43,6 +43,7 @@
515 #include "posixstat.h"
515 #include "posixstat.h"
516 #include "bashintl.h"
516 #include "bashintl.h"
@@ -562,8 +562,8 @@
562 old_pid = last_made_pid;
562 old_pid = last_made_pid;
563 #if defined (JOB_CONTROL)
563 #if defined (JOB_CONTROL)
564 old_pipeline_pgrp = pipeline_pgrp;
564 old_pipeline_pgrp = pipeline_pgrp;
565−--- origsrc/bash-4.4/support/bashversion.c 2008-09-09 08:31:53.000000000 -0500
565+--- support/bashversion.c 2008-09-09 08:31:53.000000000 -0500
566−+++ src/bash-4.4/support/bashversion.c 2017-01-23 13:55:08.024037200 -0600
566++++ support/bashversion.c 2017-01-23 13:55:08.024037200 -0600
567@@ -26,6 +26,9 @@
567@@ -26,6 +26,9 @@
568
568
569 #if defined (HAVE_UNISTD_H)
569 #if defined (HAVE_UNISTD_H)
@@ -584,8 +584,8 @@
584 extern char *dist_version;
584 extern char *dist_version;
585 extern int patch_level;
585 extern int patch_level;
586
586
587−--- origsrc/bash-4.4/support/mkversion.sh 2008-08-13 07:25:57.000000000 -0500
587+--- support/mkversion.sh 2008-08-13 07:25:57.000000000 -0500
588−+++ src/bash-4.4/support/mkversion.sh 2017-01-23 13:55:08.024037200 -0600
588++++ support/mkversion.sh 2017-01-23 13:55:08.024037200 -0600
589@@ -29,7 +29,7 @@ source_dir="."
589@@ -29,7 +29,7 @@ source_dir="."
590 while [ $# -gt 0 ]; do
590 while [ $# -gt 0 ]; do
591 case "$1" in
591 case "$1" in
@@ -595,8 +595,8 @@
595 -s) shift; rel_status=$1; shift ;;
595 -s) shift; rel_status=$1; shift ;;
596 -p) shift; patch_level=$1; shift ;;
596 -p) shift; patch_level=$1; shift ;;
597 -d) shift; dist_version=$1; shift ;;
597 -d) shift; dist_version=$1; shift ;;
598−--- origsrc/bash-4.4/variables.c 2016-06-15 15:05:52.000000000 -0500
598+--- variables.c 2016-06-15 15:05:52.000000000 -0500
599−+++ src/bash-4.4/variables.c 2017-01-23 13:55:08.024037200 -0600
599++++ variables.c 2017-01-23 13:55:08.024037200 -0600
600@@ -5239,6 +5239,7 @@ sv_winsize (name)
600@@ -5239,6 +5239,7 @@ sv_winsize (name)
601 /* Update the value of HOME in the export environment so tilde expansion will
601 /* Update the value of HOME in the export environment so tilde expansion will
602 work on cygwin. */
602 work on cygwin. */
pkgs/stdenv/adapters.nix−2
@@ -87,8 +87,6 @@ rec {
87 (hostPlatform.isAarch64 || hostPlatform.isMips || hostPlatform.libc == "musl")
87 (hostPlatform.isAarch64 || hostPlatform.isMips || hostPlatform.libc == "musl")
88 pkgs.updateAutotoolsGnuConfigScriptsHook
88 pkgs.updateAutotoolsGnuConfigScriptsHook
89 ;
89 ;
90−
91− crossConfig = hostPlatform.config;
92 } // args.crossAttrs or {});
90 } // args.crossAttrs or {});
93 };
91 };
94
92
pkgs/stdenv/generic/make-derivation.nix+57−32
@@ -36,6 +36,9 @@ rec {
36 , depsTargetTarget ? [] # 1 -> 1
36 , depsTargetTarget ? [] # 1 -> 1
37 , depsTargetTargetPropagated ? [] # 1 -> 1
37 , depsTargetTargetPropagated ? [] # 1 -> 1
38
38
39+ , checkInputs ? []
40+ , installCheckInputs ? []
41+
39 # Configure Phase
42 # Configure Phase
40 , configureFlags ? []
43 , configureFlags ? []
41 , # Target is not included by default because most programs don't care.
44 , # Target is not included by default because most programs don't care.
@@ -46,13 +49,16 @@ rec {
46 (stdenv.hostPlatform != stdenv.buildPlatform)
49 (stdenv.hostPlatform != stdenv.buildPlatform)
47 [ "build" "host" ]
50 [ "build" "host" ]
48
51
52+ # TODO(@Ericson2314): Make unconditional / resolve #33599
49 # Check phase
53 # Check phase
50− , doCheck ? false
54+ , doCheck ? config.doCheckByDefault or false
51
55
56+ # TODO(@Ericson2314): Make unconditional / resolve #33599
52 # InstallCheck phase
57 # InstallCheck phase
53− , doInstallCheck ? false
58+ , doInstallCheck ? config.doCheckByDefault or false
54
59
55− , crossConfig ? null
60+ , # TODO(@Ericson2314): Make always true and remove
61+ strictDeps ? stdenv.hostPlatform != stdenv.buildPlatform
56 , meta ? {}
62 , meta ? {}
57 , passthru ? {}
63 , passthru ? {}
58 , pos ? # position used in error messages and for meta.position
64 , pos ? # position used in error messages and for meta.position
@@ -74,6 +80,11 @@ rec {
74 # TODO(@Ericson2314): Make this more modular, and not O(n^2).
80 # TODO(@Ericson2314): Make this more modular, and not O(n^2).
75 let
81 let
76 supportedHardeningFlags = [ "fortify" "stackprotector" "pie" "pic" "strictoverflow" "format" "relro" "bindnow" ];
82 supportedHardeningFlags = [ "fortify" "stackprotector" "pie" "pic" "strictoverflow" "format" "relro" "bindnow" ];
83+ defaultHardeningFlags = lib.remove "pie" supportedHardeningFlags;
84+ enabledHardeningOptions =
85+ if builtins.elem "all" hardeningDisable
86+ then []
87+ else lib.subtractLists hardeningDisable (defaultHardeningFlags ++ hardeningEnable);
77 # hardeningDisable additionally supports "all".
88 # hardeningDisable additionally supports "all".
78 erroneousHardeningFlags = lib.subtractLists supportedHardeningFlags (hardeningEnable ++ lib.remove "all" hardeningDisable);
89 erroneousHardeningFlags = lib.subtractLists supportedHardeningFlags (hardeningEnable ++ lib.remove "all" hardeningDisable);
79 in if builtins.length erroneousHardeningFlags != 0
90 in if builtins.length erroneousHardeningFlags != 0
@@ -94,7 +105,9 @@ rec {
94 ]
105 ]
95 [
106 [
96 (map (drv: drv.__spliced.hostHost or drv) depsHostHost)
107 (map (drv: drv.__spliced.hostHost or drv) depsHostHost)
97− (map (drv: drv.crossDrv or drv) buildInputs)
108+ (map (drv: drv.crossDrv or drv) (buildInputs
109+ ++ lib.optionals doCheck' checkInputs
110+ ++ lib.optionals doInstallCheck' installCheckInputs))
98 ]
111 ]
99 [
112 [
100 (map (drv: drv.__spliced.targetTarget or drv) depsTargetTarget)
113 (map (drv: drv.__spliced.targetTarget or drv) depsTargetTarget)
@@ -115,34 +128,43 @@ rec {
115 ]
128 ]
116 ];
129 ];
117
130
131+ # TODO(@oxij, @Ericson2314): This is here to keep the old semantics, remove when
132+ # no package has `doCheck = true`.
133+ doCheck' = doCheck && stdenv.hostPlatform == stdenv.buildPlatform;
134+ doInstallCheck' = doInstallCheck && stdenv.hostPlatform == stdenv.buildPlatform;
135+
118 outputs' =
136 outputs' =
119 outputs ++
137 outputs ++
120 (if separateDebugInfo then assert stdenv.hostPlatform.isLinux; [ "debug" ] else []);
138 (if separateDebugInfo then assert stdenv.hostPlatform.isLinux; [ "debug" ] else []);
121
139
140+ computedSandboxProfile =
141+ lib.concatMap (input: input.__propagatedSandboxProfile or [])
142+ (stdenv.extraNativeBuildInputs
143+ ++ stdenv.extraBuildInputs
144+ ++ lib.concatLists dependencies);
145+
146+ computedPropagatedSandboxProfile =
147+ lib.concatMap (input: input.__propagatedSandboxProfile or [])
148+ (lib.concatLists propagatedDependencies);
149+
150+ computedImpureHostDeps =
151+ lib.unique (lib.concatMap (input: input.__propagatedImpureHostDeps or [])
152+ (stdenv.extraNativeBuildInputs
153+ ++ stdenv.extraBuildInputs
154+ ++ lib.concatLists dependencies));
155+
156+ computedPropagatedImpureHostDeps =
157+ lib.unique (lib.concatMap (input: input.__propagatedImpureHostDeps or [])
158+ (lib.concatLists propagatedDependencies));
159+
122 derivationArg =
160 derivationArg =
123 (removeAttrs attrs
161 (removeAttrs attrs
124 ["meta" "passthru" "crossAttrs" "pos"
162 ["meta" "passthru" "crossAttrs" "pos"
163+ "doCheck" "doInstallCheck"
164+ "checkInputs" "installCheckInputs"
125 "__impureHostDeps" "__propagatedImpureHostDeps"
165 "__impureHostDeps" "__propagatedImpureHostDeps"
126 "sandboxProfile" "propagatedSandboxProfile"])
166 "sandboxProfile" "propagatedSandboxProfile"])
127− // (let
128− computedSandboxProfile =
129− lib.concatMap (input: input.__propagatedSandboxProfile or [])
130− (stdenv.extraNativeBuildInputs
131− ++ stdenv.extraBuildInputs
132− ++ lib.concatLists dependencies);
133− computedPropagatedSandboxProfile =
134− lib.concatMap (input: input.__propagatedSandboxProfile or [])
135− (lib.concatLists propagatedDependencies);
136− computedImpureHostDeps =
137− lib.unique (lib.concatMap (input: input.__propagatedImpureHostDeps or [])
138− (stdenv.extraNativeBuildInputs
139− ++ stdenv.extraBuildInputs
140− ++ lib.concatLists dependencies));
141− computedPropagatedImpureHostDeps =
142− lib.unique (lib.concatMap (input: input.__propagatedImpureHostDeps or [])
143− (lib.concatLists propagatedDependencies));
144− in
145− {
167+ // {
146 # A hack to make `nix-env -qa` and `nix search` ignore broken packages.
168 # A hack to make `nix-env -qa` and `nix search` ignore broken packages.
147 # TODO(@oxij): remove this assert when something like NixOS/nix#1771 gets merged into nix.
169 # TODO(@oxij): remove this assert when something like NixOS/nix#1771 gets merged into nix.
148 name = assert validity.handled; name + lib.optionalString
170 name = assert validity.handled; name + lib.optionalString
@@ -156,6 +178,8 @@ rec {
156 userHook = config.stdenv.userHook or null;
178 userHook = config.stdenv.userHook or null;
157 __ignoreNulls = true;
179 __ignoreNulls = true;
158
180
181+ inherit strictDeps;
182+
159 depsBuildBuild = lib.elemAt (lib.elemAt dependencies 0) 0;
183 depsBuildBuild = lib.elemAt (lib.elemAt dependencies 0) 0;
160 nativeBuildInputs = lib.elemAt (lib.elemAt dependencies 0) 1;
184 nativeBuildInputs = lib.elemAt (lib.elemAt dependencies 0) 1;
161 depsBuildTarget = lib.elemAt (lib.elemAt dependencies 0) 2;
185 depsBuildTarget = lib.elemAt (lib.elemAt dependencies 0) 2;
@@ -179,6 +203,15 @@ rec {
179 ++ optional (elem "host" configurePlatforms) "--host=${stdenv.hostPlatform.config}"
203 ++ optional (elem "host" configurePlatforms) "--host=${stdenv.hostPlatform.config}"
180 ++ optional (elem "target" configurePlatforms) "--target=${stdenv.targetPlatform.config}";
204 ++ optional (elem "target" configurePlatforms) "--target=${stdenv.targetPlatform.config}";
181
205
206+ } // lib.optionalAttrs (hardeningDisable != [] || hardeningEnable != []) {
207+ NIX_HARDENING_ENABLE = enabledHardeningOptions;
208+ } // lib.optionalAttrs (outputs' != [ "out" ]) {
209+ outputs = outputs';
210+ } // lib.optionalAttrs doCheck' {
211+ doCheck = true;
212+ } // lib.optionalAttrs doInstallCheck' {
213+ doInstallCheck = true;
214+
182 } // lib.optionalAttrs (stdenv.buildPlatform.isDarwin) {
215 } // lib.optionalAttrs (stdenv.buildPlatform.isDarwin) {
183 # TODO: remove lib.unique once nix has a list canonicalization primitive
216 # TODO: remove lib.unique once nix has a list canonicalization primitive
184 __sandboxProfile =
217 __sandboxProfile =
@@ -193,15 +226,7 @@ rec {
193 "/bin/sh"
226 "/bin/sh"
194 ];
227 ];
195 __propagatedImpureHostDeps = computedPropagatedImpureHostDeps ++ __propagatedImpureHostDeps;
228 __propagatedImpureHostDeps = computedPropagatedImpureHostDeps ++ __propagatedImpureHostDeps;
196− } // lib.optionalAttrs (outputs' != [ "out" ]) {
197− outputs = outputs';
198− } // lib.optionalAttrs (attrs ? doCheck) {
199− # TODO(@Ericson2314): Make unconditional / resolve #33599
200− doCheck = doCheck && (stdenv.hostPlatform == stdenv.buildPlatform);
201− } // lib.optionalAttrs (attrs ? doInstallCheck) {
202− # TODO(@Ericson2314): Make unconditional / resolve #33599
203− doInstallCheck = doInstallCheck && (stdenv.hostPlatform == stdenv.buildPlatform);
204− });
229+ };
205
230
206 validity = import ./check-meta.nix {
231 validity = import ./check-meta.nix {
207 inherit lib config meta;
232 inherit lib config meta;
pkgs/stdenv/generic/setup.sh+117−56
@@ -501,7 +501,7 @@ activatePackage() {
501 # the transition, we do include everything in thatcase.
501 # the transition, we do include everything in thatcase.
502 #
502 #
503 # TODO(@Ericson2314): Don't special-case native compilation
503 # TODO(@Ericson2314): Don't special-case native compilation
504− if [[ ( -z "${crossConfig-}" || "$hostOffset" -le -1 ) && -d "$pkg/bin" ]]; then
504+ if [[ ( -z "${strictDeps-}" || "$hostOffset" -le -1 ) && -d "$pkg/bin" ]]; then
505 addToSearchPath _PATH "$pkg/bin"
505 addToSearchPath _PATH "$pkg/bin"
506 fi
506 fi
507
507
@@ -551,7 +551,7 @@ _addToEnv() {
551 for depTargetOffset in "${allPlatOffsets[@]}"; do
551 for depTargetOffset in "${allPlatOffsets[@]}"; do
552 (( "$depHostOffset" <= "$depTargetOffset" )) || continue
552 (( "$depHostOffset" <= "$depTargetOffset" )) || continue
553 local hookRef="${hookVar}[$depTargetOffset - $depHostOffset]"
553 local hookRef="${hookVar}[$depTargetOffset - $depHostOffset]"
554− if [[ -z "${crossConfig-}" ]]; then
554+ if [[ -z "${strictDeps-}" ]]; then
555 # Apply environment hooks to all packages during native
555 # Apply environment hooks to all packages during native
556 # compilation to ease the transition.
556 # compilation to ease the transition.
557 #
557 #
@@ -641,22 +641,9 @@ fi
641# Textual substitution functions.
641# Textual substitution functions.
642
642
643
643
644−substitute() {
644+substituteStream() {
645− local input="$1"
645+ local var=$1
646− local output="$2"
647− shift 2
646+ shift
648−
649− if [ ! -f "$input" ]; then
650− echo "substitute(): ERROR: file '$input' does not exist" >&2
651− return 1
652− fi
653−
654− local content
655− # read returns non-0 on EOF, so we want read to fail
656− if IFS='' read -r -N 0 content < "$input"; then
657− echo "substitute(): ERROR: File \"$input\" has null bytes, won't process" >&2
658− return 1
659− fi
660
647
661 while (( "$#" )); do
648 while (( "$#" )); do
662 case "$1" in
649 case "$1" in
@@ -671,7 +658,7 @@ substitute() {
671 shift 2
658 shift 2
672 # check if the used nix attribute name is a valid bash name
659 # check if the used nix attribute name is a valid bash name
673 if ! [[ "$varName" =~ ^[a-zA-Z_][a-zA-Z0-9_]*$ ]]; then
660 if ! [[ "$varName" =~ ^[a-zA-Z_][a-zA-Z0-9_]*$ ]]; then
674− echo "substitute(): ERROR: substitution variables must be valid Bash names, \"$varName\" isn't." >&2
661+ echo "substituteStream(): ERROR: substitution variables must be valid Bash names, \"$varName\" isn't." >&2
675 return 1
662 return 1
676 fi
663 fi
677 pattern="@$varName@"
664 pattern="@$varName@"
@@ -685,18 +672,41 @@ substitute() {
685 ;;
672 ;;
686
673
687 *)
674 *)
688− echo "substitute(): ERROR: Invalid command line argument: $1" >&2
675+ echo "substituteStream(): ERROR: Invalid command line argument: $1" >&2
689 return 1
676 return 1
690 ;;
677 ;;
691 esac
678 esac
692
679
693− content="${content//"$pattern"/$replacement}"
680+ eval "$var"'=${'"$var"'//"$pattern"/"$replacement"}'
694 done
681 done
695
682
696− if [ -e "$output" ]; then chmod +w "$output"; fi
683+ printf "%s" "${!var}"
697− printf "%s" "$content" > "$output"
684+}
685+
686+consumeEntire() {
687+ # read returns non-0 on EOF, so we want read to fail
688+ if IFS='' read -r -N 0 $1; then
689+ echo "consumeEntire(): ERROR: Input null bytes, won't process" >&2
690+ return 1
691+ fi
698}
692}
699
693
694+substitute() {
695+ local input="$1"
696+ local output="$2"
697+ shift 2
698+
699+ if [ ! -f "$input" ]; then
700+ echo "substitute(): ERROR: file '$input' does not exist" >&2
701+ return 1
702+ fi
703+
704+ local content
705+ consumeEntire content < "$input"
706+
707+ if [ -e "$output" ]; then chmod +w "$output"; fi
708+ substituteStream content "$@" > "$output"
709+}
700
710
701substituteInPlace() {
711substituteInPlace() {
702 local fileName="$1"
712 local fileName="$1"
@@ -704,20 +714,30 @@ substituteInPlace() {
704 substitute "$fileName" "$fileName" "$@"
714 substitute "$fileName" "$fileName" "$@"
705}
715}
706
716
717+_allFlags() {
718+ for varName in $(awk 'BEGIN { for (v in ENVIRON) if (v ~ /^[a-z][a-zA-Z0-9_]*$/) print v }'); do
719+ if (( "${NIX_DEBUG:-0}" >= 1 )); then
720+ printf "@%s@ -> %q\n" "${varName}" "${!varName}"
721+ fi
722+ args+=("--subst-var" "$varName")
723+ done
724+}
725+
726+substituteAllStream() {
727+ local -a args=()
728+ _allFlags
729+
730+ substituteStream "$1" "${args[@]}"
731+}
707
732
708# Substitute all environment variables that start with a lowercase character and
733# Substitute all environment variables that start with a lowercase character and
709# are valid Bash names.
734# are valid Bash names.
710substituteAll() {
735substituteAll() {
711 local input="$1"
736 local input="$1"
712 local output="$2"
737 local output="$2"
713− local -a args=()
714
738
715− for varName in $(awk 'BEGIN { for (v in ENVIRON) if (v ~ /^[a-z][a-zA-Z0-9_]*$/) print v }'); do
739+ local -a args=()
716− if (( "${NIX_DEBUG:-0}" >= 1 )); then
740+ _allFlags
717− printf "@%s@ -> %q\n" "${varName}" "${!varName}"
718− fi
719− args+=("--subst-var" "$varName")
720− done
721
741
722 substitute "$input" "$output" "${args[@]}"
742 substitute "$input" "$output" "${args[@]}"
723}
743}
@@ -968,9 +988,11 @@ buildPhase() {
968 # set to empty if unset
988 # set to empty if unset
969 : ${makeFlags=}
989 : ${makeFlags=}
970
990
971− if [[ -z "$makeFlags" && ! ( -n "${makefile:-}" || -e Makefile || -e makefile || -e GNUmakefile ) ]]; then
991+ if [[ -z "$makeFlags" && -z "${makefile:-}" && ! ( -e Makefile || -e makefile || -e GNUmakefile ) ]]; then
972 echo "no Makefile, doing nothing"
992 echo "no Makefile, doing nothing"
973 else
993 else
994+ foundMakefile=1
995+
974 # See https://github.com/NixOS/nixpkgs/pull/1354#issuecomment-31260409
996 # See https://github.com/NixOS/nixpkgs/pull/1354#issuecomment-31260409
975 makeFlags="SHELL=$SHELL $makeFlags"
997 makeFlags="SHELL=$SHELL $makeFlags"
976
998
@@ -994,18 +1016,38 @@ buildPhase() {
994checkPhase() {
1016checkPhase() {
995 runHook preCheck
1017 runHook preCheck
996
1018
997− # Old bash empty array hack
1019+ if [[ -z "${foundMakefile:-}" ]]; then
998− # shellcheck disable=SC2086
1020+ echo "no Makefile or custom buildPhase, doing nothing"
999− local flagsArray=(
1021+ runHook postCheck
1000− ${enableParallelBuilding:+-j${NIX_BUILD_CORES} -l${NIX_BUILD_CORES}}
1022+ return
1001− $makeFlags ${makeFlagsArray+"${makeFlagsArray[@]}"}
1023+ fi
1002− ${checkFlags:-VERBOSE=y} ${checkFlagsArray+"${checkFlagsArray[@]}"}
1003− ${checkTarget:-check}
1004− )
1005
1024
1025+ if [[ -z "${checkTarget:-}" ]]; then
1026+ #TODO(@oxij): should flagsArray influence make -n?
1027+ if make -n ${makefile:+-f $makefile} check >/dev/null 2>&1; then
1028+ checkTarget=check
1029+ elif make -n ${makefile:+-f $makefile} test >/dev/null 2>&1; then
1030+ checkTarget=test
1031+ fi
1032+ fi
1033+
1034+ if [[ -z "${checkTarget:-}" ]]; then
1035+ echo "no check/test target in ${makefile:-Makefile}, doing nothing"
1036+ else
1037+ # Old bash empty array hack
1038+ # shellcheck disable=SC2086
1039+ local flagsArray=(
1040+ ${enableParallelBuilding:+-j${NIX_BUILD_CORES} -l${NIX_BUILD_CORES}}
1041+ $makeFlags ${makeFlagsArray+"${makeFlagsArray[@]}"}
1042+ ${checkFlags:-VERBOSE=y} ${checkFlagsArray+"${checkFlagsArray[@]}"}
1043+ ${checkTarget}
1044+ )
1045+
1006− echoCmd 'check flags' "${flagsArray[@]}"
1046+ echoCmd 'check flags' "${flagsArray[@]}"
1007− make ${makefile:+-f $makefile} "${flagsArray[@]}"
1047+ make ${makefile:+-f $makefile} "${flagsArray[@]}"
1048+
1008− unset flagsArray
1049+ unset flagsArray
1050+ fi
1009
1051
1010 runHook postCheck
1052 runHook postCheck
1011}
1053}
@@ -1018,14 +1060,12 @@ installPhase() {
1018 mkdir -p "$prefix"
1060 mkdir -p "$prefix"
1019 fi
1061 fi
1020
1062
1021− installTargets="${installTargets:-install}"
1022−
1023 # Old bash empty array hack
1063 # Old bash empty array hack
1024 # shellcheck disable=SC2086
1064 # shellcheck disable=SC2086
1025 local flagsArray=(
1065 local flagsArray=(
1026− $installTargets
1027 $makeFlags ${makeFlagsArray+"${makeFlagsArray[@]}"}
1066 $makeFlags ${makeFlagsArray+"${makeFlagsArray[@]}"}
1028 $installFlags ${installFlagsArray+"${installFlagsArray[@]}"}
1067 $installFlags ${installFlagsArray+"${installFlagsArray[@]}"}
1068+ ${installTargets:-install}
1029 )
1069 )
1030
1070
1031 echoCmd 'install flags' "${flagsArray[@]}"
1071 echoCmd 'install flags' "${flagsArray[@]}"
@@ -1091,6 +1131,19 @@ fixupPhase() {
1091 substituteAll "$setupHook" "${!outputDev}/nix-support/setup-hook"
1131 substituteAll "$setupHook" "${!outputDev}/nix-support/setup-hook"
1092 fi
1132 fi
1093
1133
1134+ # TODO(@Ericson2314): Remove after https://github.com/NixOS/nixpkgs/pull/31414
1135+ if [ -n "${setupHooks:-}" ]; then
1136+ mkdir -p "${!outputDev}/nix-support"
1137+ local hook
1138+ for hook in $setupHooks; do
1139+ local content
1140+ consumeEntire content < "$hook"
1141+ substituteAllStream content >> "${!outputDev}/nix-support/setup-hook"
1142+ unset -v content
1143+ done
1144+ unset -v hook
1145+ fi
1146+
1094 # Propagate user-env packages into the output with binaries, TODO?
1147 # Propagate user-env packages into the output with binaries, TODO?
1095
1148
1096 if [ -n "${propagatedUserEnvPkgs:-}" ]; then
1149 if [ -n "${propagatedUserEnvPkgs:-}" ]; then
@@ -1106,18 +1159,26 @@ fixupPhase() {
1106installCheckPhase() {
1159installCheckPhase() {
1107 runHook preInstallCheck
1160 runHook preInstallCheck
1108
1161
1162+ if [[ -z "${foundMakefile:-}" ]]; then
1163+ echo "no Makefile or custom buildPhase, doing nothing"
1164+ #TODO(@oxij): should flagsArray influence make -n?
1165+ elif [[ -z "${installCheckTarget:-}" ]] \
1166+ && ! make -n ${makefile:+-f $makefile} ${installCheckTarget:-installcheck} >/dev/null 2>&1; then
1167+ echo "no installcheck target in ${makefile:-Makefile}, doing nothing"
1168+ else
1109− # Old bash empty array hack
1169+ # Old bash empty array hack
1110− # shellcheck disable=SC2086
1170+ # shellcheck disable=SC2086
1111− local flagsArray=(
1171+ local flagsArray=(
1112− ${enableParallelBuilding:+-j${NIX_BUILD_CORES} -l${NIX_BUILD_CORES}}
1172+ ${enableParallelBuilding:+-j${NIX_BUILD_CORES} -l${NIX_BUILD_CORES}}
1113− $makeFlags ${makeFlagsArray+"${makeFlagsArray[@]}"}
1173+ $makeFlags ${makeFlagsArray+"${makeFlagsArray[@]}"}
1114− $installCheckFlags ${installCheckFlagsArray+"${installCheckFlagsArray[@]}"}
1174+ $installCheckFlags ${installCheckFlagsArray+"${installCheckFlagsArray[@]}"}
1115− ${installCheckTarget:-installcheck}
1175+ ${installCheckTarget:-installcheck}
1116− )
1176+ )
1117
1177
1118− echoCmd 'installcheck flags' "${flagsArray[@]}"
1178+ echoCmd 'installcheck flags' "${flagsArray[@]}"
1119− make ${makefile:+-f $makefile} "${flagsArray[@]}"
1179+ make ${makefile:+-f $makefile} "${flagsArray[@]}"
1120− unset flagsArray
1180+ unset flagsArray
1181+ fi
1121
1182
1122 runHook postInstallCheck
1183 runHook postInstallCheck
1123}
1184}
pkgs/stdenv/linux/default.nix+6−12
@@ -107,11 +107,6 @@ let
107 # Having the proper 'platform' in all the stdenvs allows getting proper
107 # Having the proper 'platform' in all the stdenvs allows getting proper
108 # linuxHeaders for example.
108 # linuxHeaders for example.
109 inherit platform;
109 inherit platform;
110−
111− # stdenv.glibc is used by GCC build to figure out the system-level
112− # /usr/include directory.
113− # TODO: Remove this!
114− inherit (prevStage) glibc;
115 };
110 };
116 overrides = self: super: (overrides self super) // { fetchurl = thisStdenv.fetchurlBoot; };
111 overrides = self: super: (overrides self super) // { fetchurl = thisStdenv.fetchurlBoot; };
117 };
112 };
@@ -129,8 +124,6 @@ in
129 __raw = true;
124 __raw = true;
130
125
131 gcc-unwrapped = null;
126 gcc-unwrapped = null;
132− glibc = assert false; null;
133− musl = assert false; null;
134 binutils = null;
127 binutils = null;
135 coreutils = null;
128 coreutils = null;
136 gnugrep = null;
129 gnugrep = null;
@@ -256,7 +249,7 @@ in
256 };
249 };
257 extraNativeBuildInputs = [ prevStage.patchelf prevStage.paxctl ] ++
250 extraNativeBuildInputs = [ prevStage.patchelf prevStage.paxctl ] ++
258 # Many tarballs come with obsolete config.sub/config.guess that don't recognize aarch64.
251 # Many tarballs come with obsolete config.sub/config.guess that don't recognize aarch64.
259− lib.optional localSystem.isAarch64 prevStage.updateAutotoolsGnuConfigScriptsHook;
252+ lib.optional (!localSystem.isx86) prevStage.updateAutotoolsGnuConfigScriptsHook;
260 })
253 })
261
254
262
255
@@ -297,7 +290,7 @@ in
297 };
290 };
298 extraNativeBuildInputs = [ prevStage.patchelf prevStage.xz ] ++
291 extraNativeBuildInputs = [ prevStage.patchelf prevStage.xz ] ++
299 # Many tarballs come with obsolete config.sub/config.guess that don't recognize aarch64.
292 # Many tarballs come with obsolete config.sub/config.guess that don't recognize aarch64.
300− lib.optional localSystem.isAarch64 prevStage.updateAutotoolsGnuConfigScriptsHook;
293+ lib.optional (!localSystem.isx86) prevStage.updateAutotoolsGnuConfigScriptsHook;
301 })
294 })
302
295
303 # Construct the final stdenv. It uses the Glibc and GCC, and adds
296 # Construct the final stdenv. It uses the Glibc and GCC, and adds
@@ -329,7 +322,7 @@ in
329
322
330 extraNativeBuildInputs = [ prevStage.patchelf prevStage.paxctl ] ++
323 extraNativeBuildInputs = [ prevStage.patchelf prevStage.paxctl ] ++
331 # Many tarballs come with obsolete config.sub/config.guess that don't recognize aarch64.
324 # Many tarballs come with obsolete config.sub/config.guess that don't recognize aarch64.
332− lib.optional localSystem.isAarch64 prevStage.updateAutotoolsGnuConfigScriptsHook;
325+ lib.optional (!localSystem.isx86) prevStage.updateAutotoolsGnuConfigScriptsHook;
333
326
334 cc = prevStage.gcc;
327 cc = prevStage.gcc;
335
328
@@ -351,6 +344,7 @@ in
351 concatMap (p: [ (getBin p) (getLib p) ])
344 concatMap (p: [ (getBin p) (getLib p) ])
352 [ gzip bzip2 xz bash binutils.bintools coreutils diffutils findutils
345 [ gzip bzip2 xz bash binutils.bintools coreutils diffutils findutils
353 gawk gnumake gnused gnutar gnugrep gnupatch patchelf ed paxctl
346 gawk gnumake gnused gnutar gnugrep gnupatch patchelf ed paxctl
347+ texinfo
354 ]
348 ]
355 # Library dependencies
349 # Library dependencies
356 ++ map getLib (
350 ++ map getLib (
@@ -362,14 +356,14 @@ in
362 ++ [ /*propagated from .dev*/ linuxHeaders
356 ++ [ /*propagated from .dev*/ linuxHeaders
363 binutils gcc gcc.cc gcc.cc.lib gcc.expand-response-params
357 binutils gcc gcc.cc gcc.cc.lib gcc.expand-response-params
364 ]
358 ]
365− ++ lib.optionals localSystem.isAarch64
359+ ++ lib.optionals (!localSystem.isx86)
366 [ prevStage.updateAutotoolsGnuConfigScriptsHook prevStage.gnu-config ];
360 [ prevStage.updateAutotoolsGnuConfigScriptsHook prevStage.gnu-config ];
367
361
368 overrides = self: super: {
362 overrides = self: super: {
369 inherit (prevStage)
363 inherit (prevStage)
370 gzip bzip2 xz bash coreutils diffutils findutils gawk
364 gzip bzip2 xz bash coreutils diffutils findutils gawk
371 gnumake gnused gnutar gnugrep gnupatch patchelf
365 gnumake gnused gnutar gnugrep gnupatch patchelf
372− attr acl paxctl zlib pcre;
366+ attr acl paxctl zlib pcre texinfo;
373 ${localSystem.libc} = getLibc prevStage;
367 ${localSystem.libc} = getLibc prevStage;
374 } // lib.optionalAttrs (super.targetPlatform == localSystem) {
368 } // lib.optionalAttrs (super.targetPlatform == localSystem) {
375 # Need to get rid of these when cross-compiling.
369 # Need to get rid of these when cross-compiling.
pkgs/tools/archivers/gnutar/default.nix+3
@@ -36,6 +36,9 @@ stdenv.mkDerivation rec {
36 sed -i gnu/fpending.h -e 's,include <stdio_ext.h>,,'
36 sed -i gnu/fpending.h -e 's,include <stdio_ext.h>,,'
37 '' else null;
37 '' else null;
38
38
39+ doCheck = false; # fails
40+ doInstallCheck = false; # fails
41+
39 meta = {
42 meta = {
40 homepage = http://www.gnu.org/software/tar/;
43 homepage = http://www.gnu.org/software/tar/;
41 description = "GNU implementation of the `tar' archiver";
44 description = "GNU implementation of the `tar' archiver";
pkgs/tools/compression/brotli/default.nix+2−2
@@ -4,13 +4,13 @@
4
4
5stdenv.mkDerivation rec {
5stdenv.mkDerivation rec {
6 name = "brotli-${version}";
6 name = "brotli-${version}";
7− version = "1.0.3";
7+ version = "1.0.4";
8
8
9 src = fetchFromGitHub {
9 src = fetchFromGitHub {
10 owner = "google";
10 owner = "google";
11 repo = "brotli";
11 repo = "brotli";
12 rev = "v" + version;
12 rev = "v" + version;
13− sha256 = "1hlkqgkm2gv6q83dswg6b19hpw8j33y6iw924j8r647pd4qg1xs7";
13+ sha256 = "0n5snycxgwqj2v8sgxiqxq4zqh5ydx70dr7qa4ygizs02ms69n1i";
14 };
14 };
15
15
16 nativeBuildInputs = [ cmake ];
16 nativeBuildInputs = [ cmake ];
pkgs/tools/compression/gzip/default.nix+2
@@ -18,6 +18,8 @@ stdenv.mkDerivation rec {
18 # In stdenv-linux, prevent a dependency on bootstrap-tools.
18 # In stdenv-linux, prevent a dependency on bootstrap-tools.
19 makeFlags = "SHELL=/bin/sh GREP=grep";
19 makeFlags = "SHELL=/bin/sh GREP=grep";
20
20
21+ doCheck = false; # fails
22+
21 meta = {
23 meta = {
22 homepage = https://www.gnu.org/software/gzip/;
24 homepage = https://www.gnu.org/software/gzip/;
23 description = "GNU zip compression program";
25 description = "GNU zip compression program";
pkgs/tools/compression/xz/default.nix+2−2
@@ -1,11 +1,11 @@
1{ stdenv, fetchurl }:
1{ stdenv, fetchurl }:
2
2
3stdenv.mkDerivation rec {
3stdenv.mkDerivation rec {
4− name = "xz-5.2.3";
4+ name = "xz-5.2.4";
5
5
6 src = fetchurl {
6 src = fetchurl {
7 url = "https://tukaani.org/xz/${name}.tar.bz2";
7 url = "https://tukaani.org/xz/${name}.tar.bz2";
8− sha256 = "1ha08wxcldgcl81021x5nhknr47s1p95ljfkka4sqah5w5ns377x";
8+ sha256 = "1gxpayfagb4v7xfhs2w6h7k56c6hwwav1rk48bj8hggljlmgs4rk";
9 };
9 };
10
10
11 outputs = [ "bin" "dev" "out" "man" "doc" ];
11 outputs = [ "bin" "dev" "out" "man" "doc" ];
pkgs/tools/filesystems/curlftpfs/default.nix+2
@@ -9,6 +9,8 @@ stdenv.mkDerivation {
9 nativeBuildInputs = [ pkgconfig ];
9 nativeBuildInputs = [ pkgconfig ];
10 buildInputs = [fuse curl glib zlib];
10 buildInputs = [fuse curl glib zlib];
11
11
12+ doCheck = false; # fails, doesn't work well too, btw
13+
12 meta = {
14 meta = {
13 platforms = stdenv.lib.platforms.linux;
15 platforms = stdenv.lib.platforms.linux;
14 };
16 };
pkgs/tools/filesystems/e2fsprogs/default.nix+2−2
@@ -1,11 +1,11 @@
1{ stdenv, buildPackages, fetchurl, pkgconfig, libuuid, gettext, texinfo }:
1{ stdenv, buildPackages, fetchurl, pkgconfig, libuuid, gettext, texinfo }:
2
2
3stdenv.mkDerivation rec {
3stdenv.mkDerivation rec {
4− name = "e2fsprogs-1.44.1";
4+ name = "e2fsprogs-1.44.2";
5
5
6 src = fetchurl {
6 src = fetchurl {
7 url = "mirror://sourceforge/e2fsprogs/${name}.tar.gz";
7 url = "mirror://sourceforge/e2fsprogs/${name}.tar.gz";
8− sha256 = "1rn1nvp8kcvjmbh2bxrjfbrz7zz519d52rrxqvc50l0hzs6hda55";
8+ sha256 = "0s3znfy26as63gdbskm6pxh3i1106bpxf2jh9dppd8d9lidmmh75";
9 };
9 };
10
10
11 outputs = [ "bin" "dev" "out" "man" "info" ];
11 outputs = [ "bin" "dev" "out" "man" "info" ];
pkgs/tools/filesystems/netatalk/default.nix+1−1
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec{
21 buildInputs = [ db libgcrypt avahi libiconv pam openssl acl ];
21 buildInputs = [ db libgcrypt avahi libiconv pam openssl acl ];
22
22
23 configureFlags = [
23 configureFlags = [
24− "--with-bdb=${db}"
24+ "--with-bdb=${db.dev}"
25 "--with-ssl-dir=${openssl.dev}"
25 "--with-ssl-dir=${openssl.dev}"
26 "--with-lockfile=/run/lock/netatalk"
26 "--with-lockfile=/run/lock/netatalk"
27 "--localstatedir=/var/lib"
27 "--localstatedir=/var/lib"
pkgs/tools/graphics/graphviz/base.nix+7
@@ -43,6 +43,13 @@ stdenv.mkDerivation rec {
43 done
43 done
44 '';
44 '';
45
45
46+ # ''
47+ # substituteInPlace rtest/rtest.sh \
48+ # --replace "/bin/ksh" "${mksh}/bin/mksh"
49+ # '';
50+
51+ doCheck = false; # fails with "Graphviz test suite requires ksh93" which is not in nixpkgs
52+
46 preAutoreconf = "./autogen.sh";
53 preAutoreconf = "./autogen.sh";
47
54
48 postFixup = optionalString (xorg != null) ''
55 postFixup = optionalString (xorg != null) ''
pkgs/tools/inputmethods/ibus/default.nix+1
@@ -125,6 +125,7 @@ stdenv.mkDerivation rec {
125
125
126 enableParallelBuilding = true;
126 enableParallelBuilding = true;
127
127
128+ doCheck = false; # requires X11 daemon
128 doInstallCheck = true;
129 doInstallCheck = true;
129 installCheckPhase = "$out/bin/ibus version";
130 installCheckPhase = "$out/bin/ibus version";
130
131
pkgs/tools/misc/bc/default.nix+1−1
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
26 # Hack to make sure we never to the relaxation `$PATH` and hooks support for
26 # Hack to make sure we never to the relaxation `$PATH` and hooks support for
27 # compatability. This will be replaced with something clearer in a future
27 # compatability. This will be replaced with something clearer in a future
28 # masss-rebuild.
28 # masss-rebuild.
29− crossConfig = true;
29+ strictDeps = true;
30
30
31 meta = {
31 meta = {
32 description = "GNU software calculator";
32 description = "GNU software calculator";
pkgs/tools/misc/bogofilter/default.nix+2
@@ -12,6 +12,8 @@ stdenv.mkDerivation rec {
12
12
13 buildInputs = [ flex db ];
13 buildInputs = [ flex db ];
14
14
15+ doCheck = false; # needs "y" tool
16+
15 meta = {
17 meta = {
16 homepage = http://bogofilter.sourceforge.net/;
18 homepage = http://bogofilter.sourceforge.net/;
17 longDescription = ''
19 longDescription = ''
pkgs/tools/misc/ethtool/default.nix+2−2
@@ -2,11 +2,11 @@
2
2
3stdenv.mkDerivation rec {
3stdenv.mkDerivation rec {
4 name = "ethtool-${version}";
4 name = "ethtool-${version}";
5− version = "4.15";
5+ version = "4.16";
6
6
7 src = fetchurl {
7 src = fetchurl {
8 url = "mirror://kernel/software/network/ethtool/${name}.tar.xz";
8 url = "mirror://kernel/software/network/ethtool/${name}.tar.xz";
9− sha256 = "06pr3s7wg2pbvfbf7js61bgh3caff4qf50nqqk3cgz9z90rgvxvi";
9+ sha256 = "00ss07jc7p276d83f6jpafgwyc9yiribciyqcgx9j86v49kpm5py";
10 };
10 };
11
11
12 meta = with stdenv.lib; {
12 meta = with stdenv.lib; {
pkgs/tools/misc/file/default.nix+2−2
@@ -2,14 +2,14 @@
2
2
3stdenv.mkDerivation rec {
3stdenv.mkDerivation rec {
4 name = "file-${version}";
4 name = "file-${version}";
5− version = "5.32";
5+ version = "5.33";
6
6
7 src = fetchurl {
7 src = fetchurl {
8 urls = [
8 urls = [
9 "ftp://ftp.astron.com/pub/file/${name}.tar.gz"
9 "ftp://ftp.astron.com/pub/file/${name}.tar.gz"
10 "https://distfiles.macports.org/file/${name}.tar.gz"
10 "https://distfiles.macports.org/file/${name}.tar.gz"
11 ];
11 ];
12− sha256 = "0l1bfa0icng9vdwya00ff48fhvjazi5610ylbhl35qi13d6xqfc6";
12+ sha256 = "1iipnwjkag7q04zjkaqic41r9nlw0ml6mhqian6qkkbisb1whlhw";
13 };
13 };
14
14
15 nativeBuildInputs = stdenv.lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) file;
15 nativeBuildInputs = stdenv.lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) file;
pkgs/tools/misc/fontforge/default.nix+3−1
@@ -57,6 +57,9 @@ stdenv.mkDerivation rec {
57 ./bootstrap --skip-git --gnulib-srcdir=./gnulib
57 ./bootstrap --skip-git --gnulib-srcdir=./gnulib
58 '';
58 '';
59
59
60+ doCheck = false; # tries to wget some fonts
61+ doInstallCheck = doCheck;
62+
60 postInstall =
63 postInstall =
61 # get rid of the runtime dependency on python
64 # get rid of the runtime dependency on python
62 lib.optionalString (!withPython) ''
65 lib.optionalString (!withPython) ''
@@ -72,4 +75,3 @@ stdenv.mkDerivation rec {
72 license = stdenv.lib.licenses.bsd3;
75 license = stdenv.lib.licenses.bsd3;
73 };
76 };
74}
77}
75−
pkgs/tools/misc/parallel/default.nix+2−2
@@ -1,11 +1,11 @@
1{ fetchurl, stdenv, perl, makeWrapper, procps }:
1{ fetchurl, stdenv, perl, makeWrapper, procps }:
2
2
3stdenv.mkDerivation rec {
3stdenv.mkDerivation rec {
4− name = "parallel-20180322";
4+ name = "parallel-20180422";
5
5
6 src = fetchurl {
6 src = fetchurl {
7 url = "mirror://gnu/parallel/${name}.tar.bz2";
7 url = "mirror://gnu/parallel/${name}.tar.bz2";
8− sha256 = "15v46pv4z98xm3fkwy7335faw4r7pilrxp4xis5a4zi4319sv2b3";
8+ sha256 = "0xsfpbxwgd4197gra981iv0nmjfk58c0d88dxx6dh6yrqz523klx";
9 };
9 };
10
10
11 nativeBuildInputs = [ makeWrapper perl ];
11 nativeBuildInputs = [ makeWrapper perl ];
pkgs/tools/misc/thin-provisioning-tools/default.nix+19−3
@@ -1,20 +1,36 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook, expat, libaio, boost }:
1+{ stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, expat, libaio, boost }:
2
2
3stdenv.mkDerivation rec {
3stdenv.mkDerivation rec {
4 name = "thin-provisioning-tools-${version}";
4 name = "thin-provisioning-tools-${version}";
5− version = "0.7.5";
5+ version = "0.7.6";
6
6
7 src = fetchFromGitHub {
7 src = fetchFromGitHub {
8 owner = "jthornber";
8 owner = "jthornber";
9 repo = "thin-provisioning-tools";
9 repo = "thin-provisioning-tools";
10 rev = "v${version}";
10 rev = "v${version}";
11− sha256 = "1ibg5wxrbqg4pr3f6aacqm42fxpwn5q00j8ldy9mw4an3ck41cwa";
11+ sha256 = "175mk3krfdmn43cjw378s32hs62gq8fmq549rjmyc651sz6jnj0g";
12 };
12 };
13
13
14 nativeBuildInputs = [ autoreconfHook ];
14 nativeBuildInputs = [ autoreconfHook ];
15
15
16 buildInputs = [ expat libaio boost ];
16 buildInputs = [ expat libaio boost ];
17
17
18+ patches = [
19+ (fetchpatch {
20+ # a) Fix build if limits.h provides definition for PAGE_SIZE, as musl does w/musl per XSI[1] although it's apparently optional [2].
21+ # This value is only provided when it's known to be a constant, to avoid the need to discover the value dynamically.
22+ # b) If not using system-provided (kernel headers, or libc headers, or something) use the POSIX approach of querying the value
23+ # dynamically using sysconf(_SC_PAGE_SIZE) instead of hardcoded value that hopefully is correct.
24+ # [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/limits.h.html
25+ # [2] http://www.openwall.com/lists/musl/2015/09/11/8
26+ url = "https://raw.githubusercontent.com/voidlinux/void-packages/a0ece13ad7ab2aae760e09e41e0459bd999a3695/srcpkgs/thin-provisioning-tools/patches/musl.patch";
27+ sha256 = "1m8r3vhrnsy8drgs0svs3fgpi3mmxzdcqsv6bmvc0j52cvfqvhvy";
28+ extraPrefix = ""; # empty means add 'a/' and 'b/'
29+ })
30+ ];
31+
32+ enableParallelBuilding = true;
33+
18 meta = with stdenv.lib; {
34 meta = with stdenv.lib; {
19 homepage = https://github.com/jthornber/thin-provisioning-tools/;
35 homepage = https://github.com/jthornber/thin-provisioning-tools/;
20 description = "A suite of tools for manipulating the metadata of the dm-thin device-mapper target";
36 description = "A suite of tools for manipulating the metadata of the dm-thin device-mapper target";
pkgs/tools/networking/atftp/default.nix+2
@@ -14,6 +14,8 @@ stdenv.mkDerivation rec {
14 # Expects pre-GCC5 inline semantics
14 # Expects pre-GCC5 inline semantics
15 NIX_CFLAGS_COMPILE = "-std=gnu89";
15 NIX_CFLAGS_COMPILE = "-std=gnu89";
16
16
17+ doCheck = false; # fails
18+
17 meta = {
19 meta = {
18 description = "Advanced tftp tools";
20 description = "Advanced tftp tools";
19 maintainers = [ lib.maintainers.raskin ];
21 maintainers = [ lib.maintainers.raskin ];
pkgs/tools/networking/curl/default.nix+6−4
@@ -24,14 +24,14 @@ assert brotliSupport -> brotli != null;
24assert gssSupport -> kerberos != null;
24assert gssSupport -> kerberos != null;
25
25
26stdenv.mkDerivation rec {
26stdenv.mkDerivation rec {
27− name = "curl-7.59.0";
27+ name = "curl-7.60.0";
28
28
29 src = fetchurl {
29 src = fetchurl {
30 urls = [
30 urls = [
31 "https://github.com/curl/curl/releases/download/${lib.replaceStrings ["."] ["_"] name}/${name}.tar.bz2"
31 "https://github.com/curl/curl/releases/download/${lib.replaceStrings ["."] ["_"] name}/${name}.tar.bz2"
32 "https://curl.haxx.se/download/${name}.tar.bz2"
32 "https://curl.haxx.se/download/${name}.tar.bz2"
33 ];
33 ];
34− sha256 = "185mazhi4bc5mc6rvhrmnc67j8l3sg7f0w2hp5gmi5ccdbyhz4mm";
34+ sha256 = "16qyhy9alq2wk6zgqhh5dchr45f6nxaqzy3rh8rbx6dx0hignzc9";
35 };
35 };
36
36
37 outputs = [ "bin" "dev" "out" "man" "devdoc" ];
37 outputs = [ "bin" "dev" "out" "man" "devdoc" ];
@@ -76,8 +76,10 @@ stdenv.mkDerivation rec {
76 ++ stdenv.lib.optional c-aresSupport "--enable-ares=${c-ares}"
76 ++ stdenv.lib.optional c-aresSupport "--enable-ares=${c-ares}"
77 ++ stdenv.lib.optional gssSupport "--with-gssapi=${kerberos.dev}";
77 ++ stdenv.lib.optional gssSupport "--with-gssapi=${kerberos.dev}";
78
78
79− CXX = "c++";
79+ CXX = "${stdenv.cc.targetPrefix}c++";
80− CXXCPP = "c++ -E";
80+ CXXCPP = "${stdenv.cc.targetPrefix}c++ -E";
81+
82+ doCheck = false; # expensive, fails
81
83
82 postInstall = ''
84 postInstall = ''
83 moveToOutput bin/curl-config "$dev"
85 moveToOutput bin/curl-config "$dev"
pkgs/tools/networking/dhcp/default.nix+2−2
@@ -4,11 +4,11 @@
4
4
5stdenv.mkDerivation rec {
5stdenv.mkDerivation rec {
6 name = "dhcp-${version}";
6 name = "dhcp-${version}";
7− version = "4.3.6-P1";
7+ version = "4.4.1";
8
8
9 src = fetchurl {
9 src = fetchurl {
10 url = "http://ftp.isc.org/isc/dhcp/${version}/${name}.tar.gz";
10 url = "http://ftp.isc.org/isc/dhcp/${version}/${name}.tar.gz";
11− sha256 = "1hx3az6ckvgvybr1ag4k9kqr8zfcpzcww4vpw5gz0mi8y2z7gl9g";
11+ sha256 = "025nfqx4zwdgv4b3rkw26ihcj312vir08jk6yi57ndmb4a4m08ia";
12 };
12 };
13
13
14 patches =
14 patches =
pkgs/tools/networking/maildrop/default.nix+2
@@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
13
13
14 patches = [ ./maildrop.configure.hack.patch ]; # for building in chroot
14 patches = [ ./maildrop.configure.hack.patch ]; # for building in chroot
15
15
16+ doCheck = false; # fails with "setlocale: LC_ALL: cannot change locale (en_US.UTF-8)"
17+
16 meta = with stdenv.lib; {
18 meta = with stdenv.lib; {
17 homepage = http://www.courier-mta.org/maildrop/;
19 homepage = http://www.courier-mta.org/maildrop/;
18 description = "Mail filter/mail delivery agent that is used by the Courier Mail Server";
20 description = "Mail filter/mail delivery agent that is used by the Courier Mail Server";
pkgs/tools/networking/network-manager/default.nix+2
@@ -85,6 +85,8 @@ in stdenv.mkDerivation rec {
85
85
86 nativeBuildInputs = [ autoreconfHook intltool pkgconfig libxslt docbook_xsl ];
86 nativeBuildInputs = [ autoreconfHook intltool pkgconfig libxslt docbook_xsl ];
87
87
88+ doCheck = false; # requires /sys, the net
89+
88 preInstall = ''
90 preInstall = ''
89 installFlagsArray=( "sysconfdir=$out/etc" "localstatedir=$out/var" "runstatedir=$out/var/run" )
91 installFlagsArray=( "sysconfdir=$out/etc" "localstatedir=$out/var" "runstatedir=$out/var/run" )
90 '';
92 '';
pkgs/tools/networking/openssh/default.nix+8−7
@@ -12,26 +12,27 @@ let
12 # **please** update this patch when you update to a new openssh release.
12 # **please** update this patch when you update to a new openssh release.
13 gssapiPatch = fetchpatch {
13 gssapiPatch = fetchpatch {
14 name = "openssh-gssapi.patch";
14 name = "openssh-gssapi.patch";
15− url = "https://anonscm.debian.org/cgit/pkg-ssh/openssh.git/plain/debian"
15+ url = "https://salsa.debian.org/ssh-team/openssh/raw/"
16+ + "e395eed38096fcda74398424ea94de3ec44effd5"
16− + "/patches/gssapi.patch?id=1e0d55f9163793742d20eaadd4784db16fd3459d";
17+ + "/debian/patches/gssapi.patch";
17− sha256 = "130phj87q87p9crigd6852nnaqsqkfg09h45a32lk4524h9kkxgb";
18+ sha256 = "0x7xysgdahb4jaq0f28g2d7yzp0d3mh59i4xnffszvjndhvbk27x";
18 };
19 };
19
20
20in
21in
21with stdenv.lib;
22with stdenv.lib;
22stdenv.mkDerivation rec {
23stdenv.mkDerivation rec {
23 name = "openssh-${version}";
24 name = "openssh-${version}";
24− version = if hpnSupport then "7.6p1" else "7.6p1";
25+ version = if hpnSupport then "7.7p1" else "7.7p1";
25
26
26 src = if hpnSupport then
27 src = if hpnSupport then
27 fetchurl {
28 fetchurl {
28− url = "https://github.com/rapier1/openssh-portable/archive/hpn-KitchenSink-7_6_P1.tar.gz";
29+ url = "https://github.com/rapier1/openssh-portable/archive/hpn-KitchenSink-7_7_P1.tar.gz";
29− sha256 = "15b1zjk9f3jlxji1vpqfla40cnzy8hv2clk925cvpgz7lqgv4a1d";
30+ sha256 = "1l4k8mg3gnzxbz53cma8s6ak56waz03ijsr08p8vgpi0c2rc5ri5";
30 }
31 }
31 else
32 else
32 fetchurl {
33 fetchurl {
33 url = "mirror://openbsd/OpenSSH/portable/${name}.tar.gz";
34 url = "mirror://openbsd/OpenSSH/portable/${name}.tar.gz";
34− sha256 = "08qpsb8mrzcx8wgvz9insiyvq7sbg26yj5nvl2m5n57yvppcl8x3";
35+ sha256 = "13vbbrvj3mmfhj83qyrg5c0ipr6bzw5s65dy4k8gr7p9hkkfffyp";
35 };
36 };
36
37
37 patches =
38 patches =
pkgs/tools/networking/openssh/dont_create_privsep_path.patch+9−8
@@ -1,11 +1,12 @@
1−diff -ur openssh-7.2p2_orig/Makefile.in openssh-7.2p2/Makefile.in
1+diff --git i/Makefile.in w/Makefile.in
2−--- openssh-7.2p2_orig/Makefile.in 2016-03-09 19:04:48.000000000 +0100
2+index 04e1c8e5..9bd5d01b 100644
3−+++ openssh-7.2p2/Makefile.in 2016-07-16 09:56:05.643903293 +0200
3+--- i/Makefile.in
4−@@ -301,7 +301,6 @@
4++++ w/Makefile.in
5+@@ -329,7 +329,6 @@ install-files:
5− $(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/$(mansubdir)5
6+ $(MKDIR_P) $(DESTDIR)$(mandir)/$(mansubdir)5
6− $(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/$(mansubdir)8
7+ $(MKDIR_P) $(DESTDIR)$(mandir)/$(mansubdir)8
7− $(srcdir)/mkinstalldirs $(DESTDIR)$(libexecdir)
8+ $(MKDIR_P) $(DESTDIR)$(libexecdir)
8−- (umask 022 ; $(srcdir)/mkinstalldirs $(DESTDIR)$(PRIVSEP_PATH))
9+- $(MKDIR_P) -m 0755 $(DESTDIR)$(PRIVSEP_PATH)
9 $(INSTALL) -m 0755 $(STRIP_OPT) ssh$(EXEEXT) $(DESTDIR)$(bindir)/ssh$(EXEEXT)
10 $(INSTALL) -m 0755 $(STRIP_OPT) ssh$(EXEEXT) $(DESTDIR)$(bindir)/ssh$(EXEEXT)
10 $(INSTALL) -m 0755 $(STRIP_OPT) scp$(EXEEXT) $(DESTDIR)$(bindir)/scp$(EXEEXT)
11 $(INSTALL) -m 0755 $(STRIP_OPT) scp$(EXEEXT) $(DESTDIR)$(bindir)/scp$(EXEEXT)
11 $(INSTALL) -m 0755 $(STRIP_OPT) ssh-add$(EXEEXT) $(DESTDIR)$(bindir)/ssh-add$(EXEEXT)
12 $(INSTALL) -m 0755 $(STRIP_OPT) ssh-add$(EXEEXT) $(DESTDIR)$(bindir)/ssh-add$(EXEEXT)
pkgs/tools/networking/openssh/locale_archive.patch+9−9
@@ -1,15 +1,15 @@
1−diff --git a/session.c b/session.c
1+diff --git i/session.c w/session.c
2−index e032de6..44db2bb 100644
2+index 58826db1..658dd911 100644
3−--- a/session.c
3+--- i/session.c
4−+++ b/session.c
4++++ w/session.c
5−@@ -1196,6 +1196,10 @@ do_setup_env(Session *s, const char *shell)
5+@@ -1053,6 +1053,10 @@ do_setup_env(struct ssh *ssh, Session *s, const char *shell)
6 if (getenv("TZ"))
6 if (getenv("TZ"))
7 child_set_env(&env, &envsize, "TZ", getenv("TZ"));
7 child_set_env(&env, &envsize, "TZ", getenv("TZ"));
8
8
9−+ /* NixOS path to the glibc locale archive, to be set in the upstart job */
9++ /* NixOS path to the glibc locale archive, to be set in the systemd job */
10+ if (getenv("LOCALE_ARCHIVE"))
10+ if (getenv("LOCALE_ARCHIVE"))
11+ child_set_env(&env, &envsize, "LOCALE_ARCHIVE", getenv("LOCALE_ARCHIVE"));
11+ child_set_env(&env, &envsize, "LOCALE_ARCHIVE", getenv("LOCALE_ARCHIVE"));
12+
12+
13− /* Set custom environment options from RSA authentication. */
13+ /* Set custom environment options from pubkey authentication. */
14− if (!options.use_login) {
14+ if (options.permit_user_env) {
15− while (custom_environment) {
15+ for (n = 0 ; n < auth_opts->nenv; n++) {
pkgs/tools/networking/tcpdump/default.nix+4−8
@@ -1,6 +1,4 @@
1−{ stdenv, fetchurl, fetchpatch, libpcap, enableStatic ? false
1+{ stdenv, fetchurl, fetchpatch, libpcap }:
2−, hostPlatform
3−}:
4
2
5stdenv.mkDerivation rec {
3stdenv.mkDerivation rec {
6 name = "tcpdump-${version}";
4 name = "tcpdump-${version}";
@@ -20,11 +18,9 @@ stdenv.mkDerivation rec {
20
18
21 buildInputs = [ libpcap ];
19 buildInputs = [ libpcap ];
22
20
23− crossAttrs = {
24− LDFLAGS = if enableStatic then "-static" else "";
25− configureFlags = [ "ac_cv_linux_vers=2" ] ++ (stdenv.lib.optional
21+ configureFlags = stdenv.lib.optional
26− (hostPlatform.platform.kernelMajor or null == "2.4") "--disable-ipv6");
22+ (stdenv.hostPlatform != stdenv.buildPlatform)
27− };
23+ "ac_cv_linux_vers=2";
28
24
29 meta = {
25 meta = {
30 description = "Network sniffer";
26 description = "Network sniffer";
pkgs/tools/networking/unbound/default.nix+2−2
@@ -2,11 +2,11 @@
2
2
3stdenv.mkDerivation rec {
3stdenv.mkDerivation rec {
4 name = "unbound-${version}";
4 name = "unbound-${version}";
5− version = "1.7.0";
5+ version = "1.7.1";
6
6
7 src = fetchurl {
7 src = fetchurl {
8 url = "https://unbound.net/downloads/${name}.tar.gz";
8 url = "https://unbound.net/downloads/${name}.tar.gz";
9− sha256 = "18i6p6zqmbs9gj57mz3iwz828csaab26gb534b8wrn0kzdqr1pcl";
9+ sha256 = "13b210hd200xxvaffyzqb4g58knv1sfigph70ai74lrcb3pqbq2n";
10 };
10 };
11
11
12 outputs = [ "out" "lib" "man" ]; # "dev" would only split ~20 kB
12 outputs = [ "out" "lib" "man" ]; # "dev" would only split ~20 kB
pkgs/tools/package-management/apt/default.nix+1−1
@@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
38 export PERL5LIB="$PERL5LIB''${PERL5LIB:+:}${Po4a}/lib/perl5";
38 export PERL5LIB="$PERL5LIB''${PERL5LIB:+:}${Po4a}/lib/perl5";
39
39
40 cmakeFlagsArray+=(
40 cmakeFlagsArray+=(
41− -DBERKELEY_DB_INCLUDE_DIRS="${db}"/include
41+ -DBERKELEY_DB_INCLUDE_DIRS=${db.dev}/include
42 -DDOCBOOK_XSL="${docbook_xsl}"/share/xml/docbook-xsl
42 -DDOCBOOK_XSL="${docbook_xsl}"/share/xml/docbook-xsl
43 -DROOT_GROUP=root
43 -DROOT_GROUP=root
44 -DWITH_DOC=${if withDocs then "ON" else "OFF"}
44 -DWITH_DOC=${if withDocs then "ON" else "OFF"}
pkgs/tools/security/gnupg/22.nix+2−2
@@ -15,11 +15,11 @@ assert guiSupport -> pinentry != null;
15stdenv.mkDerivation rec {
15stdenv.mkDerivation rec {
16 name = "gnupg-${version}";
16 name = "gnupg-${version}";
17
17
18− version = "2.2.6";
18+ version = "2.2.7";
19
19
20 src = fetchurl {
20 src = fetchurl {
21 url = "mirror://gnupg/gnupg/${name}.tar.bz2";
21 url = "mirror://gnupg/gnupg/${name}.tar.bz2";
22− sha256 = "110rf476l3cgn52gh9ia5y0y06y2ialq9dqc12jkhnfhl9gqqkg6";
22+ sha256 = "0vlpis0q7gvq9mhdc43hkyn3cdriz4mwgj20my3gyzpgwqg3cnyr";
23 };
23 };
24
24
25 nativeBuildInputs = [ pkgconfig ];
25 nativeBuildInputs = [ pkgconfig ];
pkgs/tools/security/nmap/default.nix+2
@@ -53,6 +53,8 @@ in stdenv.mkDerivation rec {
53 libX11 gtk2 pygtk pysqlite pygobject2 pycairo
53 libX11 gtk2 pygtk pysqlite pygobject2 pycairo
54 ];
54 ];
55
55
56+ doCheck = false; # fails 3 tests, probably needs the net
57+
56 meta = {
58 meta = {
57 description = "A free and open source utility for network discovery and security auditing";
59 description = "A free and open source utility for network discovery and security auditing";
58 homepage = http://www.nmap.org;
60 homepage = http://www.nmap.org;
pkgs/tools/security/rhash/default.nix+2
@@ -16,6 +16,8 @@ stdenv.mkDerivation rec {
16 # configure script is not autotools-based, doesn't support these options
16 # configure script is not autotools-based, doesn't support these options
17 configurePlatforms = [ ];
17 configurePlatforms = [ ];
18
18
19+ doCheck = false; # fails
20+
19 installTargets = [ "install" "install-lib-shared" "install-lib-so-link" ];
21 installTargets = [ "install" "install-lib-shared" "install-lib-so-link" ];
20 postInstall = "make -C librhash install-headers";
22 postInstall = "make -C librhash install-headers";
21
23
pkgs/tools/security/rng-tools/default.nix+3
@@ -9,6 +9,9 @@ stdenv.mkDerivation rec {
9 sha256 = "13h7lc8wl9khhvkr0i3bl5j9bapf8anhqis1lcnwxg1vc2v058b0";
9 sha256 = "13h7lc8wl9khhvkr0i3bl5j9bapf8anhqis1lcnwxg1vc2v058b0";
10 };
10 };
11
11
12+ # For cross-compilation
13+ makeFlags = [ "AR:=$(AR)" ];
14+
12 meta = {
15 meta = {
13 description = "A random number generator daemon";
16 description = "A random number generator daemon";
14
17
pkgs/tools/security/sudo/default.nix+2
@@ -56,6 +56,8 @@ stdenv.mkDerivation rec {
56
56
57 enableParallelBuilding = true;
57 enableParallelBuilding = true;
58
58
59+ doCheck = false; # needs root
60+
59 postInstall =
61 postInstall =
60 ''
62 ''
61 rm -f $out/share/doc/sudo/ChangeLog
63 rm -f $out/share/doc/sudo/ChangeLog
pkgs/tools/system/at/default.nix+9−6
@@ -33,12 +33,15 @@ stdenv.mkDerivation rec {
33 substituteInPlace ./configure --replace "test -d /var/run" "true"
33 substituteInPlace ./configure --replace "test -d /var/run" "true"
34 '';
34 '';
35
35
36− configureFlags =
36+ configureFlags = [
37− ''
38− --with-etcdir=/etc/at
37+ "--with-etcdir=/etc/at"
38+ "--with-jobdir=/var/spool/atjobs"
39− --with-jobdir=/var/spool/atjobs --with-atspool=/var/spool/atspool
39+ "--with-atspool=/var/spool/atspool"
40+ "--with-daemon_username=atd"
40− --with-daemon_username=atd --with-daemon_groupname=atd
41+ "--with-daemon_groupname=atd"
41− '';
42+ ];
43+
44+ doCheck = false; # need "prove" tool
42
45
43 # Ensure that "batch" can invoke the setuid "at" wrapper, if it exists, or
46 # Ensure that "batch" can invoke the setuid "at" wrapper, if it exists, or
44 # else we get permission errors (on NixOS). "batch" is a shell script, so
47 # else we get permission errors (on NixOS). "batch" is a shell script, so
pkgs/tools/system/pciutils/default.nix+8−2
@@ -11,7 +11,14 @@ stdenv.mkDerivation rec {
11 nativeBuildInputs = [ pkgconfig ];
11 nativeBuildInputs = [ pkgconfig ];
12 buildInputs = [ zlib kmod which ];
12 buildInputs = [ zlib kmod which ];
13
13
14+ makeFlags = [
15+ "SHARED=yes"
16+ "PREFIX=\${out}"
17+ "STRIP="
18+ "HOST=${stdenv.hostPlatform.system}"
14− makeFlags = [ "SHARED=yes" "PREFIX=\${out}" "STRIP=" "HOST=${stdenv.hostPlatform.system}" "CROSS_COMPILE=${stdenv.cc.targetPrefix}" ];
19+ "CROSS_COMPILE=${stdenv.cc.targetPrefix}"
20+ "DNS=yes"
21+ ];
15
22
16 installTargets = "install install-lib";
23 installTargets = "install install-lib";
17
24
@@ -26,4 +33,3 @@ stdenv.mkDerivation rec {
26 maintainers = [ maintainers.vcunat ]; # not really, but someone should watch it
33 maintainers = [ maintainers.vcunat ]; # not really, but someone should watch it
27 };
34 };
28}
35}
29−
pkgs/tools/system/runit/default.nix+6−2
@@ -13,6 +13,10 @@ stdenv.mkDerivation rec {
13 sha256 = "065s8w62r6chjjs6m9hapcagy33m75nlnxb69vg0f4ngn061dl3g";
13 sha256 = "065s8w62r6chjjs6m9hapcagy33m75nlnxb69vg0f4ngn061dl3g";
14 };
14 };
15
15
16+ patches = [
17+ ./fix-ar-ranlib.patch
18+ ];
19+
16 outputs = [ "out" "man" ];
20 outputs = [ "out" "man" ];
17
21
18 sourceRoot = "admin/${name}";
22 sourceRoot = "admin/${name}";
@@ -34,8 +38,8 @@ stdenv.mkDerivation rec {
34 cd src
38 cd src
35
39
36 # Both of these are originally hard-coded to gcc
40 # Both of these are originally hard-coded to gcc
37− echo cc > conf-cc
41+ echo ${stdenv.cc.targetPrefix}cc > conf-cc
38− echo cc > conf-ld
42+ echo ${stdenv.cc.targetPrefix}cc > conf-ld
39 '';
43 '';
40
44
41 installPhase = ''
45 installPhase = ''
pkgs/tools/system/runit/fix-ar-ranlib.patchnew file+18
@@ -0,0 +1,18 @@
1+--- runit-2.1.2/src/print-ar.sh
2++++ runit-2.1.2/src/print-ar.sh
3+@@ -1,7 +1,7 @@
4+ cat warn-auto.sh
5+ echo 'main="$1"; shift'
6+ echo 'rm -f "$main"'
7+-echo 'ar cr "$main" ${1+"$@"}'
8++echo '$AR cr "$main" ${1+"$@"}'
9+ case "`cat systype`" in
10+ sunos-5.*) ;;
11+ unix_sv*) ;;
12+@@ -10,5 +10,5 @@ case "`cat systype`" in
13+ dgux-*) ;;
14+ hp-ux-*) ;;
15+ sco*) ;;
16+- *) echo 'ranlib "$main"' ;;
17++ *) echo '$RANLIB "$main"' ;;
18+ esac
pkgs/tools/text/gnupatch/CVE-2018-6951.patchnew file+28
@@ -0,0 +1,28 @@
1+From f290f48a621867084884bfff87f8093c15195e6a Mon Sep 17 00:00:00 2001
2+From: Andreas Gruenbacher <agruen@gnu.org>
3+Date: Mon, 12 Feb 2018 16:48:24 +0100
4+Subject: Fix segfault with mangled rename patch
5+
6+http://savannah.gnu.org/bugs/?53132
7+* src/pch.c (intuit_diff_type): Ensure that two filenames are specified
8+for renames and copies (fix the existing check).
9+---
10+ src/pch.c | 3 ++-
11+ 1 file changed, 2 insertions(+), 1 deletion(-)
12+
13+diff --git a/src/pch.c b/src/pch.c
14+index ff9ed2c..bc6278c 100644
15+--- a/src/pch.c
16++++ b/src/pch.c
17+@@ -974,7 +974,8 @@ intuit_diff_type (bool need_header, mode_t *p_file_type)
18+ if ((pch_rename () || pch_copy ())
19+ && ! inname
20+ && ! ((i == OLD || i == NEW) &&
21+- p_name[! reverse] &&
22++ p_name[reverse] && p_name[! reverse] &&
23++ name_is_valid (p_name[reverse]) &&
24+ name_is_valid (p_name[! reverse])))
25+ {
26+ say ("Cannot %s file without two valid file names\n", pch_rename () ? "rename" : "copy");
27+--
28+cgit v1.0-41-gc330
pkgs/tools/text/gnupatch/default.nix+5
@@ -11,6 +11,11 @@ stdenv.mkDerivation rec {
11 sha256 = "1zfqy4rdcy279vwn2z1kbv19dcfw25d2aqy9nzvdkq5bjzd0nqdc";
11 sha256 = "1zfqy4rdcy279vwn2z1kbv19dcfw25d2aqy9nzvdkq5bjzd0nqdc";
12 };
12 };
13
13
14+ patches = [
15+ # https://git.savannah.gnu.org/cgit/patch.git/patch/?id=f290f48a621867084884bfff87f8093c15195e6a
16+ ./CVE-2018-6951.patch
17+ ];
18+
14 buildInputs = stdenv.lib.optional doCheck ed;
19 buildInputs = stdenv.lib.optional doCheck ed;
15
20
16 configureFlags = stdenv.lib.optionals (hostPlatform != buildPlatform) [
21 configureFlags = stdenv.lib.optionals (hostPlatform != buildPlatform) [
pkgs/tools/text/gnused/default.nix+2−2
@@ -2,11 +2,11 @@
2
2
3stdenv.mkDerivation rec {
3stdenv.mkDerivation rec {
4 name = "gnused-${version}";
4 name = "gnused-${version}";
5− version = "4.4";
5+ version = "4.5";
6
6
7 src = fetchurl {
7 src = fetchurl {
8 url = "mirror://gnu/sed/sed-${version}.tar.xz";
8 url = "mirror://gnu/sed/sed-${version}.tar.xz";
9− sha256 = "0fv88bcnraixc8jvpacvxshi30p5x9m7yb8ns1hfv07hmb2ypmnb";
9+ sha256 = "0h3b2jfj57wmz680vkbyavlsrkak556qhvs7m7fdlawwhg477bbs";
10 };
10 };
11
11
12 outputs = [ "out" "info" ];
12 outputs = [ "out" "info" ];
pkgs/tools/text/groff/default.nix+6−7
@@ -50,15 +50,14 @@ stdenv.mkDerivation rec {
50 "ac_cv_path_PERL=${buildPackages.perl}/bin/perl"
50 "ac_cv_path_PERL=${buildPackages.perl}/bin/perl"
51 ];
51 ];
52
52
53− doCheck = true;
53+ makeFlags = stdenv.lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
54−
55− crossAttrs = {
56 # Trick to get the build system find the proper 'native' groff
54 # Trick to get the build system find the proper 'native' groff
57 # http://www.mail-archive.com/bug-groff@gnu.org/msg01335.html
55 # http://www.mail-archive.com/bug-groff@gnu.org/msg01335.html
58− preBuild = ''
59− makeFlags="GROFF_BIN_PATH=${buildPackages.groff}/bin GROFFBIN=${buildPackages.groff}/bin/groff"
56+ "GROFF_BIN_PATH=${buildPackages.groff}/bin"
57+ "GROFFBIN=${buildPackages.groff}/bin/groff"
60− '';
58+ ];
61− };
59+
60+ doCheck = true;
62
61
63 # Remove example output with (random?) colors and creation date
62 # Remove example output with (random?) colors and creation date
64 # to avoid non-determinism in the output.
63 # to avoid non-determinism in the output.
pkgs/tools/text/patchutils/default.nix+2
@@ -12,6 +12,8 @@ stdenv.mkDerivation rec {
12
12
13 hardeningDisable = [ "format" ];
13 hardeningDisable = [ "format" ];
14
14
15+ doCheck = false; # fails
16+
15 meta = with stdenv.lib; {
17 meta = with stdenv.lib; {
16 description = "Tools to manipulate patch files";
18 description = "Tools to manipulate patch files";
17 homepage = http://cyberelk.net/tim/software/patchutils;
19 homepage = http://cyberelk.net/tim/software/patchutils;
pkgs/tools/text/sgml/opensp/default.nix+2
@@ -32,6 +32,8 @@ stdenv.mkDerivation {
32 buildInputs = stdenv.lib.optionals stdenv.isCygwin [ autoconf automake gettext libiconv libtool ]
32 buildInputs = stdenv.lib.optionals stdenv.isCygwin [ autoconf automake gettext libiconv libtool ]
33 ++ [ xmlto docbook_xml_dtd_412 libxslt docbook_xsl ];
33 ++ [ xmlto docbook_xml_dtd_412 libxslt docbook_xsl ];
34
34
35+ doCheck = false; # fails
36+
35 meta = {
37 meta = {
36 description = "A suite of SGML/XML processing tools";
38 description = "A suite of SGML/XML processing tools";
37 license = stdenv.lib.licenses.mit;
39 license = stdenv.lib.licenses.mit;
pkgs/tools/typesetting/docbook2x/default.nix+8−6
@@ -6,7 +6,7 @@
6
6
7stdenv.mkDerivation rec {
7stdenv.mkDerivation rec {
8 name = "docbook2X-0.8.8";
8 name = "docbook2X-0.8.8";
9−
9+
10 src = fetchurl {
10 src = fetchurl {
11 url = "mirror://sourceforge/docbook2x/${name}.tar.gz";
11 url = "mirror://sourceforge/docbook2x/${name}.tar.gz";
12 sha256 = "0ifwzk99rzjws0ixzimbvs83x6cxqk1xzmg84wa1p7bs6rypaxs0";
12 sha256 = "0ifwzk99rzjws0ixzimbvs83x6cxqk1xzmg84wa1p7bs6rypaxs0";
@@ -27,6 +27,8 @@ stdenv.mkDerivation rec {
27 --replace '${"\$" + "{prefix}"}' "$out"
27 --replace '${"\$" + "{prefix}"}' "$out"
28 '';
28 '';
29
29
30+ doCheck = false; # fails a lot of tests
31+
30 postInstall = ''
32 postInstall = ''
31 perlPrograms="db2x_manxml db2x_texixml db2x_xsltproc
33 perlPrograms="db2x_manxml db2x_texixml db2x_xsltproc
32 docbook2man docbook2texi";
34 docbook2man docbook2texi";
@@ -34,12 +36,12 @@ stdenv.mkDerivation rec {
34 do
36 do
35 # XXX: We work around the fact that `wrapProgram' doesn't support
37 # XXX: We work around the fact that `wrapProgram' doesn't support
36 # spaces below by inserting escaped backslashes.
38 # spaces below by inserting escaped backslashes.
37− wrapProgram $out/bin/$i --prefix PERL5LIB : \
39+ wrapProgram $out/bin/$i --prefix PERL5LIB : \
38 "${XMLSAX}/lib/perl5/site_perl:${XMLSAXBase}/lib/perl5/site_perl:${XMLParser}/lib/perl5/site_perl" \
40 "${XMLSAX}/lib/perl5/site_perl:${XMLSAXBase}/lib/perl5/site_perl:${XMLParser}/lib/perl5/site_perl" \
39− --prefix PERL5LIB : \
41+ --prefix PERL5LIB : \
40− "${XMLNamespaceSupport}/lib/perl5/site_perl" \
42+ "${XMLNamespaceSupport}/lib/perl5/site_perl" \
41− --prefix XML_CATALOG_FILES "\ " \
43+ --prefix XML_CATALOG_FILES "\ " \
42− "$out/share/docbook2X/dtd/catalog.xml\ $out/share/docbook2X/xslt/catalog.xml\ ${docbook_xml_dtd_43}/xml/dtd/docbook/catalog.xml"
44+ "$out/share/docbook2X/dtd/catalog.xml\ $out/share/docbook2X/xslt/catalog.xml\ ${docbook_xml_dtd_43}/xml/dtd/docbook/catalog.xml"
43 done
45 done
44
46
45 wrapProgram $out/bin/sgml2xml-isoent --prefix PATH : \
47 wrapProgram $out/bin/sgml2xml-isoent --prefix PATH : \
pkgs/tools/typesetting/tex/texlive/bin.nix+2
@@ -204,6 +204,8 @@ core-big = stdenv.mkDerivation { #TODO: upmendex
204 CXXFLAGS = "-std=c++11 -Wno-reserved-user-defined-literal"; # TODO: remove once texlive 2018 is out?
204 CXXFLAGS = "-std=c++11 -Wno-reserved-user-defined-literal"; # TODO: remove once texlive 2018 is out?
205 enableParallelBuilding = true;
205 enableParallelBuilding = true;
206
206
207+ doCheck = false; # fails
208+
207 # now distribute stuff into outputs, roughly as upstream TL
209 # now distribute stuff into outputs, roughly as upstream TL
208 # (uninteresting stuff remains in $out, typically duplicates from `core`)
210 # (uninteresting stuff remains in $out, typically duplicates from `core`)
209 outputs = [ "out" "metafont" "metapost" "luatex" "xetex" ];
211 outputs = [ "out" "metafont" "metapost" "luatex" "xetex" ];
pkgs/top-level/aliases.nix+109−22
@@ -17,15 +17,27 @@ let
17 dontDistribute alias
17 dontDistribute alias
18 else alias;
18 else alias;
19
19
20+ # Make sure that we are not shadowing something from
21+ # all-packages.nix.
22+ checkInPkgs = n: alias: if builtins.hasAttr n self
23+ then throw "Alias ${n} is still in all-packages.nix"
24+ else alias;
25+
20 mapAliases = aliases:
26 mapAliases = aliases:
21− lib.mapAttrs (n: alias: removeDistribute (removeRecurseForDerivations alias)) aliases;
27+ lib.mapAttrs (n: alias: removeDistribute
28+ (removeRecurseForDerivations
29+ (checkInPkgs n alias)))
30+ aliases;
22in
31in
23
32
24 ### Deprecated aliases - for backward compatibility
33 ### Deprecated aliases - for backward compatibility
25
34
26mapAliases (rec {
35mapAliases (rec {
36+ PPSSPP = ppsspp; # added 2017-10-01
37+ QmidiNet = qmidinet; # added 2016-05-22
27 accounts-qt = libsForQt5.accounts-qt; # added 2015-12-19
38 accounts-qt = libsForQt5.accounts-qt; # added 2015-12-19
28 adobeReader = adobe-reader; # added 2013-11-04
39 adobeReader = adobe-reader; # added 2013-11-04
40+ ag = silver-searcher; # added 2018-04-25
29 aircrackng = aircrack-ng; # added 2016-01-14
41 aircrackng = aircrack-ng; # added 2016-01-14
30 ammonite-repl = ammonite; # added 2017-05-02
42 ammonite-repl = ammonite; # added 2017-05-02
31 arduino_core = arduino-core; # added 2015-02-04
43 arduino_core = arduino-core; # added 2015-02-04
@@ -48,95 +60,128 @@ mapAliases (rec {
48 cupsBjnp = cups-bjnp; # added 2016-01-02
60 cupsBjnp = cups-bjnp; # added 2016-01-02
49 cups_filters = cups-filters; # added 2016-08
61 cups_filters = cups-filters; # added 2016-08
50 cv = progress; # added 2015-09-06
62 cv = progress; # added 2015-09-06
63+ d1x_rebirth = dxx-rebirth; # added 2018-04-25
64+ d2x_rebirth = dxx-rebirth; # added 2018-04-25
65+ dbus_daemon = dbus.daemon; # added 2018-04-25
51 dbus_glib = dbus-glib; # added 2018-02-25
66 dbus_glib = dbus-glib; # added 2018-02-25
67+ dbus_libs = dbus; # added 2018-04-25
68+ dbus_tools = dbus.out; # added 2018-04-25
52 deadbeef-mpris2-plugin = deadbeefPlugins.mpris2; # added 2018-02-23
69 deadbeef-mpris2-plugin = deadbeefPlugins.mpris2; # added 2018-02-23
70+ deadpixi-sam = deadpixi-sam-unstable;
53 debian_devscripts = debian-devscripts; # added 2016-03-23
71 debian_devscripts = debian-devscripts; # added 2016-03-23
54 desktop_file_utils = desktop-file-utils; # added 2018-02-25
72 desktop_file_utils = desktop-file-utils; # added 2018-02-25
73+ devicemapper = lvm2; # added 2018-04-25
55 digikam5 = digikam; # added 2017-02-18
74 digikam5 = digikam; # added 2017-02-18
75+ dmtx = dmtx-utils; # added 2018-04-25
76+ docbook5_xsl = docbook_xsl_ns; # added 2018-04-25
77+ docbook_xml_xslt = docbook_xsl; # added 2018-04-25
56 double_conversion = double-conversion; # 2017-11-22
78 double_conversion = double-conversion; # 2017-11-22
57 dwarf_fortress = dwarf-fortress; # added 2016-01-23
79 dwarf_fortress = dwarf-fortress; # added 2016-01-23
80+ emacs25Macport_25_1 = emacs25Macport; # added 2018-04-25
58 enblendenfuse = enblend-enfuse; # 2015-09-30
81 enblendenfuse = enblend-enfuse; # 2015-09-30
59 evolution_data_server = evolution-data-server; # added 2018-02-25
82 evolution_data_server = evolution-data-server; # added 2018-02-25
83+ etcdctl = etcd; # added 2018-04-25
60 exfat-utils = exfat; # 2015-09-11
84 exfat-utils = exfat; # 2015-09-11
85+ fam = gamin; # added 2018-04-25
86+ ffadoFull = ffado; # added 2018-05-01
61 firefox-esr-wrapper = firefox-esr; # 2016-01
87 firefox-esr-wrapper = firefox-esr; # 2016-01
62 firefox-wrapper = firefox; # 2016-01
88 firefox-wrapper = firefox; # 2016-01
63 firefoxWrapper = firefox; # 2015-09
89 firefoxWrapper = firefox; # 2015-09
90+ flameGraph = flamegraph; # added 2018-04-25
64 font-awesome-ttf = font-awesome_4; # 2018-02-25
91 font-awesome-ttf = font-awesome_4; # 2018-02-25
65 foomatic_filters = foomatic-filters; # 2016-08
92 foomatic_filters = foomatic-filters; # 2016-08
66 fuse_exfat = exfat; # 2015-09-11
93 fuse_exfat = exfat; # 2015-09-11
67− gettextWithExpat = gettext; # 2016-02-19
94+ fuseki = apache-jena-fuseki; # added 2018-04-25
95+ gccApple = throw "gccApple is no longer supported"; # added 2018-04-25
68 gdb-multitarget = gdb; # added 2017-11-13
96 gdb-multitarget = gdb; # added 2017-11-13
97+ gettextWithExpat = gettext; # 2016-02-19
98+ gflags = google-gflags; # added 2018-04-25
69 git-hub = gitAndTools.git-hub; # added 2016-04-29
99 git-hub = gitAndTools.git-hub; # added 2016-04-29
70 glib_networking = glib-networking; # added 2018-02-25
100 glib_networking = glib-networking; # added 2018-02-25
71− go-pup = pup; # added 2017-12-19
101+ gmock = gtest; # added 2018-04-25
72− googleAuthenticator = google-authenticator; # added 2016-10-16
73− gnome_doc_utils = gnome-doc-utils; # added 2018-02-25
74 gnome-themes-standard = gnome-themes-extra; # added 2018-03-14
102 gnome-themes-standard = gnome-themes-extra; # added 2018-03-14
103+ gnome_doc_utils = gnome-doc-utils; # added 2018-02-25
75 gnome_themes_standard = gnome-themes-standard; # added 2018-02-25
104 gnome_themes_standard = gnome-themes-standard; # added 2018-02-25
105+ gnustep-make = gnustep.make; # added 2016-7-6
106+ go-pup = pup; # added 2017-12-19
107+ googleAuthenticator = google-authenticator; # added 2016-10-16
76 grantlee5 = libsForQt5.grantlee; # added 2015-12-19
108 grantlee5 = libsForQt5.grantlee; # added 2015-12-19
77 gsettings_desktop_schemas = gsettings-desktop-schemas; # added 2018-02-25
109 gsettings_desktop_schemas = gsettings-desktop-schemas; # added 2018-02-25
78 gst_ffmpeg = gst-ffmpeg; # added 2017-02
110 gst_ffmpeg = gst-ffmpeg; # added 2017-02
111+ gst_plugins_bad = gst-plugins-bad; # added 2017-02
79 gst_plugins_base = gst-plugins-base; # added 2017-02
112 gst_plugins_base = gst-plugins-base; # added 2017-02
80 gst_plugins_good = gst-plugins-good; # added 2017-02
113 gst_plugins_good = gst-plugins-good; # added 2017-02
81− gst_plugins_bad = gst-plugins-bad; # added 2017-02
82 gst_plugins_ugly = gst-plugins-ugly; # added 2017-02
114 gst_plugins_ugly = gst-plugins-ugly; # added 2017-02
83 gst_python = gst-python; # added 2017-02
115 gst_python = gst-python; # added 2017-02
84 gtk_doc = gtk-doc; # added 2018-02-25
116 gtk_doc = gtk-doc; # added 2018-02-25
85 guileCairo = guile-cairo; # added 2017-09-24
117 guileCairo = guile-cairo; # added 2017-09-24
86 guileGnome = guile-gnome; # added 2017-09-24
118 guileGnome = guile-gnome; # added 2017-09-24
87− guile_lib = guile-lib; # added 2017-09-24
88 guileLint = guile-lint; # added 2017-09-27
119 guileLint = guile-lint; # added 2017-09-27
120+ guile_lib = guile-lib; # added 2017-09-24
89 guile_ncurses = guile-ncurses; # added 2017-09-24
121 guile_ncurses = guile-ncurses; # added 2017-09-24
90 gupnp_av = gupnp-av; # added 2018-02-25
122 gupnp_av = gupnp-av; # added 2018-02-25
91 gupnp_dlna = gupnp-dlna; # added 2018-02-25
123 gupnp_dlna = gupnp-dlna; # added 2018-02-25
92 gupnp_igd = gupnp-igd; # added 2018-02-25
124 gupnp_igd = gupnp-igd; # added 2018-02-25
93 gupnptools = gupnp-tools; # added 2015-12-19
125 gupnptools = gupnp-tools; # added 2015-12-19
94− gnustep-make = gnustep.make; # added 2016-7-6
126+ heimdalFull = heimdal; # added 2018-05-01
95 hicolor_icon_theme = hicolor-icon-theme; # added 2018-02-25
127 hicolor_icon_theme = hicolor-icon-theme; # added 2018-02-25
96 htmlTidy = html-tidy; # added 2014-12-06
128 htmlTidy = html-tidy; # added 2014-12-06
97 iana_etc = iana-etc; # added 2017-03-08
129 iana_etc = iana-etc; # added 2017-03-08
98 idea = jetbrains; # added 2017-04-03
130 idea = jetbrains; # added 2017-04-03
99 inotifyTools = inotify-tools;
131 inotifyTools = inotify-tools;
132+ jack2Full = jack2; # added 2018-04-25
100 joseki = apache-jena-fuseki; # added 2016-02-28
133 joseki = apache-jena-fuseki; # added 2016-02-28
101 json_glib = json-glib; # added 2018-02-25
134 json_glib = json-glib; # added 2018-02-25
102 kdiff3-qt5 = kdiff3; # added 2017-02-18
135 kdiff3-qt5 = kdiff3; # added 2017-02-18
103− keepassx2-http = keepassx-reboot; # added 2016-10-17
136+ keepass-keefox = keepass-keepassrpc; # backwards compatibility alias, added 2018-02
104− keepassx-reboot = keepassx-community; # added 2017-02-01
105 keepassx-community = keepassxc; # added 2017-11
137 keepassx-community = keepassxc; # added 2017-11
138+ keepassx-reboot = keepassx-community; # added 2017-02-01
139+ keepassx2-http = keepassx-reboot; # added 2016-10-17
140+ kerberos = libkrb5; # added 2018-04-25
106 keybase-go = keybase; # added 2016-08-24
141 keybase-go = keybase; # added 2016-08-24
107 krename-qt5 = krename; # added 2017-02-18
142 krename-qt5 = krename; # added 2017-02-18
143+ kvm = qemu_kvm; # added 2018-04-25
108 letsencrypt = certbot; # added 2016-05-16
144 letsencrypt = certbot; # added 2016-05-16
109− libdbusmenu_qt5 = libsForQt5.libdbusmenu; # added 2015-12-19
145+ libaudit = audit; # added 2018-04-25
110 libcanberra_gtk2 = libcanberra-gtk2; # added 2018-02-25
146 libcanberra_gtk2 = libcanberra-gtk2; # added 2018-02-25
111 libcanberra_gtk3 = libcanberra-gtk3; # added 2018-02-25
147 libcanberra_gtk3 = libcanberra-gtk3; # added 2018-02-25
112 libcap_manpages = libcap.doc; # added 2016-04-29
148 libcap_manpages = libcap.doc; # added 2016-04-29
113 libcap_pam = if stdenv.isLinux then libcap.pam else null; # added 2016-04-29
149 libcap_pam = if stdenv.isLinux then libcap.pam else null; # added 2016-04-29
114 libcap_progs = libcap.out; # added 2016-04-29
150 libcap_progs = libcap.out; # added 2016-04-29
151+ libdbusmenu_qt5 = libsForQt5.libdbusmenu; # added 2015-12-19
152+ libdbusmenu-glib = libdbusmenu; # added 2018-05-01
115 libgnome_keyring = libgnome-keyring; # added 2018-02-25
153 libgnome_keyring = libgnome-keyring; # added 2018-02-25
116 libgnome_keyring3 = libgnome-keyring3; # added 2018-02-25
154 libgnome_keyring3 = libgnome-keyring3; # added 2018-02-25
117 libgumbo = gumbo; # added 2018-01-21
155 libgumbo = gumbo; # added 2018-01-21
118 libintlOrEmpty = stdenv.lib.optional (!stdenv.isLinux || hostPlatform.libc != "glibc") gettext; # added 2018-03-14
156 libintlOrEmpty = stdenv.lib.optional (!stdenv.isLinux || hostPlatform.libc != "glibc") gettext; # added 2018-03-14
119 libjson_rpc_cpp = libjson-rpc-cpp; # added 2017-02-28
157 libjson_rpc_cpp = libjson-rpc-cpp; # added 2017-02-28
158+ liblrdf = librdf; # added 2018-04-25
120 libmysql = mysql.connector-c; # added # 2017-12-28, this was a misnomer refering to libmysqlclient
159 libmysql = mysql.connector-c; # added # 2017-12-28, this was a misnomer refering to libmysqlclient
160+ librecad2 = librecad; # backwards compatibility alias, added 2015-10
161+ libsysfs = sysfsutils; # added 2018-04-25
121 libtidy = html-tidy; # added 2014-12-21
162 libtidy = html-tidy; # added 2014-12-21
163+ libudev = udev; # added 2018-04-25
122 links = links2; # added 2016-01-31
164 links = links2; # added 2016-01-31
123 lttngTools = lttng-tools; # added 2014-07-31
165 lttngTools = lttng-tools; # added 2014-07-31
124 lttngUst = lttng-ust; # added 2014-07-31
166 lttngUst = lttng-ust; # added 2014-07-31
125− lua5_sec = luaPackages.luasec; # added 2017-05-02
126 lua5_1_sockets = lua51Packages.luasocket; # added 2017-05-02
167 lua5_1_sockets = lua51Packages.luasocket; # added 2017-05-02
127 lua5_expat = luaPackages.luaexpat; # added 2017-05-02
168 lua5_expat = luaPackages.luaexpat; # added 2017-05-02
169+ lua5_sec = luaPackages.luasec; # added 2017-05-02
170+ lzma = xz; # added 2018-04-25
128 m3d-linux = m33-linux; # added 2016-08-13
171 m3d-linux = m33-linux; # added 2016-08-13
129− manpages = man-pages; # added 2015-12-06
130 man_db = man-db; # added 2016-05
172 man_db = man-db; # added 2016-05
131− piwik = matomo; # added 2018-01-16
173+ manpages = man-pages; # added 2015-12-06
132 midoriWrapper = midori; # added 2015-01
174 midoriWrapper = midori; # added 2015-01
133 mlt-qt5 = libsForQt5.mlt; # added 2015-12-19
175 mlt-qt5 = libsForQt5.mlt; # added 2015-12-19
134 mobile_broadband_provider_info = mobile-broadband-provider-info; # added 2018-02-25
176 mobile_broadband_provider_info = mobile-broadband-provider-info; # added 2018-02-25
135 module_init_tools = kmod; # added 2016-04-22
177 module_init_tools = kmod; # added 2016-04-22
178+ msf = metasploit; # added 2018-04-25
136 mssys = ms-sys; # added 2015-12-13
179 mssys = ms-sys; # added 2015-12-13
137 multipath_tools = multipath-tools; # added 2016-01-21
180 multipath_tools = multipath-tools; # added 2016-01-21
138 mupen64plus1_5 = mupen64plus; # added 2016-02-12
181 mupen64plus1_5 = mupen64plus; # added 2016-02-12
182+ mysql = mariadb; # added 2018-04-25
139 mysqlWorkbench = mysql-workbench; # added 2017-01-19
183 mysqlWorkbench = mysql-workbench; # added 2017-01-19
184+ nagiosPluginsOfficial = monitoring-plugins;
140 ncat = nmap; # added 2016-01-26
185 ncat = nmap; # added 2016-01-26
141 netcat-openbsd = libressl.nc; # added 2018-04-25
186 netcat-openbsd = libressl.nc; # added 2018-04-25
142 networkmanager_fortisslvpn = networkmanager-fortisslvpn; # added 2018-02-25
187 networkmanager_fortisslvpn = networkmanager-fortisslvpn; # added 2018-02-25
@@ -145,34 +190,44 @@ mapAliases (rec {
145 networkmanager_openconnect = networkmanager-openconnect; # added 2018-02-25
190 networkmanager_openconnect = networkmanager-openconnect; # added 2018-02-25
146 networkmanager_openvpn = networkmanager-openvpn; # added 2018-02-25
191 networkmanager_openvpn = networkmanager-openvpn; # added 2018-02-25
147 networkmanager_vpnc = networkmanager-vpnc; # added 2018-02-25
192 networkmanager_vpnc = networkmanager-vpnc; # added 2018-02-25
148− nmap_graphical = nmap-graphical; # added 2017-01-19
149 nfsUtils = nfs-utils; # added 2014-12-06
193 nfsUtils = nfs-utils; # added 2014-12-06
194+ nginxUnstable = nginxMainline; # added 2018-04-25
195+ nilfs_utils = nilfs-utils; # added 2018-04-25
196+ nmap_graphical = nmap-graphical; # added 2017-01-19
197+ nologin = shadow; # added 2018-04-25
198+ openal = openalSoft; # added 2018-04-25
199+ opencascade_oce = opencascade; # added 2018-04-25
150 opencl-icd = ocl-icd; # added 2017-01-20
200 opencl-icd = ocl-icd; # added 2017-01-20
201+ openexr_ctl = ctl; # added 2018-04-25
151 openssh_with_kerberos = openssh; # added 2018-01-28
202 openssh_with_kerberos = openssh; # added 2018-01-28
152 owncloudclient = owncloud-client; # added 2016-08
203 owncloudclient = owncloud-client; # added 2016-08
153 p11_kit = p11-kit; # added 2018-02-25
204 p11_kit = p11-kit; # added 2018-02-25
154 pass-otp = pass.withExtensions (ext: [ext.pass-otp]); # added 2018-05-04
205 pass-otp = pass.withExtensions (ext: [ext.pass-otp]); # added 2018-05-04
155 pgp-tools = signing-party; # added 2017-03-26
206 pgp-tools = signing-party; # added 2017-03-26
156 pidgin-with-plugins = pidgin; # added 2016-06
207 pidgin-with-plugins = pidgin; # added 2016-06
157− pidginlatexSF = pidgin-latex; # added 2014-11-02
158 pidginlatex = pidgin-latex; # added 2018-01-08
208 pidginlatex = pidgin-latex; # added 2018-01-08
209+ pidginlatexSF = pidgin-latex; # added 2014-11-02
159 pidginmsnpecan = pidgin-msn-pecan; # added 2018-01-08
210 pidginmsnpecan = pidgin-msn-pecan; # added 2018-01-08
160− pidginotr = pidgin-otr; # added 2018-01-08
161 pidginosd = pidgin-osd; # added 2018-01-08
211 pidginosd = pidgin-osd; # added 2018-01-08
212+ pidginotr = pidgin-otr; # added 2018-01-08
162 pidginsipe = pidgin-sipe; # added 2018-01-08
213 pidginsipe = pidgin-sipe; # added 2018-01-08
163 pidginwindowmerge = pidgin-window-merge; # added 2018-01-08
214 pidginwindowmerge = pidgin-window-merge; # added 2018-01-08
164− postage = pgmanage; # added 2017-11-03
215+ piwik = matomo; # added 2018-01-16
216+ pltScheme = racket; # just to be sure
217+ polarssl = mbedtls; # added 2018-04-25
165 poppler_qt5 = libsForQt5.poppler; # added 2015-12-19
218 poppler_qt5 = libsForQt5.poppler; # added 2015-12-19
166− PPSSPP = ppsspp; # added 2017-10-01
219+ postage = pgmanage; # added 2017-11-03
220+ procps = procps-ng; # added 2018-04-25
167 prometheus-statsd-bridge = prometheus-statsd-exporter; # added 2017-08-27
221 prometheus-statsd-bridge = prometheus-statsd-exporter; # added 2017-08-27
222+ pulseaudioLight = pulseaudio; # added 2018-04-25
168 qca-qt5 = libsForQt5.qca-qt5; # added 2015-12-19
223 qca-qt5 = libsForQt5.qca-qt5; # added 2015-12-19
169− QmidiNet = qmidinet; # added 2016-05-22
170 qt_gstreamer = qt-gstreamer; # added 2017-02
224 qt_gstreamer = qt-gstreamer; # added 2017-02
171 qt_gstreamer1 = qt-gstreamer1; # added 2017-02
225 qt_gstreamer1 = qt-gstreamer1; # added 2017-02
172 quake3game = ioquake3; # added 2016-01-14
226 quake3game = ioquake3; # added 2016-01-14
173 qwt6 = libsForQt5.qwt; # added 2015-12-19
227 qwt6 = libsForQt5.qwt; # added 2015-12-19
174 rdiff_backup = rdiff-backup; # added 2014-11-23
228 rdiff_backup = rdiff-backup; # added 2014-11-23
175 rdmd = dtools; # added 2017-08-19
229 rdmd = dtools; # added 2017-08-19
230+ redland = librdf_redland; # added 2018-04-25
176 robomongo = robo3t; #added 2017-09-28
231 robomongo = robo3t; #added 2017-09-28
177 rssglx = rss-glx; #added 2015-03-25
232 rssglx = rss-glx; #added 2015-03-25
178 ruby_2_0_0 = throw "deprecated 2018-0213: use a newer version of ruby";
233 ruby_2_0_0 = throw "deprecated 2018-0213: use a newer version of ruby";
@@ -183,25 +238,34 @@ mapAliases (rec {
183 ruby_2_5_0 = throw "deprecated 2018-0213: use ruby_2_5 instead";
238 ruby_2_5_0 = throw "deprecated 2018-0213: use ruby_2_5 instead";
184 rubygems = throw "deprecated 2016-03-02: rubygems is now bundled with ruby";
239 rubygems = throw "deprecated 2016-03-02: rubygems is now bundled with ruby";
185 rxvt_unicode_with-plugins = rxvt_unicode-with-plugins; # added 2015-04-02
240 rxvt_unicode_with-plugins = rxvt_unicode-with-plugins; # added 2015-04-02
241+ sam = deadpixi-sam; # added 2018-04-25
186 samsungUnifiedLinuxDriver = samsung-unified-linux-driver; # added 2016-01-25
242 samsungUnifiedLinuxDriver = samsung-unified-linux-driver; # added 2016-01-25
187 saneBackends = sane-backends; # added 2016-01-02
243 saneBackends = sane-backends; # added 2016-01-02
188 saneBackendsGit = sane-backends-git; # added 2016-01-02
244 saneBackendsGit = sane-backends-git; # added 2016-01-02
189 saneFrontends = sane-frontends; # added 2016-01-02
245 saneFrontends = sane-frontends; # added 2016-01-02
190 scim = sc-im; # added 2016-01-22
246 scim = sc-im; # added 2016-01-22
247+ scollector = bosun; # added 2018-04-25
191 shared_mime_info = shared-mime-info; # added 2018-02-25
248 shared_mime_info = shared-mime-info; # added 2018-02-25
192 skrooge2 = skrooge; # added 2017-02-18
249 skrooge2 = skrooge; # added 2017-02-18
193 skype = skypeforlinux; # added 2017-07-27
250 skype = skypeforlinux; # added 2017-07-27
251+ slurm-llnl = slurm; # renamed July 2017
252+ slurm-llnl-full = slurm-full; # renamed July 2017
253+ slurm-full = slurm; # added 2018-05-1
254+ smbclient = samba; # added 2018-04-25
194 spaceOrbit = space-orbit; # addewd 2016-05-23
255 spaceOrbit = space-orbit; # addewd 2016-05-23
256+ speech_tools = speech-tools; # added 2018-04-25
195 speedtest_cli = speedtest-cli; # added 2015-02-17
257 speedtest_cli = speedtest-cli; # added 2015-02-17
196 spice_gtk = spice-gtk; # added 2018-02-25
258 spice_gtk = spice-gtk; # added 2018-02-25
197 spice_protocol = spice-protocol; # added 2018-02-25
259 spice_protocol = spice-protocol; # added 2018-02-25
260+ sqlite3_analyzer = sqlite-analyzer; # added 2018-05-22
198 sqliteInteractive = sqlite-interactive; # added 2014-12-06
261 sqliteInteractive = sqlite-interactive; # added 2014-12-06
199 sshfs = sshfs-fuse; # added 2017-08-14
262 sshfs = sshfs-fuse; # added 2017-08-14
200 sshfsFuse = sshfs-fuse; # added 2016-09
263 sshfsFuse = sshfs-fuse; # added 2016-09
264+ suil-qt5 = suil; # added 2018-05-01
201 surf-webkit2 = surf; # added 2017-04-02
265 surf-webkit2 = surf; # added 2017-04-02
202− tahoelafs = tahoe-lafs; # added 2018-03-26
203− telnet = inetutils; # added 2018-05-15
204 system_config_printer = system-config-printer; # added 2016-01-03
266 system_config_printer = system-config-printer; # added 2016-01-03
267+ systool = sysfsutils; # added 2018-04-25
268+ tahoelafs = tahoe-lafs; # added 2018-03-26
205 telepathy_farstream = telepathy-farstream; # added 2018-02-25
269 telepathy_farstream = telepathy-farstream; # added 2018-02-25
206 telepathy_gabble = telepathy-gabble; # added 2018-02-25
270 telepathy_gabble = telepathy-gabble; # added 2018-02-25
207 telepathy_glib = telepathy-glib; # added 2018-02-25
271 telepathy_glib = telepathy-glib; # added 2018-02-25
@@ -212,14 +276,18 @@ mapAliases (rec {
212 telepathy_qt = telepathy-qt; # added 2018-02-25
276 telepathy_qt = telepathy-qt; # added 2018-02-25
213 telepathy_qt5 = libsForQt5.telepathy; # added 2015-12-19
277 telepathy_qt5 = libsForQt5.telepathy; # added 2015-12-19
214 telepathy_salut = telepathy-salut; # added 2018-02-25
278 telepathy_salut = telepathy-salut; # added 2018-02-25
279+ telnet = inetutils; # added 2018-05-15
215 tex-gyre-bonum-math = tex-gyre-math.bonum; # added 2018-04-03
280 tex-gyre-bonum-math = tex-gyre-math.bonum; # added 2018-04-03
216 tex-gyre-pagella-math = tex-gyre-math.pagella; # added 2018-04-03
281 tex-gyre-pagella-math = tex-gyre-math.pagella; # added 2018-04-03
217 tex-gyre-schola-math = tex-gyre-math.schola; # added 2018-04-03
282 tex-gyre-schola-math = tex-gyre-math.schola; # added 2018-04-03
218 tex-gyre-termes-math = tex-gyre-math.termes; # added 2018-04-03
283 tex-gyre-termes-math = tex-gyre-math.termes; # added 2018-04-03
219 tftp_hpa = tftp-hpa; # added 2015-04-03
284 tftp_hpa = tftp-hpa; # added 2015-04-03
285+ trang = jing-trang; # added 2018-04-25
220 transmission_gtk = transmission-gtk; # added 2018-01-06
286 transmission_gtk = transmission-gtk; # added 2018-01-06
221 transmission_remote_gtk = transmission-remote-gtk; # added 2018-01-06
287 transmission_remote_gtk = transmission-remote-gtk; # added 2018-01-06
288+ tshark = wireshark-cli; # added 2018-04-25
222 ucsFonts = ucs-fonts; # added 2016-07-15
289 ucsFonts = ucs-fonts; # added 2016-07-15
290+ udev = systemd; # added 2018-04-25
223 ultrastardx-beta = ultrastardx; # added 2017-08-12
291 ultrastardx-beta = ultrastardx; # added 2017-08-12
224 usb_modeswitch = usb-modeswitch; # added 2016-05-10
292 usb_modeswitch = usb-modeswitch; # added 2016-05-10
225 vimbWrapper = vimb; # added 2015-01
293 vimbWrapper = vimb; # added 2015-01
@@ -230,8 +298,13 @@ mapAliases (rec {
230 winusb = woeusb; # added 2017-12-22
298 winusb = woeusb; # added 2017-12-22
231 wireguard = wireguard-tools; # added 2018-05-19
299 wireguard = wireguard-tools; # added 2018-05-19
232 x11 = xlibsWrapper; # added 2015-09
300 x11 = xlibsWrapper; # added 2015-09
301+ xbmc = kodi; # added 2018-04-25
302+ xbmcPlain = kodiPlain; # added 2018-04-25
303+ xbmcPlugins = kodiPlugins; # added 2018-04-25
304+ xmonad_log_applet_gnome3 = xmonad_log_applet; # added 2018-05-01
233 xf86_video_nouveau = xorg.xf86videonouveau; # added 2015-09
305 xf86_video_nouveau = xorg.xf86videonouveau; # added 2015-09
234 xlibs = xorg; # added 2015-09
306 xlibs = xorg; # added 2015-09
307+ yacc = bison; # added 2018-04-25
235 youtubeDL = youtube-dl; # added 2014-10-26
308 youtubeDL = youtube-dl; # added 2014-10-26
236
309
237 # added 2017-05-27
310 # added 2017-05-27
@@ -249,6 +322,20 @@ mapAliases (rec {
249 ocamlPackages_4_00_1 ocamlPackages_4_01_0 ocamlPackages_4_02
322 ocamlPackages_4_00_1 ocamlPackages_4_01_0 ocamlPackages_4_02
250 ocamlPackages_4_03
323 ocamlPackages_4_03
251 ocamlPackages_latest;
324 ocamlPackages_latest;
325+
326+ gst_all = { # added 2018-04-25
327+ inherit (pkgs) gstreamer gnonlin gst-python qt-gstreamer;
328+ gstPluginsBase = pkgs.gst-plugins-base;
329+ gstPluginsBad = pkgs.gst-plugins-bad;
330+ gstPluginsGood = pkgs.gst-plugins-good;
331+ gstPluginsUgly = pkgs.gst-plugins-ugly;
332+ gstFfmpeg = pkgs.gst-ffmpeg;
333+ gst-plugins-base = pkgs.gst-plugins-base;
334+ gst-plugins-bad = pkgs.gst-plugins-bad;
335+ gst-plugins-good = pkgs.gst-plugins-good;
336+ gst-plugins-ugly = pkgs.gst-plugins-ugly;
337+ gst-ffmpeg = pkgs.gst-ffmpeg;
338+ };
252} // (with ocaml-ng; { # added 2016-09-14
339} // (with ocaml-ng; { # added 2016-09-14
253 ocaml_3_08_0 = ocamlPackages_3_08_0.ocaml;
340 ocaml_3_08_0 = ocamlPackages_3_08_0.ocaml;
254 ocaml_3_10_0 = ocamlPackages_3_10_0.ocaml;
341 ocaml_3_10_0 = ocamlPackages_3_10_0.ocaml;
pkgs/top-level/all-packages.nix+196−336
@@ -977,7 +977,6 @@ with pkgs;
977 calamares = libsForQt5.callPackage ../tools/misc/calamares {
977 calamares = libsForQt5.callPackage ../tools/misc/calamares {
978 python = python3;
978 python = python3;
979 boost = pkgs.boost.override { python = python3; };
979 boost = pkgs.boost.override { python = python3; };
980− libyamlcpp = callPackage ../development/libraries/libyaml-cpp { inherit boost; };
981 };
980 };
982
981
983 capstone = callPackage ../development/libraries/capstone { };
982 capstone = callPackage ../development/libraries/capstone { };
@@ -1662,14 +1661,14 @@ with pkgs;
1662
1661
1663 ciopfs = callPackage ../tools/filesystems/ciopfs { };
1662 ciopfs = callPackage ../tools/filesystems/ciopfs { };
1664
1663
1665− citrix_receiver = hiPrio citrix_receiver_13_9_1;
1666− citrix_receiver_13_9_1 = callPackage ../applications/networking/remote/citrix-receiver { version = "13.9.1"; };
1664+ citrix_receiver = callPackage ../applications/networking/remote/citrix-receiver { };
1665+ citrix_receiver_13_9_1 = citrix_receiver.override { version = "13.9.1"; };
1667− citrix_receiver_13_9_0 = callPackage ../applications/networking/remote/citrix-receiver { version = "13.9.0"; };
1666+ citrix_receiver_13_9_0 = citrix_receiver.override { version = "13.9.0"; };
1668− citrix_receiver_13_8_0 = callPackage ../applications/networking/remote/citrix-receiver { version = "13.8.0"; };
1667+ citrix_receiver_13_8_0 = citrix_receiver.override { version = "13.8.0"; };
1669− citrix_receiver_13_7_0 = callPackage ../applications/networking/remote/citrix-receiver { version = "13.7.0"; };
1668+ citrix_receiver_13_7_0 = citrix_receiver.override { version = "13.7.0"; };
1670− citrix_receiver_13_6_0 = callPackage ../applications/networking/remote/citrix-receiver { version = "13.6.0"; };
1669+ citrix_receiver_13_6_0 = citrix_receiver.override { version = "13.6.0"; };
1671− citrix_receiver_13_5_0 = callPackage ../applications/networking/remote/citrix-receiver { version = "13.5.0"; };
1670+ citrix_receiver_13_5_0 = citrix_receiver.override { version = "13.5.0"; };
1672− citrix_receiver_13_4_0 = callPackage ../applications/networking/remote/citrix-receiver { version = "13.4.0"; };
1671+ citrix_receiver_13_4_0 = citrix_receiver.override { version = "13.4.0"; };
1673
1672
1674 citra = libsForQt5.callPackage ../misc/emulators/citra { };
1673 citra = libsForQt5.callPackage ../misc/emulators/citra { };
1675
1674
@@ -2388,9 +2387,6 @@ with pkgs;
2388
2387
2389 flamegraph = callPackage ../development/tools/flamegraph { };
2388 flamegraph = callPackage ../development/tools/flamegraph { };
2390
2389
2391− # Awkward historical capitalization for flamegraph. Remove eventually
2392− flameGraph = flamegraph;
2393−
2394 flvtool2 = callPackage ../tools/video/flvtool2 { };
2390 flvtool2 = callPackage ../tools/video/flvtool2 { };
2395
2391
2396 fmbt = callPackage ../development/tools/fmbt {
2392 fmbt = callPackage ../development/tools/fmbt {
@@ -2400,7 +2396,7 @@ with pkgs;
2400 fontforge = lowPrio (callPackage ../tools/misc/fontforge {
2396 fontforge = lowPrio (callPackage ../tools/misc/fontforge {
2401 inherit (darwin.apple_sdk.frameworks) Carbon Cocoa;
2397 inherit (darwin.apple_sdk.frameworks) Carbon Cocoa;
2402 });
2398 });
2403− fontforge-gtk = callPackage ../tools/misc/fontforge {
2399+ fontforge-gtk = fontforge.override {
2404 withSpiro = true;
2400 withSpiro = true;
2405 withGTK = true;
2401 withGTK = true;
2406 gtk2 = gtk2-x11;
2402 gtk2 = gtk2-x11;
@@ -2522,7 +2518,7 @@ with pkgs;
2522
2518
2523 gazebo7 = callPackage ../applications/science/robotics/gazebo { };
2519 gazebo7 = callPackage ../applications/science/robotics/gazebo { };
2524
2520
2525− gazebo7-headless = callPackage ../applications/science/robotics/gazebo { withHeadless = true; };
2521+ gazebo7-headless = gazebo7.override { withHeadless = true; };
2526
2522
2527 };
2523 };
2528
2524
@@ -2771,11 +2767,11 @@ with pkgs;
2771
2767
2772 grub2_full = callPackage ../tools/misc/grub/2.0x.nix { };
2768 grub2_full = callPackage ../tools/misc/grub/2.0x.nix { };
2773
2769
2774− grub2_efi = grub2_full.override {
2770+ grub2_efi = grub2.override {
2775 efiSupport = true;
2771 efiSupport = true;
2776 };
2772 };
2777
2773
2778− grub2_light = grub2_full.override {
2774+ grub2_light = grub2.override {
2779 zfsSupport = false;
2775 zfsSupport = false;
2780 };
2776 };
2781
2777
@@ -2803,7 +2799,6 @@ with pkgs;
2803 gt5 = callPackage ../tools/system/gt5 { };
2799 gt5 = callPackage ../tools/system/gt5 { };
2804
2800
2805 gtest = callPackage ../development/libraries/gtest {};
2801 gtest = callPackage ../development/libraries/gtest {};
2806− gmock = gtest;
2807 gbenchmark = callPackage ../development/libraries/gbenchmark {};
2802 gbenchmark = callPackage ../development/libraries/gbenchmark {};
2808
2803
2809 gtkdatabox = callPackage ../development/libraries/gtkdatabox {};
2804 gtkdatabox = callPackage ../development/libraries/gtkdatabox {};
@@ -3458,6 +3453,14 @@ with pkgs;
3458 nodejs-9_x = callPackage ../development/web/nodejs/v9.nix {};
3453 nodejs-9_x = callPackage ../development/web/nodejs/v9.nix {};
3459 nodejs-slim-9_x = callPackage ../development/web/nodejs/v9.nix { enableNpm = false; };
3454 nodejs-slim-9_x = callPackage ../development/web/nodejs/v9.nix { enableNpm = false; };
3460
3455
3456+ nodejs-10_x = callPackage ../development/web/nodejs/v10.nix {
3457+ openssl = openssl_1_1_0;
3458+ };
3459+ nodejs-slim-10_x = callPackage ../development/web/nodejs/v10.nix {
3460+ enableNpm = false;
3461+ openssl = openssl_1_1_0;
3462+ };
3463+
3461 nodePackages_8_x = callPackage ../development/node-packages/default-v8.nix {
3464 nodePackages_8_x = callPackage ../development/node-packages/default-v8.nix {
3462 nodejs = pkgs.nodejs-8_x;
3465 nodejs = pkgs.nodejs-8_x;
3463 };
3466 };
@@ -3468,9 +3471,6 @@ with pkgs;
3468
3471
3469 nodePackages = nodePackages_6_x;
3472 nodePackages = nodePackages_6_x;
3470
3473
3471− # Can be used as a user shell
3472− nologin = shadow;
3473−
3474 npm2nix = nodePackages.npm2nix;
3474 npm2nix = nodePackages.npm2nix;
3475
3475
3476 file-rename = callPackage ../tools/filesystems/file-rename { };
3476 file-rename = callPackage ../tools/filesystems/file-rename { };
@@ -3566,7 +3566,7 @@ with pkgs;
3566
3566
3567 libiberty = callPackage ../development/libraries/libiberty { };
3567 libiberty = callPackage ../development/libraries/libiberty { };
3568
3568
3569− libiberty_static = callPackage ../development/libraries/libiberty { staticBuild = true; };
3569+ libiberty_static = libiberty.override { staticBuild = true; };
3570
3570
3571 libibverbs = callPackage ../development/libraries/libibverbs { };
3571 libibverbs = callPackage ../development/libraries/libibverbs { };
3572
3572
@@ -3638,8 +3638,6 @@ with pkgs;
3638
3638
3639 lzip = callPackage ../tools/compression/lzip { };
3639 lzip = callPackage ../tools/compression/lzip { };
3640
3640
3641− lzma = xz;
3642−
3643 xz = callPackage ../tools/compression/xz { };
3641 xz = callPackage ../tools/compression/xz { };
3644
3642
3645 lz4 = callPackage ../tools/compression/lz4 { };
3643 lz4 = callPackage ../tools/compression/lz4 { };
@@ -3797,12 +3795,14 @@ with pkgs;
3797
3795
3798 mitmproxy = callPackage ../tools/networking/mitmproxy { };
3796 mitmproxy = callPackage ../tools/networking/mitmproxy { };
3799
3797
3800− mjpegtoolsFull = callPackage ../tools/video/mjpegtools { };
3798+ mjpegtools = callPackage ../tools/video/mjpegtools {
3801−
3802− mjpegtools = self.mjpegtoolsFull.override {
3803 withMinimal = true;
3799 withMinimal = true;
3804 };
3800 };
3805
3801
3802+ mjpegtoolsFull = mjpegtools.override {
3803+ withMinimal = false;
3804+ };
3805+
3806 mkcue = callPackage ../tools/cd-dvd/mkcue { };
3806 mkcue = callPackage ../tools/cd-dvd/mkcue { };
3807
3807
3808 mkpasswd = hiPrio (callPackage ../tools/security/mkpasswd { });
3808 mkpasswd = hiPrio (callPackage ../tools/security/mkpasswd { });
@@ -3849,7 +3849,6 @@ with pkgs;
3849 mscgen = callPackage ../tools/graphics/mscgen { };
3849 mscgen = callPackage ../tools/graphics/mscgen { };
3850
3850
3851 metasploit = callPackage ../tools/security/metasploit { };
3851 metasploit = callPackage ../tools/security/metasploit { };
3852− msf = metasploit;
3853
3852
3854 ms-sys = callPackage ../tools/misc/ms-sys { };
3853 ms-sys = callPackage ../tools/misc/ms-sys { };
3855
3854
@@ -4028,7 +4027,6 @@ with pkgs;
4028 nifskope = callPackage ../tools/graphics/nifskope { };
4027 nifskope = callPackage ../tools/graphics/nifskope { };
4029
4028
4030 nilfs-utils = callPackage ../tools/filesystems/nilfs-utils {};
4029 nilfs-utils = callPackage ../tools/filesystems/nilfs-utils {};
4031− nilfs_utils = nilfs-utils;
4032
4030
4033 nitrogen = callPackage ../tools/X11/nitrogen {};
4031 nitrogen = callPackage ../tools/X11/nitrogen {};
4034
4032
@@ -4046,7 +4044,7 @@ with pkgs;
4046
4044
4047 nmap = callPackage ../tools/security/nmap { };
4045 nmap = callPackage ../tools/security/nmap { };
4048
4046
4049− nmap-graphical = callPackage ../tools/security/nmap {
4047+ nmap-graphical = nmap.override {
4050 graphicalSupport = true;
4048 graphicalSupport = true;
4051 };
4049 };
4052
4050
@@ -4390,28 +4388,27 @@ with pkgs;
4390
4388
4391 philter = callPackage ../tools/networking/philter { };
4389 philter = callPackage ../tools/networking/philter { };
4392
4390
4393− pinentry = pinentry_ncurses.override {
4391+ pinentry = callPackage ../tools/security/pinentry {
4394− inherit gtk2;
4392+ libcap = if stdenv.isDarwin then null else libcap;
4395 };
4393 };
4396
4394
4397− pinentry_ncurses = callPackage ../tools/security/pinentry {
4395+ pinentry_ncurses = pinentry.override {
4398− libcap = if stdenv.isDarwin then null else libcap;
4399 gtk2 = null;
4396 gtk2 = null;
4400 };
4397 };
4401
4398
4402− pinentry_emacs = pinentry_ncurses.override {
4399+ pinentry_emacs = pinentry.override {
4403 enableEmacs = true;
4400 enableEmacs = true;
4404 };
4401 };
4405
4402
4406− pinentry_gnome = pinentry_ncurses.override {
4403+ pinentry_gnome = pinentry.override {
4407 gcr = gnome3.gcr;
4404 gcr = gnome3.gcr;
4408 };
4405 };
4409
4406
4410− pinentry_qt4 = pinentry_ncurses.override {
4407+ pinentry_qt4 = pinentry.override {
4411 qt = qt4;
4408 qt = qt4;
4412 };
4409 };
4413
4410
4414− pinentry_qt5 = pinentry_ncurses.override {
4411+ pinentry_qt5 = pinentry.override {
4415 qt = qt5.qtbase;
4412 qt = qt5.qtbase;
4416 };
4413 };
4417
4414
@@ -4434,7 +4431,7 @@ with pkgs;
4434 plan9port = callPackage ../tools/system/plan9port { };
4431 plan9port = callPackage ../tools/system/plan9port { };
4435
4432
4436 platformioPackages = callPackage ../development/arduino/platformio { };
4433 platformioPackages = callPackage ../development/arduino/platformio { };
4437− platformio = platformioPackages.platformio-chrootenv.override {};
4434+ platformio = platformioPackages.platformio-chrootenv;
4438
4435
4439 platinum-searcher = callPackage ../tools/text/platinum-searcher { };
4436 platinum-searcher = callPackage ../tools/text/platinum-searcher { };
4440
4437
@@ -4934,7 +4931,6 @@ with pkgs;
4934 };
4931 };
4935
4932
4936 silver-searcher = callPackage ../tools/text/silver-searcher { };
4933 silver-searcher = callPackage ../tools/text/silver-searcher { };
4937− ag = self.silver-searcher;
4938
4934
4939 simpleproxy = callPackage ../tools/networking/simpleproxy { };
4935 simpleproxy = callPackage ../tools/networking/simpleproxy { };
4940
4936
@@ -5114,8 +5110,8 @@ with pkgs;
5114 });
5110 });
5115
5111
5116 strongswan = callPackage ../tools/networking/strongswan { };
5112 strongswan = callPackage ../tools/networking/strongswan { };
5117− strongswanTNC = callPackage ../tools/networking/strongswan { enableTNC = true; };
5113+ strongswanTNC = strongswan.override { enableTNC = true; };
5118− strongswanNM = callPackage ../tools/networking/strongswan { enableNetworkManager = true; };
5114+ strongswanNM = strongswan.override { enableNetworkManager = true; };
5119
5115
5120 su = shadow.su;
5116 su = shadow.su;
5121
5117
@@ -5579,8 +5575,6 @@ with pkgs;
5579
5575
5580 tradcpp = callPackage ../development/tools/tradcpp { };
5576 tradcpp = callPackage ../development/tools/tradcpp { };
5581
5577
5582− trang = self.jing-trang;
5583−
5584 tre = callPackage ../development/libraries/tre { };
5578 tre = callPackage ../development/libraries/tre { };
5585
5579
5586 ts = callPackage ../tools/system/ts { };
5580 ts = callPackage ../tools/system/ts { };
@@ -5929,15 +5923,13 @@ with pkgs;
5929 runtimeShell = "${runtimeShellPackage}/bin/bash";
5923 runtimeShell = "${runtimeShellPackage}/bin/bash";
5930 runtimeShellPackage = bash;
5924 runtimeShellPackage = bash;
5931
5925
5932− bash = lowPrio (callPackage ../shells/bash/4.4.nix {
5926+ bash = lowPrio (callPackage ../shells/bash/4.4.nix { });
5933− texinfo = null;
5934− interactive = stdenv.isCygwin; # patch for cygwin requires readline support
5935− });
5936
5927
5937 # WARNING: this attribute is used by nix-shell so it shouldn't be removed/renamed
5928 # WARNING: this attribute is used by nix-shell so it shouldn't be removed/renamed
5938− bashInteractive = appendToName "interactive" (callPackage ../shells/bash/4.4.nix {
5929+ bashInteractive = callPackage ../shells/bash/4.4.nix {
5939 interactive = true;
5930 interactive = true;
5931+ withDocs = true;
5940− });
5932+ };
5941
5933
5942 bash-completion = callPackage ../shells/bash/bash-completion { };
5934 bash-completion = callPackage ../shells/bash/bash-completion { };
5943
5935
@@ -6178,8 +6170,6 @@ with pkgs;
6178 stripped = false;
6170 stripped = false;
6179 }));
6171 }));
6180
6172
6181− gccApple = throw "gccApple is no longer supported";
6182−
6183 libstdcxxHook = makeSetupHook
6173 libstdcxxHook = makeSetupHook
6184 { substitutions = { gcc = gcc-unwrapped; }; }
6174 { substitutions = { gcc = gcc-unwrapped; }; }
6185 ../development/compilers/gcc/libstdc++-hook.sh;
6175 ../development/compilers/gcc/libstdc++-hook.sh;
@@ -6205,7 +6195,6 @@ with pkgs;
6205 libc = libcCross1;
6195 libc = libcCross1;
6206 };
6196 };
6207 in wrapCCWith {
6197 in wrapCCWith {
6208− name = "gcc-cross-wrapper";
6209 cc = gccFun {
6198 cc = gccFun {
6210 # copy-pasted
6199 # copy-pasted
6211 inherit noSysDirs;
6200 inherit noSysDirs;
@@ -6540,18 +6529,19 @@ with pkgs;
6540
6529
6541 hugs = callPackage ../development/interpreters/hugs { };
6530 hugs = callPackage ../development/interpreters/hugs { };
6542
6531
6532+ bootjdk = callPackage ../development/compilers/openjdk/bootstrap.nix { version = "10"; };
6533+
6543 openjdk8 =
6534 openjdk8 =
6544 if stdenv.isDarwin then
6535 if stdenv.isDarwin then
6545 callPackage ../development/compilers/openjdk/darwin/8.nix { }
6536 callPackage ../development/compilers/openjdk/darwin/8.nix { }
6546 else
6537 else
6547 callPackage ../development/compilers/openjdk/8.nix {
6538 callPackage ../development/compilers/openjdk/8.nix {
6548− bootjdk = callPackage ../development/compilers/openjdk/bootstrap.nix { version = "8"; };
6539+ bootjdk = bootjdk.override { version = "8"; };
6549 inherit (gnome2) GConf gnome_vfs;
6540 inherit (gnome2) GConf gnome_vfs;
6550 };
6541 };
6551
6542
6552 openjdk10 =
6543 openjdk10 =
6553 callPackage ../development/compilers/openjdk/10.nix {
6544 callPackage ../development/compilers/openjdk/10.nix {
6554− bootjdk = callPackage ../development/compilers/openjdk/bootstrap.nix { version = "10"; };
6555 inherit (gnome2) GConf gnome_vfs;
6545 inherit (gnome2) GConf gnome_vfs;
6556 };
6546 };
6557
6547
@@ -6782,7 +6772,7 @@ with pkgs;
6782 xlibsWrapper = null;
6772 xlibsWrapper = null;
6783 };
6773 };
6784
6774
6785− mitschemeX11 = callPackage ../development/compilers/mit-scheme {
6775+ mitschemeX11 = mitscheme.override {
6786 texLive = texlive.combine { inherit (texlive) scheme-small; };
6776 texLive = texlive.combine { inherit (texlive) scheme-small; };
6787 texinfo = texinfo5;
6777 texinfo = texinfo5;
6788 enableX11 = true;
6778 enableX11 = true;
@@ -7147,7 +7137,7 @@ with pkgs;
7147 gtk2 = gtk2-x11;
7137 gtk2 = gtk2-x11;
7148 };
7138 };
7149
7139
7150− lxappearance-gtk3 = callPackage ../desktops/lxde/core/lxappearance {
7140+ lxappearance-gtk3 = lxappearance.override {
7151 withGtk3 = true;
7141 withGtk3 = true;
7152 };
7142 };
7153
7143
@@ -7248,7 +7238,7 @@ with pkgs;
7248 octaveHg = lowPrio (callPackage ../development/interpreters/octave/hg.nix hgOctaveOptions);
7238 octaveHg = lowPrio (callPackage ../development/interpreters/octave/hg.nix hgOctaveOptions);
7249 }) octave octaveHg;
7239 }) octave octaveHg;
7250
7240
7251− octaveFull = (lowPrio (callPackage ../development/interpreters/octave {
7241+ octaveFull = (lowPrio (octave.override {
7252 qt = qt4;
7242 qt = qt4;
7253 overridePlatforms = ["x86_64-linux" "x86_64-darwin"];
7243 overridePlatforms = ["x86_64-linux" "x86_64-darwin"];
7254 openblas = if stdenv.isDarwin then openblasCompat else openblas;
7244 openblas = if stdenv.isDarwin then openblasCompat else openblas;
@@ -7302,8 +7292,6 @@ with pkgs;
7302
7292
7303 picolisp = callPackage ../development/interpreters/picolisp {};
7293 picolisp = callPackage ../development/interpreters/picolisp {};
7304
7294
7305− pltScheme = racket; # just to be sure
7306−
7307 polyml = callPackage ../development/compilers/polyml { };
7295 polyml = callPackage ../development/compilers/polyml { };
7308 polyml56 = callPackage ../development/compilers/polyml/5.6.nix { };
7296 polyml56 = callPackage ../development/compilers/polyml/5.6.nix { };
7309
7297
@@ -7482,22 +7470,21 @@ with pkgs;
7482
7470
7483 amdadlsdk = callPackage ../development/misc/amdadl-sdk { };
7471 amdadlsdk = callPackage ../development/misc/amdadl-sdk { };
7484
7472
7485− amdappsdk26 = callPackage ../development/misc/amdapp-sdk {
7473+ amdappsdk26 = amdappsdk.override {
7486 version = "2.6";
7474 version = "2.6";
7487 };
7475 };
7488
7476
7489− amdappsdk27 = callPackage ../development/misc/amdapp-sdk {
7477+ amdappsdk27 = amdappsdk.override {
7490 version = "2.7";
7478 version = "2.7";
7491 };
7479 };
7492
7480
7493− amdappsdk28 = callPackage ../development/misc/amdapp-sdk {
7481+ amdappsdk28 = amdappsdk.override {
7494 version = "2.8";
7482 version = "2.8";
7495 };
7483 };
7496
7484
7497− amdappsdk = amdappsdk28;
7485+ amdappsdk = callPackage ../development/misc/amdapp-sdk { };
7498
7486
7499− amdappsdkFull = callPackage ../development/misc/amdapp-sdk {
7487+ amdappsdkFull = amdappsdk.override {
7500− version = "2.8";
7501 samples = true;
7488 samples = true;
7502 };
7489 };
7503
7490
@@ -7592,11 +7579,9 @@ with pkgs;
7592 antlr4_7 = callPackage ../development/tools/parsing/antlr/4.7.nix { };
7579 antlr4_7 = callPackage ../development/tools/parsing/antlr/4.7.nix { };
7593 antlr4 = antlr4_7;
7580 antlr4 = antlr4_7;
7594
7581
7595− ant = apacheAnt;
7596−
7597 apacheAnt = callPackage ../development/tools/build-managers/apache-ant { };
7582 apacheAnt = callPackage ../development/tools/build-managers/apache-ant { };
7598−
7599 apacheAnt_1_9 = callPackage ../development/tools/build-managers/apache-ant/1.9.nix { };
7583 apacheAnt_1_9 = callPackage ../development/tools/build-managers/apache-ant/1.9.nix { };
7584+ ant = apacheAnt;
7600
7585
7601 apacheKafka = apacheKafka_1_1;
7586 apacheKafka = apacheKafka_1_1;
7602 apacheKafka_0_9 = callPackage ../servers/apache-kafka { majorVersion = "0.9"; };
7587 apacheKafka_0_9 = callPackage ../servers/apache-kafka { majorVersion = "0.9"; };
@@ -7961,8 +7946,6 @@ with pkgs;
7961
7946
7962 flexcpp = callPackage ../development/tools/parsing/flexc++ { };
7947 flexcpp = callPackage ../development/tools/parsing/flexc++ { };
7963
7948
7964− m4 = gnum4;
7965−
7966 geis = callPackage ../development/libraries/geis {
7949 geis = callPackage ../development/libraries/geis {
7967 inherit (xorg) libX11 libXext libXi libXtst;
7950 inherit (xorg) libX11 libXext libXi libXtst;
7968 };
7951 };
@@ -7978,6 +7961,7 @@ with pkgs;
7978 gnome-usage = callPackage ../applications/misc/gnome-usage {};
7961 gnome-usage = callPackage ../applications/misc/gnome-usage {};
7979
7962
7980 gnum4 = callPackage ../development/tools/misc/gnum4 { };
7963 gnum4 = callPackage ../development/tools/misc/gnum4 { };
7964+ m4 = gnum4;
7981
7965
7982 gnumake382 = callPackage ../development/tools/build-managers/gnumake/3.82 { };
7966 gnumake382 = callPackage ../development/tools/build-managers/gnumake/3.82 { };
7983 gnumake3 = gnumake382;
7967 gnumake3 = gnumake382;
@@ -8290,7 +8274,7 @@ with pkgs;
8290 remake = callPackage ../development/tools/build-managers/remake { };
8274 remake = callPackage ../development/tools/build-managers/remake { };
8291
8275
8292 retdec = callPackage ../development/tools/analysis/retdec { };
8276 retdec = callPackage ../development/tools/analysis/retdec { };
8293− retdec-full = callPackage ../development/tools/analysis/retdec {
8277+ retdec-full = retdec.override {
8294 withPEPatterns = true;
8278 withPEPatterns = true;
8295 };
8279 };
8296
8280
@@ -8469,8 +8453,6 @@ with pkgs;
8469 };
8453 };
8470 xxdiff-tip = libsForQt5.callPackage ../development/tools/misc/xxdiff/tip.nix { };
8454 xxdiff-tip = libsForQt5.callPackage ../development/tools/misc/xxdiff/tip.nix { };
8471
8455
8472− yacc = bison;
8473−
8474 yaml2json = callPackage ../development/tools/yaml2json { };
8456 yaml2json = callPackage ../development/tools/yaml2json { };
8475
8457
8476 ycmd = callPackage ../development/tools/misc/ycmd {
8458 ycmd = callPackage ../development/tools/misc/ycmd {
@@ -8801,11 +8783,6 @@ with pkgs;
8801 dbus-sharp-glib-1_0 = callPackage ../development/libraries/dbus-sharp-glib/dbus-sharp-glib-1.0.nix { };
8783 dbus-sharp-glib-1_0 = callPackage ../development/libraries/dbus-sharp-glib/dbus-sharp-glib-1.0.nix { };
8802 dbus-sharp-glib-2_0 = callPackage ../development/libraries/dbus-sharp-glib { };
8784 dbus-sharp-glib-2_0 = callPackage ../development/libraries/dbus-sharp-glib { };
8803
8785
8804− # FIXME: deprecate these.
8805− dbus_tools = dbus.out;
8806− dbus_libs = dbus;
8807− dbus_daemon = dbus.daemon;
8808−
8809 makeDBusConf = { suidHelper, serviceDirectories }:
8786 makeDBusConf = { suidHelper, serviceDirectories }:
8810 callPackage ../development/libraries/dbus/make-dbus-conf.nix {
8787 callPackage ../development/libraries/dbus/make-dbus-conf.nix {
8811 inherit suidHelper serviceDirectories;
8788 inherit suidHelper serviceDirectories;
@@ -9032,8 +9009,6 @@ with pkgs;
9032
9009
9033 funambol = callPackage ../development/libraries/funambol { };
9010 funambol = callPackage ../development/libraries/funambol { };
9034
9011
9035− fam = gamin;
9036−
9037 gamin = callPackage ../development/libraries/gamin { };
9012 gamin = callPackage ../development/libraries/gamin { };
9038
9013
9039 ganv = callPackage ../development/libraries/ganv { };
9014 ganv = callPackage ../development/libraries/ganv { };
@@ -9085,8 +9060,6 @@ with pkgs;
9085
9060
9086 gettext = callPackage ../development/libraries/gettext { };
9061 gettext = callPackage ../development/libraries/gettext { };
9087
9062
9088− gflags = google-gflags;
9089−
9090 gf2x = callPackage ../development/libraries/gf2x {};
9063 gf2x = callPackage ../development/libraries/gf2x {};
9091
9064
9092 gd = callPackage ../development/libraries/gd {
9065 gd = callPackage ../development/libraries/gd {
@@ -9148,7 +9121,7 @@ with pkgs;
9148 stdenv = crossLibcStdenv;
9121 stdenv = crossLibcStdenv;
9149 };
9122 };
9150
9123
9151− muslCross = callPackage ../os-specific/linux/musl {
9124+ muslCross = musl.override {
9152 stdenv = crossLibcStdenv;
9125 stdenv = crossLibcStdenv;
9153 };
9126 };
9154
9127
@@ -9245,22 +9218,6 @@ with pkgs;
9245 callPackage = pkgs.newScope (pkgs // { libav = pkgs.ffmpeg; });
9218 callPackage = pkgs.newScope (pkgs // { libav = pkgs.ffmpeg; });
9246 });
9219 });
9247
9220
9248− gst_all = {
9249− inherit (pkgs) gstreamer gnonlin gst-python qt-gstreamer;
9250− gstPluginsBase = pkgs.gst-plugins-base;
9251− gstPluginsBad = pkgs.gst-plugins-bad;
9252− gstPluginsGood = pkgs.gst-plugins-good;
9253− gstPluginsUgly = pkgs.gst-plugins-ugly;
9254− gstFfmpeg = pkgs.gst-ffmpeg;
9255−
9256− # aliases with the dashed naming, same as in gst_all_1
9257− gst-plugins-base = pkgs.gst-plugins-base;
9258− gst-plugins-bad = pkgs.gst-plugins-bad;
9259− gst-plugins-good = pkgs.gst-plugins-good;
9260− gst-plugins-ugly = pkgs.gst-plugins-ugly;
9261− gst-ffmpeg = pkgs.gst-ffmpeg;
9262− };
9263−
9264 gstreamer = callPackage ../development/libraries/gstreamer/legacy/gstreamer {
9221 gstreamer = callPackage ../development/libraries/gstreamer/legacy/gstreamer {
9265 bison = bison2;
9222 bison = bison2;
9266 };
9223 };
@@ -9427,13 +9384,15 @@ with pkgs;
9427 gtk-sharp-beans = callPackage ../development/libraries/gtk-sharp-beans { };
9384 gtk-sharp-beans = callPackage ../development/libraries/gtk-sharp-beans { };
9428
9385
9429 gtk-mac-integration = callPackage ../development/libraries/gtk-mac-integration {
9386 gtk-mac-integration = callPackage ../development/libraries/gtk-mac-integration {
9430− gtk = gtk2;
9387+ gtk = gtk3;
9431 };
9388 };
9432
9389
9433− gtk-mac-integration-gtk3 = callPackage ../development/libraries/gtk-mac-integration {
9390+ gtk-mac-integration-gtk2 = gtk-mac-integration.override {
9434− gtk = gtk3;
9391+ gtk = gtk2;
9435 };
9392 };
9436
9393
9394+ gtk-mac-integration-gtk3 = gtk-mac-integration;
9395+
9437 gtk-mac-bundler = callPackage ../development/tools/gtk-mac-bundler {};
9396 gtk-mac-bundler = callPackage ../development/tools/gtk-mac-bundler {};
9438
9397
9439 gtksourceview = gtksourceview3;
9398 gtksourceview = gtksourceview3;
@@ -9460,15 +9419,13 @@ with pkgs;
9460
9419
9461 hamlib = callPackage ../development/libraries/hamlib { };
9420 hamlib = callPackage ../development/libraries/hamlib { };
9462
9421
9463− # TODO : Let admin choose.
9464− # We are using mit-krb5 because it is better maintained
9465− kerberos = libkrb5;
9466−
9467− heimdalFull = callPackage ../development/libraries/kerberos/heimdal.nix { };
9422+ heimdal = callPackage ../development/libraries/kerberos/heimdal.nix {
9423+ inherit (darwin.apple_sdk.frameworks) CoreFoundation Security SystemConfiguration;
9424+ };
9468− libheimdal = heimdalFull.override { type = "lib"; };
9425+ libheimdal = heimdal.override { type = "lib"; };
9469
9426
9470 harfbuzz = callPackage ../development/libraries/harfbuzz { };
9427 harfbuzz = callPackage ../development/libraries/harfbuzz { };
9471− harfbuzz-icu = callPackage ../development/libraries/harfbuzz {
9428+ harfbuzz-icu = harfbuzz.override {
9472 withIcu = true;
9429 withIcu = true;
9473 withGraphite2 = true;
9430 withGraphite2 = true;
9474 };
9431 };
@@ -9518,7 +9475,7 @@ with pkgs;
9518
9475
9519 hwloc = callPackage ../development/libraries/hwloc {};
9476 hwloc = callPackage ../development/libraries/hwloc {};
9520
9477
9521− hwloc-nox = callPackage ../development/libraries/hwloc {
9478+ hwloc-nox = hwloc.override {
9522 x11Support = false;
9479 x11Support = false;
9523 };
9480 };
9524
9481
@@ -9655,10 +9612,11 @@ with pkgs;
9655
9612
9656 kinetic-cpp-client = callPackage ../development/libraries/kinetic-cpp-client { };
9613 kinetic-cpp-client = callPackage ../development/libraries/kinetic-cpp-client { };
9657
9614
9658− krb5Full = callPackage ../development/libraries/kerberos/krb5.nix {
9615+ krb5 = callPackage ../development/libraries/kerberos/krb5.nix {
9659 inherit (darwin) bootstrap_cmds;
9616 inherit (darwin) bootstrap_cmds;
9660 };
9617 };
9618+ krb5Full = krb5;
9661− libkrb5 = krb5Full.override {
9619+ libkrb5 = krb5.override {
9662 fetchurl = fetchurlBoot;
9620 fetchurl = fetchurlBoot;
9663 type = "lib";
9621 type = "lib";
9664 };
9622 };
@@ -9717,8 +9675,9 @@ with pkgs;
9717
9675
9718 libaom = callPackage ../development/libraries/libaom { };
9676 libaom = callPackage ../development/libraries/libaom { };
9719
9677
9720− libappindicator-gtk2 = callPackage ../development/libraries/libappindicator { gtkVersion = "2"; };
9678+ libappindicator-gtk2 = libappindicator.override { gtkVersion = "2"; };
9721− libappindicator-gtk3 = callPackage ../development/libraries/libappindicator { gtkVersion = "3"; };
9679+ libappindicator-gtk3 = libappindicator.override { gtkVersion = "3"; };
9680+ libappindicator = callPackage ../development/libraries/libappindicator { };
9722
9681
9723 libarchive = callPackage ../development/libraries/libarchive { };
9682 libarchive = callPackage ../development/libraries/libarchive { };
9724
9683
@@ -9850,18 +9809,16 @@ with pkgs;
9850
9809
9851 libdbi = callPackage ../development/libraries/libdbi { };
9810 libdbi = callPackage ../development/libraries/libdbi { };
9852
9811
9853− libdbiDriversBase = callPackage ../development/libraries/libdbi-drivers {
9812+ libdbiDriversBase = libdbiDrivers.override {
9854 mysql = null;
9813 mysql = null;
9855 sqlite = null;
9814 sqlite = null;
9856 };
9815 };
9857
9816
9858− libdbiDrivers = libdbiDriversBase.override {
9817+ libdbiDrivers = callPackage ../development/libraries/libdbi-drivers { };
9859− inherit sqlite mysql;
9860− };
9861
9818
9862− libdbusmenu-glib = callPackage ../development/libraries/libdbusmenu { };
9819+ libdbusmenu = callPackage ../development/libraries/libdbusmenu { };
9863− libdbusmenu-gtk2 = callPackage ../development/libraries/libdbusmenu { gtkVersion = "2"; };
9820+ libdbusmenu-gtk2 = libdbusmenu.override { gtkVersion = "2"; };
9864− libdbusmenu-gtk3 = callPackage ../development/libraries/libdbusmenu { gtkVersion = "3"; };
9821+ libdbusmenu-gtk3 = libdbusmenu.override { gtkVersion = "3"; };
9865
9822
9866 libdbusmenu_qt = callPackage ../development/libraries/libdbusmenu-qt { };
9823 libdbusmenu_qt = callPackage ../development/libraries/libdbusmenu-qt { };
9867
9824
@@ -9940,7 +9897,7 @@ with pkgs;
9940 libfilezilla = callPackage ../development/libraries/libfilezilla { };
9897 libfilezilla = callPackage ../development/libraries/libfilezilla { };
9941
9898
9942 libfm = callPackage ../development/libraries/libfm { };
9899 libfm = callPackage ../development/libraries/libfm { };
9943− libfm-extra = callPackage ../development/libraries/libfm {
9900+ libfm-extra = libfm.override {
9944 extraOnly = true;
9901 extraOnly = true;
9945 };
9902 };
9946
9903
@@ -9985,8 +9942,6 @@ with pkgs;
9985
9942
9986 liblo = callPackage ../development/libraries/liblo { };
9943 liblo = callPackage ../development/libraries/liblo { };
9987
9944
9988− liblrdf = librdf;
9989−
9990 liblscp = callPackage ../development/libraries/liblscp { };
9945 liblscp = callPackage ../development/libraries/liblscp { };
9991
9946
9992 libe-book = callPackage ../development/libraries/libe-book {};
9947 libe-book = callPackage ../development/libraries/libe-book {};
@@ -10083,11 +10038,13 @@ with pkgs;
10083
10038
10084 libimobiledevice = callPackage ../development/libraries/libimobiledevice { };
10039 libimobiledevice = callPackage ../development/libraries/libimobiledevice { };
10085
10040
10086− libindicate-gtk2 = callPackage ../development/libraries/libindicate { gtkVersion = "2"; };
10041+ libindicate-gtk2 = libindicate.override { gtkVersion = "2"; };
10087− libindicate-gtk3 = callPackage ../development/libraries/libindicate { gtkVersion = "3"; };
10042+ libindicate-gtk3 = libindicate.override { gtkVersion = "3"; };
10043+ libindicate = callPackage ../development/libraries/libindicate { };
10088
10044
10089− libindicator-gtk2 = callPackage ../development/libraries/libindicator { gtkVersion = "2"; };
10045+ libindicator-gtk2 = libindicator.override { gtkVersion = "2"; };
10090− libindicator-gtk3 = callPackage ../development/libraries/libindicator { gtkVersion = "3"; };
10046+ libindicator-gtk3 = libindicator.override { gtkVersion = "3"; };
10047+ libindicator = callPackage ../development/libraries/libindicator { };
10091
10048
10092 libiodbc = callPackage ../development/libraries/libiodbc {
10049 libiodbc = callPackage ../development/libraries/libiodbc {
10093 useGTK = config.libiodbc.gtk or false;
10050 useGTK = config.libiodbc.gtk or false;
@@ -10245,7 +10202,7 @@ with pkgs;
10245 libjpeg_original = callPackage ../development/libraries/libjpeg { };
10202 libjpeg_original = callPackage ../development/libraries/libjpeg { };
10246 libjpeg_turbo = callPackage ../development/libraries/libjpeg-turbo { };
10203 libjpeg_turbo = callPackage ../development/libraries/libjpeg-turbo { };
10247 libjpeg_drop = callPackage ../development/libraries/libjpeg-drop { };
10204 libjpeg_drop = callPackage ../development/libraries/libjpeg-drop { };
10248− libjpeg = if stdenv.isLinux then libjpeg_turbo else libjpeg_original; # some problems, both on FreeBSD and Darwin
10205+ libjpeg = libjpeg_turbo;
10249
10206
10250 libjreen = callPackage ../development/libraries/libjreen { };
10207 libjreen = callPackage ../development/libraries/libjreen { };
10251
10208
@@ -10684,7 +10641,7 @@ with pkgs;
10684
10641
10685 luabind = callPackage ../development/libraries/luabind { lua = lua5_1; };
10642 luabind = callPackage ../development/libraries/luabind { lua = lua5_1; };
10686
10643
10687− luabind_luajit = callPackage ../development/libraries/luabind { lua = luajit; };
10644+ luabind_luajit = luabind.override { lua = luajit; };
10688
10645
10689 luaffi = callPackage ../development/libraries/luaffi { lua = lua5_1; };
10646 luaffi = callPackage ../development/libraries/luaffi { lua = lua5_1; };
10690
10647
@@ -10842,13 +10799,16 @@ with pkgs;
10842
10799
10843 notify-sharp = callPackage ../development/libraries/notify-sharp { };
10800 notify-sharp = callPackage ../development/libraries/notify-sharp { };
10844
10801
10845− ncurses5 = callPackage ../development/libraries/ncurses {
10802+ ncurses5 = ncurses.override {
10846 abiVersion = "5";
10803 abiVersion = "5";
10847 };
10804 };
10848− ncurses6 = callPackage ../development/libraries/ncurses {
10805+ ncurses6 = ncurses.override {
10849 abiVersion = "6";
10806 abiVersion = "6";
10850 };
10807 };
10808+ ncurses =
10851− ncurses = if hostPlatform.useiOSPrebuilt then null else ncurses6;
10809+ if hostPlatform.useiOSPrebuilt
10810+ then null
10811+ else callPackage ../development/libraries/ncurses { };
10852
10812
10853 neardal = callPackage ../development/libraries/neardal { };
10813 neardal = callPackage ../development/libraries/neardal { };
10854
10814
@@ -10922,8 +10882,6 @@ with pkgs;
10922
10882
10923 oobicpl = callPackage ../development/libraries/science/biology/oobicpl { };
10883 oobicpl = callPackage ../development/libraries/science/biology/oobicpl { };
10924
10884
10925− openal = self.openalSoft;
10926−
10927 openalSoft = callPackage ../development/libraries/openal-soft {
10885 openalSoft = callPackage ../development/libraries/openal-soft {
10928 inherit (darwin.apple_sdk.frameworks) CoreServices AudioUnit AudioToolbox;
10886 inherit (darwin.apple_sdk.frameworks) CoreServices AudioUnit AudioToolbox;
10929 };
10887 };
@@ -10932,8 +10890,6 @@ with pkgs;
10932
10890
10933 opencascade = callPackage ../development/libraries/opencascade { };
10891 opencascade = callPackage ../development/libraries/opencascade { };
10934
10892
10935− opencascade_oce = opencascade;
10936−
10937 opencl-headersGen = v: callPackage ../development/libraries/opencl-headers { version = v; };
10893 opencl-headersGen = v: callPackage ../development/libraries/opencl-headers { version = v; };
10938 opencl-headers_1_2 = opencl-headersGen "12";
10894 opencl-headers_1_2 = opencl-headersGen "12";
10939 opencl-headers_2_2 = opencl-headersGen "22";
10895 opencl-headers_2_2 = opencl-headersGen "22";
@@ -10962,9 +10918,6 @@ with pkgs;
10962 enableCuda = false;
10918 enableCuda = false;
10963 };
10919 };
10964
10920
10965− # this ctl version is needed by openexr_viewers
10966− openexr_ctl = ctl;
10967−
10968 openexr = callPackage ../development/libraries/openexr { };
10921 openexr = callPackage ../development/libraries/openexr { };
10969
10922
10970 openexrid-unstable = callPackage ../development/libraries/openexrid-unstable { };
10923 openexrid-unstable = callPackage ../development/libraries/openexrid-unstable { };
@@ -11111,8 +11064,6 @@ with pkgs;
11111
11064
11112 poker-eval = callPackage ../development/libraries/poker-eval { };
11065 poker-eval = callPackage ../development/libraries/poker-eval { };
11113
11066
11114− polarssl = mbedtls;
11115−
11116 polkit = callPackage ../development/libraries/polkit { };
11067 polkit = callPackage ../development/libraries/polkit { };
11117
11068
11118 polkit_qt4 = callPackage ../development/libraries/polkit-qt-1/qt-4.nix { };
11069 polkit_qt4 = callPackage ../development/libraries/polkit-qt-1/qt-4.nix { };
@@ -11124,7 +11075,10 @@ with pkgs;
11124 introspectionSupport = true;
11075 introspectionSupport = true;
11125 });
11076 });
11126
11077
11127− poppler_min = poppler.override { # TODO: maybe reduce even more
11078+ poppler_min = poppler_0_61.override { # TODO: maybe reduce even more
11079+ # this is currently only used by texlive.bin.
11080+ # pinned to 0.61 because texlive 2017 doesn't build w/poppler 0.64
11081+ # TODO: review poppler version for texlive 2018
11128 minimal = true;
11082 minimal = true;
11129 suffix = "min";
11083 suffix = "min";
11130 };
11084 };
@@ -11180,7 +11134,7 @@ with pkgs;
11180 qbs = callPackage ../development/tools/build-managers/qbs { };
11134 qbs = callPackage ../development/tools/build-managers/qbs { };
11181
11135
11182 qca2 = callPackage ../development/libraries/qca2 { qt = qt4; };
11136 qca2 = callPackage ../development/libraries/qca2 { qt = qt4; };
11183− qca2-qt5 = callPackage ../development/libraries/qca2 { qt = qt5.qtbase; };
11137+ qca2-qt5 = qca2.override { qt = qt5.qtbase; };
11184
11138
11185 qimageblitz = callPackage ../development/libraries/qimageblitz {};
11139 qimageblitz = callPackage ../development/libraries/qimageblitz {};
11186
11140
@@ -11347,9 +11301,7 @@ with pkgs;
11347 withQt5 = true;
11301 withQt5 = true;
11348 };
11302 };
11349
11303
11350− phonon-backend-vlc = callPackage ../development/libraries/phonon/backends/vlc.nix {
11304+ phonon-backend-vlc = callPackage ../development/libraries/phonon/backends/vlc.nix { };
11351− withQt5 = true;
11352− };
11353
11305
11354 polkit-qt = callPackage ../development/libraries/polkit-qt-1/qt-5.nix { };
11306 polkit-qt = callPackage ../development/libraries/polkit-qt-1/qt-5.nix { };
11355
11307
@@ -11384,11 +11336,7 @@ with pkgs;
11384
11336
11385 telepathy = callPackage ../development/libraries/telepathy/qt { };
11337 telepathy = callPackage ../development/libraries/telepathy/qt { };
11386
11338
11387− vlc = lowPrio (callPackage ../applications/video/vlc {
11339+ vlc = callPackage ../applications/video/vlc {};
11388− qt4 = null;
11389− withQt5 = true;
11390− ffmpeg = ffmpeg_2;
11391− });
11392
11340
11393 qtwebkit-plugins = callPackage ../development/libraries/qtwebkit-plugins { };
11341 qtwebkit-plugins = callPackage ../development/libraries/qtwebkit-plugins { };
11394
11342
@@ -11471,8 +11419,6 @@ with pkgs;
11471
11419
11472 qrupdate = callPackage ../development/libraries/qrupdate { };
11420 qrupdate = callPackage ../development/libraries/qrupdate { };
11473
11421
11474− redland = pkgs.librdf_redland;
11475−
11476 resolv_wrapper = callPackage ../development/libraries/resolv_wrapper { };
11422 resolv_wrapper = callPackage ../development/libraries/resolv_wrapper { };
11477
11423
11478 rhino = callPackage ../development/libraries/java/rhino {
11424 rhino = callPackage ../development/libraries/java/rhino {
@@ -11649,7 +11595,6 @@ with pkgs;
11649 speechd = callPackage ../development/libraries/speechd { };
11595 speechd = callPackage ../development/libraries/speechd { };
11650
11596
11651 speech-tools = callPackage ../development/libraries/speech-tools {};
11597 speech-tools = callPackage ../development/libraries/speech-tools {};
11652− speech_tools = speech-tools;
11653
11598
11654 speex = callPackage ../development/libraries/speex {
11599 speex = callPackage ../development/libraries/speex {
11655 fftw = fftwFloat;
11600 fftw = fftwFloat;
@@ -11686,7 +11631,7 @@ with pkgs;
11686
11631
11687 sqlite = lowPrio (callPackage ../development/libraries/sqlite { });
11632 sqlite = lowPrio (callPackage ../development/libraries/sqlite { });
11688
11633
11689− sqlite3_analyzer = lowPrio (callPackage ../development/libraries/sqlite/sqlite3_analyzer.nix { });
11634+ sqlite-analyzer = lowPrio (callPackage ../development/libraries/sqlite/analyzer.nix { });
11690
11635
11691 sqlar = callPackage ../development/libraries/sqlite/sqlar.nix { };
11636 sqlar = callPackage ../development/libraries/sqlite/sqlar.nix { };
11692
11637
@@ -11715,17 +11660,16 @@ with pkgs;
11715
11660
11716 subtitleeditor = callPackage ../applications/video/subtitleeditor { };
11661 subtitleeditor = callPackage ../applications/video/subtitleeditor { };
11717
11662
11718− suil-qt4 = callPackage ../development/libraries/audio/suil {
11663+ suil = callPackage ../development/libraries/audio/suil { };
11719− withQt4 = true;
11720− withQt5 = false;
11721− };
11722
11664
11723− suil-qt5 = callPackage ../development/libraries/audio/suil {
11665+ suil-qt5 = suil.override {
11724 withQt4 = false;
11666 withQt4 = false;
11725 withQt5 = true;
11667 withQt5 = true;
11726 };
11668 };
11727−
11728− suil = suil-qt4;
11669+ suil-qt4 = suil.override {
11670+ withQt4 = true;
11671+ withQt5 = false;
11672+ };
11729
11673
11730 sundials = callPackage ../development/libraries/sundials { };
11674 sundials = callPackage ../development/libraries/sundials { };
11731
11675
@@ -12120,7 +12064,7 @@ with pkgs;
12120
12064
12121 zlog = callPackage ../development/libraries/zlog { };
12065 zlog = callPackage ../development/libraries/zlog { };
12122
12066
12123− zlibStatic = lowPrio (appendToName "static" (callPackage ../development/libraries/zlib {
12067+ zlibStatic = lowPrio (appendToName "static" (zlib.override {
12124 static = true;
12068 static = true;
12125 }));
12069 }));
12126
12070
@@ -12426,8 +12370,6 @@ with pkgs;
12426 java = jdk;
12370 java = jdk;
12427 };
12371 };
12428
12372
12429− fuseki = apache-jena-fuseki;
12430−
12431 apcupsd = callPackage ../servers/apcupsd { };
12373 apcupsd = callPackage ../servers/apcupsd { };
12432
12374
12433 asterisk = asterisk-stable;
12375 asterisk = asterisk-stable;
@@ -12449,7 +12391,6 @@ with pkgs;
12449 bird bird6 bird2;
12391 bird bird6 bird2;
12450
12392
12451 bosun = callPackage ../servers/monitoring/bosun { };
12393 bosun = callPackage ../servers/monitoring/bosun { };
12452− scollector = bosun;
12453
12394
12454 cayley = callPackage ../servers/cayley { };
12395 cayley = callPackage ../servers/cayley { };
12455
12396
@@ -12522,8 +12463,6 @@ with pkgs;
12522 v8 = v8_6_x;
12463 v8 = v8_6_x;
12523 };
12464 };
12524
12465
12525− etcdctl = etcd;
12526−
12527 exim = callPackage ../servers/mail/exim { };
12466 exim = callPackage ../servers/mail/exim { };
12528
12467
12529 facette = callPackage ../servers/monitoring/facette { };
12468 facette = callPackage ../servers/monitoring/facette { };
@@ -12537,7 +12476,7 @@ with pkgs;
12537 fingerd_bsd = callPackage ../servers/fingerd/bsd-fingerd { };
12476 fingerd_bsd = callPackage ../servers/fingerd/bsd-fingerd { };
12538
12477
12539 firebird = callPackage ../servers/firebird { icu = null; stdenv = overrideCC stdenv gcc5; };
12478 firebird = callPackage ../servers/firebird { icu = null; stdenv = overrideCC stdenv gcc5; };
12540− firebirdSuper = callPackage ../servers/firebird { icu = icu58; superServer = true; stdenv = overrideCC stdenv gcc5; };
12479+ firebirdSuper = firebird.override { icu = icu58; superServer = true; stdenv = overrideCC stdenv gcc5; };
12541
12480
12542 foswiki = callPackage ../servers/foswiki { };
12481 foswiki = callPackage ../servers/foswiki { };
12543
12482
@@ -12652,12 +12591,10 @@ with pkgs;
12652 modules = [ nginxModules.dav nginxModules.moreheaders ];
12591 modules = [ nginxModules.dav nginxModules.moreheaders ];
12653 };
12592 };
12654
12593
12655− nginxUnstable = nginxMainline;
12656−
12657 nginxModules = callPackage ../servers/http/nginx/modules.nix { };
12594 nginxModules = callPackage ../servers/http/nginx/modules.nix { };
12658
12595
12659 # We should move to dynmaic modules and create a nginxFull package with all modules
12596 # We should move to dynmaic modules and create a nginxFull package with all modules
12660− nginxShibboleth = callPackage ../servers/http/nginx/stable.nix {
12597+ nginxShibboleth = nginxStable.override {
12661 modules = [ nginxModules.rtmp nginxModules.dav nginxModules.moreheaders nginxModules.shibboleth ];
12598 modules = [ nginxModules.rtmp nginxModules.dav nginxModules.moreheaders nginxModules.shibboleth ];
12662 };
12599 };
12663
12600
@@ -12711,13 +12648,11 @@ with pkgs;
12711
12648
12712 # PulseAudio daemons
12649 # PulseAudio daemons
12713
12650
12714− # Name is changed to prevent use in packages;
12715− # please use libpulseaudio instead.
12716− pulseaudioLight = callPackage ../servers/pulseaudio {
12651+ pulseaudio = callPackage ../servers/pulseaudio {
12717 inherit (darwin.apple_sdk.frameworks) CoreServices AudioUnit Cocoa;
12652 inherit (darwin.apple_sdk.frameworks) CoreServices AudioUnit Cocoa;
12718 };
12653 };
12719
12654
12720− pulseaudioFull = callPackage ../servers/pulseaudio {
12655+ pulseaudioFull = pulseaudio.override {
12721 gconf = gnome3.gconf;
12656 gconf = gnome3.gconf;
12722 x11Support = true;
12657 x11Support = true;
12723 jackaudioSupport = true;
12658 jackaudioSupport = true;
@@ -12730,8 +12665,7 @@ with pkgs;
12730 };
12665 };
12731
12666
12732 # libpulse implementations
12667 # libpulse implementations
12733−
12734− libpulseaudio-vanilla = callPackage ../servers/pulseaudio {
12668+ libpulseaudio-vanilla = pulseaudio.override {
12735 libOnly = true;
12669 libOnly = true;
12736 inherit (darwin.apple_sdk.frameworks) CoreServices AudioUnit Cocoa;
12670 inherit (darwin.apple_sdk.frameworks) CoreServices AudioUnit Cocoa;
12737 };
12671 };
@@ -12795,8 +12729,6 @@ with pkgs;
12795 boost = boost159;
12729 boost = boost159;
12796 };
12730 };
12797
12731
12798− mysql = mariadb;
12799−
12800 mysql_jdbc = callPackage ../servers/sql/mysql/jdbc { };
12732 mysql_jdbc = callPackage ../servers/sql/mysql/jdbc { };
12801
12733
12802 nagios = callPackage ../servers/monitoring/nagios { };
12734 nagios = callPackage ../servers/monitoring/nagios { };
@@ -12804,7 +12736,6 @@ with pkgs;
12804 munin = callPackage ../servers/monitoring/munin { };
12736 munin = callPackage ../servers/monitoring/munin { };
12805
12737
12806 monitoring-plugins = callPackage ../servers/monitoring/plugins { };
12738 monitoring-plugins = callPackage ../servers/monitoring/plugins { };
12807− nagiosPluginsOfficial = monitoring-plugins;
12808
12739
12809 inherit (callPackage ../servers/monitoring/plugins/labs_consol_de.nix { inherit (perlPackages) NetSNMP; })
12740 inherit (callPackage ../servers/monitoring/plugins/labs_consol_de.nix { inherit (perlPackages) NetSNMP; })
12810 check-nwc-health
12741 check-nwc-health
@@ -12841,8 +12772,8 @@ with pkgs;
12841 qboot = callPackage ../applications/virtualization/qboot { stdenv = stdenv_32bit; };
12772 qboot = callPackage ../applications/virtualization/qboot { stdenv = stdenv_32bit; };
12842
12773
12843 OVMF = callPackage ../applications/virtualization/OVMF { seabios = null; openssl = null; };
12774 OVMF = callPackage ../applications/virtualization/OVMF { seabios = null; openssl = null; };
12844− OVMF-CSM = callPackage ../applications/virtualization/OVMF { openssl = null; };
12775+ OVMF-CSM = OVMF.override { openssl = null; };
12845− #WIP: OVMF-secureBoot = callPackage ../applications/virtualization/OVMF { seabios = null; secureBoot = true; };
12776+ #WIP: OVMF-secureBoot = OVMF.override { seabios = null; secureBoot = true; };
12846
12777
12847 seabios = callPackage ../applications/virtualization/seabios { };
12778 seabios = callPackage ../applications/virtualization/seabios { };
12848
12779
@@ -12961,7 +12892,6 @@ with pkgs;
12961
12892
12962 deadpixi-sam-unstable = callPackage ../applications/editors/deadpixi-sam { };
12893 deadpixi-sam-unstable = callPackage ../applications/editors/deadpixi-sam { };
12963 deadpixi-sam = deadpixi-sam-unstable;
12894 deadpixi-sam = deadpixi-sam-unstable;
12964− sam = deadpixi-sam;
12965
12895
12966 samba3 = callPackage ../servers/samba/3.x.nix { };
12896 samba3 = callPackage ../servers/samba/3.x.nix { };
12967
12897
@@ -12973,8 +12903,6 @@ with pkgs;
12973
12903
12974 samba = samba4;
12904 samba = samba4;
12975
12905
12976− smbclient = samba;
12977−
12978 # A lightweight Samba 3, useful for non-Linux-based OSes.
12906 # A lightweight Samba 3, useful for non-Linux-based OSes.
12979 samba3_light = lowPrio (samba3.override {
12907 samba3_light = lowPrio (samba3.override {
12980 pam = null;
12908 pam = null;
@@ -13038,10 +12966,6 @@ with pkgs;
13038 storm = callPackage ../servers/computing/storm { };
12966 storm = callPackage ../servers/computing/storm { };
13039
12967
13040 slurm = callPackage ../servers/computing/slurm { gtk2 = null; };
12968 slurm = callPackage ../servers/computing/slurm { gtk2 = null; };
13041− slurm-llnl = slurm; # renamed July 2017
13042−
13043− slurm-full = appendToName "full" (callPackage ../servers/computing/slurm { });
13044− slurm-llnl-full = slurm-full; # renamed July 2017
13045
12969
13046 slurm-spank-x11 = callPackage ../servers/computing/slurm-spank-x11 { };
12970 slurm-spank-x11 = callPackage ../servers/computing/slurm-spank-x11 { };
13047
12971
@@ -13188,7 +13112,6 @@ with pkgs;
13188 atop = callPackage ../os-specific/linux/atop { };
13112 atop = callPackage ../os-specific/linux/atop { };
13189
13113
13190 audit = callPackage ../os-specific/linux/audit { };
13114 audit = callPackage ../os-specific/linux/audit { };
13191− libaudit = audit;
13192
13115
13193 b43Firmware_5_1_138 = callPackage ../os-specific/linux/firmware/b43-firmware/5.1.138.nix { };
13116 b43Firmware_5_1_138 = callPackage ../os-specific/linux/firmware/b43-firmware/5.1.138.nix { };
13194
13117
@@ -13254,8 +13177,6 @@ with pkgs;
13254 # `.override` clobbered. C.F. `llvmPackages` which does the same.
13177 # `.override` clobbered. C.F. `llvmPackages` which does the same.
13255 darwin = callPackage ./darwin-packages.nix { };
13178 darwin = callPackage ./darwin-packages.nix { };
13256
13179
13257− devicemapper = lvm2;
13258−
13259 disk_indicator = callPackage ../os-specific/linux/disk-indicator { };
13180 disk_indicator = callPackage ../os-specific/linux/disk-indicator { };
13260
13181
13261 displaylink = callPackage ../os-specific/linux/displaylink {
13182 displaylink = callPackage ../os-specific/linux/displaylink {
@@ -13317,10 +13238,10 @@ with pkgs;
13317
13238
13318 fatrace = callPackage ../os-specific/linux/fatrace { };
13239 fatrace = callPackage ../os-specific/linux/fatrace { };
13319
13240
13320− ffadoFull = callPackage ../os-specific/linux/ffado {
13241+ ffado = callPackage ../os-specific/linux/ffado {
13321 inherit (python2Packages) python pyqt4 dbus-python;
13242 inherit (python2Packages) python pyqt4 dbus-python;
13322 };
13243 };
13323− libffado = ffadoFull.override { prefix = "lib"; };
13244+ libffado = ffado.override { prefix = "lib"; };
13324
13245
13325 fbterm = callPackage ../os-specific/linux/fbterm { };
13246 fbterm = callPackage ../os-specific/linux/fbterm { };
13326
13247
@@ -13415,7 +13336,7 @@ with pkgs;
13415 iwd = callPackage ../os-specific/linux/iwd { };
13336 iwd = callPackage ../os-specific/linux/iwd { };
13416
13337
13417 jfbview = callPackage ../os-specific/linux/jfbview { };
13338 jfbview = callPackage ../os-specific/linux/jfbview { };
13418− jfbpdf = callPackage ../os-specific/linux/jfbview {
13339+ jfbpdf = jfbview.override {
13419 imageSupport = false;
13340 imageSupport = false;
13420 };
13341 };
13421
13342
@@ -13861,8 +13782,6 @@ with pkgs;
13861
13782
13862 kmod-debian-aliases = callPackage ../os-specific/linux/kmod-debian-aliases { };
13783 kmod-debian-aliases = callPackage ../os-specific/linux/kmod-debian-aliases { };
13863
13784
13864− kvm = qemu_kvm;
13865−
13866 libcap = callPackage ../os-specific/linux/libcap { };
13785 libcap = callPackage ../os-specific/linux/libcap { };
13867
13786
13868 libcap_ng = callPackage ../os-specific/linux/libcap-ng {
13787 libcap_ng = callPackage ../os-specific/linux/libcap-ng {
@@ -13903,14 +13822,6 @@ with pkgs;
13903 musl-fts = callPackage ../os-specific/linux/musl/fts.nix { };
13822 musl-fts = callPackage ../os-specific/linux/musl/fts.nix { };
13904 musl-getconf = callPackage ../os-specific/linux/musl/getconf.nix { };
13823 musl-getconf = callPackage ../os-specific/linux/musl/getconf.nix { };
13905 musl-getent = callPackage ../os-specific/linux/musl/getent.nix { };
13824 musl-getent = callPackage ../os-specific/linux/musl/getent.nix { };
13906− getent =
13907− if hostPlatform.isMusl then musl-getent
13908− # This may not be right on other platforms, but preserves existing behavior
13909− else /* if hostPlatform.libc == "glibc" then */ glibc.bin;
13910−
13911− getconf =
13912− if hostPlatform.isMusl then musl-getconf
13913− else lib.getBin stdenv.cc.libc;
13914
13825
13915 nettools = if stdenv.isLinux then callPackage ../os-specific/linux/net-tools { }
13826 nettools = if stdenv.isLinux then callPackage ../os-specific/linux/net-tools { }
13916 else unixtools.nettools;
13827 else unixtools.nettools;
@@ -14050,8 +13961,6 @@ with pkgs;
14050
13961
14051 prayer = callPackage ../servers/prayer { };
13962 prayer = callPackage ../servers/prayer { };
14052
13963
14053− procps = procps-ng;
14054−
14055 procps-ng = if stdenv.isLinux then callPackage ../os-specific/linux/procps-ng { }
13964 procps-ng = if stdenv.isLinux then callPackage ../os-specific/linux/procps-ng { }
14056 else unixtools.procps;
13965 else unixtools.procps;
14057
13966
@@ -14140,10 +14049,6 @@ with pkgs;
14140
14049
14141 sysprof = callPackage ../development/tools/profiling/sysprof { };
14050 sysprof = callPackage ../development/tools/profiling/sysprof { };
14142
14051
14143− # Provided with sysfsutils.
14144− libsysfs = sysfsutils;
14145− systool = sysfsutils;
14146−
14147 sysklogd = callPackage ../os-specific/linux/sysklogd { };
14052 sysklogd = callPackage ../os-specific/linux/sysklogd { };
14148
14053
14149 syslinux = callPackage ../os-specific/linux/syslinux { };
14054 syslinux = callPackage ../os-specific/linux/syslinux { };
@@ -14167,7 +14072,7 @@ with pkgs;
14167
14072
14168 sysvinit = callPackage ../os-specific/linux/sysvinit { };
14073 sysvinit = callPackage ../os-specific/linux/sysvinit { };
14169
14074
14170− sysvtools = callPackage ../os-specific/linux/sysvinit {
14075+ sysvtools = sysvinit.override {
14171 withoutInitTools = true;
14076 withoutInitTools = true;
14172 };
14077 };
14173
14078
@@ -14219,9 +14124,6 @@ with pkgs;
14219 stdenv = crossLibcStdenv;
14124 stdenv = crossLibcStdenv;
14220 };
14125 };
14221
14126
14222− udev = systemd;
14223− libudev = udev;
14224−
14225 eudev = callPackage ../os-specific/linux/eudev {};
14127 eudev = callPackage ../os-specific/linux/eudev {};
14226
14128
14227 libudev0-shim = callPackage ../os-specific/linux/libudev0-shim/default.nix { };
14129 libudev0-shim = callPackage ../os-specific/linux/libudev0-shim/default.nix { };
@@ -14419,10 +14321,6 @@ with pkgs;
14419 docbook_xsl
14321 docbook_xsl
14420 docbook_xsl_ns;
14322 docbook_xsl_ns;
14421
14323
14422− docbook_xml_xslt = docbook_xsl;
14423−
14424− docbook5_xsl = docbook_xsl_ns;
14425−
14426 documentation-highlighter = callPackage ../misc/documentation-highlighter { };
14324 documentation-highlighter = callPackage ../misc/documentation-highlighter { };
14427
14325
14428 cabin = callPackage ../data/fonts/cabin { };
14326 cabin = callPackage ../data/fonts/cabin { };
@@ -15259,7 +15157,7 @@ with pkgs;
15259 };
15157 };
15260
15158
15261 codeblocks = callPackage ../applications/editors/codeblocks { };
15159 codeblocks = callPackage ../applications/editors/codeblocks { };
15262− codeblocksFull = callPackage ../applications/editors/codeblocks { contribPlugins = true; };
15160+ codeblocksFull = codeblocks.override { contribPlugins = true; };
15263
15161
15264 comical = callPackage ../applications/graphics/comical { };
15162 comical = callPackage ../applications/graphics/comical { };
15265
15163
@@ -15368,8 +15266,6 @@ with pkgs;
15368 inherit (python3Packages) buildPythonApplication requests;
15266 inherit (python3Packages) buildPythonApplication requests;
15369 };
15267 };
15370
15268
15371− dmtx = dmtx-utils;
15372−
15373 dmtx-utils = callPackage (callPackage ../tools/graphics/dmtx-utils) {
15269 dmtx-utils = callPackage (callPackage ../tools/graphics/dmtx-utils) {
15374 };
15270 };
15375
15271
@@ -15499,9 +15395,6 @@ with pkgs;
15499 ImageCaptureCore GSS ImageIO;
15395 ImageCaptureCore GSS ImageIO;
15500 };
15396 };
15501
15397
15502− # for backwards compatibility
15503− emacs25Macport_25_1 = emacs25Macport;
15504−
15505 emacsPackagesGen = emacs: self: let callPackage = newScope self; in rec {
15398 emacsPackagesGen = emacs: self: let callPackage = newScope self; in rec {
15506 inherit emacs;
15399 inherit emacs;
15507
15400
@@ -15736,7 +15629,6 @@ with pkgs;
15736 keepass-keepasshttp = callPackage ../applications/misc/keepass-plugins/keepasshttp { };
15629 keepass-keepasshttp = callPackage ../applications/misc/keepass-plugins/keepasshttp { };
15737
15630
15738 keepass-keepassrpc = callPackage ../applications/misc/keepass-plugins/keepassrpc { };
15631 keepass-keepassrpc = callPackage ../applications/misc/keepass-plugins/keepassrpc { };
15739− keepass-keefox = keepass-keepassrpc; # backwards compatibility alias, added 2018-02
15740
15632
15741 exrdisplay = callPackage ../applications/graphics/exrdisplay { };
15633 exrdisplay = callPackage ../applications/graphics/exrdisplay { };
15742
15634
@@ -15758,9 +15650,9 @@ with pkgs;
15758
15650
15759 fldigi = callPackage ../applications/audio/fldigi { };
15651 fldigi = callPackage ../applications/audio/fldigi { };
15760
15652
15761− flink = flink_1_4;
15653+ flink = callPackage ../applications/networking/cluster/flink { };
15762− flink_1_3 = callPackage ../applications/networking/cluster/flink { version = "1.3"; };
15654+ flink_1_3 = flink.override { version = "1.3"; };
15763− flink_1_4 = callPackage ../applications/networking/cluster/flink { version = "1.4"; };
15655+ flink_1_4 = flink.override { version = "1.4"; };
15764
15656
15765 fluidsynth = callPackage ../applications/audio/fluidsynth {
15657 fluidsynth = callPackage ../applications/audio/fluidsynth {
15766 inherit (darwin.apple_sdk.frameworks) AudioUnit CoreAudio CoreMIDI CoreServices;
15658 inherit (darwin.apple_sdk.frameworks) AudioUnit CoreAudio CoreMIDI CoreServices;
@@ -15897,19 +15789,16 @@ with pkgs;
15897
15789
15898 welle-io = libsForQt5.callPackage ../applications/misc/welle-io { };
15790 welle-io = libsForQt5.callPackage ../applications/misc/welle-io { };
15899
15791
15900− wireshark-cli = callPackage ../applications/networking/sniffers/wireshark {
15792+ wireshark = callPackage ../applications/networking/sniffers/wireshark {
15901− withQt = false;
15793+ withQt = true;
15902 withGtk = false;
15794 withGtk = false;
15903 inherit (darwin.apple_sdk.frameworks) ApplicationServices SystemConfiguration;
15795 inherit (darwin.apple_sdk.frameworks) ApplicationServices SystemConfiguration;
15904 };
15796 };
15905−
15906− # the cli binary is actually called tshark and often packaged under this name
15907− tshark = wireshark-cli;
15797+ wireshark-qt = wireshark;
15908
15798
15909 # The GTK UI is deprecated by upstream. You probably want the QT version.
15799 # The GTK UI is deprecated by upstream. You probably want the QT version.
15910− wireshark-gtk = wireshark-cli.override { withGtk = true; };
15800+ wireshark-gtk = wireshark.override { withGtk = true; };
15911− wireshark-qt = wireshark-cli.override { withQt = true; };
15801+ wireshark-cli = wireshark.override { withGtk = false; withQt = false; };
15912− wireshark = wireshark-qt;
15913
15802
15914 fbida = callPackage ../applications/graphics/fbida { };
15803 fbida = callPackage ../applications/graphics/fbida { };
15915
15804
@@ -15930,11 +15819,14 @@ with pkgs;
15930 });
15819 });
15931
15820
15932 firefox-unwrapped = firefoxPackages.firefox;
15821 firefox-unwrapped = firefoxPackages.firefox;
15822+ firefox-esr-52-unwrapped = firefoxPackages.firefox-esr-52;
15933− firefox-esr-unwrapped = firefoxPackages.firefox-esr;
15823+ firefox-esr-60-unwrapped = firefoxPackages.firefox-esr-60;
15934 tor-browser-unwrapped = firefoxPackages.tor-browser;
15824 tor-browser-unwrapped = firefoxPackages.tor-browser;
15935
15825
15936 firefox = wrapFirefox firefox-unwrapped { };
15826 firefox = wrapFirefox firefox-unwrapped { };
15827+ firefox-esr-52 = wrapFirefox firefox-esr-52-unwrapped { };
15937− firefox-esr = wrapFirefox firefox-esr-unwrapped { };
15828+ firefox-esr-60 = wrapFirefox firefox-esr-60-unwrapped { };
15829+ firefox-esr = firefox-esr-60;
15938
15830
15939 firefox-bin-unwrapped = callPackage ../applications/networking/browsers/firefox-bin {
15831 firefox-bin-unwrapped = callPackage ../applications/networking/browsers/firefox-bin {
15940 channel = "release";
15832 channel = "release";
@@ -15951,7 +15843,7 @@ with pkgs;
15951 desktopName = "Firefox";
15843 desktopName = "Firefox";
15952 };
15844 };
15953
15845
15954− firefox-beta-bin-unwrapped = callPackage ../applications/networking/browsers/firefox-bin {
15846+ firefox-beta-bin-unwrapped = firefox-bin-unwrapped.override {
15955 channel = "beta";
15847 channel = "beta";
15956 generated = import ../applications/networking/browsers/firefox-bin/beta_sources.nix;
15848 generated = import ../applications/networking/browsers/firefox-bin/beta_sources.nix;
15957 gconf = pkgs.gnome2.GConf;
15849 gconf = pkgs.gnome2.GConf;
@@ -16193,7 +16085,7 @@ with pkgs;
16193 };
16085 };
16194
16086
16195 graphicsmagick = callPackage ../applications/graphics/graphicsmagick { };
16087 graphicsmagick = callPackage ../applications/graphics/graphicsmagick { };
16196− graphicsmagick_q16 = callPackage ../applications/graphics/graphicsmagick { quantumdepth = 16; };
16088+ graphicsmagick_q16 = graphicsmagick.override { quantumdepth = 16; };
16197
16089
16198 graphicsmagick-imagemagick-compat = callPackage ../applications/graphics/graphicsmagick/compat.nix { };
16090 graphicsmagick-imagemagick-compat = callPackage ../applications/graphics/graphicsmagick/compat.nix { };
16199
16091
@@ -16435,13 +16327,12 @@ with pkgs;
16435 libwebp = null;
16327 libwebp = null;
16436 };
16328 };
16437
16329
16438− imagemagick = imagemagickBig.override {
16330+ imagemagick = callPackage ../applications/graphics/ImageMagick {
16331+ inherit (darwin.apple_sdk.frameworks) ApplicationServices;
16439 ghostscript = null;
16332 ghostscript = null;
16440 };
16333 };
16441
16334
16442− imagemagickBig = callPackage ../applications/graphics/ImageMagick {
16335+ imagemagickBig = imagemagick.override { inherit ghostscript; };
16443− inherit (darwin.apple_sdk.frameworks) ApplicationServices;
16444− };
16445
16336
16446 imagemagick7_light = lowPrio (imagemagick7.override {
16337 imagemagick7_light = lowPrio (imagemagick7.override {
16447 bzip2 = null;
16338 bzip2 = null;
@@ -16697,58 +16588,39 @@ with pkgs;
16697 libowfat = callPackage ../development/libraries/libowfat { };
16588 libowfat = callPackage ../development/libraries/libowfat { };
16698
16589
16699 librecad = callPackage ../applications/misc/librecad { };
16590 librecad = callPackage ../applications/misc/librecad { };
16700− librecad2 = librecad; # backwards compatibility alias, added 2015-10
16701
16591
16702 libreoffice = hiPrio libreoffice-still;
16592 libreoffice = hiPrio libreoffice-still;
16703
16593
16704− libreoffice-fresh = lowPrio (callPackage ../applications/office/libreoffice/wrapper.nix
16705− { libreoffice = callPackage ../applications/office/libreoffice {
16594+ libreoffice-unwrapped =callPackage ../applications/office/libreoffice {
16706− inherit (perlPackages) ArchiveZip CompressZlib;
16595+ inherit (perlPackages) ArchiveZip CompressZlib;
16707− inherit (gnome2) GConf ORBit2 gnome_vfs;
16596+ inherit (gnome2) GConf ORBit2 gnome_vfs;
16708− inherit (gnome3) defaultIconTheme;
16597+ inherit (gnome3) defaultIconTheme;
16709− zip = zip.override { enableNLS = false; };
16598+ zip = zip.override { enableNLS = false; };
16710− fontsConf = makeFontsConf {
16599+ fontsConf = makeFontsConf {
16711− fontDirectories = [
16600+ fontDirectories = [
16712− carlito dejavu_fonts
16601+ carlito dejavu_fonts
16713− freefont_ttf xorg.fontmiscmisc
16602+ freefont_ttf xorg.fontmiscmisc
16714− liberation_ttf_v1_binary
16603+ liberation_ttf_v1_binary
16715− liberation_ttf_v2_binary
16604+ liberation_ttf_v2_binary
16716− ];
16605+ ];
16717− };
16606+ };
16718− clucene_core = clucene_core_2;
16607+ clucene_core = clucene_core_2;
16719− lcms = lcms2;
16608+ lcms = lcms2;
16720− harfbuzz = harfbuzz.override {
16609+ harfbuzz = harfbuzz.override {
16721− withIcu = true; withGraphite2 = true;
16610+ withIcu = true; withGraphite2 = true;
16722− };
16611+ };
16723− # checking whether g++ supports C++14 or C++11... configure: error: no
16612+ # checking whether g++ supports C++14 or C++11... configure: error: no
16724− # Still relevant: 2018-04-13
16613+ # Still relevant: 2018-04-13
16725− stdenv = overrideCC stdenv gcc5;
16614+ stdenv = overrideCC stdenv gcc5;
16726− };});
16615+ };
16727−
16616+
16728− libreoffice-still = lowPrio (callPackage ../applications/office/libreoffice/wrapper.nix
16617+ libreoffice-fresh = lowPrio (callPackage ../applications/office/libreoffice/wrapper.nix { libreoffice = libreoffice-unwrapped; });
16618+
16729− { libreoffice = callPackage ../applications/office/libreoffice/still.nix {
16619+ libreoffice-still = lowPrio (callPackage ../applications/office/libreoffice/wrapper.nix {
16730− inherit (perlPackages) ArchiveZip CompressZlib;
16620+ libreoffice = libreoffice-unwrapped.override {
16731− inherit (gnome2) GConf ORBit2 gnome_vfs;
16732− inherit (gnome3) defaultIconTheme;
16733− zip = zip.override { enableNLS = false; };
16734 poppler = poppler_0_61;
16621 poppler = poppler_0_61;
16735− fontsConf = makeFontsConf {
16736− fontDirectories = [
16737− carlito dejavu_fonts
16738− freefont_ttf xorg.fontmiscmisc
16739− liberation_ttf_v1_binary
16740− liberation_ttf_v2_binary
16741− ];
16742− };
16743− clucene_core = clucene_core_2;
16744− lcms = lcms2;
16745− harfbuzz = harfbuzz.override {
16746− withIcu = true; withGraphite2 = true;
16747− };
16622+ };
16748− # checking whether g++ supports C++14 or C++11... configure: error: no
16749− # Still relevant: 2018-04-13; gcc6 is not enough!
16750− stdenv = overrideCC stdenv gcc5;
16751− };});
16623+ });
16752
16624
16753 liferea = callPackage ../applications/networking/newsreaders/liferea {
16625 liferea = callPackage ../applications/networking/newsreaders/liferea {
16754 inherit (gnome3) libpeas gsettings-desktop-schemas dconf;
16626 inherit (gnome3) libpeas gsettings-desktop-schemas dconf;
@@ -17115,7 +16987,7 @@ with pkgs;
17115 libsForQt5.callPackage ../applications/audio/musescore { };
16987 libsForQt5.callPackage ../applications/audio/musescore { };
17116
16988
17117 mutt = callPackage ../applications/networking/mailreaders/mutt { };
16989 mutt = callPackage ../applications/networking/mailreaders/mutt { };
17118− mutt-with-sidebar = callPackage ../applications/networking/mailreaders/mutt {
16990+ mutt-with-sidebar = mutt.override {
17119 withSidebar = true;
16991 withSidebar = true;
17120 };
16992 };
17121
16993
@@ -18498,15 +18370,9 @@ with pkgs;
18498
18370
18499 vkeybd = callPackage ../applications/audio/vkeybd {};
18371 vkeybd = callPackage ../applications/audio/vkeybd {};
18500
18372
18501− vlc = callPackage ../applications/video/vlc {
18373+ vlc = libsForQt5.vlc;
18502− ffmpeg = ffmpeg_2;
18503− };
18504−
18505− vlc_npapi = callPackage ../applications/video/vlc/plugin.nix {
18506− gtk = gtk2;
18507− };
18508
18374
18509− vlc_qt5 = libsForQt5.vlc;
18375+ vlc_qt5 = vlc;
18510
18376
18511 vmpk = callPackage ../applications/audio/vmpk { };
18377 vmpk = callPackage ../applications/audio/vmpk { };
18512
18378
@@ -18577,7 +18443,7 @@ with pkgs;
18577
18443
18578 weechat-xmpp = callPackage ../applications/networking/instant-messengers/weechat-xmpp {};
18444 weechat-xmpp = callPackage ../applications/networking/instant-messengers/weechat-xmpp {};
18579
18445
18580− westonLite = callPackage ../applications/window-managers/weston {
18446+ westonLite = weston.override {
18581 pango = null;
18447 pango = null;
18582 freerdp = null;
18448 freerdp = null;
18583 libunwind = null;
18449 libunwind = null;
@@ -18756,15 +18622,12 @@ with pkgs;
18756 };
18622 };
18757
18623
18758 kodiPlain = callPackage ../applications/video/kodi { };
18624 kodiPlain = callPackage ../applications/video/kodi { };
18759− xbmcPlain = kodiPlain;
18760
18625
18761 kodiPlugins = recurseIntoAttrs (callPackage ../applications/video/kodi/plugins.nix {});
18626 kodiPlugins = recurseIntoAttrs (callPackage ../applications/video/kodi/plugins.nix {});
18762− xbmcPlugins = kodiPlugins;
18763
18627
18764 kodi = wrapKodi {
18628 kodi = wrapKodi {
18765 kodi = kodiPlain;
18629 kodi = kodiPlain;
18766 };
18630 };
18767− xbmc = kodi;
18768
18631
18769 kodi-retroarch-advanced-launchers =
18632 kodi-retroarch-advanced-launchers =
18770 callPackage ../misc/emulators/retroarch/kodi-advanced-launchers.nix {
18633 callPackage ../misc/emulators/retroarch/kodi-advanced-launchers.nix {
@@ -18877,21 +18740,21 @@ with pkgs;
18877 packages = self: [];
18740 packages = self: [];
18878 };
18741 };
18879
18742
18880− xmonad_log_applet_gnome2 = callPackage ../applications/window-managers/xmonad/log-applet {
18743+ xmonad_log_applet_gnome2 = xmonad_log_applet.override {
18881 desktopSupport = "gnome2";
18744 desktopSupport = "gnome2";
18882 inherit (xfce) libxfce4util xfce4-panel;
18745 inherit (xfce) libxfce4util xfce4-panel;
18883 gnome2_panel = gnome2.gnome_panel;
18746 gnome2_panel = gnome2.gnome_panel;
18884 GConf2 = gnome2.GConf;
18747 GConf2 = gnome2.GConf;
18885 };
18748 };
18886
18749
18887− xmonad_log_applet_gnome3 = callPackage ../applications/window-managers/xmonad/log-applet {
18750+ xmonad_log_applet = callPackage ../applications/window-managers/xmonad/log-applet {
18888 desktopSupport = "gnome3";
18751 desktopSupport = "gnome3";
18889 inherit (xfce) libxfce4util xfce4-panel;
18752 inherit (xfce) libxfce4util xfce4-panel;
18890 gnome2_panel = gnome2.gnome_panel;
18753 gnome2_panel = gnome2.gnome_panel;
18891 GConf2 = gnome2.GConf;
18754 GConf2 = gnome2.GConf;
18892 };
18755 };
18893
18756
18894− xmonad_log_applet_xfce = callPackage ../applications/window-managers/xmonad/log-applet {
18757+ xmonad_log_applet_xfce = xmonad_log_applet.override {
18895 desktopSupport = "xfce4";
18758 desktopSupport = "xfce4";
18896 inherit (xfce) libxfce4util xfce4-panel;
18759 inherit (xfce) libxfce4util xfce4-panel;
18897 gnome2_panel = gnome2.gnome_panel;
18760 gnome2_panel = gnome2.gnome_panel;
@@ -19167,10 +19030,6 @@ with pkgs;
19167 physfs = physfs_2;
19030 physfs = physfs_2;
19168 };
19031 };
19169
19032
19170− # these are here for compatibility
19171− d1x_rebirth = dxx-rebirth;
19172− d2x_rebirth = dxx-rebirth;
19173−
19174 inherit (callPackages ../games/dxx-rebirth/assets.nix { })
19033 inherit (callPackages ../games/dxx-rebirth/assets.nix { })
19175 descent1-assets
19034 descent1-assets
19176 descent2-assets;
19035 descent2-assets;
@@ -19203,13 +19062,13 @@ with pkgs;
19203
19062
19204 factorio = callPackage ../games/factorio { releaseType = "alpha"; };
19063 factorio = callPackage ../games/factorio { releaseType = "alpha"; };
19205
19064
19206− factorio-experimental = callPackage ../games/factorio { releaseType = "alpha"; experimental = true; };
19065+ factorio-experimental = factorio.override { releaseType = "alpha"; experimental = true; };
19207
19066
19208− factorio-headless = callPackage ../games/factorio { releaseType = "headless"; };
19067+ factorio-headless = factorio.override { releaseType = "headless"; };
19209
19068
19210− factorio-headless-experimental = callPackage ../games/factorio { releaseType = "headless"; experimental = true; };
19069+ factorio-headless-experimental = factorio.override { releaseType = "headless"; experimental = true; };
19211
19070
19212− factorio-demo = callPackage ../games/factorio { releaseType = "demo"; };
19071+ factorio-demo = factorio.override { releaseType = "demo"; };
19213
19072
19214 factorio-mods = callPackage ../games/factorio/mods.nix { };
19073 factorio-mods = callPackage ../games/factorio/mods.nix { };
19215
19074
@@ -19443,7 +19302,7 @@ with pkgs;
19443
19302
19444 pokerth = callPackage ../games/pokerth { };
19303 pokerth = callPackage ../games/pokerth { };
19445
19304
19446− pokerth-server = with callPackage ../games/pokerth { }; server;
19305+ pokerth-server = pokerth.server;
19447
19306
19448 prboom = callPackage ../games/prboom { };
19307 prboom = callPackage ../games/prboom { };
19449
19308
@@ -19712,7 +19571,7 @@ with pkgs;
19712 lua = lua5_2;
19571 lua = lua5_2;
19713 };
19572 };
19714
19573
19715− worldofgoo_demo = callPackage ../games/worldofgoo {
19574+ worldofgoo_demo = worldofgoo.override {
19716 demo = true;
19575 demo = true;
19717 };
19576 };
19718
19577
@@ -20094,9 +19953,9 @@ with pkgs;
20094 # and with or without atlas as a dependency. The default `liblapack` is 3.4.1
19953 # and with or without atlas as a dependency. The default `liblapack` is 3.4.1
20095 # with atlas. Atlas, when built with liblapack as a dependency, uses 3.5.0
19954 # with atlas. Atlas, when built with liblapack as a dependency, uses 3.5.0
20096 # without atlas. Etc.
19955 # without atlas. Etc.
20097− liblapackWithAtlas = callPackage ../development/libraries/science/math/liblapack {};
19956+ liblapack = callPackage ../development/libraries/science/math/liblapack {};
20098 liblapackWithoutAtlas = liblapackWithAtlas.override { atlas = null; };
19957 liblapackWithoutAtlas = liblapackWithAtlas.override { atlas = null; };
20099− liblapack = liblapackWithAtlas;
19958+ liblapackWithAtlas = liblapack;
20100
19959
20101 liblbfgs = callPackage ../development/libraries/science/math/liblbfgs { };
19960 liblbfgs = callPackage ../development/libraries/science/math/liblbfgs { };
20102
19961
@@ -20183,21 +20042,21 @@ with pkgs;
20183 cmake = cmakeCurses;
20042 cmake = cmakeCurses;
20184 };
20043 };
20185
20044
20186− gromacsMpi = lowPrio (callPackage ../applications/science/molecular-dynamics/gromacs {
20045+ gromacsMpi = lowPrio (gromacs.override {
20187 singlePrec = true;
20046 singlePrec = true;
20188 mpiEnabled = true;
20047 mpiEnabled = true;
20189 fftw = fftwSinglePrec;
20048 fftw = fftwSinglePrec;
20190 cmake = cmakeCurses;
20049 cmake = cmakeCurses;
20191 });
20050 });
20192
20051
20193− gromacsDouble = lowPrio (callPackage ../applications/science/molecular-dynamics/gromacs {
20052+ gromacsDouble = lowPrio (gromacs.override {
20194 singlePrec = false;
20053 singlePrec = false;
20195 mpiEnabled = false;
20054 mpiEnabled = false;
20196 fftw = fftw;
20055 fftw = fftw;
20197 cmake = cmakeCurses;
20056 cmake = cmakeCurses;
20198 });
20057 });
20199
20058
20200− gromacsDoubleMpi = lowPrio (callPackage ../applications/science/molecular-dynamics/gromacs {
20059+ gromacsDoubleMpi = lowPrio (gromacs.override {
20201 singlePrec = false;
20060 singlePrec = false;
20202 mpiEnabled = true;
20061 mpiEnabled = true;
20203 fftw = fftw;
20062 fftw = fftw;
@@ -20480,7 +20339,7 @@ with pkgs;
20480 maxima = callPackage ../applications/science/math/maxima {
20339 maxima = callPackage ../applications/science/math/maxima {
20481 ecl = null;
20340 ecl = null;
20482 };
20341 };
20483− maxima-ecl = callPackage ../applications/science/math/maxima {
20342+ maxima-ecl = maxima.override {
20484 ecl = ecl_16_1_2;
20343 ecl = ecl_16_1_2;
20485 ecl-fasl = true;
20344 ecl-fasl = true;
20486 sbcl = null;
20345 sbcl = null;
@@ -20637,7 +20496,7 @@ with pkgs;
20637 thepeg = callPackage ../development/libraries/physics/thepeg { };
20496 thepeg = callPackage ../development/libraries/physics/thepeg { };
20638
20497
20639 yoda = callPackage ../development/libraries/physics/yoda { };
20498 yoda = callPackage ../development/libraries/physics/yoda { };
20640− yoda-with-root = lowPrio (callPackage ../development/libraries/physics/yoda {
20499+ yoda-with-root = lowPrio (yoda.override {
20641 withRootSupport = true;
20500 withRootSupport = true;
20642 });
20501 });
20643
20502
@@ -20860,11 +20719,11 @@ with pkgs;
20860 # using the new configuration style proposal which is unstable
20719 # using the new configuration style proposal which is unstable
20861 jack1 = callPackage ../misc/jackaudio/jack1.nix { };
20720 jack1 = callPackage ../misc/jackaudio/jack1.nix { };
20862
20721
20863− jack2Full = callPackage ../misc/jackaudio {
20722+ jack2 = callPackage ../misc/jackaudio {
20864 libopus = libopus.override { withCustomModes = true; };
20723 libopus = libopus.override { withCustomModes = true; };
20865 inherit (darwin.apple_sdk.frameworks) AudioToolbox CoreAudio CoreFoundation;
20724 inherit (darwin.apple_sdk.frameworks) AudioToolbox CoreAudio CoreFoundation;
20866 };
20725 };
20867− libjack2 = jack2Full.override { prefix = "lib"; };
20726+ libjack2 = jack2.override { prefix = "lib"; };
20868
20727
20869 keynav = callPackage ../tools/X11/keynav { };
20728 keynav = callPackage ../tools/X11/keynav { };
20870
20729
@@ -20930,7 +20789,7 @@ with pkgs;
20930 nix-du = callPackage ../tools/package-management/nix-du { };
20789 nix-du = callPackage ../tools/package-management/nix-du { };
20931
20790
20932 nix-info = callPackage ../tools/nix/info { };
20791 nix-info = callPackage ../tools/nix/info { };
20933− nix-info-tested = callPackage ../tools/nix/info { doCheck = true; };
20792+ nix-info-tested = nix-info.override { doCheck = true; };
20934
20793
20935 nix-index = callPackage ../tools/package-management/nix-index { };
20794 nix-index = callPackage ../tools/package-management/nix-index { };
20936
20795
@@ -21419,10 +21278,10 @@ with pkgs;
21419
21278
21420 spdlog = callPackage ../development/libraries/spdlog { };
21279 spdlog = callPackage ../development/libraries/spdlog { };
21421
21280
21281+ dart = callPackage ../development/interpreters/dart { };
21422− dart = dart_stable;
21282+ dart_stable = dart.override { version = "1.24.3"; };
21423− dart_old = callPackage ../development/interpreters/dart { version = "1.16.1"; };
21283+ dart_old = dart.override { version = "1.16.1"; };
21424− dart_stable = callPackage ../development/interpreters/dart { version = "1.24.3"; };
21425− dart_dev = callPackage ../development/interpreters/dart { version = "2.0.0-dev.26.0"; };
21284+ dart_dev = dart.override { version = "2.0.0-dev.26.0"; };
21426
21285
21427 httrack = callPackage ../tools/backup/httrack { };
21286 httrack = callPackage ../tools/backup/httrack { };
21428
21287
@@ -21537,7 +21396,8 @@ with pkgs;
21537 # Unix tools
21396 # Unix tools
21538 unixtools = recurseIntoAttrs (callPackages ./unix-tools.nix { });
21397 unixtools = recurseIntoAttrs (callPackages ./unix-tools.nix { });
21539 inherit (unixtools) hexdump ps logger eject umount
21398 inherit (unixtools) hexdump ps logger eject umount
21540− mount wall hostname more sysctl;
21399+ mount wall hostname more sysctl getconf
21400+ getent;
21541
21401
21542 inherit (recurseIntoAttrs (callPackages ../os-specific/bsd { }))
21402 inherit (recurseIntoAttrs (callPackages ../os-specific/bsd { }))
21543 netbsd;
21403 netbsd;
pkgs/top-level/lua-packages.nix+2
@@ -438,6 +438,8 @@ let
438 );
438 );
439 '';
439 '';
440
440
441+ doCheck = false; # fails to find itself
442+
441 installTargets = [ "install" "install-unix" ];
443 installTargets = [ "install" "install-unix" ];
442
444
443 meta = with stdenv.lib; {
445 meta = with stdenv.lib; {
pkgs/top-level/perl-packages.nix+5−2
@@ -6460,6 +6460,9 @@ let self = _self // overrides; _self = with self; {
6460 # Patch has been sent upstream.
6460 # Patch has been sent upstream.
6461 patches = [ ../development/perl-modules/gd-options-passthrough-and-fontconfig.patch ];
6461 patches = [ ../development/perl-modules/gd-options-passthrough-and-fontconfig.patch ];
6462
6462
6463+ # otherwise "cc1: error: -Wformat-security ignored without -Wformat [-Werror=format-security]"
6464+ NIX_CFLAGS_COMPILE = [ "-Wno-error=format-security" ];
6465+
6463 # tests fail
6466 # tests fail
6464 doCheck = false;
6467 doCheck = false;
6465
6468
@@ -17245,10 +17248,10 @@ let self = _self // overrides; _self = with self; {
17245 };
17248 };
17246
17249
17247 URI = buildPerlPackage rec {
17250 URI = buildPerlPackage rec {
17248− name = "URI-1.73";
17251+ name = "URI-1.74";
17249 src = fetchurl {
17252 src = fetchurl {
17250 url = "mirror://cpan/authors/id/E/ET/ETHER/${name}.tar.gz";
17253 url = "mirror://cpan/authors/id/E/ET/ETHER/${name}.tar.gz";
17251− sha256 = "cca7ab4a6f63f3ccaacae0f2e1337e8edf84137e73f18548ec7d659f23efe413";
17254+ sha256 = "a9c254f45f89cb1dd946b689dfe433095404532a4543bdaab0b71ce0fdcdd53d";
17252 };
17255 };
17253 buildInputs = [ TestNeeds ];
17256 buildInputs = [ TestNeeds ];
17254 meta = {
17257 meta = {
pkgs/top-level/python-packages.nix+6−19
@@ -2097,6 +2097,8 @@ in {
2097
2097
2098 demjson = callPackage ../development/python-modules/demjson { };
2098 demjson = callPackage ../development/python-modules/demjson { };
2099
2099
2100+ deprecation = callPackage ../development/python-modules/deprecation { };
2101+
2100 derpconf = callPackage ../development/python-modules/derpconf { };
2102 derpconf = callPackage ../development/python-modules/derpconf { };
2101
2103
2102 deskcon = self.buildPythonPackage rec {
2104 deskcon = self.buildPythonPackage rec {
@@ -6954,6 +6956,9 @@ in {
6954
6956
6955 pylru = callPackage ../development/python-modules/pylru { };
6957 pylru = callPackage ../development/python-modules/pylru { };
6956
6958
6959+ libnl-python = disabledIf isPy3k
6960+ (toPythonModule (pkgs.libnl.override{pythonSupport=true; inherit python; })).py;
6961+
6957 lark-parser = callPackage ../development/python-modules/lark-parser { };
6962 lark-parser = callPackage ../development/python-modules/lark-parser { };
6958
6963
6959 lazy-object-proxy = buildPythonPackage rec {
6964 lazy-object-proxy = buildPythonPackage rec {
@@ -14261,25 +14266,7 @@ in {
14261
14266
14262 TurboCheetah = callPackage ../development/python-modules/TurboCheetah { };
14267 TurboCheetah = callPackage ../development/python-modules/TurboCheetah { };
14263
14268
14264− tweepy = buildPythonPackage (rec {
14269+ tweepy = callPackage ../development/python-modules/tweepy { };
14265− name = "tweepy-3.5.0";
14266−
14267− src = pkgs.fetchurl {
14268− url = "mirror://pypi/t/tweepy/${name}.tar.gz";
14269− sha256 = "0n2shilamgwhzmvf534xg7f6hrnznbixyl5pw2f5a3f391gwy37h";
14270− };
14271−
14272− doCheck = false;
14273− propagatedBuildInputs = with self; [ requests six requests_oauthlib ];
14274−
14275− meta = {
14276− homepage = "https://github.com/tweepy/tweepy";
14277− description = "Twitter library for python";
14278− license = licenses.mit;
14279− maintainers = with maintainers; [ garbas ];
14280− platforms = platforms.linux;
14281− };
14282− });
14283
14270
14284 twiggy = buildPythonPackage rec {
14271 twiggy = buildPythonPackage rec {
14285 name = "Twiggy-${version}";
14272 name = "Twiggy-${version}";
pkgs/top-level/release.nix+2−2
@@ -43,7 +43,7 @@ let
43 jobs.ghc.x86_64-darwin
43 jobs.ghc.x86_64-darwin
44 jobs.git.x86_64-darwin
44 jobs.git.x86_64-darwin
45 jobs.go.x86_64-darwin
45 jobs.go.x86_64-darwin
46− jobs.mysql.x86_64-darwin
46+ jobs.mariadb.x86_64-darwin
47 jobs.nix-repl.x86_64-darwin
47 jobs.nix-repl.x86_64-darwin
48 jobs.nix.x86_64-darwin
48 jobs.nix.x86_64-darwin
49 jobs.nox.x86_64-darwin
49 jobs.nox.x86_64-darwin
@@ -99,7 +99,7 @@ let
99 jobs.thunderbird.x86_64-linux
99 jobs.thunderbird.x86_64-linux
100 # Ensure that basic stuff works on darwin
100 # Ensure that basic stuff works on darwin
101 jobs.git.x86_64-darwin
101 jobs.git.x86_64-darwin
102− jobs.mysql.x86_64-darwin
102+ jobs.mariadb.x86_64-darwin
103 jobs.vim.x86_64-darwin
103 jobs.vim.x86_64-darwin
104 # Ensure that UI stuff works on darwin
104 # Ensure that UI stuff works on darwin
105 jobs.inkscape.x86_64-darwin
105 jobs.inkscape.x86_64-darwin
pkgs/top-level/stage.nix+2−1
@@ -97,7 +97,8 @@ let
97 res self;
97 res self;
98 in res;
98 in res;
99
99
100+ aliases = self: super: if config.skipAliases or false then {}
100− aliases = self: super: import ./aliases.nix super;
101+ else import ./aliases.nix super;
101
102
102 # stdenvOverrides is used to avoid having multiple of versions
103 # stdenvOverrides is used to avoid having multiple of versions
103 # of certain dependencies that were used in bootstrapping the
104 # of certain dependencies that were used in bootstrapping the
pkgs/top-level/unix-tools.nix+12−1
@@ -1,4 +1,5 @@
1−{ pkgs, buildEnv, runCommand, hostPlatform, lib }:
1+{ pkgs, buildEnv, runCommand, hostPlatform, lib
2+, stdenv }:
2
3
3# These are some unix tools that are commonly included in the /usr/bin
4# These are some unix tools that are commonly included in the /usr/bin
4# and /usr/sbin directory under more normal distributions. Along with
5# and /usr/sbin directory under more normal distributions. Along with
@@ -46,6 +47,16 @@ let
46 eject = {
47 eject = {
47 linux = pkgs.utillinux;
48 linux = pkgs.utillinux;
48 };
49 };
50+ getconf = {
51+ linux = if hostPlatform.isMusl then pkgs.musl-getconf
52+ else lib.getBin stdenv.cc.libc;
53+ darwin = pkgs.darwin.system_cmds;
54+ };
55+ getent = {
56+ linux = if hostPlatform.isMusl then pkgs.musl-getent
57+ # This may not be right on other platforms, but preserves existing behavior
58+ else /* if hostPlatform.libc == "glibc" then */ pkgs.glibc.bin;
59+ };
49 getopt = {
60 getopt = {
50 linux = pkgs.utillinux;
61 linux = pkgs.utillinux;
51 darwin = pkgs.getopt;
62 darwin = pkgs.getopt;