Merge remote-tracking branch 'upstream/master' into override-unstable-nix
commit4dfe9f9eb859c71d05fc1f1c90b71d5e01a18ba1
authorJohn Ericson <git@JohnEricson.me>
dateSun 10 Mar 2019, 13:53 (8 years ago)
parentbfc7214213d6dd
2092 files changed+35317−14322
.github/CODEOWNERS+5−5
@@ -58,11 +58,11 @@
5858/doc/languages-frameworks/python.section.md @FRidh
5959
6060# Haskell
61−/pkgs/development/compilers/ghc @peti @ryantm @basvandijk
62−/pkgs/development/haskell-modules @peti @ryantm @basvandijk
63−/pkgs/development/haskell-modules/default.nix @peti @ryantm @basvandijk
64−/pkgs/development/haskell-modules/generic-builder.nix @peti @ryantm @basvandijk
65−/pkgs/development/haskell-modules/hoogle.nix @peti @ryantm @basvandijk
61+/pkgs/development/compilers/ghc @peti @basvandijk
62+/pkgs/development/haskell-modules @peti @basvandijk
63+/pkgs/development/haskell-modules/default.nix @peti @basvandijk
64+/pkgs/development/haskell-modules/generic-builder.nix @peti @basvandijk
65+/pkgs/development/haskell-modules/hoogle.nix @peti @basvandijk
6666
6767# Perl
6868/pkgs/development/interpreters/perl @volth
.version+1−1
@@ -1 +1 @@
1−19.03
1+19.09
doc/.gitignore+4−3
@@ -1,7 +1,8 @@
11*.chapter.xml
22*.section.xml
33.version
4−out
5−manual-full.xml
6−highlightjs
4+functions/library/generated
75functions/library/locations.xml
6+highlightjs
7+manual-full.xml
8+out
doc/coding-conventions.xml+51−47
@@ -197,20 +197,14 @@ args.stdenv.mkDerivation (args // {
197197 <title>Package naming</title>
198198
199199 <para>
200− The key words
201− <emphasis>must</emphasis>,
202− <emphasis>must not</emphasis>,
203− <emphasis>required</emphasis>,
204− <emphasis>shall</emphasis>,
205− <emphasis>shall not</emphasis>,
206− <emphasis>should</emphasis>,
207− <emphasis>should not</emphasis>,
208− <emphasis>recommended</emphasis>,
209− <emphasis>may</emphasis>,
210− and <emphasis>optional</emphasis> in this section
211− are to be interpreted as described in
212− <link xlink:href="https://tools.ietf.org/html/rfc2119">RFC 2119</link>.
213− Only <emphasis>emphasized</emphasis> words are to be interpreted in this way.
200+ The key words <emphasis>must</emphasis>, <emphasis>must not</emphasis>,
201+ <emphasis>required</emphasis>, <emphasis>shall</emphasis>, <emphasis>shall
202+ not</emphasis>, <emphasis>should</emphasis>, <emphasis>should
203+ not</emphasis>, <emphasis>recommended</emphasis>, <emphasis>may</emphasis>,
204+ and <emphasis>optional</emphasis> in this section are to be interpreted as
205+ described in <link xlink:href="https://tools.ietf.org/html/rfc2119">RFC
206+ 2119</link>. Only <emphasis>emphasized</emphasis> words are to be
207+ interpreted in this way.
214208 </para>
215209
216210 <para>
@@ -253,15 +247,15 @@ args.stdenv.mkDerivation (args // {
253247 <itemizedlist>
254248 <listitem>
255249 <para>
256− The <literal>name</literal> attribute <emphasis>should</emphasis>
257− be identical to the upstream package name.
250+ The <literal>name</literal> attribute <emphasis>should</emphasis> be
251+ identical to the upstream package name.
258252 </para>
259253 </listitem>
260254 <listitem>
261255 <para>
262− The <literal>name</literal> attribute <emphasis>must not</emphasis>
263− contain uppercase letters — e.g., <literal>"mplayer-1.0rc2"</literal>
264− instead of <literal>"MPlayer-1.0rc2"</literal>.
256+ The <literal>name</literal> attribute <emphasis>must not</emphasis>
257+ contain uppercase letters — e.g., <literal>"mplayer-1.0rc2"</literal>
258+ instead of <literal>"MPlayer-1.0rc2"</literal>.
265259 </para>
266260 </listitem>
267261 <listitem>
@@ -275,28 +269,29 @@ args.stdenv.mkDerivation (args // {
275269 <para>
276270 If a package is not a release but a commit from a repository, then the
277271 version part of the name <emphasis>must</emphasis> be the date of that
278− (fetched) commit. The date <emphasis>must</emphasis> be in <literal>"YYYY-MM-DD"</literal>
279− format. Also append <literal>"unstable"</literal> to the name - e.g.,
272+ (fetched) commit. The date <emphasis>must</emphasis> be in
273+ <literal>"YYYY-MM-DD"</literal> format. Also append
274+ <literal>"unstable"</literal> to the name - e.g.,
280275 <literal>"pkgname-unstable-2014-09-23"</literal>.
281276 </para>
282277 </listitem>
283278 <listitem>
284279 <para>
285− Dashes in the package name <emphasis>should</emphasis> be preserved in new variable names,
286− rather than converted to underscores or camel cased — e.g.,
287− <varname>http-parser</varname> instead of <varname>http_parser</varname>
288− or <varname>httpParser</varname>. The hyphenated style is preferred in
289− all three package names.
280+ Dashes in the package name <emphasis>should</emphasis> be preserved in
281+ new variable names, rather than converted to underscores or camel cased
282+ — e.g., <varname>http-parser</varname> instead of
283+ <varname>http_parser</varname> or <varname>httpParser</varname>. The
284+ hyphenated style is preferred in all three package names.
290285 </para>
291286 </listitem>
292287 <listitem>
293288 <para>
294− If there are multiple versions of a package, this <emphasis>should</emphasis> be reflected in
295− the variable names in <filename>all-packages.nix</filename>, e.g.
296− <varname>json-c-0-9</varname> and <varname>json-c-0-11</varname>. If
297− there is an obvious “default” version, make an attribute like
298− <literal>json-c = json-c-0-9;</literal>. See also
299− <xref linkend="sec-versioning" />
289+ If there are multiple versions of a package, this
290+ <emphasis>should</emphasis> be reflected in the variable names in
291+ <filename>all-packages.nix</filename>, e.g. <varname>json-c-0-9</varname>
292+ and <varname>json-c-0-11</varname>. If there is an obvious “default”
293+ version, make an attribute like <literal>json-c = json-c-0-9;</literal>.
294+ See also <xref linkend="sec-versioning" />
300295 </para>
301296 </listitem>
302297 </itemizedlist>
@@ -814,8 +809,8 @@ args.stdenv.mkDerivation (args // {
814809
815810 <para>
816811 There are multiple ways to fetch a package source in nixpkgs. The general
817− guideline is that you should package reproducible sources with a high degree of
818− availability. Right now there is only one fetcher which has mirroring
812+ guideline is that you should package reproducible sources with a high degree
813+ of availability. Right now there is only one fetcher which has mirroring
819814 support and that is <literal>fetchurl</literal>. Note that you should also
820815 prefer protocols which have a corresponding proxy environment variable.
821816 </para>
@@ -869,8 +864,10 @@ src = fetchFromGitHub {
869864}
870865</programlisting>
871866 Find the value to put as <literal>sha256</literal> by running
872− <literal>nix run -f '<nixpkgs>' nix-prefetch-github -c nix-prefetch-github --rev 1f795f9f44607cc5bec70d1300150bfefcef2aae NixOS nix</literal>
873− or <literal>nix-prefetch-url --unpack https://github.com/NixOS/nix/archive/1f795f9f44607cc5bec70d1300150bfefcef2aae.tar.gz</literal>.
867+ <literal>nix run -f '<nixpkgs>' nix-prefetch-github -c
868+ nix-prefetch-github --rev 1f795f9f44607cc5bec70d1300150bfefcef2aae NixOS
869+ nix</literal> or <literal>nix-prefetch-url --unpack
870+ https://github.com/NixOS/nix/archive/1f795f9f44607cc5bec70d1300150bfefcef2aae.tar.gz</literal>.
874871 </para>
875872 </listitem>
876873 </itemizedlist>
@@ -953,17 +950,23 @@ $ nix-hash --type sha256 --to-base32 <replaceable>HASH</replaceable>
953950 would be replace hash with a fake one and rebuild. Nix build will fail and
954951 error message will contain desired hash.
955952 </para>
956− <warning><para>This method has security problems. Check below for details.</para></warning>
953+ <warning>
954+ <para>
955+ This method has security problems. Check below for details.
956+ </para>
957+ </warning>
957958 </listitem>
958959 </orderedlist>
959960
960961 <section xml:id="sec-source-hashes-security">
961962 <title>Obtaining hashes securely</title>
963+
962964 <para>
963− Let's say Man-in-the-Middle (MITM) sits close to your network. Then instead of fetching
964− source you can fetch malware, and instead of source hash you get hash of malware. Here are
965− security considerations for this scenario:
965+ Let's say Man-in-the-Middle (MITM) sits close to your network. Then instead
966+ of fetching source you can fetch malware, and instead of source hash you
967+ get hash of malware. Here are security considerations for this scenario:
966968 </para>
969+
967970 <itemizedlist>
968971 <listitem>
969972 <para>
@@ -972,7 +975,8 @@ $ nix-hash --type sha256 --to-base32 <replaceable>HASH</replaceable>
972975 </listitem>
973976 <listitem>
974977 <para>
975− hashes from upstream (in method 3) should be obtained via secure protocol;
978+ hashes from upstream (in method 3) should be obtained via secure
979+ protocol;
976980 </para>
977981 </listitem>
978982 <listitem>
@@ -982,12 +986,12 @@ $ nix-hash --type sha256 --to-base32 <replaceable>HASH</replaceable>
982986 </listitem>
983987 <listitem>
984988 <para>
985− <literal>https://</literal> URLs are not secure in method 5. When obtaining hashes
986− with fake hash method, TLS checks are disabled. So
987− refetch source hash from several different networks to exclude MITM scenario.
988− Alternatively, use fake hash method to make Nix error, but instead of extracting
989− hash from error, extract <literal>https://</literal> URL and prefetch it
990− with method 1.
989+ <literal>https://</literal> URLs are not secure in method 5. When
990+ obtaining hashes with fake hash method, TLS checks are disabled. So
991+ refetch source hash from several different networks to exclude MITM
992+ scenario. Alternatively, use fake hash method to make Nix error, but
993+ instead of extracting hash from error, extract
994+ <literal>https://</literal> URL and prefetch it with method 1.
991995 </para>
992996 </listitem>
993997 </itemizedlist>
doc/configuration.xml+9−10
@@ -132,13 +132,13 @@
132132 </itemizedlist>
133133
134134 <para>
135− The difference between a package being unsupported on some system and
136− being broken is admittedly a bit fuzzy. If a program
137− <emphasis>ought</emphasis> to work on a certain platform, but doesn't, the
138− platform should be included in <literal>meta.platforms</literal>, but marked
139− as broken with e.g. <literal>meta.broken =
140− !hostPlatform.isWindows</literal>. Of course, this begs the question of what
141− "ought" means exactly. That is left to the package maintainer.
135+ The difference between a package being unsupported on some system and being
136+ broken is admittedly a bit fuzzy. If a program <emphasis>ought</emphasis> to
137+ work on a certain platform, but doesn't, the platform should be included in
138+ <literal>meta.platforms</literal>, but marked as broken with e.g.
139+ <literal>meta.broken = !hostPlatform.isWindows</literal>. Of course, this
140+ begs the question of what "ought" means exactly. That is left to the package
141+ maintainer.
142142 </para>
143143 </section>
144144 <section xml:id="sec-allow-unfree">
@@ -175,9 +175,8 @@
175175</programlisting>
176176 </para>
177177 <para>
178− For a more useful example, try the following. This configuration
179− only allows unfree packages named flash player and visual studio
180− code:
178+ For a more useful example, try the following. This configuration only
179+ allows unfree packages named flash player and visual studio code:
181180<programlisting>
182181{
183182 allowUnfreePredicate = (pkg: builtins.elem
doc/cross-compilation.xml+80−78
@@ -6,17 +6,17 @@
66 <title>Introduction</title>
77
88 <para>
9− "Cross-compilation" means compiling a program on one machine for another type
10− of machine. For example, a typical use of cross-compilation is to compile
11− programs for embedded devices. These devices often don't have the computing
12− power and memory to compile their own programs. One might think that
13− cross-compilation is a fairly niche concern. However, there are significant
14− advantages to rigorously distinguishing between build-time and run-time
15− environments! This applies even when one is developing and deploying on the
16− same machine. Nixpkgs is increasingly adopting the opinion that packages
17− should be written with cross-compilation in mind, and nixpkgs should evaluate
18− in a similar way (by minimizing cross-compilation-specific special cases)
19− whether or not one is cross-compiling.
9+ "Cross-compilation" means compiling a program on one machine for another
10+ type of machine. For example, a typical use of cross-compilation is to
11+ compile programs for embedded devices. These devices often don't have the
12+ computing power and memory to compile their own programs. One might think
13+ that cross-compilation is a fairly niche concern. However, there are
14+ significant advantages to rigorously distinguishing between build-time and
15+ run-time environments! This applies even when one is developing and
16+ deploying on the same machine. Nixpkgs is increasingly adopting the opinion
17+ that packages should be written with cross-compilation in mind, and nixpkgs
18+ should evaluate in a similar way (by minimizing cross-compilation-specific
19+ special cases) whether or not one is cross-compiling.
2020 </para>
2121
2222 <para>
@@ -34,15 +34,16 @@
3434 <title>Platform parameters</title>
3535
3636 <para>
37− Nixpkgs follows the <link
37+ Nixpkgs follows the
38+ <link
3839 xlink:href="https://gcc.gnu.org/onlinedocs/gccint/Configure-Terms.html">conventions
39− of GNU autoconf</link>. We distinguish between 3 types of platforms when
40− building a derivation: <wordasword>build</wordasword>,
41− <wordasword>host</wordasword>, and <wordasword>target</wordasword>. In
42− summary, <wordasword>build</wordasword> is the platform on which a package
43− is being built, <wordasword>host</wordasword> is the platform on which it
44− will run. The third attribute, <wordasword>target</wordasword>, is relevant
45− only for certain specific compilers and build tools.
40+ of GNU autoconf</link>. We distinguish between 3 types of platforms when
41+ building a derivation: <wordasword>build</wordasword>,
42+ <wordasword>host</wordasword>, and <wordasword>target</wordasword>. In
43+ summary, <wordasword>build</wordasword> is the platform on which a package
44+ is being built, <wordasword>host</wordasword> is the platform on which it
45+ will run. The third attribute, <wordasword>target</wordasword>, is relevant
46+ only for certain specific compilers and build tools.
4647 </para>
4748
4849 <para>
@@ -95,10 +96,10 @@
9596 The build process of certain compilers is written in such a way that the
9697 compiler resulting from a single build can itself only produce binaries
9798 for a single platform. The task of specifying this single "target
98− platform" is thus pushed to build time of the compiler. The root cause of
99− this that the compiler (which will be run on the host) and the standard
100− library/runtime (which will be run on the target) are built by a single
101− build process.
99+ platform" is thus pushed to build time of the compiler. The root cause
100+ of this is that the compiler (which will be run on the host) and the
101+ standard library/runtime (which will be run on the target) are built by
102+ a single build process.
102103 </para>
103104 <para>
104105 There is no fundamental need to think about a single target ahead of
@@ -136,9 +137,9 @@
136137 This is a two-component shorthand for the platform. Examples of this
137138 would be "x86_64-darwin" and "i686-linux"; see
138139 <literal>lib.systems.doubles</literal> for more. The first component
139− corresponds to the CPU architecture of the platform and the second to the
140− operating system of the platform (<literal>[cpu]-[os]</literal>). This
141− format has built-in support in Nix, such as the
140+ corresponds to the CPU architecture of the platform and the second to
141+ the operating system of the platform (<literal>[cpu]-[os]</literal>).
142+ This format has built-in support in Nix, such as the
142143 <varname>builtins.currentSystem</varname> impure string.
143144 </para>
144145 </listitem>
@@ -149,14 +150,14 @@
149150 </term>
150151 <listitem>
151152 <para>
152− This is a 3- or 4- component shorthand for the platform. Examples of this
153− would be <literal>x86_64-unknown-linux-gnu</literal> and
153+ This is a 3- or 4- component shorthand for the platform. Examples of
154+ this would be <literal>x86_64-unknown-linux-gnu</literal> and
154155 <literal>aarch64-apple-darwin14</literal>. This is a standard format
155156 called the "LLVM target triple", as they are pioneered by LLVM. In the
156157 4-part form, this corresponds to
157158 <literal>[cpu]-[vendor]-[os]-[abi]</literal>. This format is strictly
158− more informative than the "Nix host double", as the previous format could
159− analogously be termed. This needs a better name than
159+ more informative than the "Nix host double", as the previous format
160+ could analogously be termed. This needs a better name than
160161 <varname>config</varname>!
161162 </para>
162163 </listitem>
@@ -167,11 +168,10 @@
167168 </term>
168169 <listitem>
169170 <para>
170− This is a Nix representation of a parsed LLVM target triple
171− with white-listed components. This can be specified directly,
172− or actually parsed from the <varname>config</varname>. See
173− <literal>lib.systems.parse</literal> for the exact
174− representation.
171+ This is a Nix representation of a parsed LLVM target triple with
172+ white-listed components. This can be specified directly, or actually
173+ parsed from the <varname>config</varname>. See
174+ <literal>lib.systems.parse</literal> for the exact representation.
175175 </para>
176176 </listitem>
177177 </varlistentry>
@@ -253,15 +253,15 @@
253253 <para>
254254 Some examples will make this clearer. If a package is being built with a
255255 <literal>(build, host, target)</literal> platform triple of <literal>(foo,
256− bar, bar)</literal>, then its build-time dependencies would have a triple of
257− <literal>(foo, foo, bar)</literal>, and <emphasis>those packages'</emphasis>
258− build-time dependencies would have a triple of <literal>(foo, foo,
259− foo)</literal>. In other words, it should take two "rounds" of following
260− build-time dependency edges before one reaches a fixed point where, by the
261− sliding window principle, the platform triple no longer changes. Indeed,
262− this happens with cross-compilation, where only rounds of native
263− dependencies starting with the second necessarily coincide with native
264− packages.
256+ bar, bar)</literal>, then its build-time dependencies would have a triple
257+ of <literal>(foo, foo, bar)</literal>, and <emphasis>those
258+ packages'</emphasis> build-time dependencies would have a triple of
259+ <literal>(foo, foo, foo)</literal>. In other words, it should take two
260+ "rounds" of following build-time dependency edges before one reaches a
261+ fixed point where, by the sliding window principle, the platform triple no
262+ longer changes. Indeed, this happens with cross-compilation, where only
263+ rounds of native dependencies starting with the second necessarily coincide
264+ with native packages.
265265 </para>
266266
267267 <note>
@@ -273,23 +273,24 @@
273273 </note>
274274
275275 <para>
276− How does this work in practice? Nixpkgs is now structured so that build-time
277− dependencies are taken from <varname>buildPackages</varname>, whereas
278− run-time dependencies are taken from the top level attribute set. For
279− example, <varname>buildPackages.gcc</varname> should be used at build-time,
280− while <varname>gcc</varname> should be used at run-time. Now, for most of
281− Nixpkgs's history, there was no <varname>buildPackages</varname>, and most
282− packages have not been refactored to use it explicitly. Instead, one can use
283− the six (<emphasis>gasp</emphasis>) attributes used for specifying
284− dependencies as documented in <xref linkend="ssec-stdenv-dependencies"/>. We
285− "splice" together the run-time and build-time package sets with
286− <varname>callPackage</varname>, and then <varname>mkDerivation</varname> for
287− each of four attributes pulls the right derivation out. This splicing can be
288− skipped when not cross-compiling as the package sets are the same, but is a
289− bit slow for cross-compiling. Because of this, a best-of-both-worlds
290− solution is in the works with no splicing or explicit access of
291− <varname>buildPackages</varname> needed. For now, feel free to use either
292− method.
276+ How does this work in practice? Nixpkgs is now structured so that
277+ build-time dependencies are taken from <varname>buildPackages</varname>,
278+ whereas run-time dependencies are taken from the top level attribute set.
279+ For example, <varname>buildPackages.gcc</varname> should be used at
280+ build-time, while <varname>gcc</varname> should be used at run-time. Now,
281+ for most of Nixpkgs's history, there was no
282+ <varname>buildPackages</varname>, and most packages have not been
283+ refactored to use it explicitly. Instead, one can use the six
284+ (<emphasis>gasp</emphasis>) attributes used for specifying dependencies as
285+ documented in <xref linkend="ssec-stdenv-dependencies"/>. We "splice"
286+ together the run-time and build-time package sets with
287+ <varname>callPackage</varname>, and then <varname>mkDerivation</varname>
288+ for each of four attributes pulls the right derivation out. This splicing
289+ can be skipped when not cross-compiling as the package sets are the same,
290+ but is a bit slow for cross-compiling. Because of this, a
291+ best-of-both-worlds solution is in the works with no splicing or explicit
292+ access of <varname>buildPackages</varname> needed. For now, feel free to
293+ use either method.
293294 </para>
294295
295296 <note>
@@ -311,8 +312,8 @@
311312 should be answered here. Ideally, the information above is exhaustive, so
312313 this section cannot provide any new information, but it is ludicrous and
313314 cruel to expect everyone to spend effort working through the interaction of
314− many features just to figure out the same answer to the same common problem.
315− Feel free to add to this list!
315+ many features just to figure out the same answer to the same common
316+ problem. Feel free to add to this list!
316317 </para>
317318
318319 <qandaset>
@@ -434,14 +435,15 @@ nix-build <nixpkgs> --arg crossSystem '{ config = "<arch>-<os>
434435 build plan or package set. A simple "build vs deploy" dichotomy is adequate:
435436 the sliding window principle described in the previous section shows how to
436437 interpolate between the these two "end points" to get the 3 platform triple
437− for each bootstrapping stage. That means for any package a given package set,
438− even those not bound on the top level but only reachable via dependencies or
439− <varname>buildPackages</varname>, the three platforms will be defined as one
440− of <varname>localSystem</varname> or <varname>crossSystem</varname>, with the
441− former replacing the latter as one traverses build-time dependencies. A last
442− simple difference is that <varname>crossSystem</varname> should be null when
443− one doesn't want to cross-compile, while the <varname>*Platform</varname>s
444− are always non-null. <varname>localSystem</varname> is always non-null.
438+ for each bootstrapping stage. That means for any package a given package
439+ set, even those not bound on the top level but only reachable via
440+ dependencies or <varname>buildPackages</varname>, the three platforms will
441+ be defined as one of <varname>localSystem</varname> or
442+ <varname>crossSystem</varname>, with the former replacing the latter as one
443+ traverses build-time dependencies. A last simple difference is that
444+ <varname>crossSystem</varname> should be null when one doesn't want to
445+ cross-compile, while the <varname>*Platform</varname>s are always non-null.
446+ <varname>localSystem</varname> is always non-null.
445447 </para>
446448 </section>
447449<!--============================================================-->
@@ -455,13 +457,13 @@ nix-build <nixpkgs> --arg crossSystem '{ config = "<arch>-<os>
455457 <note>
456458 <para>
457459 If one explores Nixpkgs, they will see derivations with names like
458− <literal>gccCross</literal>. Such <literal>*Cross</literal> derivations is a
459− holdover from before we properly distinguished between the host and target
460− platforms—the derivation with "Cross" in the name covered the <literal>build
461− = host != target</literal> case, while the other covered the <literal>host =
462− target</literal>, with build platform the same or not based on whether one
463− was using its <literal>.nativeDrv</literal> or <literal>.crossDrv</literal>.
464− This ugliness will disappear soon.
460+ <literal>gccCross</literal>. Such <literal>*Cross</literal> derivations is
461+ a holdover from before we properly distinguished between the host and
462+ target platforms—the derivation with "Cross" in the name covered the
463+ <literal>build = host != target</literal> case, while the other covered the
464+ <literal>host = target</literal>, with build platform the same or not based
465+ on whether one was using its <literal>.nativeDrv</literal> or
466+ <literal>.crossDrv</literal>. This ugliness will disappear soon.
465467 </para>
466468 </note>
467469 </section>
doc/functions.xml+1
@@ -16,6 +16,7 @@
1616 <xi:include href="functions/fhs-environments.xml" />
1717 <xi:include href="functions/shell.xml" />
1818 <xi:include href="functions/dockertools.xml" />
19+ <xi:include href="functions/appimagetools.xml" />
1920 <xi:include href="functions/prefer-remote-fetch.xml" />
2021 <xi:include href="functions/nix-gitignore.xml" />
2122</chapter>
doc/functions/appimagetools.xmlnew file+118
@@ -0,0 +1,118 @@
1+<section xmlns="http://docbook.org/ns/docbook"
2+ xmlns:xlink="http://www.w3.org/1999/xlink"
3+ xmlns:xi="http://www.w3.org/2001/XInclude"
4+ xml:id="sec-pkgs-appimageTools">
5+ <title>pkgs.appimageTools</title>
6+
7+ <para>
8+ <varname>pkgs.appimageTools</varname> is a set of functions for extracting
9+ and wrapping <link xlink:href="https://appimage.org/">AppImage</link> files.
10+ They are meant to be used if traditional packaging from source is infeasible,
11+ or it would take too long. To quickly run an AppImage file,
12+ <literal>pkgs.appimage-run</literal> can be used as well.
13+ </para>
14+
15+ <warning>
16+ <para>
17+ The <varname>appimageTools</varname> API is unstable and may be subject to
18+ backwards-incompatible changes in the future.
19+ </para>
20+ </warning>
21+
22+ <section xml:id="ssec-pkgs-appimageTools-formats">
23+ <title>AppImage formats</title>
24+
25+ <para>
26+ There are different formats for AppImages, see
27+ <link xlink:href="https://github.com/AppImage/AppImageSpec/blob/74ad9ca2f94bf864a4a0dac1f369dd4f00bd1c28/draft.md#image-format">the
28+ specification</link> for details.
29+ </para>
30+
31+ <itemizedlist>
32+ <listitem>
33+ <para>
34+ Type 1 images are ISO 9660 files that are also ELF executables.
35+ </para>
36+ </listitem>
37+ <listitem>
38+ <para>
39+ Type 2 images are ELF executables with an appended filesystem.
40+ </para>
41+ </listitem>
42+ </itemizedlist>
43+
44+ <para>
45+ They can be told apart with <command>file -k</command>:
46+ </para>
47+
48+<screen>
49+<prompt>$ </prompt>file -k type1.AppImage
50+type1.AppImage: ELF 64-bit LSB executable, x86-64, version 1 (SYSV) ISO 9660 CD-ROM filesystem data 'AppImage' (Lepton 3.x), scale 0-0,
51+spot sensor temperature 0.000000, unit celsius, color scheme 0, calibration: offset 0.000000, slope 0.000000, dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.18, BuildID[sha1]=d629f6099d2344ad82818172add1d38c5e11bc6d, stripped\012- data
52+
53+<prompt>$ </prompt>file -k type2.AppImage
54+type2.AppImage: ELF 64-bit LSB executable, x86-64, version 1 (SYSV) (Lepton 3.x), scale 232-60668, spot sensor temperature -4.187500, color scheme 15, show scale bar, calibration: offset -0.000000, slope 0.000000 (Lepton 2.x), scale 4111-45000, spot sensor temperature 412442.250000, color scheme 3, minimum point enabled, calibration: offset -75402534979642766821519867692934234112.000000, slope 5815371847733706829839455140374904832.000000, dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.18, BuildID[sha1]=79dcc4e55a61c293c5e19edbd8d65b202842579f, stripped\012- data
55+ </screen>
56+
57+ <para>
58+ Note how the type 1 AppImage is described as an <literal>ISO 9660 CD-ROM
59+ filesystem</literal>, and the type 2 AppImage is not.
60+ </para>
61+ </section>
62+
63+ <section xml:id="ssec-pkgs-appimageTools-wrapping">
64+ <title>Wrapping</title>
65+
66+ <para>
67+ Depending on the type of AppImage you're wrapping, you'll have to use
68+ <varname>wrapType1</varname> or <varname>wrapType2</varname>.
69+ </para>
70+
71+<programlisting>
72+appimageTools.wrapType2 { # or wrapType1
73+ name = "patchwork"; <co xml:id='ex-appimageTools-wrapping-1' />
74+ src = fetchurl { <co xml:id='ex-appimageTools-wrapping-2' />
75+ url = https://github.com/ssbc/patchwork/releases/download/v3.11.4/Patchwork-3.11.4-linux-x86_64.AppImage;
76+ sha256 = "1blsprpkvm0ws9b96gb36f0rbf8f5jgmw4x6dsb1kswr4ysf591s";
77+ };
78+ extraPkgs = pkgs: with pkgs; [ ]; <co xml:id='ex-appimageTools-wrapping-3' />
79+}</programlisting>
80+
81+ <calloutlist>
82+ <callout arearefs='ex-appimageTools-wrapping-1'>
83+ <para>
84+ <varname>name</varname> specifies the name of the resulting image.
85+ </para>
86+ </callout>
87+ <callout arearefs='ex-appimageTools-wrapping-2'>
88+ <para>
89+ <varname>src</varname> specifies the AppImage file to extract.
90+ </para>
91+ </callout>
92+ <callout arearefs='ex-appimageTools-wrapping-2'>
93+ <para>
94+ <varname>extraPkgs</varname> allows you to pass a function to include
95+ additional packages inside the FHS environment your AppImage is going to
96+ run in. There are a few ways to learn which dependencies an application
97+ needs:
98+ <itemizedlist>
99+ <listitem>
100+ <para>
101+ Looking through the extracted AppImage files, reading its scripts and
102+ running <command>patchelf</command> and <command>ldd</command> on its
103+ executables. This can also be done in <command>appimage-run</command>,
104+ by setting <command>APPIMAGE_DEBUG_EXEC=bash</command>.
105+ </para>
106+ </listitem>
107+ <listitem>
108+ <para>
109+ Running <command>strace -vfefile</command> on the wrapped executable,
110+ looking for libraries that can't be found.
111+ </para>
112+ </listitem>
113+ </itemizedlist>
114+ </para>
115+ </callout>
116+ </calloutlist>
117+ </section>
118+</section>
doc/functions/dockertools.xml+14−14
@@ -24,9 +24,9 @@
2424
2525 <para>
2626 This function is analogous to the <command>docker build</command> command,
27− in that it can be used to build a Docker-compatible repository tarball containing
28− a single image with one or multiple layers. As such, the result is suitable
29− for being loaded in Docker with <command>docker load</command>.
27+ in that it can be used to build a Docker-compatible repository tarball
28+ containing a single image with one or multiple layers. As such, the result
29+ is suitable for being loaded in Docker with <command>docker load</command>.
3030 </para>
3131
3232 <para>
@@ -47,7 +47,7 @@ buildImage {
4747
4848 contents = pkgs.redis; <co xml:id='ex-dockerTools-buildImage-6' />
4949 runAsRoot = '' <co xml:id='ex-dockerTools-buildImage-runAsRoot' />
50− #!${stdenv.shell}
50+ #!${pkgs.runtimeShell}
5151 mkdir -p /data
5252 '';
5353
@@ -190,8 +190,8 @@ buildImage {
190190 By default <function>buildImage</function> will use a static date of one
191191 second past the UNIX Epoch. This allows <function>buildImage</function> to
192192 produce binary reproducible images. When listing images with
193− <command>docker images</command>, the newly created images will be
194− listed like this:
193+ <command>docker images</command>, the newly created images will be listed
194+ like this:
195195 </para>
196196<screen><![CDATA[
197197$ docker images
@@ -402,9 +402,9 @@ pkgs.dockerTools.buildLayeredImage {
402402
403403 <para>
404404 This function is analogous to the <command>docker pull</command> command, in
405− that it can be used to pull a Docker image from a Docker registry. By default
406− <link xlink:href="https://hub.docker.com/">Docker Hub</link> is used to pull
407− images.
405+ that it can be used to pull a Docker image from a Docker registry. By
406+ default <link xlink:href="https://hub.docker.com/">Docker Hub</link> is used
407+ to pull images.
408408 </para>
409409
410410 <para>
@@ -484,10 +484,10 @@ sha256:20d9485b25ecfd89204e843a962c1bd70e9cc6858d65d7f5fadc340246e2116b
484484
485485 <para>
486486 This function is analogous to the <command>docker export</command> command,
487− in that it can be used to flatten a Docker image that contains multiple layers. It
488− is in fact the result of the merge of all the layers of the image. As such,
489− the result is suitable for being imported in Docker with <command>docker
490− import</command>.
487+ in that it can be used to flatten a Docker image that contains multiple
488+ layers. It is in fact the result of the merge of all the layers of the
489+ image. As such, the result is suitable for being imported in Docker with
490+ <command>docker import</command>.
491491 </para>
492492
493493 <note>
@@ -544,7 +544,7 @@ buildImage {
544544 name = "shadow-basic";
545545
546546 runAsRoot = ''
547− #!${stdenv.shell}
547+ #!${pkgs.runtimeShell}
548548 ${shadowSetup}
549549 groupadd -r redis
550550 useradd -r -g redis redis
doc/functions/fetchers.xml+153−165
@@ -5,24 +5,21 @@
55 <title>Fetcher functions</title>
66
77 <para>
8− When using Nix, you will frequently need to download source code
9− and other files from the internet. Nixpkgs comes with a few helper
10− functions that allow you to fetch fixed-output derivations in a
11− structured way.
8+ When using Nix, you will frequently need to download source code and other
9+ files from the internet. Nixpkgs comes with a few helper functions that allow
10+ you to fetch fixed-output derivations in a structured way.
1211 </para>
1312
1413 <para>
15− The two fetcher primitives are <function>fetchurl</function> and
16− <function>fetchzip</function>. Both of these have two required
17− arguments, a URL and a hash. The hash is typically
18− <literal>sha256</literal>, although many more hash algorithms are
19− supported. Nixpkgs contributors are currently recommended to use
20− <literal>sha256</literal>. This hash will be used by Nix to
21− identify your source. A typical usage of fetchurl is provided
22− below.
14+ The two fetcher primitives are <function>fetchurl</function> and
15+ <function>fetchzip</function>. Both of these have two required arguments, a
16+ URL and a hash. The hash is typically <literal>sha256</literal>, although
17+ many more hash algorithms are supported. Nixpkgs contributors are currently
18+ recommended to use <literal>sha256</literal>. This hash will be used by Nix
19+ to identify your source. A typical usage of fetchurl is provided below.
2320 </para>
2421
25− <programlisting><![CDATA[
22+<programlisting><![CDATA[
2623{ stdenv, fetchurl }:
2724
2825stdenv.mkDerivation {
@@ -35,172 +32,163 @@ stdenv.mkDerivation {
3532]]></programlisting>
3633
3734 <para>
38− The main difference between <function>fetchurl</function> and
39− <function>fetchzip</function> is in how they store the contents.
40− <function>fetchurl</function> will store the unaltered contents of
41− the URL within the Nix store. <function>fetchzip</function> on the
42− other hand will decompress the archive for you, making files and
43− directories directly accessible in the future.
44− <function>fetchzip</function> can only be used with archives.
45− Despite the name, <function>fetchzip</function> is not limited to
46− .zip files and can also be used with any tarball.
35+ The main difference between <function>fetchurl</function> and
36+ <function>fetchzip</function> is in how they store the contents.
37+ <function>fetchurl</function> will store the unaltered contents of the URL
38+ within the Nix store. <function>fetchzip</function> on the other hand will
39+ decompress the archive for you, making files and directories directly
40+ accessible in the future. <function>fetchzip</function> can only be used with
41+ archives. Despite the name, <function>fetchzip</function> is not limited to
42+ .zip files and can also be used with any tarball.
4743 </para>
4844
4945 <para>
50− <function>fetchpatch</function> works very similarly to
51− <function>fetchurl</function> with the same arguments expected. It
52− expects patch files as a source and and performs normalization on
53− them before computing the checksum. For example it will remove
54− comments or other unstable parts that are sometimes added by
55− version control systems and can change over time.
46+ <function>fetchpatch</function> works very similarly to
47+ <function>fetchurl</function> with the same arguments expected. It expects
48+ patch files as a source and and performs normalization on them before
49+ computing the checksum. For example it will remove comments or other unstable
50+ parts that are sometimes added by version control systems and can change over
51+ time.
5652 </para>
5753
5854 <para>
59− Other fetcher functions allow you to add source code directly from
60− a VCS such as subversion or git. These are mostly straightforward
61− names based on the name of the command used with the VCS system.
62− Because they give you a working repository, they act most like
63− <function>fetchzip</function>.
55+ Other fetcher functions allow you to add source code directly from a VCS such
56+ as subversion or git. These are mostly straightforward names based on the
57+ name of the command used with the VCS system. Because they give you a working
58+ repository, they act most like <function>fetchzip</function>.
6459 </para>
6560
6661 <variablelist>
67− <varlistentry>
68− <term>
69− <literal>fetchsvn</literal>
70− </term>
71− <listitem>
72− <para>
73− Used with Subversion. Expects <literal>url</literal> to a
74− Subversion directory, <literal>rev</literal>, and
75− <literal>sha256</literal>.
76− </para>
77− </listitem>
78− </varlistentry>
79− <varlistentry>
80− <term>
81− <literal>fetchgit</literal>
82− </term>
83− <listitem>
84− <para>
85− Used with Git. Expects <literal>url</literal> to a Git repo,
86− <literal>rev</literal>, and <literal>sha256</literal>.
87− <literal>rev</literal> in this case can be full the git commit
88− id (SHA1 hash) or a tag name like
89− <literal>refs/tags/v1.0</literal>.
90− </para>
91− </listitem>
92− </varlistentry>
93− <varlistentry>
94− <term>
95− <literal>fetchfossil</literal>
96− </term>
97− <listitem>
98− <para>
99− Used with Fossil. Expects <literal>url</literal> to a Fossil
100− archive, <literal>rev</literal>, and <literal>sha256</literal>.
101− </para>
102− </listitem>
103− </varlistentry>
104− <varlistentry>
105− <term>
106− <literal>fetchcvs</literal>
107− </term>
108− <listitem>
109− <para>
110− Used with CVS. Expects <literal>cvsRoot</literal>,
111− <literal>tag</literal>, and <literal>sha256</literal>.
112− </para>
113− </listitem>
114− </varlistentry>
115− <varlistentry>
116− <term>
117− <literal>fetchhg</literal>
118− </term>
119− <listitem>
120− <para>
121− Used with Mercurial. Expects <literal>url</literal>,
122− <literal>rev</literal>, and <literal>sha256</literal>.
123− </para>
124− </listitem>
125− </varlistentry>
62+ <varlistentry>
63+ <term>
64+ <literal>fetchsvn</literal>
65+ </term>
66+ <listitem>
67+ <para>
68+ Used with Subversion. Expects <literal>url</literal> to a Subversion
69+ directory, <literal>rev</literal>, and <literal>sha256</literal>.
70+ </para>
71+ </listitem>
72+ </varlistentry>
73+ <varlistentry>
74+ <term>
75+ <literal>fetchgit</literal>
76+ </term>
77+ <listitem>
78+ <para>
79+ Used with Git. Expects <literal>url</literal> to a Git repo,
80+ <literal>rev</literal>, and <literal>sha256</literal>.
81+ <literal>rev</literal> in this case can be full the git commit id (SHA1
82+ hash) or a tag name like <literal>refs/tags/v1.0</literal>.
83+ </para>
84+ </listitem>
85+ </varlistentry>
86+ <varlistentry>
87+ <term>
88+ <literal>fetchfossil</literal>
89+ </term>
90+ <listitem>
91+ <para>
92+ Used with Fossil. Expects <literal>url</literal> to a Fossil archive,
93+ <literal>rev</literal>, and <literal>sha256</literal>.
94+ </para>
95+ </listitem>
96+ </varlistentry>
97+ <varlistentry>
98+ <term>
99+ <literal>fetchcvs</literal>
100+ </term>
101+ <listitem>
102+ <para>
103+ Used with CVS. Expects <literal>cvsRoot</literal>, <literal>tag</literal>,
104+ and <literal>sha256</literal>.
105+ </para>
106+ </listitem>
107+ </varlistentry>
108+ <varlistentry>
109+ <term>
110+ <literal>fetchhg</literal>
111+ </term>
112+ <listitem>
113+ <para>
114+ Used with Mercurial. Expects <literal>url</literal>,
115+ <literal>rev</literal>, and <literal>sha256</literal>.
116+ </para>
117+ </listitem>
118+ </varlistentry>
126119 </variablelist>
127120
128121 <para>
129− A number of fetcher functions wrap part of
130− <function>fetchurl</function> and <function>fetchzip</function>.
131− They are mainly convenience functions intended for commonly used
132− destinations of source code in Nixpkgs. These wrapper fetchers are
133− listed below.
122+ A number of fetcher functions wrap part of <function>fetchurl</function> and
123+ <function>fetchzip</function>. They are mainly convenience functions intended
124+ for commonly used destinations of source code in Nixpkgs. These wrapper
125+ fetchers are listed below.
134126 </para>
135127
136128 <variablelist>
137− <varlistentry>
138− <term>
139− <literal>fetchFromGitHub</literal>
140− </term>
141− <listitem>
142− <para>
143− <function>fetchFromGitHub</function> expects four arguments.
144− <literal>owner</literal> is a string corresponding to the
145− GitHub user or organization that controls this repository.
146− <literal>repo</literal> corresponds to the name of the
147− software repository. These are located at the top of every
148− GitHub HTML page as
149− <literal>owner</literal>/<literal>repo</literal>.
150− <literal>rev</literal> corresponds to the Git commit hash or
151− tag (e.g <literal>v1.0</literal>) that will be downloaded from
152− Git. Finally, <literal>sha256</literal> corresponds to the
153− hash of the extracted directory. Again, other hash algorithms
154− are also available but <literal>sha256</literal> is currently
155− preferred.
156− </para>
157− </listitem>
158− </varlistentry>
159− <varlistentry>
160− <term>
161− <literal>fetchFromGitLab</literal>
162− </term>
163− <listitem>
164− <para>
165− This is used with GitLab repositories. The arguments expected
166− are very similar to fetchFromGitHub above.
167− </para>
168− </listitem>
169− </varlistentry>
170− <varlistentry>
171− <term>
172− <literal>fetchFromBitbucket</literal>
173− </term>
174− <listitem>
175− <para>
176− This is used with BitBucket repositories. The arguments expected
177− are very similar to fetchFromGitHub above.
178− </para>
179− </listitem>
180− </varlistentry>
181− <varlistentry>
182− <term>
183− <literal>fetchFromSavannah</literal>
184− </term>
185− <listitem>
186− <para>
187− This is used with Savannah repositories. The arguments expected
188− are very similar to fetchFromGitHub above.
189− </para>
190− </listitem>
191− </varlistentry>
192− <varlistentry>
193− <term>
194− <literal>fetchFromRepoOrCz</literal>
195− </term>
196− <listitem>
197− <para>
198− This is used with repo.or.cz repositories. The arguments
199− expected are very similar to fetchFromGitHub above.
200− </para>
201− </listitem>
202− </varlistentry>
129+ <varlistentry>
130+ <term>
131+ <literal>fetchFromGitHub</literal>
132+ </term>
133+ <listitem>
134+ <para>
135+ <function>fetchFromGitHub</function> expects four arguments.
136+ <literal>owner</literal> is a string corresponding to the GitHub user or
137+ organization that controls this repository. <literal>repo</literal>
138+ corresponds to the name of the software repository. These are located at
139+ the top of every GitHub HTML page as
140+ <literal>owner</literal>/<literal>repo</literal>. <literal>rev</literal>
141+ corresponds to the Git commit hash or tag (e.g <literal>v1.0</literal>)
142+ that will be downloaded from Git. Finally, <literal>sha256</literal>
143+ corresponds to the hash of the extracted directory. Again, other hash
144+ algorithms are also available but <literal>sha256</literal> is currently
145+ preferred.
146+ </para>
147+ </listitem>
148+ </varlistentry>
149+ <varlistentry>
150+ <term>
151+ <literal>fetchFromGitLab</literal>
152+ </term>
153+ <listitem>
154+ <para>
155+ This is used with GitLab repositories. The arguments expected are very
156+ similar to fetchFromGitHub above.
157+ </para>
158+ </listitem>
159+ </varlistentry>
160+ <varlistentry>
161+ <term>
162+ <literal>fetchFromBitbucket</literal>
163+ </term>
164+ <listitem>
165+ <para>
166+ This is used with BitBucket repositories. The arguments expected are very
167+ similar to fetchFromGitHub above.
168+ </para>
169+ </listitem>
170+ </varlistentry>
171+ <varlistentry>
172+ <term>
173+ <literal>fetchFromSavannah</literal>
174+ </term>
175+ <listitem>
176+ <para>
177+ This is used with Savannah repositories. The arguments expected are very
178+ similar to fetchFromGitHub above.
179+ </para>
180+ </listitem>
181+ </varlistentry>
182+ <varlistentry>
183+ <term>
184+ <literal>fetchFromRepoOrCz</literal>
185+ </term>
186+ <listitem>
187+ <para>
188+ This is used with repo.or.cz repositories. The arguments expected are very
189+ similar to fetchFromGitHub above.
190+ </para>
191+ </listitem>
192+ </varlistentry>
203193 </variablelist>
204−
205−
206194</section>
doc/functions/library.xml+6−1
@@ -13,12 +13,17 @@
1313
1414 <xi:include href="./library/attrsets.xml" />
1515
16− <!-- These docs are generated via nixdoc. To add another generated
16+<!-- These docs are generated via nixdoc. To add another generated
1717 library function file to this list, the file
1818 `lib-function-docs.nix` must also be updated. -->
19+
1920 <xi:include href="./library/generated/strings.xml" />
21+
2022 <xi:include href="./library/generated/trivial.xml" />
23+
2124 <xi:include href="./library/generated/lists.xml" />
25+
2226 <xi:include href="./library/generated/debug.xml" />
27+
2328 <xi:include href="./library/generated/options.xml" />
2429</section>
doc/functions/nix-gitignore.xml+23−17
@@ -14,15 +14,15 @@
1414 <title>Usage</title>
1515
1616 <para>
17− <literal>pkgs.nix-gitignore</literal> exports a number of functions, but
18− you'll most likely need either <literal>gitignoreSource</literal> or
19− <literal>gitignoreSourcePure</literal>. As their first argument, they both
20− accept either 1. a file with gitignore lines or 2. a string
21− with gitignore lines, or 3. a list of either of the two. They will be
22− concatenated into a single big string.
17+ <literal>pkgs.nix-gitignore</literal> exports a number of functions, but
18+ you'll most likely need either <literal>gitignoreSource</literal> or
19+ <literal>gitignoreSourcePure</literal>. As their first argument, they both
20+ accept either 1. a file with gitignore lines or 2. a string with gitignore
21+ lines, or 3. a list of either of the two. They will be concatenated into a
22+ single big string.
2323 </para>
2424
25− <programlisting><![CDATA[
25+<programlisting><![CDATA[
2626{ pkgs ? import <nixpkgs> {} }:
2727
2828 nix-gitignore.gitignoreSource [] ./source
@@ -40,24 +40,29 @@
4040 ]]></programlisting>
4141
4242 <para>
43− These functions are derived from the <literal>Filter</literal> functions
44− by setting the first filter argument to <literal>(_: _: true)</literal>:
43+ These functions are derived from the <literal>Filter</literal> functions by
44+ setting the first filter argument to <literal>(_: _: true)</literal>:
4545 </para>
4646
47− <programlisting><![CDATA[
47+<programlisting><![CDATA[
4848gitignoreSourcePure = gitignoreFilterSourcePure (_: _: true);
4949gitignoreSource = gitignoreFilterSource (_: _: true);
5050 ]]></programlisting>
5151
5252 <para>
53− Those filter functions accept the same arguments the <literal>builtins.filterSource</literal> function would pass to its filters, thus <literal>fn: gitignoreFilterSourcePure fn ""</literal> should be extensionally equivalent to <literal>filterSource</literal>. The file is blacklisted iff it's blacklisted by either your filter or the gitignoreFilter.
53+ Those filter functions accept the same arguments the
54+ <literal>builtins.filterSource</literal> function would pass to its filters,
55+ thus <literal>fn: gitignoreFilterSourcePure fn ""</literal> should be
56+ extensionally equivalent to <literal>filterSource</literal>. The file is
57+ blacklisted iff it's blacklisted by either your filter or the
58+ gitignoreFilter.
5459 </para>
5560
5661 <para>
57− If you want to make your own filter from scratch, you may use
58− </para>
62+ If you want to make your own filter from scratch, you may use
63+ </para>
5964
60− <programlisting><![CDATA[
65+<programlisting><![CDATA[
6166gitignoreFilter = ign: root: filterPattern (gitignoreToPatterns ign) root;
6267 ]]></programlisting>
6368 </section>
@@ -66,10 +71,11 @@ gitignoreFilter = ign: root: filterPattern (gitignoreToPatterns ign) root;
6671 <title>gitignore files in subdirectories</title>
6772
6873 <para>
69− If you wish to use a filter that would search for .gitignore files in subdirectories, just like git does by default, use this function:
70− </para>
74+ If you wish to use a filter that would search for .gitignore files in
75+ subdirectories, just like git does by default, use this function:
76+ </para>
7177
72− <programlisting><![CDATA[
78+<programlisting><![CDATA[
7379gitignoreFilterRecursiveSource = filter: patterns: root:
7480# OR
7581gitignoreRecursiveSource = gitignoreFilterSourcePure (_: _: true);
doc/functions/prefer-remote-fetch.xml+6−8
@@ -7,17 +7,15 @@
77 <para>
88 <function>prefer-remote-fetch</function> is an overlay that download sources
99 on remote builder. This is useful when the evaluating machine has a slow
10− upload while the builder can fetch faster directly from the source.
11− To use it, put the following snippet as a new overlay:
12− <programlisting>
10+ upload while the builder can fetch faster directly from the source. To use
11+ it, put the following snippet as a new overlay:
12+<programlisting>
1313 self: super:
1414 (super.prefer-remote-fetch self super)
1515 </programlisting>
16−
17− A full configuration example for that sets the overlay up for your own account,
18− could look like this
19−
20− <programlisting>
16+ A full configuration example for that sets the overlay up for your own
17+ account, could look like this
18+<programlisting>
2119 $ mkdir ~/.config/nixpkgs/overlays/
2220 $ cat > ~/.config/nixpkgs/overlays/prefer-remote-fetch.nix <<EOF
2321 self: super: super.prefer-remote-fetch self super
doc/functions/trivial-builders.xml+50−61
@@ -5,12 +5,11 @@
55 <title>Trivial builders</title>
66
77 <para>
8− Nixpkgs provides a couple of functions that help with building
9− derivations. The most important one,
10− <function>stdenv.mkDerivation</function>, has already been
11− documented above. The following functions wrap
12− <function>stdenv.mkDerivation</function>, making it easier to use
13− in certain cases.
8+ Nixpkgs provides a couple of functions that help with building derivations.
9+ The most important one, <function>stdenv.mkDerivation</function>, has already
10+ been documented above. The following functions wrap
11+ <function>stdenv.mkDerivation</function>, making it easier to use in certain
12+ cases.
1413 </para>
1514
1615 <variablelist>
@@ -19,26 +18,23 @@
1918 <literal>runCommand</literal>
2019 </term>
2120 <listitem>
22− <para>
23− This takes three arguments, <literal>name</literal>,
24− <literal>env</literal>, and <literal>buildCommand</literal>.
25− <literal>name</literal> is just the name that Nix will append
26− to the store path in the same way that
27− <literal>stdenv.mkDerivation</literal> uses its
28− <literal>name</literal> attribute. <literal>env</literal> is an
29− attribute set specifying environment variables that will be set
30− for this derivation. These attributes are then passed to the
31− wrapped <literal>stdenv.mkDerivation</literal>.
32− <literal>buildCommand</literal> specifies the commands that
33− will be run to create this derivation. Note that you will need
34− to create <literal>$out</literal> for Nix to register the
35− command as successful.
36− </para>
37− <para>
38− An example of using <literal>runCommand</literal> is provided
39− below.
40− </para>
41− <programlisting>
21+ <para>
22+ This takes three arguments, <literal>name</literal>,
23+ <literal>env</literal>, and <literal>buildCommand</literal>.
24+ <literal>name</literal> is just the name that Nix will append to the store
25+ path in the same way that <literal>stdenv.mkDerivation</literal> uses its
26+ <literal>name</literal> attribute. <literal>env</literal> is an attribute
27+ set specifying environment variables that will be set for this derivation.
28+ These attributes are then passed to the wrapped
29+ <literal>stdenv.mkDerivation</literal>. <literal>buildCommand</literal>
30+ specifies the commands that will be run to create this derivation. Note
31+ that you will need to create <literal>$out</literal> for Nix to register
32+ the command as successful.
33+ </para>
34+ <para>
35+ An example of using <literal>runCommand</literal> is provided below.
36+ </para>
37+<programlisting>
4238 (import <nixpkgs> {}).runCommand "my-example" {} ''
4339 echo My example command is running
4440
@@ -65,41 +61,35 @@
6561 <literal>runCommandCC</literal>
6662 </term>
6763 <listitem>
68− <para>
69− This works just like <literal>runCommand</literal>. The only
70− difference is that it also provides a C compiler in
71− <literal>buildCommand</literal>’s environment. To minimize your
72− dependencies, you should only use this if you are sure you will
73− need a C compiler as part of running your command.
64+ <para>
65+ This works just like <literal>runCommand</literal>. The only difference is
66+ that it also provides a C compiler in <literal>buildCommand</literal>’s
67+ environment. To minimize your dependencies, you should only use this if
68+ you are sure you will need a C compiler as part of running your command.
7469 </para>
7570 </listitem>
7671 </varlistentry>
7772 <varlistentry>
7873 <term>
79− <literal>writeTextFile</literal>, <literal>writeText</literal>,
80− <literal>writeTextDir</literal>, <literal>writeScript</literal>,
81− <literal>writeScriptBin</literal>
74+ <literal>writeTextFile</literal>, <literal>writeText</literal>, <literal>writeTextDir</literal>, <literal>writeScript</literal>, <literal>writeScriptBin</literal>
8275 </term>
8376 <listitem>
84− <para>
85− These functions write <literal>text</literal> to the Nix store.
86− This is useful for creating scripts from Nix expressions.
87− <literal>writeTextFile</literal> takes an attribute set and
88− expects two arguments, <literal>name</literal> and
89− <literal>text</literal>. <literal>name</literal> corresponds to
90− the name used in the Nix store path. <literal>text</literal>
91− will be the contents of the file. You can also set
92− <literal>executable</literal> to true to make this file have
93− the executable bit set.
94− </para>
95− <para>
96− Many more commands wrap <literal>writeTextFile</literal>
97− including <literal>writeText</literal>,
98− <literal>writeTextDir</literal>,
99− <literal>writeScript</literal>, and
100− <literal>writeScriptBin</literal>. These are convenience
101− functions over <literal>writeTextFile</literal>.
102− </para>
77+ <para>
78+ These functions write <literal>text</literal> to the Nix store. This is
79+ useful for creating scripts from Nix expressions.
80+ <literal>writeTextFile</literal> takes an attribute set and expects two
81+ arguments, <literal>name</literal> and <literal>text</literal>.
82+ <literal>name</literal> corresponds to the name used in the Nix store
83+ path. <literal>text</literal> will be the contents of the file. You can
84+ also set <literal>executable</literal> to true to make this file have the
85+ executable bit set.
86+ </para>
87+ <para>
88+ Many more commands wrap <literal>writeTextFile</literal> including
89+ <literal>writeText</literal>, <literal>writeTextDir</literal>,
90+ <literal>writeScript</literal>, and <literal>writeScriptBin</literal>.
91+ These are convenience functions over <literal>writeTextFile</literal>.
92+ </para>
10393 </listitem>
10494 </varlistentry>
10595 <varlistentry>
@@ -109,16 +99,15 @@
10999 <listitem>
110100 <para>
111101 This can be used to put many derivations into the same directory
112− structure. It works by creating a new derivation and adding
113− symlinks to each of the paths listed. It expects two arguments,
102+ structure. It works by creating a new derivation and adding symlinks to
103+ each of the paths listed. It expects two arguments,
114104 <literal>name</literal>, and <literal>paths</literal>.
115− <literal>name</literal> is the name used in the Nix store path
116− for the created derivation. <literal>paths</literal> is a list of
117− paths that will be symlinked. These paths can be to Nix store
118− derivations or any other subdirectory contained within.
105+ <literal>name</literal> is the name used in the Nix store path for the
106+ created derivation. <literal>paths</literal> is a list of paths that will
107+ be symlinked. These paths can be to Nix store derivations or any other
108+ subdirectory contained within.
119109 </para>
120110 </listitem>
121111 </varlistentry>
122112 </variablelist>
123−
124113</section>
doc/languages-frameworks/ocaml.xml+30−32
@@ -4,39 +4,38 @@
44 <title>OCaml</title>
55
66 <para>
7− OCaml libraries should be installed in
8− <literal>$(out)/lib/ocaml/${ocaml.version}/site-lib/</literal>. Such
9− directories are automatically added to the <literal>$OCAMLPATH</literal>
10− environment variable when building another package that depends on them
11− or when opening a <literal>nix-shell</literal>.
7+ OCaml libraries should be installed in
8+ <literal>$(out)/lib/ocaml/${ocaml.version}/site-lib/</literal>. Such
9+ directories are automatically added to the <literal>$OCAMLPATH</literal>
10+ environment variable when building another package that depends on them or
11+ when opening a <literal>nix-shell</literal>.
1212 </para>
1313
1414 <para>
15− Given that most of the OCaml ecosystem is now built with dune,
16− nixpkgs includes a convenience build support function called
17− <literal>buildDunePackage</literal> that will build an OCaml package
18− using dune, OCaml and findlib and any additional dependencies provided
19− as <literal>buildInputs</literal> or <literal>propagatedBuildInputs</literal>.
15+ Given that most of the OCaml ecosystem is now built with dune, nixpkgs
16+ includes a convenience build support function called
17+ <literal>buildDunePackage</literal> that will build an OCaml package using
18+ dune, OCaml and findlib and any additional dependencies provided as
19+ <literal>buildInputs</literal> or <literal>propagatedBuildInputs</literal>.
2020 </para>
2121
2222 <para>
23− Here is a simple package example. It defines an (optional) attribute
24− <literal>minimumOCamlVersion</literal> that will be used to throw a
25− descriptive evaluation error if building with an older OCaml is attempted.
26− It uses the <literal>fetchFromGitHub</literal> fetcher to get its source.
27− It sets the <literal>doCheck</literal> (optional) attribute to
28− <literal>true</literal> which means that tests will be run with
29− <literal>dune runtest -p angstrom</literal> after the build
30− (<literal>dune build -p angstrom</literal>) is complete.
31− It uses <literal>alcotest</literal> as a build input (because it is needed
32− to run the tests) and <literal>bigstringaf</literal> and
33− <literal>result</literal> as propagated build inputs (thus they will also
34− be available to libraries depending on this library).
35− The library will be installed using the <literal>angstrom.install</literal>
36− file that dune generates.
23+ Here is a simple package example. It defines an (optional) attribute
24+ <literal>minimumOCamlVersion</literal> that will be used to throw a
25+ descriptive evaluation error if building with an older OCaml is attempted. It
26+ uses the <literal>fetchFromGitHub</literal> fetcher to get its source. It
27+ sets the <literal>doCheck</literal> (optional) attribute to
28+ <literal>true</literal> which means that tests will be run with <literal>dune
29+ runtest -p angstrom</literal> after the build (<literal>dune build -p
30+ angstrom</literal>) is complete. It uses <literal>alcotest</literal> as a
31+ build input (because it is needed to run the tests) and
32+ <literal>bigstringaf</literal> and <literal>result</literal> as propagated
33+ build inputs (thus they will also be available to libraries depending on this
34+ library). The library will be installed using the
35+ <literal>angstrom.install</literal> file that dune generates.
3736 </para>
3837
39− <programlisting>
38+<programlisting>
4039{ stdenv, fetchFromGitHub, buildDunePackage, alcotest, result, bigstringaf }:
4140
4241buildDunePackage rec {
@@ -66,14 +65,14 @@ buildDunePackage rec {
6665 </programlisting>
6766
6867 <para>
69− Here is a second example, this time using a source archive generated with
70− <literal>dune-release</literal>. It is a good idea to use this archive when
71− it is available as it will usually contain substituted variables such as a
72− <literal>%%VERSION%%</literal> field. This library does not depend
73− on any other OCaml library and no tests are run after building it.
68+ Here is a second example, this time using a source archive generated with
69+ <literal>dune-release</literal>. It is a good idea to use this archive when
70+ it is available as it will usually contain substituted variables such as a
71+ <literal>%%VERSION%%</literal> field. This library does not depend on any
72+ other OCaml library and no tests are run after building it.
7473 </para>
7574
76− <programlisting>
75+<programlisting>
7776{ stdenv, fetchurl, buildDunePackage }:
7877
7978buildDunePackage rec {
@@ -95,5 +94,4 @@ buildDunePackage rec {
9594 };
9695}
9796 </programlisting>
98−
9997</section>
doc/languages-frameworks/python.section.md+18−4
@@ -602,11 +602,10 @@ as the interpreter unless overridden otherwise.
602602All parameters from `stdenv.mkDerivation` function are still supported. The following are specific to `buildPythonPackage`:
603603
604604* `catchConflicts ? true`: If `true`, abort package build if a package name appears more than once in dependency tree. Default is `true`.
605−* `checkInputs ? []`: Dependencies needed for running the `checkPhase`. These are added to `buildInputs` when `doCheck = true`.
606605* `disabled` ? false: If `true`, package is not build for the particular Python interpreter version.
607606* `dontWrapPythonPrograms ? false`: Skip wrapping of python programs.
608−* `installFlags ? []`: A list of strings. Arguments to be passed to `pip install`. To pass options to `python setup.py install`, use `--install-option`. E.g., `installFlags=["--install-option='--cpp_implementation'"].
609−* `format ? "setuptools"`: Format of the source. Valid options are `"setuptools"`, `"flit"`, `"wheel"`, and `"other"`. `"setuptools"` is for when the source has a `setup.py` and `setuptools` is used to build a wheel, `flit`, in case `flit` should be used to build a wheel, and `wheel` in case a wheel is provided. Use `other` when a custom `buildPhase` and/or `installPhase` is needed.
607+* `installFlags ? []`: A list of strings. Arguments to be passed to `pip install`. To pass options to `python setup.py install`, use `--install-option`. E.g., `installFlags=["--install-option='--cpp_implementation'"]`.
608+* `format ? "setuptools"`: Format of the source. Valid options are `"setuptools"`, `"pyproject"`, `"flit"`, `"wheel"`, and `"other"`. `"setuptools"` is for when the source has a `setup.py` and `setuptools` is used to build a wheel, `flit`, in case `flit` should be used to build a wheel, and `wheel` in case a wheel is provided. Use `other` when a custom `buildPhase` and/or `installPhase` is needed.
610609* `makeWrapperArgs ? []`: A list of strings. Arguments to be passed to `makeWrapper`, which wraps generated binaries. By default, the arguments to `makeWrapper` set `PATH` and `PYTHONPATH` environment variables before calling the binary. Additional arguments here can allow a developer to set environment variables which will be available when the binary is run. For example, `makeWrapperArgs = ["--set FOO BAR" "--set BAZ QUX"]`.
611610* `namePrefix`: Prepends text to `${name}` parameter. In case of libraries, this defaults to `"python3.5-"` for Python 3.5, etc., and in case of applications to `""`.
612611* `pythonPath ? []`: List of packages to be added into `$PYTHONPATH`. Packages in `pythonPath` are not propagated (contrary to `propagatedBuildInputs`).
@@ -615,6 +614,14 @@ All parameters from `stdenv.mkDerivation` function are still supported. The foll
615614* `removeBinByteCode ? true`: Remove bytecode from `/bin`. Bytecode is only created when the filenames end with `.py`.
616615* `setupPyBuildFlags ? []`: List of flags passed to `setup.py build_ext` command.
617616
617+The `stdenv.mkDerivation` function accepts various parameters for describing build inputs (see "Specifying dependencies"). The following are of special
618+interest for Python packages, either because these are primarily used, or because their behaviour is different:
619+
620+* `nativeBuildInputs ? []`: Build-time only dependencies. Typically executables as well as the items listed in `setup_requires`.
621+* `buildInputs ? []`: Build and/or run-time dependencies that need to be be compiled for the host machine. Typically non-Python libraries which are being linked.
622+* `checkInputs ? []`: Dependencies needed for running the `checkPhase`. These are added to `nativeBuildInputs` when `doCheck = true`. Items listed in `tests_require` go here.
623+* `propagatedBuildInputs ? []`: Aside from propagating dependencies, `buildPythonPackage` also injects code into and wraps executables with the paths included in this list. Items listed in `install_requires` go here.
624+
618625##### Overriding Python packages
619626
620627The `buildPythonPackage` function has a `overridePythonAttrs` method that
@@ -874,7 +881,6 @@ example of such a situation is when `py.test` is used.
874881 '';
875882 }
876883 ```
877−- Unicode issues can typically be fixed by including `glibcLocales` in `buildInputs` and exporting `LC_ALL=en_US.utf-8`.
878884- Tests that attempt to access `$HOME` can be fixed by using the following work-around before running tests (e.g. `preCheck`): `export HOME=$(mktemp -d)`
879885
880886## FAQ
@@ -1123,6 +1129,14 @@ LLVM implementation. To use that one instead, Intel recommends users set it with
11231129Note that `mkl` is only available on `x86_64-{linux,darwin}` platforms;
11241130moreover, Hydra is not building and distributing pre-compiled binaries using it.
11251131
1132+### What inputs do `setup_requires`, `install_requires` and `tests_require` map to?
1133+
1134+In a `setup.py` or `setup.cfg` it is common to declare dependencies:
1135+
1136+* `setup_requires` corresponds to `nativeBuildInputs`
1137+* `install_requires` corresponds to `propagatedBuildInputs`
1138+* `tests_require` corresponds to `checkInputs`
1139+
11261140## Contributing
11271141
11281142### Contributing guidelines
doc/package-notes.xml+5−4
@@ -307,19 +307,20 @@ packageOverrides = pkgs: {
307307</screen>
308308 </para>
309309 </section>
310−
311310 <section xml:id="sec-elm">
312311 <title>Elm</title>
313312
314313 <para>
315− To update Elm compiler, see <filename>nixpkgs/pkgs/development/compilers/elm/README.md</filename>.
314+ To update Elm compiler, see
315+ <filename>nixpkgs/pkgs/development/compilers/elm/README.md</filename>.
316316 </para>
317317
318318 <para>
319− To package Elm applications, <link xlink:href="https://github.com/hercules-ci/elm2nix#elm2nix">read about elm2nix</link>.
319+ To package Elm applications,
320+ <link xlink:href="https://github.com/hercules-ci/elm2nix#elm2nix">read about
321+ elm2nix</link>.
320322 </para>
321323 </section>
322−
323324 <section xml:id="sec-shell-helpers">
324325 <title>Interactive shell helpers</title>
325326
doc/platform-notes.xml+2−2
@@ -96,8 +96,8 @@
9696 </programlisting>
9797 <para>
9898 The package <literal>xcbuild</literal> can be used to build projects that
99− really depend on Xcode. However, this replacement is not 100%
100− compatible with Xcode and can occasionally cause issues.
99+ really depend on Xcode. However, this replacement is not 100% compatible
100+ with Xcode and can occasionally cause issues.
101101 </para>
102102 </listitem>
103103 </itemizedlist>
doc/quick-start.xml+2−2
@@ -148,8 +148,8 @@ $ git add pkgs/development/libraries/libfoo/default.nix</screen>
148148 <listitem>
149149 <para>
150150 You can use <command>nix-prefetch-url</command>
151− <replaceable>url</replaceable> to get the
152− SHA-256 hash of source distributions. There are similar commands as
151+ <replaceable>url</replaceable> to get the SHA-256 hash of source
152+ distributions. There are similar commands as
153153 <command>nix-prefetch-git</command> and
154154 <command>nix-prefetch-hg</command> available in
155155 <literal>nix-prefetch-scripts</literal> package.
doc/reviewing-contributions.xml+8−6
@@ -24,11 +24,13 @@
2424 <para>
2525 The high change rate of Nixpkgs makes any pull request that remains open for
2626 too long subject to conflicts that will require extra work from the submitter
27− or the merger. Reviewing pull requests in a timely manner and being responsive
28− to the comments is the key to avoid this issue. GitHub provides sort filters
29− that can be used to see the <link
27+ or the merger. Reviewing pull requests in a timely manner and being
28+ responsive to the comments is the key to avoid this issue. GitHub provides
29+ sort filters that can be used to see the
30+ <link
3031 xlink:href="https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+is%3Aopen+sort%3Aupdated-desc">most
31− recently</link> and the <link
32+ recently</link> and the
33+ <link
3234 xlink:href="https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+is%3Aopen+sort%3Aupdated-asc">least
3335 recently</link> updated pull requests. We highly encourage looking at
3436 <link xlink:href="https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+is%3Aopen+review%3Anone+status%3Asuccess+-label%3A%222.status%3A+work-in-progress%22+no%3Aproject+no%3Aassignee+no%3Amilestone">
@@ -609,8 +611,8 @@ policy.
609611 create an issue or post on
610612 <link
611613 xlink:href="https://discourse.nixos.org">Discourse</link> with
612− references of packages and modules they maintain so the maintainership can be
613− taken over by other contributors.
614+ references of packages and modules they maintain so the maintainership can
615+ be taken over by other contributors.
614616 </para>
615617 </section>
616618</chapter>
doc/stdenv.xml+290−280
@@ -228,18 +228,17 @@ genericBuild
228228 </para>
229229
230230 <para>
231− The extension of <envar>PATH</envar> with dependencies, alluded to
232− above, proceeds according to the relative platforms alone. The
233− process is carried out only for dependencies whose host platform
234− matches the new derivation's build platform i.e. dependencies which
235− run on the platform where the new derivation will be built.
231+ The extension of <envar>PATH</envar> with dependencies, alluded to above,
232+ proceeds according to the relative platforms alone. The process is carried
233+ out only for dependencies whose host platform matches the new derivation's
234+ build platform i.e. dependencies which run on the platform where the new
235+ derivation will be built.
236236 <footnote xml:id="footnote-stdenv-native-dependencies-in-path">
237237 <para>
238− Currently, this means for native builds all dependencies are put
239− on the <envar>PATH</envar>. But in the future that may not be the
240− case for sake of matching cross: the platforms would be assumed
241− to be unique for native and cross builds alike, so only the
242− <varname>depsBuild*</varname> and
238+ Currently, this means for native builds all dependencies are put on the
239+ <envar>PATH</envar>. But in the future that may not be the case for sake
240+ of matching cross: the platforms would be assumed to be unique for native
241+ and cross builds alike, so only the <varname>depsBuild*</varname> and
243242 <varname>nativeBuildInputs</varname> would be added to the
244243 <envar>PATH</envar>.
245244 </para>
@@ -252,9 +251,10 @@ genericBuild
252251 <para>
253252 The dependency is propagated when it forces some of its other-transitive
254253 (non-immediate) downstream dependencies to also take it on as an immediate
255− dependency. Nix itself already takes a package's transitive dependencies into
256− account, but this propagation ensures nixpkgs-specific infrastructure like
257− setup hooks (mentioned above) also are run as if the propagated dependency.
254+ dependency. Nix itself already takes a package's transitive dependencies
255+ into account, but this propagation ensures nixpkgs-specific infrastructure
256+ like setup hooks (mentioned above) also are run as if the propagated
257+ dependency.
258258 </para>
259259
260260 <para>
@@ -270,9 +270,9 @@ genericBuild
270270 described by the current dependency's platform offsets. This results in sort
271271 a transitive closure of the dependency relation, with the offsets being
272272 approximately summed when two dependency links are combined. We also prune
273− transitive dependencies whose combined offsets go out-of-bounds, which can be
274− viewed as a filter over that transitive closure removing dependencies that
275− are blatantly absurd.
273+ transitive dependencies whose combined offsets go out-of-bounds, which can
274+ be viewed as a filter over that transitive closure removing dependencies
275+ that are blatantly absurd.
276276 </para>
277277
278278 <para>
@@ -287,8 +287,8 @@ genericBuild
287287 propagation logic.
288288 </para>
289289 </footnote>
290− They're confusing in very different ways so... hopefully if something doesn't
291− make sense in one presentation, it will in the other!
290+ They're confusing in very different ways so... hopefully if something
291+ doesn't make sense in one presentation, it will in the other!
292292<programlisting>
293293let mapOffset(h, t, i) = i + (if i <= 0 then h else t - 1)
294294
@@ -324,31 +324,31 @@ let f(h, h + 1, i) = i + (if i <= 0 then h else (h + 1) - 1)
324324let f(h, h + 1, i) = i + (if i <= 0 then h else h)
325325let f(h, h + 1, i) = i + h
326326 </programlisting>
327− This is where "sum-like" comes in from above: We can just sum all of the host
328− offsets to get the host offset of the transitive dependency. The target
329− offset is the transitive dependency is simply the host offset + 1, just as it
330− was with the dependencies composed to make this transitive one; it can be
327+ This is where "sum-like" comes in from above: We can just sum all of the
328+ host offsets to get the host offset of the transitive dependency. The target
329+ offset is the transitive dependency is simply the host offset + 1, just as
330+ it was with the dependencies composed to make this transitive one; it can be
331331 ignored as it doesn't add any new information.
332332 </para>
333333
334334 <para>
335− Because of the bounds checks, the uncommon cases are <literal>h = t</literal>
336− and <literal>h + 2 = t</literal>. In the former case, the motivation for
337− <function>mapOffset</function> is that since its host and target platforms
338− are the same, no transitive dependency of it should be able to "discover" an
339− offset greater than its reduced target offsets.
335+ Because of the bounds checks, the uncommon cases are <literal>h =
336+ t</literal> and <literal>h + 2 = t</literal>. In the former case, the
337+ motivation for <function>mapOffset</function> is that since its host and
338+ target platforms are the same, no transitive dependency of it should be able
339+ to "discover" an offset greater than its reduced target offsets.
340340 <function>mapOffset</function> effectively "squashes" all its transitive
341341 dependencies' offsets so that none will ever be greater than the target
342342 offset of the original <literal>h = t</literal> package. In the other case,
343− <literal>h + 1</literal> is skipped over between the host and target offsets.
344− Instead of squashing the offsets, we need to "rip" them apart so no
343+ <literal>h + 1</literal> is skipped over between the host and target
344+ offsets. Instead of squashing the offsets, we need to "rip" them apart so no
345345 transitive dependencies' offset is that one.
346346 </para>
347347
348348 <para>
349− Overall, the unifying theme here is that propagation shouldn't be introducing
350− transitive dependencies involving platforms the depending package is unaware
351− of. The offset bounds checking and definition of
349+ Overall, the unifying theme here is that propagation shouldn't be
350+ introducing transitive dependencies involving platforms the depending
351+ package is unaware of. The offset bounds checking and definition of
352352 <function>mapOffset</function> together ensure that this is the case.
353353 Discovering a new offset is discovering a new platform, and since those
354354 platforms weren't in the derivation "spec" of the needing package, they
@@ -381,8 +381,8 @@ let f(h, h + 1, i) = i + h
381381 Since these packages are able to be run at build-time, they are always
382382 added to the <envar>PATH</envar>, as described above. But since these
383383 packages are only guaranteed to be able to run then, they shouldn't
384− persist as run-time dependencies. This isn't currently enforced, but could
385− be in the future.
384+ persist as run-time dependencies. This isn't currently enforced, but
385+ could be in the future.
386386 </para>
387387 </listitem>
388388 </varlistentry>
@@ -396,10 +396,10 @@ let f(h, h + 1, i) = i + h
396396 platform, and target platform is the new derivation's host platform. This
397397 means a <literal>-1</literal> host offset and <literal>0</literal> target
398398 offset from the new derivation's platforms. These are programs and
399− libraries used at build-time that, if they are a compiler or similar tool,
400− produce code to run at run-time—i.e. tools used to build the new
401− derivation. If the dependency doesn't care about the target platform (i.e.
402− isn't a compiler or similar tool), put it here, rather than in
399+ libraries used at build-time that, if they are a compiler or similar
400+ tool, produce code to run at run-time—i.e. tools used to build the new
401+ derivation. If the dependency doesn't care about the target platform
402+ (i.e. isn't a compiler or similar tool), put it here, rather than in
403403 <varname>depsBuildBuild</varname> or <varname>depsBuildTarget</varname>.
404404 This could be called <varname>depsBuildHost</varname> but
405405 <varname>nativeBuildInputs</varname> is used for historical continuity.
@@ -407,8 +407,9 @@ let f(h, h + 1, i) = i + h
407407 <para>
408408 Since these packages are able to be run at build-time, they are added to
409409 the <envar>PATH</envar>, as described above. But since these packages are
410− only guaranteed to be able to run then, they shouldn't persist as run-time
411− dependencies. This isn't currently enforced, but could be in the future.
410+ only guaranteed to be able to run then, they shouldn't persist as
411+ run-time dependencies. This isn't currently enforced, but could be in the
412+ future.
412413 </para>
413414 </listitem>
414415 </varlistentry>
@@ -421,33 +422,36 @@ let f(h, h + 1, i) = i + h
421422 A list of dependencies whose host platform is the new derivation's build
422423 platform, and target platform is the new derivation's target platform.
423424 This means a <literal>-1</literal> host offset and <literal>1</literal>
424− target offset from the new derivation's platforms. These are programs used
425− at build time that produce code to run with code produced by the depending
426− package. Most commonly, these are tools used to build the runtime or
427− standard library that the currently-being-built compiler will inject into
428− any code it compiles. In many cases, the currently-being-built-compiler is
429− itself employed for that task, but when that compiler won't run (i.e. its
430− build and host platform differ) this is not possible. Other times, the
431− compiler relies on some other tool, like binutils, that is always built
432− separately so that the dependency is unconditional.
425+ target offset from the new derivation's platforms. These are programs
426+ used at build time that produce code to run with code produced by the
427+ depending package. Most commonly, these are tools used to build the
428+ runtime or standard library that the currently-being-built compiler will
429+ inject into any code it compiles. In many cases, the
430+ currently-being-built-compiler is itself employed for that task, but when
431+ that compiler won't run (i.e. its build and host platform differ) this is
432+ not possible. Other times, the compiler relies on some other tool, like
433+ binutils, that is always built separately so that the dependency is
434+ unconditional.
433435 </para>
434436 <para>
435437 This is a somewhat confusing concept to wrap one’s head around, and for
436438 good reason. As the only dependency type where the platform offsets are
437439 not adjacent integers, it requires thinking of a bootstrapping stage
438− <emphasis>two</emphasis> away from the current one. It and its use-case go
439− hand in hand and are both considered poor form: try to not need this sort
440− of dependency, and try to avoid building standard libraries and runtimes
441− in the same derivation as the compiler produces code using them. Instead
442− strive to build those like a normal library, using the newly-built
443− compiler just as a normal library would. In short, do not use this
444− attribute unless you are packaging a compiler and are sure it is needed.
440+ <emphasis>two</emphasis> away from the current one. It and its use-case
441+ go hand in hand and are both considered poor form: try to not need this
442+ sort of dependency, and try to avoid building standard libraries and
443+ runtimes in the same derivation as the compiler produces code using them.
444+ Instead strive to build those like a normal library, using the
445+ newly-built compiler just as a normal library would. In short, do not use
446+ this attribute unless you are packaging a compiler and are sure it is
447+ needed.
445448 </para>
446449 <para>
447450 Since these packages are able to run at build time, they are added to the
448− <envar>PATH</envar>, as described above. But since these packages are only
449− guaranteed to be able to run then, they shouldn't persist as run-time
450− dependencies. This isn't currently enforced, but could be in the future.
451+ <envar>PATH</envar>, as described above. But since these packages are
452+ only guaranteed to be able to run then, they shouldn't persist as
453+ run-time dependencies. This isn't currently enforced, but could be in the
454+ future.
451455 </para>
452456 </listitem>
453457 </varlistentry>
@@ -462,11 +466,11 @@ let f(h, h + 1, i) = i + h
462466 and <literal>0</literal> target offset from the new derivation's host
463467 platform. These are packages used at run-time to generate code also used
464468 at run-time. In practice, this would usually be tools used by compilers
465− for macros or a metaprogramming system, or libraries used by the macros or
466− metaprogramming code itself. It's always preferable to use a
467− <varname>depsBuildBuild</varname> dependency in the derivation being built
468− over a <varname>depsHostHost</varname> on the tool doing the building for
469− this purpose.
469+ for macros or a metaprogramming system, or libraries used by the macros
470+ or metaprogramming code itself. It's always preferable to use a
471+ <varname>depsBuildBuild</varname> dependency in the derivation being
472+ built over a <varname>depsHostHost</varname> on the tool doing the
473+ building for this purpose.
470474 </para>
471475 </listitem>
472476 </varlistentry>
@@ -481,8 +485,8 @@ let f(h, h + 1, i) = i + h
481485 <literal>1</literal> target offset from the new derivation's host
482486 platform. This would be called <varname>depsHostTarget</varname> but for
483487 historical continuity. If the dependency doesn't care about the target
484− platform (i.e. isn't a compiler or similar tool), put it here, rather than
485− in <varname>depsBuildBuild</varname>.
488+ platform (i.e. isn't a compiler or similar tool), put it here, rather
489+ than in <varname>depsBuildBuild</varname>.
486490 </para>
487491 <para>
488492 These are often programs and libraries used by the new derivation at
@@ -664,10 +668,11 @@ passthru = {
664668 <literal>hello.baz.value1</literal>. We don't specify any usage or schema
665669 of <literal>passthru</literal> - it is meant for values that would be
666670 useful outside the derivation in other parts of a Nix expression (e.g. in
667− other derivations). An example would be to convey some specific dependency
668− of your derivation which contains a program with plugins support. Later,
669− others who make derivations with plugins can use passed-through dependency
670− to ensure that their plugin would be binary-compatible with built program.
671+ other derivations). An example would be to convey some specific
672+ dependency of your derivation which contains a program with plugins
673+ support. Later, others who make derivations with plugins can use
674+ passed-through dependency to ensure that their plugin would be
675+ binary-compatible with built program.
671676 </para>
672677 </listitem>
673678 </varlistentry>
@@ -677,9 +682,9 @@ passthru = {
677682 </term>
678683 <listitem>
679684 <para>
680− A script to be run by <filename>maintainers/scripts/update.nix</filename> when
681− the package is matched. It needs to be an executable file, either on the file
682− system:
685+ A script to be run by <filename>maintainers/scripts/update.nix</filename>
686+ when the package is matched. It needs to be an executable file, either on
687+ the file system:
683688<programlisting>
684689passthru.updateScript = ./update.sh;
685690</programlisting>
@@ -695,16 +700,24 @@ passthru.updateScript = writeScript "update-zoom-us" ''
695700 update-source-version zoom-us "$version"
696701'';
697702</programlisting>
698− The attribute can also contain a list, a script followed by arguments to be passed to it:
703+ The attribute can also contain a list, a script followed by arguments to
704+ be passed to it:
699705<programlisting>
700706passthru.updateScript = [ ../../update.sh pname "--requested-release=unstable" ];
701707</programlisting>
702− Note that the update scripts will be run in parallel by default; you should avoid running <command>git commit</command> or any other commands that cannot handle that.
708+ Note that the update scripts will be run in parallel by default; you
709+ should avoid running <command>git commit</command> or any other commands
710+ that cannot handle that.
703711 </para>
704−
705712 <para>
706713 For information about how to run the updates, execute
707− <cmdsynopsis><command>nix-shell</command> <arg>maintainers/scripts/update.nix</arg></cmdsynopsis>.
714+ <cmdsynopsis>
715+ <command>nix-shell</command>
716+ <arg>
717+ maintainers/scripts/update.nix
718+ </arg>
719+ </cmdsynopsis>
720+ .
708721 </para>
709722 </listitem>
710723 </varlistentry>
@@ -1178,8 +1191,8 @@ passthru.updateScript = [ ../../update.sh pname "--requested-release=unstable" ]
11781191 By default, when cross compiling, the configure script has
11791192 <option>--build=...</option> and <option>--host=...</option> passed.
11801193 Packages can instead pass <literal>[ "build" "host" "target" ]</literal>
1181− or a subset to control exactly which platform flags are passed. Compilers
1182− and other tools can use this to also pass the target platform.
1194+ or a subset to control exactly which platform flags are passed.
1195+ Compilers and other tools can use this to also pass the target platform.
11831196 <footnote xml:id="footnote-stdenv-build-time-guessing-impurity">
11841197 <para>
11851198 Eventually these will be passed building natively as well, to improve
@@ -1694,10 +1707,11 @@ installTargets = "install-bin install-doc";</programlisting>
16941707 </term>
16951708 <listitem>
16961709 <para>
1697− A package can export a <link linkend="ssec-setup-hooks">setup hook</link>
1698− by setting this variable. The setup hook, if defined, is copied to
1699− <filename>$out/nix-support/setup-hook</filename>. Environment variables
1700− are then substituted in it using <function
1710+ A package can export a <link linkend="ssec-setup-hooks">setup
1711+ hook</link> by setting this variable. The setup hook, if defined, is
1712+ copied to <filename>$out/nix-support/setup-hook</filename>. Environment
1713+ variables are then substituted in it using
1714+ <function
17011715 linkend="fun-substituteAll">substituteAll</function>.
17021716 </para>
17031717 </listitem>
@@ -1812,8 +1826,8 @@ set debug-file-directory ~/.nix-profile/lib/debug
18121826 <listitem>
18131827 <para>
18141828 A list of dependencies used by the phase. This gets included in
1815− <varname>nativeBuildInputs</varname> when <varname>doInstallCheck</varname> is
1816− set.
1829+ <varname>nativeBuildInputs</varname> when
1830+ <varname>doInstallCheck</varname> is set.
18171831 </para>
18181832 </listitem>
18191833 </varlistentry>
@@ -2160,10 +2174,11 @@ someVar=$(stripHash $name)
21602174 dependency derivation is already built just the same—depending is just
21612175 needing something to exist, and needing is idempotent. However, a dependency
21622176 specified twice will have its setup hook run twice, and that could easily
2163− change the build environment (though a well-written setup hook will therefore
2164− strive to be idempotent so this is in fact not observable). More broadly,
2165− setup hooks are anti-modular in that multiple dependencies, whether the same
2166− or different, should not interfere and yet their setup hooks may well do so.
2177+ change the build environment (though a well-written setup hook will
2178+ therefore strive to be idempotent so this is in fact not observable). More
2179+ broadly, setup hooks are anti-modular in that multiple dependencies, whether
2180+ the same or different, should not interfere and yet their setup hooks may
2181+ well do so.
21672182 </para>
21682183
21692184 <para>
@@ -2185,11 +2200,12 @@ someVar=$(stripHash $name)
21852200 Returning to the C compiler wrapper example, if the wrapper itself is an
21862201 <literal>n</literal> dependency, then it only wants to accumulate flags from
21872202 <literal>n + 1</literal> dependencies, as only those ones match the
2188− compiler's target platform. The <envar>hostOffset</envar> variable is defined
2189− with the current dependency's host offset <envar>targetOffset</envar> with
2190− its target offset, before its setup hook is sourced. Additionally, since most
2191− environment hooks don't care about the target platform, that means the setup
2192− hook can append to the right bash array by doing something like
2203+ compiler's target platform. The <envar>hostOffset</envar> variable is
2204+ defined with the current dependency's host offset
2205+ <envar>targetOffset</envar> with its target offset, before its setup hook is
2206+ sourced. Additionally, since most environment hooks don't care about the
2207+ target platform, that means the setup hook can append to the right bash
2208+ array by doing something like
21932209<programlisting language="bash">
21942210addEnvHooks "$hostOffset" myBashFunction
21952211 </programlisting>
@@ -2204,24 +2220,22 @@ addEnvHooks "$hostOffset" myBashFunction
22042220 </para>
22052221
22062222 <para>
2207− First, let’s cover some setup hooks that are part of Nixpkgs
2208− default stdenv. This means that they are run for every package
2209− built using <function>stdenv.mkDerivation</function>. Some of
2210− these are platform specific, so they may run on Linux but not
2211− Darwin or vice-versa.
2212− <variablelist>
2223+ First, let’s cover some setup hooks that are part of Nixpkgs default
2224+ stdenv. This means that they are run for every package built using
2225+ <function>stdenv.mkDerivation</function>. Some of these are platform
2226+ specific, so they may run on Linux but not Darwin or vice-versa.
2227+ <variablelist>
22132228 <varlistentry>
22142229 <term>
22152230 <literal>move-docs.sh</literal>
22162231 </term>
22172232 <listitem>
2218− <para>
2233+ <para>
22192234 This setup hook moves any installed documentation to the
2220− <literal>/share</literal> subdirectory directory. This includes
2221− the man, doc and info directories. This is needed for legacy
2222− programs that do not know how to use the
2223− <literal>share</literal> subdirectory.
2224− </para>
2235+ <literal>/share</literal> subdirectory directory. This includes the man,
2236+ doc and info directories. This is needed for legacy programs that do not
2237+ know how to use the <literal>share</literal> subdirectory.
2238+ </para>
22252239 </listitem>
22262240 </varlistentry>
22272241 <varlistentry>
@@ -2229,11 +2243,11 @@ addEnvHooks "$hostOffset" myBashFunction
22292243 <literal>compress-man-pages.sh</literal>
22302244 </term>
22312245 <listitem>
2232− <para>
2233− This setup hook compresses any man pages that have been
2234− installed. The compression is done using the gzip program. This
2235− helps to reduce the installed size of packages.
2236− </para>
2246+ <para>
2247+ This setup hook compresses any man pages that have been installed. The
2248+ compression is done using the gzip program. This helps to reduce the
2249+ installed size of packages.
2250+ </para>
22372251 </listitem>
22382252 </varlistentry>
22392253 <varlistentry>
@@ -2241,12 +2255,11 @@ addEnvHooks "$hostOffset" myBashFunction
22412255 <literal>strip.sh</literal>
22422256 </term>
22432257 <listitem>
2244− <para>
2245− This runs the strip command on installed binaries and
2246− libraries. This removes unnecessary information like debug
2247− symbols when they are not needed. This also helps to reduce the
2248− installed size of packages.
2249− </para>
2258+ <para>
2259+ This runs the strip command on installed binaries and libraries. This
2260+ removes unnecessary information like debug symbols when they are not
2261+ needed. This also helps to reduce the installed size of packages.
2262+ </para>
22502263 </listitem>
22512264 </varlistentry>
22522265 <varlistentry>
@@ -2254,15 +2267,14 @@ addEnvHooks "$hostOffset" myBashFunction
22542267 <literal>patch-shebangs.sh</literal>
22552268 </term>
22562269 <listitem>
2257− <para>
2258− This setup hook patches installed scripts to use the full path
2259− to the shebang interpreter. A shebang interpreter is the first
2260− commented line of a script telling the operating system which
2261− program will run the script (e.g <literal>#!/bin/bash</literal>). In
2262− Nix, we want an exact path to that interpreter to be used. This
2263− often replaces <literal>/bin/sh</literal> with a path in the
2264− Nix store.
2265− </para>
2270+ <para>
2271+ This setup hook patches installed scripts to use the full path to the
2272+ shebang interpreter. A shebang interpreter is the first commented line
2273+ of a script telling the operating system which program will run the
2274+ script (e.g <literal>#!/bin/bash</literal>). In Nix, we want an exact
2275+ path to that interpreter to be used. This often replaces
2276+ <literal>/bin/sh</literal> with a path in the Nix store.
2277+ </para>
22662278 </listitem>
22672279 </varlistentry>
22682280 <varlistentry>
@@ -2270,12 +2282,12 @@ addEnvHooks "$hostOffset" myBashFunction
22702282 <literal>audit-tmpdir.sh</literal>
22712283 </term>
22722284 <listitem>
2273− <para>
2274− This verifies that no references are left from the install
2275− binaries to the directory used to build those binaries. This
2276− ensures that the binaries do not need things outside the Nix
2277− store. This is currently supported in Linux only.
2278− </para>
2285+ <para>
2286+ This verifies that no references are left from the install binaries to
2287+ the directory used to build those binaries. This ensures that the
2288+ binaries do not need things outside the Nix store. This is currently
2289+ supported in Linux only.
2290+ </para>
22792291 </listitem>
22802292 </varlistentry>
22812293 <varlistentry>
@@ -2283,14 +2295,14 @@ addEnvHooks "$hostOffset" myBashFunction
22832295 <literal>multiple-outputs.sh</literal>
22842296 </term>
22852297 <listitem>
2286− <para>
2287− This setup hook adds configure flags that tell packages to
2288− install files into any one of the proper outputs listed in
2289− <literal>outputs</literal>. This behavior can be turned off by setting
2298+ <para>
2299+ This setup hook adds configure flags that tell packages to install files
2300+ into any one of the proper outputs listed in <literal>outputs</literal>.
2301+ This behavior can be turned off by setting
22902302 <literal>setOutputFlags</literal> to false in the derivation
2291− environment. See <xref linkend="chap-multiple-output"/> for
2292− more information.
2293− </para>
2303+ environment. See <xref linkend="chap-multiple-output"/> for more
2304+ information.
2305+ </para>
22942306 </listitem>
22952307 </varlistentry>
22962308 <varlistentry>
@@ -2298,11 +2310,11 @@ addEnvHooks "$hostOffset" myBashFunction
22982310 <literal>move-sbin.sh</literal>
22992311 </term>
23002312 <listitem>
2301− <para>
2302− This setup hook moves any binaries installed in the sbin
2303− subdirectory into bin. In addition, a link is provided from
2304− sbin to bin for compatibility.
2305− </para>
2313+ <para>
2314+ This setup hook moves any binaries installed in the sbin subdirectory
2315+ into bin. In addition, a link is provided from sbin to bin for
2316+ compatibility.
2317+ </para>
23062318 </listitem>
23072319 </varlistentry>
23082320 <varlistentry>
@@ -2310,11 +2322,11 @@ addEnvHooks "$hostOffset" myBashFunction
23102322 <literal>move-lib64.sh</literal>
23112323 </term>
23122324 <listitem>
2313− <para>
2314− This setup hook moves any libraries installed in the lib64
2315− subdirectory into lib. In addition, a link is provided from
2316− lib64 to lib for compatibility.
2317− </para>
2325+ <para>
2326+ This setup hook moves any libraries installed in the lib64 subdirectory
2327+ into lib. In addition, a link is provided from lib64 to lib for
2328+ compatibility.
2329+ </para>
23182330 </listitem>
23192331 </varlistentry>
23202332 <varlistentry>
@@ -2322,10 +2334,10 @@ addEnvHooks "$hostOffset" myBashFunction
23222334 <literal>set-source-date-epoch-to-latest.sh</literal>
23232335 </term>
23242336 <listitem>
2325− <para>
2326− This sets <literal>SOURCE_DATE_EPOCH</literal> to the
2327− modification time of the most recent file.
2328− </para>
2337+ <para>
2338+ This sets <literal>SOURCE_DATE_EPOCH</literal> to the modification time
2339+ of the most recent file.
2340+ </para>
23292341 </listitem>
23302342 </varlistentry>
23312343 <varlistentry>
@@ -2335,19 +2347,19 @@ addEnvHooks "$hostOffset" myBashFunction
23352347 <listitem>
23362348 <para>
23372349 The Bintools Wrapper wraps the binary utilities for a bunch of
2338− miscellaneous purposes. These are GNU Binutils when targetting Linux, and
2339− a mix of cctools and GNU binutils for Darwin. [The "Bintools" name is
2340− supposed to be a compromise between "Binutils" and "cctools" not denoting
2341− any specific implementation.] Specifically, the underlying bintools
2342− package, and a C standard library (glibc or Darwin's libSystem, just for
2343− the dynamic loader) are all fed in, and dependency finding, hardening
2344− (see below), and purity checks for each are handled by the Bintools
2345− Wrapper. Packages typically depend on CC Wrapper, which in turn (at run
2346− time) depends on the Bintools Wrapper.
2347− </para>
2348− <para>
2349− The Bintools Wrapper was only just recently split off from CC Wrapper, so
2350− the division of labor is still being worked out. For example, it
2350+ miscellaneous purposes. These are GNU Binutils when targetting Linux,
2351+ and a mix of cctools and GNU binutils for Darwin. [The "Bintools" name
2352+ is supposed to be a compromise between "Binutils" and "cctools" not
2353+ denoting any specific implementation.] Specifically, the underlying
2354+ bintools package, and a C standard library (glibc or Darwin's libSystem,
2355+ just for the dynamic loader) are all fed in, and dependency finding,
2356+ hardening (see below), and purity checks for each are handled by the
2357+ Bintools Wrapper. Packages typically depend on CC Wrapper, which in turn
2358+ (at run time) depends on the Bintools Wrapper.
2359+ </para>
2360+ <para>
2361+ The Bintools Wrapper was only just recently split off from CC Wrapper,
2362+ so the division of labor is still being worked out. For example, it
23512363 shouldn't care about about the C standard library, but just take a
23522364 derivation with the dynamic loader (which happens to be the glibc on
23532365 linux). Dependency finding however is a task both wrappers will continue
@@ -2357,11 +2369,12 @@ addEnvHooks "$hostOffset" myBashFunction
23572369 <varname>nativeBuildInputs</varname>) in environment variables. The
23582370 Bintools Wrapper's setup hook causes any <filename>lib</filename> and
23592371 <filename>lib64</filename> subdirectories to be added to
2360− <envar>NIX_LDFLAGS</envar>. Since the CC Wrapper and the Bintools Wrapper
2361− use the same strategy, most of the Bintools Wrapper code is sparsely
2362− commented and refers to the CC Wrapper. But the CC Wrapper's code, by
2363− contrast, has quite lengthy comments. The Bintools Wrapper merely cites
2364− those, rather than repeating them, to avoid falling out of sync.
2372+ <envar>NIX_LDFLAGS</envar>. Since the CC Wrapper and the Bintools
2373+ Wrapper use the same strategy, most of the Bintools Wrapper code is
2374+ sparsely commented and refers to the CC Wrapper. But the CC Wrapper's
2375+ code, by contrast, has quite lengthy comments. The Bintools Wrapper
2376+ merely cites those, rather than repeating them, to avoid falling out of
2377+ sync.
23652378 </para>
23662379 <para>
23672380 A final task of the setup hook is defining a number of standard
@@ -2370,8 +2383,8 @@ addEnvHooks "$hostOffset" myBashFunction
23702383 under the assumption that the Bintools Wrapper's binaries will be on the
23712384 path. Firstly, this helps poorly-written packages, e.g. ones that look
23722385 for just <command>gcc</command> when <envar>CC</envar> isn't defined yet
2373− <command>clang</command> is to be used. Secondly, this helps packages not
2374− get confused when cross-compiling, in which case multiple Bintools
2386+ <command>clang</command> is to be used. Secondly, this helps packages
2387+ not get confused when cross-compiling, in which case multiple Bintools
23752388 Wrappers may simultaneously be in use.
23762389 <footnote xml:id="footnote-stdenv-per-platform-wrapper">
23772390 <para>
@@ -2387,16 +2400,16 @@ addEnvHooks "$hostOffset" myBashFunction
23872400 Wrappers, properly disambiguating them.
23882401 </para>
23892402 <para>
2390− A problem with this final task is that the Bintools Wrapper is honest and
2391− defines <envar>LD</envar> as <command>ld</command>. Most packages,
2403+ A problem with this final task is that the Bintools Wrapper is honest
2404+ and defines <envar>LD</envar> as <command>ld</command>. Most packages,
23922405 however, firstly use the C compiler for linking, secondly use
23932406 <envar>LD</envar> anyways, defining it as the C compiler, and thirdly,
2394− only so define <envar>LD</envar> when it is undefined as a fallback. This
2395− triple-threat means Bintools Wrapper will break those packages, as LD is
2396− already defined as the actual linker which the package won't override yet
2397− doesn't want to use. The workaround is to define, just for the
2398− problematic package, <envar>LD</envar> as the C compiler. A good way to
2399− do this would be <command>preConfigure = "LD=$CC"</command>.
2407+ only so define <envar>LD</envar> when it is undefined as a fallback.
2408+ This triple-threat means Bintools Wrapper will break those packages, as
2409+ LD is already defined as the actual linker which the package won't
2410+ override yet doesn't want to use. The workaround is to define, just for
2411+ the problematic package, <envar>LD</envar> as the C compiler. A good way
2412+ to do this would be <command>preConfigure = "LD=$CC"</command>.
24002413 </para>
24012414 </listitem>
24022415 </varlistentry>
@@ -2406,13 +2419,13 @@ addEnvHooks "$hostOffset" myBashFunction
24062419 </term>
24072420 <listitem>
24082421 <para>
2409− The CC Wrapper wraps a C toolchain for a bunch of miscellaneous purposes.
2410− Specifically, a C compiler (GCC or Clang), wrapped binary tools, and a C
2411− standard library (glibc or Darwin's libSystem, just for the dynamic
2412− loader) are all fed in, and dependency finding, hardening (see below),
2413− and purity checks for each are handled by the CC Wrapper. Packages
2414− typically depend on the CC Wrapper, which in turn (at run-time) depends
2415− on the Bintools Wrapper.
2422+ The CC Wrapper wraps a C toolchain for a bunch of miscellaneous
2423+ purposes. Specifically, a C compiler (GCC or Clang), wrapped binary
2424+ tools, and a C standard library (glibc or Darwin's libSystem, just for
2425+ the dynamic loader) are all fed in, and dependency finding, hardening
2426+ (see below), and purity checks for each are handled by the CC Wrapper.
2427+ Packages typically depend on the CC Wrapper, which in turn (at run-time)
2428+ depends on the Bintools Wrapper.
24162429 </para>
24172430 <para>
24182431 Dependency finding is undoubtedly the main task of the CC Wrapper. This
@@ -2434,14 +2447,13 @@ addEnvHooks "$hostOffset" myBashFunction
24342447 </para>
24352448 </listitem>
24362449 </varlistentry>
2437− </variablelist>
2450+ </variablelist>
24382451 </para>
24392452
24402453 <para>
2441− Here are some more packages that provide a setup hook. Since the
2442− list of hooks is extensible, this is not an exhaustive list the
2443− mechanism is only to be used as a last resort, it might cover most
2444− uses.
2454+ Here are some more packages that provide a setup hook. Since the list of
2455+ hooks is extensible, this is not an exhaustive list the mechanism is only to
2456+ be used as a last resort, it might cover most uses.
24452457 <variablelist>
24462458 <varlistentry>
24472459 <term>
@@ -2499,11 +2511,11 @@ addEnvHooks "$hostOffset" myBashFunction
24992511 <listitem>
25002512 <para>
25012513 The <varname>autoreconfHook</varname> derivation adds
2502− <varname>autoreconfPhase</varname>, which runs autoreconf, libtoolize and
2503− automake, essentially preparing the configure script in autotools-based
2504− builds. Most autotools-based packages come with the configure script
2505− pre-generated, but this hook is necessary for a few packages and when you
2506− need to patch the package’s configure scripts.
2514+ <varname>autoreconfPhase</varname>, which runs autoreconf, libtoolize
2515+ and automake, essentially preparing the configure script in
2516+ autotools-based builds. Most autotools-based packages come with the
2517+ configure script pre-generated, but this hook is necessary for a few
2518+ packages and when you need to patch the package’s configure scripts.
25072519 </para>
25082520 </listitem>
25092521 </varlistentry>
@@ -2547,9 +2559,9 @@ addEnvHooks "$hostOffset" myBashFunction
25472559 </term>
25482560 <listitem>
25492561 <para>
2550− Exports <envar>GDK_PIXBUF_MODULE_FILE</envar> environment variable to the
2551− builder. Add librsvg package to <varname>buildInputs</varname> to get svg
2552− support.
2562+ Exports <envar>GDK_PIXBUF_MODULE_FILE</envar> environment variable to
2563+ the builder. Add librsvg package to <varname>buildInputs</varname> to
2564+ get svg support.
25532565 </para>
25542566 </listitem>
25552567 </varlistentry>
@@ -2594,21 +2606,20 @@ addEnvHooks "$hostOffset" myBashFunction
25942606 </para>
25952607 <para>
25962608 This is useful for programs that use <citerefentry>
2597− <refentrytitle>dlopen</refentrytitle>
2598− <manvolnum>3</manvolnum>
2599− </citerefentry> to load libraries at runtime.
2609+ <refentrytitle>dlopen</refentrytitle>
2610+ <manvolnum>3</manvolnum> </citerefentry> to load libraries at runtime.
26002611 </para>
26012612 <para>
2602− In certain situations you may want to run the main command
2603− (<command>autoPatchelf</command>) of the setup hook on a file or a set
2604− of directories instead of unconditionally patching all outputs. This
2605− can be done by setting the <envar>dontAutoPatchelf</envar> environment
2606− variable to a non-empty value.
2613+ In certain situations you may want to run the main command
2614+ (<command>autoPatchelf</command>) of the setup hook on a file or a set
2615+ of directories instead of unconditionally patching all outputs. This can
2616+ be done by setting the <envar>dontAutoPatchelf</envar> environment
2617+ variable to a non-empty value.
26072618 </para>
26082619 <para>
2609− The <command>autoPatchelf</command> command also recognizes a
2610− <parameter class="command">--no-recurse</parameter> command line flag,
2611− which prevents it from recursing into subdirectories.
2620+ The <command>autoPatchelf</command> command also recognizes a
2621+ <parameter class="command">--no-recurse</parameter> command line flag,
2622+ which prevents it from recursing into subdirectories.
26122623 </para>
26132624 </listitem>
26142625 </varlistentry>
@@ -2619,22 +2630,22 @@ addEnvHooks "$hostOffset" myBashFunction
26192630 <listitem>
26202631 <para>
26212632 This hook will make a build pause instead of stopping when a failure
2622− happens. It prevents nix from cleaning up the build environment immediately and
2623− allows the user to attach to a build environment using the
2624− <command>cntr</command> command. Upon build error it will print
2625− instructions on how to use <command>cntr</command>. Installing
2626− cntr and running the command will provide shell access to the build
2627− sandbox of failed build. At <filename>/var/lib/cntr</filename> the
2628− sandboxed filesystem is mounted. All commands and files of the system are
2629− still accessible within the shell. To execute commands from the sandbox
2630− use the cntr exec subcommand. Note that <command>cntr</command> also
2631− needs to be executed on the machine that is doing the build, which might
2632− not be the case when remote builders are enabled.
2633− <command>cntr</command> is only supported on Linux-based platforms. To
2634− use it first add <literal>cntr</literal> to your
2635− <literal>environment.systemPackages</literal> on NixOS or alternatively to
2636− the root user on non-NixOS systems. Then in the package that is supposed
2637− to be inspected, add <literal>breakpointHook</literal> to
2633+ happens. It prevents nix from cleaning up the build environment
2634+ immediately and allows the user to attach to a build environment using
2635+ the <command>cntr</command> command. Upon build error it will print
2636+ instructions on how to use <command>cntr</command>. Installing cntr and
2637+ running the command will provide shell access to the build sandbox of
2638+ failed build. At <filename>/var/lib/cntr</filename> the sandboxed
2639+ filesystem is mounted. All commands and files of the system are still
2640+ accessible within the shell. To execute commands from the sandbox use
2641+ the cntr exec subcommand. Note that <command>cntr</command> also needs
2642+ to be executed on the machine that is doing the build, which might not
2643+ be the case when remote builders are enabled. <command>cntr</command> is
2644+ only supported on Linux-based platforms. To use it first add
2645+ <literal>cntr</literal> to your
2646+ <literal>environment.systemPackages</literal> on NixOS or alternatively
2647+ to the root user on non-NixOS systems. Then in the package that is
2648+ supposed to be inspected, add <literal>breakpointHook</literal> to
26382649 <literal>nativeBuildInputs</literal>.
26392650<programlisting>
26402651 nativeBuildInputs = [ breakpointHook ];
@@ -2649,16 +2660,15 @@ addEnvHooks "$hostOffset" myBashFunction
26492660 libiconv, libintl
26502661 </term>
26512662 <listitem>
2652− <para>
2653− A few libraries automatically add to
2654− <literal>NIX_LDFLAGS</literal> their library, making their
2655− symbols automatically available to the linker. This includes
2656− libiconv and libintl (gettext). This is done to provide
2657− compatibility between GNU Linux, where libiconv and libintl
2658− are bundled in, and other systems where that might not be the
2659− case. Sometimes, this behavior is not desired. To disable
2660− this behavior, set <literal>dontAddExtraLibs</literal>.
2661− </para>
2663+ <para>
2664+ A few libraries automatically add to <literal>NIX_LDFLAGS</literal>
2665+ their library, making their symbols automatically available to the
2666+ linker. This includes libiconv and libintl (gettext). This is done to
2667+ provide compatibility between GNU Linux, where libiconv and libintl are
2668+ bundled in, and other systems where that might not be the case.
2669+ Sometimes, this behavior is not desired. To disable this behavior, set
2670+ <literal>dontAddExtraLibs</literal>.
2671+ </para>
26622672 </listitem>
26632673 </varlistentry>
26642674 <varlistentry>
@@ -2666,17 +2676,17 @@ addEnvHooks "$hostOffset" myBashFunction
26662676 cmake
26672677 </term>
26682678 <listitem>
2669− <para>
2670− Overrides the default configure phase to run the CMake command. By
2671− default, we use the Make generator of CMake. In
2672− addition, dependencies are added automatically to CMAKE_PREFIX_PATH so
2673− that packages are correctly detected by CMake. Some additional flags
2674− are passed in to give similar behavior to configure-based packages. You
2675− can disable this hook’s behavior by setting configurePhase to a custom
2676− value, or by setting dontUseCmakeConfigure. cmakeFlags controls flags
2677− passed only to CMake. By default, parallel building is enabled as CMake
2678− supports parallel building almost everywhere. When Ninja is also in
2679− use, CMake will detect that and use the ninja generator.
2679+ <para>
2680+ Overrides the default configure phase to run the CMake command. By
2681+ default, we use the Make generator of CMake. In addition, dependencies
2682+ are added automatically to CMAKE_PREFIX_PATH so that packages are
2683+ correctly detected by CMake. Some additional flags are passed in to give
2684+ similar behavior to configure-based packages. You can disable this
2685+ hook’s behavior by setting configurePhase to a custom value, or by
2686+ setting dontUseCmakeConfigure. cmakeFlags controls flags passed only to
2687+ CMake. By default, parallel building is enabled as CMake supports
2688+ parallel building almost everywhere. When Ninja is also in use, CMake
2689+ will detect that and use the ninja generator.
26802690 </para>
26812691 </listitem>
26822692 </varlistentry>
@@ -2685,12 +2695,12 @@ addEnvHooks "$hostOffset" myBashFunction
26852695 xcbuildHook
26862696 </term>
26872697 <listitem>
2688− <para>
2689− Overrides the build and install phases to run the “xcbuild” command.
2690− This hook is needed when a project only comes with build files for the
2691− XCode build system. You can disable this behavior by setting buildPhase
2692− and configurePhase to a custom value. xcbuildFlags controls flags
2693− passed only to xcbuild.
2698+ <para>
2699+ Overrides the build and install phases to run the “xcbuild” command.
2700+ This hook is needed when a project only comes with build files for the
2701+ XCode build system. You can disable this behavior by setting buildPhase
2702+ and configurePhase to a custom value. xcbuildFlags controls flags passed
2703+ only to xcbuild.
26942704 </para>
26952705 </listitem>
26962706 </varlistentry>
@@ -2699,13 +2709,13 @@ addEnvHooks "$hostOffset" myBashFunction
26992709 meson
27002710 </term>
27012711 <listitem>
2702− <para>
2703− Overrides the configure phase to run meson to generate Ninja files. You
2704− can disable this behavior by setting configurePhase to a custom value,
2705− or by setting dontUseMesonConfigure. To run these files, you should
2706− accompany meson with ninja. mesonFlags controls only the flags passed
2707− to meson. By default, parallel building is enabled as Meson supports
2708− parallel building almost everywhere.
2712+ <para>
2713+ Overrides the configure phase to run meson to generate Ninja files. You
2714+ can disable this behavior by setting configurePhase to a custom value,
2715+ or by setting dontUseMesonConfigure. To run these files, you should
2716+ accompany meson with ninja. mesonFlags controls only the flags passed to
2717+ meson. By default, parallel building is enabled as Meson supports
2718+ parallel building almost everywhere.
27092719 </para>
27102720 </listitem>
27112721 </varlistentry>
@@ -2714,11 +2724,11 @@ addEnvHooks "$hostOffset" myBashFunction
27142724 ninja
27152725 </term>
27162726 <listitem>
2717− <para>
2718− Overrides the build, install, and check phase to run ninja instead of
2719− make. You can disable this behavior with the dontUseNinjaBuild,
2720− dontUseNinjaInstall, and dontUseNinjaCheck, respectively. Parallel
2721− building is enabled by default in Ninja.
2727+ <para>
2728+ Overrides the build, install, and check phase to run ninja instead of
2729+ make. You can disable this behavior with the dontUseNinjaBuild,
2730+ dontUseNinjaInstall, and dontUseNinjaCheck, respectively. Parallel
2731+ building is enabled by default in Ninja.
27222732 </para>
27232733 </listitem>
27242734 </varlistentry>
@@ -2727,9 +2737,9 @@ addEnvHooks "$hostOffset" myBashFunction
27272737 unzip
27282738 </term>
27292739 <listitem>
2730− <para>
2731− This setup hook will allow you to unzip .zip files specified in $src.
2732− There are many similar packages like unrar, undmg, etc.
2740+ <para>
2741+ This setup hook will allow you to unzip .zip files specified in $src.
2742+ There are many similar packages like unrar, undmg, etc.
27332743 </para>
27342744 </listitem>
27352745 </varlistentry>
@@ -2738,11 +2748,11 @@ addEnvHooks "$hostOffset" myBashFunction
27382748 wafHook
27392749 </term>
27402750 <listitem>
2741− <para>
2742− Overrides the configure, build, and install phases. This will run the
2743− "waf" script used by many projects. If waf doesn’t exist, it will copy
2744− the version of waf available in Nixpkgs wafFlags can be used to pass
2745− flags to the waf script.
2751+ <para>
2752+ Overrides the configure, build, and install phases. This will run the
2753+ "waf" script used by many projects. If waf doesn’t exist, it will copy
2754+ the version of waf available in Nixpkgs wafFlags can be used to pass
2755+ flags to the waf script.
27462756 </para>
27472757 </listitem>
27482758 </varlistentry>
@@ -2751,14 +2761,14 @@ addEnvHooks "$hostOffset" myBashFunction
27512761 scons
27522762 </term>
27532763 <listitem>
2754− <para>
2755− Overrides the build, install, and check phases. This uses the scons
2756− build system as a replacement for make. scons does not provide a
2757− configure phase, so everything is managed at build and install time.
2764+ <para>
2765+ Overrides the build, install, and check phases. This uses the scons
2766+ build system as a replacement for make. scons does not provide a
2767+ configure phase, so everything is managed at build and install time.
27582768 </para>
27592769 </listitem>
27602770 </varlistentry>
2761− </variablelist>
2771+ </variablelist>
27622772 </para>
27632773 </section>
27642774 <section xml:id="sec-purity-in-nixpkgs">
lib/default.nix+2−2
@@ -59,7 +59,7 @@ let
5959 stringLength sub substring tail;
6060 inherit (trivial) id const concat or and bitAnd bitOr bitXor bitNot
6161 boolToString mergeAttrs flip mapNullable inNixShell min max
62− importJSON warn info nixpkgsVersion version mod compare
62+ importJSON warn info showWarnings nixpkgsVersion version mod compare
6363 splitByAndCompare functionArgs setFunctionArgs isFunction;
6464 inherit (fixedPoints) fix fix' converge extends composeExtensions
6565 makeExtensible makeExtensibleWithCustomName;
@@ -109,7 +109,7 @@ let
109109 mkFixStrictness mkOrder mkBefore mkAfter mkAliasDefinitions
110110 mkAliasAndWrapDefinitions fixMergeModules mkRemovedOptionModule
111111 mkRenamedOptionModule mkMergedOptionModule mkChangedOptionModule
112− mkAliasOptionModule mkAliasOptionModuleWithPriority doRename filterModules;
112+ mkAliasOptionModule doRename filterModules;
113113 inherit (options) isOption mkEnableOption mkSinkUndeclaredOptions
114114 mergeDefaultOption mergeOneOption mergeEqualOption getValues
115115 getFiles optionAttrSetToDocList optionAttrSetToDocList'
lib/licenses.nix+5
@@ -561,6 +561,11 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
561561 fullName = "OpenSSL License";
562562 };
563563
564+ osl2 = spdx {
565+ spdxId = "OSL-2.0";
566+ fullName = "Open Software License 2.0";
567+ };
568+
564569 osl21 = spdx {
565570 spdxId = "OSL-2.1";
566571 fullName = "Open Software License 2.1";
lib/modules.nix+20−12
@@ -476,8 +476,22 @@ rec {
476476 optionSet to options of type submodule. FIXME: remove
477477 eventually. */
478478 fixupOptionType = loc: opt:
479− if opt.type.getSubModules or null == null
480− then opt // { type = opt.type or types.unspecified; }
479+ let
480+ options = opt.options or
481+ (throw "Option `${showOption loc'}' has type optionSet but has no option attribute, in ${showFiles opt.declarations}.");
482+ f = tp:
483+ let optionSetIn = type: (tp.name == type) && (tp.functor.wrapped.name == "optionSet");
484+ in
485+ if tp.name == "option set" || tp.name == "submodule" then
486+ throw "The option ${showOption loc} uses submodules without a wrapping type, in ${showFiles opt.declarations}."
487+ else if optionSetIn "attrsOf" then types.attrsOf (types.submodule options)
488+ else if optionSetIn "loaOf" then types.loaOf (types.submodule options)
489+ else if optionSetIn "listOf" then types.listOf (types.submodule options)
490+ else if optionSetIn "nullOr" then types.nullOr (types.submodule options)
491+ else tp;
492+ in
493+ if opt.type.getSubModules or null == null
494+ then opt // { type = f (opt.type or types.unspecified); }
481495 else opt // { type = opt.type.substSubModules opt.options; options = []; };
482496
483497
@@ -596,6 +610,9 @@ rec {
596610
597611 forwards any definitions of boot.copyKernels to
598612 boot.loader.grub.copyKernels while printing a warning.
613+
614+ This also copies over the priority from the aliased option to the
615+ non-aliased option.
599616 */
600617 mkRenamedOptionModule = from: to: doRename {
601618 inherit from to;
@@ -690,16 +707,7 @@ rec {
690707 use = id;
691708 };
692709
693− /* Like ‘mkAliasOptionModule’, but copy over the priority of the option as well. */
694− mkAliasOptionModuleWithPriority = from: to: doRename {
695− inherit from to;
696− visible = true;
697− warn = false;
698− use = id;
699− withPriority = true;
700− };
701−
702− doRename = { from, to, visible, warn, use, withPriority ? false }:
710+ doRename = { from, to, visible, warn, use, withPriority ? true }:
703711 { config, options, ... }:
704712 let
705713 fromOpt = getAttrFromPath from options;
lib/options.nix+3−1
@@ -48,6 +48,8 @@ rec {
4848 visible ? null,
4949 # Whether the option can be set only once
5050 readOnly ? null,
51+ # Deprecated, used by types.optionSet.
52+ options ? null
5153 } @ attrs:
5254 attrs // { _type = "option"; };
5355
@@ -141,7 +143,7 @@ rec {
141143 docOption = rec {
142144 loc = opt.loc;
143145 name = showOption opt.loc;
144− description = opt.description or (throw "Option `${name}' has no description.");
146+ description = opt.description or (lib.warn "Option `${name}' has no description." "This option has no description.");
145147 declarations = filter (x: x != unknownModule) opt.declarations;
146148 internal = opt.internal or false;
147149 visible = opt.visible or true;
lib/systems/default.nix+6−3
@@ -24,6 +24,8 @@ rec {
2424 config = parse.tripleFromSystem final.parsed;
2525 # Just a guess, based on `system`
2626 platform = platforms.selectBySystem final.system;
27+ # Determine whether we are compatible with the provided CPU
28+ isCompatible = platform: parse.isCompatible final.parsed.cpu platform.parsed.cpu;
2729 # Derived meta-data
2830 libc =
2931 /**/ if final.isDarwin then "libSystem"
@@ -98,13 +100,14 @@ rec {
98100 wine = (pkgs.winePackagesFor wine-name).minimal;
99101 in
100102 if final.parsed.kernel.name == pkgs.stdenv.hostPlatform.parsed.kernel.name &&
101− (final.parsed.cpu.name == pkgs.stdenv.hostPlatform.parsed.cpu.name ||
102− (final.isi686 && pkgs.stdenv.hostPlatform.isx86_64))
103− then pkgs.runtimeShell
103+ pkgs.stdenv.hostPlatform.isCompatible final
104+ then "${pkgs.runtimeShell} -c"
104105 else if final.isWindows
105106 then "${wine}/bin/${wine-name}"
106107 else if final.isLinux && pkgs.stdenv.hostPlatform.isLinux
107108 then "${qemu-user}/bin/qemu-${final.qemuArch}"
109+ else if final.isWasm
110+ then "${pkgs.v8}/bin/d8"
108111 else throw "Don't know how to run ${final.config} executables.";
109112
110113 } // mapAttrs (n: v: v final.parsed) inspect.predicates
lib/systems/inspect.nix+1
@@ -21,6 +21,7 @@ rec {
2121 isSparc = { cpu = { family = "sparc"; }; };
2222 isWasm = { cpu = { family = "wasm"; }; };
2323 isAvr = { cpu = { family = "avr"; }; };
24+ isAlpha = { cpu = { family = "alpha"; }; };
2425
2526 is32bit = { cpu = { bits = 32; }; };
2627 is64bit = { cpu = { bits = 64; }; };
lib/systems/parse.nix+60
@@ -112,6 +112,66 @@ rec {
112112 avr = { bits = 8; family = "avr"; };
113113 };
114114
115+ # Determine where two CPUs are compatible with each other. That is,
116+ # can we run code built for system b on system a? For that to
117+ # happen, then the set of all possible possible programs that system
118+ # b accepts must be a subset of the set of all programs that system
119+ # a accepts. This compatibility relation forms a category where each
120+ # CPU is an object and each arrow from a to b represents
121+ # compatibility. CPUs with multiple modes of Endianness are
122+ # isomorphic while all CPUs are endomorphic because any program
123+ # built for a CPU can run on that CPU.
124+ isCompatible = a: b: with cpuTypes; lib.any lib.id [
125+ # x86
126+ (b == i386 && isCompatible a i486)
127+ (b == i486 && isCompatible a i586)
128+ (b == i586 && isCompatible a i686)
129+ # NOTE: Not true in some cases. Like in WSL mode.
130+ (b == i686 && isCompatible a x86_64)
131+
132+ # ARM
133+ (b == arm && isCompatible a armv5tel)
134+ (b == armv5tel && isCompatible a armv6m)
135+ (b == armv6m && isCompatible a armv6l)
136+ (b == armv6l && isCompatible a armv7a)
137+ (b == armv7a && isCompatible a armv7r)
138+ (b == armv7r && isCompatible a armv7m)
139+ (b == armv7m && isCompatible a armv7l)
140+ (b == armv7l && isCompatible a armv8a)
141+ (b == armv8a && isCompatible a armv8r)
142+ (b == armv8r && isCompatible a armv8m)
143+ # NOTE: not always true! Some arm64 cpus don’t support arm32 mode.
144+ (b == armv8m && isCompatible a aarch64)
145+ (b == aarch64 && a == aarch64_be)
146+ (b == aarch64_be && isCompatible a aarch64)
147+
148+ # PowerPC
149+ (b == powerpc && isCompatible a powerpc64)
150+ (b == powerpcle && isCompatible a powerpc)
151+ (b == powerpc && a == powerpcle)
152+ (b == powerpc64le && isCompatible a powerpc64)
153+ (b == powerpc64 && a == powerpc64le)
154+
155+ # MIPS
156+ (b == mips && isCompatible a mips64)
157+ (b == mips && a == mipsel)
158+ (b == mipsel && isCompatible a mips)
159+ (b == mips64 && a == mips64el)
160+ (b == mips64el && isCompatible a mips64)
161+
162+ # RISCV
163+ (b == riscv32 && isCompatible a riscv64)
164+
165+ # SPARC
166+ (b == sparc && isCompatible a sparc64)
167+
168+ # WASM
169+ (b == wasm32 && isCompatible a wasm64)
170+
171+ # identity
172+ (b == a)
173+ ];
174+
115175 ################################################################################
116176
117177 types.openVendor = mkOptionType {
lib/tests/modules.sh+1−1
@@ -149,7 +149,7 @@ checkConfigOutput "1 2 3 4 5 6 7 8 9 10" config.result ./loaOf-with-long-list.ni
149149# Check loaOf with many merges of lists.
150150checkConfigOutput "1 2 3 4 5 6 7 8 9 10" config.result ./loaOf-with-many-list-merges.nix
151151
152−# Check mkAliasOptionModuleWithPriority.
152+# Check mkAliasOptionModule.
153153checkConfigOutput "true" config.enable ./alias-with-priority.nix
154154checkConfigOutput "true" config.enableAlias ./alias-with-priority.nix
155155checkConfigOutput "false" config.enable ./alias-with-priority-can-override.nix
lib/tests/modules/alias-with-priority-can-override.nix+6−3
@@ -1,5 +1,8 @@
11# This is a test to show that mkAliasOptionModule sets the priority correctly
22# for aliased options.
3+#
4+# This test shows that an alias with a high priority is able to override
5+# a non-aliased option.
36
47{ config, lib, ... }:
58
@@ -32,10 +35,10 @@ with lib;
3235
3336 imports = [
3437 # Create an alias for the "enable" option.
35− (mkAliasOptionModuleWithPriority [ "enableAlias" ] [ "enable" ])
38+ (mkAliasOptionModule [ "enableAlias" ] [ "enable" ])
3639
37− # Disable the aliased option, but with a default (low) priority so it
38− # should be able to be overridden by the next import.
40+ # Disable the aliased option with a high priority so it
41+ # should override the next import.
3942 ( { config, lib, ... }:
4043 {
4144 enableAlias = lib.mkForce false;
lib/tests/modules/alias-with-priority.nix+4−1
@@ -1,5 +1,8 @@
11# This is a test to show that mkAliasOptionModule sets the priority correctly
22# for aliased options.
3+#
4+# This test shows that an alias with a low priority is able to be overridden
5+# with a non-aliased option.
36
47{ config, lib, ... }:
58
@@ -32,7 +35,7 @@ with lib;
3235
3336 imports = [
3437 # Create an alias for the "enable" option.
35− (mkAliasOptionModuleWithPriority [ "enableAlias" ] [ "enable" ])
38+ (mkAliasOptionModule [ "enableAlias" ] [ "enable" ])
3639
3740 # Disable the aliased option, but with a default (low) priority so it
3841 # should be able to be overridden by the next import.
lib/trivial.nix+3−2
@@ -134,7 +134,7 @@ rec {
134134 On each release the first letter is bumped and a new animal is chosen
135135 starting with that new letter.
136136 */
137− codeName = "Koi";
137+ codeName = "Loris";
138138
139139 /* Returns the current nixpkgs version suffix as string. */
140140 versionSuffix =
@@ -259,9 +259,10 @@ rec {
259259 # TODO: figure out a clever way to integrate location information from
260260 # something like __unsafeGetAttrPos.
261261
262− warn = msg: builtins.trace "WARNING: ${msg}";
262+ warn = msg: builtins.trace "[1;31mwarning: ${msg}[0m";
263263 info = msg: builtins.trace "INFO: ${msg}";
264264
265+ showWarnings = warnings: res: lib.fold (w: x: warn w x) res warnings;
265266
266267 ## Function annotations
267268
lib/types.nix+4−2
@@ -469,8 +469,10 @@ rec {
469469 # Obsolete alternative to configOf. It takes its option
470470 # declarations from the ‘options’ attribute of containing option
471471 # declaration.
472− optionSet = builtins.throw "types.optionSet is deprecated; use types.submodule instead" "optionSet";
473−
472+ optionSet = mkOptionType {
473+ name = builtins.trace "types.optionSet is deprecated; use types.submodule instead" "optionSet";
474+ description = "option set";
475+ };
474476 # Augment the given type with an additional type check function.
475477 addCheck = elemType: check: elemType // { check = x: elemType.check x && check x; };
476478
maintainers/maintainer-list.nix+73−7
@@ -38,6 +38,15 @@
3838 See `./scripts/check-maintainer-github-handles.sh` for an example on how to work with this data.
3939 */
4040{
41+ "0x4A6F" = {
42+ email = "0x4A6F@shackspace.de";
43+ name = "Joachim Ernst";
44+ github = "0x4A6F";
45+ keys = [{
46+ longkeyid = "rsa8192/0x87027528B006D66D";
47+ fingerprint = "F466 A548 AD3F C1F1 8C88 4576 8702 7528 B006 D66D";
48+ }];
49+ };
4150 "1000101" = {
4251 email = "jan.hrnko@satoshilabs.com";
4352 github = "1000101";
@@ -752,6 +761,11 @@
752761 github = "calbrecht";
753762 name = "Christian Albrecht";
754763 };
764+ callahad = {
765+ email = "dan.callahan@gmail.com";
766+ github = "callahad";
767+ name = "Dan Callahan";
768+ };
755769 calvertvl = {
756770 email = "calvertvl@gmail.com";
757771 github = "calvertvl";
@@ -812,6 +826,11 @@
812826 github = "cdepillabout";
813827 name = "Dennis Gosnell";
814828 };
829+ ceedubs = {
830+ email = "ceedubs@gmail.com";
831+ github = "ceedubs";
832+ name = "Cody Allen";
833+ };
815834 cfouche = {
816835 email = "chaddai.fouche@gmail.com";
817836 github = "Chaddai";
@@ -1618,6 +1637,10 @@
16181637 email = "fpletz@fnordicwalking.de";
16191638 github = "fpletz";
16201639 name = "Franz Pletz";
1640+ keys = [{
1641+ longkeyid = "rsa4096/0x846FDED7792617B4";
1642+ fingerprint = "8A39 615D CE78 AF08 2E23 F303 846F DED7 7926 17B4";
1643+ }];
16211644 };
16221645 fps = {
16231646 email = "mista.tapas@gmx.net";
@@ -2223,10 +2246,6 @@
22232246 github = "jmettes";
22242247 name = "Jonathan Mettes";
22252248 };
2226− Jo = {
2227− email = "0x4A6F@shackspace.de";
2228− name = "Joachim Ernst";
2229− };
22302249 joachifm = {
22312250 email = "joachifm@fastmail.fm";
22322251 github = "joachifm";
@@ -2284,6 +2303,11 @@
22842303 joko = {
22852304 email = "ioannis.koutras@gmail.com";
22862305 github = "jokogr";
2306+ keys = [{
2307+ # compare with https://keybase.io/joko
2308+ longkeyid = "rsa2048/0x85EAE7D9DF56C5CA";
2309+ fingerprint = "B154 A8F9 0610 DB45 0CA8 CF39 85EA E7D9 DF56 C5CA";
2310+ }];
22872311 name = "Ioannis Koutras";
22882312 };
22892313 jonafato = {
@@ -2439,6 +2463,11 @@
24392463 github = "kisonecat";
24402464 name = "Jim Fowler";
24412465 };
2466+ kjuvi = {
2467+ email = "quentin.vaucher@pm.me";
2468+ github = "kjuvi";
2469+ name = "Quentin Vaucher";
2470+ };
24422471 kkallio = {
24432472 email = "tierpluspluslists@gmail.com";
24442473 name = "Karn Kallio";
@@ -2619,6 +2648,11 @@
26192648 github = "lihop";
26202649 name = "Leroy Hopson";
26212650 };
2651+ lilyball = {
2652+ email = "lily@sb.org";
2653+ github = "lilyball";
2654+ name = "Lily Ballard";
2655+ };
26222656 limeytexan = {
26232657 email = "limeytexan@gmail.com";
26242658 github = "limeytexan";
@@ -4303,6 +4337,15 @@
43034337 github = "sleexyz";
43044338 name = "Sean Lee";
43054339 };
4340+ smakarov = {
4341+ email = "setser200018@gmail.com";
4342+ github = "setser";
4343+ name = "Sergey Makarov";
4344+ keys = [{
4345+ longkeyid = "rsa2048/6AA23A1193B7064B";
4346+ fingerprint = "6F8A 18AE 4101 103F 3C54 24B9 6AA2 3A11 93B7 064B";
4347+ }];
4348+ };
43064349 smaret = {
43074350 email = "sebastien.maret@icloud.com";
43084351 github = "smaret";
@@ -4337,6 +4380,15 @@
43374380 github = "solson";
43384381 name = "Scott Olson";
43394382 };
4383+ sondr3 = {
4384+ email = "nilsen.sondre@gmail.com";
4385+ github = "sondr3";
4386+ name = "Sondre Nilsen";
4387+ keys = [{
4388+ longkeyid = "ed25519/0x25676BCBFFAD76B1";
4389+ fingerprint = "0EC3 FA89 EFBA B421 F82E 40B0 2567 6BCB FFAD 76B1";
4390+ }];
4391+ };
43404392 sorki = {
43414393 email = "srk@48.io";
43424394 github = "sorki";
@@ -4876,9 +4928,13 @@
48764928 name = "Vincent Bernardoff";
48774929 };
48784930 vcunat = {
4879− email = "vcunat@gmail.com";
4880− github = "vcunat";
48814931 name = "Vladimír Čunát";
4932+ email = "v@cunat.cz"; # vcunat@gmail.com predominated in commits before 2019/03
4933+ github = "vcunat";
4934+ keys = [{
4935+ longkeyid = "rsa4096/0xE747DF1F9575A3AA";
4936+ fingerprint = "B600 6460 B60A 80E7 8206 2449 E747 DF1F 9575 A3AA";
4937+ }];
48824938 };
48834939 vdemeester = {
48844940 email = "vincent@sbr.pm";
@@ -5001,6 +5057,11 @@
50015057 email = "windenntw@gmail.com";
50025058 name = "Antonio Vargas Gonzalez";
50035059 };
5060+ winpat = {
5061+ email = "patrickwinter@posteo.ch";
5062+ github = "winpat";
5063+ name = "Patrick Winter";
5064+ };
50045065 wizeman = {
50055066 email = "rcorreia@wizy.org";
50065067 github = "wizeman";
@@ -5027,7 +5088,7 @@
50275088 name = "Kranium Gikos Mendoza";
50285089 };
50295090 worldofpeace = {
5030− email = "worldofpeace@users.noreply.github.com";
5091+ email = "worldofpeace@protonmail.ch";
50315092 github = "worldofpeace";
50325093 name = "Worldofpeace";
50335094 };
@@ -5240,4 +5301,9 @@
52405301 github = "shmish111";
52415302 name = "David Smith";
52425303 };
5304+ minijackson = {
5305+ email = "minijackson@riseup.net";
5306+ github = "minijackson";
5307+ name = "Rémi Nicole";
5308+ };
52435309}
maintainers/scripts/luarocks-packages.csv+8−8
@@ -1,7 +1,7 @@
1+# nix name, luarocks name, server, version/additionnal args
12ansicolors,
23argparse,
34basexx,
4−cqueues
55dkjson
66fifo
77inspect
@@ -18,15 +18,15 @@ lua-term,
1818luabitop,
1919luaevent,
2020luacheck
21−luaffi,http://luarocks.org/dev,
21+luaffi,,http://luarocks.org/dev,
2222luuid,
2323penlight,
2424say,
2525luv,
2626luasystem,
27−mediator_lua,http://luarocks.org/manifests/teto
28−mpack,http://luarocks.org/manifests/teto
29−nvim-client,http://luarocks.org/manifests/teto
30−busted,http://luarocks.org/manifests/teto
31−luassert,http://luarocks.org/manifests/teto
32−coxpcall,https://luarocks.org/manifests/hisham,1.17.0-1
27+mediator_lua,,http://luarocks.org/manifests/teto
28+mpack,,http://luarocks.org/manifests/teto
29+nvim-client,,http://luarocks.org/manifests/teto
30+busted,,http://luarocks.org/manifests/teto
31+luassert,,http://luarocks.org/manifests/teto
32+coxpcall,,https://luarocks.org/manifests/hisham,1.17.0-1
maintainers/scripts/update-luarocks-packages+17−11
@@ -61,7 +61,7 @@ nixpkgs$ ${0} ${GENERATED_NIXFILE}
6161
6262These packages are manually refined in lua-overrides.nix
6363*/
64−{ self, lua, stdenv, fetchurl, fetchgit, pkgs, ... } @ args:
64+{ self, stdenv, fetchurl, fetchgit, pkgs, ... } @ args:
6565self: super:
6666with self;
6767{
@@ -74,17 +74,18 @@ FOOTER="
7474
7575
7676function convert_pkg () {
77− pkg="$1"
77+ nix_pkg_name="$1"
78+ lua_pkg_name="$2"
7879 server=""
79− if [ ! -z "$2" ]; then
80− server=" --server=$2"
80+ if [ ! -z "$3" ]; then
81+ server=" --server=$3"
8182 fi
8283
8384 version="${3:-}"
8485
85− echo "looking at $pkg (version $version) from server [$server]" >&2
86− cmd="luarocks nix $server $pkg $version"
87− drv="$($cmd)"
86+ echo "looking at $lua_pkg_name (version $version) from server [$server]" >&2
87+ cmd="luarocks nix $server $lua_pkg_name $version"
88+ drv="$nix_pkg_name = $($cmd)"
8889 if [ $? -ne 0 ]; then
8990 echo "Failed to convert $pkg" >&2
9091 echo "$drv" >&2
@@ -98,12 +99,17 @@ echo "$HEADER" | tee "$TMP_FILE"
9899
99100# list of packages with format
100101# name,server,version
101−while IFS=, read -r pkg_name server version
102+while IFS=, read -r nix_pkg_name lua_pkg_name server version
102103do
103− if [ -z "$pkg_name" ]; then
104− echo "Skipping empty package name" >&2
104+ if [ "${nix_pkg_name:0:1}" == "#" ]; then
105+ echo "Skipping comment ${nix_pkg_name}" >&2
106+ continue
105107 fi
106− convert_pkg "$pkg_name" "$server" "$version"
108+ if [ -z "$lua_pkg_name" ]; then
109+ echo "Using nix_name as lua_pkg_name" >&2
110+ lua_pkg_name="$nix_pkg_name"
111+ fi
112+ convert_pkg "$nix_pkg_name" "$lua_pkg_name" "$server" "$version"
107113done < "$CSV_FILE"
108114
109115# close the set
nixos/doc/manual/administration/running.xml+1−1
@@ -4,7 +4,7 @@
44 version="5.0"
55 xml:id="ch-running">
66 <title>Administration</title>
7− <partintro>
7+ <partintro xml:id="ch-running-intro">
88 <para>
99 This chapter describes various aspects of managing a running NixOS system,
1010 such as how to use the <command>systemd</command> service manager.
nixos/doc/manual/configuration/configuration.xml+2−1
@@ -4,7 +4,7 @@
44 version="5.0"
55 xml:id="ch-configuration">
66 <title>Configuration</title>
7− <partintro>
7+ <partintro xml:id="ch-configuration-intro">
88 <para>
99 This chapter describes how to configure various aspects of a NixOS machine
1010 through the configuration file
@@ -23,5 +23,6 @@
2323 <xi:include href="linux-kernel.xml" />
2424 <xi:include href="../generated/modules.xml" xpointer="xpointer(//section[@id='modules']/*)" />
2525 <xi:include href="profiles.xml" />
26+ <xi:include href="kubernetes.xml" />
2627<!-- Apache; libvirtd virtualisation -->
2728</part>
nixos/doc/manual/configuration/kubernetes.xmlnew file+127
@@ -0,0 +1,127 @@
1+<chapter xmlns="http://docbook.org/ns/docbook"
2+ xmlns:xlink="http://www.w3.org/1999/xlink"
3+ xmlns:xi="http://www.w3.org/2001/XInclude"
4+ version="5.0"
5+ xml:id="sec-kubernetes">
6+ <title>Kubernetes</title>
7+
8+ <para>
9+ The NixOS Kubernetes module is a collective term for a handful of
10+ individual submodules implementing the Kubernetes cluster components.
11+ </para>
12+
13+ <para>
14+ There are generally two ways of enabling Kubernetes on NixOS.
15+ One way is to enable and configure cluster components appropriately by hand:
16+<programlisting>
17+services.kubernetes = {
18+ apiserver.enable = true;
19+ controllerManager.enable = true;
20+ scheduler.enable = true;
21+ addonManager.enable = true;
22+ proxy.enable = true;
23+ flannel.enable = true;
24+};
25+</programlisting>
26+ Another way is to assign cluster roles ("master" and/or "node") to the host.
27+ This enables apiserver, controllerManager, scheduler, addonManager,
28+ kube-proxy and etcd:
29+<programlisting>
30+<xref linkend="opt-services.kubernetes.roles"/> = [ "master" ];
31+</programlisting>
32+ While this will enable the kubelet and kube-proxy only:
33+<programlisting>
34+<xref linkend="opt-services.kubernetes.roles"/> = [ "node" ];
35+</programlisting>
36+ Assigning both the master and node roles is usable if you want a single
37+ node Kubernetes cluster for dev or testing purposes:
38+<programlisting>
39+<xref linkend="opt-services.kubernetes.roles"/> = [ "master" "node" ];
40+</programlisting>
41+ Note: Assigning either role will also default both
42+ <xref linkend="opt-services.kubernetes.flannel.enable"/> and
43+ <xref linkend="opt-services.kubernetes.easyCerts"/> to true.
44+ This sets up flannel as CNI and activates automatic PKI bootstrapping.
45+ </para>
46+
47+ <para>
48+ As of kubernetes 1.10.X it has been deprecated to open
49+ non-tls-enabled ports on kubernetes components. Thus, from NixOS 19.03 all
50+ plain HTTP ports have been disabled by default.
51+ While opening insecure ports is still possible, it is recommended not to
52+ bind these to other interfaces than loopback.
53+
54+ To re-enable the insecure port on the apiserver, see options:
55+ <xref linkend="opt-services.kubernetes.apiserver.insecurePort"/>
56+ and
57+ <xref linkend="opt-services.kubernetes.apiserver.insecureBindAddress"/>
58+ </para>
59+
60+ <note>
61+ <para>
62+ As of NixOS 19.03, it is mandatory to configure:
63+ <xref linkend="opt-services.kubernetes.masterAddress"/>.
64+ The masterAddress must be resolveable and routeable by all cluster nodes.
65+ In single node clusters, this can be set to <literal>localhost</literal>.
66+ </para>
67+ </note>
68+
69+ <para>
70+ Role-based access control (RBAC) authorization mode is enabled by default.
71+ This means that anonymous requests to the apiserver secure port will
72+ expectedly cause a permission denied error. All cluster components must
73+ therefore be configured with x509 certificates for two-way tls communication.
74+ The x509 certificate subject section determines the roles and permissions
75+ granted by the apiserver to perform clusterwide or namespaced operations.
76+ See also:
77+ <link
78+ xlink:href="https://kubernetes.io/docs/reference/access-authn-authz/rbac/">
79+ Using RBAC Authorization</link>.
80+ </para>
81+
82+ <para>
83+ The NixOS kubernetes module provides an option for automatic certificate
84+ bootstrapping and configuration,
85+ <xref linkend="opt-services.kubernetes.easyCerts"/>.
86+ The PKI bootstrapping process involves setting up a certificate authority
87+ (CA) daemon (cfssl) on the kubernetes master node. cfssl generates a CA-cert
88+ for the cluster, and uses the CA-cert for signing subordinate certs issued to
89+ each of the cluster components. Subsequently, the certmgr daemon monitors
90+ active certificates and renews them when needed. For single node Kubernetes
91+ clusters, setting <xref linkend="opt-services.kubernetes.easyCerts"/> = true
92+ is sufficient and no further action is required. For joining extra node
93+ machines to an existing cluster on the other hand, establishing initial trust
94+ is mandatory.
95+ </para>
96+
97+ <para>
98+ To add new nodes to the cluster:
99+ On any (non-master) cluster node where
100+ <xref linkend="opt-services.kubernetes.easyCerts"/> is enabled, the helper
101+ script <literal>nixos-kubernetes-node-join</literal> is available on PATH.
102+ Given a token on stdin, it will copy the token to the kubernetes
103+ secrets directory and restart the certmgr service. As requested
104+ certificates are issued, the script will restart kubernetes cluster
105+ components as needed for them to pick up new keypairs.
106+ </para>
107+
108+ <note>
109+ <para>
110+ Multi-master (HA) clusters are not supported by the easyCerts module.
111+ </para>
112+ </note>
113+
114+ <para>
115+ In order to interact with an RBAC-enabled cluster as an administrator, one
116+ needs to have cluster-admin privileges. By default, when easyCerts is
117+ enabled, a cluster-admin kubeconfig file is generated and linked into
118+ <literal>/etc/kubernetes/cluster-admin.kubeconfig</literal> as determined by
119+ <xref linkend="opt-services.kubernetes.pki.etcClusterAdminKubeconfig"/>.
120+ <literal>export KUBECONFIG=/etc/kubernetes/cluster-admin.kubeconfig</literal>
121+ will make kubectl use this kubeconfig to access and authenticate the cluster.
122+ The cluster-admin kubeconfig references an auto-generated keypair owned by
123+ root. Thus, only root on the kubernetes master may obtain cluster-admin
124+ rights by means of this file.
125+ </para>
126+
127+</chapter>
nixos/doc/manual/configuration/wireless.xml+19−2
@@ -36,8 +36,25 @@
3636 </para>
3737
3838 <para>
39− If you are using WPA2 the <command>wpa_passphrase</command> tool might be
40− useful to generate the <literal>wpa_supplicant.conf</literal>.
39+ If you are using WPA2 you can generate pskRaw key using
40+ <command>wpa_passphrase</command>:
41+<screen>
42+$ wpa_passphrase ESSID PSK
43+network={
44+ ssid="echelon"
45+ #psk="abcdefgh"
46+ psk=dca6d6ed41f4ab5a984c9f55f6f66d4efdc720ebf66959810f4329bb391c5435
47+}
48+</screen>
49+<programlisting>
50+<xref linkend="opt-networking.wireless.networks"/> = {
51+ echelon = {
52+ pskRaw = "dca6d6ed41f4ab5a984c9f55f6f66d4efdc720ebf66959810f4329bb391c5435";
53+ };
54+}
55+</programlisting>
56+ or you can use it to directly generate the
57+ <literal>wpa_supplicant.conf</literal>:
4158<screen>
4259# wpa_passphrase ESSID PSK > /etc/wpa_supplicant.conf</screen>
4360 After you have edited the <literal>wpa_supplicant.conf</literal>, you need to
nixos/doc/manual/default.nix+5−1
@@ -268,7 +268,10 @@ in rec {
268268 --stringparam id.warnings "1" \
269269 --nonet --output $dst/ \
270270 ${docbook_xsl_ns}/xml/xsl/docbook/xhtml/chunktoc.xsl \
271− ${manual-combined}/manual-combined.xml
271+ ${manual-combined}/manual-combined.xml \
272+ |& tee xsltproc.out
273+ grep "^ID recommended on" xsltproc.out &>/dev/null && echo "error: some IDs are missing" && false
274+ rm xsltproc.out
272275
273276 mkdir -p $dst/images/callouts
274277 cp ${docbook_xsl_ns}/xml/xsl/docbook/images/callouts/*.svg $dst/images/callouts/
@@ -327,6 +330,7 @@ in rec {
327330 # Generate manpages.
328331 mkdir -p $out/share/man
329332 xsltproc --nonet \
333+ --maxdepth 6000 \
330334 --param man.output.in.separate.dir 1 \
331335 --param man.output.base.dir "'$out/share/man/'" \
332336 --param man.endnotes.are.numbered 0 \
nixos/doc/manual/development/development.xml+1−1
@@ -4,7 +4,7 @@
44 version="5.0"
55 xml:id="ch-development">
66 <title>Development</title>
7− <partintro>
7+ <partintro xml:id="ch-development-intro">
88 <para>
99 This chapter describes how you can modify and extend NixOS.
1010 </para>
nixos/doc/manual/development/releases.xml−7
@@ -60,13 +60,6 @@
6060 Make sure a channel is created at http://nixos.org/channels/. </link>
6161 </para>
6262 </listitem>
63− <listitem>
64− <para>
65− <link xlink:href="https://github.com/NixOS/nixpkgs/settings/branches">
66− Let a GitHub nixpkgs admin lock the branch on github for you. (so
67− developers can’t force push) </link>
68− </para>
69− </listitem>
7063 <listitem>
7164 <para>
7265 <link xlink:href="https://github.com/NixOS/nixpkgs/compare/bdf161ed8d21...6b63c4616790">
nixos/doc/manual/installation/installation.xml+1−1
@@ -4,7 +4,7 @@
44 version="5.0"
55 xml:id="ch-installation">
66 <title>Installation</title>
7− <partintro>
7+ <partintro xml:id="ch-installation-intro">
88 <para>
99 This section describes how to obtain, install, and configure NixOS for
1010 first-time use.
nixos/doc/manual/installation/installing.xml+4
@@ -377,6 +377,10 @@
377377 option can be set to <literal>true</literal> to automatically add them to
378378 the grub menu.
379379 </para>
380+ <para>
381+ If you need to configure networking for your machine the configuration
382+ options are described in <xref linkend="sec-networking"/>.
383+ </para>
380384 <para>
381385 Another critical option is <option>fileSystems</option>, specifying the
382386 file systems that need to be mounted by NixOS. However, you typically
nixos/doc/manual/man-nixos-rebuild.xml+14
@@ -38,6 +38,10 @@
3838 <option>dry-activate</option>
3939 </arg>
4040
41+ <arg choice='plain'>
42+ <option>edit</option>
43+ </arg>
44+
4145 <arg choice='plain'>
4246 <option>build-vm</option>
4347 </arg>
@@ -188,6 +192,16 @@ $ nix-build /path/to/nixpkgs/nixos -A system
188192 </para>
189193 </listitem>
190194 </varlistentry>
195+ <varlistentry>
196+ <term>
197+ <option>edit</option>
198+ </term>
199+ <listitem>
200+ <para>
201+ Opens <filename>configuration.nix</filename> in the default editor.
202+ </para>
203+ </listitem>
204+ </varlistentry>
191205 <varlistentry>
192206 <term>
193207 <option>build-vm</option>
nixos/doc/manual/release-notes/release-notes.xml+1
@@ -8,6 +8,7 @@
88 This section lists the release notes for each stable version of NixOS and
99 current unstable revision.
1010 </para>
11+ <xi:include href="rl-1909.xml" />
1112 <xi:include href="rl-1903.xml" />
1213 <xi:include href="rl-1809.xml" />
1314 <xi:include href="rl-1803.xml" />
nixos/doc/manual/release-notes/rl-1903.xml+129−3
@@ -55,6 +55,15 @@
5555 <para>to <literal>false</literal> and enable your preferred display manager.</para>
5656 </note>
5757 </listitem>
58+ <listitem>
59+ <para>
60+ A major refactoring of the Kubernetes module has been completed.
61+ Refactorings primarily focus on decoupling components and enhancing
62+ security. Two-way TLS and RBAC has been enabled by default for all
63+ components, which slightly changes the way the module is configured.
64+ See: <xref linkend="sec-kubernetes"/> for details.
65+ </para>
66+ </listitem>
5867 </itemizedlist>
5968 </section>
6069
@@ -84,6 +93,35 @@
8493 in <literal>nixos/modules/virtualisation/google-compute-config.nix</literal>.
8594 </para>
8695 </listitem>
96+ <listitem>
97+ <para>
98+ <literal>./services/misc/beanstalkd.nix</literal>
99+ </para>
100+ </listitem>
101+ <listitem>
102+ <para>
103+ There is a new <varname>services.cockroachdb</varname> module for running
104+ CockroachDB databases. NixOS now ships with CockroachDB 2.1.x as well, available
105+ on <literal>x86_64-linux</literal> and <literal>aarch64-linux</literal>.
106+ </para>
107+ </listitem>
108+ </itemizedlist>
109+
110+ <itemizedlist>
111+ <listitem>
112+ <para>
113+ <literal>./security/duosec.nix</literal>
114+ </para>
115+ </listitem>
116+ <listitem>
117+ <para>
118+ The <link xlink:href="https://duo.com/docs/duounix">PAM module for Duo
119+ Security</link> has been enabled for use. One can configure it using
120+ the <option>security.duosec</option> options along with the
121+ corresponding PAM option in
122+ <option>security.pam.services.<name?>.duoSecurity.enable</option>.
123+ </para>
124+ </listitem>
87125 </itemizedlist>
88126 </section>
89127
@@ -144,6 +182,20 @@
144182 </listitem>
145183 </itemizedlist>
146184 </listitem>
185+ <listitem>
186+ <para>
187+ The <varname>buildPythonPackage</varname> function now sets <varname>strictDeps = true</varname>
188+ to help distinguish between native and non-native dependencies in order to
189+ improve cross-compilation compatibility. Note however that this may break
190+ user expressions.
191+ </para>
192+ </listitem>
193+ <listitem>
194+ <para>
195+ The <varname>buildPythonPackage</varname> function now sets <varname>LANG = C.UTF-8</varname>
196+ to enable Unicode support. The <varname>glibcLocales</varname> package is no longer needed as a build input.
197+ </para>
198+ </listitem>
147199 <listitem>
148200 <para>
149201 The Syncthing state and configuration data has been moved from
@@ -404,8 +456,8 @@
404456 </listitem>
405457 <listitem>
406458 <para>
407− Support for NixOS module system type <literal>types.optionSet</literal> and
408− <literal>lib.mkOption</literal> argument <literal>options</literal> is removed.
459+ NixOS module system type <literal>types.optionSet</literal> and
460+ <literal>lib.mkOption</literal> argument <literal>options</literal> are deprecated.
409461 Use <literal>types.submodule</literal> instead.
410462 (<link xlink:href="https://github.com/NixOS/nixpkgs/pull/54637">#54637</link>)
411463 </para>
@@ -427,6 +479,11 @@
427479 been removed.
428480 </para>
429481 </listitem>
482+ <listitem>
483+ <para>
484+ <literal>graylog</literal> has been upgraded from version 2.* to 3.*. Some setups making use of extraConfig (especially those exposing Graylog via reverse proxies) need to be updated as upstream removed/replaced some settings. See <link xlink:href="http://docs.graylog.org/en/3.0/pages/upgrade/graylog-3.0.html#simplified-http-interface-configuration">Upgrading Graylog</link> for details.
485+ </para>
486+ </listitem>
430487 </itemizedlist>
431488 </section>
432489
@@ -520,7 +577,7 @@
520577 but is still possible by setting <literal>zramSwap.swapDevices</literal> explicitly.
521578 </para>
522579 <para>
523− Default algorithm for ZRAM swap was changed to <literal>zstd</literal>.
580+ ZRAM algorithm can be changed now.
524581 </para>
525582 <para>
526583 Changes to ZRAM algorithm are applied during <literal>nixos-rebuild switch</literal>,
@@ -564,6 +621,75 @@
564621 provisioning.
565622 </para>
566623 </listitem>
624+ <listitem>
625+ <para>
626+ The use of insecure ports on kubernetes has been deprecated.
627+ Thus options:
628+ <varname>services.kubernetes.apiserver.port</varname> and
629+ <varname>services.kubernetes.controllerManager.port</varname>
630+ has been renamed to <varname>.insecurePort</varname>,
631+ and default of both options has changed to 0 (disabled).
632+ </para>
633+ </listitem>
634+ <listitem>
635+ <para>
636+ Note that the default value of
637+ <varname>services.kubernetes.apiserver.bindAddress</varname>
638+ has changed from 127.0.0.1 to 0.0.0.0, allowing the apiserver to be
639+ accessible from outside the master node itself.
640+ If the apiserver insecurePort is enabled,
641+ it is strongly recommended to only bind on the loopback interface. See:
642+ <varname>services.kubernetes.apiserver.insecurebindAddress</varname>.
643+ </para>
644+ </listitem>
645+ <listitem>
646+ <para>
647+ The option <varname>services.kubernetes.apiserver.allowPrivileged</varname>
648+ and <varname>services.kubernetes.kubelet.allowPrivileged</varname> now
649+ defaults to false. Disallowing privileged containers on the cluster.
650+ </para>
651+ </listitem>
652+ <listitem>
653+ <para>
654+ The kubernetes module does no longer add the kubernetes package to
655+ <varname>environment.systemPackages</varname> implicitly.
656+ </para>
657+ </listitem>
658+ <listitem>
659+ <para>
660+ The <literal>intel</literal> driver has been removed from the default list of
661+ <link linkend="opt-services.xserver.videoDrivers">X.org video drivers</link>.
662+ The <literal>modesetting</literal> driver should take over automatically,
663+ it is better maintained upstream and has less problems with advanced X11 features.
664+ This can lead to a change in the output names used by <literal>xrandr</literal>.
665+ Some performance regressions on some GPU models might happen.
666+ Some OpenCL and VA-API applications might also break
667+ (Beignet seems to provide OpenCL support with
668+ <literal>modesetting</literal> driver, too).
669+ Kernel mode setting API does not support backlight control,
670+ so <literal>xbacklight</literal> tool will not work;
671+ backlight level can be controlled directly via <literal>/sys/</literal>
672+ or with <literal>brightnessctl</literal>.
673+ Users who need this functionality more than multi-output XRandR are advised
674+ to add `intel` to `videoDrivers` and report an issue (or provide additional
675+ details in an existing one)
676+ </para>
677+ </listitem>
678+ <listitem>
679+ <para>
680+ Openmpi has been updated to version 4.0.0, which removes some deprecated MPI-1 symbols.
681+ This may break some older applications that still rely on those symbols.
682+ An upgrade guide can be found <link xlink:href="https://www.open-mpi.org/faq/?category=mpi-removed">here</link>.
683+ </para>
684+ <para>
685+ The nginx package now relies on OpenSSL 1.1 and supports TLS 1.3 by default. You can set the protocols used by the nginx service using <xref linkend="opt-services.nginx.sslProtocols"/>.
686+ </para>
687+ </listitem>
688+ <listitem>
689+ <para>
690+ A new subcommand <command>nixos-rebuild edit</command> was added.
691+ </para>
692+ </listitem>
567693 </itemizedlist>
568694 </section>
569695</section>
nixos/doc/manual/release-notes/rl-1909.xmlnew file+68
@@ -0,0 +1,68 @@
1+<section xmlns="http://docbook.org/ns/docbook"
2+ xmlns:xlink="http://www.w3.org/1999/xlink"
3+ xmlns:xi="http://www.w3.org/2001/XInclude"
4+ version="5.0"
5+ xml:id="sec-release-19.09">
6+ <title>Release 19.09 (“Loris”, 2019/09/??)</title>
7+
8+ <section xmlns="http://docbook.org/ns/docbook"
9+ xmlns:xlink="http://www.w3.org/1999/xlink"
10+ xmlns:xi="http://www.w3.org/2001/XInclude"
11+ version="5.0"
12+ xml:id="sec-release-19.09-highlights">
13+ <title>Highlights</title>
14+
15+ <para>
16+ In addition to numerous new and upgraded packages, this release has the
17+ following highlights:
18+ </para>
19+
20+ <itemizedlist>
21+ <listitem>
22+ <para />
23+ </listitem>
24+ </itemizedlist>
25+ </section>
26+
27+ <section xmlns="http://docbook.org/ns/docbook"
28+ xmlns:xlink="http://www.w3.org/1999/xlink"
29+ xmlns:xi="http://www.w3.org/2001/XInclude"
30+ version="5.0"
31+ xml:id="sec-release-19.09-new-services">
32+ <title>New Services</title>
33+
34+ <para>
35+ The following new services were added since the last release:
36+ </para>
37+
38+ <itemizedlist>
39+ <listitem>
40+ <para />
41+ </listitem>
42+ </itemizedlist>
43+ </section>
44+
45+ <section xmlns="http://docbook.org/ns/docbook"
46+ xmlns:xlink="http://www.w3.org/1999/xlink"
47+ xmlns:xi="http://www.w3.org/2001/XInclude"
48+ version="5.0"
49+ xml:id="sec-release-19.09-notable-changes">
50+ <title>Other Notable Changes</title>
51+
52+ <itemizedlist>
53+ <listitem>
54+ <para>
55+ The <option>documentation</option> module gained an option named
56+ <option>documentation.nixos.includeAllModules</option> which makes the generated
57+ <citerefentry><refentrytitle>configuration.nix</refentrytitle>
58+ <manvolnum>5</manvolnum></citerefentry> manual page include all options from all NixOS modules
59+ included in a given <literal>configuration.nix</literal> configuration file. Currently, it is
60+ set to <literal>false</literal> by default as enabling it frequently prevents evaluation. But
61+ the plan is to eventually have it set to <literal>true</literal> by default. Please set it to
62+ <literal>true</literal> now in your <literal>configuration.nix</literal> and fix all the bugs
63+ it uncovers.
64+ </para>
65+ </listitem>
66+ </itemizedlist>
67+ </section>
68+</section>
nixos/lib/eval-config.nix+2−2
@@ -51,7 +51,7 @@ in rec {
5151 # system configuration.
5252 inherit (lib.evalModules {
5353 inherit prefix check;
54− modules = modules ++ extraModules ++ baseModules ++ [ pkgsModule ];
54+ modules = baseModules ++ extraModules ++ [ pkgsModule ] ++ modules;
5555 args = extraArgs;
5656 specialArgs =
5757 { modulesPath = builtins.toString ../modules; } // specialArgs;
@@ -60,7 +60,7 @@ in rec {
6060 # These are the extra arguments passed to every module. In
6161 # particular, Nixpkgs is passed through the "pkgs" argument.
6262 extraArgs = extraArgs_ // {
63− inherit modules baseModules;
63+ inherit baseModules extraModules modules;
6464 };
6565
6666 inherit (config._module.args) pkgs;
nixos/maintainers/scripts/cloudstack/cloudstack-image.nixnew file+23
@@ -0,0 +1,23 @@
1+# nix-build '<nixpkgs/nixos>' -A config.system.build.cloudstackImage --arg configuration "{ imports = [ ./nixos/maintainers/scripts/cloudstack/cloudstack-image.nix ]; }"
2+
3+{ config, lib, pkgs, ... }:
4+
5+with lib;
6+
7+{
8+ imports =
9+ [ ../../../modules/virtualisation/cloudstack-config.nix ];
10+
11+ system.build.cloudstackImage = import ../../../lib/make-disk-image.nix {
12+ inherit lib config pkgs;
13+ diskSize = 8192;
14+ format = "qcow2";
15+ configFile = pkgs.writeText "configuration.nix"
16+ ''
17+ {
18+ imports = [ <nixpkgs/nixos/modules/virtualisation/cloudstack-config.nix> ];
19+ }
20+ '';
21+ };
22+
23+}
nixos/modules/config/fonts/fontconfig-penultimate.nix+3−1
@@ -55,7 +55,9 @@ let
5555 localConf = pkgs.writeText "fc-local.conf" cfg.localConf;
5656
5757 # The configuration to be included in /etc/font/
58− penultimateConf = pkgs.runCommand "font-penultimate-conf" {} ''
58+ penultimateConf = pkgs.runCommand "font-penultimate-conf" {
59+ preferLocalBuild = true;
60+ } ''
5961 support_folder=$out/etc/fonts/conf.d
6062 latest_folder=$out/etc/fonts/${latestVersion}/conf.d
6163
nixos/modules/config/fonts/fontconfig-ultimate.nix+1−1
@@ -7,7 +7,7 @@ let cfg = config.fonts.fontconfig.ultimate;
77 latestVersion = pkgs.fontconfig.configVersion;
88
99 # The configuration to be included in /etc/font/
10− confPkg = pkgs.runCommand "font-ultimate-conf" {} ''
10+ confPkg = pkgs.runCommand "font-ultimate-conf" { preferLocalBuild = true; } ''
1111 support_folder=$out/etc/fonts/conf.d
1212 latest_folder=$out/etc/fonts/${latestVersion}/conf.d
1313
nixos/modules/config/fonts/fontconfig.nix+1−1
@@ -190,7 +190,7 @@ let cfg = config.fonts.fontconfig;
190190 '';
191191
192192 # fontconfig configuration package
193− confPkg = pkgs.runCommand "fontconfig-conf" {} ''
193+ confPkg = pkgs.runCommand "fontconfig-conf" { preferLocalBuild = true; } ''
194194 support_folder=$out/etc/fonts
195195 latest_folder=$out/etc/fonts/${latestVersion}
196196
nixos/modules/config/fonts/fontdir.nix+1−1
@@ -4,7 +4,7 @@ with lib;
44
55let
66
7− x11Fonts = pkgs.runCommand "X11-fonts" { } ''
7+ x11Fonts = pkgs.runCommand "X11-fonts" { preferLocalBuild = true; } ''
88 mkdir -p "$out/share/X11-fonts"
99 find ${toString config.fonts.fonts} \
1010 \( -name fonts.dir -o -name '*.ttf' -o -name '*.otf' \) \
nixos/modules/config/no-x-libs.nix+1−1
@@ -34,7 +34,7 @@ with lib;
3434 networkmanager-openvpn = super.networkmanager-openvpn.override { withGnome = false; };
3535 networkmanager-vpnc = super.networkmanager-vpnc.override { withGnome = false; };
3636 networkmanager-iodine = super.networkmanager-iodine.override { withGnome = false; };
37− pinentry = super.pinentry_ncurses;
37+ pinentry = super.pinentry.override { gtk2 = null; qt = null; };
3838 gobject-introspection = super.gobject-introspection.override { x11Support = false; };
3939 }));
4040 };
nixos/modules/config/nsswitch.nix+12−1
@@ -61,6 +61,15 @@ in {
6161 };
6262 };
6363
64+ system.nssHosts = mkOption {
65+ type = types.listOf types.str;
66+ default = [];
67+ example = [ "mdns" ];
68+ description = ''
69+ List of host entries to configure in <filename>/etc/nsswitch.conf</filename>.
70+ '';
71+ };
72+
6473 };
6574
6675 config = {
@@ -85,7 +94,7 @@ in {
8594 group: ${concatStringsSep " " passwdArray}
8695 shadow: ${concatStringsSep " " shadowArray}
8796
88− hosts: ${concatStringsSep " " hostArray}
97+ hosts: ${concatStringsSep " " config.system.nssHosts}
8998 networks: files
9099
91100 ethers: files
@@ -94,6 +103,8 @@ in {
94103 rpc: files
95104 '';
96105
106+ system.nssHosts = hostArray;
107+
97108 # Systemd provides nss-myhostname to ensure that our hostname
98109 # always resolves to a valid IP address. It returns all locally
99110 # configured IP addresses, or ::1 and 127.0.0.2 as
nixos/modules/config/zram.nix+3−3
@@ -91,13 +91,13 @@ in
9191 };
9292
9393 algorithm = mkOption {
94− default = "zstd";
95− example = "lzo";
94+ default = "lzo";
95+ example = "lz4";
9696 type = with types; either (enum [ "lzo" "lz4" "zstd" ]) str;
9797 description = ''
9898 Compression algorithm. <literal>lzo</literal> has good compression,
9999 but is slow. <literal>lz4</literal> has bad compression, but is fast.
100− <literal>zstd</literal> is both good compression and fast.
100+ <literal>zstd</literal> is both good compression and fast, but requires newer kernel.
101101 You can check what other algorithms are supported by your zram device with
102102 <programlisting>cat /sys/class/block/zram*/comp_algorithm</programlisting>
103103 '';
nixos/modules/hardware/acpilight.nixnew file+24
@@ -0,0 +1,24 @@
1+{ config, lib, pkgs, ... }:
2+
3+with lib;
4+let
5+ cfg = config.hardware.acpilight;
6+in
7+{
8+ options = {
9+ hardware.acpilight = {
10+ enable = mkOption {
11+ default = false;
12+ type = types.bool;
13+ description = ''
14+ Enable acpilight.
15+ This will allow brightness control via xbacklight from users in the video group
16+ '';
17+ };
18+ };
19+ };
20+
21+ config = mkIf cfg.enable {
22+ services.udev.packages = with pkgs; [ acpilight ];
23+ };
24+}
nixos/modules/hardware/ledger.nixnew file+14
@@ -0,0 +1,14 @@
1+{ config, lib, pkgs, ... }:
2+
3+with lib;
4+
5+let
6+ cfg = config.hardware.ledger;
7+
8+in {
9+ options.hardware.ledger.enable = mkEnableOption "udev rules for Ledger devices";
10+
11+ config = mkIf cfg.enable {
12+ services.udev.packages = [ pkgs.ledger-udev-rules ];
13+ };
14+}
nixos/modules/hardware/video/nvidia.nix+5
@@ -172,6 +172,11 @@ in
172172 environment.systemPackages = [ nvidia_x11.bin nvidia_x11.settings ]
173173 ++ lib.filter (p: p != null) [ nvidia_x11.persistenced ];
174174
175+ systemd.tmpfiles.rules = optional config.virtualisation.docker.enableNvidia
176+ "L+ /run/nvidia-docker/bin - - - - ${nvidia_x11.bin}/origBin"
177+ ++ optional (nvidia_x11.persistenced != null && config.virtualisation.docker.enableNvidia)
178+ "L+ /run/nvidia-docker/extras/bin/nvidia-persistenced - - - - ${nvidia_x11.persistenced}/origBin/nvidia-persistenced";
179+
175180 boot.extraModulePackages = [ nvidia_x11.bin ];
176181
177182 # nvidia-uvm is required by CUDA applications.
nixos/modules/hardware/video/uvcvideo/uvcdynctrl-udev-rules.nix+1
@@ -29,6 +29,7 @@ runCommand "uvcdynctrl-udev-rules-${version}"
2929 ];
3030 dontPatchELF = true;
3131 dontStrip = true;
32+ preferLocalBuild = true;
3233}
3334''
3435 mkdir -p "$out/lib/udev"
nixos/modules/installer/cd-dvd/channel.nix+1−1
@@ -13,7 +13,7 @@ let
1313 # user, as expected by nixos-rebuild/nixos-install. FIXME: merge
1414 # with make-channel.nix.
1515 channelSources = pkgs.runCommand "nixos-${config.system.nixos.version}"
16− { }
16+ { preferLocalBuild = true; }
1717 ''
1818 mkdir -p $out
1919 cp -prd ${nixpkgs.outPath} $out/nixos
nixos/modules/installer/cd-dvd/installation-cd-graphical-base.nix+4
@@ -31,6 +31,10 @@ with lib;
3131 # there is no power management backend such as upower).
3232 powerManagement.enable = true;
3333
34+ # Enable sound in graphical iso's.
35+ hardware.pulseaudio.enable = true;
36+ hardware.pulseaudio.systemWide = true; # Needed since we run plasma as root.
37+
3438 environment.systemPackages = [
3539 # Include gparted for partitioning disks.
3640 pkgs.gparted
nixos/modules/installer/tools/nixos-install.sh+12−1
@@ -138,7 +138,18 @@ fi
138138# Ask the user to set a root password, but only if the passwd command
139139# exists (i.e. when mutable user accounts are enabled).
140140if [[ -z $noRootPasswd ]] && [ -t 0 ]; then
141− nixos-enter --root "$mountPoint" -c '[[ -e /nix/var/nix/profiles/system/sw/bin/passwd ]] && echo "setting root password..." && /nix/var/nix/profiles/system/sw/bin/passwd'
141+ if nixos-enter --root "$mountPoint" -c 'test -e /nix/var/nix/profiles/system/sw/bin/passwd'; then
142+ set +e
143+ nixos-enter --root "$mountPoint" -c 'echo "setting root password..." && /nix/var/nix/profiles/system/sw/bin/passwd'
144+ exit_code=$?
145+ set -e
146+
147+ if [[ $exit_code != 0 ]]; then
148+ echo "Setting a root password failed with the above printed error."
149+ echo "You can set the root password manually by executing \`nixos-enter --root ${mountPoint@Q}\` and then running \`passwd\` in the shell of the new system."
150+ exit $exit_code
151+ fi
152+ fi
142153fi
143154
144155echo "installation finished!"
nixos/modules/installer/tools/nixos-rebuild.sh+19−2
@@ -29,7 +29,7 @@ while [ "$#" -gt 0 ]; do
2929 --help)
3030 showSyntax
3131 ;;
32− switch|boot|test|build|dry-build|dry-run|dry-activate|build-vm|build-vm-with-bootloader)
32+ switch|boot|test|build|edit|dry-build|dry-run|dry-activate|build-vm|build-vm-with-bootloader)
3333 if [ "$i" = dry-run ]; then i=dry-build; fi
3434 action="$i"
3535 ;;
@@ -227,6 +227,13 @@ if [ -z "$_NIXOS_REBUILD_REEXEC" -a -n "$canRun" -a -z "$fast" ]; then
227227 fi
228228fi
229229
230+# Find configuration.nix and open editor instead of building.
231+if [ "$action" = edit ]; then
232+ NIXOS_CONFIG=${NIXOS_CONFIG:-$(nix-instantiate --find-file nixos-config)}
233+ exec "${EDITOR:-nano}" "$NIXOS_CONFIG"
234+ exit 1
235+fi
236+
230237
231238tmpDir=$(mktemp -t -d nixos-rebuild.XXXXXX)
232239SSHOPTS="$NIX_SSHOPTS -o ControlMaster=auto -o ControlPath=$tmpDir/ssh-%n -o ControlPersist=60"
@@ -260,6 +267,14 @@ if [ -n "$rollback" -o "$action" = dry-build ]; then
260267 buildNix=
261268fi
262269
270+nixSystem() {
271+ machine="$(uname -m)"
272+ if [[ "$machine" =~ i.86 ]]; then
273+ machine=i686
274+ fi
275+ echo $machine-linux
276+}
277+
263278prebuiltNix() {
264279 machine="$1"
265280 if [ "$machine" = x86_64 ]; then
@@ -279,7 +294,9 @@ if [ -n "$buildNix" ]; then
279294 nixDrv=
280295 if ! nixDrv="$(nix-instantiate '<nixpkgs/nixos>' --add-root $tmpDir/nix.drv --indirect -A config.nix.package.out "${extraBuildFlags[@]}")"; then
281296 if ! nixDrv="$(nix-instantiate '<nixpkgs>' --add-root $tmpDir/nix.drv --indirect -A nix "${extraBuildFlags[@]}")"; then
282− nixStorePath="$(prebuiltNix "$(uname -m)")"
297+ if ! nixStorePath="$(nix-instantiate --eval '<nixpkgs/nixos/modules/installer/tools/nix-fallback-paths.nix>' -A $(nixSystem) | sed -e 's/^"//' -e 's/"$//')"; then
298+ nixStorePath="$(prebuiltNix "$(uname -m)")"
299+ fi
283300 if ! nix-store -r $nixStorePath --add-root $tmpDir/nix --indirect \
284301 --option extra-binary-caches https://cache.nixos.org/; then
285302 echo "warning: don't know how to get latest Nix" >&2
nixos/modules/installer/virtualbox-demo.nix−2
@@ -57,7 +57,5 @@ with lib;
5757
5858 # Enable the OpenSSH daemon.
5959 # services.openssh.enable = true;
60−
61− system.stateVersion = mkDefault "18.03";
6260 '';
6361}
nixos/modules/misc/documentation.nix+15−2
@@ -1,4 +1,4 @@
1−{ config, lib, pkgs, baseModules, ... }:
1+{ config, lib, pkgs, baseModules, extraModules, modules, ... }:
22
33with lib;
44
@@ -6,6 +6,8 @@ let
66
77 cfg = config.documentation;
88
9+ manualModules = baseModules ++ optionals cfg.nixos.includeAllModules (extraModules ++ modules);
10+
911 /* For the purpose of generating docs, evaluate options with each derivation
1012 in `pkgs` (recursively) replaced by a fake with path "\${pkgs.attribute.path}".
1113 It isn't perfect, but it seems to cover a vast majority of use cases.
@@ -18,7 +20,7 @@ let
1820 options =
1921 let
2022 scrubbedEval = evalModules {
21− modules = [ { nixpkgs.localSystem = config.nixpkgs.localSystem; } ] ++ baseModules;
23+ modules = [ { nixpkgs.localSystem = config.nixpkgs.localSystem; } ] ++ manualModules;
2224 args = (config._module.args) // { modules = [ ]; };
2325 specialArgs = { pkgs = scrubDerivations "pkgs" pkgs; };
2426 };
@@ -146,6 +148,17 @@ in
146148 '';
147149 };
148150
151+ nixos.includeAllModules = mkOption {
152+ type = types.bool;
153+ default = false;
154+ description = ''
155+ Whether the generated NixOS's documentation should include documentation for all
156+ the options from all the NixOS modules included in the current
157+ <literal>configuration.nix</literal>. Disabling this will make the manual
158+ generator to ignore options defined outside of <literal>baseModules</literal>.
159+ '';
160+ };
161+
149162 };
150163
151164 };
nixos/modules/misc/ids.nix+1−1
@@ -272,7 +272,7 @@
272272 nzbget = 245;
273273 mosquitto = 246;
274274 toxvpn = 247;
275− squeezelite = 248;
275+ # squeezelite = 248; # DynamicUser = true
276276 turnserver = 249;
277277 smokeping = 250;
278278 gocd-agent = 251;
nixos/modules/module-list.nix+19−3
@@ -44,6 +44,7 @@
4444 ./hardware/digitalbitbox.nix
4545 ./hardware/sensor/iio.nix
4646 ./hardware/ksm.nix
47+ ./hardware/ledger.nix
4748 ./hardware/mcelog.nix
4849 ./hardware/network/b43.nix
4950 ./hardware/nitrokey.nix
@@ -181,6 +182,7 @@
181182 ./services/audio/mpd.nix
182183 ./services/audio/mopidy.nix
183184 ./services/audio/slimserver.nix
185+ ./services/audio/snapserver.nix
184186 ./services/audio/squeezelite.nix
185187 ./services/audio/ympd.nix
186188 ./services/backup/bacula.nix
@@ -188,6 +190,7 @@
188190 ./services/backup/duplicati.nix
189191 ./services/backup/crashplan.nix
190192 ./services/backup/crashplan-small-business.nix
193+ ./services/backup/duplicity.nix
191194 ./services/backup/mysql-backup.nix
192195 ./services/backup/postgresql-backup.nix
193196 ./services/backup/restic.nix
@@ -196,9 +199,17 @@
196199 ./services/backup/tarsnap.nix
197200 ./services/backup/znapzend.nix
198201 ./services/cluster/hadoop/default.nix
202+ ./services/cluster/kubernetes/addons/dns.nix
203+ ./services/cluster/kubernetes/addons/dashboard.nix
204+ ./services/cluster/kubernetes/addon-manager.nix
205+ ./services/cluster/kubernetes/apiserver.nix
206+ ./services/cluster/kubernetes/controller-manager.nix
199207 ./services/cluster/kubernetes/default.nix
200− ./services/cluster/kubernetes/dns.nix
201− ./services/cluster/kubernetes/dashboard.nix
208+ ./services/cluster/kubernetes/flannel.nix
209+ ./services/cluster/kubernetes/kubelet.nix
210+ ./services/cluster/kubernetes/pki.nix
211+ ./services/cluster/kubernetes/proxy.nix
212+ ./services/cluster/kubernetes/scheduler.nix
202213 ./services/computing/boinc/client.nix
203214 ./services/computing/torque/server.nix
204215 ./services/computing/torque/mom.nix
@@ -259,6 +270,7 @@
259270 ./services/desktops/gnome3/gnome-online-accounts.nix
260271 ./services/desktops/gnome3/gnome-remote-desktop.nix
261272 ./services/desktops/gnome3/gnome-online-miners.nix
273+ ./services/desktops/gnome3/gnome-settings-daemon.nix
262274 ./services/desktops/gnome3/gnome-terminal-server.nix
263275 ./services/desktops/gnome3/gnome-user-share.nix
264276 ./services/desktops/gnome3/gpaste.nix
@@ -284,6 +296,7 @@
284296 ./services/hardware/acpid.nix
285297 ./services/hardware/actkbd.nix
286298 ./services/hardware/bluetooth.nix
299+ ./services/hardware/bolt.nix
287300 ./services/hardware/brltty.nix
288301 ./services/hardware/freefall.nix
289302 ./services/hardware/fwupd.nix
@@ -327,6 +340,7 @@
327340 ./services/logging/syslog-ng.nix
328341 ./services/logging/syslogd.nix
329342 ./services/mail/clamsmtp.nix
343+ ./services/mail/davmail.nix
330344 ./services/mail/dkimproxy-out.nix
331345 ./services/mail/dovecot.nix
332346 ./services/mail/dspam.nix
@@ -352,6 +366,7 @@
352366 ./services/misc/apache-kafka.nix
353367 ./services/misc/autofs.nix
354368 ./services/misc/autorandr.nix
369+ ./services/misc/beanstalkd.nix
355370 ./services/misc/bees.nix
356371 ./services/misc/bepasty.nix
357372 ./services/misc/canto-daemon.nix
@@ -413,7 +428,7 @@
413428 ./services/misc/parsoid.nix
414429 ./services/misc/phd.nix
415430 ./services/misc/plex.nix
416− ./services/misc/plexpy.nix
431+ ./services/misc/tautulli.nix
417432 ./services/misc/pykms.nix
418433 ./services/misc/radarr.nix
419434 ./services/misc/redmine.nix
@@ -517,6 +532,7 @@
517532 ./services/networking/cntlm.nix
518533 ./services/networking/connman.nix
519534 ./services/networking/consul.nix
535+ ./services/networking/coredns.nix
520536 ./services/networking/coturn.nix
521537 ./services/networking/dante.nix
522538 ./services/networking/ddclient.nix
nixos/modules/profiles/graphical.nix+4
@@ -14,5 +14,9 @@
1414 libinput.enable = true; # for touchpad support on many laptops
1515 };
1616
17+ # Enable sound in virtualbox appliances.
18+ hardware.pulseaudio.enable = true;
19+ hardware.pulseaudio.systemWide = true; # Needed since we run plasma as root.
20+
1721 environment.systemPackages = [ pkgs.glxinfo pkgs.firefox ];
1822}
nixos/modules/programs/bash/bash.nix+1−1
@@ -102,7 +102,7 @@ in
102102 # Emacs term mode doesn't support xterm title escape sequence (\e]0;)
103103 PS1="\n\[\033[$PROMPT_COLOR\][\u@\h:\w]\\$\[\033[0m\] "
104104 else
105− PS1="\n\[\033[$PROMPT_COLOR\][\[\e]0;\u@\h: \w\a\]\u@\h:\w]\$\[\033[0m\] "
105+ PS1="\n\[\033[$PROMPT_COLOR\][\[\e]0;\u@\h: \w\a\]\u@\h:\w]\\$\[\033[0m\] "
106106 fi
107107 if test "$TERM" = "xterm"; then
108108 PS1="\[\033]2;\h:\u:\w\007\]$PS1"
nixos/modules/programs/fish.nix+53
@@ -169,6 +169,59 @@ in
169169 end
170170 '';
171171
172+ programs.fish.interactiveShellInit = ''
173+ # add completions generated by NixOS to $fish_complete_path
174+ begin
175+ # joins with null byte to acommodate all characters in paths, then respectively gets all paths before (exclusive) / after (inclusive) the first one including "generated_completions",
176+ # splits by null byte, and then removes all empty lines produced by using 'string'
177+ set -l prev (string join0 $fish_complete_path | string match --regex "^.*?(?=\x00[^\x00]*generated_completions.*)" | string split0 | string match -er ".")
178+ set -l post (string join0 $fish_complete_path | string match --regex "[^\x00]*generated_completions.*" | string split0 | string match -er ".")
179+ set fish_complete_path $prev "/etc/fish/generated_completions" $post
180+ end
181+ '';
182+
183+ environment.etc."fish/generated_completions".source =
184+ let
185+ patchedGenerator = pkgs.stdenv.mkDerivation {
186+ name = "fish_patched-completion-generator";
187+ srcs = [
188+ "${pkgs.fish}/share/fish/tools/create_manpage_completions.py"
189+ "${pkgs.fish}/share/fish/tools/deroff.py"
190+ ];
191+ unpackCmd = "cp $curSrc $(basename $curSrc)";
192+ sourceRoot = ".";
193+ patches = [ ./fish_completion-generator.patch ]; # to prevent collisions of identical completion files
194+ dontBuild = true;
195+ installPhase = ''
196+ mkdir -p $out
197+ cp * $out/
198+ '';
199+ preferLocalBuild = true;
200+ allowSubstitutes = false;
201+ };
202+ generateCompletions = package: pkgs.runCommand
203+ "${package.name}_fish-completions"
204+ (
205+ {
206+ inherit package;
207+ preferLocalBuild = true;
208+ allowSubstitutes = false;
209+ }
210+ // optionalAttrs (package ? meta.priority) { meta.priority = package.meta.priority; }
211+ )
212+ ''
213+ mkdir -p $out
214+ if [ -d $package/share/man ]; then
215+ find $package/share/man -type f | xargs ${pkgs.python3.interpreter} ${patchedGenerator}/create_manpage_completions.py --directory $out >/dev/null
216+ fi
217+ '';
218+ in
219+ pkgs.buildEnv {
220+ name = "system_fish-completions";
221+ ignoreCollisions = true;
222+ paths = map generateCompletions config.environment.systemPackages;
223+ };
224+
172225 # include programs that bring their own completions
173226 environment.pathsToLink = []
174227 ++ optional cfg.vendor.config.enable "/share/fish/vendor_conf.d"
nixos/modules/programs/fish_completion-generator.patchnew file+11
@@ -0,0 +1,11 @@
1+--- a/create_manpage_completions.py
2++++ b/create_manpage_completions.py
3+@@ -776,8 +776,6 @@ def parse_manpage_at_path(manpage_path, output_directory):
4+
5+ built_command_output.insert(0, "# " + CMDNAME)
6+
7+- # Output the magic word Autogenerated so we can tell if we can overwrite this
8+- built_command_output.insert(1, "# Autogenerated from man page " + manpage_path)
9+ # built_command_output.insert(2, "# using " + parser.__class__.__name__) # XXX MISATTRIBUTES THE CULPABILE PARSER! Was really using Type2 but reporting TypeDeroffManParser
10+
11+ for line in built_command_output:
nixos/modules/programs/gnupg.nix+3−1
@@ -85,11 +85,13 @@ in
8585 # SSH agent protocol doesn't support changing TTYs, so bind the agent
8686 # to every new TTY.
8787 ${pkgs.gnupg}/bin/gpg-connect-agent --quiet updatestartuptty /bye > /dev/null
88+ '');
8889
90+ environment.extraInit = mkIf cfg.agent.enableSSHSupport ''
8991 if [ -z "$SSH_AUTH_SOCK" ]; then
9092 export SSH_AUTH_SOCK=$(${pkgs.gnupg}/bin/gpgconf --list-dirs agent-ssh-socket)
9193 fi
92− '');
94+ '';
9395
9496 assertions = [
9597 { assertion = cfg.agent.enableSSHSupport -> !config.programs.ssh.startAgent;
nixos/modules/programs/less.nix+1−1
@@ -25,7 +25,7 @@ let
2525 '';
2626
2727 lessKey = pkgs.runCommand "lesskey"
28− { src = pkgs.writeText "lessconfig" configText; }
28+ { src = pkgs.writeText "lessconfig" configText; preferLocalBuild = true; }
2929 "${pkgs.less}/bin/lesskey -o $out $src";
3030
3131in
nixos/modules/rename.nix+13
@@ -40,9 +40,19 @@ with lib;
4040 (mkRenamedOptionModule [ "services" "kibana" "host" ] [ "services" "kibana" "listenAddress" ])
4141 (mkRenamedOptionModule [ "services" "kubernetes" "apiserver" "admissionControl" ] [ "services" "kubernetes" "apiserver" "enableAdmissionPlugins" ])
4242 (mkRenamedOptionModule [ "services" "kubernetes" "apiserver" "address" ] ["services" "kubernetes" "apiserver" "bindAddress"])
43+ (mkRenamedOptionModule [ "services" "kubernetes" "apiserver" "port" ] ["services" "kubernetes" "apiserver" "insecurePort"])
4344 (mkRemovedOptionModule [ "services" "kubernetes" "apiserver" "publicAddress" ] "")
4445 (mkRenamedOptionModule [ "services" "kubernetes" "addons" "dashboard" "enableRBAC" ] [ "services" "kubernetes" "addons" "dashboard" "rbac" "enable" ])
46+ (mkRenamedOptionModule [ "services" "kubernetes" "controllerManager" "address" ] ["services" "kubernetes" "controllerManager" "bindAddress"])
47+ (mkRenamedOptionModule [ "services" "kubernetes" "controllerManager" "port" ] ["services" "kubernetes" "controllerManager" "insecurePort"])
48+ (mkRenamedOptionModule [ "services" "kubernetes" "etcd" "servers" ] [ "services" "kubernetes" "apiserver" "etcd" "servers" ])
49+ (mkRenamedOptionModule [ "services" "kubernetes" "etcd" "keyFile" ] [ "services" "kubernetes" "apiserver" "etcd" "keyFile" ])
50+ (mkRenamedOptionModule [ "services" "kubernetes" "etcd" "certFile" ] [ "services" "kubernetes" "apiserver" "etcd" "certFile" ])
51+ (mkRenamedOptionModule [ "services" "kubernetes" "etcd" "caFile" ] [ "services" "kubernetes" "apiserver" "etcd" "caFile" ])
52+ (mkRemovedOptionModule [ "services" "kubernetes" "kubelet" "applyManifests" ] "")
4553 (mkRemovedOptionModule [ "services" "kubernetes" "kubelet" "cadvisorPort" ] "")
54+ (mkRenamedOptionModule [ "services" "kubernetes" "proxy" "address" ] ["services" "kubernetes" "proxy" "bindAddress"])
55+ (mkRemovedOptionModule [ "services" "kubernetes" "verbose" ] "")
4656 (mkRenamedOptionModule [ "services" "logstash" "address" ] [ "services" "logstash" "listenAddress" ])
4757 (mkRenamedOptionModule [ "services" "mpd" "network" "host" ] [ "services" "mpd" "network" "listenAddress" ])
4858 (mkRenamedOptionModule [ "services" "neo4j" "host" ] [ "services" "neo4j" "defaultListenAddress" ])
@@ -176,6 +186,9 @@ with lib;
176186 # parsoid
177187 (mkRemovedOptionModule [ "services" "parsoid" "interwikis" ] [ "services" "parsoid" "wikis" ])
178188
189+ # plexpy / tautulli
190+ (mkRenamedOptionModule [ "services" "plexpy" ] [ "services" "tautulli" ])
191+
179192 # piwik was renamed to matomo
180193 (mkRenamedOptionModule [ "services" "piwik" "enable" ] [ "services" "matomo" "enable" ])
181194 (mkRenamedOptionModule [ "services" "piwik" "webServerUser" ] [ "services" "matomo" "webServerUser" ])
nixos/modules/security/ca.nix+1
@@ -14,6 +14,7 @@ let
1414 { files =
1515 cfg.certificateFiles ++
1616 [ (builtins.toFile "extra.crt" (concatStringsSep "\n" cfg.certificates)) ];
17+ preferLocalBuild = true;
1718 }
1819 ''
1920 cat $files > $out
nixos/modules/security/duosec.nix+8−11
@@ -7,7 +7,7 @@ let
77
88 boolToStr = b: if b then "yes" else "no";
99
10− configFile = ''
10+ configFilePam = ''
1111 [duo]
1212 ikey=${cfg.ikey}
1313 skey=${cfg.skey}
@@ -16,21 +16,24 @@ let
1616 failmode=${cfg.failmode}
1717 pushinfo=${boolToStr cfg.pushinfo}
1818 autopush=${boolToStr cfg.autopush}
19− motd=${boolToStr cfg.motd}
2019 prompts=${toString cfg.prompts}
21− accept_env_factor=${boolToStr cfg.acceptEnvFactor}
2220 fallback_local_ip=${boolToStr cfg.fallbackLocalIP}
2321 '';
2422
23+ configFileLogin = configFilePam + ''
24+ motd=${boolToStr cfg.motd}
25+ accept_env_factor=${boolToStr cfg.acceptEnvFactor}
26+ '';
27+
2528 loginCfgFile = optional cfg.ssh.enable
26− { source = pkgs.writeText "login_duo.conf" configFile;
29+ { source = pkgs.writeText "login_duo.conf" configFileLogin;
2730 mode = "0600";
2831 user = "sshd";
2932 target = "duo/login_duo.conf";
3033 };
3134
3235 pamCfgFile = optional cfg.pam.enable
33− { source = pkgs.writeText "pam_duo.conf" configFile;
36+ { source = pkgs.writeText "pam_duo.conf" configFilePam;
3437 mode = "0600";
3538 user = "sshd";
3639 target = "duo/pam_duo.conf";
@@ -180,12 +183,6 @@ in
180183 };
181184
182185 config = mkIf (cfg.ssh.enable || cfg.pam.enable) {
183− assertions =
184− [ { assertion = !cfg.pam.enable;
185− message = "PAM support is currently not implemented.";
186− }
187− ];
188−
189186 environment.systemPackages = [ pkgs.duo-unix ];
190187
191188 security.wrappers.login_duo.source = "${pkgs.duo-unix.out}/bin/login_duo";
nixos/modules/security/pam.nix+18−3
@@ -131,6 +131,18 @@ let
131131 '';
132132 };
133133
134+ duoSecurity = {
135+ enable = mkOption {
136+ default = false;
137+ type = types.bool;
138+ description = ''
139+ If set, use the Duo Security pam module
140+ <literal>pam_duo</literal> for authentication. Requires
141+ configuration of <option>security.duosec</option> options.
142+ '';
143+ };
144+ };
145+
134146 startSession = mkOption {
135147 default = false;
136148 type = types.bool;
@@ -340,7 +352,8 @@ let
340352 || cfg.pamMount
341353 || cfg.enableKwallet
342354 || cfg.enableGnomeKeyring
343− || cfg.googleAuthenticator.enable)) ''
355+ || cfg.googleAuthenticator.enable
356+ || cfg.duoSecurity.enable)) ''
344357 auth required pam_unix.so ${optionalString cfg.allowNullPassword "nullok"} likeauth
345358 ${optionalString config.security.pam.enableEcryptfs
346359 "auth optional ${pkgs.ecryptfs}/lib/security/pam_ecryptfs.so unwrap"}
@@ -350,9 +363,11 @@ let
350363 ("auth optional ${pkgs.plasma5.kwallet-pam}/lib/security/pam_kwallet5.so" +
351364 " kwalletd=${pkgs.libsForQt5.kwallet.bin}/bin/kwalletd5")}
352365 ${optionalString cfg.enableGnomeKeyring
353− ("auth optional ${pkgs.gnome3.gnome-keyring}/lib/security/pam_gnome_keyring.so")}
366+ "auth optional ${pkgs.gnome3.gnome-keyring}/lib/security/pam_gnome_keyring.so"}
354367 ${optionalString cfg.googleAuthenticator.enable
355− "auth required ${pkgs.googleAuthenticator}/lib/security/pam_google_authenticator.so no_increment_hotp"}
368+ "auth required ${pkgs.googleAuthenticator}/lib/security/pam_google_authenticator.so no_increment_hotp"}
369+ ${optionalString cfg.duoSecurity.enable
370+ "auth required ${pkgs.duo-unix}/lib/security/pam_duo.so"}
356371 '') + ''
357372 ${optionalString cfg.unixAuth
358373 "auth sufficient pam_unix.so ${optionalString cfg.allowNullPassword "nullok"} likeauth try_first_pass"}
nixos/modules/security/sudo.nix+4−1
@@ -215,7 +215,10 @@ in
215215 environment.etc = singleton
216216 { source =
217217 pkgs.runCommand "sudoers"
218− { src = pkgs.writeText "sudoers-in" cfg.configFile; }
218+ {
219+ src = pkgs.writeText "sudoers-in" cfg.configFile;
220+ preferLocalBuild = true;
221+ }
219222 # Make sure that the sudoers file is syntactically valid.
220223 # (currently disabled - NIXOS-66)
221224 "${pkgs.buildPackages.sudo}/sbin/visudo -f $src -c && cp $src $out";
nixos/modules/services/audio/snapserver.nixnew file+217
@@ -0,0 +1,217 @@
1+{ config, lib, pkgs, ... }:
2+
3+with lib;
4+
5+let
6+
7+ package = "snapcast";
8+ name = "snapserver";
9+
10+ cfg = config.services.snapserver;
11+
12+ # Using types.nullOr to inherit upstream defaults.
13+ sampleFormat = mkOption {
14+ type = with types; nullOr str;
15+ default = null;
16+ description = ''
17+ Default sample format.
18+ '';
19+ example = "48000:16:2";
20+ };
21+
22+ codec = mkOption {
23+ type = with types; nullOr str;
24+ default = null;
25+ description = ''
26+ Default audio compression method.
27+ '';
28+ example = "flac";
29+ };
30+
31+ streamToOption = name: opt:
32+ let
33+ os = val:
34+ optionalString (val != null) "${val}";
35+ os' = prefixx: val:
36+ optionalString (val != null) (prefixx + "${val}");
37+ flatten = key: value:
38+ "&${key}=${value}";
39+ in
40+ "-s ${opt.type}://" + os opt.location + "?" + os' "name=" name
41+ + concatStrings (mapAttrsToList flatten opt.query);
42+
43+ optionalNull = val: ret:
44+ optional (val != null) ret;
45+
46+ optionString = concatStringsSep " " (mapAttrsToList streamToOption cfg.streams
47+ ++ ["-p ${toString cfg.port}"]
48+ ++ ["--controlPort ${toString cfg.controlPort}"]
49+ ++ optionalNull cfg.sampleFormat "--sampleFormat ${cfg.sampleFormat}"
50+ ++ optionalNull cfg.codec "-c ${cfg.codec}"
51+ ++ optionalNull cfg.streamBuffer "--streamBuffer ${cfg.streamBuffer}"
52+ ++ optionalNull cfg.buffer "-b ${cfg.buffer}"
53+ ++ optional cfg.sendToMuted "--sendToMuted");
54+
55+in {
56+
57+ ###### interface
58+
59+ options = {
60+
61+ services.snapserver = {
62+
63+ enable = mkOption {
64+ type = types.bool;
65+ default = false;
66+ description = ''
67+ Whether to enable snapserver.
68+ '';
69+ };
70+
71+ port = mkOption {
72+ type = types.port;
73+ default = 1704;
74+ description = ''
75+ The port that snapclients can connect to.
76+ '';
77+ };
78+
79+ controlPort = mkOption {
80+ type = types.port;
81+ default = 1705;
82+ description = ''
83+ The port for control connections (JSON-RPC).
84+ '';
85+ };
86+
87+ openFirewall = mkOption {
88+ type = types.bool;
89+ default = true;
90+ description = ''
91+ Whether to automatically open the specified ports in the firewall.
92+ '';
93+ };
94+
95+ inherit sampleFormat;
96+ inherit codec;
97+
98+ streams = mkOption {
99+ type = with types; attrsOf (submodule {
100+ options = {
101+ location = mkOption {
102+ type = types.path;
103+ description = ''
104+ The location of the pipe.
105+ '';
106+ };
107+ type = mkOption {
108+ type = types.enum [ "pipe" "file" "process" "spotify" "airplay" ];
109+ default = "pipe";
110+ description = ''
111+ The type of input stream.
112+ '';
113+ };
114+ query = mkOption {
115+ type = attrsOf str;
116+ default = {};
117+ description = ''
118+ Key-value pairs that convey additional parameters about a stream.
119+ '';
120+ example = literalExample ''
121+ # for type == "pipe":
122+ {
123+ mode = "listen";
124+ };
125+ # for type == "process":
126+ {
127+ params = "--param1 --param2";
128+ logStderr = "true";
129+ };
130+ '';
131+ };
132+ inherit sampleFormat;
133+ inherit codec;
134+ };
135+ });
136+ default = { default = {}; };
137+ description = ''
138+ The definition for an input source.
139+ '';
140+ example = literalExample ''
141+ {
142+ mpd = {
143+ type = "pipe";
144+ location = "/run/snapserver/mpd";
145+ sampleFormat = "48000:16:2";
146+ codec = "pcm";
147+ };
148+ };
149+ '';
150+ };
151+
152+ streamBuffer = mkOption {
153+ type = with types; nullOr int;
154+ default = null;
155+ description = ''
156+ Stream read (input) buffer in ms.
157+ '';
158+ example = 20;
159+ };
160+
161+ buffer = mkOption {
162+ type = with types; nullOr int;
163+ default = null;
164+ description = ''
165+ Network buffer in ms.
166+ '';
167+ example = 1000;
168+ };
169+
170+ sendToMuted = mkOption {
171+ type = types.bool;
172+ default = false;
173+ description = ''
174+ Send audio to muted clients.
175+ '';
176+ };
177+ };
178+
179+ };
180+
181+
182+ ###### implementation
183+
184+ config = mkIf cfg.enable {
185+
186+ systemd.services.snapserver = {
187+ after = [ "network.target" ];
188+ description = "Snapserver";
189+ wantedBy = [ "multi-user.target" ];
190+ before = [ "mpd.service" "mopidy.service" ];
191+
192+ serviceConfig = {
193+ DynamicUser = true;
194+ ExecStart = "${pkgs.snapcast}/bin/snapserver --daemon ${optionString}";
195+ Type = "forking";
196+ LimitRTPRIO = 50;
197+ LimitRTTIME = "infinity";
198+ NoNewPrivileges = true;
199+ PIDFile = "/run/${name}/pid";
200+ ProtectKernelTunables = true;
201+ ProtectControlGroups = true;
202+ ProtectKernelModules = true;
203+ RestrictAddressFamilies = "AF_INET AF_INET6 AF_UNIX";
204+ RestrictNamespaces = true;
205+ RuntimeDirectory = name;
206+ StateDirectory = name;
207+ };
208+ };
209+
210+ networking.firewall.allowedTCPPorts = optionals cfg.openFirewall [ cfg.port cfg.controlPort ];
211+ };
212+
213+ meta = {
214+ maintainers = with maintainers; [ tobim ];
215+ };
216+
217+}
nixos/modules/services/audio/squeezelite.nix+5−22
@@ -3,8 +3,7 @@
33with lib;
44
55let
6−
7− uid = config.ids.uids.squeezelite;
6+ dataDir = "/var/lib/squeezelite";
87 cfg = config.services.squeezelite;
98
109in {
@@ -17,14 +16,6 @@ in {
1716
1817 enable = mkEnableOption "Squeezelite, a software Squeezebox emulator";
1918
20− dataDir = mkOption {
21− default = "/var/lib/squeezelite";
22− type = types.str;
23− description = ''
24− The directory where Squeezelite stores its name file.
25− '';
26− };
27−
2819 extraArguments = mkOption {
2920 default = "";
3021 type = types.str;
@@ -46,22 +37,14 @@ in {
4637 wantedBy = [ "multi-user.target" ];
4738 after = [ "network.target" "sound.target" ];
4839 description = "Software Squeezebox emulator";
49− preStart = "mkdir -p ${cfg.dataDir} && chown -R squeezelite ${cfg.dataDir}";
5040 serviceConfig = {
51− ExecStart = "${pkgs.squeezelite}/bin/squeezelite -N ${cfg.dataDir}/player-name ${cfg.extraArguments}";
52− User = "squeezelite";
53− PermissionsStartOnly = true;
41+ DynamicUser = true;
42+ ExecStart = "${pkgs.squeezelite}/bin/squeezelite -N ${dataDir}/player-name ${cfg.extraArguments}";
43+ StateDirectory = builtins.baseNameOf dataDir;
44+ SupplementaryGroups = "audio";
5445 };
5546 };
5647
57− users.users.squeezelite= {
58− inherit uid;
59− group = "nogroup";
60− extraGroups = [ "audio" ];
61− description = "Squeezelite user";
62− home = "${cfg.dataDir}";
63− };
64−
6548 };
6649
6750}
nixos/modules/services/backup/duplicity.nixnew file+141
@@ -0,0 +1,141 @@
1+{ config, lib, pkgs, ...}:
2+
3+with lib;
4+
5+let
6+ cfg = config.services.duplicity;
7+
8+ stateDirectory = "/var/lib/duplicity";
9+
10+ localTarget = if hasPrefix "file://" cfg.targetUrl
11+ then removePrefix "file://" cfg.targetUrl else null;
12+
13+in {
14+ options.services.duplicity = {
15+ enable = mkEnableOption "backups with duplicity";
16+
17+ root = mkOption {
18+ type = types.path;
19+ default = "/";
20+ description = ''
21+ Root directory to backup.
22+ '';
23+ };
24+
25+ include = mkOption {
26+ type = types.listOf types.str;
27+ default = [];
28+ example = [ "/home" ];
29+ description = ''
30+ List of paths to include into the backups. See the FILE SELECTION
31+ section in <citerefentry><refentrytitle>duplicity</refentrytitle>
32+ <manvolnum>1</manvolnum></citerefentry> for details on the syntax.
33+ '';
34+ };
35+
36+ exclude = mkOption {
37+ type = types.listOf types.str;
38+ default = [];
39+ description = ''
40+ List of paths to exclude from backups. See the FILE SELECTION section in
41+ <citerefentry><refentrytitle>duplicity</refentrytitle>
42+ <manvolnum>1</manvolnum></citerefentry> for details on the syntax.
43+ '';
44+ };
45+
46+ targetUrl = mkOption {
47+ type = types.str;
48+ example = "s3://host:port/prefix";
49+ description = ''
50+ Target url to backup to. See the URL FORMAT section in
51+ <citerefentry><refentrytitle>duplicity</refentrytitle>
52+ <manvolnum>1</manvolnum></citerefentry> for supported urls.
53+ '';
54+ };
55+
56+ secretFile = mkOption {
57+ type = types.nullOr types.path;
58+ default = null;
59+ description = ''
60+ Path of a file containing secrets (gpg passphrase, access key...) in
61+ the format of EnvironmentFile as described by
62+ <citerefentry><refentrytitle>systemd.exec</refentrytitle>
63+ <manvolnum>5</manvolnum></citerefentry>. For example:
64+ <programlisting>
65+ PASSPHRASE=<replaceable>...</replaceable>
66+ AWS_ACCESS_KEY_ID=<replaceable>...</replaceable>
67+ AWS_SECRET_ACCESS_KEY=<replaceable>...</replaceable>
68+ </programlisting>
69+ '';
70+ };
71+
72+ frequency = mkOption {
73+ type = types.nullOr types.str;
74+ default = "daily";
75+ description = ''
76+ Run duplicity with the given frequency (see
77+ <citerefentry><refentrytitle>systemd.time</refentrytitle>
78+ <manvolnum>7</manvolnum></citerefentry> for the format).
79+ If null, do not run automatically.
80+ '';
81+ };
82+
83+ extraFlags = mkOption {
84+ type = types.listOf types.str;
85+ default = [];
86+ example = [ "--full-if-older-than" "1M" ];
87+ description = ''
88+ Extra command-line flags passed to duplicity. See
89+ <citerefentry><refentrytitle>duplicity</refentrytitle>
90+ <manvolnum>1</manvolnum></citerefentry>.
91+ '';
92+ };
93+ };
94+
95+ config = mkIf cfg.enable {
96+ systemd = {
97+ services.duplicity = {
98+ description = "backup files with duplicity";
99+
100+ environment.HOME = stateDirectory;
101+
102+ serviceConfig = {
103+ ExecStart = ''
104+ ${pkgs.duplicity}/bin/duplicity ${escapeShellArgs (
105+ [
106+ cfg.root
107+ cfg.targetUrl
108+ "--archive-dir" stateDirectory
109+ ]
110+ ++ concatMap (p: [ "--include" p ]) cfg.include
111+ ++ concatMap (p: [ "--exclude" p ]) cfg.exclude
112+ ++ cfg.extraFlags)}
113+ '';
114+ PrivateTmp = true;
115+ ProtectSystem = "strict";
116+ ProtectHome = "read-only";
117+ StateDirectory = baseNameOf stateDirectory;
118+ } // optionalAttrs (localTarget != null) {
119+ ReadWritePaths = localTarget;
120+ } // optionalAttrs (cfg.secretFile != null) {
121+ EnvironmentFile = cfg.secretFile;
122+ };
123+ } // optionalAttrs (cfg.frequency != null) {
124+ startAt = cfg.frequency;
125+ };
126+
127+ tmpfiles.rules = optional (localTarget != null) "d ${localTarget} 0700 root root -";
128+ };
129+
130+ assertions = singleton {
131+ # Duplicity will fail if the last file selection option is an include. It
132+ # is not always possible to detect but this simple case can be caught.
133+ assertion = cfg.include != [] -> cfg.exclude != [] || cfg.extraFlags != [];
134+ message = ''
135+ Duplicity will fail if you only specify included paths ("Because the
136+ default is to include all files, the expression is redundant. Exiting
137+ because this probably isn't what you meant.")
138+ '';
139+ };
140+ };
141+}
nixos/modules/services/cluster/kubernetes/addon-manager.nixnew file+167
@@ -0,0 +1,167 @@
1+{ config, lib, pkgs, ... }:
2+
3+with lib;
4+
5+let
6+ top = config.services.kubernetes;
7+ cfg = top.addonManager;
8+
9+ isRBACEnabled = elem "RBAC" top.apiserver.authorizationMode;
10+
11+ addons = pkgs.runCommand "kubernetes-addons" { } ''
12+ mkdir -p $out
13+ # since we are mounting the addons to the addon manager, they need to be copied
14+ ${concatMapStringsSep ";" (a: "cp -v ${a}/* $out/") (mapAttrsToList (name: addon:
15+ pkgs.writeTextDir "${name}.json" (builtins.toJSON addon)
16+ ) (cfg.addons))}
17+ '';
18+in
19+{
20+ ###### interface
21+ options.services.kubernetes.addonManager = with lib.types; {
22+
23+ bootstrapAddons = mkOption {
24+ description = ''
25+ Bootstrap addons are like regular addons, but they are applied with cluster-admin rigths.
26+ They are applied at addon-manager startup only.
27+ '';
28+ default = { };
29+ type = attrsOf attrs;
30+ example = literalExample ''
31+ {
32+ "my-service" = {
33+ "apiVersion" = "v1";
34+ "kind" = "Service";
35+ "metadata" = {
36+ "name" = "my-service";
37+ "namespace" = "default";
38+ };
39+ "spec" = { ... };
40+ };
41+ }
42+ '';
43+ };
44+
45+ addons = mkOption {
46+ description = "Kubernetes addons (any kind of Kubernetes resource can be an addon).";
47+ default = { };
48+ type = attrsOf (either attrs (listOf attrs));
49+ example = literalExample ''
50+ {
51+ "my-service" = {
52+ "apiVersion" = "v1";
53+ "kind" = "Service";
54+ "metadata" = {
55+ "name" = "my-service";
56+ "namespace" = "default";
57+ };
58+ "spec" = { ... };
59+ };
60+ }
61+ // import <nixpkgs/nixos/modules/services/cluster/kubernetes/dashboard.nix> { cfg = config.services.kubernetes; };
62+ '';
63+ };
64+
65+ enable = mkEnableOption "Whether to enable Kubernetes addon manager.";
66+ };
67+
68+ ###### implementation
69+ config = mkIf cfg.enable {
70+ environment.etc."kubernetes/addons".source = "${addons}/";
71+
72+ systemd.services.kube-addon-manager = {
73+ description = "Kubernetes addon manager";
74+ wantedBy = [ "kubernetes.target" ];
75+ after = [ "kube-apiserver.service" ];
76+ environment.ADDON_PATH = "/etc/kubernetes/addons/";
77+ path = [ pkgs.gawk ];
78+ serviceConfig = {
79+ Slice = "kubernetes.slice";
80+ ExecStart = "${top.package}/bin/kube-addons";
81+ WorkingDirectory = top.dataDir;
82+ User = "kubernetes";
83+ Group = "kubernetes";
84+ Restart = "on-failure";
85+ RestartSec = 10;
86+ };
87+ };
88+
89+ services.kubernetes.addonManager.bootstrapAddons = mkIf isRBACEnabled
90+ (let
91+ name = system:kube-addon-manager;
92+ namespace = "kube-system";
93+ in
94+ {
95+
96+ kube-addon-manager-r = {
97+ apiVersion = "rbac.authorization.k8s.io/v1";
98+ kind = "Role";
99+ metadata = {
100+ inherit name namespace;
101+ };
102+ rules = [{
103+ apiGroups = ["*"];
104+ resources = ["*"];
105+ verbs = ["*"];
106+ }];
107+ };
108+
109+ kube-addon-manager-rb = {
110+ apiVersion = "rbac.authorization.k8s.io/v1";
111+ kind = "RoleBinding";
112+ metadata = {
113+ inherit name namespace;
114+ };
115+ roleRef = {
116+ apiGroup = "rbac.authorization.k8s.io";
117+ kind = "Role";
118+ inherit name;
119+ };
120+ subjects = [{
121+ apiGroup = "rbac.authorization.k8s.io";
122+ kind = "User";
123+ inherit name;
124+ }];
125+ };
126+
127+ kube-addon-manager-cluster-lister-cr = {
128+ apiVersion = "rbac.authorization.k8s.io/v1";
129+ kind = "ClusterRole";
130+ metadata = {
131+ name = "${name}:cluster-lister";
132+ };
133+ rules = [{
134+ apiGroups = ["*"];
135+ resources = ["*"];
136+ verbs = ["list"];
137+ }];
138+ };
139+
140+ kube-addon-manager-cluster-lister-crb = {
141+ apiVersion = "rbac.authorization.k8s.io/v1";
142+ kind = "ClusterRoleBinding";
143+ metadata = {
144+ name = "${name}:cluster-lister";
145+ };
146+ roleRef = {
147+ apiGroup = "rbac.authorization.k8s.io";
148+ kind = "ClusterRole";
149+ name = "${name}:cluster-lister";
150+ };
151+ subjects = [{
152+ kind = "User";
153+ inherit name;
154+ }];
155+ };
156+ });
157+
158+ services.kubernetes.pki.certs = {
159+ addonManager = top.lib.mkCert {
160+ name = "kube-addon-manager";
161+ CN = "system:kube-addon-manager";
162+ action = "systemctl restart kube-addon-manager.service";
163+ };
164+ };
165+ };
166+
167+}
nixos/modules/services/cluster/kubernetes/dashboard.nix → nixos/modules/services/cluster/kubernetes/addons/dashboard.nixrenamed
The content is the same.
nixos/modules/services/cluster/kubernetes/dns.nix → nixos/modules/services/cluster/kubernetes/addons/dns.nixrenamed+31−17
@@ -38,6 +38,18 @@ in {
3838 type = types.int;
3939 };
4040
41+ reconcileMode = mkOption {
42+ description = ''
43+ Controls the addon manager reconciliation mode for the DNS addon.
44+
45+ Setting reconcile mode to EnsureExists makes it possible to tailor DNS behavior by editing the coredns ConfigMap.
46+
47+ See: <link xlink:href="https://github.com/kubernetes/kubernetes/blob/master/cluster/addons/addon-manager/README.md"/>.
48+ '';
49+ default = "Reconcile";
50+ type = types.enum [ "Reconcile" "EnsureExists" ];
51+ };
52+
4153 coredns = mkOption {
4254 description = "Docker image to seed for the CoreDNS container.";
4355 type = types.attrs;
@@ -54,21 +66,7 @@ in {
5466 services.kubernetes.kubelet.seedDockerImages =
5567 singleton (pkgs.dockerTools.pullImage cfg.coredns);
5668
57− services.kubernetes.addonManager.addons = {
58− coredns-sa = {
59− apiVersion = "v1";
60− kind = "ServiceAccount";
61− metadata = {
62− labels = {
63− "addonmanager.kubernetes.io/mode" = "Reconcile";
64− "k8s-app" = "kube-dns";
65− "kubernetes.io/cluster-service" = "true";
66− };
67− name = "coredns";
68− namespace = "kube-system";
69− };
70− };
71−
69+ services.kubernetes.addonManager.bootstrapAddons = {
7270 coredns-cr = {
7371 apiVersion = "rbac.authorization.k8s.io/v1beta1";
7472 kind = "ClusterRole";
@@ -123,13 +121,29 @@ in {
123121 }
124122 ];
125123 };
124+ };
125+
126+ services.kubernetes.addonManager.addons = {
127+ coredns-sa = {
128+ apiVersion = "v1";
129+ kind = "ServiceAccount";
130+ metadata = {
131+ labels = {
132+ "addonmanager.kubernetes.io/mode" = "Reconcile";
133+ "k8s-app" = "kube-dns";
134+ "kubernetes.io/cluster-service" = "true";
135+ };
136+ name = "coredns";
137+ namespace = "kube-system";
138+ };
139+ };
126140
127141 coredns-cm = {
128142 apiVersion = "v1";
129143 kind = "ConfigMap";
130144 metadata = {
131145 labels = {
132− "addonmanager.kubernetes.io/mode" = "Reconcile";
146+ "addonmanager.kubernetes.io/mode" = cfg.reconcileMode;
133147 "k8s-app" = "kube-dns";
134148 "kubernetes.io/cluster-service" = "true";
135149 };
@@ -160,7 +174,7 @@ in {
160174 kind = "Deployment";
161175 metadata = {
162176 labels = {
163− "addonmanager.kubernetes.io/mode" = "Reconcile";
177+ "addonmanager.kubernetes.io/mode" = cfg.reconcileMode;
164178 "k8s-app" = "kube-dns";
165179 "kubernetes.io/cluster-service" = "true";
166180 "kubernetes.io/name" = "CoreDNS";
nixos/modules/services/cluster/kubernetes/apiserver.nixnew file+428
@@ -0,0 +1,428 @@
1+ { config, lib, pkgs, ... }:
2+
3+with lib;
4+
5+let
6+ top = config.services.kubernetes;
7+ cfg = top.apiserver;
8+
9+ isRBACEnabled = elem "RBAC" cfg.authorizationMode;
10+
11+ apiserverServiceIP = (concatStringsSep "." (
12+ take 3 (splitString "." cfg.serviceClusterIpRange
13+ )) + ".1");
14+in
15+{
16+ ###### interface
17+ options.services.kubernetes.apiserver = with lib.types; {
18+
19+ advertiseAddress = mkOption {
20+ description = ''
21+ Kubernetes apiserver IP address on which to advertise the apiserver
22+ to members of the cluster. This address must be reachable by the rest
23+ of the cluster.
24+ '';
25+ default = null;
26+ type = nullOr str;
27+ };
28+
29+ allowPrivileged = mkOption {
30+ description = "Whether to allow privileged containers on Kubernetes.";
31+ default = false;
32+ type = bool;
33+ };
34+
35+ authorizationMode = mkOption {
36+ description = ''
37+ Kubernetes apiserver authorization mode (AlwaysAllow/AlwaysDeny/ABAC/Webhook/RBAC/Node). See
38+ <link xlink:href="https://kubernetes.io/docs/reference/access-authn-authz/authorization/"/>
39+ '';
40+ default = ["RBAC" "Node"]; # Enabling RBAC by default, although kubernetes default is AllowAllow
41+ type = listOf (enum ["AlwaysAllow" "AlwaysDeny" "ABAC" "Webhook" "RBAC" "Node"]);
42+ };
43+
44+ authorizationPolicy = mkOption {
45+ description = ''
46+ Kubernetes apiserver authorization policy file. See
47+ <link xlink:href="https://kubernetes.io/docs/reference/access-authn-authz/authorization/"/>
48+ '';
49+ default = [];
50+ type = listOf attrs;
51+ };
52+
53+ basicAuthFile = mkOption {
54+ description = ''
55+ Kubernetes apiserver basic authentication file. See
56+ <link xlink:href="https://kubernetes.io/docs/reference/access-authn-authz/authentication"/>
57+ '';
58+ default = null;
59+ type = nullOr path;
60+ };
61+
62+ bindAddress = mkOption {
63+ description = ''
64+ The IP address on which to listen for the --secure-port port.
65+ The associated interface(s) must be reachable by the rest
66+ of the cluster, and by CLI/web clients.
67+ '';
68+ default = "0.0.0.0";
69+ type = str;
70+ };
71+
72+ clientCaFile = mkOption {
73+ description = "Kubernetes apiserver CA file for client auth.";
74+ default = top.caFile;
75+ type = nullOr path;
76+ };
77+
78+ disableAdmissionPlugins = mkOption {
79+ description = ''
80+ Kubernetes admission control plugins to disable. See
81+ <link xlink:href="https://kubernetes.io/docs/admin/admission-controllers/"/>
82+ '';
83+ default = [];
84+ type = listOf str;
85+ };
86+
87+ enable = mkEnableOption "Kubernetes apiserver";
88+
89+ enableAdmissionPlugins = mkOption {
90+ description = ''
91+ Kubernetes admission control plugins to enable. See
92+ <link xlink:href="https://kubernetes.io/docs/admin/admission-controllers/"/>
93+ '';
94+ default = [
95+ "NamespaceLifecycle" "LimitRanger" "ServiceAccount"
96+ "ResourceQuota" "DefaultStorageClass" "DefaultTolerationSeconds"
97+ "NodeRestriction"
98+ ];
99+ example = [
100+ "NamespaceLifecycle" "NamespaceExists" "LimitRanger"
101+ "SecurityContextDeny" "ServiceAccount" "ResourceQuota"
102+ "PodSecurityPolicy" "NodeRestriction" "DefaultStorageClass"
103+ ];
104+ type = listOf str;
105+ };
106+
107+ etcd = {
108+ servers = mkOption {
109+ description = "List of etcd servers.";
110+ default = ["http://127.0.0.1:2379"];
111+ type = types.listOf types.str;
112+ };
113+
114+ keyFile = mkOption {
115+ description = "Etcd key file.";
116+ default = null;
117+ type = types.nullOr types.path;
118+ };
119+
120+ certFile = mkOption {
121+ description = "Etcd cert file.";
122+ default = null;
123+ type = types.nullOr types.path;
124+ };
125+
126+ caFile = mkOption {
127+ description = "Etcd ca file.";
128+ default = top.caFile;
129+ type = types.nullOr types.path;
130+ };
131+ };
132+
133+ extraOpts = mkOption {
134+ description = "Kubernetes apiserver extra command line options.";
135+ default = "";
136+ type = str;
137+ };
138+
139+ extraSANs = mkOption {
140+ description = "Extra x509 Subject Alternative Names to be added to the kubernetes apiserver tls cert.";
141+ default = [];
142+ type = listOf str;
143+ };
144+
145+ featureGates = mkOption {
146+ description = "List set of feature gates";
147+ default = top.featureGates;
148+ type = listOf str;
149+ };
150+
151+ insecureBindAddress = mkOption {
152+ description = "The IP address on which to serve the --insecure-port.";
153+ default = "127.0.0.1";
154+ type = str;
155+ };
156+
157+ insecurePort = mkOption {
158+ description = "Kubernetes apiserver insecure listening port. (0 = disabled)";
159+ default = 0;
160+ type = int;
161+ };
162+
163+ kubeletClientCaFile = mkOption {
164+ description = "Path to a cert file for connecting to kubelet.";
165+ default = top.caFile;
166+ type = nullOr path;
167+ };
168+
169+ kubeletClientCertFile = mkOption {
170+ description = "Client certificate to use for connections to kubelet.";
171+ default = null;
172+ type = nullOr path;
173+ };
174+
175+ kubeletClientKeyFile = mkOption {
176+ description = "Key to use for connections to kubelet.";
177+ default = null;
178+ type = nullOr path;
179+ };
180+
181+ kubeletHttps = mkOption {
182+ description = "Whether to use https for connections to kubelet.";
183+ default = true;
184+ type = bool;
185+ };
186+
187+ runtimeConfig = mkOption {
188+ description = ''
189+ Api runtime configuration. See
190+ <link xlink:href="https://kubernetes.io/docs/tasks/administer-cluster/cluster-management/"/>
191+ '';
192+ default = "authentication.k8s.io/v1beta1=true";
193+ example = "api/all=false,api/v1=true";
194+ type = str;
195+ };
196+
197+ storageBackend = mkOption {
198+ description = ''
199+ Kubernetes apiserver storage backend.
200+ '';
201+ default = "etcd3";
202+ type = enum ["etcd2" "etcd3"];
203+ };
204+
205+ securePort = mkOption {
206+ description = "Kubernetes apiserver secure port.";
207+ default = 6443;
208+ type = int;
209+ };
210+
211+ serviceAccountKeyFile = mkOption {
212+ description = ''
213+ Kubernetes apiserver PEM-encoded x509 RSA private or public key file,
214+ used to verify ServiceAccount tokens. By default tls private key file
215+ is used.
216+ '';
217+ default = null;
218+ type = nullOr path;
219+ };
220+
221+ serviceClusterIpRange = mkOption {
222+ description = ''
223+ A CIDR notation IP range from which to assign service cluster IPs.
224+ This must not overlap with any IP ranges assigned to nodes for pods.
225+ '';
226+ default = "10.0.0.0/24";
227+ type = str;
228+ };
229+
230+ tlsCertFile = mkOption {
231+ description = "Kubernetes apiserver certificate file.";
232+ default = null;
233+ type = nullOr path;
234+ };
235+
236+ tlsKeyFile = mkOption {
237+ description = "Kubernetes apiserver private key file.";
238+ default = null;
239+ type = nullOr path;
240+ };
241+
242+ tokenAuthFile = mkOption {
243+ description = ''
244+ Kubernetes apiserver token authentication file. See
245+ <link xlink:href="https://kubernetes.io/docs/reference/access-authn-authz/authentication"/>
246+ '';
247+ default = null;
248+ type = nullOr path;
249+ };
250+
251+ verbosity = mkOption {
252+ description = ''
253+ Optional glog verbosity level for logging statements. See
254+ <link xlink:href="https://github.com/kubernetes/community/blob/master/contributors/devel/logging.md"/>
255+ '';
256+ default = null;
257+ type = nullOr int;
258+ };
259+
260+ webhookConfig = mkOption {
261+ description = ''
262+ Kubernetes apiserver Webhook config file. It uses the kubeconfig file format.
263+ See <link xlink:href="https://kubernetes.io/docs/reference/access-authn-authz/webhook/"/>
264+ '';
265+ default = null;
266+ type = nullOr path;
267+ };
268+
269+ };
270+
271+
272+ ###### implementation
273+ config = mkMerge [
274+
275+ (mkIf cfg.enable {
276+ systemd.services.kube-apiserver = {
277+ description = "Kubernetes APIServer Service";
278+ wantedBy = [ "kubernetes.target" ];
279+ after = [ "network.target" ];
280+ serviceConfig = {
281+ Slice = "kubernetes.slice";
282+ ExecStart = ''${top.package}/bin/kube-apiserver \
283+ --allow-privileged=${boolToString cfg.allowPrivileged} \
284+ --authorization-mode=${concatStringsSep "," cfg.authorizationMode} \
285+ ${optionalString (elem "ABAC" cfg.authorizationMode)
286+ "--authorization-policy-file=${
287+ pkgs.writeText "kube-auth-policy.jsonl"
288+ (concatMapStringsSep "\n" (l: builtins.toJSON l) cfg.authorizationPolicy)
289+ }"
290+ } \
291+ ${optionalString (elem "Webhook" cfg.authorizationMode)
292+ "--authorization-webhook-config-file=${cfg.webhookConfig}"
293+ } \
294+ --bind-address=${cfg.bindAddress} \
295+ ${optionalString (cfg.advertiseAddress != null)
296+ "--advertise-address=${cfg.advertiseAddress}"} \
297+ ${optionalString (cfg.clientCaFile != null)
298+ "--client-ca-file=${cfg.clientCaFile}"} \
299+ --disable-admission-plugins=${concatStringsSep "," cfg.disableAdmissionPlugins} \
300+ --enable-admission-plugins=${concatStringsSep "," cfg.enableAdmissionPlugins} \
301+ --etcd-servers=${concatStringsSep "," cfg.etcd.servers} \
302+ ${optionalString (cfg.etcd.caFile != null)
303+ "--etcd-cafile=${cfg.etcd.caFile}"} \
304+ ${optionalString (cfg.etcd.certFile != null)
305+ "--etcd-certfile=${cfg.etcd.certFile}"} \
306+ ${optionalString (cfg.etcd.keyFile != null)
307+ "--etcd-keyfile=${cfg.etcd.keyFile}"} \
308+ ${optionalString (cfg.featureGates != [])
309+ "--feature-gates=${concatMapStringsSep "," (feature: "${feature}=true") cfg.featureGates}"} \
310+ ${optionalString (cfg.basicAuthFile != null)
311+ "--basic-auth-file=${cfg.basicAuthFile}"} \
312+ --kubelet-https=${boolToString cfg.kubeletHttps} \
313+ ${optionalString (cfg.kubeletClientCaFile != null)
314+ "--kubelet-certificate-authority=${cfg.kubeletClientCaFile}"} \
315+ ${optionalString (cfg.kubeletClientCertFile != null)
316+ "--kubelet-client-certificate=${cfg.kubeletClientCertFile}"} \
317+ ${optionalString (cfg.kubeletClientKeyFile != null)
318+ "--kubelet-client-key=${cfg.kubeletClientKeyFile}"} \
319+ --insecure-bind-address=${cfg.insecureBindAddress} \
320+ --insecure-port=${toString cfg.insecurePort} \
321+ ${optionalString (cfg.runtimeConfig != "")
322+ "--runtime-config=${cfg.runtimeConfig}"} \
323+ --secure-port=${toString cfg.securePort} \
324+ ${optionalString (cfg.serviceAccountKeyFile!=null)
325+ "--service-account-key-file=${cfg.serviceAccountKeyFile}"} \
326+ --service-cluster-ip-range=${cfg.serviceClusterIpRange} \
327+ --storage-backend=${cfg.storageBackend} \
328+ ${optionalString (cfg.tlsCertFile != null)
329+ "--tls-cert-file=${cfg.tlsCertFile}"} \
330+ ${optionalString (cfg.tlsKeyFile != null)
331+ "--tls-private-key-file=${cfg.tlsKeyFile}"} \
332+ ${optionalString (cfg.tokenAuthFile != null)
333+ "--token-auth-file=${cfg.tokenAuthFile}"} \
334+ ${optionalString (cfg.verbosity != null) "--v=${toString cfg.verbosity}"} \
335+ ${cfg.extraOpts}
336+ '';
337+ WorkingDirectory = top.dataDir;
338+ User = "kubernetes";
339+ Group = "kubernetes";
340+ AmbientCapabilities = "cap_net_bind_service";
341+ Restart = "on-failure";
342+ RestartSec = 5;
343+ };
344+ };
345+
346+ services.etcd = {
347+ clientCertAuth = mkDefault true;
348+ peerClientCertAuth = mkDefault true;
349+ listenClientUrls = mkDefault ["https://0.0.0.0:2379"];
350+ listenPeerUrls = mkDefault ["https://0.0.0.0:2380"];
351+ advertiseClientUrls = mkDefault ["https://${top.masterAddress}:2379"];
352+ initialCluster = mkDefault ["${top.masterAddress}=https://${top.masterAddress}:2380"];
353+ name = mkDefault top.masterAddress;
354+ initialAdvertisePeerUrls = mkDefault ["https://${top.masterAddress}:2380"];
355+ };
356+
357+ services.kubernetes.addonManager.bootstrapAddons = mkIf isRBACEnabled {
358+
359+ apiserver-kubelet-api-admin-crb = {
360+ apiVersion = "rbac.authorization.k8s.io/v1";
361+ kind = "ClusterRoleBinding";
362+ metadata = {
363+ name = "system:kube-apiserver:kubelet-api-admin";
364+ };
365+ roleRef = {
366+ apiGroup = "rbac.authorization.k8s.io";
367+ kind = "ClusterRole";
368+ name = "system:kubelet-api-admin";
369+ };
370+ subjects = [{
371+ kind = "User";
372+ name = "system:kube-apiserver";
373+ }];
374+ };
375+
376+ };
377+
378+ services.kubernetes.pki.certs = with top.lib; {
379+ apiServer = mkCert {
380+ name = "kube-apiserver";
381+ CN = "kubernetes";
382+ hosts = [
383+ "kubernetes.default.svc"
384+ "kubernetes.default.svc.${top.addons.dns.clusterDomain}"
385+ cfg.advertiseAddress
386+ top.masterAddress
387+ apiserverServiceIP
388+ "127.0.0.1"
389+ ] ++ cfg.extraSANs;
390+ action = "systemctl restart kube-apiserver.service";
391+ };
392+ apiserverKubeletClient = mkCert {
393+ name = "kube-apiserver-kubelet-client";
394+ CN = "system:kube-apiserver";
395+ action = "systemctl restart kube-apiserver.service";
396+ };
397+ apiserverEtcdClient = mkCert {
398+ name = "kube-apiserver-etcd-client";
399+ CN = "etcd-client";
400+ action = "systemctl restart kube-apiserver.service";
401+ };
402+ clusterAdmin = mkCert {
403+ name = "cluster-admin";
404+ CN = "cluster-admin";
405+ fields = {
406+ O = "system:masters";
407+ };
408+ privateKeyOwner = "root";
409+ };
410+ etcd = mkCert {
411+ name = "etcd";
412+ CN = top.masterAddress;
413+ hosts = [
414+ "etcd.local"
415+ "etcd.${top.addons.dns.clusterDomain}"
416+ top.masterAddress
417+ cfg.advertiseAddress
418+ ];
419+ privateKeyOwner = "etcd";
420+ action = "systemctl restart etcd.service";
421+ };
422+ };
423+
424+ })
425+
426+ ];
427+
428+}
nixos/modules/services/cluster/kubernetes/controller-manager.nixnew file+162
@@ -0,0 +1,162 @@
1+{ config, lib, pkgs, ... }:
2+
3+with lib;
4+
5+let
6+ top = config.services.kubernetes;
7+ cfg = top.controllerManager;
8+in
9+{
10+ ###### interface
11+ options.services.kubernetes.controllerManager = with lib.types; {
12+
13+ allocateNodeCIDRs = mkOption {
14+ description = "Whether to automatically allocate CIDR ranges for cluster nodes.";
15+ default = true;
16+ type = bool;
17+ };
18+
19+ bindAddress = mkOption {
20+ description = "Kubernetes controller manager listening address.";
21+ default = "127.0.0.1";
22+ type = str;
23+ };
24+
25+ clusterCidr = mkOption {
26+ description = "Kubernetes CIDR Range for Pods in cluster.";
27+ default = top.clusterCidr;
28+ type = str;
29+ };
30+
31+ enable = mkEnableOption "Kubernetes controller manager.";
32+
33+ extraOpts = mkOption {
34+ description = "Kubernetes controller manager extra command line options.";
35+ default = "";
36+ type = str;
37+ };
38+
39+ featureGates = mkOption {
40+ description = "List set of feature gates";
41+ default = top.featureGates;
42+ type = listOf str;
43+ };
44+
45+ insecurePort = mkOption {
46+ description = "Kubernetes controller manager insecure listening port.";
47+ default = 0;
48+ type = int;
49+ };
50+
51+ kubeconfig = top.lib.mkKubeConfigOptions "Kubernetes controller manager";
52+
53+ leaderElect = mkOption {
54+ description = "Whether to start leader election before executing main loop.";
55+ type = bool;
56+ default = true;
57+ };
58+
59+ rootCaFile = mkOption {
60+ description = ''
61+ Kubernetes controller manager certificate authority file included in
62+ service account's token secret.
63+ '';
64+ default = top.caFile;
65+ type = nullOr path;
66+ };
67+
68+ securePort = mkOption {
69+ description = "Kubernetes controller manager secure listening port.";
70+ default = 10252;
71+ type = int;
72+ };
73+
74+ serviceAccountKeyFile = mkOption {
75+ description = ''
76+ Kubernetes controller manager PEM-encoded private RSA key file used to
77+ sign service account tokens
78+ '';
79+ default = null;
80+ type = nullOr path;
81+ };
82+
83+ tlsCertFile = mkOption {
84+ description = "Kubernetes controller-manager certificate file.";
85+ default = null;
86+ type = nullOr path;
87+ };
88+
89+ tlsKeyFile = mkOption {
90+ description = "Kubernetes controller-manager private key file.";
91+ default = null;
92+ type = nullOr path;
93+ };
94+
95+ verbosity = mkOption {
96+ description = ''
97+ Optional glog verbosity level for logging statements. See
98+ <link xlink:href="https://github.com/kubernetes/community/blob/master/contributors/devel/logging.md"/>
99+ '';
100+ default = null;
101+ type = nullOr int;
102+ };
103+
104+ };
105+
106+ ###### implementation
107+ config = mkIf cfg.enable {
108+ systemd.services.kube-controller-manager = {
109+ description = "Kubernetes Controller Manager Service";
110+ wantedBy = [ "kubernetes.target" ];
111+ after = [ "kube-apiserver.service" ];
112+ serviceConfig = {
113+ RestartSec = "30s";
114+ Restart = "on-failure";
115+ Slice = "kubernetes.slice";
116+ ExecStart = ''${top.package}/bin/kube-controller-manager \
117+ --allocate-node-cidrs=${boolToString cfg.allocateNodeCIDRs} \
118+ --bind-address=${cfg.bindAddress} \
119+ ${optionalString (cfg.clusterCidr!=null)
120+ "--cluster-cidr=${cfg.clusterCidr}"} \
121+ ${optionalString (cfg.featureGates != [])
122+ "--feature-gates=${concatMapStringsSep "," (feature: "${feature}=true") cfg.featureGates}"} \
123+ --kubeconfig=${top.lib.mkKubeConfig "kube-controller-manager" cfg.kubeconfig} \
124+ --leader-elect=${boolToString cfg.leaderElect} \
125+ ${optionalString (cfg.rootCaFile!=null)
126+ "--root-ca-file=${cfg.rootCaFile}"} \
127+ --port=${toString cfg.insecurePort} \
128+ --secure-port=${toString cfg.securePort} \
129+ ${optionalString (cfg.serviceAccountKeyFile!=null)
130+ "--service-account-private-key-file=${cfg.serviceAccountKeyFile}"} \
131+ ${optionalString (cfg.tlsCertFile!=null)
132+ "--tls-cert-file=${cfg.tlsCertFile}"} \
133+ ${optionalString (cfg.tlsKeyFile!=null)
134+ "--tls-private-key-file=${cfg.tlsKeyFile}"} \
135+ ${optionalString (elem "RBAC" top.apiserver.authorizationMode)
136+ "--use-service-account-credentials"} \
137+ ${optionalString (cfg.verbosity != null) "--v=${toString cfg.verbosity}"} \
138+ ${cfg.extraOpts}
139+ '';
140+ WorkingDirectory = top.dataDir;
141+ User = "kubernetes";
142+ Group = "kubernetes";
143+ };
144+ path = top.path;
145+ };
146+
147+ services.kubernetes.pki.certs = with top.lib; {
148+ controllerManager = mkCert {
149+ name = "kube-controller-manager";
150+ CN = "kube-controller-manager";
151+ action = "systemctl restart kube-controller-manager.service";
152+ };
153+ controllerManagerClient = mkCert {
154+ name = "kube-controller-manager-client";
155+ CN = "system:kube-controller-manager";
156+ action = "systemctl restart kube-controller-manager.service";
157+ };
158+ };
159+
160+ services.kubernetes.controllerManager.kubeconfig.server = mkDefault top.apiserverAddress;
161+ };
162+}
nixos/modules/services/cluster/kubernetes/default.nix+112−1021
@@ -5,74 +5,52 @@ with lib;
55let
66 cfg = config.services.kubernetes;
77
8− # YAML config; see:
9− # https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/
10− # https://github.com/kubernetes/kubernetes/blob/release-1.10/pkg/kubelet/apis/kubeletconfig/v1beta1/types.go
11− #
12− # TODO: migrate the following flags to this config file
13− #
14− # --pod-manifest-path
15− # --address
16− # --port
17− # --tls-cert-file
18− # --tls-private-key-file
19− # --client-ca-file
20− # --authentication-token-webhook
21− # --authentication-token-webhook-cache-ttl
22− # --authorization-mode
23− # --healthz-bind-address
24− # --healthz-port
25− # --allow-privileged
26− # --cluster-dns
27− # --cluster-domain
28− # --hairpin-mode
29− # --feature-gates
30− kubeletConfig = pkgs.runCommand "kubelet-config.yaml" { } ''
31− echo > $out ${pkgs.lib.escapeShellArg (builtins.toJSON {
32− kind = "KubeletConfiguration";
33− apiVersion = "kubelet.config.k8s.io/v1beta1";
34− ${if cfg.kubelet.applyManifests then "staticPodPath" else null} =
35− manifests;
36− })}
37− '';
38−
39− infraContainer = pkgs.dockerTools.buildImage {
40− name = "pause";
41− tag = "latest";
42− contents = cfg.package.pause;
43− config.Cmd = "/bin/pause";
44− };
45−
46− mkKubeConfig = name: cfg: pkgs.writeText "${name}-kubeconfig" (builtins.toJSON {
8+ mkKubeConfig = name: conf: pkgs.writeText "${name}-kubeconfig" (builtins.toJSON {
479 apiVersion = "v1";
4810 kind = "Config";
4911 clusters = [{
5012 name = "local";
51− cluster.certificate-authority = cfg.caFile;
52− cluster.server = cfg.server;
13+ cluster.certificate-authority = conf.caFile or cfg.caFile;
14+ cluster.server = conf.server;
5315 }];
5416 users = [{
55− name = "kubelet";
17+ inherit name;
5618 user = {
57− client-certificate = cfg.certFile;
58− client-key = cfg.keyFile;
19+ client-certificate = conf.certFile;
20+ client-key = conf.keyFile;
5921 };
6022 }];
6123 contexts = [{
6224 context = {
6325 cluster = "local";
64− user = "kubelet";
26+ user = name;
6527 };
66− current-context = "kubelet-context";
28+ current-context = "local";
6729 }];
6830 });
6931
32+ caCert = secret "ca";
33+
34+ etcdEndpoints = ["https://${cfg.masterAddress}:2379"];
35+
36+ mkCert = { name, CN, hosts ? [], fields ? {}, action ? "",
37+ privateKeyOwner ? "kubernetes" }: rec {
38+ inherit name caCert CN hosts fields action;
39+ cert = secret name;
40+ key = secret "${name}-key";
41+ privateKeyOptions = {
42+ owner = privateKeyOwner;
43+ group = "nogroup";
44+ mode = "0600";
45+ path = key;
46+ };
47+ };
48+
49+ secret = name: "${cfg.secretsPath}/${name}.pem";
50+
7051 mkKubeConfigOptions = prefix: {
7152 server = mkOption {
7253 description = "${prefix} kube-apiserver server address.";
73− default = "http://${if cfg.apiserver.advertiseAddress != null
74− then cfg.apiserver.advertiseAddress
75− else "127.0.0.1"}:${toString cfg.apiserver.port}";
7654 type = types.str;
7755 };
7856
@@ -101,66 +79,6 @@ let
10179 certFile = mkDefault cfg.kubeconfig.certFile;
10280 keyFile = mkDefault cfg.kubeconfig.keyFile;
10381 };
104−
105− cniConfig =
106− if cfg.kubelet.cni.config != [] && !(isNull cfg.kubelet.cni.configDir) then
107− throw "Verbatim CNI-config and CNI configDir cannot both be set."
108− else if !(isNull cfg.kubelet.cni.configDir) then
109− cfg.kubelet.cni.configDir
110− else
111− (pkgs.buildEnv {
112− name = "kubernetes-cni-config";
113− paths = imap (i: entry:
114− pkgs.writeTextDir "${toString (10+i)}-${entry.type}.conf" (builtins.toJSON entry)
115− ) cfg.kubelet.cni.config;
116− });
117−
118− manifests = pkgs.buildEnv {
119− name = "kubernetes-manifests";
120− paths = mapAttrsToList (name: manifest:
121− pkgs.writeTextDir "${name}.json" (builtins.toJSON manifest)
122− ) cfg.kubelet.manifests;
123− };
124−
125− addons = pkgs.runCommand "kubernetes-addons" { } ''
126− mkdir -p $out
127− # since we are mounting the addons to the addon manager, they need to be copied
128− ${concatMapStringsSep ";" (a: "cp -v ${a}/* $out/") (mapAttrsToList (name: addon:
129− pkgs.writeTextDir "${name}.json" (builtins.toJSON addon)
130− ) (cfg.addonManager.addons))}
131− '';
132−
133− taintOptions = { name, ... }: {
134− options = {
135− key = mkOption {
136− description = "Key of taint.";
137− default = name;
138− type = types.str;
139− };
140− value = mkOption {
141− description = "Value of taint.";
142− type = types.str;
143− };
144− effect = mkOption {
145− description = "Effect of taint.";
146− example = "NoSchedule";
147− type = types.enum ["NoSchedule" "PreferNoSchedule" "NoExecute"];
148− };
149− };
150− };
151−
152− taints = concatMapStringsSep "," (v: "${v.key}=${v.value}:${v.effect}") (mapAttrsToList (n: v: v) cfg.kubelet.taints);
153−
154− # needed for flannel to pass options to docker
155− mkDockerOpts = pkgs.runCommand "mk-docker-opts" {
156− buildInputs = [ pkgs.makeWrapper ];
157− } ''
158− mkdir -p $out
159− cp ${pkgs.kubernetes.src}/cluster/centos/node/bin/mk-docker-opts.sh $out/mk-docker-opts.sh
160−
161− # bashInteractive needed for `compgen`
162− makeWrapper ${pkgs.bashInteractive}/bin/bash $out/mk-docker-opts --add-flags "$out/mk-docker-opts.sh"
163− '';
16482in {
16583
16684 ###### interface
@@ -170,8 +88,9 @@ in {
17088 description = ''
17189 Kubernetes role that this machine should take.
17290
173− Master role will enable etcd, apiserver, scheduler and controller manager
174− services. Node role will enable etcd, docker, kubelet and proxy services.
91+ Master role will enable etcd, apiserver, scheduler, controller manager
92+ addon manager, flannel and proxy services.
93+ Node role will enable flannel, docker, kubelet and proxy services.
17594 '';
17695 default = [];
17796 type = types.listOf (types.enum ["master" "node"]);
@@ -184,40 +103,17 @@ in {
184103 defaultText = "pkgs.kubernetes";
185104 };
186105
187− verbose = mkOption {
188− description = "Kubernetes enable verbose mode for debugging.";
189− default = false;
190− type = types.bool;
191− };
192−
193− etcd = {
194− servers = mkOption {
195− description = "List of etcd servers. By default etcd is started, except if this option is changed.";
196− default = ["http://127.0.0.1:2379"];
197− type = types.listOf types.str;
198− };
199−
200− keyFile = mkOption {
201− description = "Etcd key file.";
202− default = null;
203− type = types.nullOr types.path;
204− };
205−
206− certFile = mkOption {
207− description = "Etcd cert file.";
208− default = null;
209− type = types.nullOr types.path;
210− };
106+ kubeconfig = mkKubeConfigOptions "Default kubeconfig";
211107
212− caFile = mkOption {
213− description = "Etcd ca file.";
214− default = cfg.caFile;
215− type = types.nullOr types.path;
216− };
108+ apiserverAddress = mkOption {
109+ description = ''
110+ Clusterwide accessible address for the kubernetes apiserver,
111+ including protocol and optional port.
112+ '';
113+ example = "https://kubernetes-apiserver.example.com:6443";
114+ type = types.str;
217115 };
218116
219− kubeconfig = mkKubeConfigOptions "Default kubeconfig";
220−
221117 caFile = mkOption {
222118 description = "Default kubernetes certificate authority";
223119 type = types.nullOr types.path;
@@ -230,549 +126,22 @@ in {
230126 type = types.path;
231127 };
232128
129+ easyCerts = mkOption {
130+ description = "Automatically setup x509 certificates and keys for the entire cluster.";
131+ default = false;
132+ type = types.bool;
133+ };
134+
233135 featureGates = mkOption {
234− description = "List set of feature gates";
136+ description = "List set of feature gates.";
235137 default = [];
236138 type = types.listOf types.str;
237139 };
238140
239− apiserver = {
240− enable = mkOption {
241− description = "Whether to enable Kubernetes apiserver.";
242− default = false;
243− type = types.bool;
244− };
245−
246− featureGates = mkOption {
247− description = "List set of feature gates";
248− default = cfg.featureGates;
249− type = types.listOf types.str;
250− };
251−
252− bindAddress = mkOption {
253− description = ''
254− The IP address on which to listen for the --secure-port port.
255− The associated interface(s) must be reachable by the rest
256− of the cluster, and by CLI/web clients.
257− '';
258− default = "0.0.0.0";
259− type = types.str;
260− };
261−
262− advertiseAddress = mkOption {
263− description = ''
264− Kubernetes apiserver IP address on which to advertise the apiserver
265− to members of the cluster. This address must be reachable by the rest
266− of the cluster.
267− '';
268− default = null;
269− type = types.nullOr types.str;
270− };
271−
272− storageBackend = mkOption {
273− description = ''
274− Kubernetes apiserver storage backend.
275− '';
276− default = "etcd3";
277− type = types.enum ["etcd2" "etcd3"];
278− };
279−
280− port = mkOption {
281− description = "Kubernetes apiserver listening port.";
282− default = 8080;
283− type = types.int;
284− };
285−
286− securePort = mkOption {
287− description = "Kubernetes apiserver secure port.";
288− default = 443;
289− type = types.int;
290− };
291−
292− tlsCertFile = mkOption {
293− description = "Kubernetes apiserver certificate file.";
294− default = null;
295− type = types.nullOr types.path;
296− };
297−
298− tlsKeyFile = mkOption {
299− description = "Kubernetes apiserver private key file.";
300− default = null;
301− type = types.nullOr types.path;
302− };
303−
304− clientCaFile = mkOption {
305− description = "Kubernetes apiserver CA file for client auth.";
306− default = cfg.caFile;
307− type = types.nullOr types.path;
308− };
309−
310− tokenAuthFile = mkOption {
311− description = ''
312− Kubernetes apiserver token authentication file. See
313− <link xlink:href="https://kubernetes.io/docs/reference/access-authn-authz/authentication"/>
314− '';
315− default = null;
316− type = types.nullOr types.path;
317− };
318−
319− basicAuthFile = mkOption {
320− description = ''
321− Kubernetes apiserver basic authentication file. See
322− <link xlink:href="https://kubernetes.io/docs/reference/access-authn-authz/authentication"/>
323− '';
324− default = pkgs.writeText "users" ''
325− kubernetes,admin,0
326− '';
327− type = types.nullOr types.path;
328− };
329−
330− authorizationMode = mkOption {
331− description = ''
332− Kubernetes apiserver authorization mode (AlwaysAllow/AlwaysDeny/ABAC/Webhook/RBAC/Node). See
333− <link xlink:href="https://kubernetes.io/docs/reference/access-authn-authz/authorization/"/>
334− '';
335− default = ["RBAC" "Node"];
336− type = types.listOf (types.enum ["AlwaysAllow" "AlwaysDeny" "ABAC" "Webhook" "RBAC" "Node"]);
337− };
338−
339− authorizationPolicy = mkOption {
340− description = ''
341− Kubernetes apiserver authorization policy file. See
342− <link xlink:href="https://kubernetes.io/docs/reference/access-authn-authz/authorization/"/>
343− '';
344− default = [];
345− type = types.listOf types.attrs;
346− };
347−
348− webhookConfig = mkOption {
349− description = ''
350− Kubernetes apiserver Webhook config file. It uses the kubeconfig file format.
351− See <link xlink:href="https://kubernetes.io/docs/reference/access-authn-authz/webhook/"/>
352− '';
353− default = null;
354− type = types.nullOr types.path;
355− };
356−
357− allowPrivileged = mkOption {
358− description = "Whether to allow privileged containers on Kubernetes.";
359− default = true;
360− type = types.bool;
361− };
362−
363− serviceClusterIpRange = mkOption {
364− description = ''
365− A CIDR notation IP range from which to assign service cluster IPs.
366− This must not overlap with any IP ranges assigned to nodes for pods.
367− '';
368− default = "10.0.0.0/24";
369− type = types.str;
370− };
371−
372− runtimeConfig = mkOption {
373− description = ''
374− Api runtime configuration. See
375− <link xlink:href="https://kubernetes.io/docs/tasks/administer-cluster/cluster-management/"/>
376− '';
377− default = "authentication.k8s.io/v1beta1=true";
378− example = "api/all=false,api/v1=true";
379− type = types.str;
380− };
381−
382− enableAdmissionPlugins = mkOption {
383− description = ''
384− Kubernetes admission control plugins to enable. See
385− <link xlink:href="https://kubernetes.io/docs/admin/admission-controllers/"/>
386− '';
387− default = ["NamespaceLifecycle" "LimitRanger" "ServiceAccount" "ResourceQuota" "DefaultStorageClass" "DefaultTolerationSeconds" "NodeRestriction"];
388− example = [
389− "NamespaceLifecycle" "NamespaceExists" "LimitRanger"
390− "SecurityContextDeny" "ServiceAccount" "ResourceQuota"
391− "PodSecurityPolicy" "NodeRestriction" "DefaultStorageClass"
392− ];
393− type = types.listOf types.str;
394− };
395−
396− disableAdmissionPlugins = mkOption {
397− description = ''
398− Kubernetes admission control plugins to disable. See
399− <link xlink:href="https://kubernetes.io/docs/admin/admission-controllers/"/>
400− '';
401− default = [];
402− type = types.listOf types.str;
403− };
404−
405− serviceAccountKeyFile = mkOption {
406− description = ''
407− Kubernetes apiserver PEM-encoded x509 RSA private or public key file,
408− used to verify ServiceAccount tokens. By default tls private key file
409− is used.
410− '';
411− default = null;
412− type = types.nullOr types.path;
413− };
414−
415− kubeletClientCaFile = mkOption {
416− description = "Path to a cert file for connecting to kubelet.";
417− default = cfg.caFile;
418− type = types.nullOr types.path;
419− };
420−
421− kubeletClientCertFile = mkOption {
422− description = "Client certificate to use for connections to kubelet.";
423− default = null;
424− type = types.nullOr types.path;
425− };
426−
427− kubeletClientKeyFile = mkOption {
428− description = "Key to use for connections to kubelet.";
429− default = null;
430− type = types.nullOr types.path;
431− };
432−
433− kubeletHttps = mkOption {
434− description = "Whether to use https for connections to kubelet.";
435− default = true;
436− type = types.bool;
437− };
438−
439− extraOpts = mkOption {
440− description = "Kubernetes apiserver extra command line options.";
441− default = "";
442− type = types.str;
443− };
444− };
445−
446− scheduler = {
447− enable = mkOption {
448− description = "Whether to enable Kubernetes scheduler.";
449− default = false;
450− type = types.bool;
451− };
452−
453− featureGates = mkOption {
454− description = "List set of feature gates";
455− default = cfg.featureGates;
456− type = types.listOf types.str;
457− };
458−
459− address = mkOption {
460− description = "Kubernetes scheduler listening address.";
461− default = "127.0.0.1";
462− type = types.str;
463− };
464−
465− port = mkOption {
466− description = "Kubernetes scheduler listening port.";
467− default = 10251;
468− type = types.int;
469− };
470−
471− leaderElect = mkOption {
472− description = "Whether to start leader election before executing main loop.";
473− type = types.bool;
474− default = true;
475− };
476−
477− kubeconfig = mkKubeConfigOptions "Kubernetes scheduler";
478−
479− extraOpts = mkOption {
480− description = "Kubernetes scheduler extra command line options.";
481− default = "";
482− type = types.str;
483− };
484− };
485−
486− controllerManager = {
487− enable = mkOption {
488− description = "Whether to enable Kubernetes controller manager.";
489− default = false;
490− type = types.bool;
491− };
492−
493− featureGates = mkOption {
494− description = "List set of feature gates";
495− default = cfg.featureGates;
496− type = types.listOf types.str;
497− };
498−
499− address = mkOption {
500− description = "Kubernetes controller manager listening address.";
501− default = "127.0.0.1";
502− type = types.str;
503− };
504−
505− port = mkOption {
506− description = "Kubernetes controller manager listening port.";
507− default = 10252;
508− type = types.int;
509− };
510−
511− leaderElect = mkOption {
512− description = "Whether to start leader election before executing main loop.";
513− type = types.bool;
514− default = true;
515− };
516−
517− serviceAccountKeyFile = mkOption {
518− description = ''
519− Kubernetes controller manager PEM-encoded private RSA key file used to
520− sign service account tokens
521− '';
522− default = null;
523− type = types.nullOr types.path;
524− };
525−
526− rootCaFile = mkOption {
527− description = ''
528− Kubernetes controller manager certificate authority file included in
529− service account's token secret.
530− '';
531− default = cfg.caFile;
532− type = types.nullOr types.path;
533− };
534−
535− kubeconfig = mkKubeConfigOptions "Kubernetes controller manager";
536−
537− extraOpts = mkOption {
538− description = "Kubernetes controller manager extra command line options.";
539− default = "";
540− type = types.str;
541− };
542− };
543−
544− kubelet = {
545− enable = mkOption {
546− description = "Whether to enable Kubernetes kubelet.";
547− default = false;
548− type = types.bool;
549− };
550−
551− featureGates = mkOption {
552− description = "List set of feature gates";
553− default = cfg.featureGates;
554− type = types.listOf types.str;
555− };
556−
557− seedDockerImages = mkOption {
558− description = "List of docker images to preload on system";
559− default = [];
560− type = types.listOf types.package;
561− };
562−
563− registerNode = mkOption {
564− description = "Whether to auto register kubelet with API server.";
565− default = true;
566− type = types.bool;
567− };
568−
569− address = mkOption {
570− description = "Kubernetes kubelet info server listening address.";
571− default = "0.0.0.0";
572− type = types.str;
573− };
574−
575− port = mkOption {
576− description = "Kubernetes kubelet info server listening port.";
577− default = 10250;
578− type = types.int;
579− };
580−
581− tlsCertFile = mkOption {
582− description = "File containing x509 Certificate for HTTPS.";
583− default = null;
584− type = types.nullOr types.path;
585− };
586−
587− tlsKeyFile = mkOption {
588− description = "File containing x509 private key matching tlsCertFile.";
589− default = null;
590− type = types.nullOr types.path;
591− };
592−
593− clientCaFile = mkOption {
594− description = "Kubernetes apiserver CA file for client authentication.";
595− default = cfg.caFile;
596− type = types.nullOr types.path;
597− };
598−
599− healthz = {
600− bind = mkOption {
601− description = "Kubernetes kubelet healthz listening address.";
602− default = "127.0.0.1";
603− type = types.str;
604− };
605−
606− port = mkOption {
607− description = "Kubernetes kubelet healthz port.";
608− default = 10248;
609− type = types.int;
610− };
611− };
612−
613− hostname = mkOption {
614− description = "Kubernetes kubelet hostname override.";
615− default = config.networking.hostName;
616− type = types.str;
617− };
618−
619− allowPrivileged = mkOption {
620− description = "Whether to allow Kubernetes containers to request privileged mode.";
621− default = true;
622− type = types.bool;
623− };
624−
625− clusterDns = mkOption {
626− description = "Use alternative DNS.";
627− default = "10.1.0.1";
628− type = types.str;
629− };
630−
631− clusterDomain = mkOption {
632− description = "Use alternative domain.";
633− default = config.services.kubernetes.addons.dns.clusterDomain;
634− type = types.str;
635− };
636−
637− networkPlugin = mkOption {
638− description = "Network plugin to use by Kubernetes.";
639− type = types.nullOr (types.enum ["cni" "kubenet"]);
640− default = "kubenet";
641− };
642−
643− cni = {
644− packages = mkOption {
645− description = "List of network plugin packages to install.";
646− type = types.listOf types.package;
647− default = [];
648− };
649−
650− config = mkOption {
651− description = "Kubernetes CNI configuration.";
652− type = types.listOf types.attrs;
653− default = [];
654− example = literalExample ''
655− [{
656− "cniVersion": "0.2.0",
657− "name": "mynet",
658− "type": "bridge",
659− "bridge": "cni0",
660− "isGateway": true,
661− "ipMasq": true,
662− "ipam": {
663− "type": "host-local",
664− "subnet": "10.22.0.0/16",
665− "routes": [
666− { "dst": "0.0.0.0/0" }
667− ]
668− }
669− } {
670− "cniVersion": "0.2.0",
671− "type": "loopback"
672− }]
673− '';
674− };
675−
676− configDir = mkOption {
677− description = "Path to Kubernetes CNI configuration directory.";
678− type = types.nullOr types.path;
679− default = null;
680− };
681− };
682−
683− manifests = mkOption {
684− description = "List of manifests to bootstrap with kubelet (only pods can be created as manifest entry)";
685− type = types.attrsOf types.attrs;
686− default = {};
687− };
688−
689− applyManifests = mkOption {
690− description = "Whether to apply manifests (this is true for master node).";
691− default = false;
692− type = types.bool;
693− };
694−
695− unschedulable = mkOption {
696− description = "Whether to set node taint to unschedulable=true as it is the case of node that has only master role.";
697− default = false;
698− type = types.bool;
699− };
700−
701− taints = mkOption {
702− description = "Node taints (https://kubernetes.io/docs/concepts/configuration/assign-pod-node/).";
703− default = {};
704− type = types.attrsOf (types.submodule [ taintOptions ]);
705− };
706−
707− nodeIp = mkOption {
708− description = "IP address of the node. If set, kubelet will use this IP address for the node.";
709− default = null;
710− type = types.nullOr types.str;
711− };
712−
713− kubeconfig = mkKubeConfigOptions "Kubelet";
714−
715− extraOpts = mkOption {
716− description = "Kubernetes kubelet extra command line options.";
717− default = "";
718− type = types.str;
719− };
720− };
721−
722− proxy = {
723− enable = mkOption {
724− description = "Whether to enable Kubernetes proxy.";
725− default = false;
726− type = types.bool;
727− };
728−
729− featureGates = mkOption {
730− description = "List set of feature gates";
731− default = cfg.featureGates;
732− type = types.listOf types.str;
733− };
734−
735− address = mkOption {
736− description = "Kubernetes proxy listening address.";
737− default = "0.0.0.0";
738− type = types.str;
739− };
740−
741− kubeconfig = mkKubeConfigOptions "Kubernetes proxy";
742−
743− extraOpts = mkOption {
744− description = "Kubernetes proxy extra command line options.";
745− default = "";
746− type = types.str;
747− };
748− };
749−
750− addonManager = {
751− enable = mkOption {
752− description = "Whether to enable Kubernetes addon manager.";
753− default = false;
754− type = types.bool;
755− };
756−
757− addons = mkOption {
758− description = "Kubernetes addons (any kind of Kubernetes resource can be an addon).";
759− default = { };
760− type = types.attrsOf (types.either types.attrs (types.listOf types.attrs));
761− example = literalExample ''
762− {
763− "my-service" = {
764− "apiVersion" = "v1";
765− "kind" = "Service";
766− "metadata" = {
767− "name" = "my-service";
768− "namespace" = "default";
769− };
770− "spec" = { ... };
771− };
772− }
773− // import <nixpkgs/nixos/modules/services/cluster/kubernetes/dashboard.nix> { cfg = config.services.kubernetes; };
774− '';
775− };
141+ masterAddress = mkOption {
142+ description = "Clusterwide available network address or hostname for the kubernetes master server.";
143+ example = "master.example.com";
144+ type = types.str;
776145 };
777146
778147 path = mkOption {
@@ -787,304 +156,75 @@ in {
787156 type = types.nullOr types.str;
788157 };
789158
790− flannel.enable = mkOption {
791− description = "Whether to enable flannel networking";
792− default = false;
793− type = types.bool;
159+ lib = mkOption {
160+ description = "Common functions for the kubernetes modules.";
161+ default = {
162+ inherit mkCert;
163+ inherit mkKubeConfig;
164+ inherit mkKubeConfigOptions;
165+ };
166+ type = types.attrs;
794167 };
795168
169+ secretsPath = mkOption {
170+ description = "Default location for kubernetes secrets. Not a store location.";
171+ type = types.path;
172+ default = cfg.dataDir + "/secrets";
173+ };
796174 };
797175
798176 ###### implementation
799177
800178 config = mkMerge [
801− (mkIf cfg.kubelet.enable {
802− services.kubernetes.kubelet.seedDockerImages = [infraContainer];
803−
804− systemd.services.kubelet-bootstrap = {
805− description = "Boostrap Kubelet";
806− wantedBy = ["kubernetes.target"];
807− after = ["docker.service" "network.target"];
808− path = with pkgs; [ docker ];
809− script = ''
810− ${concatMapStrings (img: ''
811− echo "Seeding docker image: ${img}"
812− docker load <${img}
813− '') cfg.kubelet.seedDockerImages}
814−
815− rm /opt/cni/bin/* || true
816− ${concatMapStrings (package: ''
817− echo "Linking cni package: ${package}"
818− ln -fs ${package}/bin/* /opt/cni/bin
819− '') cfg.kubelet.cni.packages}
820− '';
821− serviceConfig = {
822− Slice = "kubernetes.slice";
823− Type = "oneshot";
824− };
825− };
826179
827− systemd.services.kubelet = {
828− description = "Kubernetes Kubelet Service";
829− wantedBy = [ "kubernetes.target" ];
830− after = [ "network.target" "docker.service" "kube-apiserver.service" "kubelet-bootstrap.service" ];
831− path = with pkgs; [ gitMinimal openssh docker utillinux iproute ethtool thin-provisioning-tools iptables socat ] ++ cfg.path;
832− serviceConfig = {
833− Slice = "kubernetes.slice";
834− CPUAccounting = true;
835− MemoryAccounting = true;
836− ExecStart = ''${cfg.package}/bin/kubelet \
837− ${optionalString (taints != "")
838− "--register-with-taints=${taints}"} \
839− --kubeconfig=${mkKubeConfig "kubelet" cfg.kubelet.kubeconfig} \
840− --config=${kubeletConfig} \
841− --address=${cfg.kubelet.address} \
842− --port=${toString cfg.kubelet.port} \
843− --register-node=${boolToString cfg.kubelet.registerNode} \
844− ${optionalString (cfg.kubelet.tlsCertFile != null)
845− "--tls-cert-file=${cfg.kubelet.tlsCertFile}"} \
846− ${optionalString (cfg.kubelet.tlsKeyFile != null)
847− "--tls-private-key-file=${cfg.kubelet.tlsKeyFile}"} \
848− ${optionalString (cfg.kubelet.clientCaFile != null)
849− "--client-ca-file=${cfg.kubelet.clientCaFile}"} \
850− --authentication-token-webhook \
851− --authentication-token-webhook-cache-ttl="10s" \
852− --authorization-mode=Webhook \
853− --healthz-bind-address=${cfg.kubelet.healthz.bind} \
854− --healthz-port=${toString cfg.kubelet.healthz.port} \
855− --hostname-override=${cfg.kubelet.hostname} \
856− --allow-privileged=${boolToString cfg.kubelet.allowPrivileged} \
857− --root-dir=${cfg.dataDir} \
858− ${optionalString (cfg.kubelet.clusterDns != "")
859− "--cluster-dns=${cfg.kubelet.clusterDns}"} \
860− ${optionalString (cfg.kubelet.clusterDomain != "")
861− "--cluster-domain=${cfg.kubelet.clusterDomain}"} \
862− --pod-infra-container-image=pause \
863− ${optionalString (cfg.kubelet.networkPlugin != null)
864− "--network-plugin=${cfg.kubelet.networkPlugin}"} \
865− --cni-conf-dir=${cniConfig} \
866− --hairpin-mode=hairpin-veth \
867− ${optionalString (cfg.kubelet.nodeIp != null)
868− "--node-ip=${cfg.kubelet.nodeIp}"} \
869− ${optionalString (cfg.kubelet.featureGates != [])
870− "--feature-gates=${concatMapStringsSep "," (feature: "${feature}=true") cfg.kubelet.featureGates}"} \
871− ${optionalString cfg.verbose "--v=6 --log_flush_frequency=1s"} \
872− ${cfg.kubelet.extraOpts}
873− '';
874− WorkingDirectory = cfg.dataDir;
875− };
876− };
877−
878− # Allways include cni plugins
879− services.kubernetes.kubelet.cni.packages = [pkgs.cni-plugins];
880−
881− boot.kernelModules = ["br_netfilter"];
882−
883− services.kubernetes.kubelet.kubeconfig = kubeConfigDefaults;
884− })
885−
886− (mkIf (cfg.kubelet.applyManifests && cfg.kubelet.enable) {
887− environment.etc = mapAttrs' (name: manifest:
888− nameValuePair "kubernetes/manifests/${name}.json" {
889− text = builtins.toJSON manifest;
890− mode = "0755";
891− }
892− ) cfg.kubelet.manifests;
893− })
894−
895− (mkIf (cfg.kubelet.unschedulable && cfg.kubelet.enable) {
896− services.kubernetes.kubelet.taints.unschedulable = {
897− value = "true";
898− effect = "NoSchedule";
899− };
900− })
901−
902− (mkIf cfg.apiserver.enable {
903− systemd.services.kube-apiserver = {
904− description = "Kubernetes APIServer Service";
905− wantedBy = [ "kubernetes.target" ];
906− after = [ "network.target" "docker.service" ];
907− serviceConfig = {
908− Slice = "kubernetes.slice";
909− ExecStart = ''${cfg.package}/bin/kube-apiserver \
910− --etcd-servers=${concatStringsSep "," cfg.etcd.servers} \
911− ${optionalString (cfg.etcd.caFile != null)
912− "--etcd-cafile=${cfg.etcd.caFile}"} \
913− ${optionalString (cfg.etcd.certFile != null)
914− "--etcd-certfile=${cfg.etcd.certFile}"} \
915− ${optionalString (cfg.etcd.keyFile != null)
916− "--etcd-keyfile=${cfg.etcd.keyFile}"} \
917− --insecure-port=${toString cfg.apiserver.port} \
918− --bind-address=${cfg.apiserver.bindAddress} \
919− ${optionalString (cfg.apiserver.advertiseAddress != null)
920− "--advertise-address=${cfg.apiserver.advertiseAddress}"} \
921− --allow-privileged=${boolToString cfg.apiserver.allowPrivileged}\
922− ${optionalString (cfg.apiserver.tlsCertFile != null)
923− "--tls-cert-file=${cfg.apiserver.tlsCertFile}"} \
924− ${optionalString (cfg.apiserver.tlsKeyFile != null)
925− "--tls-private-key-file=${cfg.apiserver.tlsKeyFile}"} \
926− ${optionalString (cfg.apiserver.tokenAuthFile != null)
927− "--token-auth-file=${cfg.apiserver.tokenAuthFile}"} \
928− ${optionalString (cfg.apiserver.basicAuthFile != null)
929− "--basic-auth-file=${cfg.apiserver.basicAuthFile}"} \
930− --kubelet-https=${if cfg.apiserver.kubeletHttps then "true" else "false"} \
931− ${optionalString (cfg.apiserver.kubeletClientCaFile != null)
932− "--kubelet-certificate-authority=${cfg.apiserver.kubeletClientCaFile}"} \
933− ${optionalString (cfg.apiserver.kubeletClientCertFile != null)
934− "--kubelet-client-certificate=${cfg.apiserver.kubeletClientCertFile}"} \
935− ${optionalString (cfg.apiserver.kubeletClientKeyFile != null)
936− "--kubelet-client-key=${cfg.apiserver.kubeletClientKeyFile}"} \
937− ${optionalString (cfg.apiserver.clientCaFile != null)
938− "--client-ca-file=${cfg.apiserver.clientCaFile}"} \
939− --authorization-mode=${concatStringsSep "," cfg.apiserver.authorizationMode} \
940− ${optionalString (elem "ABAC" cfg.apiserver.authorizationMode)
941− "--authorization-policy-file=${
942− pkgs.writeText "kube-auth-policy.jsonl"
943− (concatMapStringsSep "\n" (l: builtins.toJSON l) cfg.apiserver.authorizationPolicy)
944− }"
945− } \
946− ${optionalString (elem "Webhook" cfg.apiserver.authorizationMode)
947− "--authorization-webhook-config-file=${cfg.apiserver.webhookConfig}"
948− } \
949− --secure-port=${toString cfg.apiserver.securePort} \
950− --service-cluster-ip-range=${cfg.apiserver.serviceClusterIpRange} \
951− ${optionalString (cfg.apiserver.runtimeConfig != "")
952− "--runtime-config=${cfg.apiserver.runtimeConfig}"} \
953− --enable-admission-plugins=${concatStringsSep "," cfg.apiserver.enableAdmissionPlugins} \
954− --disable-admission-plugins=${concatStringsSep "," cfg.apiserver.disableAdmissionPlugins} \
955− ${optionalString (cfg.apiserver.serviceAccountKeyFile!=null)
956− "--service-account-key-file=${cfg.apiserver.serviceAccountKeyFile}"} \
957− ${optionalString cfg.verbose "--v=6"} \
958− ${optionalString cfg.verbose "--log-flush-frequency=1s"} \
959− --storage-backend=${cfg.apiserver.storageBackend} \
960− ${optionalString (cfg.kubelet.featureGates != [])
961− "--feature-gates=${concatMapStringsSep "," (feature: "${feature}=true") cfg.kubelet.featureGates}"} \
962− ${cfg.apiserver.extraOpts}
963− '';
964− WorkingDirectory = cfg.dataDir;
965− User = "kubernetes";
966− Group = "kubernetes";
967− AmbientCapabilities = "cap_net_bind_service";
968− Restart = "on-failure";
969− RestartSec = 5;
970− };
971− };
180+ (mkIf cfg.easyCerts {
181+ services.kubernetes.pki.enable = mkDefault true;
182+ services.kubernetes.caFile = caCert;
972183 })
973184
974− (mkIf cfg.scheduler.enable {
975− systemd.services.kube-scheduler = {
976− description = "Kubernetes Scheduler Service";
977− wantedBy = [ "kubernetes.target" ];
978− after = [ "kube-apiserver.service" ];
979− serviceConfig = {
980− Slice = "kubernetes.slice";
981− ExecStart = ''${cfg.package}/bin/kube-scheduler \
982− --address=${cfg.scheduler.address} \
983− --port=${toString cfg.scheduler.port} \
984− --leader-elect=${boolToString cfg.scheduler.leaderElect} \
985− --kubeconfig=${mkKubeConfig "kube-scheduler" cfg.scheduler.kubeconfig} \
986− ${optionalString cfg.verbose "--v=6"} \
987− ${optionalString cfg.verbose "--log-flush-frequency=1s"} \
988− ${optionalString (cfg.scheduler.featureGates != [])
989− "--feature-gates=${concatMapStringsSep "," (feature: "${feature}=true") cfg.scheduler.featureGates}"} \
990− ${cfg.scheduler.extraOpts}
991− '';
992− WorkingDirectory = cfg.dataDir;
993− User = "kubernetes";
994− Group = "kubernetes";
995− };
996− };
997−
998− services.kubernetes.scheduler.kubeconfig = kubeConfigDefaults;
999− })
1000−
1001− (mkIf cfg.controllerManager.enable {
1002− systemd.services.kube-controller-manager = {
1003− description = "Kubernetes Controller Manager Service";
1004− wantedBy = [ "kubernetes.target" ];
1005− after = [ "kube-apiserver.service" ];
1006− serviceConfig = {
1007− RestartSec = "30s";
1008− Restart = "on-failure";
1009− Slice = "kubernetes.slice";
1010− ExecStart = ''${cfg.package}/bin/kube-controller-manager \
1011− --address=${cfg.controllerManager.address} \
1012− --port=${toString cfg.controllerManager.port} \
1013− --kubeconfig=${mkKubeConfig "kube-controller-manager" cfg.controllerManager.kubeconfig} \
1014− --leader-elect=${boolToString cfg.controllerManager.leaderElect} \
1015− ${if (cfg.controllerManager.serviceAccountKeyFile!=null)
1016− then "--service-account-private-key-file=${cfg.controllerManager.serviceAccountKeyFile}"
1017− else "--service-account-private-key-file=/var/run/kubernetes/apiserver.key"} \
1018− ${if (cfg.controllerManager.rootCaFile!=null)
1019− then "--root-ca-file=${cfg.controllerManager.rootCaFile}"
1020− else "--root-ca-file=/var/run/kubernetes/apiserver.crt"} \
1021− ${if (cfg.clusterCidr!=null)
1022− then "--cluster-cidr=${cfg.clusterCidr} --allocate-node-cidrs=true"
1023− else "--allocate-node-cidrs=false"} \
1024− ${optionalString (cfg.controllerManager.featureGates != [])
1025− "--feature-gates=${concatMapStringsSep "," (feature: "${feature}=true") cfg.controllerManager.featureGates}"} \
1026− ${optionalString cfg.verbose "--v=6"} \
1027− ${optionalString cfg.verbose "--log-flush-frequency=1s"} \
1028− ${cfg.controllerManager.extraOpts}
1029− '';
1030− WorkingDirectory = cfg.dataDir;
1031− User = "kubernetes";
1032− Group = "kubernetes";
185+ (mkIf (elem "master" cfg.roles) {
186+ services.kubernetes.apiserver.enable = mkDefault true;
187+ services.kubernetes.scheduler.enable = mkDefault true;
188+ services.kubernetes.controllerManager.enable = mkDefault true;
189+ services.kubernetes.addonManager.enable = mkDefault true;
190+ services.kubernetes.proxy.enable = mkDefault true;
191+ services.etcd.enable = true; # Cannot mkDefault because of flannel default options
192+ services.kubernetes.kubelet = {
193+ enable = mkDefault true;
194+ taints = mkIf (!(elem "node" cfg.roles)) {
195+ master = {
196+ key = "node-role.kubernetes.io/master";
197+ value = "true";
198+ effect = "NoSchedule";
199+ };
1033200 };
1034− path = cfg.path;
1035201 };
1036−
1037− services.kubernetes.controllerManager.kubeconfig = kubeConfigDefaults;
1038202 })
1039203
1040− (mkIf cfg.proxy.enable {
1041− systemd.services.kube-proxy = {
1042− description = "Kubernetes Proxy Service";
1043− wantedBy = [ "kubernetes.target" ];
1044− after = [ "kube-apiserver.service" ];
1045− path = [pkgs.iptables pkgs.conntrack_tools];
1046− serviceConfig = {
1047− Slice = "kubernetes.slice";
1048− ExecStart = ''${cfg.package}/bin/kube-proxy \
1049− --kubeconfig=${mkKubeConfig "kube-proxy" cfg.proxy.kubeconfig} \
1050− --bind-address=${cfg.proxy.address} \
1051− ${optionalString (cfg.proxy.featureGates != [])
1052− "--feature-gates=${concatMapStringsSep "," (feature: "${feature}=true") cfg.proxy.featureGates}"} \
1053− ${optionalString cfg.verbose "--v=6"} \
1054− ${optionalString cfg.verbose "--log-flush-frequency=1s"} \
1055− ${optionalString (cfg.clusterCidr!=null)
1056− "--cluster-cidr=${cfg.clusterCidr}"} \
1057− ${cfg.proxy.extraOpts}
1058− '';
1059− WorkingDirectory = cfg.dataDir;
1060− };
1061− };
1062−
1063− # kube-proxy needs iptables
1064− networking.firewall.enable = mkDefault true;
1065204
1066− services.kubernetes.proxy.kubeconfig = kubeConfigDefaults;
205+ (mkIf (all (el: el == "master") cfg.roles) {
206+ # if this node is only a master make it unschedulable by default
207+ services.kubernetes.kubelet.unschedulable = mkDefault true;
1067208 })
1068209
1069− (mkIf (any (el: el == "master") cfg.roles) {
1070− virtualisation.docker.enable = mkDefault true;
210+ (mkIf (elem "node" cfg.roles) {
1071211 services.kubernetes.kubelet.enable = mkDefault true;
1072− services.kubernetes.kubelet.allowPrivileged = mkDefault true;
1073− services.kubernetes.kubelet.applyManifests = mkDefault true;
1074− services.kubernetes.apiserver.enable = mkDefault true;
1075− services.kubernetes.scheduler.enable = mkDefault true;
1076− services.kubernetes.controllerManager.enable = mkDefault true;
1077− services.etcd.enable = mkDefault (cfg.etcd.servers == ["http://127.0.0.1:2379"]);
1078− services.kubernetes.addonManager.enable = mkDefault true;
1079212 services.kubernetes.proxy.enable = mkDefault true;
1080213 })
1081214
1082− # if this node is only a master make it unschedulable by default
1083− (mkIf (all (el: el == "master") cfg.roles) {
1084− services.kubernetes.kubelet.unschedulable = mkDefault true;
215+ # Using "services.kubernetes.roles" will automatically enable easyCerts and flannel
216+ (mkIf (cfg.roles != []) {
217+ services.kubernetes.flannel.enable = mkDefault true;
218+ services.flannel.etcd.endpoints = mkDefault etcdEndpoints;
219+ services.kubernetes.easyCerts = mkDefault true;
220+ })
221+
222+ (mkIf cfg.apiserver.enable {
223+ services.kubernetes.pki.etcClusterAdminKubeconfig = mkDefault "kubernetes/cluster-admin.kubeconfig";
224+ services.kubernetes.apiserver.etcd.servers = mkDefault etcdEndpoints;
1085225 })
1086226
1087− (mkIf (any (el: el == "node") cfg.roles) {
227+ (mkIf cfg.kubelet.enable {
1088228 virtualisation.docker = {
1089229 enable = mkDefault true;
1090230
@@ -1094,26 +234,18 @@ in {
1094234 # iptables must be disabled for kubernetes
1095235 extraOptions = "--iptables=false --ip-masq=false";
1096236 };
1097−
1098− services.kubernetes.kubelet.enable = mkDefault true;
1099− services.kubernetes.proxy.enable = mkDefault true;
1100237 })
1101238
1102− (mkIf cfg.addonManager.enable {
1103− environment.etc."kubernetes/addons".source = "${addons}/";
1104−
1105− systemd.services.kube-addon-manager = {
1106− description = "Kubernetes addon manager";
1107− wantedBy = [ "kubernetes.target" ];
1108− after = [ "kube-apiserver.service" ];
1109− environment.ADDON_PATH = "/etc/kubernetes/addons/";
1110− path = [ pkgs.gawk ];
1111− serviceConfig = {
1112− Slice = "kubernetes.slice";
1113− ExecStart = "${cfg.package}/bin/kube-addons";
1114− WorkingDirectory = cfg.dataDir;
1115− User = "kubernetes";
1116− Group = "kubernetes";
239+ (mkIf (cfg.apiserver.enable || cfg.controllerManager.enable) {
240+ services.kubernetes.pki.certs = {
241+ serviceAccount = mkCert {
242+ name = "service-account";
243+ CN = "system:service-account-signer";
244+ action = ''
245+ systemctl reload \
246+ kube-apiserver.service \
247+ kube-controller-manager.service
248+ '';
1117249 };
1118250 };
1119251 })
@@ -1123,7 +255,8 @@ in {
1123255 cfg.scheduler.enable ||
1124256 cfg.controllerManager.enable ||
1125257 cfg.kubelet.enable ||
1126− cfg.proxy.enable
258+ cfg.proxy.enable ||
259+ cfg.addonManager.enable
1127260 ) {
1128261 systemd.targets.kubernetes = {
1129262 description = "Kubernetes";
@@ -1132,11 +265,10 @@ in {
1132265
1133266 systemd.tmpfiles.rules = [
1134267 "d /opt/cni/bin 0755 root root -"
1135− "d /var/run/kubernetes 0755 kubernetes kubernetes -"
268+ "d /run/kubernetes 0755 kubernetes kubernetes -"
1136269 "d /var/lib/kubernetes 0755 kubernetes kubernetes -"
1137270 ];
1138271
1139− environment.systemPackages = [ cfg.package ];
1140272 users.users = singleton {
1141273 name = "kubernetes";
1142274 uid = config.ids.uids.kubernetes;
@@ -1148,53 +280,12 @@ in {
1148280 };
1149281 users.groups.kubernetes.gid = config.ids.gids.kubernetes;
1150282
1151− # dns addon is enabled by default
283+ # dns addon is enabled by default
1152284 services.kubernetes.addons.dns.enable = mkDefault true;
1153− })
1154285
1155− (mkIf cfg.flannel.enable {
1156− services.flannel = {
1157− enable = mkDefault true;
1158− network = mkDefault cfg.clusterCidr;
1159− etcd = mkDefault {
1160− endpoints = cfg.etcd.servers;
1161− inherit (cfg.etcd) caFile certFile keyFile;
1162− };
1163− };
1164−
1165− services.kubernetes.kubelet = {
1166− networkPlugin = mkDefault "cni";
1167− cni.config = mkDefault [{
1168− name = "mynet";
1169− type = "flannel";
1170− delegate = {
1171− isDefaultGateway = true;
1172− bridge = "docker0";
1173− };
1174− }];
1175− };
1176−
1177− systemd.services."mk-docker-opts" = {
1178− description = "Pre-Docker Actions";
1179− wantedBy = [ "flannel.service" ];
1180− before = [ "docker.service" ];
1181− after = [ "flannel.service" ];
1182− path = [ pkgs.gawk pkgs.gnugrep ];
1183− script = ''
1184− mkdir -p /run/flannel
1185− ${mkDockerOpts}/mk-docker-opts -d /run/flannel/docker
1186− '';
1187− serviceConfig.Type = "oneshot";
1188− };
1189− systemd.services.docker.serviceConfig.EnvironmentFile = "/run/flannel/docker";
1190−
1191− # read environment variables generated by mk-docker-opts
1192− virtualisation.docker.extraOptions = "$DOCKER_OPTS";
1193−
1194− networking.firewall.allowedUDPPorts = [
1195− 8285 # flannel udp
1196− 8472 # flannel vxlan
1197− ];
286+ services.kubernetes.apiserverAddress = mkDefault ("https://${if cfg.apiserver.advertiseAddress != null
287+ then cfg.apiserver.advertiseAddress
288+ else "${cfg.masterAddress}:${toString cfg.apiserver.securePort}"}");
1198289 })
1199290 ];
1200291}
nixos/modules/services/cluster/kubernetes/flannel.nixnew file+134
@@ -0,0 +1,134 @@
1+{ config, lib, pkgs, ... }:
2+
3+with lib;
4+
5+let
6+ top = config.services.kubernetes;
7+ cfg = top.flannel;
8+
9+ # we want flannel to use kubernetes itself as configuration backend, not direct etcd
10+ storageBackend = "kubernetes";
11+
12+ # needed for flannel to pass options to docker
13+ mkDockerOpts = pkgs.runCommand "mk-docker-opts" {
14+ buildInputs = [ pkgs.makeWrapper ];
15+ } ''
16+ mkdir -p $out
17+ cp ${pkgs.kubernetes.src}/cluster/centos/node/bin/mk-docker-opts.sh $out/mk-docker-opts.sh
18+
19+ # bashInteractive needed for `compgen`
20+ makeWrapper ${pkgs.bashInteractive}/bin/bash $out/mk-docker-opts --add-flags "$out/mk-docker-opts.sh"
21+ '';
22+in
23+{
24+ ###### interface
25+ options.services.kubernetes.flannel = {
26+ enable = mkEnableOption "enable flannel networking";
27+ };
28+
29+ ###### implementation
30+ config = mkIf cfg.enable {
31+ services.flannel = {
32+
33+ enable = mkDefault true;
34+ network = mkDefault top.clusterCidr;
35+ inherit storageBackend;
36+ nodeName = config.services.kubernetes.kubelet.hostname;
37+ };
38+
39+ services.kubernetes.kubelet = {
40+ networkPlugin = mkDefault "cni";
41+ cni.config = mkDefault [{
42+ name = "mynet";
43+ type = "flannel";
44+ delegate = {
45+ isDefaultGateway = true;
46+ bridge = "docker0";
47+ };
48+ }];
49+ };
50+
51+ systemd.services."mk-docker-opts" = {
52+ description = "Pre-Docker Actions";
53+ path = with pkgs; [ gawk gnugrep ];
54+ script = ''
55+ ${mkDockerOpts}/mk-docker-opts -d /run/flannel/docker
56+ systemctl restart docker
57+ '';
58+ serviceConfig.Type = "oneshot";
59+ };
60+
61+ systemd.paths."flannel-subnet-env" = {
62+ wantedBy = [ "flannel.service" ];
63+ pathConfig = {
64+ PathModified = "/run/flannel/subnet.env";
65+ Unit = "mk-docker-opts.service";
66+ };
67+ };
68+
69+ systemd.services.docker = {
70+ environment.DOCKER_OPTS = "-b none";
71+ serviceConfig.EnvironmentFile = "-/run/flannel/docker";
72+ };
73+
74+ # read environment variables generated by mk-docker-opts
75+ virtualisation.docker.extraOptions = "$DOCKER_OPTS";
76+
77+ networking = {
78+ firewall.allowedUDPPorts = [
79+ 8285 # flannel udp
80+ 8472 # flannel vxlan
81+ ];
82+ dhcpcd.denyInterfaces = [ "docker*" "flannel*" ];
83+ };
84+
85+ services.kubernetes.pki.certs = {
86+ flannelClient = top.lib.mkCert {
87+ name = "flannel-client";
88+ CN = "flannel-client";
89+ action = "systemctl restart flannel.service";
90+ };
91+ };
92+
93+ # give flannel som kubernetes rbac permissions if applicable
94+ services.kubernetes.addonManager.bootstrapAddons = mkIf ((storageBackend == "kubernetes") && (elem "RBAC" top.apiserver.authorizationMode)) {
95+
96+ flannel-cr = {
97+ apiVersion = "rbac.authorization.k8s.io/v1beta1";
98+ kind = "ClusterRole";
99+ metadata = { name = "flannel"; };
100+ rules = [{
101+ apiGroups = [ "" ];
102+ resources = [ "pods" ];
103+ verbs = [ "get" ];
104+ }
105+ {
106+ apiGroups = [ "" ];
107+ resources = [ "nodes" ];
108+ verbs = [ "list" "watch" ];
109+ }
110+ {
111+ apiGroups = [ "" ];
112+ resources = [ "nodes/status" ];
113+ verbs = [ "patch" ];
114+ }];
115+ };
116+
117+ flannel-crb = {
118+ apiVersion = "rbac.authorization.k8s.io/v1beta1";
119+ kind = "ClusterRoleBinding";
120+ metadata = { name = "flannel"; };
121+ roleRef = {
122+ apiGroup = "rbac.authorization.k8s.io";
123+ kind = "ClusterRole";
124+ name = "flannel";
125+ };
126+ subjects = [{
127+ kind = "User";
128+ name = "flannel-client";
129+ }];
130+ };
131+
132+ };
133+ };
134+}
nixos/modules/services/cluster/kubernetes/kubelet.nixnew file+358
@@ -0,0 +1,358 @@
1+{ config, lib, pkgs, ... }:
2+
3+with lib;
4+
5+let
6+ top = config.services.kubernetes;
7+ cfg = top.kubelet;
8+
9+ cniConfig =
10+ if cfg.cni.config != [] && !(isNull cfg.cni.configDir) then
11+ throw "Verbatim CNI-config and CNI configDir cannot both be set."
12+ else if !(isNull cfg.cni.configDir) then
13+ cfg.cni.configDir
14+ else
15+ (pkgs.buildEnv {
16+ name = "kubernetes-cni-config";
17+ paths = imap (i: entry:
18+ pkgs.writeTextDir "${toString (10+i)}-${entry.type}.conf" (builtins.toJSON entry)
19+ ) cfg.cni.config;
20+ });
21+
22+ infraContainer = pkgs.dockerTools.buildImage {
23+ name = "pause";
24+ tag = "latest";
25+ contents = top.package.pause;
26+ config.Cmd = "/bin/pause";
27+ };
28+
29+ kubeconfig = top.lib.mkKubeConfig "kubelet" cfg.kubeconfig;
30+
31+ manifests = pkgs.buildEnv {
32+ name = "kubernetes-manifests";
33+ paths = mapAttrsToList (name: manifest:
34+ pkgs.writeTextDir "${name}.json" (builtins.toJSON manifest)
35+ ) cfg.manifests;
36+ };
37+
38+ manifestPath = "kubernetes/manifests";
39+
40+ taintOptions = with lib.types; { name, ... }: {
41+ options = {
42+ key = mkOption {
43+ description = "Key of taint.";
44+ default = name;
45+ type = str;
46+ };
47+ value = mkOption {
48+ description = "Value of taint.";
49+ type = str;
50+ };
51+ effect = mkOption {
52+ description = "Effect of taint.";
53+ example = "NoSchedule";
54+ type = enum ["NoSchedule" "PreferNoSchedule" "NoExecute"];
55+ };
56+ };
57+ };
58+
59+ taints = concatMapStringsSep "," (v: "${v.key}=${v.value}:${v.effect}") (mapAttrsToList (n: v: v) cfg.taints);
60+in
61+{
62+ ###### interface
63+ options.services.kubernetes.kubelet = with lib.types; {
64+
65+ address = mkOption {
66+ description = "Kubernetes kubelet info server listening address.";
67+ default = "0.0.0.0";
68+ type = str;
69+ };
70+
71+ allowPrivileged = mkOption {
72+ description = "Whether to allow Kubernetes containers to request privileged mode.";
73+ default = false;
74+ type = bool;
75+ };
76+
77+ clusterDns = mkOption {
78+ description = "Use alternative DNS.";
79+ default = "10.1.0.1";
80+ type = str;
81+ };
82+
83+ clusterDomain = mkOption {
84+ description = "Use alternative domain.";
85+ default = config.services.kubernetes.addons.dns.clusterDomain;
86+ type = str;
87+ };
88+
89+ clientCaFile = mkOption {
90+ description = "Kubernetes apiserver CA file for client authentication.";
91+ default = top.caFile;
92+ type = nullOr path;
93+ };
94+
95+ cni = {
96+ packages = mkOption {
97+ description = "List of network plugin packages to install.";
98+ type = listOf package;
99+ default = [];
100+ };
101+
102+ config = mkOption {
103+ description = "Kubernetes CNI configuration.";
104+ type = listOf attrs;
105+ default = [];
106+ example = literalExample ''
107+ [{
108+ "cniVersion": "0.2.0",
109+ "name": "mynet",
110+ "type": "bridge",
111+ "bridge": "cni0",
112+ "isGateway": true,
113+ "ipMasq": true,
114+ "ipam": {
115+ "type": "host-local",
116+ "subnet": "10.22.0.0/16",
117+ "routes": [
118+ { "dst": "0.0.0.0/0" }
119+ ]
120+ }
121+ } {
122+ "cniVersion": "0.2.0",
123+ "type": "loopback"
124+ }]
125+ '';
126+ };
127+
128+ configDir = mkOption {
129+ description = "Path to Kubernetes CNI configuration directory.";
130+ type = nullOr path;
131+ default = null;
132+ };
133+ };
134+
135+ enable = mkEnableOption "Kubernetes kubelet.";
136+
137+ extraOpts = mkOption {
138+ description = "Kubernetes kubelet extra command line options.";
139+ default = "";
140+ type = str;
141+ };
142+
143+ featureGates = mkOption {
144+ description = "List set of feature gates";
145+ default = top.featureGates;
146+ type = listOf str;
147+ };
148+
149+ healthz = {
150+ bind = mkOption {
151+ description = "Kubernetes kubelet healthz listening address.";
152+ default = "127.0.0.1";
153+ type = str;
154+ };
155+
156+ port = mkOption {
157+ description = "Kubernetes kubelet healthz port.";
158+ default = 10248;
159+ type = int;
160+ };
161+ };
162+
163+ hostname = mkOption {
164+ description = "Kubernetes kubelet hostname override.";
165+ default = config.networking.hostName;
166+ type = str;
167+ };
168+
169+ kubeconfig = top.lib.mkKubeConfigOptions "Kubelet";
170+
171+ manifests = mkOption {
172+ description = "List of manifests to bootstrap with kubelet (only pods can be created as manifest entry)";
173+ type = attrsOf attrs;
174+ default = {};
175+ };
176+
177+ networkPlugin = mkOption {
178+ description = "Network plugin to use by Kubernetes.";
179+ type = nullOr (enum ["cni" "kubenet"]);
180+ default = "kubenet";
181+ };
182+
183+ nodeIp = mkOption {
184+ description = "IP address of the node. If set, kubelet will use this IP address for the node.";
185+ default = null;
186+ type = nullOr str;
187+ };
188+
189+ registerNode = mkOption {
190+ description = "Whether to auto register kubelet with API server.";
191+ default = true;
192+ type = bool;
193+ };
194+
195+ port = mkOption {
196+ description = "Kubernetes kubelet info server listening port.";
197+ default = 10250;
198+ type = int;
199+ };
200+
201+ seedDockerImages = mkOption {
202+ description = "List of docker images to preload on system";
203+ default = [];
204+ type = listOf package;
205+ };
206+
207+ taints = mkOption {
208+ description = "Node taints (https://kubernetes.io/docs/concepts/configuration/assign-pod-node/).";
209+ default = {};
210+ type = attrsOf (submodule [ taintOptions ]);
211+ };
212+
213+ tlsCertFile = mkOption {
214+ description = "File containing x509 Certificate for HTTPS.";
215+ default = null;
216+ type = nullOr path;
217+ };
218+
219+ tlsKeyFile = mkOption {
220+ description = "File containing x509 private key matching tlsCertFile.";
221+ default = null;
222+ type = nullOr path;
223+ };
224+
225+ unschedulable = mkOption {
226+ description = "Whether to set node taint to unschedulable=true as it is the case of node that has only master role.";
227+ default = false;
228+ type = bool;
229+ };
230+
231+ verbosity = mkOption {
232+ description = ''
233+ Optional glog verbosity level for logging statements. See
234+ <link xlink:href="https://github.com/kubernetes/community/blob/master/contributors/devel/logging.md"/>
235+ '';
236+ default = null;
237+ type = nullOr int;
238+ };
239+
240+ };
241+
242+ ###### implementation
243+ config = mkMerge [
244+ (mkIf cfg.enable {
245+ services.kubernetes.kubelet.seedDockerImages = [infraContainer];
246+
247+ systemd.services.kubelet = {
248+ description = "Kubernetes Kubelet Service";
249+ wantedBy = [ "kubernetes.target" ];
250+ after = [ "network.target" "docker.service" "kube-apiserver.service" ];
251+ path = with pkgs; [ gitMinimal openssh docker utillinux iproute ethtool thin-provisioning-tools iptables socat ] ++ top.path;
252+ preStart = ''
253+ ${concatMapStrings (img: ''
254+ echo "Seeding docker image: ${img}"
255+ docker load <${img}
256+ '') cfg.seedDockerImages}
257+
258+ rm /opt/cni/bin/* || true
259+ ${concatMapStrings (package: ''
260+ echo "Linking cni package: ${package}"
261+ ln -fs ${package}/bin/* /opt/cni/bin
262+ '') cfg.cni.packages}
263+ '';
264+ serviceConfig = {
265+ Slice = "kubernetes.slice";
266+ CPUAccounting = true;
267+ MemoryAccounting = true;
268+ Restart = "on-failure";
269+ RestartSec = "1000ms";
270+ ExecStart = ''${top.package}/bin/kubelet \
271+ --address=${cfg.address} \
272+ --allow-privileged=${boolToString cfg.allowPrivileged} \
273+ --authentication-token-webhook \
274+ --authentication-token-webhook-cache-ttl="10s" \
275+ --authorization-mode=Webhook \
276+ ${optionalString (cfg.clientCaFile != null)
277+ "--client-ca-file=${cfg.clientCaFile}"} \
278+ ${optionalString (cfg.clusterDns != "")
279+ "--cluster-dns=${cfg.clusterDns}"} \
280+ ${optionalString (cfg.clusterDomain != "")
281+ "--cluster-domain=${cfg.clusterDomain}"} \
282+ --cni-conf-dir=${cniConfig} \
283+ ${optionalString (cfg.featureGates != [])
284+ "--feature-gates=${concatMapStringsSep "," (feature: "${feature}=true") cfg.featureGates}"} \
285+ --hairpin-mode=hairpin-veth \
286+ --healthz-bind-address=${cfg.healthz.bind} \
287+ --healthz-port=${toString cfg.healthz.port} \
288+ --hostname-override=${cfg.hostname} \
289+ --kubeconfig=${kubeconfig} \
290+ ${optionalString (cfg.networkPlugin != null)
291+ "--network-plugin=${cfg.networkPlugin}"} \
292+ ${optionalString (cfg.nodeIp != null)
293+ "--node-ip=${cfg.nodeIp}"} \
294+ --pod-infra-container-image=pause \
295+ ${optionalString (cfg.manifests != {})
296+ "--pod-manifest-path=/etc/${manifestPath}"} \
297+ --port=${toString cfg.port} \
298+ --register-node=${boolToString cfg.registerNode} \
299+ ${optionalString (taints != "")
300+ "--register-with-taints=${taints}"} \
301+ --root-dir=${top.dataDir} \
302+ ${optionalString (cfg.tlsCertFile != null)
303+ "--tls-cert-file=${cfg.tlsCertFile}"} \
304+ ${optionalString (cfg.tlsKeyFile != null)
305+ "--tls-private-key-file=${cfg.tlsKeyFile}"} \
306+ ${optionalString (cfg.verbosity != null) "--v=${toString cfg.verbosity}"} \
307+ ${cfg.extraOpts}
308+ '';
309+ WorkingDirectory = top.dataDir;
310+ };
311+ };
312+
313+ # Allways include cni plugins
314+ services.kubernetes.kubelet.cni.packages = [pkgs.cni-plugins];
315+
316+ boot.kernelModules = ["br_netfilter"];
317+
318+ services.kubernetes.kubelet.hostname = with config.networking;
319+ mkDefault (hostName + optionalString (!isNull domain) ".${domain}");
320+
321+ services.kubernetes.pki.certs = with top.lib; {
322+ kubelet = mkCert {
323+ name = "kubelet";
324+ CN = top.kubelet.hostname;
325+ action = "systemctl restart kubelet.service";
326+
327+ };
328+ kubeletClient = mkCert {
329+ name = "kubelet-client";
330+ CN = "system:node:${top.kubelet.hostname}";
331+ fields = {
332+ O = "system:nodes";
333+ };
334+ action = "systemctl restart kubelet.service";
335+ };
336+ };
337+
338+ services.kubernetes.kubelet.kubeconfig.server = mkDefault top.apiserverAddress;
339+ })
340+
341+ (mkIf (cfg.enable && cfg.manifests != {}) {
342+ environment.etc = mapAttrs' (name: manifest:
343+ nameValuePair "${manifestPath}/${name}.json" {
344+ text = builtins.toJSON manifest;
345+ mode = "0755";
346+ }
347+ ) cfg.manifests;
348+ })
349+
350+ (mkIf (cfg.unschedulable && cfg.enable) {
351+ services.kubernetes.kubelet.taints.unschedulable = {
352+ value = "true";
353+ effect = "NoSchedule";
354+ };
355+ })
356+
357+ ];
358+}
nixos/modules/services/cluster/kubernetes/pki.nixnew file+388
@@ -0,0 +1,388 @@
1+{ config, lib, pkgs, ... }:
2+
3+with lib;
4+
5+let
6+ top = config.services.kubernetes;
7+ cfg = top.pki;
8+
9+ csrCA = pkgs.writeText "kube-pki-cacert-csr.json" (builtins.toJSON {
10+ key = {
11+ algo = "rsa";
12+ size = 2048;
13+ };
14+ names = singleton cfg.caSpec;
15+ });
16+
17+ csrCfssl = pkgs.writeText "kube-pki-cfssl-csr.json" (builtins.toJSON {
18+ key = {
19+ algo = "rsa";
20+ size = 2048;
21+ };
22+ CN = top.masterAddress;
23+ });
24+
25+ cfsslAPITokenBaseName = "apitoken.secret";
26+ cfsslAPITokenPath = "${config.services.cfssl.dataDir}/${cfsslAPITokenBaseName}";
27+ certmgrAPITokenPath = "${top.secretsPath}/${cfsslAPITokenBaseName}";
28+ cfsslAPITokenLength = 32;
29+
30+ clusterAdminKubeconfig = with cfg.certs.clusterAdmin;
31+ top.lib.mkKubeConfig "cluster-admin" {
32+ server = top.apiserverAddress;
33+ certFile = cert;
34+ keyFile = key;
35+ };
36+
37+ remote = with config.services; "https://${kubernetes.masterAddress}:${toString cfssl.port}";
38+in
39+{
40+ ###### interface
41+ options.services.kubernetes.pki = with lib.types; {
42+
43+ enable = mkEnableOption "Whether to enable easyCert issuer service.";
44+
45+ certs = mkOption {
46+ description = "List of certificate specs to feed to cert generator.";
47+ default = {};
48+ type = attrs;
49+ };
50+
51+ genCfsslCACert = mkOption {
52+ description = ''
53+ Whether to automatically generate cfssl CA certificate and key,
54+ if they don't exist.
55+ '';
56+ default = true;
57+ type = bool;
58+ };
59+
60+ genCfsslAPICerts = mkOption {
61+ description = ''
62+ Whether to automatically generate cfssl API webserver TLS cert and key,
63+ if they don't exist.
64+ '';
65+ default = true;
66+ type = bool;
67+ };
68+
69+ genCfsslAPIToken = mkOption {
70+ description = ''
71+ Whether to automatically generate cfssl API-token secret,
72+ if they doesn't exist.
73+ '';
74+ default = true;
75+ type = bool;
76+ };
77+
78+ pkiTrustOnBootstrap = mkOption {
79+ description = "Whether to always trust remote cfssl server upon initial PKI bootstrap.";
80+ default = true;
81+ type = bool;
82+ };
83+
84+ caCertPathPrefix = mkOption {
85+ description = ''
86+ Path-prefrix for the CA-certificate to be used for cfssl signing.
87+ Suffixes ".pem" and "-key.pem" will be automatically appended for
88+ the public and private keys respectively.
89+ '';
90+ default = "${config.services.cfssl.dataDir}/ca";
91+ type = str;
92+ };
93+
94+ caSpec = mkOption {
95+ description = "Certificate specification for the auto-generated CAcert.";
96+ default = {
97+ CN = "kubernetes-cluster-ca";
98+ O = "NixOS";
99+ OU = "services.kubernetes.pki.caSpec";
100+ L = "auto-generated";
101+ };
102+ type = attrs;
103+ };
104+
105+ etcClusterAdminKubeconfig = mkOption {
106+ description = ''
107+ Symlink a kubeconfig with cluster-admin privileges to environment path
108+ (/etc/<path>).
109+ '';
110+ default = null;
111+ type = nullOr str;
112+ };
113+
114+ };
115+
116+ ###### implementation
117+ config = mkIf cfg.enable
118+ (let
119+ cfsslCertPathPrefix = "${config.services.cfssl.dataDir}/cfssl";
120+ cfsslCert = "${cfsslCertPathPrefix}.pem";
121+ cfsslKey = "${cfsslCertPathPrefix}-key.pem";
122+ in
123+ {
124+
125+ services.cfssl = mkIf (top.apiserver.enable) {
126+ enable = true;
127+ address = "0.0.0.0";
128+ tlsCert = cfsslCert;
129+ tlsKey = cfsslKey;
130+ configFile = toString (pkgs.writeText "cfssl-config.json" (builtins.toJSON {
131+ signing = {
132+ profiles = {
133+ default = {
134+ usages = ["digital signature"];
135+ auth_key = "default";
136+ expiry = "720h";
137+ };
138+ };
139+ };
140+ auth_keys = {
141+ default = {
142+ type = "standard";
143+ key = "file:${cfsslAPITokenPath}";
144+ };
145+ };
146+ }));
147+ };
148+
149+ systemd.services.cfssl.preStart = with pkgs; with config.services.cfssl; mkIf (top.apiserver.enable)
150+ (concatStringsSep "\n" [
151+ "set -e"
152+ (optionalString cfg.genCfsslCACert ''
153+ if [ ! -f "${cfg.caCertPathPrefix}.pem" ]; then
154+ ${cfssl}/bin/cfssl genkey -initca ${csrCA} | \
155+ ${cfssl}/bin/cfssljson -bare ${cfg.caCertPathPrefix}
156+ fi
157+ '')
158+ (optionalString cfg.genCfsslAPICerts ''
159+ if [ ! -f "${dataDir}/cfssl.pem" ]; then
160+ ${cfssl}/bin/cfssl gencert -ca "${cfg.caCertPathPrefix}.pem" -ca-key "${cfg.caCertPathPrefix}-key.pem" ${csrCfssl} | \
161+ ${cfssl}/bin/cfssljson -bare ${cfsslCertPathPrefix}
162+ fi
163+ '')
164+ (optionalString cfg.genCfsslAPIToken ''
165+ if [ ! -f "${cfsslAPITokenPath}" ]; then
166+ head -c ${toString (cfsslAPITokenLength / 2)} /dev/urandom | od -An -t x | tr -d ' ' >"${cfsslAPITokenPath}"
167+ fi
168+ chown cfssl "${cfsslAPITokenPath}" && chmod 400 "${cfsslAPITokenPath}"
169+ '')]);
170+
171+ systemd.services.kube-certmgr-bootstrap = {
172+ description = "Kubernetes certmgr bootstrapper";
173+ wantedBy = [ "certmgr.service" ];
174+ after = [ "cfssl.target" ];
175+ script = concatStringsSep "\n" [''
176+ set -e
177+
178+ # If there's a cfssl (cert issuer) running locally, then don't rely on user to
179+ # manually paste it in place. Just symlink.
180+ # otherwise, create the target file, ready for users to insert the token
181+
182+ if [ -f "${cfsslAPITokenPath}" ]; then
183+ ln -fs "${cfsslAPITokenPath}" "${certmgrAPITokenPath}"
184+ else
185+ touch "${certmgrAPITokenPath}" && chmod 600 "${certmgrAPITokenPath}"
186+ fi
187+ ''
188+ (optionalString (cfg.pkiTrustOnBootstrap) ''
189+ if [ ! -f "${top.caFile}" ] || [ $(cat "${top.caFile}" | wc -c) -lt 1 ]; then
190+ ${pkgs.curl}/bin/curl --fail-early -f -kd '{}' ${remote}/api/v1/cfssl/info | \
191+ ${pkgs.cfssl}/bin/cfssljson -stdout >${top.caFile}
192+ fi
193+ '')
194+ ];
195+ serviceConfig = {
196+ RestartSec = "10s";
197+ Restart = "on-failure";
198+ };
199+ };
200+
201+ services.certmgr = {
202+ enable = true;
203+ package = pkgs.certmgr-selfsigned;
204+ svcManager = "command";
205+ specs =
206+ let
207+ mkSpec = _: cert: {
208+ inherit (cert) action;
209+ authority = {
210+ inherit remote;
211+ file.path = cert.caCert;
212+ root_ca = cert.caCert;
213+ profile = "default";
214+ auth_key_file = certmgrAPITokenPath;
215+ };
216+ certificate = {
217+ path = cert.cert;
218+ };
219+ private_key = cert.privateKeyOptions;
220+ request = {
221+ inherit (cert) CN hosts;
222+ key = {
223+ algo = "rsa";
224+ size = 2048;
225+ };
226+ names = [ cert.fields ];
227+ };
228+ };
229+ in
230+ mapAttrs mkSpec cfg.certs;
231+ };
232+
233+ #TODO: Get rid of kube-addon-manager in the future for the following reasons
234+ # - it is basically just a shell script wrapped around kubectl
235+ # - it assumes that it is clusterAdmin or can gain clusterAdmin rights through serviceAccount
236+ # - it is designed to be used with k8s system components only
237+ # - it would be better with a more Nix-oriented way of managing addons
238+ systemd.services.kube-addon-manager = mkIf top.addonManager.enable (mkMerge [{
239+ environment.KUBECONFIG = with cfg.certs.addonManager;
240+ top.lib.mkKubeConfig "addon-manager" {
241+ server = top.apiserverAddress;
242+ certFile = cert;
243+ keyFile = key;
244+ };
245+ }
246+
247+ (optionalAttrs (top.addonManager.bootstrapAddons != {}) {
248+ serviceConfig.PermissionsStartOnly = true;
249+ preStart = with pkgs;
250+ let
251+ files = mapAttrsToList (n: v: writeText "${n}.json" (builtins.toJSON v))
252+ top.addonManager.bootstrapAddons;
253+ in
254+ ''
255+ export KUBECONFIG=${clusterAdminKubeconfig}
256+ ${kubectl}/bin/kubectl apply -f ${concatStringsSep " \\\n -f " files}
257+ '';
258+ })]);
259+
260+ environment.etc.${cfg.etcClusterAdminKubeconfig}.source = mkIf (!isNull cfg.etcClusterAdminKubeconfig)
261+ clusterAdminKubeconfig;
262+
263+ environment.systemPackages = mkIf (top.kubelet.enable || top.proxy.enable) [
264+ (pkgs.writeScriptBin "nixos-kubernetes-node-join" ''
265+ set -e
266+ exec 1>&2
267+
268+ if [ $# -gt 0 ]; then
269+ echo "Usage: $(basename $0)"
270+ echo ""
271+ echo "No args. Apitoken must be provided on stdin."
272+ echo "To get the apitoken, execute: 'sudo cat ${certmgrAPITokenPath}' on the master node."
273+ exit 1
274+ fi
275+
276+ if [ $(id -u) != 0 ]; then
277+ echo "Run as root please."
278+ exit 1
279+ fi
280+
281+ read -r token
282+ if [ ''${#token} != ${toString cfsslAPITokenLength} ]; then
283+ echo "Token must be of length ${toString cfsslAPITokenLength}."
284+ exit 1
285+ fi
286+
287+ echo $token > ${certmgrAPITokenPath}
288+ chmod 600 ${certmgrAPITokenPath}
289+
290+ echo "Restarting certmgr..." >&1
291+ systemctl restart certmgr
292+
293+ echo "Waiting for certs to appear..." >&1
294+
295+ ${optionalString top.kubelet.enable ''
296+ while [ ! -f ${cfg.certs.kubelet.cert} ]; do sleep 1; done
297+ echo "Restarting kubelet..." >&1
298+ systemctl restart kubelet
299+ ''}
300+
301+ ${optionalString top.proxy.enable ''
302+ while [ ! -f ${cfg.certs.kubeProxyClient.cert} ]; do sleep 1; done
303+ echo "Restarting kube-proxy..." >&1
304+ systemctl restart kube-proxy
305+ ''}
306+
307+ ${optionalString top.flannel.enable ''
308+ while [ ! -f ${cfg.certs.flannelClient.cert} ]; do sleep 1; done
309+ echo "Restarting flannel..." >&1
310+ systemctl restart flannel
311+ ''}
312+
313+ echo "Node joined succesfully"
314+ '')];
315+
316+ # isolate etcd on loopback at the master node
317+ # easyCerts doesn't support multimaster clusters anyway atm.
318+ services.etcd = with cfg.certs.etcd; {
319+ listenClientUrls = ["https://127.0.0.1:2379"];
320+ listenPeerUrls = ["https://127.0.0.1:2380"];
321+ advertiseClientUrls = ["https://etcd.local:2379"];
322+ initialCluster = ["${top.masterAddress}=https://etcd.local:2380"];
323+ initialAdvertisePeerUrls = ["https://etcd.local:2380"];
324+ certFile = mkDefault cert;
325+ keyFile = mkDefault key;
326+ trustedCaFile = mkDefault caCert;
327+ };
328+ networking.extraHosts = mkIf (config.services.etcd.enable) ''
329+ 127.0.0.1 etcd.${top.addons.dns.clusterDomain} etcd.local
330+ '';
331+
332+ services.flannel = with cfg.certs.flannelClient; {
333+ kubeconfig = top.lib.mkKubeConfig "flannel" {
334+ server = top.apiserverAddress;
335+ certFile = cert;
336+ keyFile = key;
337+ };
338+ };
339+
340+ services.kubernetes = {
341+
342+ apiserver = mkIf top.apiserver.enable (with cfg.certs.apiServer; {
343+ etcd = with cfg.certs.apiserverEtcdClient; {
344+ servers = ["https://etcd.local:2379"];
345+ certFile = mkDefault cert;
346+ keyFile = mkDefault key;
347+ caFile = mkDefault caCert;
348+ };
349+ clientCaFile = mkDefault caCert;
350+ tlsCertFile = mkDefault cert;
351+ tlsKeyFile = mkDefault key;
352+ serviceAccountKeyFile = mkDefault cfg.certs.serviceAccount.cert;
353+ kubeletClientCaFile = mkDefault caCert;
354+ kubeletClientCertFile = mkDefault cfg.certs.apiserverKubeletClient.cert;
355+ kubeletClientKeyFile = mkDefault cfg.certs.apiserverKubeletClient.key;
356+ });
357+ controllerManager = mkIf top.controllerManager.enable {
358+ serviceAccountKeyFile = mkDefault cfg.certs.serviceAccount.key;
359+ rootCaFile = cfg.certs.controllerManagerClient.caCert;
360+ kubeconfig = with cfg.certs.controllerManagerClient; {
361+ certFile = mkDefault cert;
362+ keyFile = mkDefault key;
363+ };
364+ };
365+ scheduler = mkIf top.scheduler.enable {
366+ kubeconfig = with cfg.certs.schedulerClient; {
367+ certFile = mkDefault cert;
368+ keyFile = mkDefault key;
369+ };
370+ };
371+ kubelet = mkIf top.kubelet.enable {
372+ clientCaFile = mkDefault cfg.certs.kubelet.caCert;
373+ tlsCertFile = mkDefault cfg.certs.kubelet.cert;
374+ tlsKeyFile = mkDefault cfg.certs.kubelet.key;
375+ kubeconfig = with cfg.certs.kubeletClient; {
376+ certFile = mkDefault cert;
377+ keyFile = mkDefault key;
378+ };
379+ };
380+ proxy = mkIf top.proxy.enable {
381+ kubeconfig = with cfg.certs.kubeProxyClient; {
382+ certFile = mkDefault cert;
383+ keyFile = mkDefault key;
384+ };
385+ };
386+ };
387+ });
388+}
nixos/modules/services/cluster/kubernetes/proxy.nixnew file+82
@@ -0,0 +1,82 @@
1+{ config, lib, pkgs, ... }:
2+
3+with lib;
4+
5+let
6+ top = config.services.kubernetes;
7+ cfg = top.proxy;
8+in
9+{
10+
11+ ###### interface
12+ options.services.kubernetes.proxy = with lib.types; {
13+
14+ bindAddress = mkOption {
15+ description = "Kubernetes proxy listening address.";
16+ default = "0.0.0.0";
17+ type = str;
18+ };
19+
20+ enable = mkEnableOption "Whether to enable Kubernetes proxy.";
21+
22+ extraOpts = mkOption {
23+ description = "Kubernetes proxy extra command line options.";
24+ default = "";
25+ type = str;
26+ };
27+
28+ featureGates = mkOption {
29+ description = "List set of feature gates";
30+ default = top.featureGates;
31+ type = listOf str;
32+ };
33+
34+ kubeconfig = top.lib.mkKubeConfigOptions "Kubernetes proxy";
35+
36+ verbosity = mkOption {
37+ description = ''
38+ Optional glog verbosity level for logging statements. See
39+ <link xlink:href="https://github.com/kubernetes/community/blob/master/contributors/devel/logging.md"/>
40+ '';
41+ default = null;
42+ type = nullOr int;
43+ };
44+
45+ };
46+
47+ ###### implementation
48+ config = mkIf cfg.enable {
49+ systemd.services.kube-proxy = {
50+ description = "Kubernetes Proxy Service";
51+ wantedBy = [ "kubernetes.target" ];
52+ after = [ "kube-apiserver.service" ];
53+ path = with pkgs; [ iptables conntrack_tools ];
54+ serviceConfig = {
55+ Slice = "kubernetes.slice";
56+ ExecStart = ''${top.package}/bin/kube-proxy \
57+ --bind-address=${cfg.bindAddress} \
58+ ${optionalString (top.clusterCidr!=null)
59+ "--cluster-cidr=${top.clusterCidr}"} \
60+ ${optionalString (cfg.featureGates != [])
61+ "--feature-gates=${concatMapStringsSep "," (feature: "${feature}=true") cfg.featureGates}"} \
62+ --kubeconfig=${top.lib.mkKubeConfig "kube-proxy" cfg.kubeconfig} \
63+ ${optionalString (cfg.verbosity != null) "--v=${toString cfg.verbosity}"} \
64+ ${cfg.extraOpts}
65+ '';
66+ WorkingDirectory = top.dataDir;
67+ Restart = "on-failure";
68+ RestartSec = 5;
69+ };
70+ };
71+
72+ services.kubernetes.pki.certs = {
73+ kubeProxyClient = top.lib.mkCert {
74+ name = "kube-proxy-client";
75+ CN = "system:kube-proxy";
76+ action = "systemctl restart kube-proxy.service";
77+ };
78+ };
79+
80+ services.kubernetes.proxy.kubeconfig.server = mkDefault top.apiserverAddress;
81+ };
82+}
nixos/modules/services/cluster/kubernetes/scheduler.nixnew file+94
@@ -0,0 +1,94 @@
1+{ config, lib, pkgs, ... }:
2+
3+with lib;
4+
5+let
6+ top = config.services.kubernetes;
7+ cfg = top.scheduler;
8+in
9+{
10+ ###### interface
11+ options.services.kubernetes.scheduler = with lib.types; {
12+
13+ address = mkOption {
14+ description = "Kubernetes scheduler listening address.";
15+ default = "127.0.0.1";
16+ type = str;
17+ };
18+
19+ enable = mkEnableOption "Whether to enable Kubernetes scheduler.";
20+
21+ extraOpts = mkOption {
22+ description = "Kubernetes scheduler extra command line options.";
23+ default = "";
24+ type = str;
25+ };
26+
27+ featureGates = mkOption {
28+ description = "List set of feature gates";
29+ default = top.featureGates;
30+ type = listOf str;
31+ };
32+
33+ kubeconfig = top.lib.mkKubeConfigOptions "Kubernetes scheduler";
34+
35+ leaderElect = mkOption {
36+ description = "Whether to start leader election before executing main loop.";
37+ type = bool;
38+ default = true;
39+ };
40+
41+ port = mkOption {
42+ description = "Kubernetes scheduler listening port.";
43+ default = 10251;
44+ type = int;
45+ };
46+
47+ verbosity = mkOption {
48+ description = ''
49+ Optional glog verbosity level for logging statements. See
50+ <link xlink:href="https://github.com/kubernetes/community/blob/master/contributors/devel/logging.md"/>
51+ '';
52+ default = null;
53+ type = nullOr int;
54+ };
55+
56+ };
57+
58+ ###### implementation
59+ config = mkIf cfg.enable {
60+ systemd.services.kube-scheduler = {
61+ description = "Kubernetes Scheduler Service";
62+ wantedBy = [ "kubernetes.target" ];
63+ after = [ "kube-apiserver.service" ];
64+ serviceConfig = {
65+ Slice = "kubernetes.slice";
66+ ExecStart = ''${top.package}/bin/kube-scheduler \
67+ --address=${cfg.address} \
68+ ${optionalString (cfg.featureGates != [])
69+ "--feature-gates=${concatMapStringsSep "," (feature: "${feature}=true") cfg.featureGates}"} \
70+ --kubeconfig=${top.lib.mkKubeConfig "kube-scheduler" cfg.kubeconfig} \
71+ --leader-elect=${boolToString cfg.leaderElect} \
72+ --port=${toString cfg.port} \
73+ ${optionalString (cfg.verbosity != null) "--v=${toString cfg.verbosity}"} \
74+ ${cfg.extraOpts}
75+ '';
76+ WorkingDirectory = top.dataDir;
77+ User = "kubernetes";
78+ Group = "kubernetes";
79+ Restart = "on-failure";
80+ RestartSec = 5;
81+ };
82+ };
83+
84+ services.kubernetes.pki.certs = {
85+ schedulerClient = top.lib.mkCert {
86+ name = "kube-scheduler-client";
87+ CN = "system:kube-scheduler";
88+ action = "systemctl restart kube-scheduler.service";
89+ };
90+ };
91+
92+ services.kubernetes.scheduler.kubeconfig.server = mkDefault top.apiserverAddress;
93+ };
94+}
nixos/modules/services/continuous-integration/buildkite-agent.nix+1−1
@@ -24,7 +24,7 @@ let
2424 EOF
2525 chmod 755 $out/${name}
2626 '';
27− in pkgs.runCommand "buildkite-agent-hooks" {} ''
27+ in pkgs.runCommand "buildkite-agent-hooks" { preferLocalBuild = true; } ''
2828 mkdir $out
2929 ${concatStringsSep "\n" (mapAttrsToList mkHookEntry (filterAttrs (n: v: v != null) cfg.hooks))}
3030 '';
nixos/modules/services/continuous-integration/gitlab-runner.nix+1
@@ -8,6 +8,7 @@ let
88 if (cfg.configFile == null) then
99 (pkgs.runCommand "config.toml" {
1010 buildInputs = [ pkgs.remarshal ];
11+ preferLocalBuild = true;
1112 } ''
1213 remarshal -if json -of toml \
1314 < ${pkgs.writeText "config.json" (builtins.toJSON cfg.configOptions)} \
nixos/modules/services/databases/hbase.nix+1−1
@@ -18,7 +18,7 @@ let
1818 </configuration>
1919 '';
2020
21− configDir = pkgs.runCommand "hbase-config-dir" {} ''
21+ configDir = pkgs.runCommand "hbase-config-dir" { preferLocalBuild = true; } ''
2222 mkdir -p $out
2323 cp ${cfg.package}/conf/* $out/
2424 rm $out/hbase-site.xml
nixos/modules/services/databases/influxdb.nix+1
@@ -98,6 +98,7 @@ let
9898
9999 configFile = pkgs.runCommand "config.toml" {
100100 buildInputs = [ pkgs.remarshal ];
101+ preferLocalBuild = true;
101102 } ''
102103 remarshal -if json -of toml \
103104 < ${pkgs.writeText "config.json" (builtins.toJSON configOptions)} \
nixos/modules/services/databases/openldap.nix+1−1
@@ -146,7 +146,7 @@ in
146146 chown -R "${cfg.user}:${cfg.group}" "${cfg.dataDir}"
147147 '';
148148 serviceConfig.ExecStart =
149− "${openldap.out}/libexec/slapd -d ${cfg.logLevel} " +
149+ "${openldap.out}/libexec/slapd -d '${cfg.logLevel}' " +
150150 "-u '${cfg.user}' -g '${cfg.group}' " +
151151 "-h '${concatStringsSep " " cfg.urlList}' " +
152152 "${configOpts}";
nixos/modules/services/desktops/gnome3/gnome-settings-daemon.nixnew file+45
@@ -0,0 +1,45 @@
1+# GNOME Settings Daemon
2+
3+{ config, lib, pkgs, ... }:
4+
5+with lib;
6+
7+let
8+
9+ cfg = config.services.gnome3.gnome-settings-daemon;
10+
11+in
12+
13+{
14+
15+ ###### interface
16+
17+ options = {
18+
19+ services.gnome3.gnome-settings-daemon = {
20+
21+ enable = mkEnableOption "GNOME Settings Daemon.";
22+
23+ # There are many forks of gnome-settings-daemon
24+ package = mkOption {
25+ type = types.package;
26+ default = pkgs.gnome3.gnome-settings-daemon;
27+ description = "Which gnome-settings-daemon package to use.";
28+ };
29+
30+ };
31+
32+ };
33+
34+
35+ ###### implementation
36+
37+ config = mkIf cfg.enable {
38+
39+ environment.systemPackages = [ cfg.package ];
40+
41+ services.udev.packages = [ cfg.package ];
42+
43+ };
44+
45+}
nixos/modules/services/hardware/acpid.nix+1−1
@@ -21,7 +21,7 @@ let
2121 };
2222 };
2323
24− acpiConfDir = pkgs.runCommand "acpi-events" {}
24+ acpiConfDir = pkgs.runCommand "acpi-events" { preferLocalBuild = true; }
2525 ''
2626 mkdir -p $out
2727 ${
nixos/modules/services/hardware/bolt.nixnew file+34
@@ -0,0 +1,34 @@
1+# Thunderbolt 3 device manager
2+
3+{ config, lib, pkgs, ...}:
4+
5+with lib;
6+
7+{
8+ options = {
9+
10+ services.hardware.bolt = {
11+
12+ enable = mkOption {
13+ type = types.bool;
14+ default = false;
15+ description = ''
16+ Whether to enable Bolt, a userspace daemon to enable
17+ security levels for Thunderbolt 3 on GNU/Linux.
18+
19+ Bolt is used by GNOME 3 to handle Thunderbolt settings.
20+ '';
21+ };
22+
23+ };
24+
25+ };
26+
27+ config = mkIf config.services.hardware.bolt.enable {
28+
29+ environment.systemPackages = [ pkgs.bolt ];
30+ services.udev.packages = [ pkgs.bolt ];
31+ systemd.packages = [ pkgs.bolt ];
32+
33+ };
34+}
nixos/modules/services/hardware/thinkfan.nix+15−5
@@ -47,6 +47,8 @@ let
4747 ${cfg.levels}
4848 '';
4949
50+ thinkfan = pkgs.thinkfan.override { smartSupport = cfg.smartSupport; };
51+
5052in {
5153
5254 options = {
@@ -61,6 +63,15 @@ in {
6163 '';
6264 };
6365
66+ smartSupport = mkOption {
67+ type = types.bool;
68+ default = false;
69+ description = ''
70+ Whether to build thinkfan with SMART support to read temperatures
71+ directly from hard disks.
72+ '';
73+ };
74+
6475 sensors = mkOption {
6576 type = types.lines;
6677 default = ''
@@ -77,7 +88,7 @@ in {
7788 Which may be provided by any hwmon drivers (keyword
7889 hwmon)
7990
80− S.M.A.R.T. (since 0.9 and requires the USE_ATASMART compilation flag)
91+ S.M.A.R.T. (requires smartSupport to be enabled)
8192 Which reads the temperature directly from the hard
8293 disk using libatasmart (keyword atasmart)
8394
@@ -125,18 +136,17 @@ in {
125136
126137 config = mkIf cfg.enable {
127138
128− environment.systemPackages = [ pkgs.thinkfan ];
139+ environment.systemPackages = [ thinkfan ];
129140
130141 systemd.services.thinkfan = {
131142 description = "Thinkfan";
132143 after = [ "basic.target" ];
133144 wantedBy = [ "multi-user.target" ];
134− path = [ pkgs.thinkfan ];
135− serviceConfig.ExecStart = "${pkgs.thinkfan}/bin/thinkfan -n -c ${configFile}";
145+ path = [ thinkfan ];
146+ serviceConfig.ExecStart = "${thinkfan}/bin/thinkfan -n -c ${configFile}";
136147 };
137148
138149 boot.extraModprobeConfig = "options thinkpad_acpi experimental=1 fan_control=1";
139150
140151 };
141−
142152}
nixos/modules/services/hardware/tlp.nix+1
@@ -17,6 +17,7 @@ tlp = pkgs.tlp.override {
1717confFile = pkgs.runCommand "tlp"
1818 { config = cfg.extraConfig;
1919 passAsFile = [ "config" ];
20+ preferLocalBuild = true;
2021 }
2122 ''
2223 cat ${tlp}/etc/default/tlp > $out
nixos/modules/services/logging/logcheck.nix+1−1
@@ -5,7 +5,7 @@ with lib;
55let
66 cfg = config.services.logcheck;
77
8− defaultRules = pkgs.runCommand "logcheck-default-rules" {} ''
8+ defaultRules = pkgs.runCommand "logcheck-default-rules" { preferLocalBuild = true; } ''
99 cp -prd ${pkgs.logcheck}/etc/logcheck $out
1010 chmod u+w $out
1111 rm -r $out/logcheck.*
nixos/modules/services/logging/logstash.nix+4−1
@@ -27,7 +27,10 @@ let
2727
2828 logstashSettingsYml = pkgs.writeText "logstash.yml" cfg.extraSettings;
2929
30− logstashSettingsDir = pkgs.runCommand "logstash-settings" {inherit logstashSettingsYml;} ''
30+ logstashSettingsDir = pkgs.runCommand "logstash-settings" {
31+ inherit logstashSettingsYml;
32+ preferLocalBuild = true;
33+ } ''
3134 mkdir -p $out
3235 ln -s $logstashSettingsYml $out/logstash.yml
3336 '';
nixos/modules/services/mail/davmail.nixnew file+91
@@ -0,0 +1,91 @@
1+{ config, lib, pkgs, ... }:
2+
3+with lib;
4+
5+let
6+
7+ cfg = config.services.davmail;
8+
9+ configType = with types;
10+ either (either (attrsOf configType) str) (either int bool) // {
11+ description = "davmail config type (str, int, bool or attribute set thereof)";
12+ };
13+
14+ toStr = val: if isBool val then boolToString val else toString val;
15+
16+ linesForAttrs = attrs: concatMap (name: let value = attrs.${name}; in
17+ if isAttrs value
18+ then map (line: name + "." + line) (linesForAttrs value)
19+ else [ "${name}=${toStr value}" ]
20+ ) (attrNames attrs);
21+
22+ configFile = pkgs.writeText "davmail.properties" (concatStringsSep "\n" (linesForAttrs cfg.config));
23+
24+in
25+
26+ {
27+ options.services.davmail = {
28+ enable = mkEnableOption "davmail, an MS Exchange gateway";
29+
30+ url = mkOption {
31+ type = types.str;
32+ description = "Outlook Web Access URL to access the exchange server, i.e. the base webmail URL.";
33+ example = "https://outlook.office365.com/EWS/Exchange.asmx";
34+ };
35+
36+ config = mkOption {
37+ type = configType;
38+ default = {};
39+ description = ''
40+ Davmail configuration. Refer to
41+ <link xlink:href="http://davmail.sourceforge.net/serversetup.html"/>
42+ and <link xlink:href="http://davmail.sourceforge.net/advanced.html"/>
43+ for details on supported values.
44+ '';
45+ example = literalExample ''
46+ {
47+ davmail.allowRemote = true;
48+ davmail.imapPort = 55555;
49+ davmail.bindAddress = "10.0.1.2";
50+ davmail.smtpSaveInSent = true;
51+ davmail.folderSizeLimit = 10;
52+ davmail.caldavAutoSchedule = false;
53+ log4j.logger.rootLogger = "DEBUG";
54+ }
55+ '';
56+ };
57+ };
58+
59+ config = mkIf cfg.enable {
60+
61+ services.davmail.config.davmail = mapAttrs (name: mkDefault) {
62+ server = true;
63+ disableUpdateCheck = true;
64+ logFilePath = "/var/log/davmail/davmail.log";
65+ logFileSize = "1MB";
66+ mode = "auto";
67+ url = cfg.url;
68+ caldavPort = 1080;
69+ imapPort = 1143;
70+ ldapPort = 1389;
71+ popPort = 1110;
72+ smtpPort = 1025;
73+ };
74+
75+ systemd.services.davmail = {
76+ description = "DavMail POP/IMAP/SMTP Exchange Gateway";
77+ after = [ "network.target" ];
78+ wantedBy = [ "multi-user.target" ];
79+
80+ serviceConfig = {
81+ Type = "simple";
82+ ExecStart = "${pkgs.davmail}/bin/davmail ${configFile}";
83+ Restart = "on-failure";
84+ DynamicUser = "yes";
85+ LogsDirectory = "davmail";
86+ };
87+ };
88+
89+ environment.systemPackages = [ pkgs.davmail ];
90+ };
91+ }
nixos/modules/services/mail/opensmtpd.nix+1−1
@@ -8,7 +8,7 @@ let
88 conf = pkgs.writeText "smtpd.conf" cfg.serverConfiguration;
99 args = concatStringsSep " " cfg.extraServerArgs;
1010
11− sendmail = pkgs.runCommand "opensmtpd-sendmail" {} ''
11+ sendmail = pkgs.runCommand "opensmtpd-sendmail" { preferLocalBuild = true; } ''
1212 mkdir -p $out/bin
1313 ln -s ${cfg.package}/sbin/smtpctl $out/bin/sendmail
1414 '';
nixos/modules/services/mail/rmilter.nix+2−2
@@ -8,7 +8,7 @@ let
88 postfixCfg = config.services.postfix;
99 cfg = config.services.rmilter;
1010
11− inetSocket = addr: port: "inet:[${toString port}@${addr}]";
11+ inetSocket = addr: port: "inet:${addr}:${toString port}";
1212 unixSocket = sock: "unix:${sock}";
1313
1414 systemdSocket = if cfg.bindSocket.type == "unix" then cfg.bindSocket.path
@@ -97,7 +97,7 @@ in
9797
9898 bindSocket.address = mkOption {
9999 type = types.str;
100− default = "::1";
100+ default = "[::1]";
101101 example = "0.0.0.0";
102102 description = ''
103103 Inet address to listen on.
nixos/modules/services/misc/beanstalkd.nixnew file+52
@@ -0,0 +1,52 @@
1+{ config, lib, pkgs, ... }:
2+
3+with lib;
4+
5+let
6+ cfg = config.services.beanstalkd;
7+ pkg = pkgs.beanstalkd;
8+in
9+
10+{
11+ # interface
12+
13+ options = {
14+ services.beanstalkd = {
15+ enable = mkEnableOption "Enable the Beanstalk work queue.";
16+
17+ listen = {
18+ port = mkOption {
19+ type = types.int;
20+ description = "TCP port that will be used to accept client connections.";
21+ default = 11300;
22+ };
23+
24+ address = mkOption {
25+ type = types.str;
26+ description = "IP address to listen on.";
27+ default = "127.0.0.1";
28+ example = "0.0.0.0";
29+ };
30+ };
31+ };
32+ };
33+
34+ # implementation
35+
36+ config = mkIf cfg.enable {
37+
38+ environment.systemPackages = [ pkg ];
39+
40+ systemd.services.beanstalkd = {
41+ description = "Beanstalk Work Queue";
42+ after = [ "network.target" ];
43+ wantedBy = [ "multi-user.target" ];
44+ serviceConfig = {
45+ DynamicUser = true;
46+ Restart = "always";
47+ ExecStart = "${pkg}/bin/beanstalkd -l ${cfg.listen.address} -p ${toString cfg.listen.port}";
48+ };
49+ };
50+
51+ };
52+}
nixos/modules/services/misc/bepasty.nix+3−3
@@ -2,10 +2,10 @@
22
33with lib;
44let
5− gunicorn = pkgs.pythonPackages.gunicorn;
5+ gunicorn = pkgs.python3Packages.gunicorn;
66 bepasty = pkgs.bepasty;
7− gevent = pkgs.pythonPackages.gevent;
8− python = pkgs.pythonPackages.python;
7+ gevent = pkgs.python3Packages.gevent;
8+ python = pkgs.python3Packages.python;
99 cfg = config.services.bepasty;
1010 user = "bepasty";
1111 group = "bepasty";
nixos/modules/services/misc/gitolite.nix+1−1
@@ -110,7 +110,7 @@ in
110110 config = mkIf cfg.enable (
111111 let
112112 manageGitoliteRc = cfg.extraGitoliteRc != "";
113− rcDir = pkgs.runCommand "gitolite-rc" { } rcDirScript;
113+ rcDir = pkgs.runCommand "gitolite-rc" { preferLocalBuild = true; } rcDirScript;
114114 rcDirScript =
115115 ''
116116 mkdir "$out"
nixos/modules/services/misc/home-assistant.nix+16−6
@@ -9,17 +9,17 @@ let
99 configJSON = pkgs.writeText "configuration.json"
1010 (builtins.toJSON (if cfg.applyDefaultConfig then
1111 (recursiveUpdate defaultConfig cfg.config) else cfg.config));
12− configFile = pkgs.runCommand "configuration.yaml" { } ''
12+ configFile = pkgs.runCommand "configuration.yaml" { preferLocalBuild = true; } ''
1313 ${pkgs.remarshal}/bin/json2yaml -i ${configJSON} -o $out
1414 '';
1515
1616 lovelaceConfigJSON = pkgs.writeText "ui-lovelace.json"
1717 (builtins.toJSON cfg.lovelaceConfig);
18− lovelaceConfigFile = pkgs.runCommand "ui-lovelace.yaml" { } ''
18+ lovelaceConfigFile = pkgs.runCommand "ui-lovelace.yaml" { preferLocalBuild = true; } ''
1919 ${pkgs.remarshal}/bin/json2yaml -i ${lovelaceConfigJSON} -o $out
2020 '';
2121
22− availableComponents = pkgs.home-assistant.availableComponents;
22+ availableComponents = cfg.package.availableComponents;
2323
2424 # Given component "parentConfig.platform", returns whether config.parentConfig
2525 # is a list containing a set with set.platform == "platform".
@@ -29,14 +29,24 @@ let
2929 # platform = "luftdaten";
3030 # ...
3131 # } ];
32+ #
33+ # Beginning with 0.87 Home Assistant is migrating their components to the
34+ # scheme "platform.subComponent", e.g. "hue.light" instead of "light.hue".
35+ # See https://developers.home-assistant.io/blog/2019/02/19/the-great-migration.html.
36+ # Hence, we also check whether we find an entry in the config when interpreting
37+ # the first part of the path as the component.
3238 useComponentPlatform = component:
3339 let
3440 path = splitString "." component;
41+ # old: platform is the last part of path
3542 parentConfig = attrByPath (init path) null cfg.config;
3643 platform = last path;
37− in isList parentConfig && any
38− (item: item.platform or null == platform)
39− parentConfig;
44+ # new: platform is the first part of the path
45+ parentConfig' = attrByPath (tail path) null cfg.config;
46+ platform' = head path;
47+ in
48+ (isList parentConfig && any (item: item.platform or null == platform) parentConfig)
49+ || (isList parentConfig' && any (item: item.platform or null == platform') parentConfig');
4050
4151 # Returns whether component is used in config
4252 useComponent = component:
nixos/modules/services/misc/matrix-synapse.nix+3−7
@@ -651,16 +651,12 @@ in {
651651
652652 services.postgresql.enable = mkIf usePostgresql (mkDefault true);
653653
654− systemd.services.matrix-synapse =
655− let
656− python = (pkgs.python3.withPackages (ps: with ps; [ (ps.toPythonModule cfg.package) ]));
657− in
658− {
654+ systemd.services.matrix-synapse = {
659655 description = "Synapse Matrix homeserver";
660656 after = [ "network.target" "postgresql.service" ];
661657 wantedBy = [ "multi-user.target" ];
662658 preStart = ''
663− ${python.interpreter} -m synapse.app.homeserver \
659+ ${cfg.package}/bin/homeserver \
664660 --config-path ${configFile} \
665661 --keys-directory ${cfg.dataDir} \
666662 --generate-keys
@@ -691,7 +687,7 @@ in {
691687 WorkingDirectory = cfg.dataDir;
692688 PermissionsStartOnly = true;
693689 ExecStart = ''
694− ${python.interpreter} -m synapse.app.homeserver \
690+ ${cfg.package}/bin/homeserver \
695691 ${ concatMapStringsSep "\n " (x: "--config-path ${x} \\") ([ configFile ] ++ cfg.extraConfigFiles) }
696692 --keys-directory ${cfg.dataDir}
697693 '';
nixos/modules/services/misc/nix-daemon.nix+1−1
@@ -33,7 +33,7 @@ let
3333 sh = pkgs.runtimeShell;
3434 binshDeps = pkgs.writeReferencesToFile sh;
3535 in
36− pkgs.runCommand "nix.conf" { extraOptions = cfg.extraOptions; } (''
36+ pkgs.runCommand "nix.conf" { preferLocalBuild = true; extraOptions = cfg.extraOptions; } (''
3737 ${optionalString (!isNix20) ''
3838 extraPaths=$(for i in $(cat ${binshDeps}); do if test -d $i; then echo $i; fi; done)
3939 ''}
nixos/modules/services/misc/redmine.nix+33−41
@@ -234,16 +234,39 @@ in
234234
235235 environment.systemPackages = [ cfg.package ];
236236
237+ # create symlinks for the basic directory layout the redmine package expects
238+ systemd.tmpfiles.rules = [
239+ "d '${cfg.stateDir}' 0750 ${cfg.user} ${cfg.group} - -"
240+ "d '${cfg.stateDir}/cache' 0750 ${cfg.user} ${cfg.group} - -"
241+ "d '${cfg.stateDir}/config' 0750 ${cfg.user} ${cfg.group} - -"
242+ "d '${cfg.stateDir}/files' 0750 ${cfg.user} ${cfg.group} - -"
243+ "d '${cfg.stateDir}/log' 0750 ${cfg.user} ${cfg.group} - -"
244+ "d '${cfg.stateDir}/plugins' 0750 ${cfg.user} ${cfg.group} - -"
245+ "d '${cfg.stateDir}/public' 0750 ${cfg.user} ${cfg.group} - -"
246+ "d '${cfg.stateDir}/public/plugin_assets' 0750 ${cfg.user} ${cfg.group} - -"
247+ "d '${cfg.stateDir}/public/themes' 0750 ${cfg.user} ${cfg.group} - -"
248+ "d '${cfg.stateDir}/tmp' 0750 ${cfg.user} ${cfg.group} - -"
249+
250+ "d /run/redmine - - - - -"
251+ "d /run/redmine/public - - - - -"
252+ "L+ /run/redmine/config - - - - ${cfg.stateDir}/config"
253+ "L+ /run/redmine/files - - - - ${cfg.stateDir}/files"
254+ "L+ /run/redmine/log - - - - ${cfg.stateDir}/log"
255+ "L+ /run/redmine/plugins - - - - ${cfg.stateDir}/plugins"
256+ "L+ /run/redmine/public/plugin_assets - - - - ${cfg.stateDir}/public/plugin_assets"
257+ "L+ /run/redmine/public/themes - - - - ${cfg.stateDir}/public/themes"
258+ "L+ /run/redmine/tmp - - - - ${cfg.stateDir}/tmp"
259+ ];
260+
237261 systemd.services.redmine = {
238262 after = [ "network.target" (if cfg.database.type == "mysql2" then "mysql.service" else "postgresql.service") ];
239263 wantedBy = [ "multi-user.target" ];
240− environment.HOME = "${cfg.package}/share/redmine";
241264 environment.RAILS_ENV = "production";
242265 environment.RAILS_CACHE = "${cfg.stateDir}/cache";
243266 environment.REDMINE_LANG = "en";
244267 environment.SCHEMA = "${cfg.stateDir}/cache/schema.db";
245268 path = with pkgs; [
246− imagemagickBig
269+ imagemagick
247270 bazaar
248271 cvs
249272 darcs
@@ -252,28 +275,16 @@ in
252275 subversion
253276 ];
254277 preStart = ''
255− # ensure cache directory exists for db:migrate command
256− mkdir -p "${cfg.stateDir}/cache"
257−
258− # create the basic directory layout the redmine package expects
259− mkdir -p /run/redmine/public
260−
261− for i in config files log plugins tmp; do
262− mkdir -p "${cfg.stateDir}/$i"
263− ln -fs "${cfg.stateDir}/$i" /run/redmine/
264− done
265−
266− for i in plugin_assets themes; do
267− mkdir -p "${cfg.stateDir}/public/$i"
268− ln -fs "${cfg.stateDir}/public/$i" /run/redmine/public/
269− done
270−
278+ rm -rf "${cfg.stateDir}/plugins/"*
279+ rm -rf "${cfg.stateDir}/public/themes/"*
271280
272281 # start with a fresh config directory
273282 # the config directory is copied instead of linked as some mutable data is stored in there
274− rm -rf "${cfg.stateDir}/config/"*
283+ find "${cfg.stateDir}/config" ! -name "secret_token.rb" -type f -exec rm -f {} +
275284 cp -r ${cfg.package}/share/redmine/config.dist/* "${cfg.stateDir}/config/"
276285
286+ chmod -R u+w "${cfg.stateDir}/config"
287+
277288 # link in the application configuration
278289 ln -fs ${configurationYml} "${cfg.stateDir}/config/configuration.yml"
279290
@@ -282,7 +293,6 @@ in
282293
283294
284295 # link in all user specified themes
285− rm -rf "${cfg.stateDir}/public/themes/"*
286296 for theme in ${concatStringsSep " " (mapAttrsToList unpackTheme cfg.themes)}; do
287297 ln -fs $theme/* "${cfg.stateDir}/public/themes"
288298 done
@@ -292,16 +302,11 @@ in
292302
293303
294304 # link in all user specified plugins
295− rm -rf "${cfg.stateDir}/plugins/"*
296305 for plugin in ${concatStringsSep " " (mapAttrsToList unpackPlugin cfg.plugins)}; do
297306 ln -fs $plugin/* "${cfg.stateDir}/plugins/''${plugin##*-redmine-plugin-}"
298307 done
299308
300309
301− # ensure correct permissions for most files
302− chmod -R ug+rwX,o-rwx+x "${cfg.stateDir}/"
303−
304−
305310 # handle database.passwordFile & permissions
306311 DBPASS=$(head -n1 ${cfg.database.passwordFile})
307312 cp -f ${databaseYml} "${cfg.stateDir}/config/database.yml"
@@ -315,25 +320,13 @@ in
315320 chmod 440 "${cfg.stateDir}/config/initializers/secret_token.rb"
316321 fi
317322
318−
319− # ensure everything is owned by ${cfg.user}
320− chown -R ${cfg.user}:${cfg.group} "${cfg.stateDir}"
321−
322−
323323 # execute redmine required commands prior to starting the application
324− # NOTE: su required in case using mysql socket authentication
325− /run/wrappers/bin/su -s ${pkgs.bash}/bin/bash -m -l redmine -c '${bundle} exec rake db:migrate'
326− /run/wrappers/bin/su -s ${pkgs.bash}/bin/bash -m -l redmine -c '${bundle} exec rake redmine:plugins:migrate'
327− /run/wrappers/bin/su -s ${pkgs.bash}/bin/bash -m -l redmine -c '${bundle} exec rake redmine:load_default_data'
328−
329−
330− # log files don't exist until after first command has been executed
331− # correct ownership of files generated by calling exec rake ...
332− chown -R ${cfg.user}:${cfg.group} "${cfg.stateDir}/log"
324+ ${bundle} exec rake db:migrate
325+ ${bundle} exec rake redmine:plugins:migrate
326+ ${bundle} exec rake redmine:load_default_data
333327 '';
334328
335329 serviceConfig = {
336− PermissionsStartOnly = true; # preStart must be run as root
337330 Type = "simple";
338331 User = cfg.user;
339332 Group = cfg.group;
@@ -348,7 +341,6 @@ in
348341 { name = "redmine";
349342 group = cfg.group;
350343 home = cfg.stateDir;
351− createHome = true;
352344 uid = config.ids.uids.redmine;
353345 });
354346
nixos/modules/services/misc/taskserver/default.nix+1−1
@@ -109,7 +109,7 @@ let
109109 nixos-taskserver = pkgs.pythonPackages.buildPythonApplication {
110110 name = "nixos-taskserver";
111111
112− src = pkgs.runCommand "nixos-taskserver-src" {} ''
112+ src = pkgs.runCommand "nixos-taskserver-src" { preferLocalBuild = true; } ''
113113 mkdir -p "$out"
114114 cat "${pkgs.substituteAll {
115115 src = ./helper-tool.py;
nixos/modules/services/misc/plexpy.nix → nixos/modules/services/misc/tautulli.nixrenamed+18−22
@@ -3,73 +3,69 @@
33with lib;
44
55let
6− cfg = config.services.plexpy;
6+ cfg = config.services.tautulli;
77in
88{
99 options = {
10− services.plexpy = {
11− enable = mkEnableOption "PlexPy Plex Monitor";
10+ services.tautulli = {
11+ enable = mkEnableOption "Tautulli Plex Monitor";
1212
1313 dataDir = mkOption {
1414 type = types.str;
1515 default = "/var/lib/plexpy";
16− description = "The directory where PlexPy stores its data files.";
16+ description = "The directory where Tautulli stores its data files.";
1717 };
1818
1919 configFile = mkOption {
2020 type = types.str;
2121 default = "/var/lib/plexpy/config.ini";
22− description = "The location of PlexPy's config file.";
22+ description = "The location of Tautulli's config file.";
2323 };
2424
2525 port = mkOption {
2626 type = types.int;
2727 default = 8181;
28− description = "TCP port where PlexPy listens.";
28+ description = "TCP port where Tautulli listens.";
2929 };
3030
3131 user = mkOption {
3232 type = types.str;
3333 default = "plexpy";
34− description = "User account under which PlexPy runs.";
34+ description = "User account under which Tautulli runs.";
3535 };
3636
3737 group = mkOption {
3838 type = types.str;
3939 default = "nogroup";
40− description = "Group under which PlexPy runs.";
40+ description = "Group under which Tautulli runs.";
4141 };
4242
4343 package = mkOption {
4444 type = types.package;
45− default = pkgs.plexpy;
46− defaultText = "pkgs.plexpy";
45+ default = pkgs.tautulli;
46+ defaultText = "pkgs.tautulli";
4747 description = ''
48− The PlexPy package to use.
48+ The Tautulli package to use.
4949 '';
5050 };
5151 };
5252 };
5353
5454 config = mkIf cfg.enable {
55− systemd.services.plexpy = {
56− description = "PlexPy Plex Monitor";
55+ systemd.tmpfiles.rules = [
56+ "d '${cfg.dataDir}' - ${cfg.user} ${cfg.group} - -"
57+ ];
58+
59+ systemd.services.tautulli = {
60+ description = "Tautulli Plex Monitor";
5761 after = [ "network.target" ];
5862 wantedBy = [ "multi-user.target" ];
59− preStart = ''
60− test -d "${cfg.dataDir}" || {
61− echo "Creating initial PlexPy data directory in \"${cfg.dataDir}\"."
62− mkdir -p "${cfg.dataDir}"
63− chown ${cfg.user}:${cfg.group} "${cfg.dataDir}"
64− }
65− '';
6663 serviceConfig = {
6764 Type = "simple";
6865 User = cfg.user;
6966 Group = cfg.group;
70− PermissionsStartOnly = "true";
7167 GuessMainPID = "false";
72− ExecStart = "${cfg.package}/bin/plexpy --datadir ${cfg.dataDir} --config ${cfg.configFile} --port ${toString cfg.port} --pidfile ${cfg.dataDir}/plexpy.pid --nolaunch";
68+ ExecStart = "${cfg.package}/bin/tautulli --datadir ${cfg.dataDir} --config ${cfg.configFile} --port ${toString cfg.port} --pidfile ${cfg.dataDir}/tautulli.pid --nolaunch";
7369 Restart = "on-failure";
7470 };
7571 };
nixos/modules/services/misc/zoneminder.nix+10−10
@@ -50,7 +50,7 @@ let
5050 ZM_DB_TYPE=mysql
5151 ZM_DB_HOST=${cfg.database.host}
5252 ZM_DB_NAME=${cfg.database.name}
53− ZM_DB_USER=${cfg.database.username}
53+ ZM_DB_USER=${if cfg.database.createLocally then user else cfg.database.username}
5454 ZM_DB_PASS=${cfg.database.password}
5555
5656 # Web
@@ -205,12 +205,12 @@ in {
205205
206206 mysql = lib.mkIf cfg.database.createLocally {
207207 ensureDatabases = [ cfg.database.name ];
208+ initialDatabases = [{
209+ inherit (cfg.database) name; schema = "${pkg}/share/zoneminder/db/zm_create.sql";
210+ }];
208211 ensureUsers = [{
209212 name = cfg.database.username;
210213 ensurePermissions = { "${cfg.database.name}.*" = "ALL PRIVILEGES"; };
211− initialDatabases = [
212− { inherit (cfg.database) name; schema = "${pkg}/share/zoneminder/db/zm_create.sql"; }
213− ];
214214 }];
215215 };
216216
@@ -275,14 +275,14 @@ in {
275275 };
276276
277277 phpfpm = lib.mkIf useNginx {
278− phpOptions = ''
279− date.timezone = "${config.time.timeZone}"
280−
281− ${lib.concatStringsSep "\n" (map (e:
282− "extension=${e.pkg}/lib/php/extensions/${e.name}.so") phpExtensions)}
283− '';
284278 pools.zoneminder = {
285279 listen = socket;
280+ phpOptions = ''
281+ date.timezone = "${config.time.timeZone}"
282+
283+ ${lib.concatStringsSep "\n" (map (e:
284+ "extension=${e.pkg}/lib/php/extensions/${e.name}.so") phpExtensions)}
285+ '';
286286 extraConfig = ''
287287 user = ${user}
288288 group = ${group}
nixos/modules/services/monitoring/apcupsd.nix+1−1
@@ -45,7 +45,7 @@ let
4545
4646 eventToShellCmds = event: if builtins.hasAttr event cfg.hooks then (shellCmdsForEventScript event (builtins.getAttr event cfg.hooks)) else "";
4747
48− scriptDir = pkgs.runCommand "apcupsd-scriptdir" {} (''
48+ scriptDir = pkgs.runCommand "apcupsd-scriptdir" { preferLocalBuild = true; } (''
4949 mkdir "$out"
5050 # Copy SCRIPTDIR from apcupsd package
5151 cp -r ${pkgs.apcupsd}/etc/apcupsd/* "$out"/
nixos/modules/services/monitoring/datadog-agent.nix+3−3
@@ -202,7 +202,7 @@ in {
202202 };
203203 };
204204 config = mkIf cfg.enable {
205− environment.systemPackages = [ datadogPkg pkgs.sysstat pkgs.procps ];
205+ environment.systemPackages = [ datadogPkg pkgs.sysstat pkgs.procps pkgs.iproute ];
206206
207207 users.extraUsers.datadog = {
208208 description = "Datadog Agent User";
@@ -216,7 +216,7 @@ in {
216216
217217 systemd.services = let
218218 makeService = attrs: recursiveUpdate {
219− path = [ datadogPkg pkgs.python pkgs.sysstat pkgs.procps ];
219+ path = [ datadogPkg pkgs.python pkgs.sysstat pkgs.procps pkgs.iproute ];
220220 wantedBy = [ "multi-user.target" ];
221221 serviceConfig = {
222222 User = "datadog";
@@ -260,7 +260,7 @@ in {
260260 path = [ ];
261261 script = ''
262262 export DD_API_KEY=$(head -n 1 ${cfg.apiKeyFile})
263− ${pkgs.datadog-trace-agent}/bin/trace-agent -config /etc/datadog-agent/datadog.yaml
263+ ${datadogPkg}/bin/trace-agent -config /etc/datadog-agent/datadog.yaml
264264 '';
265265 });
266266
nixos/modules/services/monitoring/graphite.nix+4−2
@@ -9,8 +9,10 @@ let
99 dataDir = cfg.dataDir;
1010 staticDir = cfg.dataDir + "/static";
1111
12− graphiteLocalSettingsDir = pkgs.runCommand "graphite_local_settings"
13− {inherit graphiteLocalSettings;} ''
12+ graphiteLocalSettingsDir = pkgs.runCommand "graphite_local_settings" {
13+ inherit graphiteLocalSettings;
14+ preferLocalBuild = true;
15+ } ''
1416 mkdir -p $out
1517 ln -s $graphiteLocalSettings $out/graphite_local_settings.py
1618 '';
nixos/modules/services/monitoring/hdaps.nix+1
@@ -16,6 +16,7 @@ in
1616 };
1717
1818 config = mkIf cfg.enable {
19+ boot.kernelModules = [ "hdapsd" ];
1920 services.udev.packages = hdapsd;
2021 systemd.packages = hdapsd;
2122 };
nixos/modules/services/monitoring/nagios.nix+4−2
@@ -11,8 +11,10 @@ let
1111
1212 nagiosObjectDefs = cfg.objectDefs;
1313
14− nagiosObjectDefsDir = pkgs.runCommand "nagios-objects" {inherit nagiosObjectDefs;}
15− "mkdir -p $out; ln -s $nagiosObjectDefs $out/";
14+ nagiosObjectDefsDir = pkgs.runCommand "nagios-objects" {
15+ inherit nagiosObjectDefs;
16+ preferLocalBuild = true;
17+ } "mkdir -p $out; ln -s $nagiosObjectDefs $out/";
1618
1719 nagiosCfgFile = pkgs.writeText "nagios.cfg"
1820 ''
nixos/modules/services/monitoring/netdata.nix+1−1
@@ -5,7 +5,7 @@ with lib;
55let
66 cfg = config.services.netdata;
77
8− wrappedPlugins = pkgs.runCommand "wrapped-plugins" {} ''
8+ wrappedPlugins = pkgs.runCommand "wrapped-plugins" { preferLocalBuild = true; } ''
99 mkdir -p $out/libexec/netdata/plugins.d
1010 ln -s /run/wrappers/bin/apps.plugin $out/libexec/netdata/plugins.d/apps.plugin
1111 '';
nixos/modules/services/monitoring/prometheus/alertmanager.nix+2−1
@@ -106,7 +106,8 @@ in {
106106 type = types.str;
107107 default = "";
108108 description = ''
109− Address to listen on for the web interface and API.
109+ Address to listen on for the web interface and API. Empty string will listen on all interfaces.
110+ "localhost" will listen on 127.0.0.1 (but not ::1).
110111 '';
111112 };
112113
nixos/modules/services/monitoring/prometheus/default.nix+1−1
@@ -19,7 +19,7 @@ let
1919
2020 # Pretty-print JSON to a file
2121 writePrettyJSON = name: x:
22− pkgs.runCommand name { } ''
22+ pkgs.runCommand name { preferLocalBuild = true; } ''
2323 echo '${builtins.toJSON x}' | ${pkgs.jq}/bin/jq . > $out
2424 '';
2525
nixos/modules/services/monitoring/scollector.nix+1−1
@@ -5,7 +5,7 @@ with lib;
55let
66 cfg = config.services.scollector;
77
8− collectors = pkgs.runCommand "collectors" {}
8+ collectors = pkgs.runCommand "collectors" { preferLocalBuild = true; }
99 ''
1010 mkdir -p $out
1111 ${lib.concatStringsSep
nixos/modules/services/monitoring/telegraf.nix+1
@@ -7,6 +7,7 @@ let
77
88 configFile = pkgs.runCommand "config.toml" {
99 buildInputs = [ pkgs.remarshal ];
10+ preferLocalBuild = true;
1011 } ''
1112 remarshal -if json -of toml \
1213 < ${pkgs.writeText "config.json" (builtins.toJSON cfg.extraConfig)} \
nixos/modules/services/monitoring/uptime.nix+2−1
@@ -4,7 +4,8 @@ let
44
55 cfg = config.services.uptime;
66
7− configDir = pkgs.runCommand "config" {} (if cfg.configFile != null then ''
7+ configDir = pkgs.runCommand "config" { preferLocalBuild = true; }
8+ (if cfg.configFile != null then ''
89 mkdir $out
910 ext=`echo ${cfg.configFile} | grep -o \\..*`
1011 ln -sv ${cfg.configFile} $out/default$ext
nixos/modules/services/network-filesystems/beegfs.nix+4−1
@@ -102,7 +102,10 @@ let
102102
103103 # wrappers to beegfs tools. Avoid typing path of config files
104104 utilWrappers = mapAttrsToList ( name: cfg:
105− ( pkgs.runCommand "beegfs-utils-${name}" { nativeBuildInputs = [ pkgs.makeWrapper ]; } ''
105+ ( pkgs.runCommand "beegfs-utils-${name}" {
106+ nativeBuildInputs = [ pkgs.makeWrapper ];
107+ preferLocalBuild = true;
108+ } ''
106109 mkdir -p $out/bin
107110
108111 makeWrapper ${pkgs.beegfs}/bin/beegfs-check-servers \
nixos/modules/services/network-filesystems/ipfs.nix+1−1
@@ -19,7 +19,7 @@ let
1919 "/var/lib/ipfs/.ipfs";
2020
2121 # Wrapping the ipfs binary with the environment variable IPFS_PATH set to dataDir because we can't set it in the user environment
22− wrapped = runCommand "ipfs" { buildInputs = [ makeWrapper ]; } ''
22+ wrapped = runCommand "ipfs" { buildInputs = [ makeWrapper ]; preferLocalBuild = true; } ''
2323 mkdir -p "$out/bin"
2424 makeWrapper "${ipfs}/bin/ipfs" "$out/bin/ipfs" \
2525 --set IPFS_PATH ${cfg.dataDir} \
nixos/modules/services/network-filesystems/openafs/client.nix+3−3
@@ -15,7 +15,7 @@ let
1515
1616 clientServDB = pkgs.writeText "client-cellServDB-${cfg.cellName}" (mkCellServDB cfg.cellName cfg.cellServDB);
1717
18− afsConfig = pkgs.runCommand "afsconfig" {} ''
18+ afsConfig = pkgs.runCommand "afsconfig" { preferLocalBuild = true; } ''
1919 mkdir -p $out
2020 echo ${cfg.cellName} > $out/ThisCell
2121 cat ${cellServDB} ${clientServDB} > $out/CellServDB
@@ -155,7 +155,7 @@ in
155155 };
156156 programs = mkOption {
157157 default = getBin pkgs.openafs;
158− defaultText = "config.boot.kernelPackages.openafs";
158+ defaultText = "getBin pkgs.openafs";
159159 type = types.package;
160160 description = "OpenAFS programs package. MUST match the kernel module package!";
161161 };
@@ -198,7 +198,7 @@ in
198198
199199 environment.etc = {
200200 clientCellServDB = {
201− source = pkgs.runCommand "CellServDB" {} ''
201+ source = pkgs.runCommand "CellServDB" { preferLocalBuild = true; } ''
202202 cat ${cellServDB} ${clientServDB} > $out
203203 '';
204204 target = "openafs/CellServDB";
nixos/modules/services/networking/coredns.nixnew file+50
@@ -0,0 +1,50 @@
1+{ config, lib, pkgs, ... }:
2+
3+with lib;
4+
5+let
6+ cfg = config.services.coredns;
7+ configFile = pkgs.writeText "Corefile" cfg.config;
8+in {
9+ options.services.coredns = {
10+ enable = mkEnableOption "Coredns dns server";
11+
12+ config = mkOption {
13+ default = "";
14+ example = ''
15+ . {
16+ whoami
17+ }
18+ '';
19+ type = types.lines;
20+ description = "Verbatim Corefile to use. See <link xlink:href=\"https://coredns.io/manual/toc/#configuration\"/> for details.";
21+ };
22+
23+ package = mkOption {
24+ default = pkgs.coredns;
25+ defaultText = "pkgs.coredns";
26+ type = types.package;
27+ description = "Coredns package to use.";
28+ };
29+ };
30+
31+ config = mkIf cfg.enable {
32+ systemd.services.coredns = {
33+ description = "Coredns dns server";
34+ after = [ "network.target" ];
35+ wantedBy = [ "multi-user.target" ];
36+ serviceConfig = {
37+ PermissionsStartOnly = true;
38+ LimitNPROC = 512;
39+ LimitNOFILE = 1048576;
40+ CapabilityBoundingSet = "cap_net_bind_service";
41+ AmbientCapabilities = "cap_net_bind_service";
42+ NoNewPrivileges = true;
43+ DynamicUser = true;
44+ ExecStart = "${getBin cfg.package}/bin/coredns -conf=${configFile}";
45+ ExecReload = "${pkgs.coreutils}/bin/kill -SIGUSR1 $MAINPID";
46+ Restart = "on-failure";
47+ };
48+ };
49+ };
50+}
nixos/modules/services/networking/dnscache.nix+1−1
@@ -5,7 +5,7 @@ with lib;
55let
66 cfg = config.services.dnscache;
77
8− dnscache-root = pkgs.runCommand "dnscache-root" {} ''
8+ dnscache-root = pkgs.runCommand "dnscache-root" { preferLocalBuild = true; } ''
99 mkdir -p $out/{servers,ip}
1010
1111 ${concatMapStrings (ip: ''
nixos/modules/services/networking/flannel.nix+9−8
@@ -161,7 +161,10 @@ in {
161161 FLANNELD_KUBECONFIG_FILE = cfg.kubeconfig;
162162 NODE_NAME = cfg.nodeName;
163163 };
164− preStart = mkIf (cfg.storageBackend == "etcd") ''
164+ preStart = ''
165+ mkdir -p /run/flannel
166+ touch /run/flannel/docker
167+ '' + optionalString (cfg.storageBackend == "etcd") ''
165168 echo "setting network configuration"
166169 until ${pkgs.etcdctl.bin}/bin/etcdctl set /coreos.com/network/config '${builtins.toJSON networkConfig}'
167170 do
@@ -169,13 +172,11 @@ in {
169172 sleep 1
170173 done
171174 '';
172− postStart = ''
173− while [ ! -f /run/flannel/subnet.env ]
174− do
175− sleep 1
176− done
177− '';
178− serviceConfig.ExecStart = "${cfg.package}/bin/flannel";
175+ serviceConfig = {
176+ ExecStart = "${cfg.package}/bin/flannel";
177+ Restart = "always";
178+ RestartSec = "10s";
179+ };
179180 };
180181
181182 services.etcd.enable = mkDefault (cfg.storageBackend == "etcd" && cfg.etcd.endpoints == ["http://127.0.0.1:2379"]);
nixos/modules/services/networking/gnunet.nix+2−2
@@ -130,7 +130,7 @@ in
130130 group = "gnunet";
131131 description = "GNUnet User";
132132 home = homeDir;
133− createHome = true;
133+ createHome = true;
134134 uid = config.ids.uids.gnunet;
135135 };
136136
@@ -146,7 +146,7 @@ in
146146 wantedBy = [ "multi-user.target" ];
147147 path = [ cfg.package pkgs.miniupnpc ];
148148 environment.TMPDIR = "/tmp";
149− serviceConfig.PrivateTemp = true;
149+ serviceConfig.PrivateTmp = true;
150150 serviceConfig.ExecStart = "${cfg.package}/lib/gnunet/libexec/gnunet-service-arm -c ${configFile}";
151151 serviceConfig.User = "gnunet";
152152 serviceConfig.UMask = "0007";
nixos/modules/services/networking/hylafax/systemd.nix+1−1
@@ -41,7 +41,7 @@ let
4141 "$out/config.${name}"
4242 '';
4343 in
44− pkgs.runCommand "hylafax-config-modems" {}
44+ pkgs.runCommand "hylafax-config-modems" { preferLocalBuild = true; }
4545 ''mkdir --parents "$out/" ${concatStringsSep "\n" (mapModems mkLine)}'';
4646
4747 setupSpoolScript = pkgs.substituteAll {
nixos/modules/services/networking/mosquitto.nix+4−5
@@ -17,7 +17,6 @@ let
1717 '';
1818
1919 mosquittoConf = pkgs.writeText "mosquitto.conf" ''
20− pid_file /run/mosquitto/pid
2120 acl_file ${aclFile}
2221 persistence true
2322 allow_anonymous ${boolToString cfg.allowAnonymous}
@@ -196,15 +195,15 @@ in
196195 wantedBy = [ "multi-user.target" ];
197196 after = [ "network.target" ];
198197 serviceConfig = {
199− Type = "forking";
198+ Type = "notify";
199+ NotifyAccess = "main";
200200 User = "mosquitto";
201201 Group = "mosquitto";
202202 RuntimeDirectory = "mosquitto";
203203 WorkingDirectory = cfg.dataDir;
204204 Restart = "on-failure";
205− ExecStart = "${pkgs.mosquitto}/bin/mosquitto -c ${mosquittoConf} -d";
205+ ExecStart = "${pkgs.mosquitto}/bin/mosquitto -c ${mosquittoConf}";
206206 ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
207− PIDFile = "/run/mosquitto/pid";
208207 };
209208 preStart = ''
210209 rm -f ${cfg.dataDir}/passwd
@@ -214,7 +213,7 @@ in
214213 if c.hashedPassword != null then
215214 "echo '${n}:${c.hashedPassword}' >> ${cfg.dataDir}/passwd"
216215 else optionalString (c.password != null)
217− "${pkgs.mosquitto}/bin/mosquitto_passwd -b ${cfg.dataDir}/passwd ${n} ${c.password}"
216+ "${pkgs.mosquitto}/bin/mosquitto_passwd -b ${cfg.dataDir}/passwd ${n} '${c.password}'"
218217 ) cfg.users);
219218 };
220219
nixos/modules/services/networking/nix-serve.nix+9
@@ -31,6 +31,15 @@ in
3131 default = null;
3232 description = ''
3333 The path to the file used for signing derivation data.
34+ Generate with:
35+
36+ ```
37+ nix-store --generate-binary-cache-key key-name secret-key-file public-key-file
38+ ```
39+
40+ Make sure user `nix-serve` has read access to the private key file.
41+
42+ For more details see <citerefentry><refentrytitle>nix-store</refentrytitle><manvolnum>1</manvolnum></citerefentry>.
3443 '';
3544 };
3645
nixos/modules/services/networking/prayer.nix+1−1
@@ -25,7 +25,7 @@ let
2525 ${cfg.extraConfig}
2626 '';
2727
28− prayerCfg = pkgs.runCommand "prayer.cf" { } ''
28+ prayerCfg = pkgs.runCommand "prayer.cf" { preferLocalBuild = true; } ''
2929 # We have to remove the http_port 80, or it will start a server there
3030 cat ${prayer}/etc/prayer.cf | grep -v http_port > $out
3131 cat ${prayerExtraCfg} >> $out
nixos/modules/services/networking/shout.nix+1−1
@@ -6,7 +6,7 @@ let
66 cfg = config.services.shout;
77 shoutHome = "/var/lib/shout";
88
9− defaultConfig = pkgs.runCommand "config.js" {} ''
9+ defaultConfig = pkgs.runCommand "config.js" { preferLocalBuild = true; } ''
1010 EDITOR=true ${pkgs.shout}/bin/shout config --home $PWD
1111 mv config.js $out
1212 '';
nixos/modules/services/networking/ssh/sshd.nix+4−1
@@ -400,7 +400,10 @@ in
400400 sockets.sshd =
401401 { description = "SSH Socket";
402402 wantedBy = [ "sockets.target" ];
403− socketConfig.ListenStream = cfg.ports;
403+ socketConfig.ListenStream = if cfg.listenAddresses != [] then
404+ map (l: "${l.addr}:${toString (if l.port != null then l.port else 22)}") cfg.listenAddresses
405+ else
406+ cfg.ports;
404407 socketConfig.Accept = true;
405408 };
406409
nixos/modules/services/networking/strongswan-swanctl/module.nix+6−3
@@ -65,9 +65,12 @@ in {
6565 after = [ "network-online.target" "keys.target" ];
6666 wants = [ "keys.target" ];
6767 path = with pkgs; [ kmod iproute iptables utillinux ];
68− environment.STRONGSWAN_CONF = pkgs.writeTextFile {
69− name = "strongswan.conf";
70− text = cfg.strongswan.extraConfig;
68+ environment = {
69+ STRONGSWAN_CONF = pkgs.writeTextFile {
70+ name = "strongswan.conf";
71+ text = cfg.strongswan.extraConfig;
72+ };
73+ SWANCTL_DIR = "/etc/swanctl";
7174 };
7275 restartTriggers = [ config.environment.etc."swanctl/swanctl.conf".source ];
7376 serviceConfig = {
nixos/modules/services/networking/xrdp.nix+1−1
@@ -4,7 +4,7 @@ with lib;
44
55let
66 cfg = config.services.xrdp;
7− confDir = pkgs.runCommand "xrdp.conf" { } ''
7+ confDir = pkgs.runCommand "xrdp.conf" { preferLocalBuild = true; } ''
88 mkdir $out
99
1010 cp ${cfg.package}/etc/xrdp/{km-*,xrdp,sesman,xrdp_keyboard}.ini $out
nixos/modules/services/printing/cupsd.nix+3−2
@@ -11,8 +11,9 @@ let
1111 avahiEnabled = config.services.avahi.enable;
1212 polkitEnabled = config.security.polkit.enable;
1313
14− additionalBackends = pkgs.runCommand "additional-cups-backends" { }
15− ''
14+ additionalBackends = pkgs.runCommand "additional-cups-backends" {
15+ preferLocalBuild = true;
16+ } ''
1617 mkdir -p $out
1718 if [ ! -e ${cups.out}/lib/cups/backend/smb ]; then
1819 mkdir -p $out/lib/cups/backend
nixos/modules/services/ttys/kmscon.nix+1−1
@@ -82,7 +82,7 @@ in {
8282 X-RestartIfChanged=false
8383 '';
8484
85− systemd.units."autovt@.service".unit = pkgs.runCommand "unit" { }
85+ systemd.units."autovt@.service".unit = pkgs.runCommand "unit" { preferLocalBuild = true; }
8686 ''
8787 mkdir -p $out
8888 ln -s ${config.systemd.units."kmsconvt@.service".unit}/kmsconvt@.service $out/autovt@.service
nixos/modules/services/web-apps/codimd.nix+1−1
@@ -6,7 +6,7 @@ let
66 cfg = config.services.codimd;
77
88 prettyJSON = conf:
9− pkgs.runCommand "codimd-config.json" { } ''
9+ pkgs.runCommand "codimd-config.json" { preferLocalBuild = true; } ''
1010 echo '${builtins.toJSON conf}' | ${pkgs.jq}/bin/jq \
1111 '{production:del(.[]|nulls)|del(.[][]?|nulls)}' > $out
1212 '';
nixos/modules/services/web-apps/icingaweb2/icingaweb2.nix+18−18
@@ -546,26 +546,26 @@ in {
546546
547547 config = mkIf cfg.enable {
548548 services.phpfpm.poolConfigs = mkIf (cfg.pool == "${poolName}") {
549− "${poolName}" = ''
550− listen = "${phpfpmSocketName}"
551− listen.owner = nginx
552− listen.group = nginx
553− listen.mode = 0600
554− user = icingaweb2
555− pm = dynamic
556− pm.max_children = 75
557− pm.start_servers = 2
558− pm.min_spare_servers = 2
559− pm.max_spare_servers = 10
560− '';
549+ "${poolName}" = {
550+ listen = phpfpmSocketName;
551+ phpOptions = ''
552+ extension = ${pkgs.phpPackages.imagick}/lib/php/extensions/imagick.so
553+ date.timezone = "${cfg.timezone}"
554+ '';
555+ extraConfig = ''
556+ listen.owner = nginx
557+ listen.group = nginx
558+ listen.mode = 0600
559+ user = icingaweb2
560+ pm = dynamic
561+ pm.max_children = 75
562+ pm.start_servers = 2
563+ pm.min_spare_servers = 2
564+ pm.max_spare_servers = 10
565+ '';
566+ };
561567 };
562568
563− services.phpfpm.phpOptions = mkIf (cfg.pool == "${poolName}")
564− ''
565− extension = ${pkgs.phpPackages.imagick}/lib/php/extensions/imagick.so
566− date.timezone = "${cfg.timezone}"
567− '';
568−
569569 systemd.services."phpfpm-${poolName}".serviceConfig.ReadWritePaths = [ "/etc/icingaweb2" ];
570570
571571 services.nginx = {
nixos/modules/services/web-apps/nextcloud.nix+41−26
@@ -5,14 +5,18 @@ with lib;
55let
66 cfg = config.services.nextcloud;
77
8+ phpPackage = pkgs.php73;
9+ phpPackages = pkgs.php73Packages;
10+
811 toKeyValue = generators.toKeyValue {
912 mkKeyValue = generators.mkKeyValueDefault {} " = ";
1013 };
1114
1215 phpOptionsExtensions = ''
13− ${optionalString cfg.caching.apcu "extension=${cfg.phpPackages.apcu}/lib/php/extensions/apcu.so"}
14− ${optionalString cfg.caching.redis "extension=${cfg.phpPackages.redis}/lib/php/extensions/redis.so"}
15− ${optionalString cfg.caching.memcached "extension=${cfg.phpPackages.memcached}/lib/php/extensions/memcached.so"}
16+ ${optionalString cfg.caching.apcu "extension=${phpPackages.apcu}/lib/php/extensions/apcu.so"}
17+ ${optionalString cfg.caching.redis "extension=${phpPackages.redis}/lib/php/extensions/redis.so"}
18+ ${optionalString cfg.caching.memcached "extension=${phpPackages.memcached}/lib/php/extensions/memcached.so"}
19+ extension=${phpPackages.imagick}/lib/php/extensions/imagick.so
1620 zend_extension = opcache.so
1721 opcache.enable = 1
1822 '';
@@ -45,6 +49,11 @@ in {
4549 default = "/var/lib/nextcloud";
4650 description = "Storage path of nextcloud.";
4751 };
52+ logLevel = mkOption {
53+ type = types.ints.between 0 4;
54+ default = 2;
55+ description = "Log level value between 0 (DEBUG) and 4 (FATAL).";
56+ };
4857 https = mkOption {
4958 type = types.bool;
5059 default = false;
@@ -89,18 +98,6 @@ in {
8998 '';
9099 };
91100
92− phpPackages = mkOption {
93− type = types.attrs;
94− default = pkgs.php71Packages;
95− defaultText = "pkgs.php71Packages";
96− description = ''
97− Overridable attribute of the PHP packages set to use. If any caching
98− module is enabled, it will be taken from here. Therefore it should
99− match the version of PHP given to
100− <literal>services.phpfpm.phpPackage</literal>.
101− '';
102− };
103−
104101 phpOptions = mkOption {
105102 type = types.attrsOf types.str;
106103 default = {
@@ -218,6 +215,19 @@ in {
218215 <literal>services.nextcloud.hostname</literal> here.
219216 '';
220217 };
218+
219+ overwriteProtocol = mkOption {
220+ type = types.nullOr (types.enum [ "http" "https" ]);
221+ default = null;
222+ example = "https";
223+
224+ description = ''
225+ Force Nextcloud to always use HTTPS i.e. for link generation. Nextcloud
226+ uses the currently used protocol by default, but when behind a reverse-proxy,
227+ it may use <literal>http</literal> for everything although Nextcloud
228+ may be served via HTTPS.
229+ '';
230+ };
221231 };
222232
223233 caching = {
@@ -281,6 +291,8 @@ in {
281291 'skeletondirectory' => '${cfg.skeletonDirectory}',
282292 ${optionalString cfg.caching.apcu "'memcache.local' => '\\OC\\Memcache\\APCu',"}
283293 'log_type' => 'syslog',
294+ 'log_level' => '${builtins.toString cfg.logLevel}',
295+ ${optionalString (cfg.config.overwriteProtocol != null) "'overwriteprotocol' => '${cfg.config.overwriteProtocol}',"}
284296 ];
285297 '';
286298 occInstallCmd = let
@@ -353,14 +365,14 @@ in {
353365 };
354366
355367 services.phpfpm = {
356− phpOptions = phpOptionsExtensions;
357− phpPackage = pkgs.php71;
358368 pools.nextcloud = let
359369 phpAdminValues = (toKeyValue
360370 (foldr (a: b: a // b) {}
361371 (mapAttrsToList (k: v: { "php_admin_value[${k}]" = v; })
362372 phpOptions)));
363373 in {
374+ phpOptions = phpOptionsExtensions;
375+ phpPackage = phpPackage;
364376 listen = "/run/phpfpm/nextcloud";
365377 extraConfig = ''
366378 listen.owner = nginx
@@ -401,7 +413,7 @@ in {
401413 };
402414 "/" = {
403415 priority = 200;
404− extraConfig = "rewrite ^ /index.php$uri;";
416+ extraConfig = "rewrite ^ /index.php$request_uri;";
405417 };
406418 "~ ^/store-apps" = {
407419 priority = 201;
@@ -415,19 +427,19 @@ in {
415427 priority = 210;
416428 extraConfig = "return 301 $scheme://$host/remote.php/dav;";
417429 };
418− "~ ^/(?:build|tests|config|lib|3rdparty|templates|data)/" = {
430+ "~ ^\\/(?:build|tests|config|lib|3rdparty|templates|data)\\/" = {
419431 priority = 300;
420432 extraConfig = "deny all;";
421433 };
422− "~ ^/(?:\\.|autotest|occ|issue|indie|db_|console)" = {
434+ "~ ^\\/(?:\\.|autotest|occ|issue|indie|db_|console)" = {
423435 priority = 300;
424436 extraConfig = "deny all;";
425437 };
426− "~ ^/(?:index|remote|public|cron|core/ajax/update|status|ocs/v[12]|updater/.+|ocs-provider/.+)\\.php(?:$|/)" = {
438+ "~ ^\\/(?:index|remote|public|cron|core/ajax\\/update|status|ocs\\/v[12]|updater\\/.+|ocs-provider\\/.+|ocm-provider\\/.+)\\.php(?:$|\\/)" = {
427439 priority = 500;
428440 extraConfig = ''
429441 include ${config.services.nginx.package}/conf/fastcgi.conf;
430− fastcgi_split_path_info ^(.+\.php)(/.*)$;
442+ fastcgi_split_path_info ^(.+\.php)(\\/.*)$;
431443 fastcgi_param PATH_INFO $fastcgi_path_info;
432444 fastcgi_param HTTPS ${if cfg.https then "on" else "off"};
433445 fastcgi_param modHeadersAvailable true;
@@ -438,22 +450,23 @@ in {
438450 fastcgi_read_timeout 120s;
439451 '';
440452 };
441− "~ ^/(?:updater|ocs-provider)(?:$|/)".extraConfig = ''
453+ "~ ^\\/(?:updater|ocs-provider|ocm-provider)(?:$|\\/)".extraConfig = ''
442454 try_files $uri/ =404;
443455 index index.php;
444456 '';
445− "~ \\.(?:css|js|woff|svg|gif)$".extraConfig = ''
446− try_files $uri /index.php$uri$is_args$args;
457+ "~ \\.(?:css|js|woff2?|svg|gif)$".extraConfig = ''
458+ try_files $uri /index.php$request_uri;
447459 add_header Cache-Control "public, max-age=15778463";
448460 add_header X-Content-Type-Options nosniff;
449461 add_header X-XSS-Protection "1; mode=block";
450462 add_header X-Robots-Tag none;
451463 add_header X-Download-Options noopen;
452464 add_header X-Permitted-Cross-Domain-Policies none;
465+ add_header Referrer-Policy no-referrer;
453466 access_log off;
454467 '';
455468 "~ \\.(?:png|html|ttf|ico|jpg|jpeg)$".extraConfig = ''
456− try_files $uri /index.php$uri$is_args$args;
469+ try_files $uri /index.php$request_uri;
457470 access_log off;
458471 '';
459472 };
@@ -463,10 +476,12 @@ in {
463476 add_header X-Robots-Tag none;
464477 add_header X-Download-Options noopen;
465478 add_header X-Permitted-Cross-Domain-Policies none;
479+ add_header Referrer-Policy no-referrer;
466480 error_page 403 /core/templates/403.php;
467481 error_page 404 /core/templates/404.php;
468482 client_max_body_size ${cfg.maxUploadSize};
469483 fastcgi_buffers 64 4K;
484+ fastcgi_hide_header X-Powered-By;
470485 gzip on;
471486 gzip_vary on;
472487 gzip_comp_level 4;
nixos/modules/services/web-apps/restya-board.nix+27−26
@@ -179,34 +179,35 @@ in
179179 config = mkIf cfg.enable {
180180
181181 services.phpfpm.poolConfigs = {
182− "${poolName}" = ''
183− listen = "${phpfpmSocketName}";
184− listen.owner = nginx
185− listen.group = nginx
186− listen.mode = 0600
187− user = ${cfg.user}
188− group = ${cfg.group}
189− pm = dynamic
190− pm.max_children = 75
191− pm.start_servers = 10
192− pm.min_spare_servers = 5
193− pm.max_spare_servers = 20
194− pm.max_requests = 500
195− catch_workers_output = 1
196− '';
182+ "${poolName}" = {
183+ listen = phpfpmSocketName;
184+ phpOptions = ''
185+ date.timezone = "CET"
186+
187+ ${optionalString (!isNull cfg.email.server) ''
188+ SMTP = ${cfg.email.server}
189+ smtp_port = ${toString cfg.email.port}
190+ auth_username = ${cfg.email.login}
191+ auth_password = ${cfg.email.password}
192+ ''}
193+ '';
194+ extraConfig = ''
195+ listen.owner = nginx
196+ listen.group = nginx
197+ listen.mode = 0600
198+ user = ${cfg.user}
199+ group = ${cfg.group}
200+ pm = dynamic
201+ pm.max_children = 75
202+ pm.start_servers = 10
203+ pm.min_spare_servers = 5
204+ pm.max_spare_servers = 20
205+ pm.max_requests = 500
206+ catch_workers_output = 1
207+ '';
208+ };
197209 };
198210
199− services.phpfpm.phpOptions = ''
200− date.timezone = "CET"
201−
202− ${optionalString (!isNull cfg.email.server) ''
203− SMTP = ${cfg.email.server}
204− smtp_port = ${toString cfg.email.port}
205− auth_username = ${cfg.email.login}
206− auth_password = ${cfg.email.password}
207− ''}
208− '';
209−
210211 services.nginx.enable = true;
211212 services.nginx.virtualHosts."${cfg.virtualHost.serverName}" = {
212213 listen = [ { addr = cfg.virtualHost.listenHost; port = cfg.virtualHost.listenPort; } ];
nixos/modules/services/web-apps/youtrack.nix+1
@@ -121,6 +121,7 @@ in
121121 environment.YOUTRACK_JVM_OPTS = "${extraAttr}";
122122 after = [ "network.target" ];
123123 wantedBy = [ "multi-user.target" ];
124+ path = with pkgs; [ unixtools.hostname ];
124125 serviceConfig = {
125126 Type = "simple";
126127 User = "youtrack";
nixos/modules/services/web-servers/apache-httpd/default.nix+2−1
@@ -217,7 +217,7 @@ let
217217 ) null ([ cfg ] ++ subservices);
218218
219219 documentRoot = if maybeDocumentRoot != null then maybeDocumentRoot else
220− pkgs.runCommand "empty" {} "mkdir -p $out";
220+ pkgs.runCommand "empty" { preferLocalBuild = true; } "mkdir -p $out";
221221
222222 documentRootConf = ''
223223 DocumentRoot "${documentRoot}"
@@ -426,6 +426,7 @@ let
426426 phpIni = pkgs.runCommand "php.ini"
427427 { options = concatStringsSep "\n"
428428 ([ mainCfg.phpOptions ] ++ (map (svc: svc.phpOptions) allSubservices));
429+ preferLocalBuild = true;
429430 }
430431 ''
431432 cat ${php}/etc/php.ini > $out
nixos/modules/services/web-servers/apache-httpd/mediawiki.nix+4−3
@@ -116,9 +116,10 @@ let
116116 '';
117117 };
118118
119− mediawikiScripts = pkgs.runCommand "mediawiki-${config.id}-scripts"
120− { buildInputs = [ pkgs.makeWrapper ]; }
121− ''
119+ mediawikiScripts = pkgs.runCommand "mediawiki-${config.id}-scripts" {
120+ buildInputs = [ pkgs.makeWrapper ];
121+ preferLocalBuild = true;
122+ } ''
122123 mkdir -p $out/bin
123124 for i in changePassword.php createAndPromote.php userOptions.php edit.php nukePage.php update.php; do
124125 makeWrapper ${php}/bin/php $out/bin/mediawiki-${config.id}-$(basename $i .php) \
nixos/modules/services/web-servers/nginx/default.nix+18−5
@@ -44,7 +44,19 @@ let
4444 }
4545 ''));
4646
47− configFile = pkgs.writeText "nginx.conf" ''
47+ awkFormat = builtins.toFile "awkFormat-nginx.awk" ''
48+ awk -f
49+ {sub(/^[ \t]+/,"");idx=0}
50+ /\{/{ctx++;idx=1}
51+ /\}/{ctx--}
52+ {id="";for(i=idx;i<ctx;i++)id=sprintf("%s%s", id, "\t");printf "%s%s\n", id, $0}
53+ '';
54+
55+ configFile = pkgs.runCommand "nginx.conf" {} (''
56+ awk -f ${awkFormat} ${pre-configFile} | sed '/^\s*$/d' > $out
57+ '');
58+
59+ pre-configFile = pkgs.writeText "pre-nginx.conf" ''
4860 user ${cfg.user} ${cfg.group};
4961 error_log ${cfg.logError};
5062 daemon off;
@@ -182,11 +194,12 @@ let
182194 then filter (x: x.ssl) defaultListen
183195 else defaultListen;
184196
185− listenString = { addr, port, ssl, ... }:
197+ listenString = { addr, port, ssl, extraParameters ? [], ... }:
186198 "listen ${addr}:${toString port} "
187199 + optionalString ssl "ssl "
188− + optionalString (ssl && vhost.http2) "http2 "
200+ + optionalString vhost.http2 "http2 "
189201 + optionalString vhost.default "default_server "
202+ + optionalString (extraParameters != []) (concatStringsSep " " extraParameters)
190203 + ";";
191204
192205 redirectListen = filter (x: !x.ssl) defaultListen;
@@ -479,8 +492,8 @@ in
479492
480493 sslProtocols = mkOption {
481494 type = types.str;
482− default = "TLSv1.2";
483− example = "TLSv1 TLSv1.1 TLSv1.2";
495+ default = "TLSv1.2 TLSv1.3";
496+ example = "TLSv1 TLSv1.1 TLSv1.2 TLSv1.3";
484497 description = "Allowed TLS protocol versions.";
485498 };
486499
nixos/modules/services/web-servers/nginx/vhost-options.nix+1
@@ -31,6 +31,7 @@ with lib;
3131 addr = mkOption { type = str; description = "IP address."; };
3232 port = mkOption { type = int; description = "Port number."; default = 80; };
3333 ssl = mkOption { type = bool; description = "Enable SSL."; default = false; };
34+ extraParameters = mkOption { type = listOf str; description = "Extra parameters of this listen directive."; default = []; example = [ "reuseport" "deferred" ]; };
3435 }; });
3536 default = [];
3637 example = [
nixos/modules/services/web-servers/phpfpm/default.nix+1
@@ -39,6 +39,7 @@ let
3939
4040 phpIni = pool: pkgs.runCommand "php.ini" {
4141 inherit (pool) phpPackage phpOptions;
42+ preferLocalBuild = true;
4243 nixDefaults = ''
4344 sendmail_path = "/run/wrappers/bin/sendmail -t -i"
4445 '';
nixos/modules/services/web-servers/traefik.nix+1
@@ -8,6 +8,7 @@ let
88 if cfg.configFile == null then
99 pkgs.runCommand "config.toml" {
1010 buildInputs = [ pkgs.remarshal ];
11+ preferLocalBuild = true;
1112 } ''
1213 remarshal -if json -of toml \
1314 < ${pkgs.writeText "config.json" (builtins.toJSON cfg.configOptions)} \
nixos/modules/services/x11/desktop-managers/gnome3.nix+3−2
@@ -15,7 +15,7 @@ let
1515 '';
1616 };
1717
18− nixos-gsettings-desktop-schemas = pkgs.runCommand "nixos-gsettings-desktop-schemas" {}
18+ nixos-gsettings-desktop-schemas = pkgs.runCommand "nixos-gsettings-desktop-schemas" { preferLocalBuild = true; }
1919 ''
2020 mkdir -p $out/share/gsettings-schemas/nixos-gsettings-overrides/glib-2.0/schemas
2121 cp -rf ${pkgs.gnome3.gsettings-desktop-schemas}/share/gsettings-schemas/gsettings-desktop-schemas*/glib-2.0/schemas/*.xml $out/share/gsettings-schemas/nixos-gsettings-overrides/glib-2.0/schemas
@@ -133,6 +133,7 @@ in {
133133 services.gnome3.gnome-keyring.enable = true;
134134 services.gnome3.gnome-online-accounts.enable = mkDefault true;
135135 services.gnome3.gnome-remote-desktop.enable = mkDefault true;
136+ services.gnome3.gnome-settings-daemon.enable = true;
136137 services.gnome3.gnome-terminal-server.enable = mkDefault true;
137138 services.gnome3.gnome-user-share.enable = mkDefault true;
138139 services.gnome3.gvfs.enable = true;
@@ -151,8 +152,8 @@ in {
151152 services.colord.enable = mkDefault true;
152153 services.packagekit.enable = mkDefault true;
153154 hardware.bluetooth.enable = mkDefault true;
155+ services.hardware.bolt.enable = mkDefault true;
154156 services.xserver.libinput.enable = mkDefault true; # for controlling touchpad settings via gnome control center
155− services.udev.packages = [ pkgs.gnome3.gnome-settings-daemon ];
156157 systemd.packages = [ pkgs.gnome3.vino ];
157158 services.flatpak.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
158159
nixos/modules/services/x11/desktop-managers/mate.nix+16−13
@@ -56,9 +56,6 @@ in
5656
5757 export XDG_MENU_PREFIX=mate-
5858
59− # Find the mouse
60− export XCURSOR_PATH=~/.icons:${config.system.path}/share/icons
61−
6259 # Let caja find extensions
6360 export CAJA_EXTENSION_DIRS=$CAJA_EXTENSION_DIRS''${CAJA_EXTENSION_DIRS:+:}${config.system.path}/lib/caja/extensions-2.0
6461
@@ -78,9 +75,6 @@ in
7875 # Add mate-control-center paths to some XDG variables because its schemas are needed by mate-settings-daemon, and mate-settings-daemon is a dependency for mate-control-center (that is, they are mutually recursive)
7976 ${addToXDGDirs pkgs.mate.mate-control-center}
8077
81− # Update user dirs as described in http://freedesktop.org/wiki/Software/xdg-user-dirs/
82− ${pkgs.xdg-user-dirs}/bin/xdg-user-dirs-update
83−
8478 ${pkgs.mate.mate-session-manager}/bin/mate-session ${optionalString cfg.debug "--debug"} &
8579 waitPID=$!
8680 '';
@@ -90,18 +84,27 @@ in
9084 pkgs.mate.basePackages ++
9185 (pkgs.gnome3.removePackagesByName
9286 pkgs.mate.extraPackages
93− config.environment.mate.excludePackages);
94−
95− services.dbus.packages = [
96− pkgs.gnome3.dconf
97− pkgs.at-spi2-core
98− ];
99−
87+ config.environment.mate.excludePackages) ++
88+ [
89+ pkgs.desktop-file-utils
90+ pkgs.glib
91+ pkgs.gtk3.out
92+ pkgs.shared-mime-info
93+ pkgs.xdg-user-dirs # Update user dirs as described in https://freedesktop.org/wiki/Software/xdg-user-dirs/
94+ ];
95+
96+ programs.dconf.enable = true;
97+ services.gnome3.at-spi2-core.enable = true;
10098 services.gnome3.gnome-keyring.enable = true;
99+ services.gnome3.gnome-settings-daemon.enable = true;
100+ services.gnome3.gnome-settings-daemon.package = pkgs.mate.mate-settings-daemon;
101+ services.gnome3.gvfs.enable = true;
101102 services.upower.enable = config.powerManagement.enable;
102103
103104 security.pam.services."mate-screensaver".unixAuth = true;
104105
106+ environment.variables.GIO_EXTRA_MODULES = [ "${pkgs.gnome3.gvfs}/lib/gio/modules" ];
107+
105108 environment.pathsToLink = [ "/share" ];
106109 };
107110
nixos/modules/services/x11/desktop-managers/pantheon.nix+3−1
@@ -117,11 +117,12 @@ in
117117 services.gnome3.file-roller.enable = true;
118118 # TODO: gnome-keyring's xdg autostarts will still be in the environment (from elementary-session-settings) if disabled forcefully
119119 services.gnome3.gnome-keyring.enable = true;
120+ services.gnome3.gnome-settings-daemon.enable = true;
121+ services.gnome3.gnome-settings-daemon.package = pkgs.pantheon.elementary-settings-daemon;
120122 services.gnome3.gvfs.enable = true;
121123 services.gnome3.rygel.enable = true;
122124 services.gsignond.enable = true;
123125 services.gsignond.plugins = with pkgs.gsignondPlugins; [ lastfm mail oauth ];
124− services.udev.packages = [ pkgs.pantheon.elementary-settings-daemon ];
125126 services.udisks2.enable = true;
126127 services.upower.enable = config.powerManagement.enable;
127128 services.xserver.libinput.enable = mkDefault true;
@@ -184,6 +185,7 @@ in
184185 fonts.fonts = with pkgs; [
185186 opensans-ttf
186187 roboto-mono
188+ pantheon.elementary-redacted-script # needed by screenshot-tool
187189 ];
188190 fonts.fontconfig.defaultFonts = {
189191 monospace = [ "Roboto Mono" ];
nixos/modules/services/x11/desktop-managers/plasma5.nix+4−2
@@ -163,6 +163,8 @@ in
163163
164164 libsForQt56.phonon-backend-gstreamer
165165 libsForQt5.phonon-backend-gstreamer
166+
167+ xdg-user-dirs # Update user dirs as described in https://freedesktop.org/wiki/Software/xdg-user-dirs/
166168 ]
167169
168170 ++ lib.optionals cfg.enableQt4Support [ pkgs.phonon-backend-gstreamer ]
@@ -175,9 +177,9 @@ in
175177 ++ lib.optional config.services.colord.enable colord-kde
176178 ++ lib.optionals config.services.samba.enable [ kdenetwork-filesharing pkgs.samba ];
177179
178− environment.pathsToLink = [
180+ environment.pathsToLink = [
179181 # FIXME: modules should link subdirs of `/share` rather than relying on this
180− "/share"
182+ "/share"
181183 ];
182184
183185 environment.etc = singleton {
nixos/modules/services/x11/desktop-managers/xfce.nix+1−1
@@ -53,7 +53,7 @@ in
5353
5454 # Supplies some abstract icons such as:
5555 # utilities-terminal, accessories-text-editor
56− gnome3.defaultIconTheme
56+ gnome3.adwaita-icon-theme
5757
5858 hicolor-icon-theme
5959 tango-icon-theme
nixos/modules/services/x11/display-managers/lightdm-greeters/enso-os.nix+4−3
@@ -12,9 +12,10 @@ let
1212
1313 # We need a few things in the environment for the greeter to run with
1414 # fonts/icons.
15− wrappedEnsoGreeter = pkgs.runCommand "lightdm-enso-os-greeter"
16− { buildInputs = [ pkgs.makeWrapper ]; }
17− ''
15+ wrappedEnsoGreeter = pkgs.runCommand "lightdm-enso-os-greeter" {
16+ buildInputs = [ pkgs.makeWrapper ];
17+ preferLocalBuild = true;
18+ } ''
1819 # This wrapper ensures that we actually get themes
1920 makeWrapper ${pkgs.lightdm-enso-os-greeter}/bin/pantheon-greeter \
2021 $out/greeter \
nixos/modules/services/x11/display-managers/lightdm-greeters/gtk.nix+8−7
@@ -18,9 +18,10 @@ let
1818 # The default greeter provided with this expression is the GTK greeter.
1919 # Again, we need a few things in the environment for the greeter to run with
2020 # fonts/icons.
21− wrappedGtkGreeter = pkgs.runCommand "lightdm-gtk-greeter"
22− { buildInputs = [ pkgs.makeWrapper ]; }
23− ''
21+ wrappedGtkGreeter = pkgs.runCommand "lightdm-gtk-greeter" {
22+ buildInputs = [ pkgs.makeWrapper ];
23+ preferLocalBuild = true;
24+ } ''
2425 # This wrapper ensures that we actually get themes
2526 makeWrapper ${pkgs.lightdm_gtk_greeter}/sbin/lightdm-gtk-greeter \
2627 $out/greeter \
@@ -95,8 +96,8 @@ in
9596
9697 package = mkOption {
9798 type = types.package;
98− default = pkgs.gnome3.defaultIconTheme;
99− defaultText = "pkgs.gnome3.defaultIconTheme";
99+ default = pkgs.gnome3.adwaita-icon-theme;
100+ defaultText = "pkgs.gnome3.adwaita-icon-theme";
100101 description = ''
101102 The package path that contains the icon theme given in the name option.
102103 '';
@@ -115,8 +116,8 @@ in
115116 cursorTheme = {
116117
117118 package = mkOption {
118− default = pkgs.gnome3.defaultIconTheme;
119− defaultText = "pkgs.gnome3.defaultIconTheme";
119+ default = pkgs.gnome3.adwaita-icon-theme;
120+ defaultText = "pkgs.gnome3.adwaita-icon-theme";
120121 description = ''
121122 The package path that contains the cursor theme given in the name option.
122123 '';
nixos/modules/services/x11/display-managers/slim.nix+1−1
@@ -28,7 +28,7 @@ let
2828 # Unpack the SLiM theme, or use the default.
2929 slimThemesDir =
3030 let
31− unpackedTheme = pkgs.runCommand "slim-theme" {}
31+ unpackedTheme = pkgs.runCommand "slim-theme" { preferLocalBuild = true; }
3232 ''
3333 mkdir -p $out
3434 cd $out
nixos/modules/services/x11/gdk-pixbuf.nix+1−1
@@ -10,7 +10,7 @@ let
1010
1111 # Generate the cache file by running gdk-pixbuf-query-loaders for each
1212 # package and concatenating the results.
13− loadersCache = pkgs.runCommand "gdk-pixbuf-loaders.cache" {} ''
13+ loadersCache = pkgs.runCommand "gdk-pixbuf-loaders.cache" { preferLocalBuild = true; } ''
1414 (
1515 for package in ${concatStringsSep " " effectivePackages}; do
1616 module_dir="$package/${pkgs.gdk_pixbuf.moduleDir}"
nixos/modules/services/x11/xserver.nix+7−3
@@ -61,7 +61,9 @@ let
6161 '';
6262 description = ''
6363 Extra lines to append to the <literal>Monitor</literal> section
64− verbatim.
64+ verbatim. Available options are documented in the MONITOR section in
65+ <citerefentry><refentrytitle>xorg.conf</refentrytitle>
66+ <manvolnum>5</manvolnum></citerefentry>.
6567 '';
6668 };
6769 };
@@ -113,6 +115,7 @@ let
113115 { xfs = optionalString (cfg.useXFS != false)
114116 ''FontPath "${toString cfg.useXFS}"'';
115117 inherit (cfg) config;
118+ preferLocalBuild = true;
116119 }
117120 ''
118121 echo 'Section "Files"' >> $out
@@ -240,7 +243,7 @@ in
240243 videoDrivers = mkOption {
241244 type = types.listOf types.str;
242245 # !!! We'd like "nv" here, but it segfaults the X server.
243− default = [ "ati" "cirrus" "intel" "vesa" "vmware" "modesetting" ];
246+ default = [ "ati" "cirrus" "vesa" "vmware" "modesetting" ];
244247 example = [
245248 "ati_unfree" "amdgpu" "amdgpu-pro"
246249 "nv" "nvidia" "nvidiaLegacy340" "nvidiaLegacy304"
@@ -632,7 +635,7 @@ in
632635
633636 environment.pathsToLink = [ "/share/X11" ];
634637
635− xdg = {
638+ xdg = {
636639 autostart.enable = true;
637640 menus.enable = true;
638641 mime.enable = true;
@@ -705,6 +708,7 @@ in
705708 system.extraDependencies = singleton (pkgs.runCommand "xkb-validated" {
706709 inherit (cfg) xkbModel layout xkbVariant xkbOptions;
707710 nativeBuildInputs = [ pkgs.xkbvalidate ];
711+ preferLocalBuild = true;
708712 } ''
709713 validate "$xkbModel" "$layout" "$xkbVariant" "$xkbOptions"
710714 touch "$out"
nixos/modules/system/activation/top-level.nix+1−3
@@ -130,11 +130,9 @@ let
130130
131131 failedAssertions = map (x: x.message) (filter (x: !x.assertion) config.assertions);
132132
133− showWarnings = res: fold (w: x: builtins.trace "[1;31mwarning: ${w}[0m" x) res config.warnings;
134−
135133 baseSystemAssertWarn = if failedAssertions != []
136134 then throw "\nFailed assertions:\n${concatStringsSep "\n" (map (x: "- ${x}") failedAssertions)}"
137− else showWarnings baseSystem;
135+ else showWarnings config.warnings baseSystem;
138136
139137 # Replace runtime dependencies
140138 system = fold ({ oldDependency, newDependency }: drv:
nixos/modules/system/boot/stage-1.nix+8−6
@@ -196,9 +196,10 @@ let
196196 ''; # */
197197
198198
199− udevRules = pkgs.runCommand "udev-rules"
200− { allowedReferences = [ extraUtils ]; }
201− ''
199+ udevRules = pkgs.runCommand "udev-rules" {
200+ allowedReferences = [ extraUtils ];
201+ preferLocalBuild = true;
202+ } ''
202203 mkdir -p $out
203204
204205 echo 'ENV{LD_LIBRARY_PATH}="${extraUtils}/lib"' > $out/00-env.rules
@@ -298,9 +299,10 @@ let
298299 { object = pkgs.writeText "mdadm.conf" config.boot.initrd.mdadmConf;
299300 symlink = "/etc/mdadm.conf";
300301 }
301− { object = pkgs.runCommand "initrd-kmod-blacklist-ubuntu"
302− { src = "${pkgs.kmod-blacklist-ubuntu}/modprobe.conf"; }
303− ''
302+ { object = pkgs.runCommand "initrd-kmod-blacklist-ubuntu" {
303+ src = "${pkgs.kmod-blacklist-ubuntu}/modprobe.conf";
304+ preferLocalBuild = true;
305+ } ''
304306 target=$out
305307 ${pkgs.buildPackages.perl}/bin/perl -0pe 's/## file: iwlwifi.conf(.+?)##/##/s;' $src > $out
306308 '';
nixos/modules/system/boot/systemd.nix+6−2
@@ -593,7 +593,7 @@ in
593593
594594 services.journald.forwardToSyslog = mkOption {
595595 default = config.services.rsyslogd.enable || config.services.syslog-ng.enable;
596− defaultText = "config.services.rsyslogd.enable || config.services.syslog-ng.enable";
596+ defaultText = "services.rsyslogd.enable || services.syslog-ng.enable";
597597 type = types.bool;
598598 description = ''
599599 Whether to forward log messages to syslog.
@@ -652,6 +652,7 @@ in
652652
653653 services.logind.lidSwitchExternalPower = mkOption {
654654 default = config.services.logind.lidSwitch;
655+ defaultText = "services.logind.lidSwitch";
655656 example = "ignore";
656657 type = logindHandlerType;
657658
@@ -759,7 +760,10 @@ in
759760 environment.etc = let
760761 # generate contents for /etc/systemd/system-generators from
761762 # systemd.generators and systemd.generator-packages
762− generators = pkgs.runCommand "system-generators" { packages = cfg.generator-packages; } ''
763+ generators = pkgs.runCommand "system-generators" {
764+ preferLocalBuild = true;
765+ packages = cfg.generator-packages;
766+ } ''
763767 mkdir -p $out
764768 for package in $packages
765769 do
nixos/modules/tasks/auto-upgrade.nix+2−2
@@ -57,7 +57,7 @@ let cfg = config.system.autoUpgrade; in
5757
5858 };
5959
60− config = {
60+ config = lib.mkIf cfg.enable {
6161
6262 system.autoUpgrade.flags =
6363 [ "--no-build-output" ]
@@ -84,7 +84,7 @@ let cfg = config.system.autoUpgrade; in
8484 ${config.system.build.nixos-rebuild}/bin/nixos-rebuild switch ${toString cfg.flags}
8585 '';
8686
87− startAt = optional cfg.enable cfg.dates;
87+ startAt = cfg.dates;
8888 };
8989
9090 };
nixos/modules/tasks/filesystems/vboxsf.nix+1−1
@@ -6,7 +6,7 @@ let
66
77 inInitrd = any (fs: fs == "vboxsf") config.boot.initrd.supportedFilesystems;
88
9− package = pkgs.runCommand "mount.vboxsf" {} ''
9+ package = pkgs.runCommand "mount.vboxsf" { preferLocalBuild = true; } ''
1010 mkdir -p $out/bin
1111 cp ${pkgs.linuxPackages.virtualboxGuestAdditions}/bin/mount.vboxsf $out/bin
1212 '';
nixos/modules/tasks/kbd.nix+1
@@ -15,6 +15,7 @@ let
1515 optimizedKeymap = pkgs.runCommand "keymap" {
1616 nativeBuildInputs = [ pkgs.buildPackages.kbd ];
1717 LOADKEYS_KEYMAP_PATH = "${kbdEnv}/share/keymaps/**";
18+ preferLocalBuild = true;
1819 } ''
1920 loadkeys -b ${optionalString isUnicode "-u"} "${config.i18n.consoleKeyMap}" > $out
2021 '';
nixos/modules/tasks/network-interfaces-scripted.nix+11−9
@@ -103,16 +103,18 @@ let
103103
104104 script =
105105 ''
106− # Set the static DNS configuration, if given.
107− ${pkgs.openresolv}/sbin/resolvconf -m 1 -a static <<EOF
108− ${optionalString (cfg.nameservers != [] && cfg.domain != null) ''
109− domain ${cfg.domain}
106+ ${optionalString (!config.environment.etc?"resolv.conf") ''
107+ # Set the static DNS configuration, if given.
108+ ${pkgs.openresolv}/sbin/resolvconf -m 1 -a static <<EOF
109+ ${optionalString (cfg.nameservers != [] && cfg.domain != null) ''
110+ domain ${cfg.domain}
111+ ''}
112+ ${optionalString (cfg.search != []) ("search " + concatStringsSep " " cfg.search)}
113+ ${flip concatMapStrings cfg.nameservers (ns: ''
114+ nameserver ${ns}
115+ '')}
116+ EOF
110117 ''}
111− ${optionalString (cfg.search != []) ("search " + concatStringsSep " " cfg.search)}
112− ${flip concatMapStrings cfg.nameservers (ns: ''
113− nameserver ${ns}
114− '')}
115− EOF
116118
117119 # Set the default gateway.
118120 ${optionalString (cfg.defaultGateway != null && cfg.defaultGateway.address != "") ''
nixos/modules/tasks/network-interfaces.nix+1−1
@@ -995,7 +995,7 @@ in
995995 '';
996996
997997 environment.etc."hostid" = mkIf (cfg.hostId != null)
998− { source = pkgs.runCommand "gen-hostid" {} ''
998+ { source = pkgs.runCommand "gen-hostid" { preferLocalBuild = true; } ''
999999 hi="${cfg.hostId}"
10001000 ${if pkgs.stdenv.isBigEndian then ''
10011001 echo -ne "\x''${hi:0:2}\x''${hi:2:2}\x''${hi:4:2}\x''${hi:6:2}" > $out
nixos/modules/virtualisation/cloudstack-config.nixnew file+40
@@ -0,0 +1,40 @@
1+{ config, lib, pkgs, ... }:
2+
3+with lib;
4+
5+{
6+ imports = [
7+ ../profiles/qemu-guest.nix
8+ ];
9+
10+ config = {
11+ fileSystems."/" = {
12+ device = "/dev/disk/by-label/nixos";
13+ autoResize = true;
14+ };
15+
16+ boot.growPartition = true;
17+ boot.kernelParams = [ "console=tty0" ];
18+ boot.loader.grub.device = "/dev/vda";
19+ boot.loader.timeout = 0;
20+
21+ # Allow root logins
22+ services.openssh = {
23+ enable = true;
24+ permitRootLogin = "prohibit-password";
25+ };
26+
27+ # Cloud-init configuration.
28+ services.cloud-init.enable = true;
29+ # Wget is needed for setting password. This is of little use as
30+ # root password login is disabled above.
31+ environment.systemPackages = [ pkgs.wget ];
32+ # Only enable CloudStack datasource for faster boot speed.
33+ environment.etc."cloud/cloud.cfg.d/99_cloudstack.cfg".text = ''
34+ datasource:
35+ CloudStack: {}
36+ None: {}
37+ datasource_list: ["CloudStack"]
38+ '';
39+ };
40+}
nixos/modules/virtualisation/docker.nix+22−3
@@ -52,6 +52,15 @@ in
5252 '';
5353 };
5454
55+ enableNvidia =
56+ mkOption {
57+ type = types.bool;
58+ default = false;
59+ description = ''
60+ Enable nvidia-docker wrapper, supporting NVIDIA GPUs inside docker containers.
61+ '';
62+ };
63+
5564 liveRestore =
5665 mkOption {
5766 type = types.bool;
@@ -140,7 +149,8 @@ in
140149 ###### implementation
141150
142151 config = mkIf cfg.enable (mkMerge [{
143− environment.systemPackages = [ cfg.package ];
152+ environment.systemPackages = [ cfg.package ]
153+ ++ optional cfg.enableNvidia pkgs.nvidia-docker;
144154 users.groups.docker.gid = config.ids.gids.docker;
145155 systemd.packages = [ cfg.package ];
146156
@@ -157,6 +167,7 @@ in
157167 --log-driver=${cfg.logDriver} \
158168 ${optionalString (cfg.storageDriver != null) "--storage-driver=${cfg.storageDriver}"} \
159169 ${optionalString cfg.liveRestore "--live-restore" } \
170+ ${optionalString cfg.enableNvidia "--add-runtime nvidia=${pkgs.nvidia-docker}/bin/nvidia-container-runtime" } \
160171 ${cfg.extraOptions}
161172 ''];
162173 ExecReload=[
@@ -165,7 +176,8 @@ in
165176 ];
166177 };
167178
168− path = [ pkgs.kmod ] ++ (optional (cfg.storageDriver == "zfs") pkgs.zfs);
179+ path = [ pkgs.kmod ] ++ optional (cfg.storageDriver == "zfs") pkgs.zfs
180+ ++ optional cfg.enableNvidia pkgs.nvidia-docker;
169181 };
170182
171183 systemd.sockets.docker = {
@@ -179,7 +191,6 @@ in
179191 };
180192 };
181193
182−
183194 systemd.services.docker-prune = {
184195 description = "Prune docker resources";
185196
@@ -194,7 +205,15 @@ in
194205
195206 startAt = optional cfg.autoPrune.enable cfg.autoPrune.dates;
196207 };
208+
209+ assertions = [
210+ { assertion = cfg.enableNvidia -> config.hardware.opengl.driSupport32Bit or false;
211+ message = "Option enableNvidia requires 32bit support libraries";
212+ }];
197213 }
214+ (mkIf cfg.enableNvidia {
215+ environment.etc."nvidia-container-runtime/config.toml".source = "${pkgs.nvidia-docker}/etc/config.toml";
216+ })
198217 ]);
199218
200219 imports = [
nixos/modules/virtualisation/virtualbox-host.nix+2
@@ -83,6 +83,8 @@ in
8383 };
8484
8585 config = mkIf cfg.enable (mkMerge [{
86+ warnings = mkIf (config.nixpkgs.config.virtualbox.enableExtensionPack or false)
87+ ["'nixpkgs.virtualbox.enableExtensionPack' has no effect, please use 'virtualisation.virtualbox.host.enableExtensionPack'"];
8688 boot.kernelModules = [ "vboxdrv" "vboxnetadp" "vboxnetflt" ];
8789 boot.extraModulePackages = [ kernelModules ];
8890 environment.systemPackages = [ virtualbox ];
nixos/tests/all-tests.nix+2
@@ -25,6 +25,7 @@ in
2525 atd = handleTest ./atd.nix {};
2626 avahi = handleTest ./avahi.nix {};
2727 bcachefs = handleTestOn ["x86_64-linux"] ./bcachefs.nix {}; # linux-4.18.2018.10.12 is unsupported on aarch64
28+ beanstalkd = handleTest ./beanstalkd.nix {};
2829 beegfs = handleTestOn ["x86_64-linux"] ./beegfs.nix {}; # beegfs is unsupported on aarch64
2930 bind = handleTest ./bind.nix {};
3031 bittorrent = handleTest ./bittorrent.nix {};
@@ -73,6 +74,7 @@ in
7374 ferm = handleTest ./ferm.nix {};
7475 firefox = handleTest ./firefox.nix {};
7576 firewall = handleTest ./firewall.nix {};
77+ fish = handleTest ./fish.nix {};
7678 flannel = handleTestOn ["x86_64-linux"] ./flannel.nix {};
7779 flatpak = handleTest ./flatpak.nix {};
7880 fsck = handleTest ./fsck.nix {};
nixos/tests/avahi.nix+1−1
@@ -2,7 +2,7 @@
22import ./make-test.nix ({ pkgs, ... } : {
33 name = "avahi";
44 meta = with pkgs.stdenv.lib.maintainers; {
5− maintainers = [ eelco chaoflow ];
5+ maintainers = [ eelco ];
66 };
77
88 nodes = let
nixos/tests/beanstalkd.nixnew file+45
@@ -0,0 +1,45 @@
1+import ./make-test.nix ({ pkgs, lib, ... }:
2+
3+let
4+ pythonEnv = pkgs.python3.withPackages (p: [p.beanstalkc]);
5+
6+ produce = pkgs.writeScript "produce.py" ''
7+ #!${pythonEnv.interpreter}
8+ import beanstalkc
9+
10+ queue = beanstalkc.Connection(host='localhost', port=11300, parse_yaml=False);
11+ queue.put(b'this is a job')
12+ queue.put(b'this is another job')
13+ '';
14+
15+ consume = pkgs.writeScript "consume.py" ''
16+ #!${pythonEnv.interpreter}
17+ import beanstalkc
18+
19+ queue = beanstalkc.Connection(host='localhost', port=11300, parse_yaml=False);
20+
21+ job = queue.reserve(timeout=0)
22+ print(job.body.decode('utf-8'))
23+ job.delete()
24+ '';
25+
26+in
27+{
28+ name = "beanstalkd";
29+ meta.maintainers = [ lib.maintainers.aanderse ];
30+
31+ machine =
32+ { ... }:
33+ { services.beanstalkd.enable = true;
34+ };
35+
36+ testScript = ''
37+ startAll;
38+
39+ $machine->waitForUnit('beanstalkd.service');
40+
41+ $machine->succeed("${produce}");
42+ $machine->succeed("${consume}") eq "this is a job\n" or die;
43+ $machine->succeed("${consume}") eq "this is another job\n" or die;
44+ '';
45+})
nixos/tests/bittorrent.nix+1−1
@@ -23,7 +23,7 @@ in
2323{
2424 name = "bittorrent";
2525 meta = with pkgs.stdenv.lib.maintainers; {
26− maintainers = [ domenkozar eelco chaoflow rob bobvanderlinden ];
26+ maintainers = [ domenkozar eelco rob bobvanderlinden ];
2727 };
2828
2929 nodes =
nixos/tests/containers-bridge.nix+1−1
@@ -10,7 +10,7 @@ in
1010import ./make-test.nix ({ pkgs, ...} : {
1111 name = "containers-bridge";
1212 meta = with pkgs.stdenv.lib.maintainers; {
13− maintainers = [ aristid aszlig eelco chaoflow kampfschlaefer ];
13+ maintainers = [ aristid aszlig eelco kampfschlaefer ];
1414 };
1515
1616 machine =
nixos/tests/containers-imperative.nix+1−1
@@ -3,7 +3,7 @@
33import ./make-test.nix ({ pkgs, ...} : {
44 name = "containers-imperative";
55 meta = with pkgs.stdenv.lib.maintainers; {
6− maintainers = [ aristid aszlig eelco chaoflow kampfschlaefer ];
6+ maintainers = [ aristid aszlig eelco kampfschlaefer ];
77 };
88
99 machine =
nixos/tests/containers-ipv4.nix+1−1
@@ -3,7 +3,7 @@
33import ./make-test.nix ({ pkgs, ...} : {
44 name = "containers-ipv4";
55 meta = with pkgs.stdenv.lib.maintainers; {
6− maintainers = [ aristid aszlig eelco chaoflow kampfschlaefer ];
6+ maintainers = [ aristid aszlig eelco kampfschlaefer ];
77 };
88
99 machine =
nixos/tests/containers-ipv6.nix+1−1
@@ -8,7 +8,7 @@ in
88import ./make-test.nix ({ pkgs, ...} : {
99 name = "containers-ipv6";
1010 meta = with pkgs.stdenv.lib.maintainers; {
11− maintainers = [ aristid aszlig eelco chaoflow kampfschlaefer ];
11+ maintainers = [ aristid aszlig eelco kampfschlaefer ];
1212 };
1313
1414 machine =
nixos/tests/containers-portforward.nix+1−1
@@ -10,7 +10,7 @@ in
1010import ./make-test.nix ({ pkgs, ...} : {
1111 name = "containers-portforward";
1212 meta = with pkgs.stdenv.lib.maintainers; {
13− maintainers = [ aristid aszlig eelco chaoflow kampfschlaefer ianwookim ];
13+ maintainers = [ aristid aszlig eelco kampfschlaefer ianwookim ];
1414 };
1515
1616 machine =
nixos/tests/docker-tools.nix+2−2
@@ -34,8 +34,8 @@ import ./make-test.nix ({ pkgs, ... }: {
3434
3535 # To test the pullImage tool
3636 $docker->succeed("docker load --input='${pkgs.dockerTools.examples.nixFromDockerHub}'");
37− $docker->succeed("docker run --rm nixos/nix:1.11 nix-store --version");
38− $docker->succeed("docker rmi nixos/nix:1.11");
37+ $docker->succeed("docker run --rm nixos/nix:2.2.1 nix-store --version");
38+ $docker->succeed("docker rmi nixos/nix:2.2.1");
3939
4040 # To test runAsRoot and entry point
4141 $docker->succeed("docker load --input='${pkgs.dockerTools.examples.nginx}'");
nixos/tests/elk.nix+1−1
@@ -13,7 +13,7 @@ let
1313 mkElkTest = name : elk : makeTest {
1414 inherit name;
1515 meta = with pkgs.stdenv.lib.maintainers; {
16− maintainers = [ eelco chaoflow offline basvandijk ];
16+ maintainers = [ eelco offline basvandijk ];
1717 };
1818 nodes = {
1919 one =
nixos/tests/firefox.nix+1−1
@@ -1,7 +1,7 @@
11import ./make-test.nix ({ pkgs, ... }: {
22 name = "firefox";
33 meta = with pkgs.stdenv.lib.maintainers; {
4− maintainers = [ eelco chaoflow shlevy ];
4+ maintainers = [ eelco shlevy ];
55 };
66
77 machine =
nixos/tests/firewall.nix+1−1
@@ -3,7 +3,7 @@
33import ./make-test.nix ( { pkgs, ... } : {
44 name = "firewall";
55 meta = with pkgs.stdenv.lib.maintainers; {
6− maintainers = [ eelco chaoflow ];
6+ maintainers = [ eelco ];
77 };
88
99 nodes =
nixos/tests/fish.nixnew file+21
@@ -0,0 +1,21 @@
1+import ./make-test.nix ({ pkgs, ... }: {
2+ name = "fish";
3+
4+ machine =
5+ { pkgs, ... }:
6+
7+ {
8+ programs.fish.enable = true;
9+ environment.systemPackages = with pkgs; [
10+ coreutils
11+ procps # kill collides with coreutils' to test https://github.com/NixOS/nixpkgs/issues/56432
12+ ];
13+ };
14+
15+ testScript =
16+ ''
17+ $machine->waitForFile("/etc/fish/generated_completions/coreutils.fish");
18+ $machine->waitForFile("/etc/fish/generated_completions/kill.fish");
19+ $machine->succeed("fish -ic 'echo \$fish_complete_path' | grep -q '/share/fish/completions /etc/fish/generated_completions /root/.local/share/fish/generated_completions\$'");
20+ '';
21+})
nixos/tests/gitea.nix+1−1
@@ -45,7 +45,7 @@ with pkgs.lib;
4545 {
4646 services.gitea.enable = true;
4747 services.gitea.database.type = "postgres";
48− services.gitea.database.password = "secret";
48+ services.gitea.database.passwordFile = pkgs.writeText "db-password" "secret";
4949 };
5050
5151 testScript = ''
nixos/tests/gnome3.nix+1−1
@@ -1,7 +1,7 @@
11import ./make-test.nix ({ pkgs, ...} : {
22 name = "gnome3";
33 meta = with pkgs.stdenv.lib.maintainers; {
4− maintainers = [ domenkozar eelco chaoflow lethalman ];
4+ maintainers = [ domenkozar eelco lethalman ];
55 };
66
77 machine =
nixos/tests/home-assistant.nix+2−2
@@ -87,8 +87,8 @@ in {
8787 $hass->succeed("curl http://localhost:8123/api/states/binary_sensor.mqtt_binary_sensor -H 'x-ha-access: ${apiPassword}' | grep -qF '\"state\": \"on\"'");
8888
8989 # Toggle a binary sensor using hass-cli
90− $hass->succeed("${hassCli} --output json entity get binary_sensor.mqtt_binary_sensor | grep -qF '\"state\": \"on\"'");
91− $hass->succeed("${hassCli} entity edit binary_sensor.mqtt_binary_sensor --json='{\"state\": \"off\"}'");
90+ $hass->succeed("${hassCli} --output json state get binary_sensor.mqtt_binary_sensor | grep -qF '\"state\": \"on\"'");
91+ $hass->succeed("${hassCli} state edit binary_sensor.mqtt_binary_sensor --json='{\"state\": \"off\"}'");
9292 $hass->succeed("curl http://localhost:8123/api/states/binary_sensor.mqtt_binary_sensor -H 'x-ha-access: ${apiPassword}' | grep -qF '\"state\": \"off\"'");
9393
9494 # Print log to ease debugging
nixos/tests/influxdb.nix+1−1
@@ -3,7 +3,7 @@
33import ./make-test.nix ({ pkgs, ...} : {
44 name = "influxdb";
55 meta = with pkgs.stdenv.lib.maintainers; {
6− maintainers = [ chaoflow offline ];
6+ maintainers = [ offline ];
77 };
88
99 nodes = {
nixos/tests/installer.nix+39−31
@@ -273,6 +273,37 @@ let
273273 };
274274 };
275275
276+ makeLuksRootTest = name: luksFormatOpts: makeInstallerTest "luksroot-format2"
277+ { createPartitions = ''
278+ $machine->succeed(
279+ "flock /dev/vda parted --script /dev/vda -- mklabel msdos"
280+ . " mkpart primary ext2 1M 50MB" # /boot
281+ . " mkpart primary linux-swap 50M 1024M"
282+ . " mkpart primary 1024M -1s", # LUKS
283+ "udevadm settle",
284+ "mkswap /dev/vda2 -L swap",
285+ "swapon -L swap",
286+ "modprobe dm_mod dm_crypt",
287+ "echo -n supersecret | cryptsetup luksFormat ${luksFormatOpts} -q /dev/vda3 -",
288+ "echo -n supersecret | cryptsetup luksOpen --key-file - /dev/vda3 cryptroot",
289+ "mkfs.ext3 -L nixos /dev/mapper/cryptroot",
290+ "mount LABEL=nixos /mnt",
291+ "mkfs.ext3 -L boot /dev/vda1",
292+ "mkdir -p /mnt/boot",
293+ "mount LABEL=boot /mnt/boot",
294+ );
295+ '';
296+ extraConfig = ''
297+ boot.kernelParams = lib.mkAfter [ "console=tty0" ];
298+ '';
299+ enableOCR = true;
300+ preBootCommands = ''
301+ $machine->start;
302+ $machine->waitForText(qr/Passphrase for/);
303+ $machine->sendChars("supersecret\n");
304+ '';
305+ };
306+
276307
277308in {
278309
@@ -446,37 +477,14 @@ in {
446477 '';
447478 };
448479
449− # Boot off an encrypted root partition
450− luksroot = makeInstallerTest "luksroot"
451− { createPartitions = ''
452− $machine->succeed(
453− "flock /dev/vda parted --script /dev/vda -- mklabel msdos"
454− . " mkpart primary ext2 1M 50MB" # /boot
455− . " mkpart primary linux-swap 50M 1024M"
456− . " mkpart primary 1024M -1s", # LUKS
457− "udevadm settle",
458− "mkswap /dev/vda2 -L swap",
459− "swapon -L swap",
460− "modprobe dm_mod dm_crypt",
461− "echo -n supersecret | cryptsetup luksFormat -q /dev/vda3 -",
462− "echo -n supersecret | cryptsetup luksOpen --key-file - /dev/vda3 cryptroot",
463− "mkfs.ext3 -L nixos /dev/mapper/cryptroot",
464− "mount LABEL=nixos /mnt",
465− "mkfs.ext3 -L boot /dev/vda1",
466− "mkdir -p /mnt/boot",
467− "mount LABEL=boot /mnt/boot",
468− );
469− '';
470− extraConfig = ''
471− boot.kernelParams = lib.mkAfter [ "console=tty0" ];
472− '';
473− enableOCR = true;
474− preBootCommands = ''
475− $machine->start;
476− $machine->waitForText(qr/Passphrase for/);
477− $machine->sendChars("supersecret\n");
478− '';
479− };
480+ # Boot off an encrypted root partition with the default LUKS header format
481+ luksroot = makeLuksRootTest "luksroot-format1" "";
482+
483+ # Boot off an encrypted root partition with LUKS1 format
484+ luksroot-format1 = makeLuksRootTest "luksroot-format1" "--type=LUKS1";
485+
486+ # Boot off an encrypted root partition with LUKS2 format
487+ luksroot-format2 = makeLuksRootTest "luksroot-format2" "--type=LUKS2";
480488
481489 # Test whether opening encrypted filesystem with keyfile
482490 # Checks for regression of missing cryptsetup, when no luks device without
nixos/tests/ipv6.nix+1−1
@@ -4,7 +4,7 @@
44import ./make-test.nix ({ pkgs, ...} : {
55 name = "ipv6";
66 meta = with pkgs.stdenv.lib.maintainers; {
7− maintainers = [ eelco chaoflow ];
7+ maintainers = [ eelco ];
88 };
99
1010 nodes =
nixos/tests/jenkins.nix+1−1
@@ -6,7 +6,7 @@
66import ./make-test.nix ({ pkgs, ...} : {
77 name = "jenkins";
88 meta = with pkgs.stdenv.lib.maintainers; {
9− maintainers = [ bjornfor coconnor domenkozar eelco chaoflow ];
9+ maintainers = [ bjornfor coconnor domenkozar eelco ];
1010 };
1111
1212 nodes = {
nixos/tests/kexec.nix+1−1
@@ -3,7 +3,7 @@
33import ./make-test.nix ({ pkgs, ...} : {
44 name = "kexec";
55 meta = with pkgs.stdenv.lib.maintainers; {
6− maintainers = [ eelco chaoflow ];
6+ maintainers = [ eelco ];
77 };
88
99 machine = { ... }:
nixos/tests/kubernetes/base.nix+17−22
@@ -10,7 +10,6 @@ let
1010 mkKubernetesBaseTest =
1111 { name, domain ? "my.zyx", test, machines
1212 , pkgs ? import <nixpkgs> { inherit system; }
13− , certs ? import ./certs.nix { inherit pkgs; externalDomain = domain; kubelets = attrNames machines; }
1413 , extraConfiguration ? null }:
1514 let
1615 masterName = head (filter (machineName: any (role: role == "master") machines.${machineName}.roles) (attrNames machines));
@@ -20,6 +19,10 @@ let
2019 ${master.ip} api.${domain}
2120 ${concatMapStringsSep "\n" (machineName: "${machines.${machineName}.ip} ${machineName}.${domain}") (attrNames machines)}
2221 '';
22+ kubectl = with pkgs; runCommand "wrap-kubectl" { buildInputs = [ makeWrapper ]; } ''
23+ mkdir -p $out/bin
24+ makeWrapper ${pkgs.kubernetes}/bin/kubectl $out/bin/kubectl --set KUBECONFIG "/etc/kubernetes/cluster-admin.kubeconfig"
25+ '';
2326 in makeTest {
2427 inherit name;
2528
@@ -27,6 +30,7 @@ let
2730 { config, pkgs, lib, nodes, ... }:
2831 mkMerge [
2932 {
33+ boot.postBootCommands = "rm -fr /var/lib/kubernetes/secrets /tmp/shared/*";
3034 virtualisation.memorySize = mkDefault 1536;
3135 virtualisation.diskSize = mkDefault 4096;
3236 networking = {
@@ -45,34 +49,25 @@ let
4549 };
4650 };
4751 programs.bash.enableCompletion = true;
48− environment.variables = {
49− ETCDCTL_CERT_FILE = "${certs.worker}/etcd-client.pem";
50− ETCDCTL_KEY_FILE = "${certs.worker}/etcd-client-key.pem";
51− ETCDCTL_CA_FILE = "${certs.worker}/ca.pem";
52− ETCDCTL_PEERS = "https://etcd.${domain}:2379";
53− };
52+ environment.systemPackages = [ kubectl ];
5453 services.flannel.iface = "eth1";
55− services.kubernetes.apiserver.advertiseAddress = master.ip;
54+ services.kubernetes = {
55+ addons.dashboard.enable = true;
56+
57+ easyCerts = true;
58+ inherit (machine) roles;
59+ apiserver = {
60+ securePort = 443;
61+ advertiseAddress = master.ip;
62+ };
63+ masterAddress = "${masterName}.${config.networking.domain}";
64+ };
5665 }
5766 (optionalAttrs (any (role: role == "master") machine.roles) {
5867 networking.firewall.allowedTCPPorts = [
59− 2379 2380 # etcd
6068 443 # kubernetes apiserver
6169 ];
62− services.etcd = {
63− enable = true;
64− certFile = "${certs.master}/etcd.pem";
65− keyFile = "${certs.master}/etcd-key.pem";
66− trustedCaFile = "${certs.master}/ca.pem";
67− peerClientCertAuth = true;
68− listenClientUrls = ["https://0.0.0.0:2379"];
69− listenPeerUrls = ["https://0.0.0.0:2380"];
70− advertiseClientUrls = ["https://etcd.${config.networking.domain}:2379"];
71− initialCluster = ["${masterName}=https://etcd.${config.networking.domain}:2380"];
72− initialAdvertisePeerUrls = ["https://etcd.${config.networking.domain}:2380"];
73− };
7470 })
75− (import ./kubernetes-common.nix { inherit (machine) roles; inherit pkgs config certs; })
7671 (optionalAttrs (machine ? "extraConfiguration") (machine.extraConfiguration { inherit config pkgs lib nodes; }))
7772 (optionalAttrs (extraConfiguration != null) (extraConfiguration { inherit config pkgs lib nodes; }))
7873 ]
nixos/tests/kubernetes/certs.nixdeleted−219
@@ -1,219 +0,0 @@
1−{
2− pkgs ? import <nixpkgs> {},
3− externalDomain ? "myawesomecluster.cluster.yourdomain.net",
4− serviceClusterIp ? "10.0.0.1",
5− kubelets,
6− ...
7−}:
8−let
9− runWithCFSSL = name: cmd:
10− let secrets = pkgs.runCommand "${name}-cfss.json" {
11− buildInputs = [ pkgs.cfssl pkgs.jq ];
12− outputs = [ "out" "cert" "key" "csr" ];
13− }
14− ''
15− (
16− echo "${cmd}"
17− cfssl ${cmd} > tmp
18− cat tmp | jq -r .key > $key
19− cat tmp | jq -r .cert > $cert
20− cat tmp | jq -r .csr > $csr
21−
22− touch $out
23− ) 2>&1 | fold -w 80 -s
24− '';
25− in {
26− key = secrets.key;
27− cert = secrets.cert;
28− csr = secrets.csr;
29− };
30−
31− writeCFSSL = content:
32− pkgs.runCommand content.name {
33− buildInputs = [ pkgs.cfssl pkgs.jq ];
34− } ''
35− mkdir -p $out
36− cd $out
37−
38− json=${pkgs.lib.escapeShellArg (builtins.toJSON content)}
39−
40− # for a given $field in the $json, treat the associated value as a
41− # file path and substitute the contents thereof into the $json
42− # object.
43− expandFileField() {
44− local field=$1
45− if jq -e --arg field "$field" 'has($field)'; then
46− local path="$(echo "$json" | jq -r ".$field")"
47− json="$(echo "$json" | jq --arg val "$(cat "$path")" ".$field = \$val")"
48− fi
49− }
50−
51− expandFileField key
52− expandFileField ca
53− expandFileField cert
54−
55− echo "$json" | cfssljson -bare ${content.name}
56− '';
57−
58− noCSR = content: pkgs.lib.filterAttrs (n: v: n != "csr") content;
59− noKey = content: pkgs.lib.filterAttrs (n: v: n != "key") content;
60−
61− writeFile = content:
62− if pkgs.lib.isDerivation content
63− then content
64− else pkgs.writeText "content" (builtins.toJSON content);
65−
66− createServingCertKey = { ca, cn, hosts? [], size ? 2048, name ? cn }:
67− noCSR (
68− (runWithCFSSL name "gencert -ca=${writeFile ca.cert} -ca-key=${writeFile ca.key} -profile=server -config=${writeFile ca.config} ${writeFile {
69− CN = cn;
70− hosts = hosts;
71− key = { algo = "rsa"; inherit size; };
72− }}") // { inherit name; }
73− );
74−
75− createClientCertKey = { ca, cn, groups ? [], size ? 2048, name ? cn }:
76− noCSR (
77− (runWithCFSSL name "gencert -ca=${writeFile ca.cert} -ca-key=${writeFile ca.key} -profile=client -config=${writeFile ca.config} ${writeFile {
78− CN = cn;
79− names = map (group: {O = group;}) groups;
80− hosts = [""];
81− key = { algo = "rsa"; inherit size; };
82− }}") // { inherit name; }
83− );
84−
85− createSigningCertKey = { C ? "xx", ST ? "x", L ? "x", O ? "x", OU ? "x", CN ? "ca", emailAddress ? "x", expiry ? "43800h", size ? 2048, name ? CN }:
86− (noCSR (runWithCFSSL CN "genkey -initca ${writeFile {
87− key = { algo = "rsa"; inherit size; };
88− names = [{ inherit C ST L O OU CN emailAddress; }];
89− }}")) // {
90− inherit name;
91− config.signing = {
92− default.expiry = expiry;
93− profiles = {
94− server = {
95− inherit expiry;
96− usages = [
97− "signing"
98− "key encipherment"
99− "server auth"
100− ];
101− };
102− client = {
103− inherit expiry;
104− usages = [
105− "signing"
106− "key encipherment"
107− "client auth"
108− ];
109− };
110− peer = {
111− inherit expiry;
112− usages = [
113− "signing"
114− "key encipherment"
115− "server auth"
116− "client auth"
117− ];
118− };
119− };
120− };
121− };
122−
123− ca = createSigningCertKey {};
124−
125− kube-apiserver = createServingCertKey {
126− inherit ca;
127− cn = "kube-apiserver";
128− hosts = ["kubernetes.default" "kubernetes.default.svc" "localhost" "api.${externalDomain}" serviceClusterIp];
129− };
130−
131− kubelet = createServingCertKey {
132− inherit ca;
133− cn = "kubelet";
134− hosts = ["*.${externalDomain}"];
135− };
136−
137− service-accounts = createServingCertKey {
138− inherit ca;
139− cn = "kube-service-accounts";
140− };
141−
142− etcd = createServingCertKey {
143− inherit ca;
144− cn = "etcd";
145− hosts = ["etcd.${externalDomain}"];
146− };
147−
148− etcd-client = createClientCertKey {
149− inherit ca;
150− cn = "etcd-client";
151− };
152−
153− kubelet-client = createClientCertKey {
154− inherit ca;
155− cn = "kubelet-client";
156− groups = ["system:masters"];
157− };
158−
159− apiserver-client = {
160− kubelet = hostname: createClientCertKey {
161− inherit ca;
162− name = "apiserver-client-kubelet-${hostname}";
163− cn = "system:node:${hostname}.${externalDomain}";
164− groups = ["system:nodes"];
165− };
166−
167− kube-proxy = createClientCertKey {
168− inherit ca;
169− name = "apiserver-client-kube-proxy";
170− cn = "system:kube-proxy";
171− groups = ["system:kube-proxy" "system:nodes"];
172− };
173−
174− kube-controller-manager = createClientCertKey {
175− inherit ca;
176− name = "apiserver-client-kube-controller-manager";
177− cn = "system:kube-controller-manager";
178− groups = ["system:masters"];
179− };
180−
181− kube-scheduler = createClientCertKey {
182− inherit ca;
183− name = "apiserver-client-kube-scheduler";
184− cn = "system:kube-scheduler";
185− groups = ["system:kube-scheduler"];
186− };
187−
188− admin = createClientCertKey {
189− inherit ca;
190− cn = "admin";
191− groups = ["system:masters"];
192− };
193− };
194−in {
195− master = pkgs.buildEnv {
196− name = "master-keys";
197− paths = [
198− (writeCFSSL (noKey ca))
199− (writeCFSSL kube-apiserver)
200− (writeCFSSL kubelet-client)
201− (writeCFSSL apiserver-client.kube-controller-manager)
202− (writeCFSSL apiserver-client.kube-scheduler)
203− (writeCFSSL service-accounts)
204− (writeCFSSL etcd)
205− ];
206− };
207−
208− worker = pkgs.buildEnv {
209− name = "worker-keys";
210− paths = [
211− (writeCFSSL (noKey ca))
212− (writeCFSSL kubelet)
213− (writeCFSSL apiserver-client.kube-proxy)
214− (writeCFSSL etcd-client)
215− ] ++ map (hostname: writeCFSSL (apiserver-client.kubelet hostname)) kubelets;
216− };
217−
218− admin = writeCFSSL apiserver-client.admin;
219−}
nixos/tests/kubernetes/dns.nix+9−6
@@ -71,17 +71,17 @@ let
7171
7272 base = {
7373 name = "dns";
74− inherit domain certs extraConfiguration;
74+ inherit domain extraConfiguration;
7575 };
7676
7777 singleNodeTest = {
7878 test = ''
7979 # prepare machine1 for test
8080 $machine1->waitUntilSucceeds("kubectl get node machine1.${domain} | grep -w Ready");
81− $machine1->execute("docker load < ${redisImage}");
81+ $machine1->waitUntilSucceeds("docker load < ${redisImage}");
8282 $machine1->waitUntilSucceeds("kubectl create -f ${redisPod}");
8383 $machine1->waitUntilSucceeds("kubectl create -f ${redisService}");
84− $machine1->execute("docker load < ${probeImage}");
84+ $machine1->waitUntilSucceeds("docker load < ${probeImage}");
8585 $machine1->waitUntilSucceeds("kubectl create -f ${probePod}");
8686
8787 # check if pods are running
@@ -99,13 +99,16 @@ let
9999
100100 multiNodeTest = {
101101 test = ''
102+ # Node token exchange
103+ $machine1->waitUntilSucceeds("cp -f /var/lib/cfssl/apitoken.secret /tmp/shared/apitoken.secret");
104+ $machine2->waitUntilSucceeds("cat /tmp/shared/apitoken.secret | nixos-kubernetes-node-join");
105+
102106 # prepare machines for test
103− $machine1->waitUntilSucceeds("kubectl get node machine1.${domain} | grep -w Ready");
104107 $machine1->waitUntilSucceeds("kubectl get node machine2.${domain} | grep -w Ready");
105− $machine2->execute("docker load < ${redisImage}");
108+ $machine2->waitUntilSucceeds("docker load < ${redisImage}");
106109 $machine1->waitUntilSucceeds("kubectl create -f ${redisPod}");
107110 $machine1->waitUntilSucceeds("kubectl create -f ${redisService}");
108− $machine2->execute("docker load < ${probeImage}");
111+ $machine2->waitUntilSucceeds("docker load < ${probeImage}");
109112 $machine1->waitUntilSucceeds("kubectl create -f ${probePod}");
110113
111114 # check if pods are running
nixos/tests/kubernetes/kubernetes-common.nixdeleted−57
@@ -1,57 +0,0 @@
1−{ roles, config, pkgs, certs }:
2−with pkgs.lib;
3−let
4− base = {
5− inherit roles;
6− flannel.enable = true;
7− addons.dashboard.enable = true;
8−
9− caFile = "${certs.master}/ca.pem";
10− apiserver = {
11− tlsCertFile = "${certs.master}/kube-apiserver.pem";
12− tlsKeyFile = "${certs.master}/kube-apiserver-key.pem";
13− kubeletClientCertFile = "${certs.master}/kubelet-client.pem";
14− kubeletClientKeyFile = "${certs.master}/kubelet-client-key.pem";
15− serviceAccountKeyFile = "${certs.master}/kube-service-accounts.pem";
16− };
17− etcd = {
18− servers = ["https://etcd.${config.networking.domain}:2379"];
19− certFile = "${certs.worker}/etcd-client.pem";
20− keyFile = "${certs.worker}/etcd-client-key.pem";
21− };
22− kubeconfig = {
23− server = "https://api.${config.networking.domain}";
24− };
25− kubelet = {
26− tlsCertFile = "${certs.worker}/kubelet.pem";
27− tlsKeyFile = "${certs.worker}/kubelet-key.pem";
28− hostname = "${config.networking.hostName}.${config.networking.domain}";
29− kubeconfig = {
30− certFile = "${certs.worker}/apiserver-client-kubelet-${config.networking.hostName}.pem";
31− keyFile = "${certs.worker}/apiserver-client-kubelet-${config.networking.hostName}-key.pem";
32− };
33− };
34− controllerManager = {
35− serviceAccountKeyFile = "${certs.master}/kube-service-accounts-key.pem";
36− kubeconfig = {
37− certFile = "${certs.master}/apiserver-client-kube-controller-manager.pem";
38− keyFile = "${certs.master}/apiserver-client-kube-controller-manager-key.pem";
39− };
40− };
41− scheduler = {
42− kubeconfig = {
43− certFile = "${certs.master}/apiserver-client-kube-scheduler.pem";
44− keyFile = "${certs.master}/apiserver-client-kube-scheduler-key.pem";
45− };
46− };
47− proxy = {
48− kubeconfig = {
49− certFile = "${certs.worker}/apiserver-client-kube-proxy.pem";
50− keyFile = "${certs.worker}//apiserver-client-kube-proxy-key.pem";
51− };
52− };
53− };
54−
55−in {
56− services.kubernetes = base;
57−}
nixos/tests/kubernetes/rbac.nix+8−5
@@ -96,7 +96,7 @@ let
9696 test = ''
9797 $machine1->waitUntilSucceeds("kubectl get node machine1.my.zyx | grep -w Ready");
9898
99− $machine1->execute("docker load < ${kubectlImage}");
99+ $machine1->waitUntilSucceeds("docker load < ${kubectlImage}");
100100
101101 $machine1->waitUntilSucceeds("kubectl apply -f ${roServiceAccount}");
102102 $machine1->waitUntilSucceeds("kubectl apply -f ${roRole}");
@@ -105,7 +105,7 @@ let
105105
106106 $machine1->waitUntilSucceeds("kubectl get pod kubectl | grep Running");
107107
108− $machine1->succeed("kubectl exec -ti kubectl -- kubectl get pods");
108+ $machine1->waitUntilSucceeds("kubectl exec -ti kubectl -- kubectl get pods");
109109 $machine1->fail("kubectl exec -ti kubectl -- kubectl create -f /kubectl-pod-2.json");
110110 $machine1->fail("kubectl exec -ti kubectl -- kubectl delete pods -l name=kubectl");
111111 '';
@@ -113,10 +113,13 @@ let
113113
114114 multinode = base // {
115115 test = ''
116− $machine1->waitUntilSucceeds("kubectl get node machine1.my.zyx | grep -w Ready");
116+ # Node token exchange
117+ $machine1->waitUntilSucceeds("cp -f /var/lib/cfssl/apitoken.secret /tmp/shared/apitoken.secret");
118+ $machine2->waitUntilSucceeds("cat /tmp/shared/apitoken.secret | nixos-kubernetes-node-join");
119+
117120 $machine1->waitUntilSucceeds("kubectl get node machine2.my.zyx | grep -w Ready");
118121
119− $machine2->execute("docker load < ${kubectlImage}");
122+ $machine2->waitUntilSucceeds("docker load < ${kubectlImage}");
120123
121124 $machine1->waitUntilSucceeds("kubectl apply -f ${roServiceAccount}");
122125 $machine1->waitUntilSucceeds("kubectl apply -f ${roRole}");
@@ -125,7 +128,7 @@ let
125128
126129 $machine1->waitUntilSucceeds("kubectl get pod kubectl | grep Running");
127130
128− $machine1->succeed("kubectl exec -ti kubectl -- kubectl get pods");
131+ $machine1->waitUntilSucceeds("kubectl exec -ti kubectl -- kubectl get pods");
129132 $machine1->fail("kubectl exec -ti kubectl -- kubectl create -f /kubectl-pod-2.json");
130133 $machine1->fail("kubectl exec -ti kubectl -- kubectl delete pods -l name=kubectl");
131134 '';
nixos/tests/login.nix+1−1
@@ -3,7 +3,7 @@ import ./make-test.nix ({ pkgs, latestKernel ? false, ... }:
33{
44 name = "login";
55 meta = with pkgs.stdenv.lib.maintainers; {
6− maintainers = [ eelco chaoflow ];
6+ maintainers = [ eelco ];
77 };
88
99 machine =
nixos/tests/misc.nix+1−1
@@ -3,7 +3,7 @@
33import ./make-test.nix ({ pkgs, ...} : rec {
44 name = "misc";
55 meta = with pkgs.stdenv.lib.maintainers; {
6− maintainers = [ eelco chaoflow ];
6+ maintainers = [ eelco ];
77 };
88
99 foo = pkgs.writeText "foo" "Hello World";
nixos/tests/mumble.nix+1−1
@@ -9,7 +9,7 @@ in
99{
1010 name = "mumble";
1111 meta = with pkgs.stdenv.lib.maintainers; {
12− maintainers = [ thoughtpolice eelco chaoflow ];
12+ maintainers = [ thoughtpolice eelco ];
1313 };
1414
1515 nodes = {
nixos/tests/munin.nix+1−1
@@ -4,7 +4,7 @@
44import ./make-test.nix ({ pkgs, ...} : {
55 name = "munin";
66 meta = with pkgs.stdenv.lib.maintainers; {
7− maintainers = [ domenkozar eelco chaoflow ];
7+ maintainers = [ domenkozar eelco ];
88 };
99
1010 nodes = {
nixos/tests/mysql-replication.nix+1−1
@@ -8,7 +8,7 @@ in
88{
99 name = "mysql-replication";
1010 meta = with pkgs.stdenv.lib.maintainers; {
11− maintainers = [ eelco chaoflow shlevy ];
11+ maintainers = [ eelco shlevy ];
1212 };
1313
1414 nodes = {
nixos/tests/mysql.nix+1−1
@@ -1,7 +1,7 @@
11import ./make-test.nix ({ pkgs, ...} : {
22 name = "mysql";
33 meta = with pkgs.stdenv.lib.maintainers; {
4− maintainers = [ eelco chaoflow shlevy ];
4+ maintainers = [ eelco shlevy ];
55 };
66
77 nodes = {
nixos/tests/nat.nix+1−1
@@ -24,7 +24,7 @@ import ./make-test.nix ({ pkgs, lib, withFirewall, withConntrackHelpers ? false,
2424 name = "nat" + (if withFirewall then "WithFirewall" else "Standalone")
2525 + (lib.optionalString withConntrackHelpers "withConntrackHelpers");
2626 meta = with pkgs.stdenv.lib.maintainers; {
27− maintainers = [ eelco chaoflow rob ];
27+ maintainers = [ eelco rob ];
2828 };
2929
3030 nodes =
nixos/tests/ndppd.nix+1−2
@@ -37,8 +37,7 @@ import ./make-test.nix ({ pkgs, lib, ...} : {
3737 };
3838 services.ndppd = {
3939 enable = true;
40− interface = "eth1";
41− network = "fd42::/112";
40+ proxies."eth1".rules."fd42::/112" = {};
4241 };
4342 containers.client = {
4443 autoStart = true;
nixos/tests/nfs.nix+1−1
@@ -20,7 +20,7 @@ in
2020{
2121 name = "nfs";
2222 meta = with pkgs.stdenv.lib.maintainers; {
23− maintainers = [ eelco chaoflow ];
23+ maintainers = [ eelco ];
2424 };
2525
2626 nodes =
nixos/tests/openssh.nix+24−1
@@ -5,7 +5,7 @@ let inherit (import ./ssh-keys.nix pkgs)
55in {
66 name = "openssh";
77 meta = with pkgs.stdenv.lib.maintainers; {
8− maintainers = [ aszlig eelco chaoflow ];
8+ maintainers = [ aszlig eelco ];
99 };
1010
1111 nodes = {
@@ -34,6 +34,24 @@ in {
3434 ];
3535 };
3636
37+ server_localhost_only =
38+ { ... }:
39+
40+ {
41+ services.openssh = {
42+ enable = true; listenAddresses = [ { addr = "127.0.0.1"; port = 22; } ];
43+ };
44+ };
45+
46+ server_localhost_only_lazy =
47+ { ... }:
48+
49+ {
50+ services.openssh = {
51+ enable = true; startWhenNeeded = true; listenAddresses = [ { addr = "127.0.0.1"; port = 22; } ];
52+ };
53+ };
54+
3755 client =
3856 { ... }: { };
3957
@@ -77,5 +95,10 @@ in {
7795 " server_lazy true");
7896
7997 };
98+
99+ subtest "localhost-only", sub {
100+ $server_localhost_only->succeed("ss -nlt | grep '127.0.0.1:22'");
101+ $server_localhost_only_lazy->succeed("ss -nlt | grep '127.0.0.1:22'");
102+ }
80103 '';
81104})
nixos/tests/phabricator.nix+1−1
@@ -1,7 +1,7 @@
11import ./make-test.nix ({ pkgs, ... }: {
22 name = "phabricator";
33 meta = with pkgs.stdenv.lib.maintainers; {
4− maintainers = [ chaoflow ];
4+ maintainers = [ ];
55 };
66
77 nodes = {
nixos/tests/printing.nix+1−1
@@ -3,7 +3,7 @@
33import ./make-test.nix ({pkgs, ... }: {
44 name = "printing";
55 meta = with pkgs.stdenv.lib.maintainers; {
6− maintainers = [ domenkozar eelco chaoflow jgeerds ];
6+ maintainers = [ domenkozar eelco jgeerds ];
77 };
88
99 nodes = {
nixos/tests/proxy.nix+1−1
@@ -16,7 +16,7 @@ in
1616{
1717 name = "proxy";
1818 meta = with pkgs.stdenv.lib.maintainers; {
19− maintainers = [ eelco chaoflow ];
19+ maintainers = [ eelco ];
2020 };
2121
2222 nodes =
nixos/tests/quake3.nix+1−1
@@ -22,7 +22,7 @@ in
2222rec {
2323 name = "quake3";
2424 meta = with pkgs.stdenv.lib.maintainers; {
25− maintainers = [ domenkozar eelco chaoflow ];
25+ maintainers = [ domenkozar eelco ];
2626 };
2727
2828 # TODO: lcov doesn't work atm
nixos/tests/rabbitmq.nix+1−1
@@ -3,7 +3,7 @@
33import ./make-test.nix ({ pkgs, ... }: {
44 name = "rabbitmq";
55 meta = with pkgs.stdenv.lib.maintainers; {
6− maintainers = [ eelco chaoflow offline ];
6+ maintainers = [ eelco offline ];
77 };
88
99 nodes = {
nixos/tests/rspamd.nix+13−3
@@ -52,8 +52,18 @@ in
5252 machine = {
5353 services.rspamd = {
5454 enable = true;
55− bindSocket = [ "/run/rspamd.sock mode=0600 user=root group=root" ];
56− bindUISocket = [ "/run/rspamd-worker.sock mode=0666 user=root group=root" ];
55+ workers.normal.bindSockets = [{
56+ socket = "/run/rspamd.sock";
57+ mode = "0600";
58+ owner = "root";
59+ group = "root";
60+ }];
61+ workers.controller.bindSockets = [{
62+ socket = "/run/rspamd-worker.sock";
63+ mode = "0666";
64+ owner = "root";
65+ group = "root";
66+ }];
5767 };
5868 };
5969
@@ -235,7 +245,7 @@ in
235245 services.rspamd = {
236246 enable = true;
237247 postfix.enable = true;
238− workers.rspamd_proxy.type = "proxy";
248+ workers.rspamd_proxy.type = "rspamd_proxy";
239249 };
240250 };
241251 testScript = ''
nixos/tests/subversion.nix+1−1
@@ -34,7 +34,7 @@ in
3434{
3535 name = "subversion";
3636 meta = with pkgs.stdenv.lib.maintainers; {
37− maintainers = [ eelco chaoflow ];
37+ maintainers = [ eelco ];
3838 };
3939
4040 nodes =
nixos/tests/tomcat.nix+1−1
@@ -1,7 +1,7 @@
11import ./make-test.nix ({ pkgs, ...} : {
22 name = "tomcat";
33 meta = with pkgs.stdenv.lib.maintainers; {
4− maintainers = [ eelco chaoflow ];
4+ maintainers = [ eelco ];
55 };
66
77 nodes = {
nixos/tests/trac.nix+1−1
@@ -1,7 +1,7 @@
11import ./make-test.nix ({ pkgs, ... }: {
22 name = "trac";
33 meta = with pkgs.stdenv.lib.maintainers; {
4− maintainers = [ eelco chaoflow ];
4+ maintainers = [ eelco ];
55 };
66
77 nodes = {
nixos/tests/udisks2.nix+1−1
@@ -12,7 +12,7 @@ in
1212{
1313 name = "udisks2";
1414 meta = with pkgs.stdenv.lib.maintainers; {
15− maintainers = [ eelco chaoflow ];
15+ maintainers = [ eelco ];
1616 };
1717
1818 machine =
nixos/tests/xfce.nix+1−1
@@ -1,7 +1,7 @@
11import ./make-test.nix ({ pkgs, ...} : {
22 name = "xfce";
33 meta = with pkgs.stdenv.lib.maintainers; {
4− maintainers = [ eelco chaoflow shlevy ];
4+ maintainers = [ eelco shlevy ];
55 };
66
77 machine =
pkgs/applications/altcoins/clightning.nix+16−16
@@ -1,37 +1,37 @@
11{ stdenv, python3, pkgconfig, which, libtool, autoconf, automake,
2− autogen, sqlite, gmp, zlib, fetchzip }:
2+ autogen, sqlite, gmp, zlib, fetchurl, unzip, fetchpatch }:
33
44with stdenv.lib;
55stdenv.mkDerivation rec {
66 name = "clightning-${version}";
7− version = "0.6.3";
8−
9− src = fetchzip {
10− #
11− # NOTE 0.6.3 release zip was bugged, this zip is a fix provided by the team
12− # https://github.com/ElementsProject/lightning/issues/2254#issuecomment-453791475
13− #
14− # replace url with:
15− # https://github.com/ElementsProject/lightning/releases/download/v${version}/clightning-v${version}.zip
16− # for future relases
17− #
18− url = "https://github.com/ElementsProject/lightning/files/2752675/clightning-v0.6.3.zip";
19− sha256 = "0k5pwimwn69pcakiq4a7qnjyf4i8w1jlacwrjazm1sfivr6nfiv6";
7+ version = "0.7.0";
8+
9+ src = fetchurl {
10+ url = "https://github.com/ElementsProject/lightning/releases/download/v${version}/clightning-v${version}.zip";
11+ sha256 = "448022c2433cbf19bbd0f726344b0500c0c21ee5cc2291edf6b622f094cb3a15";
2012 };
2113
2214 enableParallelBuilding = true;
2315
24− nativeBuildInputs = [ autoconf autogen automake libtool pkgconfig which ];
16+ nativeBuildInputs = [ autoconf autogen automake libtool pkgconfig which unzip ];
2517 buildInputs = [ sqlite gmp zlib python3 ];
2618
2719 makeFlags = [ "prefix=$(out) VERSION=v${version}" ];
2820
21+ patches = [
22+ # remove after 0.7.0
23+ (fetchpatch {
24+ name = "fix-0.7.0-build.patch";
25+ url = "https://github.com/ElementsProject/lightning/commit/ffc03d2bc84dc42f745959fbb6c8007cf0a6f701.patch";
26+ sha256 = "1m5fiz3m8k3nk09nldii8ij94bg6fqllqgdbiwj3sy12vihs8c4v";
27+ })
28+ ];
29+
2930 configurePhase = ''
3031 ./configure --prefix=$out --disable-developer --disable-valgrind
3132 '';
3233
3334 postPatch = ''
34− echo "" > tools/refresh-submodules.sh
3535 patchShebangs tools/generate-wire.py
3636 '';
3737
pkgs/applications/altcoins/go-ethereum.nix+3−3
@@ -2,7 +2,7 @@
22
33buildGoPackage rec {
44 name = "go-ethereum-${version}";
5− version = "1.8.21";
5+ version = "1.8.22";
66 goPackagePath = "github.com/ethereum/go-ethereum";
77
88 # Fix for usb-related segmentation faults on darwin
@@ -16,13 +16,13 @@ buildGoPackage rec {
1616 owner = "ethereum";
1717 repo = "go-ethereum";
1818 rev = "v${version}";
19− sha256 = "1p4qfxa90l26s9q4hddyb93gdf7vb0sb46z9n26ijiqlxdq3z7v2";
19+ sha256 = "0ag9qxrf7n0qkccaf6v4jaysivpxvsy5zfzar3mcm65223pqy375";
2020 };
2121
2222 meta = with stdenv.lib; {
2323 homepage = https://ethereum.github.io/go-ethereum/;
2424 description = "Official golang implementation of the Ethereum protocol";
2525 license = with licenses; [ lgpl3 gpl3 ];
26− maintainers = [ maintainers.adisbladis maintainers.lionello ];
26+ maintainers = with maintainers; [ adisbladis asymmetric lionello ];
2727 };
2828}
pkgs/applications/altcoins/nano-wallet/default.nix+2−2
@@ -3,13 +3,13 @@
33stdenv.mkDerivation rec {
44
55 name = "nano-wallet-${version}";
6− version = "16.3";
6+ version = "18.0";
77
88 src = fetchFromGitHub {
99 owner = "nanocurrency";
1010 repo = "raiblocks";
1111 rev = "V${version}";
12− sha256 = "1rhq7qzfd8li33pmzcjxrhbbgdklxlcijam62s385f8yqjwy80dz";
12+ sha256 = "03f9g1x7rs7vic9yzsjxsh5ddx9ys78rssbfghbccfw9qrwylh3y";
1313 fetchSubmodules = true;
1414 };
1515
pkgs/applications/altcoins/parity/beta.nix+2−2
@@ -1,6 +1,6 @@
11let
2− version = "2.3.1";
3− sha256 = "13y3gczqb0rb6v17j63j1zp11cnykbv9c674hrk1i6jb3y4am4lv";
2+ version = "2.3.2";
3+ sha256 = "1063n7lkcfkywi0a06pxkw0wkq3qyq4lr53fv584mlbnh2hj8gpm";
44 cargoSha256 = "1pj5hzy7k1l9bbw1qpz80vvk89qz4qz4rnnkcvn2rkbmq382gxwy";
55in
66 import ./parity.nix { inherit version sha256 cargoSha256; }
pkgs/applications/altcoins/parity/default.nix+2−2
@@ -1,6 +1,6 @@
11let
2− version = "2.2.8";
3− sha256 = "1l2bxra4fkbh8gnph9wnc24ddmzfdclsgcjbx8q6fflhcg6r9hf1";
2+ version = "2.2.9";
3+ sha256 = "0n9zk25ni4asfdqc4xh0gqp2446vxacqz7qcrmsngf8swvayvi16";
44 cargoSha256 = "10lg0vzikzlj927hpn59x1dz9dvhcaqsl8nz14vj2iz42vfkcm7p";
55in
66 import ./parity.nix { inherit version sha256 cargoSha256; }
pkgs/applications/altcoins/particl/particl-core.nix+2−2
@@ -17,11 +17,11 @@ with stdenv.lib;
1717
1818stdenv.mkDerivation rec {
1919 name = "particl-core-${version}";
20− version = "0.17.0.2";
20+ version = "0.17.1.2";
2121
2222 src = fetchurl {
2323 url = "https://github.com/particl/particl-core/archive/v${version}.tar.gz";
24− sha256 = "0bkxdayl0jrfhgz8qzqqpwzv0yavz3nwsn6c8k003jnbcw65fkhx";
24+ sha256 = "16hcyxwp6yrypwvxz6i2987z3jmpk47xcgnsgh9klih8baqg64p5";
2525 };
2626
2727 nativeBuildInputs = [ pkgconfig autoreconfHook ];
pkgs/applications/altcoins/wownero.nix+2−2
@@ -11,12 +11,12 @@ with stdenv.lib;
1111stdenv.mkDerivation rec {
1212 name = "wownero-${version}";
1313
14− version = "0.5.0.0";
14+ version = "0.5.0.2";
1515 src = fetchFromGitHub {
1616 owner = "wownero";
1717 repo = "wownero";
1818 rev = "v${version}";
19− sha256 = "1dy9ycabva2z0896al1k2avl9xppkxvm1p2jwmg509ahjl98k3sy";
19+ sha256 = "120cfkl2q8qgl3ajxfkkri9bxlnvmr1mhb1wvcigch1lqyflff1w";
2020 };
2121
2222 nativeBuildInputs = [ cmake pkgconfig git ];
pkgs/applications/audio/ams-lv2/default.nix+2−2
@@ -3,13 +3,13 @@
33
44stdenv.mkDerivation rec {
55 name = "ams-lv2-${version}";
6− version = "1.2.1";
6+ version = "1.2.2";
77
88 src = fetchFromGitHub {
99 owner = "blablack";
1010 repo = "ams-lv2";
1111 rev = version;
12− sha256 = "1n1dnqnj24xhiy9323lj52nswr5120cj56fpckg802miss05sr6x";
12+ sha256 = "1lz2mvk4gqsyf92yxd3aaldx0d0qi28h4rnnvsaz4ls0ccqm80nk";
1313 };
1414
1515 nativeBuildInputs = [ pkgconfig wafHook ];
pkgs/applications/audio/audacious/default.nix+1−1
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
2626
2727 buildInputs = [
2828 gettext glib gtk3 libmowgli dbus-glib libxml2
29− xorg.libXcomposite gnome3.defaultIconTheme alsaLib libjack2
29+ xorg.libXcomposite gnome3.adwaita-icon-theme alsaLib libjack2
3030 libpulseaudio fluidsynth libmad libogg libvorbis libcdio
3131 libcddb flac ffmpeg mpg123 libcue libmms libbs2b libsndfile
3232 libmodplug libsamplerate soxr lirc curl wavpack neon faad2
pkgs/applications/audio/bs1770gain/default.nix+2−2
@@ -2,11 +2,11 @@
22
33stdenv.mkDerivation rec {
44 name = "bs1770gain-${version}";
5− version = "0.5.1";
5+ version = "0.5.2";
66
77 src = fetchurl {
88 url = "mirror://sourceforge/bs1770gain/${name}.tar.gz";
9− sha256 = "0r4fbajgfmnwgl63hcm56f1j8m5f135q6j5jkzdvrrhpcj39yx06";
9+ sha256 = "1p6yz5q7czyf9ard65sp4kawdlkg40cfscr3b24znymmhs3p7rbk";
1010 };
1111
1212 buildInputs = [ ffmpeg sox ];
pkgs/applications/audio/cmus/default.nix+2
@@ -8,6 +8,7 @@
88, samplerateSupport ? jackSupport, libsamplerate ? null
99, ossSupport ? false, alsaOss ? null
1010, pulseaudioSupport ? config.pulseaudio or false, libpulseaudio ? null
11+, mprisSupport ? stdenv.isLinux, systemd ? null
1112
1213# TODO: add these
1314#, artsSupport
@@ -60,6 +61,7 @@ let
6061 (mkFlag samplerateSupport "CONFIG_SAMPLERATE=y" libsamplerate)
6162 (mkFlag ossSupport "CONFIG_OSS=y" alsaOss)
6263 (mkFlag pulseaudioSupport "CONFIG_PULSE=y" libpulseaudio)
64+ (mkFlag mprisSupport "CONFIG_MPRIS=y" systemd)
6365
6466 #(mkFlag artsSupport "CONFIG_ARTS=y")
6567 #(mkFlag roarSupport "CONFIG_ROAR=y")
pkgs/applications/audio/cozy-audiobooks/default.nix+1−1
@@ -43,7 +43,7 @@ python3Packages.buildPythonApplication rec {
4343 gtk3
4444 cairo
4545 gettext
46− gnome3.defaultIconTheme
46+ gnome3.adwaita-icon-theme
4747 ] ++ (with gst_all_1; [
4848 gstreamer
4949 gst-plugins-good
pkgs/applications/audio/csound/csound-manual/default.nixnew file+44
@@ -0,0 +1,44 @@
1+{
2+ stdenv, fetchurl, docbook_xsl,
3+ docbook_xml_dtd_45, python, pygments,
4+ libxslt
5+}:
6+
7+stdenv.mkDerivation rec {
8+ version = "6.12.0";
9+ name = "csound-manual-${version}";
10+
11+ src = fetchurl {
12+ url = "https://github.com/csound/manual/archive/${version}.tar.gz";
13+ sha256 = "1v1scp468rnfbcajnp020kdj8zigimc2mbcwzxxqi8sf8paccdrp";
14+ };
15+
16+
17+ prePatch = ''
18+ substituteInPlace manual.xml \
19+ --replace "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" \
20+ "${docbook_xml_dtd_45}/xml/dtd/docbook/docbookx.dtd"
21+ '';
22+
23+ nativeBuildInputs = [ libxslt.bin ];
24+
25+ buildInputs = [ docbook_xsl python pygments ];
26+
27+ buildPhase = ''
28+ make XSL_BASE_PATH=${docbook_xsl}/share/xml/docbook-xsl html-dist
29+ '';
30+
31+ installPhase = ''
32+ mkdir -p $out/share/doc/csound
33+ cp -r ./html $out/share/doc/csound
34+ '';
35+
36+ meta = {
37+ description = "The Csound Canonical Reference Manual";
38+ homepage = "https://github.com/csound/manual";
39+ license = stdenv.lib.licenses.fdl12Plus;
40+ maintainers = [ stdenv.lib.maintainers.hlolli ];
41+ platforms = stdenv.lib.platforms.all;
42+ };
43+}
44+
pkgs/applications/audio/easytag/default.nix+1−1
@@ -19,7 +19,7 @@ in stdenv.mkDerivation rec {
1919 nativeBuildInputs = [ pkgconfig intltool itstool libxml2 wrapGAppsHook ];
2020 buildInputs = [
2121 gtk3 glib libid3tag id3lib taglib libvorbis libogg opusfile flac
22− gsettings-desktop-schemas gnome3.defaultIconTheme
22+ gsettings-desktop-schemas gnome3.adwaita-icon-theme
2323 ];
2424
2525 doCheck = false; # fails 1 out of 9 tests
pkgs/applications/audio/gpodder/default.nix+1−1
@@ -28,7 +28,7 @@ python3Packages.buildPythonApplication rec {
2828 buildInputs = [
2929 python3
3030 gobject-introspection
31− gnome3.defaultIconTheme
31+ gnome3.adwaita-icon-theme
3232 ];
3333
3434 checkInputs = with python3Packages; [
pkgs/applications/audio/gtklick/default.nix+1−1
@@ -14,7 +14,7 @@ pythonPackages.buildPythonApplication rec {
1414 pyGtkGlade
1515 ];
1616
17− buildInputs = [ gettext ];
17+ nativeBuildInputs = [ gettext ];
1818
1919 propagatedBuildInputs = [ klick ];
2020
pkgs/applications/audio/gtkpod/default.nix+1−1
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515 buildInputs = [
1616 curl gettext
1717 flex libgpod libid3tag flac libvorbis gtk3 gdk_pixbuf
18− gdl gnome3.defaultIconTheme gnome3.anjuta
18+ gdl gnome3.adwaita-icon-theme gnome3.anjuta
1919 ] ++ (with perlPackages; [ perl XMLParser ]);
2020
2121 patchPhase = ''
pkgs/applications/audio/lollypop/default.nix+5−3
@@ -1,11 +1,11 @@
11{ stdenv, fetchgit, meson, ninja, pkgconfig
22, python3, gtk3, gst_all_1, libsecret, libsoup
33, appstream-glib, desktop-file-utils, totem-pl-parser
4−, gobject-introspection, wrapGAppsHook }:
4+, hicolor-icon-theme, gobject-introspection, wrapGAppsHook }:
55
66python3.pkgs.buildPythonApplication rec {
77 pname = "lollypop";
8− version = "0.9.915";
8+ version = "0.9.923";
99
1010 format = "other";
1111 doCheck = false;
@@ -14,7 +14,7 @@ python3.pkgs.buildPythonApplication rec {
1414 url = "https://gitlab.gnome.org/World/lollypop";
1515 rev = "refs/tags/${version}";
1616 fetchSubmodules = true;
17− sha256 = "133qmqb015ghif4d4zh6sf8585fpfgbq00rv6qdj5xn13wziipwh";
17+ sha256 = "0jgz36lrhigcsr9vs5sp4ngv8rir3zqicygymjv7d61d6pclkx1z";
1818 };
1919
2020 nativeBuildInputs = [
@@ -28,6 +28,7 @@ python3.pkgs.buildPythonApplication rec {
2828 ];
2929
3030 buildInputs = with gst_all_1; [
31+ gobject-introspection
3132 gst-libav
3233 gst-plugins-bad
3334 gst-plugins-base
@@ -35,6 +36,7 @@ python3.pkgs.buildPythonApplication rec {
3536 gst-plugins-ugly
3637 gstreamer
3738 gtk3
39+ hicolor-icon-theme
3840 libsecret
3941 libsoup
4042 totem-pl-parser
pkgs/applications/audio/pavucontrol/default.nix+1−1
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616 '';
1717
1818 buildInputs = [ libpulseaudio gtkmm3 libcanberra-gtk3 makeWrapper
19− gnome3.defaultIconTheme ];
19+ gnome3.adwaita-icon-theme ];
2020
2121 nativeBuildInputs = [ pkgconfig intltool ];
2222
pkgs/applications/audio/picard/default.nix+1−1
@@ -13,7 +13,7 @@ in pythonPackages.buildPythonApplication rec {
1313 sha256 = "1p2bvfzby0nk1vh04yfmsvjcldgkj6m6s1hcv9v13hc8q1cbdfk5";
1414 };
1515
16− buildInputs = [ gettext ];
16+ nativeBuildInputs = [ gettext ];
1717
1818 propagatedBuildInputs = with pythonPackages; [
1919 pyqt5
pkgs/applications/audio/pulseeffects/default.nix+4−4
@@ -47,13 +47,13 @@ let
4747 ];
4848in stdenv.mkDerivation rec {
4949 pname = "pulseeffects";
50− version = "4.4.7";
50+ version = "4.5.5";
5151
5252 src = fetchFromGitHub {
5353 owner = "wwmm";
5454 repo = "pulseeffects";
5555 rev = "v${version}";
56− sha256 = "14sxwy3mayzn9k5hy58mjzhxaj4wqxvs257xaj03mwvm48k7c7ia";
56+ sha256 = "0ll85c9xll2i42r1bdgbnxi5mc5jq2vxgp179jj2iq7wczq5psj1";
5757 };
5858
5959 nativeBuildInputs = [
@@ -74,8 +74,8 @@ in stdenv.mkDerivation rec {
7474 gtk3
7575 gtkmm3
7676 gst_all_1.gstreamer
77− gst_all_1.gst-plugins-base
78− gst_all_1.gst-plugins-good
77+ gst_all_1.gst-plugins-base # gst-fft
78+ gst_all_1.gst-plugins-good # pulsesrc
7979 gst_all_1.gst-plugins-bad
8080 lilv lv2 serd sord sratom
8181 libbs2b
pkgs/applications/audio/qtractor/default.nix+11−8
@@ -1,21 +1,24 @@
1−{ alsaLib, autoconf, automake, dssi, fetchurl, gtk2, libjack2
1+{ alsaLib, autoconf, automake, dssi, fetchurl, libjack2
22, ladspaH, ladspaPlugins, liblo, libmad, libsamplerate, libsndfile
3−, libtool, libvorbis, lilv, lv2, pkgconfig, qt4, rubberband, serd
3+, libtool, libvorbis, lilv, lv2, pkgconfig, qttools, qtbase, rubberband, serd
44, sord, sratom, stdenv, suil }:
55
66stdenv.mkDerivation rec {
7− version = "0.6.7";
8− name = "qtractor-${version}";
7+ pname = "qtractor";
8+ version = "0.9.4";
99
1010 src = fetchurl {
11− url = "mirror://sourceforge/qtractor/${name}.tar.gz";
12− sha256 = "0h5nblfkl4s412c9f02b40nb8c8jq8ypz67z2qn3hkvhx6i9yxsg";
11+ url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.gz";
12+ sha256 = "05xrzr48b19mghbpbzjqw5fy6pl9140bm5m929lrsi4rq5hp3xgg";
1313 };
1414
15+ nativeBuildInputs = [
16+ autoconf automake libtool pkgconfig qttools
17+ ];
1518 buildInputs =
16− [ alsaLib autoconf automake dssi gtk2 libjack2 ladspaH
19+ [ alsaLib dssi libjack2 ladspaH
1720 ladspaPlugins liblo libmad libsamplerate libsndfile libtool
18− libvorbis lilv lv2 pkgconfig qt4 rubberband serd sord sratom
21+ libvorbis lilv lv2 qtbase rubberband serd sord sratom
1922 suil
2023 ];
2124
pkgs/applications/audio/quodlibet/default.nix+1−1
@@ -20,7 +20,7 @@ python3.pkgs.buildPythonApplication rec {
2020
2121 checkInputs = with python3.pkgs; [ pytest pytest_xdist pyflakes pycodestyle polib xvfb_run dbus.daemon glibcLocales ];
2222
23− buildInputs = [ gnome3.defaultIconTheme libsoup glib glib-networking gtk3 webkitgtk gdk_pixbuf keybinder3 gtksourceview libmodplug libappindicator-gtk3 kakasi gobject-introspection ]
23+ buildInputs = [ gnome3.adwaita-icon-theme libsoup glib glib-networking gtk3 webkitgtk gdk_pixbuf keybinder3 gtksourceview libmodplug libappindicator-gtk3 kakasi gobject-introspection ]
2424 ++ (if xineBackend then [ xineLib ] else with gst_all_1;
2525 [ gstreamer gst-plugins-base ] ++ optionals withGstPlugins [ gst-plugins-good gst-plugins-ugly gst-plugins-bad ]);
2626
pkgs/applications/audio/rhythmbox/default.nix+1−1
@@ -50,7 +50,7 @@ in stdenv.mkDerivation rec {
5050 gtk3
5151 gnome3.libpeas
5252 totem-pl-parser
53− gnome3.defaultIconTheme
53+ gnome3.adwaita-icon-theme
5454
5555 gst_all_1.gstreamer
5656 gst_all_1.gst-plugins-base
pkgs/applications/audio/sonata/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, pkgconfig, intltool, wrapGAppsHook
1+{ stdenv, fetchFromGitHub, pkgconfig, gettext, intltool, wrapGAppsHook
22, python3Packages, gnome3, gtk3, gobject-introspection}:
33
44let
@@ -16,10 +16,10 @@ in buildPythonApplication rec {
1616
1717 disabled = !isPy3k;
1818
19− nativeBuildInputs = [ pkgconfig ];
19+ nativeBuildInputs = [ pkgconfig gettext ];
2020 buildInputs = [
2121 intltool wrapGAppsHook
22− gnome3.defaultIconTheme
22+ gnome3.adwaita-icon-theme
2323 gnome3.gsettings-desktop-schemas
2424 ];
2525
pkgs/applications/audio/sound-juicer/default.nix+1−1
@@ -15,7 +15,7 @@ in stdenv.mkDerivation rec{
1515
1616 nativeBuildInputs = [ pkgconfig intltool itstool libxml2 wrapGAppsHook ];
1717 buildInputs = [
18− glib gtk3 brasero libcanberra-gtk3 gnome3.defaultIconTheme
18+ glib gtk3 brasero libcanberra-gtk3 gnome3.adwaita-icon-theme
1919 gnome3.gsettings-desktop-schemas libmusicbrainz5 libdiscid isocodes
2020 gst_all_1.gstreamer gst_all_1.gst-plugins-base
2121 gst_all_1.gst-plugins-good gst_all_1.gst-plugins-bad
pkgs/applications/audio/spotifywm/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, spotify, xorg }:
1+{ stdenv, fetchFromGitHub, spotify, xorg, runtimeShell }:
22stdenv.mkDerivation rec {
33 name = "spotifywm-unstable-${version}";
44 version = "2016-11-28";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515 propagatedBuildInputs = [ spotify ];
1616
1717 installPhase = ''
18− echo "#!${stdenv.shell}" > spotifywm
18+ echo "#!${runtimeShell}" > spotifywm
1919 echo "LD_PRELOAD="$out/lib/spotifywm.so" ${spotify}/bin/spotify \$*" >> spotifywm
2020 install -Dm644 spotifywm.so $out/lib/spotifywm.so
2121 install -Dm755 spotifywm $out/bin/spotifywm
pkgs/applications/audio/squeezelite/default.nix+13−7
@@ -1,20 +1,26 @@
11{ stdenv, fetchFromGitHub, alsaLib, faad2, flac, libmad, libvorbis, mpg123 }:
22
33stdenv.mkDerivation {
4− name = "squeezelite-git-2016-05-27";
4+ name = "squeezelite-git-2018-08-14";
55
66 src = fetchFromGitHub {
7− owner = "ralph-irving";
8− repo = "squeezelite";
9− rev = "e37ed17fed9e11a7346cbe9f1e1deeccc051f42e";
10− sha256 = "15ihx2dbp4kr6k6r50g9q5npqad5zyv8nqf5cr37bhg964syvbdm";
7+ owner = "ralph-irving";
8+ repo = "squeezelite";
9+ rev = "ecb6e3696a42113994640e5345d0b5ca2e77d28b";
10+ sha256 = "0di3d5qy8fhawijq6bxy524fgffvzl08dprrws0fs2j1a70fs0fh";
1111 };
1212
1313 buildInputs = [ alsaLib faad2 flac libmad libvorbis mpg123 ];
1414
15+ enableParallelBuilding = true;
16+
1517 installPhase = ''
16− mkdir -p $out/bin
17− cp squeezelite $out/bin
18+ runHook preInstall
19+
20+ install -Dm755 -t $out/bin squeezelite
21+ install -Dm644 -t $out/share/doc/squeezelite *.txt *.md
22+
23+ runHook postInstall
1824 '';
1925
2026 meta = with stdenv.lib; {
pkgs/applications/backup/areca/default.nix+4
@@ -21,6 +21,10 @@ stdenv.mkDerivation rec {
2121 substituteInPlace bin/areca_run.sh --replace "/usr/java" "${jre}/lib/openjdk"
2222 substituteInPlace bin/areca_run.sh --replace "/usr/lib/java/swt.jar" "${swt}/jars/swt.jar"
2323
24+ # Fix for NixOS/nixpkgs/issues/53716
25+ sed -i -e 's;^;#include <attr/attributes.h>;' jni/com_myJava_file_metadata_posix_jni_wrapper_FileAccessWrapper.c
26+ substituteInPlace jni/com_myJava_file_metadata_posix_jni_wrapper_FileAccessWrapper.c --replace attr/xattr.h sys/xattr.h
27+
2428 sed -i "s#^PROGRAM_DIR.*#PROGRAM_DIR=$out#g" bin/areca_run.sh
2529 sed -i "s#^LIBRARY_PATH.*#LIBRARY_PATH=$out/lib:${stdenv.lib.makeLibraryPath [ swt acl ]}#g" bin/areca_run.sh
2630
pkgs/applications/editors/android-studio/default.nix+9−9
@@ -8,19 +8,19 @@ let
88 inherit (gnome2) GConf gnome_vfs;
99 };
1010 stableVersion = {
11− version = "3.3.1.0"; # "Android Studio 3.3.1"
12− build = "182.5264788";
13− sha256Hash = "0fghqkc8pkb7waxclm0qq4nlnsvmv9d3fcj5nnvgbfkjyw032q42";
11+ version = "3.3.2.0"; # "Android Studio 3.3.2"
12+ build = "182.5314842";
13+ sha256Hash = "0smh3d3v8n0isxg7fkls20622gp52f58i2b6wa4a0g8wnvmd6mw2";
1414 };
1515 betaVersion = {
16− version = "3.4.0.13"; # "Android Studio 3.4 Beta 4"
17− build = "183.5304277";
18− sha256Hash = "01x7xba0f5js213wgw0h1vw297vwz5q7dprnilcdydfjxwqsbr8f";
16+ version = "3.4.0.15"; # "Android Studio 3.4 RC 1"
17+ build = "183.5341121";
18+ sha256Hash = "0s7wadnzbrd031ls43b5nbh1nx0paj74bxy2yiczr4qb9n562zzy";
1919 };
2020 latestVersion = { # canary & dev
21− version = "3.5.0.3"; # "Android Studio 3.5 Canary 4"
22− build = "183.5290690";
23− sha256Hash = "0d1cl78b25pksaj0scv3hxb14bjxk3591zbc0v7dykk1gf4pvxd1";
21+ version = "3.5.0.5"; # "Android Studio 3.5 Canary 6"
22+ build = "183.5326993";
23+ sha256Hash = "06d43qw0p6zpy6vmriiihql5vgc6c4darplc2148y616hx0whrql";
2424 };
2525in rec {
2626 # Old alias (TODO @primeos: Remove after 19.03 is branched off):
pkgs/applications/editors/bluefish/default.nix+1−1
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111 };
1212
1313 nativeBuildInputs = [ intltool pkgconfig wrapGAppsHook ];
14− buildInputs = [ gnome3.defaultIconTheme gtk libxml2
14+ buildInputs = [ gnome3.adwaita-icon-theme gtk libxml2
1515 enchant gucharmap python ];
1616
1717 meta = with stdenv.lib; {
pkgs/applications/editors/eclipse/build-eclipse.nix+1
@@ -55,6 +55,7 @@ stdenv.mkDerivation rec {
5555 meta = {
5656 homepage = http://www.eclipse.org/;
5757 inherit description;
58+ platforms = [ "x86_64-linux" ];
5859 };
5960
6061}
pkgs/applications/editors/eclipse/default.nix+43−188
@@ -11,7 +11,14 @@ assert stdenv ? glibc;
1111# http://download.eclipse.org/eclipse/downloads/ is the main place to
1212# find the downloads needed for new versions
1313
14−rec {
14+let
15+ platform_major = "4";
16+ platform_minor = "10";
17+ year = "2018";
18+ month = "12";
19+ timestamp = "201812060815";
20+
21+in rec {
1522
1623 buildEclipse = import ./build-eclipse.nix {
1724 inherit stdenv makeDesktopItem freetype fontconfig libX11 libXrender zlib
@@ -21,133 +28,43 @@ rec {
2128
2229 ### Eclipse CPP
2330
24− eclipse-cpp = eclipse-cpp-47; # always point to latest
25−
26− eclipse-cpp-47 = buildEclipse {
27− name = "eclipse-cpp-4.7.0";
31+ eclipse-cpp = buildEclipse {
32+ name = "eclipse-cpp-${platform_major}.${platform_minor}";
2833 description = "Eclipse IDE for C/C++ Developers, Oxygen release";
2934 src =
30− if stdenv.hostPlatform.system == "x86_64-linux" then
31− fetchurl {
32− url = https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/epp/downloads/release/oxygen/R/eclipse-cpp-oxygen-R-linux-gtk-x86_64.tar.gz;
33− sha512 = "813c791e739d7d0e2ab242a5bacadca135bbeee20ef97aa830353cd90f63fa6e9c89cfcc6aadf635c742befe035bd6e3f15103013f63c419f6144e86ebde3ed1";
34− }
35− else if stdenv.hostPlatform.system == "i686-linux" then
36− fetchurl {
37− url = https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/epp/downloads/release/oxygen/R/eclipse-cpp-oxygen-R-linux-gtk.tar.gz;
38− sha512 = "2b50f4a00306a89cda1aaaa606e62285cacbf93464a9dd3f3319dca3e2c578b802e685de6f78e5e617d269e21271188effe73d41f491a6de946e28795d82db8a";
39− }
40− else throw "Unsupported system: ${stdenv.hostPlatform.system}";
41− };
42−
43− eclipse-cpp-37 = buildEclipse {
44− name = "eclipse-cpp-3.7";
45− description = "Eclipse IDE for C/C++ Developers";
46− src =
47− if stdenv.hostPlatform.system == "x86_64-linux" then
48− fetchurl {
49− url = https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/epp/downloads/release/indigo/R/eclipse-cpp-indigo-incubation-linux-gtk-x86_64.tar.gz;
50− sha256 = "14ppc9g9igzvj1pq7jl01vwhzb66nmzbl9wsdl1sf3xnwa9wnqk3";
51− }
52− else
53− fetchurl {
54− url = https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/epp/downloads/release/indigo/R/eclipse-cpp-indigo-incubation-linux-gtk.tar.gz;
55− sha256 = "1cvg1vgyazrkinwzlvlf0dpl197p4784752srqybqylyj5psdi3b";
56− };
35+ fetchurl {
36+ url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/epp/downloads/release/${year}-${month}/R/eclipse-cpp-${year}-${month}-R-linux-gtk-x86_64.tar.gz";
37+ sha512 = "1f5yr7cydz4iw8c14yn713d44f1g1wkiqiwmb4ikdfx4l70rc5xxsdxv9b4mhm89b02cqnxdh9p5hivkssmnzg0km3ab5bx9mvzgzx7";
38+ };
5739 };
58− eclipse_cpp_37 = eclipse-cpp-37; # backward compatibility, added 2016-01-30
5940
6041 ### Eclipse Modeling
6142
62− eclipse-modeling = eclipse-modeling-47; # always point to latest
63−
64− eclipse-modeling-47 = buildEclipse {
65− name = "eclipse-modeling-4.7";
43+ eclipse-modeling = buildEclipse {
44+ name = "eclipse-modeling-${platform_major}.${platform_minor}";
6645 description = "Eclipse Modeling Tools";
6746 src =
68− if stdenv.hostPlatform.system == "x86_64-linux" then
69− fetchurl {
70− url = https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/epp/downloads/release/oxygen/R/eclipse-modeling-oxygen-R-linux-gtk-x86_64.tar.gz;
71− sha512 = "3b9a7ad4b5d6b77fbdd64e8d323e0adb6c2904763ad042b374b4d87cef8607408cb407e395870fc755d58c0c800e20818adcf456ebe193d76cede16c5fe12271";
72− }
73− else
74− fetchurl {
75− url = https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/epp/downloads/release/oxygen/R/eclipse-modeling-oxygen-R-linux-gtk.tar.gz;
76− sha512 = "b8597c1dec117e69c72a5e1a53e09b1f81a7c9de86ed7e71a9d007664603202df301745f186ded02b2e76410345863e80a2ba40867d6848e5375601289999206";
77− };
78− };
79−
80− eclipse-modeling-36 = buildEclipse {
81− name = "eclipse-modeling-3.6.2";
82− description = "Eclipse Modeling Tools (includes Incubating components)";
83− src =
84− if stdenv.hostPlatform.system == "x86_64-linux" then
85− fetchurl {
86− url = https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/epp/downloads/release/helios/SR2/eclipse-modeling-helios-SR2-incubation-linux-gtk-x86_64.tar.gz;
87− sha1 = "e96f5f006298f68476f4a15a2be8589158d5cc61";
88− }
89− else
90− fetchurl {
91− url = https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/epp/downloads/release/helios/SR2/eclipse-modeling-helios-SR2-incubation-linux-gtk.tar.gz;
92− sha1 = "696377895bb26445de39d82a916b7e69edb1d939";
93− };
47+ fetchurl {
48+ url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/epp/downloads/release/${year}-${month}/R/eclipse-modeling-${year}-${month}-R-linux-gtk-x86_64.tar.gz";
49+ sha512 = "18psh1lgqg21dmndyc0yr6rz7piqyk861j9mlhgv9xaq8nz11fb6lil594sk64yyv0qbgi98vp03f1p06zvhgs37k9rjkfjmzl7n97k";
50+ };
9451 };
95− eclipse_modeling_36 = eclipse-modeling-36; # backward compatibility, added 2016-01-30
9652
9753 ### Eclipse Platform
9854
99− eclipse-platform = eclipse-platform-49; # always point to latest
100−
101− eclipse-platform-47 = buildEclipse {
102− name = "eclipse-platform-4.7.3a";
103− description = "Eclipse Platform Oxygen";
104− sources = {
105− "x86_64-linux" = fetchurl {
106− url = https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops4/R-4.7.3a-201803300640/eclipse-platform-4.7.3a-linux-gtk-x86_64.tar.gz;
107− sha512 = "caf86cd6efaf66258c75434f1adf552587a7395d57dba4cfd20f86196308cf942866d931f4b352f9d39a6fbf14444fcd2167e6bfd146a28c96c229bb9988156a";
108− };
109− "i686-linux" = fetchurl {
110− url = https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops4/R-4.7.3a-201803300640/eclipse-platform-4.7.3a-linux-gtk.tar.gz;
111− sha512 = "c633da467774e4ab40f8d51d07b8e7d8403f26f23365c3c3ceeaeec1039b8c23c7508cee1f786bf52db64c7b84e0f91cb31a2848a74ac8271f8504934407bd5c";
112− };
113− };
114− };
115−
116− eclipse-platform-48 = buildEclipse {
117− name = "eclipse-platform-4.8";
118− description = "Eclipse Platform Photon";
119− sources = {
120− "x86_64-linux" = fetchurl {
121− url = https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops4/R-4.8-201806110500/eclipse-platform-4.8-linux-gtk-x86_64.tar.gz;
122− sha512 = "ccce2b954938479e42ef3f9b78f74b24ae4cae7499546fa4f9a55ec1849e1acfd06315d4529b11474a8b3d1142c9409c581edfa571baaf1342ab062f02467af2";
123− };
124− "i686-linux" = fetchurl {
125− url = https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops4/R-4.8-201806110500/eclipse-platform-4.8-linux-gtk.tar.gz;
126− sha512 = "f5f407727e22b848931cf38f71b1a0c30a9778aa227c3df137dcceec2fba2ecc309cbfa8b4a660b814d2edb60f65110381497b4325781cab4d6402784139e32b";
127− };
128− };
129− };
130−
131− eclipse-platform-49 = buildEclipse {
132− name = "eclipse-platform-4.9";
133− description = "Eclipse Platform 2018-09";
134− sources = {
135− "x86_64-linux" = fetchurl {
136− url = https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops4/R-4.9-201809060745/eclipse-platform-4.9-linux-gtk-x86_64.tar.gz;
137− sha512 = "875714bb411145c917fccedf2f7c4fd2757640b2debf4a18f775604233abd6f0da893b350cc03da44413d7ec6fae3f773ef08634e632058e4b705e6cda2893eb";
138− };
139− "i686-linux" = fetchurl {
140− url = https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops4/R-4.9-201809060745/eclipse-platform-4.9-linux-gtk.tar.gz;
141− sha512 = "758bc0de30fa5c4b76b343ea0325611d87b6928ef5002244f2f1ba2a9fa937de89b2a94ce2c8d33d79344fd574d6e8a72c5d127fe416d785f48600e9e85fce86";
142− };
143− };
55+ eclipse-platform = buildEclipse {
56+ name = "eclipse-platform-${platform_major}.${platform_minor}";
57+ description = "Eclipse Platform ${year}-${month}";
58+ src =
59+ fetchurl {
60+ url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops${platform_major}/R-${platform_major}.${platform_minor}-${timestamp}/eclipse-platform-${platform_major}.${platform_minor}-linux-gtk-x86_64.tar.gz";
61+ sha512 = "2zdvbjk05a00lbcad9v30rcr93j03d2pycdhpwrvrakr8z4yrxs6svamq9s294ry1w3lw04pgsnqklw6zjx6iil1kp51f374lkfpxn7";
62+ };
14463 };
14564
14665 ### Eclipse Scala SDK
14766
148− eclipse-scala-sdk = eclipse-scala-sdk-441; # always point to latest
149−
150− eclipse-scala-sdk-441 = buildEclipse {
67+ eclipse-scala-sdk = buildEclipse {
15168 name = "eclipse-scala-sdk-4.4.1";
15269 description = "Eclipse IDE for Scala Developers";
15370 src =
@@ -165,88 +82,26 @@ rec {
16582
16683 ### Eclipse SDK
16784
168− eclipse-sdk = eclipse-sdk-49; # always point to latest
169−
170− eclipse-sdk-47 = buildEclipse {
171− name = "eclipse-sdk-4.7.3a";
172− description = "Eclipse Oxygen Classic";
173− sources = {
174− "x86_64-linux" = fetchurl {
175− url = https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops4/R-4.7.3a-201803300640/eclipse-SDK-4.7.3a-linux-gtk-x86_64.tar.gz;
176− sha512 = "d77e42aca16d26526cef32e363d038258bb8a4616d9dbe6e76dd3656dc2217369436390a82555bde4566bbbdb631813bbaca08602f7bb885cb30e8a26a14873f";
177− };
178− "i686-linux" = fetchurl {
179− url = https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops4/R-4.7.3a-201803300640/eclipse-SDK-4.7.3a-linux-gtk.tar.gz;
180− sha512 = "b0b936fd4142ae86ec5c30535cd5e4caf6fe313d814ae5b16f300635e4163a79b748b1eee11792a135114f2265678a74821ec80c2bfd69872769b6d0ccbcde3a";
181− };
182− };
183− };
184−
185− eclipse-sdk-48 = buildEclipse {
186− name = "eclipse-sdk-4.8";
187− description = "Eclipse Photon Classic";
188− sources = {
189− "x86_64-linux" = fetchurl {
190− url = https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops4/R-4.8-201806110500/eclipse-SDK-4.8-linux-gtk-x86_64.tar.gz;
191− sha512 = "357ea9e7f426c68ced693f1c7b76eae23f9e3c7893de1f12d17994ec17b447896b5daa7292d5fbf6d9c4e5b7fd637ca5b2a6ba8ce40a2a7c2fe06f2124d31b75";
192− };
193− "i686-linux" = fetchurl {
194− url = https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops4/R-4.8-201806110500/eclipse-SDK-4.8-linux-gtk.tar.gz;
195− sha512 = "c7cae7baa3978d48477090bb9941e85b4c7484021ece9c5c77a7e859e57e5c1f13556262f92b561cfb11f828b934bad7a6018be7b8fd9454e3991e8d5cae9917";
196− };
197− };
198− };
199−
200− eclipse-sdk-49 = buildEclipse {
201− name = "eclipse-sdk-4.9";
202− description = "Eclipse 2018-09 Classic";
203− sources = {
204− "x86_64-linux" = fetchurl {
205− url = https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops4/R-4.9-201809060745/eclipse-SDK-4.9-linux-gtk-x86_64.tar.gz;
206− sha512 = "5e74a0411f56b3973b7c6d8c3727392297d55ad458a814b4cc3f2f6a57dbeebc64852d1a6a958db5c3b08c620093bfb5bcc0d2c6a400f5594b82c2ef5d5fa9fb";
207− };
208− "i686-linux" = fetchurl {
209− url = https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops4/R-4.9-201809060745/eclipse-SDK-4.9-linux-gtk.tar.gz;
210− sha512 = "b1861bd99c8e43f1d04247226584246aa7844af5e2da820fe98a51018dbe8ff4c25dbb9fa655f56e103f95c0696f40a65dcce13430c63aa080f786738e70eb8b";
211− };
212− };
213− };
214−
215− eclipse-sdk-37 = buildEclipse {
216− name = "eclipse-sdk-3.7";
217− description = "Eclipse Classic";
218− sources = {
219− "x86_64-linux" = fetchurl {
220− url = https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops/R-3.7.2-201202080800/eclipse-SDK-3.7.2-linux-gtk-x86_64.tar.gz;
221− sha256 = "0nf4nv7awhp1k8b1hjb7chpjyjrqnyszsjbc4dlk9phpjv3j4wg5";
222− };
223− "i686-linux" = fetchurl {
224− url = https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops/R-3.7.2-201202080800/eclipse-SDK-3.7.2-linux-gtk.tar.gz;
225− sha256 = "1isn7i45l9kyn2yx6vm88jl1gnxph8ynank0aaa218cg8kdygk7j";
226− };
227− };
85+ eclipse-sdk = buildEclipse {
86+ name = "eclipse-sdk-${platform_major}.${platform_minor}";
87+ description = "Eclipse ${year}-${month} Classic";
88+ src =
89+ fetchurl {
90+ url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops${platform_major}/R-${platform_major}.${platform_minor}-${timestamp}/eclipse-SDK-${platform_major}.${platform_minor}-linux-gtk-x86_64.tar.gz";
91+ sha512 = "1kq14vhzcngfhl8kjs722rshny81gxv6wcgln46x7lnpg2274sb9dprhns62fpq97l0355cmg8mnny6fsd1nqibrw09xq932v86cfm8";
92+ };
22893 };
229− eclipse_sdk_37 = eclipse-sdk-37; # backward compatibility, added 2016-01-30
23094
23195 ### Eclipse Java
23296
233− eclipse-java = eclipse-java-49;
234−
235− eclipse-java-49 = buildEclipse {
236− name = "eclipse-java-4.9.0";
97+ eclipse-java = buildEclipse {
98+ name = "eclipse-java-${platform_major}.${platform_minor}";
23799 description = "Eclipse IDE for Java Developers";
238100 src =
239− if stdenv.system == "x86_64-linux" then
240− fetchurl {
241− url = http://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/epp/downloads/release/2018-09/R/eclipse-java-2018-09-linux-gtk-x86_64.tar.gz;
242− sha512 = "9dac5d040cdabf779de3996de87290e352130c7e860c1d0a98772f41da828ad45f90748b68e0a8a4f8d1ebbbbe5fdfe6401b7d871b93af34103d4a81a041c6a5";
243− }
244− else if stdenv.system == "i686-linux" then
245− fetchurl {
246− url = http://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/epp/downloads/release/2018-09/R/eclipse-java-2018-09-linux-gtk.tar.gz;
247− sha512 = "24208e95b972e848d6b65ed8108d9e81584cf051397f2f43fb6269f5a625b8d7552ad77c7980a1a5653c87f06776e2926fd85607aae44e44657b4f6cc9b3e2e3";
248− }
249− else throw "Unsupported system: ${stdenv.system}";
101+ fetchurl {
102+ url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/epp/downloads/release/${year}-${month}/R/eclipse-java-${year}-${month}-R-linux-gtk-x86_64.tar.gz";
103+ sha512 = "2xd5q7kg3aly7jnz2fijn06ljmnnd7ggwwzmndfhqwfzxpyjg1lnlln76pcd6chx7gnwdrl7khg0fs566ddabfjv17c46dj5fpw9y6j";
104+ };
250105 };
251106
252107 ### Environments
pkgs/applications/editors/eclipse/plugins.nix+6−6
@@ -254,12 +254,12 @@ rec {
254254
255255 cdt = buildEclipseUpdateSite rec {
256256 name = "cdt-${version}";
257− version = "9.0.1";
257+ version = "9.6.0";
258258
259259 src = fetchzip {
260260 stripRoot = false;
261− url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/tools/cdt/releases/9.0/${name}.zip";
262− sha256 = "0vdx0j9ci533wnk7y17qjvjyqx38hlrdw67z6pi05vfv3r6ys39x";
261+ url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/tools/cdt/releases/9.6/${name}/${name}.zip";
262+ sha256 = "08rk3b1va57jcy4s161fx0xmb8dn47akhhxd2f28hspq6i2jqicm";
263263 };
264264
265265 meta = with stdenv.lib; {
@@ -497,12 +497,12 @@ rec {
497497
498498 jdt = buildEclipseUpdateSite rec {
499499 name = "jdt-${version}";
500− version = "4.9";
500+ version = "4.10";
501501
502502 src = fetchzip {
503503 stripRoot = false;
504− url = https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops4/R-4.9-201809060745/org.eclipse.jdt-4.9.zip;
505− sha256 = "144rqrw0crxd2v862dqxm2p5y60n4pbzdryv709xnhcw54rycm7n";
504+ url = https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops4/R-4.10-201812060815/org.eclipse.jdt-4.10.zip;
505+ sha256 = "1h11w3zd6xy5w4sk6xnyb2a27wxwhp83qfx67ji7bzdrwbvljqkz";
506506 };
507507
508508 meta = with stdenv.lib; {
pkgs/applications/editors/emacs-modes/calfw/default.nix+2−2
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
2828
2929 license = stdenv.lib.licenses.gpl3Plus;
3030
31− maintainers = with stdenv.lib.maintainers; [ chaoflow ];
32− platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux;
31+ maintainers = with stdenv.lib.maintainers; [ ];
32+ platforms = stdenv.lib.platforms.unix;
3333 };
3434}
pkgs/applications/editors/emacs-modes/icicles/default.nix+12−12
@@ -2,28 +2,28 @@
22
33let
44 modules = [
5− { name = "icicles.el"; sha256 = "0wxak7wh0rrb3h77ay2vypbb53skcfbrv71xkajhax0w12q6zpaj"; }
6− { name = "icicles-chg.el"; sha256 = "0qavq9vy566l3qi9n8akrqjcgy8n6k0j8d7vsc7p1jhqvvq812gh"; }
7− { name = "icicles-cmd1.el"; sha256 = "0lgk6ngl9090iqvvw1c227q7p37mr73cc6ap3ky6b0nv3ql8rkyi"; }
8− { name = "icicles-cmd2.el"; sha256 = "15swxk7fr7wsqpf26xzbvyk12ikkvfcyh9w8wmnpc38dmpyq79rb"; }
5+ { name = "icicles.el"; sha256 = "1744n5g2kmv3r261ipa0fhrgnapl0chxz57bbbls3bp30cnnfrs7"; }
6+ { name = "icicles-chg.el"; sha256 = "058sxa8wh3vqr3zy677q6m2lfx4n477rnb8921s1p6wgs55v7dp4"; }
7+ { name = "icicles-cmd1.el"; sha256 = "064hyy8nxvlg298s5qnmk7aczbasfpddhx57jxaldyyzkca3n2h5"; }
8+ { name = "icicles-cmd2.el"; sha256 = "0a77fx0pxyfrg9nxvqvzz247v6cljjfz9dnfs7lc8qgdvksxs261"; }
99 { name = "icicles-doc1.el"; sha256 = "04j5qvj7pqnjh8h2y2sdgi7x55czdp9xn7yysr3bzcmr1rq5p4bz"; }
1010 { name = "icicles-doc2.el"; sha256 = "1k8vfhi3fa4bzsxr074bw5q6srvq6z6hi61rzlxdw7pah6qf7hcz"; }
1111 { name = "icicles-face.el"; sha256 = "1pvygqzmh6ag0zhfjn1vhdvlhxybwxzj22ah2pc0ls80dlywhi4l"; }
12− { name = "icicles-fn.el"; sha256 = "05v7sc2k2mjm1mbnlkpi01aaxnxnb40540y7g70dg534scjd7w36"; }
13− { name = "icicles-mac.el"; sha256 = "0nhbwswz6xz7q4g8flszgx12q4gi4nx1d3n4jgz6svr2kk2vmlb4"; }
14− { name = "icicles-mcmd.el"; sha256 = "05dniz6337v9r15w8r2zad0n2h6jlygzjp7vw75vvq8mds0acmia"; }
12+ { name = "icicles-fn.el"; sha256 = "02vwa9dx9393d7kxrf443r1lj7y9ihkh25cmd418pwfgmw2yd5s7"; }
13+ { name = "icicles-mac.el"; sha256 = "13nxgg9k5w39lga90jwn1c7v756dqlfln2qh312vfaxfjfijfv9r"; }
14+ { name = "icicles-mcmd.el"; sha256 = "17d4zlf3r09wmarwyc1cbjv0pyklg4cdhwh3h643d4v8mhs5hnil"; }
1515 { name = "icicles-mode.el"; sha256 = "1xfv8nryf5y2gygg02naawzm5qhrkba3h84g43518r1xc6rgbpp6"; }
16− { name = "icicles-opt.el"; sha256 = "10n4p999ylkapirs75y5fh33lpiyx42i3ajzl2zjfwyr1zksg1iz"; }
17− { name = "icicles-var.el"; sha256 = "1r5gb01zg8nf2qryq9saxfpnzlymmppsk7w1g09lac35c87vh8yl"; }
16+ { name = "icicles-opt.el"; sha256 = "154mgcd1ksnmlyb4ijy2njqq75i8cj4k47phplxsi648pzqnda77"; }
17+ { name = "icicles-var.el"; sha256 = "0f94299q1z0va4v1s5ijpksaqlaz88ay1qbmlzq0i2wnxnsliys8"; }
1818 ];
1919
2020 forAll = f: map f modules;
2121in
2222stdenv.mkDerivation rec {
23− version = "2018-07-02";
23+ version = "2019-02-22";
2424 name = "icicles-${version}";
2525
26− srcs = forAll ({name, sha256}: fetchurl { url = "http://www.emacswiki.org/emacs/download/${name}"; inherit sha256; });
26+ srcs = forAll ({name, sha256}: fetchurl { url = "https://www.emacswiki.org/emacs/download/${name}"; inherit sha256; });
2727
2828 buildInputs = [ emacs ];
2929
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
3434 installPhase = "mkdir -p $out/share/emacs/site-lisp/emacswiki/${name}/; cp *.el *.elc $out/share/emacs/site-lisp/emacswiki/${name}/";
3535
3636 meta = {
37− homepage = http://www.emacswiki.org/emacs/Icicles;
37+ homepage = https://www.emacswiki.org/emacs/Icicles;
3838 description = "Enhance Emacs minibuffer input with cycling and powerful completion";
3939 license = stdenv.lib.licenses.gpl2Plus;
4040 platforms = emacs.meta.platforms;
pkgs/applications/editors/emacs-modes/melpa-generated.nix+2−2
@@ -60583,7 +60583,7 @@
6058360583 owner = "immerrr";
6058460584 repo = "lua-mode";
6058560585 rev = "99312b8d6c500ba3067da6d81efcfbbea05a1cbd";
60586− sha256 = "04m9njcpdmar3njjz4x2qq26xk0k6qprcfzx8whlmvapqf8w19iz";
60586+ sha256 = "1gi8k2yydwm1knq4pgmn6dp92g97av4ncb6acrnz07iba2r34dyn";
6058760587 };
6058860588 recipe = fetchurl {
6058960589 url = "https://raw.githubusercontent.com/milkypostman/melpa/ca7bf43ef8893bf04e9658390e306ef69e80a156/recipes/lua-mode";
@@ -107584,4 +107584,4 @@
107584107584 license = lib.licenses.free;
107585107585 };
107586107586 }) {};
107587− }
107587+ }
pkgs/applications/editors/emacs-modes/org/default.nix+1−1
@@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
4545
4646 license = stdenv.lib.licenses.gpl3Plus;
4747
48− maintainers = with stdenv.lib.maintainers; [ chaoflow pSub ];
48+ maintainers = with stdenv.lib.maintainers; [ pSub ];
4949 platforms = stdenv.lib.platforms.unix;
5050 };
5151}
pkgs/applications/editors/emacs/25.nix+1−1
@@ -116,7 +116,7 @@ stdenv.mkDerivation rec {
116116 description = "The extensible, customizable GNU text editor";
117117 homepage = https://www.gnu.org/software/emacs/;
118118 license = licenses.gpl3Plus;
119− maintainers = with maintainers; [ chaoflow lovek323 peti the-kenny jwiegley ];
119+ maintainers = with maintainers; [ lovek323 peti the-kenny jwiegley ];
120120 platforms = platforms.all;
121121
122122 longDescription = ''
pkgs/applications/editors/emacs/default.nix+3−2
@@ -10,6 +10,7 @@
1010, withXwidgets ? false, webkitgtk ? null, wrapGAppsHook ? null, glib-networking ? null
1111, withCsrc ? true
1212, srcRepo ? false, autoconf ? null, automake ? null, texinfo ? null
13+, siteStart ? ./site-start.el
1314}:
1415
1516assert (libXft != null) -> libpng != null; # probably a bug
@@ -100,7 +101,7 @@ stdenv.mkDerivation rec {
100101
101102 postInstall = ''
102103 mkdir -p $out/share/emacs/site-lisp
103− cp ${./site-start.el} $out/share/emacs/site-lisp/site-start.el
104+ cp ${siteStart} $out/share/emacs/site-lisp/site-start.el
104105 $out/bin/emacs --batch -f batch-byte-compile $out/share/emacs/site-lisp/site-start.el
105106
106107 rm -rf $out/var
@@ -133,7 +134,7 @@ stdenv.mkDerivation rec {
133134 description = "The extensible, customizable GNU text editor";
134135 homepage = https://www.gnu.org/software/emacs/;
135136 license = licenses.gpl3Plus;
136− maintainers = with maintainers; [ chaoflow lovek323 peti the-kenny jwiegley ];
137+ maintainers = with maintainers; [ lovek323 peti the-kenny jwiegley ];
137138 platforms = platforms.all;
138139
139140 longDescription = ''
pkgs/applications/editors/featherpad/default.nix+2−2
@@ -3,13 +3,13 @@
33with qt5;
44
55stdenv.mkDerivation rec {
6− version = "0.9.2";
6+ version = "0.9.4";
77 name = "featherpad-${version}";
88 src = fetchFromGitHub {
99 owner = "tsujan";
1010 repo = "FeatherPad";
1111 rev = "V${version}";
12− sha256 = "1kpv8x3m4hiz7q9k7qadgbrys5nyzm7v5mhjyk22hawnp98m9x4q";
12+ sha256 = "18zna6rx2qyiplr44wrkvr4avk9yy2l1s23fy3d7ql9f1fq12z3w";
1313 };
1414 nativeBuildInputs = [ qmake pkgconfig qttools ];
1515 buildInputs = [ qtbase qtsvg qtx11extras ];
pkgs/applications/editors/gnome-latex/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, wrapGAppsHook
1+{ stdenv, fetchurl, wrapGAppsHook, gsettings-desktop-schemas, gspell, gtksourceview4, libgee
22, tepl, amtk, gnome3, glib, pkgconfig, intltool, itstool, libxml2 }:
33let
44 version = "3.30.2";
@@ -21,9 +21,9 @@ in stdenv.mkDerivation {
2121 intltool
2222 ];
2323
24− buildInputs = with gnome3; [
24+ buildInputs = [
2525 amtk
26− defaultIconTheme
26+ gnome3.adwaita-icon-theme
2727 glib
2828 gsettings-desktop-schemas
2929 gspell
pkgs/applications/editors/neovim/ruby_provider/Gemfile.lock+4−4
@@ -1,10 +1,10 @@
11GEM
22 remote: https://rubygems.org/
33 specs:
4− msgpack (1.2.4)
4+ msgpack (1.2.6)
55 multi_json (1.13.1)
6− neovim (0.7.0)
7− msgpack (~> 1.0)
6+ neovim (0.8.0)
7+ msgpack (~> 1.1)
88 multi_json (~> 1.0)
99
1010PLATFORMS
@@ -14,4 +14,4 @@ DEPENDENCIES
1414 neovim
1515
1616BUNDLED WITH
17− 1.14.6
17+ 1.17.2
pkgs/applications/editors/neovim/ruby_provider/gemset.nix+4−4
@@ -2,10 +2,10 @@
22 msgpack = {
33 source = {
44 remotes = ["https://rubygems.org"];
5− sha256 = "09xy1wc4wfbd1jdrzgxwmqjzfdfxbz0cqdszq2gv6rmc3gv1c864";
5+ sha256 = "0031gd2mjyba6jb7m97sqa149zjkr0vzn2s2gpb3m9nb67gqkm13";
66 type = "gem";
77 };
8− version = "1.2.4";
8+ version = "1.2.6";
99 };
1010 multi_json = {
1111 source = {
@@ -19,9 +19,9 @@
1919 dependencies = ["msgpack" "multi_json"];
2020 source = {
2121 remotes = ["https://rubygems.org"];
22− sha256 = "0b487dzz41im8cwzvfjqgf8kkrp6mpkvcbzhazrmqqw8gxyvfbq4";
22+ sha256 = "07scrdfk7pyn5jgx5m2yajdqpbdv42833vbw568qqag6xp99j3yk";
2323 type = "gem";
2424 };
25− version = "0.7.0";
25+ version = "0.8.0";
2626 };
2727}
pkgs/applications/editors/quilter/default.nix+7−10
@@ -1,39 +1,36 @@
11{ stdenv, fetchFromGitHub, fetchpatch, pkgconfig, meson, ninja, python3
22, gtk3, desktop-file-utils, gtksourceview, webkitgtk, gtkspell3, pantheon
3−, gnome3, discount, gobject-introspection, wrapGAppsHook }:
3+, libgee, discount, wrapGAppsHook }:
44
55stdenv.mkDerivation rec {
66 pname = "quilter";
7− version = "1.6.8";
8−
9− name = "${pname}-${version}";
7+ version = "1.7.5";
108
119 src = fetchFromGitHub {
1210 owner = "lainsce";
1311 repo = pname;
1412 rev = version;
15− sha256 = "07i9pivpddgixn1wzbr15gvzf0n5pklx0gkjjaa35kvj2z8k31x5";
13+ sha256 = "0czf6rm908pz6zwiaq2phci923q8xa8x7q7kvdk6s3km4i1rrgkn";
1614 };
1715
1816 nativeBuildInputs = [
1917 desktop-file-utils
20− gobject-introspection
2118 meson
2219 ninja
20+ pantheon.vala
2321 pkgconfig
2422 python3
25− pantheon.vala
2623 wrapGAppsHook
2724 ];
2825
2926 buildInputs = [
3027 discount
31− pantheon.elementary-icon-theme
32− pantheon.granite
33− gnome3.libgee
3428 gtk3
3529 gtksourceview
3630 gtkspell3
31+ libgee
32+ pantheon.elementary-icon-theme
33+ pantheon.granite
3734 webkitgtk
3835 ];
3936
pkgs/applications/editors/sigil/default.nix+2−2
@@ -6,10 +6,10 @@
66
77stdenv.mkDerivation rec {
88 name = "sigil-${version}";
9− version = "0.9.10";
9+ version = "0.9.12";
1010
1111 src = fetchFromGitHub {
12− sha256 = "11r7043kbqv67z1aqk929scsg6yllldpl8icl32dw3dai7f1c658";
12+ sha256 = "0zlm1jjk91cbrphrilpvxhbm26bbmgy10n7hd0fb1ml8q70q34s3";
1313 rev = version;
1414 repo = "Sigil";
1515 owner = "Sigil-Ebook";
pkgs/applications/editors/standardnotes/default.nix+5−5
@@ -1,7 +1,7 @@
1−{ stdenv, appimage-run, fetchurl }:
1+{ stdenv, appimage-run, fetchurl, runtimeShell }:
22
33let
4− version = "2.3.12";
4+ version = "3.0.6";
55
66 plat = {
77 "i386-linux" = "i386";
@@ -9,8 +9,8 @@ let
99 }.${stdenv.hostPlatform.system};
1010
1111 sha256 = {
12− "i386-linux" = "0q7izk20r14kxn3n4pn92jgnynfnlnylg55brz8n1lqxc0dc3v24";
13− "x86_64-linux" = "0myg4qv0vrwh8s9sckb12ld9f86ymx4yypvpy0w5qn1bxk5hbafc";
12+ "i386-linux" = "0czhlbacjks9x8y2w46nzlvk595psqhqw0vl0bvsq7sz768dk0ni";
13+ "x86_64-linux" = "0haji9h8rrm9yvqdv6i2y6xdd0yhsssjjj83hmf6cb868lwyigsf";
1414 }.${stdenv.hostPlatform.system};
1515in
1616
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
2929 installPhase = ''
3030 mkdir -p $out/{bin,share}
3131 cp $src $out/share/standardNotes.AppImage
32− echo "#!${stdenv.shell}" > $out/bin/standardnotes
32+ echo "#!${runtimeShell}" > $out/bin/standardnotes
3333 echo "${appimage-run}/bin/appimage-run $out/share/standardNotes.AppImage" >> $out/bin/standardnotes
3434 chmod +x $out/bin/standardnotes $out/share/standardNotes.AppImage
3535 '';
pkgs/applications/editors/sublime/3/common.nix+22−5
@@ -1,8 +1,9 @@
1−{buildVersion, x32sha256, x64sha256}:
1+{buildVersion, x32sha256, x64sha256, dev ? false}:
22
3−{ fetchurl, stdenv, glib, xorg, cairo, gtk2, gtk3, pango, makeWrapper, wrapGAppsHook, openssl, bzip2,
3+{ fetchurl, stdenv, glib, xorg, cairo, gtk2, gtk3, pango, makeWrapper, wrapGAppsHook, openssl, bzip2, runtimeShell,
44 pkexecPath ? "/run/wrappers/bin/pkexec", libredirect,
5− gksuSupport ? false, gksu, unzip, zip, bash}:
5+ gksuSupport ? false, gksu, unzip, zip, bash,
6+ writeScript, common-updater-scripts, curl, gnugrep}:
67
78assert gksuSupport -> gksu != null;
89
@@ -26,7 +27,7 @@ in let
2627
2728 # package with just the binaries
2829 sublime = stdenv.mkDerivation {
29− name = "sublimetext3-${buildVersion}-bin";
30+ name = "sublimetext3-bin-${buildVersion}";
3031 src =
3132 fetchurl {
3233 name = "sublimetext-${buildVersion}.tar.bz2";
@@ -115,7 +116,7 @@ in stdenv.mkDerivation (rec {
115116 mkdir -p $out/bin
116117
117118 cat > $out/bin/subl <<-EOF
118− #!${stdenv.shell}
119+ #!${runtimeShell}
119120 exec $sublime/sublime_text "\$@"
120121 EOF
121122 chmod +x $out/bin/subl
@@ -127,6 +128,22 @@ in stdenv.mkDerivation (rec {
127128 ln -s $sublime/Icon/256x256/ $out/share/icons
128129 '';
129130
131+ passthru.updateScript = writeScript "sublime3-update-script" ''
132+ #!${stdenv.shell}
133+ set -o errexit
134+ PATH=${stdenv.lib.makeBinPath [ common-updater-scripts curl gnugrep ]}
135+
136+ latestVersion=$(curl https://www.sublimetext.com/3${stdenv.lib.optionalString dev "dev"} | grep -Po '(?<=<p class="latest"><i>Version:</i> Build )([0-9]+)')
137+
138+ for platform in ${stdenv.lib.concatStringsSep " " meta.platforms}; do
139+ package=sublime3${stdenv.lib.optionalString dev "-dev"}
140+ # The script will not perform an update when the version attribute is up to date from previous platform run
141+ # We need to clear it before each run
142+ update-source-version ''${package}.sublime 0 0000000000000000000000000000000000000000000000000000000000000000 --file=pkgs/applications/editors/sublime/3/packages.nix --version-key=buildVersion --system=$platform
143+ update-source-version ''${package}.sublime $latestVersion --file=pkgs/applications/editors/sublime/3/packages.nix --version-key=buildVersion --system=$platform
144+ done
145+ '';
146+
130147 meta = with stdenv.lib; {
131148 description = "Sophisticated text editor for code, markup and prose";
132149 homepage = https://www.sublimetext.com/;
pkgs/applications/editors/sublime/3/packages.nix+1
@@ -6,6 +6,7 @@ in
66 rec {
77 sublime3-dev = common {
88 buildVersion = "3184";
9+ dev = true;
910 x32sha256 = "1b6f1fid75g5z247dbnyyj276lrlv99scrdk1vvfcr6vyws77vzr";
1011 x64sha256 = "03127jhfjr17ai96p3axh5b5940fds8jcw6vkid8y6dmvd2dpylz";
1112 } {};
pkgs/applications/editors/thonny/default.nix+7−6
@@ -1,16 +1,16 @@
1−{ stdenv, fetchFromBitbucket, python3 }:
1+{ stdenv, fetchFromGitHub, python3 }:
22
33with python3.pkgs;
44
55buildPythonApplication rec {
66 pname = "thonny";
7− version = "3.0.5";
7+ version = "3.1.2";
88
9− src = fetchFromBitbucket {
10− owner = "plas";
9+ src = fetchFromGitHub {
10+ owner = pname;
1111 repo = pname;
12− rev = "e5a1ad4ae9d24066a769489b1e168b4bd6e00b03";
13− sha256 = "1lrl5pj9dpw9i5ij863hd47gfd15nmvglqkl2ldwgfn7kgpsdkz5";
12+ rev = "v${version}";
13+ sha256 = "1simqqxm72k5zhavhllkinsyw8ggy6fjs5ppj82g3l5g3919pfna";
1414 };
1515
1616 propagatedBuildInputs = with python3.pkgs; [
@@ -21,6 +21,7 @@ buildPythonApplication rec {
2121 pylint
2222 mypy
2323 pyperclip
24+ asttokens
2425 ];
2526
2627 preInstall = ''
pkgs/applications/editors/vim/configurable.nix+11−10
@@ -7,6 +7,7 @@
77, vimPlugins
88, makeWrapper
99, wrapGAppsHook
10+, runtimeShell
1011
1112# apple frameworks
1213, CoreServices, CoreData, Cocoa, Foundation, libobjc, cf-private
@@ -157,22 +158,22 @@ in stdenv.mkDerivation rec {
157158
158159 rewrap () {
159160 rm -f "$out/bin/$1"
160− echo -e '#!${stdenv.shell}\n"'"$out/bin/vim"'" '"$2"' "$@"' > "$out/bin/$1"
161+ echo -e '#!${runtimeShell}\n"'"$out/bin/vim"'" '"$2"' "$@"' > "$out/bin/$1"
161162 chmod a+x "$out/bin/$1"
162163 }
163164
164− rewrap ex -e
165− rewrap view -R
166− rewrap gvim -g
167− rewrap gex -eg
168− rewrap gview -Rg
169− rewrap rvim -Z
170− rewrap rview -RZ
171− rewrap rgvim -gZ
165+ rewrap ex -e
166+ rewrap view -R
167+ rewrap gvim -g
168+ rewrap gex -eg
169+ rewrap gview -Rg
170+ rewrap rvim -Z
171+ rewrap rview -RZ
172+ rewrap rgvim -gZ
172173 rewrap rgview -RgZ
173174 rewrap evim -y
174175 rewrap eview -yR
175− rewrap vimdiff -d
176+ rewrap vimdiff -d
176177 rewrap gvimdiff -gd
177178 '';
178179
pkgs/applications/editors/vscode/default.nix+4−4
@@ -18,16 +18,16 @@ let
1818 }.${system};
1919
2020 sha256 = {
21− "i686-linux" = "04kbx1cx40lsy9irxy1arp1rixzk49ldhg34w3llmfbx63a4hchf";
22− "x86_64-linux" = "1plvx0mjcbizl6iffib95p5224r9frf0mn6c5xp14p3qnrp32jhm";
23− "x86_64-darwin" = "14h9gs6jpxydgd1h16ybq3ifw5jc7k83yg22pw3sk6vhy7hx7pxr";
21+ "i686-linux" = "0iqsbny25946fyvrm8qwgbd1xmwb8psg2n2c4wdk8x52259pxfvq";
22+ "x86_64-linux" = "0v1gbaqlaismrykl8igks5dl9bh5xh56v5aw8mffg8wxdr0alrvv";
23+ "x86_64-darwin" = "0awq1jgqbpirrhs09x7hn4m96idb4lazm053nf5jf5yrx8pq1l9i";
2424 }.${system};
2525
2626 archive_fmt = if system == "x86_64-darwin" then "zip" else "tar.gz";
2727in
2828 stdenv.mkDerivation rec {
2929 name = "vscode-${version}";
30− version = "1.31.1";
30+ version = "1.32.1";
3131
3232 src = fetchurl {
3333 name = "VSCode_${version}_${plat}.${archive_fmt}";
pkgs/applications/graphics/ImageMagick/7.0.nix+1
@@ -84,6 +84,7 @@ stdenv.mkDerivation rec {
8484 description = "A software suite to create, edit, compose, or convert bitmap images";
8585 platforms = platforms.linux ++ platforms.darwin;
8686 license = licenses.asl20;
87+ broken = ghostscript != null; # https://github.com/NixOS/nixpkgs/issues/55118
8788 maintainers = with maintainers; [ the-kenny ];
8889 };
8990}
pkgs/applications/graphics/ImageMagick/default.nix+1
@@ -100,6 +100,7 @@ stdenv.mkDerivation rec {
100100 description = "A software suite to create, edit, compose, or convert bitmap images";
101101 platforms = platforms.linux ++ platforms.darwin;
102102 maintainers = with maintainers; [ the-kenny ];
103+ broken = ghostscript != null; # https://github.com/NixOS/nixpkgs/issues/55118
103104 license = licenses.asl20;
104105 };
105106}
pkgs/applications/graphics/alchemy/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, jre}:
1+{ stdenv, fetchurl, jre, runtimeShell }:
22
33stdenv.mkDerivation rec {
44 name = "alchemy-${version}";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515 mkdir -p $out/bin $out/share
1616 cp -a . $out/share/alchemy
1717 cat >> $out/bin/alchemy << EOF
18− #!${stdenv.shell}
18+ #!${runtimeShell}
1919 cd $out/share/alchemy
2020 ${jre}/bin/java -jar Alchemy.jar "$@"
2121 EOF
pkgs/applications/graphics/antimony/default.nix+3−3
@@ -4,19 +4,19 @@
44}:
55
66let
7− gitRev = "60a58688e552f12501980c4bdab034ab0f2ba059";
7+ gitRev = "c0038e3ea82fec6119de364bcbc3370955ed46a2";
88 gitBranch = "develop";
99 gitTag = "0.9.3";
1010in
1111 stdenv.mkDerivation rec {
1212 name = "antimony-${version}";
13− version = "2018-07-17";
13+ version = "2018-10-20";
1414
1515 src = fetchFromGitHub {
1616 owner = "mkeeter";
1717 repo = "antimony";
1818 rev = gitRev;
19− sha256 = "0pgf6kr23xw012xsil56j5gq78mlirmrlqdm09m5wlgcf4vr6xnl";
19+ sha256 = "01cjcjppbb0gvh6npcsaidzpfcfzrqhhi07z4v0jkfyi0fl125v4";
2020 };
2121
2222 patches = [ ./paths-fix.patch ];
pkgs/applications/graphics/autotrace/default.nix+4−3
@@ -1,5 +1,6 @@
1−{ stdenv, fetchurl, callPackage, libpng12, imagemagick,
2− autoreconfHook, glib, pstoedit, pkgconfig, gettext, gd, darwin }:
1+{ stdenv, fetchurl, callPackage, libpng12, imagemagick
2+, autoreconfHook, glib, pstoedit, pkgconfig, gettext, gd, darwin
3+, runtimeShell }:
34
45# TODO: Figure out why the resultant binary is somehow linked against
56# libpng16.so.16 rather than libpng12.
@@ -51,7 +52,7 @@ stdenv.mkDerivation rec {
5152 # pstoedit-config no longer exists, it was replaced with pkg-config
5253 mkdir wrappers
5354 cat >wrappers/pstoedit-config <<'EOF'
54− #!${stdenv.shell}
55+ #!${runtimeShell}
5556 # replace --version with --modversion for pkg-config
5657 args=''${@/--version/--modversion}
5758 exec pkg-config pstoedit "''${args[@]}"
pkgs/applications/graphics/avocode/default.nix+1−1
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
1212 sha256 = "1slxxr3j0djqdnbk645sriwl99jp9imndyxiwd8aqggmmlp145a2";
1313 };
1414
15− libPath = stdenv.lib.makeLibraryPath (with xorg; with gnome3; [
15+ libPath = stdenv.lib.makeLibraryPath (with xorg; [
1616 stdenv.cc.cc.lib
1717 gdk_pixbuf
1818 glib
pkgs/applications/graphics/digikam/default.nix+2
@@ -23,6 +23,7 @@
2323, boost
2424, eigen
2525, exiv2
26+, ffmpeg
2627, flex
2728, jasper
2829, lcms2
@@ -66,6 +67,7 @@ mkDerivation rec {
6667 boost
6768 eigen
6869 exiv2
70+ ffmpeg
6971 flex
7072 jasper
7173 lcms2
pkgs/applications/graphics/dosage/default.nix+1−1
@@ -11,7 +11,7 @@ pythonPackages.buildPythonApplication rec {
1111 rev = "b2fdc13feb65b93762928f7e99bac7b1b7b31591";
1212 sha256 = "1p6vllqaf9s6crj47xqp97hkglch1kd4y8y4lxvzx3g2shhhk9hh";
1313 };
14− buildInputs = with pythonPackages; [ pytest responses ];
14+ checkInputs = with pythonPackages; [ pytest responses ];
1515 propagatedBuildInputs = with pythonPackages; [ colorama lxml requests pbr ];
1616
1717 disabled = pythonPackages.pythonOlder "3.3";
pkgs/applications/graphics/feh/default.nix+2−2
@@ -6,11 +6,11 @@ with stdenv.lib;
66
77stdenv.mkDerivation rec {
88 name = "feh-${version}";
9− version = "3.1.2";
9+ version = "3.1.3";
1010
1111 src = fetchurl {
1212 url = "https://feh.finalrewind.org/${name}.tar.bz2";
13− sha256 = "0qjhlrgr606gc9h96w9piyd13mx63jqfbxxnan41nrh76m8d0dka";
13+ sha256 = "1vsnxf4as3vyzjfhd8frzb1a8i7wnq7ck5ljx7qxqrnfqvxl1s4z";
1414 };
1515
1616 outputs = [ "out" "man" "doc" ];
pkgs/applications/graphics/fondo/default.nixnew file+47
@@ -0,0 +1,47 @@
1+{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson, ninja, python3, glib, gsettings-desktop-schemas, gtk3, libgee, json-glib, glib-networking, libsoup, libunity, wrapGAppsHook }:
2+
3+stdenv.mkDerivation rec {
4+ pname = "fondo";
5+ version = "1.2.1";
6+
7+ src = fetchFromGitHub {
8+ owner = "calo001";
9+ repo = pname;
10+ rev = version;
11+ sha256 = "0xczqkkq54gjay7wdl8mpil7klfrpvcw2a0n1brq7qrfhsmhc7pc";
12+ };
13+
14+ nativeBuildInputs = [
15+ meson
16+ ninja
17+ pantheon.vala
18+ pkgconfig
19+ python3
20+ wrapGAppsHook
21+ ];
22+
23+ buildInputs = [
24+ glib
25+ glib-networking
26+ gsettings-desktop-schemas
27+ gtk3
28+ json-glib
29+ libgee
30+ libsoup
31+ libunity
32+ pantheon.granite
33+ ];
34+
35+ postPatch = ''
36+ chmod +x meson/post_install.py
37+ patchShebangs meson/post_install.py
38+ '';
39+
40+ meta = with stdenv.lib; {
41+ description = "Find the most beautiful wallpapers for your desktop";
42+ homepage = https://github.com/calo001/fondo;
43+ license = licenses.agpl3Plus;
44+ maintainers = with maintainers; [ worldofpeace ];
45+ platforms = platforms.linux;
46+ };
47+}
pkgs/applications/graphics/gthumb/default.nix+4−3
@@ -1,5 +1,6 @@
11{ stdenv, fetchurl, gnome3, itstool, libxml2, pkgconfig, intltool,
22 exiv2, libjpeg, libtiff, gst_all_1, libraw, libsoup, libsecret,
3+ glib, gtk3, gsettings-desktop-schemas,
34 libchamplain, librsvg, libwebp, json-glib, webkitgtk, lcms2, bison,
45 flex, wrapGAppsHook, shared-mime-info }:
56
@@ -16,10 +17,10 @@ in stdenv.mkDerivation rec {
1617
1718 nativeBuildInputs = [ itstool libxml2 intltool pkgconfig bison flex wrapGAppsHook ];
1819
19− buildInputs = with gnome3; [
20− glib gtk gsettings-desktop-schemas gst_all_1.gstreamer gst_all_1.gst-plugins-base
20+ buildInputs = [
21+ glib gtk3 gsettings-desktop-schemas gst_all_1.gstreamer gst_all_1.gst-plugins-base
2122 exiv2 libjpeg libtiff libraw libsoup libsecret libchamplain
22− librsvg libwebp json-glib webkitgtk lcms2 defaultIconTheme
23+ librsvg libwebp json-glib webkitgtk lcms2 gnome3.adwaita-icon-theme
2324 ];
2425
2526 enableParallelBuilding = true;
pkgs/applications/graphics/ipe/default.nix+1−1
@@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
77
88 src = fetchurl {
99 url = "https://dl.bintray.com/otfried/generic/ipe/7.2/${name}-src.tar.gz";
10− sha256 = "0rm31kvyg30452bz12yi49bkhdmi4bjdx6zann5cdlbi0pvmx7xh";
10+ sha256 = "0gw45d0albrsa0pbc5g4w3fmmjfxrdbpzyc7723ncbhncdyda01h";
1111 };
1212
1313 sourceRoot = "${name}/src";
pkgs/applications/graphics/shotwell/default.nix+1−1
@@ -25,7 +25,7 @@ in stdenv.mkDerivation rec {
2525 gst_all_1.gstreamer gst_all_1.gst-plugins-base gnome3.libgee
2626 libgudev gnome3.gexiv2 gnome3.gsettings-desktop-schemas
2727 libraw json-glib glib gdk_pixbuf librsvg gnome3.rest
28− gcr gnome3.defaultIconTheme libgdata
28+ gcr gnome3.adwaita-icon-theme libgdata
2929 ];
3030
3131 postPatch = ''
pkgs/applications/graphics/swingsane/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, makeDesktopItem, unzip, jre }:
1+{ stdenv, fetchurl, makeDesktopItem, unzip, jre, runtimeShell }:
22
33stdenv.mkDerivation rec {
44 name = "swingsane-${version}";
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616 installPhase = let
1717
1818 execWrapper = ''
19− #!${stdenv.shell}
19+ #!${runtimeShell}
2020 exec ${jre}/bin/java -jar $out/share/java/swingsane/swingsane-${version}.jar "$@"
2121 '';
2222
pkgs/applications/graphics/synfigstudio/default.nix+2−2
@@ -1,6 +1,6 @@
11{ stdenv, fetchFromGitHub, boost, cairo, gettext, glibmm, gtk3, gtkmm3
22, libjack2, libsigcxx, libxmlxx, makeWrapper, mlt-qt5, pango, pkgconfig
3−, imagemagick, intltool, autoreconfHook, which, defaultIconTheme
3+, imagemagick, intltool, autoreconfHook, which, gnome3
44}:
55
66let
@@ -105,7 +105,7 @@ stdenv.mkDerivation rec {
105105 buildInputs = [
106106 ETL boost cairo glibmm gtk3 gtkmm3 imagemagick intltool
107107 libjack2 libsigcxx libxmlxx makeWrapper mlt-qt5
108− synfig which defaultIconTheme
108+ synfig which gnome3.adwaita-icon-theme
109109 ];
110110
111111 postInstall = ''
pkgs/applications/graphics/vimiv/default.nix+2−2
@@ -1,5 +1,5 @@
11{ lib, python3Packages, fetchFromGitHub, imagemagick, librsvg, gtk3, jhead
2−, hicolor-icon-theme, defaultIconTheme
2+, hicolor-icon-theme, gnome3
33
44# Test requirements
55, dbus, xvfb_run, xdotool
@@ -38,7 +38,7 @@ python3Packages.buildPythonApplication rec {
3838 '';
3939
4040 checkInputs = [ python3Packages.nose dbus.daemon xvfb_run xdotool ];
41− buildInputs = [ hicolor-icon-theme defaultIconTheme librsvg ];
41+ buildInputs = [ hicolor-icon-theme gnome3.adwaita-icon-theme librsvg ];
4242 propagatedBuildInputs = with python3Packages; [ pillow pygobject3 gtk3 ];
4343
4444 makeWrapperArgs = [
pkgs/applications/graphics/wings/default.nix+2−3
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv, erlang, cl, libGL, libGLU }:
1+{ fetchurl, stdenv, erlang, cl, libGL, libGLU, runtimeShell }:
22
33stdenv.mkDerivation rec {
44 name = "wings-2.2.1";
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
2828 cp ebin/* $out/lib/${name}/ebin
2929 cp -R textures shaders plugins $out/lib/$name
3030 cat << EOF > $out/bin/wings
31− #!${stdenv.shell}
31+ #!${runtimeShell}
3232 ${erlang}/bin/erl \
3333 -pa $out/lib/${name}/ebin -run wings_start start_halt "$@"
3434 EOF
@@ -43,4 +43,3 @@ stdenv.mkDerivation rec {
4343 platforms = with stdenv.lib.platforms; linux;
4444 };
4545}
46−
pkgs/applications/graphics/xournalpp/default.nixnew file+74
@@ -0,0 +1,74 @@
1+{ stdenv
2+, lib
3+, fetchFromGitHub
4+, fetchpatch
5+
6+, cmake
7+, gettext
8+, wrapGAppsHook
9+, pkgconfig
10+
11+, glib
12+, gsettings-desktop-schemas
13+, gtk3
14+, hicolor-icon-theme
15+, libsndfile
16+, libxml2
17+, pcre
18+, poppler
19+, portaudio
20+, zlib
21+
22+# Plugins don't appear to be working in this version, so disable them by not
23+# building with Lua support by default. In a future version, try switching this
24+# to 'true' and seeing if the top-level Plugin menu appears.
25+, withLua ? false, lua
26+}:
27+
28+stdenv.mkDerivation rec {
29+ name = "xournalpp-${version}";
30+ version = "1.0.8";
31+
32+ src = fetchFromGitHub {
33+ owner = "xournalpp";
34+ repo = "xournalpp";
35+ rev = version;
36+ sha256 = "01q84xjp9z1krna10gjj562km6i3wdq8cg7paxax1k6bh52ryvf6";
37+ };
38+
39+ patches = [
40+ # This patch removes the unused 'xopp-recording.sh' file which breaks the
41+ # cmake build; this patch isn't in a release yet, and should be removed at
42+ # or after 1.0.9 is released.
43+ (fetchpatch {
44+ name = "remove-xopp-recording.sh.patch";
45+ url = "https://github.com/xournalpp/xournalpp/commit/a17a3f2c80c607a22d0fdeb66d38358bea7e4d85.patch";
46+ sha256 = "10pcpvklm6kr0lv2xrsbpg2037ni9j6dmxgjf56p466l3gz60iwy";
47+ })
48+ ];
49+
50+ nativeBuildInputs = [ cmake gettext pkgconfig wrapGAppsHook ];
51+ buildInputs =
52+ [ glib
53+ gsettings-desktop-schemas
54+ gtk3
55+ hicolor-icon-theme
56+ libsndfile
57+ libxml2
58+ pcre
59+ poppler
60+ portaudio
61+ zlib
62+ ]
63+ ++ lib.optional withLua lua;
64+
65+ enableParallelBuilding = true;
66+
67+ meta = with stdenv.lib; {
68+ description = "Xournal++ is a handwriting Notetaking software with PDF annotation support";
69+ homepage = https://github.com/xournalpp/xournalpp;
70+ license = licenses.gpl2;
71+ maintainers = with maintainers; [ andrew-d ];
72+ platforms = platforms.linux;
73+ };
74+}
pkgs/applications/graphics/zgrviewer/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, jre, unzip}:
1+{ stdenv, fetchurl, jre, unzip, runtimeShell }:
22stdenv.mkDerivation rec {
33 version = "0.9.0";
44 pname = "zgrviewer";
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616
1717 cp -r target/* "$out/share/java/zvtm/"
1818
19− echo '#!${stdenv.shell}' > "$out/bin/zgrviewer"
19+ echo '#!${runtimeShell}' > "$out/bin/zgrviewer"
2020 echo "${jre}/lib/openjdk/jre/bin/java -jar '$out/share/java/zvtm/zgrviewer-${version}.jar' \"\$@\"" >> "$out/bin/zgrviewer"
2121 chmod a+x "$out/bin/zgrviewer"
2222 '';
pkgs/applications/kde/default.nix+1
@@ -124,6 +124,7 @@ let
124124 kmbox = callPackage ./kmbox.nix {};
125125 kmime = callPackage ./kmime.nix {};
126126 kmix = callPackage ./kmix.nix {};
127+ kmplot = callPackage ./kmplot.nix {};
127128 kolourpaint = callPackage ./kolourpaint.nix {};
128129 kompare = callPackage ./kompare.nix {};
129130 konsole = callPackage ./konsole.nix {};
pkgs/applications/kde/kmplot.nixnew file+15
@@ -0,0 +1,15 @@
1+{ mkDerivation, lib, extra-cmake-modules, kdoctools
2+, kcrash, kguiaddons, ki18n, kparts, kwidgetsaddons, kdbusaddons
3+}:
4+
5+mkDerivation {
6+ name = "kmplot";
7+ meta = {
8+ license = with lib.licenses; [ gpl2Plus fdl12 ];
9+ maintainers = [ lib.maintainers.orivej ];
10+ };
11+ nativeBuildInputs = [ extra-cmake-modules kdoctools ];
12+ buildInputs = [
13+ kcrash kguiaddons ki18n kparts kwidgetsaddons kdbusaddons
14+ ];
15+}
pkgs/applications/kde/ktouch.nix+3−2
@@ -3,7 +3,7 @@
33, kconfig, kconfigwidgets, kcoreaddons, kdeclarative, ki18n
44, kitemviews, kcmutils, kio, knewstuff, ktexteditor, kwidgetsaddons
55, kwindowsystem, kxmlgui, qtscript, qtdeclarative, kqtquickcharts
6−, qtx11extras, qtgraphicaleffects, xorg
6+, qtx11extras, qtgraphicaleffects, qtxmlpatterns, xorg
77}:
88
99
@@ -19,7 +19,8 @@
1919 kconfig kconfigwidgets kcoreaddons kdeclarative ki18n
2020 kitemviews kcmutils kio knewstuff ktexteditor kwidgetsaddons
2121 kwindowsystem kxmlgui qtscript qtdeclarative kqtquickcharts
22− qtx11extras qtgraphicaleffects xorg.libxkbfile xorg.libxcb
22+ qtx11extras qtgraphicaleffects qtxmlpatterns
23+ xorg.libxkbfile xorg.libxcb
2324 ];
2425
2526 enableParallelBuilding = true;
pkgs/applications/misc/alacritty/default.nix+5
@@ -17,6 +17,8 @@
1717 libXrandr,
1818 libGL,
1919 xclip,
20+ wayland,
21+ libxkbcommon,
2022 # Darwin Frameworks
2123 cf-private,
2224 AppKit,
@@ -40,6 +42,9 @@ let
4042 libXrandr
4143 libGL
4244 libXi
45+ ] ++ lib.optionals stdenv.isLinux [
46+ wayland
47+ libxkbcommon
4348 ];
4449in buildRustPackage rec {
4550 name = "alacritty-${version}";
pkgs/applications/misc/appeditor/default.nixnew file+56
@@ -0,0 +1,56 @@
1+{ stdenv
2+, fetchFromGitHub
3+, meson
4+, ninja
5+, pkgconfig
6+, pantheon
7+, python3
8+, gettext
9+, glib
10+, gtk3
11+, hicolor-icon-theme
12+, libgee
13+, wrapGAppsHook }:
14+
15+stdenv.mkDerivation rec {
16+ pname = "appeditor";
17+ version = "1.1.0";
18+
19+ src = fetchFromGitHub {
20+ owner = "donadigo";
21+ repo = "appeditor";
22+ rev = version;
23+ sha256 = "04x2f4x4dp5ca2y3qllqjgirbyl6383pfl4bi9bkcqlg8b5081rg";
24+ };
25+
26+ nativeBuildInputs = [
27+ gettext
28+ meson
29+ ninja
30+ pantheon.vala
31+ pkgconfig
32+ python3
33+ wrapGAppsHook
34+ ];
35+
36+ buildInputs = [
37+ glib
38+ gtk3
39+ hicolor-icon-theme
40+ pantheon.granite
41+ libgee
42+ ];
43+
44+ postPatch = ''
45+ chmod +x meson/post_install.py
46+ patchShebangs meson/post_install.py
47+ '';
48+
49+ meta = with stdenv.lib; {
50+ description = "Edit the Pantheon desktop application menu";
51+ homepage = https://github.com/donadigo/appeditor;
52+ maintainers = with maintainers; [ kjuvi ] ++ pantheon.maintainers;
53+ platforms = platforms.linux;
54+ license = licenses.gpl3;
55+ };
56+}
pkgs/applications/misc/autospotting/default.nix+1−1
@@ -24,7 +24,7 @@ buildGoPackage rec {
2424 description = "Automatically convert your existing AutoScaling groups to up to 90% cheaper spot instances with minimal configuration changes";
2525 license = licenses.free;
2626 maintainers = [ maintainers.costrouc ];
27− platforms = platforms.linux;
27+ platforms = platforms.unix;
2828 };
2929
3030}
pkgs/applications/misc/avrdudess/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, unzip, mono, avrdude, gtk2, xdg_utils }:
1+{ stdenv, runtimeShell, fetchurl, unzip, mono, avrdude, gtk2, xdg_utils }:
22
33stdenv.mkDerivation rec {
44 name = "avrdudess-2.2.20140102";
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919 unzip "$src" -d "$out/avrdudess"
2020
2121 cat >> "$out/bin/avrdudess" << __EOF__
22− #!${stdenv.shell}
22+ #!${runtimeShell}
2323 export LD_LIBRARY_PATH="${stdenv.lib.makeLibraryPath [gtk2 mono]}"
2424 # We need PATH from user env for xdg-open to find its tools, which
2525 # typically depend on the currently running desktop environment.
pkgs/applications/misc/buku/default.nix+1−1
@@ -69,7 +69,7 @@ with python3.pkgs; buildPythonApplication rec {
6969 homepage = https://github.com/jarun/Buku;
7070 license = licenses.gpl3;
7171 platforms = platforms.linux;
72− maintainers = with maintainers; [ infinisil ];
72+ maintainers = with maintainers; [ matthiasbeyer infinisil ];
7373 };
7474}
7575
pkgs/applications/misc/calcurse/default.nix+2−2
@@ -2,11 +2,11 @@
22
33stdenv.mkDerivation rec {
44 name = "calcurse-${version}";
5− version = "4.3.0";
5+ version = "4.4.0";
66
77 src = fetchurl {
88 url = "https://calcurse.org/files/${name}.tar.gz";
9− sha256 = "16jzg0nasnxdlz23i121x41pq5kbxmjzk52c5d863rg117fc7v1i";
9+ sha256 = "0vw2xi6a2lrhrb8n55zq9lv4mzxhby4xdf3hmi1vlfpyrpdwkjzd";
1010 };
1111
1212 buildInputs = [ ncurses gettext python3 ];
pkgs/applications/misc/calibre/default.nix+2−2
@@ -5,12 +5,12 @@
55}:
66
77stdenv.mkDerivation rec {
8− version = "3.39.1";
8+ version = "3.40.1";
99 name = "calibre-${version}";
1010
1111 src = fetchurl {
1212 url = "https://download.calibre-ebook.com/${version}/${name}.tar.xz";
13− sha256 = "08c1wsdn0giv9zfb6bis9bbrw687rci8fs26qsal8ijmjk55dfsh";
13+ sha256 = "1s1kq8axfymr7agg7dqw47kanlrkzzhsy8pcj1fs5644zjp5n0bq";
1414 };
1515
1616 patches = [
pkgs/applications/misc/cataract/build.nix+1−1
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
3131 homepage = http://cgg.bzatek.net/;
3232 description = "a simple static web photo gallery, designed to be clean and easily usable";
3333 license = stdenv.lib.licenses.gpl2;
34− maintainers = with stdenv.lib.maintainers; [ ];
34+ maintainers = [ stdenv.lib.maintainers.matthiasbeyer ];
3535 platforms = with stdenv.lib.platforms; linux ++ darwin;
3636 };
3737}
pkgs/applications/misc/cheat/default.nix+13−6
@@ -1,30 +1,37 @@
1−{ stdenv, python3Packages, fetchFromGitHub }:
1+{ stdenv, python3, fetchFromGitHub }:
22
3−with python3Packages;
3+with python3.pkgs;
44buildPythonApplication rec {
55 name = "${pname}-${version}";
66 pname = "cheat";
7− version = "2.3.1";
7+ version = "2.5.1";
88
9− propagatedBuildInputs = [ docopt pygments ];
9+ propagatedBuildInputs = [ docopt pygments termcolor ];
1010
1111 src = fetchFromGitHub {
1212 owner = "chrisallenlane";
1313 repo = "cheat";
1414 rev = version;
15− sha256 = "1dcpjvbv648r8325qjf30m8b4cyrrjbzc2kvh40zy2mbjsa755zr";
15+ sha256 = "1i543hvg1yizamfd83bawflfcb500hvc72i59ikck8j1hjk50hsl";
1616 };
1717 # no tests available
1818 doCheck = false;
1919
2020 postInstall = ''
2121 install -D man1/cheat.1.gz $out/share/man/man1/cheat.1.gz
22+ mv $out/${python3.sitePackages}/etc $out/
23+ mv $out/${python3.sitePackages}/usr/share/* $out/share/
24+ rm -r $out/${python3.sitePackages}/usr
2225 '';
2326
27+ makeWrapperArgs = [
28+ "--suffix" "CHEAT_PATH" ":" "$out/share/cheat"
29+ ];
30+
2431 meta = with stdenv.lib; {
2532 description = "cheat allows you to create and view interactive cheatsheets on the command-line";
2633 maintainers = with maintainers; [ mic92 ];
27− license = with licenses; [gpl3 mit];
34+ license = with licenses; [ gpl3 mit ];
2835 homepage = https://github.com/chrisallenlane/cheat;
2936 };
3037}
pkgs/applications/misc/cherrytree/default.nix+2−2
@@ -4,11 +4,11 @@ with stdenv.lib;
44stdenv.mkDerivation rec {
55
66 name = "cherrytree-${version}";
7− version = "0.38.7";
7+ version = "0.38.8";
88
99 src = fetchurl {
1010 url = "https://www.giuspen.com/software/${name}.tar.xz";
11− sha256 = "1ls7vz993hj5gd99imlrzahxznfg6fa4n77ikkj79va4csw9b892";
11+ sha256 = "1ns87xl2sgrf3nha4xkhp0xcxlycqszlp6xdrn95lg6vzm0fa8dg";
1212 };
1313
1414 buildInputs = with pythonPackages;
pkgs/applications/misc/cli-visualizer/default.nix+1−1
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
3030 homepage = https://github.com/dpayne/cli-visualizer;
3131 description = "CLI based audio visualizer";
3232 license = stdenv.lib.licenses.mit;
33− maintainers = with stdenv.lib.maintainers; [ ];
33+ maintainers = [ stdenv.lib.maintainers.matthiasbeyer ];
3434 platforms = with stdenv.lib.platforms; linux;
3535 };
3636}
pkgs/applications/misc/cointop/default.nix+1−1
@@ -24,7 +24,7 @@ buildGoPackage rec {
2424 The interface is inspired by htop and shortcut keys are inspired by vim.
2525 '';
2626 homepage = https://cointop.sh;
27− platforms = stdenv.lib.platforms.linux; # cannot test others
27+ platforms = stdenv.lib.platforms.unix; # cannot test others
2828 maintainers = [ ];
2929 license = stdenv.lib.licenses.asl20;
3030 };
pkgs/applications/misc/ctodo/default.nix+1−1
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919 homepage = http://ctodo.apakoh.dk/;
2020 description = "A simple ncurses-based task list manager";
2121 license = stdenv.lib.licenses.mit;
22− maintainers = with stdenv.lib.maintainers; [ ];
22+ maintainers = [ stdenv.lib.maintainers.matthiasbeyer ];
2323 platforms = stdenv.lib.platforms.linux;
2424 };
2525}
pkgs/applications/misc/curabydagoma/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, lib, fetchurl, python, pythonPackages, unzip }:
1+{ stdenv, runtimeShell, lib, fetchurl, python, pythonPackages, unzip }:
22
33# This package uses a precompiled "binary" distribution of CuraByDagoma,
44# distributed by the editor.
@@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
4444
4545 mkdir $out/bin
4646 cat > $out/bin/curabydago <<EOF
47− #!${stdenv.shell}
47+ #!${runtimeShell}
4848 export PYTHONPATH=$PYTHONPATH
4949 ${python.out}/bin/python $out/curabydago/cura.py
5050 EOF
pkgs/applications/misc/curaengine/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, fetchpatch, cmake, libarcus, stb }:
1+{ stdenv, fetchFromGitHub, fetchpatch, cmake, libarcus, stb, protobuf }:
22
33stdenv.mkDerivation rec {
44 name = "curaengine-${version}";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
1212 };
1313
1414 nativeBuildInputs = [ cmake ];
15− buildInputs = [ libarcus stb ];
15+ buildInputs = [ libarcus stb protobuf ];
1616
1717 cmakeFlags = [ "-DCURA_ENGINE_VERSION=${version}" ];
1818
pkgs/applications/misc/dbeaver/default.nix+2−2
@@ -7,7 +7,7 @@
77
88stdenv.mkDerivation rec {
99 name = "dbeaver-ce-${version}";
10− version = "5.3.2";
10+ version = "5.3.5";
1111
1212 desktopItem = makeDesktopItem {
1313 name = "dbeaver";
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
3030
3131 src = fetchurl {
3232 url = "https://dbeaver.io/files/${version}/dbeaver-ce-${version}-linux.gtk.x86_64.tar.gz";
33− sha256 = "05ra1bicah588q5n114vd9jqk9qdjix7b0zv5z83cagksb3n52rc";
33+ sha256 = "0b9a2l8lcw8abilm9a3igbfm52fmix0vzh6kz6kwgmnflp6n9wib";
3434 };
3535
3636 installPhase = ''
pkgs/applications/misc/ddgr/default.nix+5−17
@@ -1,29 +1,17 @@
1−{stdenv, fetchpatch, fetchFromGitHub, python3Packages}:
1+{stdenv, fetchpatch, fetchFromGitHub, python3}:
22
33stdenv.mkDerivation rec {
4− version = "1.1";
4+ version = "1.6";
55 name = "ddgr-${version}";
66
77 src = fetchFromGitHub {
88 owner = "jarun";
99 repo = "ddgr";
1010 rev = "v${version}";
11− sha256 = "1q66kwip5y0kfkfldm1x54plz85mjyvv1xpxjqrs30r2lr0najgf";
11+ sha256 = "04ybbjsf9hpn2p5cjjm15cwvv0mwrmdi19iifrym6ps3rmll0p3c";
1212 };
1313
14− buildInputs = [
15− (python3Packages.python.withPackages (ps: with ps; [
16− requests
17− ]))
18− ];
19−
20− patches = [
21− (fetchpatch {
22− sha256 = "1rxr3biq0mk4m0m7dsxr70dhz4fg5siil5x5fy9nymcmhvcm1cdc";
23− name = "Fix-zsh-completion.patch";
24− url = "https://github.com/jarun/ddgr/commit/10c1a911a3d5cbf3e96357c932b0211d3165c4b8.patch";
25− })
26− ];
14+ buildInputs = [ python3 ];
2715
2816 makeFlags = "PREFIX=$(out)";
2917
@@ -40,7 +28,7 @@ stdenv.mkDerivation rec {
4028 homepage = https://github.com/jarun/ddgr;
4129 description = "Search DuckDuckGo from the terminal";
4230 license = licenses.gpl3;
43− maintainers = with maintainers; [ markus1189 ];
31+ maintainers = with maintainers; [ ceedubs markus1189 ];
4432 platforms = platforms.unix;
4533 };
4634}
pkgs/applications/misc/electrum/ltc.nix+3−1
@@ -4,7 +4,7 @@
44}:
55
66python3Packages.buildPythonApplication rec {
7− name = "electrum-ltc-${version}";
7+ pname = "electrum-ltc";
88 version = "3.1.3.1";
99
1010 src = fetchurl {
@@ -12,6 +12,8 @@ python3Packages.buildPythonApplication rec {
1212 sha256 = "0kxcx1xf6h9z8x0k483d6ykpnmfr30n6z3r6lgqxvbl42pq75li7";
1313 };
1414
15+ nativeBuildInputs = with python3Packages; [ pyqt5 ];
16+
1517 propagatedBuildInputs = with python3Packages; [
1618 pyaes
1719 ecdsa
pkgs/applications/misc/filet/default.nixnew file+23
@@ -0,0 +1,23 @@
1+{ stdenv, fetchFromGitHub }:
2+
3+stdenv.mkDerivation rec {
4+ pname = "filet";
5+ version = "0.1.3";
6+
7+ src = fetchFromGitHub {
8+ owner = "buffet";
9+ repo = "filet";
10+ rev = version;
11+ sha256 = "0hm7589ih30axafqxhhs4fg1pvfhlqzyzzmfi2ilx8haq5111fsf";
12+ };
13+
14+ makeFlags = [ "PREFIX=$(out)" ];
15+
16+ meta = with stdenv.lib; {
17+ description = "A fucking fucking fast file fucker (afffff)";
18+ homepage = https://github.com/buffet/filet;
19+ license = licenses.mpl20;
20+ platforms = platforms.all;
21+ maintainers = with maintainers; [ buffet ];
22+ };
23+}
pkgs/applications/misc/font-manager/default.nix+1−1
@@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
3535 sqlite
3636 librsvg
3737 gnome3.gtk
38− gnome3.defaultIconTheme
38+ gnome3.adwaita-icon-theme
3939 ];
4040
4141 patches = [ ./correct-post-install.patch ];
pkgs/applications/misc/gammu/default.nix+2−2
@@ -8,13 +8,13 @@ with stdenv.lib;
88
99stdenv.mkDerivation rec {
1010 name = "gammu-${version}";
11− version = "1.39.0";
11+ version = "1.40.0";
1212
1313 src = fetchFromGitHub {
1414 owner = "gammu";
1515 repo = "gammu";
1616 rev = version;
17− sha256 = "1hr053z2l5mjgip83fsxnd1rqsp5gwywzagzrgdg243apn1nz0gs";
17+ sha256 = "1jjaa9r3x6i8gv3yn1ngg815s6gsxblsw4wb5ddm77kamn2qyvpf";
1818 };
1919
2020 patches = [ ./bashcomp-dir.patch ./systemd.patch ];
pkgs/applications/misc/ganttproject-bin/default.nix+14−9
@@ -1,12 +1,13 @@
1−{ stdenv, fetchzip, makeDesktopItem, makeWrapper
2−, jre }:
1+{ stdenv, lib, fetchzip, makeDesktopItem, makeWrapper
2+, jre
3+}:
34
45stdenv.mkDerivation rec {
56 name = "ganttproject-bin-${version}";
6− version = "2.7.2";
7+ version = "2.8.10";
78
8− src = let build = "r1954"; in fetchzip {
9− sha256 = "0l655w6n88j7klz56af8xkpiv1pwlkfl5x1d33sqv9dnyisyw2hc";
9+ src = let build = "r2364"; in fetchzip {
10+ sha256 = "0cclgyqv4f9pjsdlh93cqvgbzrp8ajvrpc2xszs03sknqz2kdh7r";
1011 url = "https://dl.ganttproject.biz/ganttproject-${version}/"
1112 + "ganttproject-${version}-${build}.zip";
1213 };
@@ -28,18 +29,21 @@ stdenv.mkDerivation rec {
2829 categories = "Office;Application;";
2930 };
3031
32+ javaOptions = [
33+ "-Dawt.useSystemAAFontSettings=on"
34+ ];
35+
3136 in ''
3237 mkdir -pv "$out/share/ganttproject"
3338 cp -rv * "$out/share/ganttproject"
3439
3540 mkdir -pv "$out/bin"
3641 wrapProgram "$out/share/ganttproject/ganttproject" \
37− --set JAVA_HOME "${jre}"
42+ --set JAVA_HOME "${jre}" \
43+ --set _JAVA_OPTIONS "${builtins.toString javaOptions}"
44+
3845 mv -v "$out/share/ganttproject/ganttproject" "$out/bin"
3946
40− install -v -Dm644 \
41− plugins/net.sourceforge.ganttproject/data/resources/icons/ganttproject.png \
42− "$out/share/pixmaps/ganttproject.png"
4347 cp -rv "${desktopItem}/share/applications" "$out/share"
4448 '';
4549
@@ -51,5 +55,6 @@ stdenv.mkDerivation rec {
5155 # ‘GPL3-compatible’. See ${downloadPage} for detailed information.
5256 license = licenses.gpl3Plus;
5357 platforms = platforms.linux;
58+ maintainers = [ maintainers.vidbina ];
5459 };
5560}
pkgs/applications/misc/gcalcli/default.nix+2−2
@@ -5,13 +5,13 @@ with python3.pkgs;
55
66buildPythonApplication rec {
77 pname = "gcalcli";
8− version = "4.0.3";
8+ version = "4.0.4";
99
1010 src = fetchFromGitHub {
1111 owner = "insanum";
1212 repo = pname;
1313 rev = "v${version}";
14− sha256 = "15hpm7b09p5qnha0hpp0mgdl2pgsyq2sjcqihk3fsv7arngdbr5q";
14+ sha256 = "0bl4cmc24iw12zn5mlj5qn141s2k2mzdixbcb92pfng4w2s4dq66";
1515 };
1616
1717 postPatch = lib.optionalString stdenv.isLinux ''
pkgs/applications/misc/glava/default.nix+2−2
@@ -1,12 +1,12 @@
11{ stdenv, writeScript, fetchFromGitHub
22, libGL, libX11, libXext, python3, libXrandr, libXrender, libpulseaudio, libXcomposite
3−, enableGlfw ? false, glfw }:
3+, enableGlfw ? false, glfw, runtimeShell }:
44
55let
66 inherit (stdenv.lib) optional makeLibraryPath;
77
88 wrapperScript = writeScript "glava" ''
9− #!${stdenv.shell}
9+ #!${runtimeShell}
1010 case "$1" in
1111 --copy-config)
1212 # The binary would symlink it, which won't work in Nix because the
pkgs/applications/misc/gnome-recipes/default.nix+2−2
@@ -13,7 +13,7 @@
1313, glib
1414, libsoup
1515, gnome-online-accounts
16−, rest
16+, librest
1717, json-glib
1818, gnome-autoar
1919, gspell
@@ -46,7 +46,7 @@ in stdenv.mkDerivation rec {
4646 glib
4747 libsoup
4848 gnome-online-accounts
49− rest
49+ librest
5050 json-glib
5151 gnome-autoar
5252 gspell
pkgs/applications/misc/gnome-usage/default.nix+1−1
@@ -15,7 +15,7 @@ in stdenv.mkDerivation rec {
1515
1616 nativeBuildInputs = [ meson ninja pkgconfig vala gettext libxml2 desktop-file-utils wrapGAppsHook ];
1717
18− buildInputs = [ glib gtk3 libgtop gnome3.defaultIconTheme ];
18+ buildInputs = [ glib gtk3 libgtop gnome3.adwaita-icon-theme ];
1919
2020 postPatch = ''
2121 chmod +x build-aux/meson/postinstall.sh
pkgs/applications/misc/gtk2fontsel/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, pkgconfig, gtk }:
1+{stdenv, fetchurl, pkgconfig, gtk2 }:
22
33stdenv.mkDerivation rec {
44 version = "0.1";
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
1010 };
1111
1212 nativeBuildInputs = [ pkgconfig ];
13− buildInputs = [ stdenv gtk ];
13+ buildInputs = [ stdenv gtk2 ];
1414
1515 preferLocalBuild = true;
1616
pkgs/applications/misc/gummi/default.nix+1−1
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919 ];
2020 buildInputs = [
2121 glib gnome2.gtksourceview gnome2.pango gtk2-x11 gtkspell2 poppler
22− gnome3.defaultIconTheme
22+ gnome3.adwaita-icon-theme
2323 ];
2424
2525 preConfigure = ''
pkgs/applications/misc/hamster-time-tracker/default.nix+2−2
@@ -18,9 +18,9 @@ pythonPackages.buildPythonApplication rec {
1818 sha256 = "1a85rcg561792kdyv744cgzw7mmpmgv6d6li1sijfdpqa1ninf8g";
1919 };
2020
21− nativeBuildInputs = [ wafHook ];
21+ nativeBuildInputs = [ wafHook intltool ];
2222 buildInputs = [
23− docbook2x libxslt gnome-doc-utils intltool dbus-glib hicolor-icon-theme
23+ docbook2x libxslt gnome-doc-utils dbus-glib hicolor-icon-theme
2424 ];
2525
2626 propagatedBuildInputs = with pythonPackages; [ pygobject2 pygtk pyxdg gnome_python dbus-python ];
pkgs/applications/misc/haxor-news/default.nix+1−1
@@ -38,7 +38,7 @@ buildPythonApplication rec {
3838 homepage = https://github.com/donnemartin/haxor-news;
3939 description = "Browse Hacker News like a haxor";
4040 license = licenses.asl20;
41− maintainers = with maintainers; [ ];
41+ maintainers = with maintainers; [ matthiasbeyer ];
4242 };
4343
4444}
pkgs/applications/misc/hello-unfree/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv }:
1+{ stdenv, runtimeShell }:
22
33stdenv.mkDerivation rec {
44 name = "example-unfree-package-${version}";
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
99 installPhase = ''
1010 mkdir -p $out/bin
1111 cat > $out/bin/hello-unfree << EOF
12− #!${stdenv.shell}
12+ #!${runtimeShell}
1313 echo "Hello, you are running an unfree system!"
1414 EOF
1515 chmod +x $out/bin/hello-unfree
pkgs/applications/misc/hr/default.nix+1−1
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222 homepage = https://github.com/LuRsT/hr;
2323 description = "A horizontal bar for your terminal";
2424 license = licenses.mit;
25− maintainers = [ ];
25+ maintainers = [ maintainers.matthiasbeyer ];
2626 platforms = platforms.unix;
2727 };
2828}
pkgs/applications/misc/hstr/default.nix+1−1
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515 homepage = https://github.com/dvorka/hstr;
1616 description = "Shell history suggest box - easily view, navigate, search and use your command history";
1717 license = stdenv.lib.licenses.asl20;
18− maintainers = with stdenv.lib.maintainers; [ ];
18+ maintainers = [ stdenv.lib.maintainers.matthiasbeyer ];
1919 platforms = with stdenv.lib.platforms; linux; # Cannot test others
2020 };
2121
pkgs/applications/misc/hugo/default.nix+2−2
@@ -2,7 +2,7 @@
22
33buildGoPackage rec {
44 name = "hugo-${version}";
5− version = "0.50";
5+ version = "0.54.0";
66
77 goPackagePath = "github.com/gohugoio/hugo";
88
@@ -10,7 +10,7 @@ buildGoPackage rec {
1010 owner = "gohugoio";
1111 repo = "hugo";
1212 rev = "v${version}";
13− sha256 = "1shrw7pxwrz9g5x9bq6k5qvhn3fqmwznadpw7i07msh97p8b3dyn";
13+ sha256 = "01grfbr3kpd4qf5cbcmzc6yfq34cm0nkak4pqzgrn46r254y0ymv";
1414 };
1515
1616 goDeps = ./deps.nix;
pkgs/applications/misc/hugo/deps.nix+155−100
@@ -1,5 +1,23 @@
1+# file generated from go.mod using vgo2nix (https://github.com/adisbladis/vgo2nix)
12[
2−
3+ {
4+ goPackagePath = "github.com/gobuffalo/envy";
5+ fetch = {
6+ type = "git";
7+ url = "https://github.com/gobuffalo/envy";
8+ rev = "v1.6.8";
9+ "sha256" = "1xh26j9bji8c4hr05f89kbc4fhqniba00bdcic4gs5xfnp2vj7gk";
10+ };
11+ }
12+ {
13+ goPackagePath = "github.com/joho/godotenv";
14+ fetch = {
15+ type = "git";
16+ url = "https://github.com/joho/godotenv";
17+ rev = "v1.3.0";
18+ "sha256" = "0ri8if0pc3x6jg4c3i8wr58xyfpxkwmcjk3rp8gb398a1aa3gpjm";
19+ };
20+ }
321 {
422 goPackagePath = "github.com/BurntSushi/locker";
523 fetch = {
@@ -9,7 +27,6 @@
927 sha256 = "1xak4aync4klswq5217qvw191asgla51jr42y94vp109lirm5dzg";
1028 };
1129 }
12−
1330 {
1431 goPackagePath = "github.com/BurntSushi/toml";
1532 fetch = {
@@ -19,7 +36,6 @@
1936 sha256 = "1sjxs2lwc8jpln80s4rlzp7nprbcljhy5mz4rf9995gq93wqnym5";
2037 };
2138 }
22−
2339 {
2440 goPackagePath = "github.com/PuerkitoBio/purell";
2541 fetch = {
@@ -29,7 +45,6 @@
2945 sha256 = "0vsxyn1fbm7g873b8kf3hcsgqgncb5nmfq3zfsc35a9yhzarka91";
3046 };
3147 }
32−
3348 {
3449 goPackagePath = "github.com/PuerkitoBio/urlesc";
3550 fetch = {
@@ -39,7 +54,6 @@
3954 sha256 = "0n0srpqwbaan1wrhh2b7ysz543pjs1xw2rghvqyffg9l0g8kzgcw";
4055 };
4156 }
42−
4357 {
4458 goPackagePath = "github.com/alecthomas/assert";
4559 fetch = {
@@ -49,17 +63,15 @@
4963 sha256 = "1l567pi17k593nrd1qlbmiq8z9jy3qs60px2a16fdpzjsizwqx8l";
5064 };
5165 }
52−
5366 {
5467 goPackagePath = "github.com/alecthomas/chroma";
5568 fetch = {
5669 type = "git";
5770 url = "https://github.com/alecthomas/chroma";
58− rev = "v0.5.0";
59− sha256 = "150jv4vhsdi1gj3liwkgicdrwnzgv5qkq2fwznlnzf64vmfb0b9f";
71+ rev = "v0.6.2";
72+ sha256 = "1bcppy1s148iikr78qjm0akahn01ywh83a8pw544prr9yc16jvmz";
6073 };
6174 }
62−
6375 {
6476 goPackagePath = "github.com/alecthomas/colour";
6577 fetch = {
@@ -69,17 +81,33 @@
6981 sha256 = "0iq566534gbzkd16ixg7fk298wd766821vvs80838yifx9yml5vs";
7082 };
7183 }
72−
84+ {
85+ goPackagePath = "github.com/alecthomas/kong";
86+ fetch = {
87+ type = "git";
88+ url = "https://github.com/alecthomas/kong";
89+ rev = "v0.1.15";
90+ sha256 = "1llxabcdzlb2hard0h931knqkdnyjyz8dp3k0nli0m0mags7l31b";
91+ };
92+ }
7393 {
7494 goPackagePath = "github.com/alecthomas/repr";
7595 fetch = {
7696 type = "git";
7797 url = "https://github.com/alecthomas/repr";
78− rev = "117648cd9897";
79− sha256 = "05v1rgzdqc8razf702laagrvhvx68xd9yxxmzd3dyz0d6425pdrp";
98+ rev = "d37bc2a10ba1";
99+ sha256 = "0jnx1ypdl4zi010ds2z857ajkr5cx51wkx950rfqb126hvql7svx";
100+ };
101+ }
102+ {
103+ goPackagePath = "github.com/armon/consul-api";
104+ fetch = {
105+ type = "git";
106+ url = "https://github.com/armon/consul-api";
107+ rev = "eb2c6b5be1b6";
108+ sha256 = "1j6fdr1sg36qy4n4xjl7brq739fpm5npq98cmvklzjc9qrx98nk9";
80109 };
81110 }
82−
83111 {
84112 goPackagePath = "github.com/bep/debounce";
85113 fetch = {
@@ -89,7 +117,6 @@
89117 sha256 = "1sh4zv0hv7f454mhzpl2mbv7ar5rm00wyy5qr78x1h84bgph87wy";
90118 };
91119 }
92−
93120 {
94121 goPackagePath = "github.com/bep/gitmap";
95122 fetch = {
@@ -99,17 +126,15 @@
99126 sha256 = "0zqdl5h4ayi2gi5aqf35f1sjszhbcriksm2bf84fkrg7ngr48jn6";
100127 };
101128 }
102−
103129 {
104130 goPackagePath = "github.com/bep/go-tocss";
105131 fetch = {
106132 type = "git";
107133 url = "https://github.com/bep/go-tocss";
108− rev = "v0.5.0";
109− sha256 = "12q7h6nydklq4kg65kcgd85209rx7zf64ba6nf3k7y16knj4233q";
134+ rev = "v0.6.0";
135+ sha256 = "0w5i3ig3bbdrwbrcwzx8xsxhlb8xr17jj3wdcb6klqglg7551yvm";
110136 };
111137 }
112−
113138 {
114139 goPackagePath = "github.com/chaseadamsio/goorgeous";
115140 fetch = {
@@ -119,7 +144,42 @@
119144 sha256 = "07qdqi46klizq3wigxqbiksnlgbrdc8hvmizgzg0aas5iqy88dcb";
120145 };
121146 }
122−
147+ {
148+ goPackagePath = "github.com/cheekybits/is";
149+ fetch = {
150+ type = "git";
151+ url = "https://github.com/cheekybits/is";
152+ rev = "68e9c0620927";
153+ sha256 = "1mkbyzhwq3rby832ikq00nxv3jnckxsm3949wkxd8ya9js2jmg4d";
154+ };
155+ }
156+ {
157+ goPackagePath = "github.com/coreos/etcd";
158+ fetch = {
159+ type = "git";
160+ url = "https://github.com/coreos/etcd";
161+ rev = "v3.3.10";
162+ sha256 = "1x2ii1hj8jraba8rbxz6dmc03y3sjxdnzipdvg6fywnlq1f3l3wl";
163+ };
164+ }
165+ {
166+ goPackagePath = "github.com/coreos/go-etcd";
167+ fetch = {
168+ type = "git";
169+ url = "https://github.com/coreos/go-etcd";
170+ rev = "v2.0.0";
171+ sha256 = "1xb34hzaa1lkbq5vkzy9vcz6gqwj7hp6cdbvyack2bf28dwn33jj";
172+ };
173+ }
174+ {
175+ goPackagePath = "github.com/coreos/go-semver";
176+ fetch = {
177+ type = "git";
178+ url = "https://github.com/coreos/go-semver";
179+ rev = "v0.2.0";
180+ sha256 = "1gghi5bnqj50hfxhqc1cxmynqmh2yk9ii7ab9gsm75y5cp94ymk0";
181+ };
182+ }
123183 {
124184 goPackagePath = "github.com/cpuguy83/go-md2man";
125185 fetch = {
@@ -129,7 +189,6 @@
129189 sha256 = "1w22dfdamsq63b5rvalh9k2y7rbwfkkjs7vm9vd4a13h2ql70lg2";
130190 };
131191 }
132−
133192 {
134193 goPackagePath = "github.com/danwakefield/fnmatch";
135194 fetch = {
@@ -139,7 +198,6 @@
139198 sha256 = "0cbf511ppsa6hf59mdl7nbyn2b2n71y0bpkzbmfkdqjhanqh1lqz";
140199 };
141200 }
142−
143201 {
144202 goPackagePath = "github.com/davecgh/go-spew";
145203 fetch = {
@@ -149,7 +207,6 @@
149207 sha256 = "0hka6hmyvp701adzag2g26cxdj47g21x6jz4sc6jjz1mn59d474y";
150208 };
151209 }
152−
153210 {
154211 goPackagePath = "github.com/disintegration/imaging";
155212 fetch = {
@@ -159,7 +216,6 @@
159216 sha256 = "1laxccmzi7q51zxn81ringmdwp8iaipivrl375yc3gq56d70sp0r";
160217 };
161218 }
162−
163219 {
164220 goPackagePath = "github.com/dlclark/regexp2";
165221 fetch = {
@@ -169,7 +225,15 @@
169225 sha256 = "144s81ndviwhyy20ipxvvfvap8phv5p762glxrz6aqxprkxfarj5";
170226 };
171227 }
172−
228+ {
229+ goPackagePath = "github.com/dustin/go-humanize";
230+ fetch = {
231+ type = "git";
232+ url = "https://github.com/dustin/go-humanize";
233+ rev = "v1.0.0";
234+ sha256 = "1kqf1kavdyvjk7f8kx62pnm7fbypn9z1vbf8v2qdh3y7z7a0cbl3";
235+ };
236+ }
173237 {
174238 goPackagePath = "github.com/eknkc/amber";
175239 fetch = {
@@ -179,7 +243,6 @@
179243 sha256 = "152w97yckwncgw7lwjvgd8d00wy6y0nxzlvx72kl7nqqxs9vhxd9";
180244 };
181245 }
182−
183246 {
184247 goPackagePath = "github.com/fortytw2/leaktest";
185248 fetch = {
@@ -189,7 +252,6 @@
189252 sha256 = "1lf9l6zgzjbcc7hmcjhhg3blx0y8icyxvjmjqqwfbwdk502803ra";
190253 };
191254 }
192−
193255 {
194256 goPackagePath = "github.com/fsnotify/fsnotify";
195257 fetch = {
@@ -199,7 +261,6 @@
199261 sha256 = "07va9crci0ijlivbb7q57d2rz9h27zgn2fsm60spjsqpdbvyrx4g";
200262 };
201263 }
202−
203264 {
204265 goPackagePath = "github.com/gobwas/glob";
205266 fetch = {
@@ -209,7 +270,6 @@
209270 sha256 = "0jxk1x806zn5x86342s72dq2qy64ksb3zrvrlgir2avjhwb18n6z";
210271 };
211272 }
212−
213273 {
214274 goPackagePath = "github.com/gorilla/websocket";
215275 fetch = {
@@ -219,7 +279,6 @@
219279 sha256 = "00i4vb31nsfkzzk7swvx3i75r2d960js3dri1875vypk3v2s0pzk";
220280 };
221281 }
222−
223282 {
224283 goPackagePath = "github.com/hashicorp/go-immutable-radix";
225284 fetch = {
@@ -229,7 +288,6 @@
229288 sha256 = "1v3nmsnk1s8bzpclrhirz7iq0g5xxbw9q5gvrg9ss6w9crs72qr6";
230289 };
231290 }
232−
233291 {
234292 goPackagePath = "github.com/hashicorp/go-uuid";
235293 fetch = {
@@ -239,7 +297,6 @@
239297 sha256 = "1jflywlani7583qm4ysph40hsgx3n66n5zr2k84i057fmwa1ypfy";
240298 };
241299 }
242−
243300 {
244301 goPackagePath = "github.com/hashicorp/golang-lru";
245302 fetch = {
@@ -249,7 +306,6 @@
249306 sha256 = "12k2cp2k615fjvfa5hyb9k2alian77wivds8s65diwshwv41939f";
250307 };
251308 }
252−
253309 {
254310 goPackagePath = "github.com/hashicorp/hcl";
255311 fetch = {
@@ -259,7 +315,6 @@
259315 sha256 = "0q6ml0qqs0yil76mpn4mdx4lp94id8vbv575qm60jzl1ijcl5i66";
260316 };
261317 }
262−
263318 {
264319 goPackagePath = "github.com/inconshreveable/mousetrap";
265320 fetch = {
@@ -269,7 +324,6 @@
269324 sha256 = "1mn0kg48xkd74brf48qf5hzp0bc6g8cf5a77w895rl3qnlpfw152";
270325 };
271326 }
272−
273327 {
274328 goPackagePath = "github.com/jdkato/prose";
275329 fetch = {
@@ -279,7 +333,6 @@
279333 sha256 = "1gjqgrpc7wbqvnhgwyfhxng24qvx37qjy0x2mbikiw1vaygxqsmy";
280334 };
281335 }
282−
283336 {
284337 goPackagePath = "github.com/kr/pretty";
285338 fetch = {
@@ -289,7 +342,6 @@
289342 sha256 = "18m4pwg2abd0j9cn5v3k2ksk9ig4vlwxmlw9rrglanziv9l967qp";
290343 };
291344 }
292−
293345 {
294346 goPackagePath = "github.com/kr/pty";
295347 fetch = {
@@ -299,7 +351,6 @@
299351 sha256 = "0383f0mb9kqjvncqrfpidsf8y6ns5zlrc91c6a74xpyxjwvzl2y6";
300352 };
301353 }
302−
303354 {
304355 goPackagePath = "github.com/kr/text";
305356 fetch = {
@@ -309,7 +360,6 @@
309360 sha256 = "1gm5bsl01apvc84bw06hasawyqm4q84vx1pm32wr9jnd7a8vjgj1";
310361 };
311362 }
312−
313363 {
314364 goPackagePath = "github.com/kyokomi/emoji";
315365 fetch = {
@@ -319,7 +369,6 @@
319369 sha256 = "005rxyxlqcd2sfjn686xb52l11wn2w0g5jv042ka6pnsx24r812a";
320370 };
321371 }
322−
323372 {
324373 goPackagePath = "github.com/magefile/mage";
325374 fetch = {
@@ -329,7 +378,6 @@
329378 sha256 = "177hzmmzhk7bcm3jj2cj6d5l9h5ql3cikvndhk4agkslrhwr3xka";
330379 };
331380 }
332−
333381 {
334382 goPackagePath = "github.com/magiconair/properties";
335383 fetch = {
@@ -339,17 +387,33 @@
339387 sha256 = "1a10362wv8a8qwb818wygn2z48lgzch940hvpv81hv8gc747ajxn";
340388 };
341389 }
342−
343390 {
344391 goPackagePath = "github.com/markbates/inflect";
345392 fetch = {
346393 type = "git";
347394 url = "https://github.com/markbates/inflect";
348− rev = "a12c3aec81a6";
349− sha256 = "0mawr6z9nav4f5j0nmjdxg9lbfhr7wz8zi34g7b6wndmzyf8jbsd";
395+ rev = "v1.0.0";
396+ sha256 = "072a73ij23mp8vabr8xwga2kj8dimya44ciiy9g4x4r9imm86psw";
397+ };
398+ }
399+ {
400+ goPackagePath = "github.com/matryer/try";
401+ fetch = {
402+ type = "git";
403+ url = "https://github.com/matryer/try";
404+ rev = "9ac251b645a2";
405+ sha256 = "19fnqmpl3p54vmxgm1hmqvdc87brqx754wf3cdhq1bj04fcbb5h9";
406+ };
407+ }
408+ {
409+ goPackagePath = "github.com/mattn/go-colorable";
410+ fetch = {
411+ type = "git";
412+ url = "https://github.com/mattn/go-colorable";
413+ rev = "v0.0.9";
414+ sha256 = "1nwjmsppsjicr7anq8na6md7b1z84l9ppnlr045hhxjvbkqwalvx";
350415 };
351416 }
352−
353417 {
354418 goPackagePath = "github.com/mattn/go-isatty";
355419 fetch = {
@@ -359,7 +423,6 @@
359423 sha256 = "0zs92j2cqaw9j8qx1sdxpv3ap0rgbs0vrvi72m40mg8aa36gd39w";
360424 };
361425 }
362−
363426 {
364427 goPackagePath = "github.com/mattn/go-runewidth";
365428 fetch = {
@@ -369,7 +432,6 @@
369432 sha256 = "0lc39b6xrxv7h3v3y1kgz49cgi5qxwlygs715aam6ba35m48yi7g";
370433 };
371434 }
372−
373435 {
374436 goPackagePath = "github.com/miekg/mmark";
375437 fetch = {
@@ -379,7 +441,6 @@
379441 sha256 = "0q2zrwa2vwk7a0zhmi000zpqrc01zssrj9c5n3573rg68fksg77m";
380442 };
381443 }
382−
383444 {
384445 goPackagePath = "github.com/mitchellh/hashstructure";
385446 fetch = {
@@ -389,17 +450,15 @@
389450 sha256 = "0zgl5c03ip2yzkb9b7fq9ml08i7j8prgd46ha1fcg8c6r7k9xl3i";
390451 };
391452 }
392−
393453 {
394454 goPackagePath = "github.com/mitchellh/mapstructure";
395455 fetch = {
396456 type = "git";
397457 url = "https://github.com/mitchellh/mapstructure";
398− rev = "v1.0.0";
399− sha256 = "0f06q4fpzg0c370cvmpsl0iq2apl5nkbz5cd3nba5x5ysmshv1lm";
458+ rev = "v1.1.2";
459+ sha256 = "03bpv28jz9zhn4947saqwi328ydj7f6g6pf1m2d4m5zdh5jlfkrr";
400460 };
401461 }
402−
403462 {
404463 goPackagePath = "github.com/muesli/smartcrop";
405464 fetch = {
@@ -409,7 +468,6 @@
409468 sha256 = "0xbv5wbn0z36nkw9ay3ly6z23lpsrs0khryl1w54fz85lvwh66gp";
410469 };
411470 }
412−
413471 {
414472 goPackagePath = "github.com/nfnt/resize";
415473 fetch = {
@@ -419,7 +477,6 @@
419477 sha256 = "005cpiwq28krbjf0zjwpfh63rp4s4is58700idn24fs3g7wdbwya";
420478 };
421479 }
422−
423480 {
424481 goPackagePath = "github.com/nicksnyder/go-i18n";
425482 fetch = {
@@ -429,7 +486,6 @@
429486 sha256 = "1nlvq85c232z5yjs86pxpmkv7hk6gb5pa6j4hhzgdz85adk2ma04";
430487 };
431488 }
432−
433489 {
434490 goPackagePath = "github.com/olekukonko/tablewriter";
435491 fetch = {
@@ -439,7 +495,6 @@
439495 sha256 = "1274k5r9ardh1f6gsmadxmdds7zy8rkr55fb9swvnm0vazr3y01l";
440496 };
441497 }
442−
443498 {
444499 goPackagePath = "github.com/pelletier/go-toml";
445500 fetch = {
@@ -449,7 +504,6 @@
449504 sha256 = "1fjzpcjng60mc3a4b2ql5a00d5gah84wj740dabv9kq67mpg8fxy";
450505 };
451506 }
452−
453507 {
454508 goPackagePath = "github.com/pkg/errors";
455509 fetch = {
@@ -459,7 +513,6 @@
459513 sha256 = "001i6n71ghp2l6kdl3qq1v2vmghcz3kicv9a5wgcihrzigm75pp5";
460514 };
461515 }
462−
463516 {
464517 goPackagePath = "github.com/pmezard/go-difflib";
465518 fetch = {
@@ -469,7 +522,6 @@
469522 sha256 = "0c1cn55m4rypmscgf0rrb88pn58j3ysvc2d0432dp3c6fqg6cnzw";
470523 };
471524 }
472−
473525 {
474526 goPackagePath = "github.com/russross/blackfriday";
475527 fetch = {
@@ -479,7 +531,6 @@
479531 sha256 = "01z1jsdkac09cw95lqq4pahkw9xnini2mb956lvb772bby2x3dmj";
480532 };
481533 }
482−
483534 {
484535 goPackagePath = "github.com/sanity-io/litter";
485536 fetch = {
@@ -489,7 +540,6 @@
489540 sha256 = "09nywwxxd6rmhxc7rsvs96ynjszmnvmhwr7dvh1n35hb6h9y7s2r";
490541 };
491542 }
492−
493543 {
494544 goPackagePath = "github.com/sergi/go-diff";
495545 fetch = {
@@ -499,7 +549,6 @@
499549 sha256 = "0swiazj8wphs2zmk1qgq75xza6m19snif94h2m6fi8dqkwqdl7c7";
500550 };
501551 }
502−
503552 {
504553 goPackagePath = "github.com/shurcooL/sanitized_anchor_name";
505554 fetch = {
@@ -509,17 +558,15 @@
509558 sha256 = "142m507s9971cl8qdmbcw7sqxnkgi3xqd8wzvfq15p0w7w8i4a3h";
510559 };
511560 }
512−
513561 {
514562 goPackagePath = "github.com/spf13/afero";
515563 fetch = {
516564 type = "git";
517565 url = "https://github.com/spf13/afero";
518− rev = "v1.1.2";
519− sha256 = "0miv4faf5ihjfifb1zv6aia6f6ik7h1s4954kcb8n6ixzhx9ck6k";
566+ rev = "v1.2.1";
567+ sha256 = "14qqj0cz6a595vn4dp747vddx05fd77jdsyl85qjmf9baymaxlam";
520568 };
521569 }
522−
523570 {
524571 goPackagePath = "github.com/spf13/cast";
525572 fetch = {
@@ -529,7 +576,6 @@
529576 sha256 = "0xq1ffqj8y8h7dcnm0m9lfrh0ga7pssnn2c1dnr09chqbpn4bdc5";
530577 };
531578 }
532−
533579 {
534580 goPackagePath = "github.com/spf13/cobra";
535581 fetch = {
@@ -539,7 +585,6 @@
539585 sha256 = "1q1nsx05svyv9fv3fy6xv6gs9ffimkyzsfm49flvl3wnvf1ncrkd";
540586 };
541587 }
542−
543588 {
544589 goPackagePath = "github.com/spf13/fsync";
545590 fetch = {
@@ -549,7 +594,6 @@
549594 sha256 = "1vvbgxbbsc4mvi1axgqgn9pzjz1p495dsmwpc7mr8qxh8f6s0nhv";
550595 };
551596 }
552−
553597 {
554598 goPackagePath = "github.com/spf13/jwalterweatherman";
555599 fetch = {
@@ -559,7 +603,6 @@
559603 sha256 = "1ywmkwci5zyd88ijym6f30fj5c0k2yayxarkmnazf5ybljv50q7b";
560604 };
561605 }
562−
563606 {
564607 goPackagePath = "github.com/spf13/nitro";
565608 fetch = {
@@ -569,57 +612,51 @@
569612 sha256 = "143sbpx0jdgf8f8ayv51x6l4jg6cnv6nps6n60qxhx4vd90s6mib";
570613 };
571614 }
572−
573615 {
574616 goPackagePath = "github.com/spf13/pflag";
575617 fetch = {
576618 type = "git";
577619 url = "https://github.com/spf13/pflag";
578− rev = "v1.0.2";
579− sha256 = "005598piihl3l83a71ahj10cpq9pbhjck4xishx1b4dzc02r9xr2";
620+ rev = "v1.0.3";
621+ sha256 = "1cj3cjm7d3zk0mf1xdybh0jywkbbw7a6yr3y22x9sis31scprswd";
580622 };
581623 }
582−
583624 {
584625 goPackagePath = "github.com/spf13/viper";
585626 fetch = {
586627 type = "git";
587628 url = "https://github.com/spf13/viper";
588− rev = "v1.2.0";
589− sha256 = "0klv7dyllvv9jkyspy4ww5nrz24ngb3adlh884cbdjn7562bhi47";
629+ rev = "v1.3.1";
630+ sha256 = "1190mg04718r03qriav99sf4kx2n7wdgr8vdni15f74bpbzrdjrl";
590631 };
591632 }
592−
593633 {
594634 goPackagePath = "github.com/stretchr/testify";
595635 fetch = {
596636 type = "git";
597637 url = "https://github.com/stretchr/testify";
598− rev = "f2347ac6c9c9";
599− sha256 = "0ns8zc2n8gpcsd1fdaqbq7a8d939lnaxraqx5nr2fi2zdxqyh7hm";
638+ rev = "04af85275a5c";
639+ sha256 = "1al7hgvg34xbajds99ss5wmlndxbzzmz5l0wrg6wchvvfaiwxlx0";
600640 };
601641 }
602−
603642 {
604643 goPackagePath = "github.com/tdewolff/minify";
605644 fetch = {
606645 type = "git";
607646 url = "https://github.com/tdewolff/minify";
608− rev = "v2.3.6";
609− sha256 = "0p4v4ab49lm5y438k5aks06fpiagbjw2j2x7i8jaa273mkgicrbb";
647+ rev = "v2.3.7";
648+ sha256 = "1mj1lmd8s0mrg9cfj1ihvsqrbsbpzh3icm0pmayd2r6jp6rbffw6";
610649 };
611650 }
612−
613651 {
614652 goPackagePath = "github.com/tdewolff/parse";
615653 fetch = {
616654 type = "git";
617655 url = "https://github.com/tdewolff/parse";
618− rev = "fced451e0bed";
619− sha256 = "1n6wcapk8xbck2zjxd4l5cgfn1v12rr7znrdpd5y2xp1nc3739c3";
656+ rev = "v2.3.5";
657+ sha256 = "05w859s31dx6525wrjryby601z9c0xpncilznk6shgqygpxda6cz";
620658 };
621659 }
622−
623660 {
624661 goPackagePath = "github.com/tdewolff/test";
625662 fetch = {
@@ -629,17 +666,33 @@
629666 sha256 = "10vyp4bhanzg3yl9k8zqfdrxpsmx8yc53xv4lqxfymd7jjyqgssj";
630667 };
631668 }
632−
669+ {
670+ goPackagePath = "github.com/ugorji/go";
671+ fetch = {
672+ type = "git";
673+ url = "https://github.com/ugorji/go";
674+ rev = "d75b2dcb6bc8";
675+ sha256 = "0di1k35gpq9bp958ywranpbskx2vdwlb38s22vl9rybm3wa5g3ps";
676+ };
677+ }
633678 {
634679 goPackagePath = "github.com/wellington/go-libsass";
635680 fetch = {
636681 type = "git";
637682 url = "https://github.com/wellington/go-libsass";
638− rev = "615eaa47ef79";
639− sha256 = "0imjiskn4vq7nml5jwb1scgl61jg53cfpkjnb9rsc6m8gsd8s16s";
683+ rev = "c63644206701";
684+ sha256 = "1ml0fk4wldnjlkmliydnig9f3rpp3cdzwgz331mlqyadvma3c0lf";
685+ };
686+ }
687+ {
688+ goPackagePath = "github.com/xordataexchange/crypt";
689+ fetch = {
690+ type = "git";
691+ url = "https://github.com/xordataexchange/crypt";
692+ rev = "b2862e3d0a77";
693+ sha256 = "04q3856anpzl4gdfgmg7pbp9cx231nkz3ymq2xp27rnmmwhfxr8y";
640694 };
641695 }
642−
643696 {
644697 goPackagePath = "github.com/yosssi/ace";
645698 fetch = {
@@ -649,7 +702,15 @@
649702 sha256 = "1kbvbc56grrpnl65grygd23gyn3nkkhxdg8awhzkjmd0cvki8w1f";
650703 };
651704 }
652−
705+ {
706+ goPackagePath = "golang.org/x/crypto";
707+ fetch = {
708+ type = "git";
709+ url = "https://go.googlesource.com/crypto";
710+ rev = "505ab145d0a9";
711+ sha256 = "1vbsvcvmjz6c00p5vf8ls533p52fx2y3gy6v4k5qrdlzl4wf0i5s";
712+ };
713+ }
653714 {
654715 goPackagePath = "golang.org/x/image";
655716 fetch = {
@@ -659,7 +720,6 @@
659720 sha256 = "1kkafy29vz5xf6r29ghbvvbwrgjxwxvzk6dsa2qhyp1ddk6l2vkz";
660721 };
661722 }
662−
663723 {
664724 goPackagePath = "golang.org/x/net";
665725 fetch = {
@@ -669,7 +729,6 @@
669729 sha256 = "0254ld010iijygbzykib2vags1dc0wlmcmhgh4jl8iny159lhbcv";
670730 };
671731 }
672−
673732 {
674733 goPackagePath = "golang.org/x/sync";
675734 fetch = {
@@ -679,17 +738,15 @@
679738 sha256 = "046jlanz2lkxq1r57x9bl6s4cvfqaic6p2xybsj8mq1120jv4rs6";
680739 };
681740 }
682−
683741 {
684742 goPackagePath = "golang.org/x/sys";
685743 fetch = {
686744 type = "git";
687745 url = "https://go.googlesource.com/sys";
688− rev = "d0be0721c37e";
689− sha256 = "081wyvfnlf842dqg03raxfz6lldlxpmyh1prix9lmrrm65arxb12";
746+ rev = "b4a75ba826a6";
747+ sha256 = "0kzrd2wywkcq35iakbzplqyma4bvf2ng3mzi7917kxcbdq3fflrj";
690748 };
691749 }
692−
693750 {
694751 goPackagePath = "golang.org/x/text";
695752 fetch = {
@@ -699,7 +756,6 @@
699756 sha256 = "0r6x6zjzhr8ksqlpiwm5gdd7s209kwk5p4lw54xjvz10cs3qlq19";
700757 };
701758 }
702−
703759 {
704760 goPackagePath = "gopkg.in/check.v1";
705761 fetch = {
@@ -709,14 +765,13 @@
709765 sha256 = "0v3bim0j375z81zrpr5qv42knqs0y2qv2vkjiqi5axvb78slki1a";
710766 };
711767 }
712−
713768 {
714769 goPackagePath = "gopkg.in/yaml.v2";
715770 fetch = {
716771 type = "git";
717772 url = "https://gopkg.in/yaml.v2";
718− rev = "v2.2.1";
719− sha256 = "0dwjrs2lp2gdlscs7bsrmyc5yf6mm4fvgw71bzr9mv2qrd2q73s1";
773+ rev = "v2.2.2";
774+ sha256 = "01wj12jzsdqlnidpyjssmj0r4yavlqy7dwrg7adqd8dicjc4ncsa";
720775 };
721776 }
722777]
pkgs/applications/misc/hyper/default.nix+2−2
@@ -11,11 +11,11 @@ let
1111 ];
1212in
1313stdenv.mkDerivation rec {
14− version = "2.1.1";
14+ version = "2.1.2";
1515 name = "hyper-${version}";
1616 src = fetchurl {
1717 url = "https://github.com/zeit/hyper/releases/download/${version}/hyper_${version}_amd64.deb";
18− sha256 = "1vr4j2vb2wpn8qzgq30l8kfck2an03jwchwywyx4zsl2vz3qp70x";
18+ sha256 = "1n4qlbk7q9zkhhg72mdks95g15xgyrc6ixf882ghvrqghd4zxplm";
1919 };
2020 buildInputs = [ dpkg ];
2121 unpackPhase = ''
pkgs/applications/misc/jbidwatcher/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, java }:
1+{ stdenv, fetchurl, java, runtimeShell }:
22
33stdenv.mkDerivation rec {
44 pname = "jbidwatcher";
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
2121
2222 installPhase = ''
2323 mkdir -p "$out/bin"
24− echo > "$out/bin/${pname}" "#!${stdenv.shell}"
24+ echo > "$out/bin/${pname}" "#!${runtimeShell}"
2525 echo >>"$out/bin/${pname}" "${java}/bin/java -Xmx512m -jar ${jarfile}"
2626 chmod +x "$out/bin/${pname}"
2727 install -D -m644 ${src} ${jarfile}
pkgs/applications/misc/khard/default.nix+1−1
@@ -50,6 +50,6 @@ in with python.pkgs; buildPythonApplication rec {
5050 homepage = https://github.com/scheibler/khard;
5151 description = "Console carddav client";
5252 license = stdenv.lib.licenses.gpl3;
53− maintainers = with stdenv.lib.maintainers; [ ];
53+ maintainers = with stdenv.lib.maintainers; [ matthiasbeyer ];
5454 };
5555}
pkgs/applications/misc/kitty/default.nix+3−3
@@ -7,8 +7,8 @@
77
88with python3Packages;
99buildPythonApplication rec {
10+ pname = "kitty";
1011 version = "0.13.3";
11− name = "kitty-${version}";
1212 format = "other";
1313
1414 src = fetchFromGitHub {
@@ -24,7 +24,7 @@ buildPythonApplication rec {
2424 wayland-protocols wayland dbus
2525 ];
2626
27− nativeBuildInputs = [ pkgconfig which sphinx ];
27+ nativeBuildInputs = [ pkgconfig which sphinx ncurses ];
2828
2929 outputs = [ "out" "terminfo" ];
3030
@@ -36,7 +36,7 @@ buildPythonApplication rec {
3636 ];
3737
3838 buildPhase = ''
39− python3 setup.py linux-package
39+ ${python.interpreter} setup.py linux-package
4040 '';
4141
4242 installPhase = ''
pkgs/applications/misc/llpp/default.nix+9−3
@@ -1,5 +1,5 @@
11{ stdenv, lib, substituteAll, makeWrapper, fetchgit, ocaml, mupdf, libX11,
2−libGLU_combined, freetype, xclip }:
2+libGLU_combined, freetype, xclip, inotify-tools, procps }:
33
44assert lib.versionAtLeast (lib.getVersion ocaml) "4.07";
55
@@ -34,11 +34,17 @@ stdenv.mkDerivation rec {
3434 '';
3535
3636 installPhase = ''
37− install -d $out/bin $out/lib
37+ install -d $out/bin
3838 install build/llpp $out/bin
39+ install misc/llpp.inotify $out/bin/llpp.inotify
40+
3941 wrapProgram $out/bin/llpp \
40− --prefix CAML_LD_LIBRARY_PATH ":" "$out/lib" \
4142 --prefix PATH ":" "${xclip}/bin"
43+
44+ wrapProgram $out/bin/llpp.inotify \
45+ --prefix PATH ":" "$out/bin" \
46+ --prefix PATH ":" "${inotify-tools}/bin" \
47+ --prefix PATH ":" "${procps}/bin"
4248 '';
4349
4450 meta = with stdenv.lib; {
pkgs/applications/misc/mdp/default.nix+1−1
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818 meta = with stdenv.lib; {
1919 homepage = https://github.com/visit1985/mdp;
2020 description = "A command-line based markdown presentation tool";
21− maintainers = with maintainers; [ vrthra ];
21+ maintainers = with maintainers; [ matthiasbeyer vrthra ];
2222 license = licenses.gpl3;
2323 platforms = with platforms; unix;
2424 };
pkgs/applications/misc/multibootusb/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, python36Packages, fetchFromGitHub, libxcb, mtools, p7zip, parted, procps, utillinux, qt5 }:
1+{ stdenv, python36Packages, fetchFromGitHub, libxcb, mtools, p7zip, parted, procps, utillinux, qt5, runtimeShell }:
22python36Packages.buildPythonApplication rec {
33 pname = "multibootusb";
44 name = "${pname}-${version}";
@@ -40,7 +40,7 @@ python36Packages.buildPythonApplication rec {
4040
4141 mkdir "$out/bin"
4242 cat > "$out/bin/${pname}" <<EOF
43− #!${stdenv.shell}
43+ #!${runtimeShell}
4444 cd "$share"
4545 export PYTHONPATH="$PYTHONPATH:$share"
4646 export PATH="$PATH:${parted}/bin:${procps}/bin"
pkgs/applications/misc/mwic/default.nix+1−1
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
2525 homepage = http://jwilk.net/software/mwic;
2626 description = "spell-checker that groups possible misspellings and shows them in their contexts";
2727 license = licenses.mit;
28− maintainers = with maintainers; [ ];
28+ maintainers = with maintainers; [ matthiasbeyer ];
2929 };
3030}
3131
pkgs/applications/misc/nix-tour/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchgit, electron } :
1+{ stdenv, fetchgit, electron, runtimeShell } :
22
33stdenv.mkDerivation rec {
44 name = "nix-tour-${version}";
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919 mkdir -p $out/share
2020 cp -R * $out/share
2121 chmod 0755 $out/share/ -R
22− echo "#!${stdenv.shell}" > $out/bin/nix-tour
22+ echo "#!${runtimeShell}" > $out/bin/nix-tour
2323 echo "cd $out/share/" >> $out/bin/nix-tour
2424 echo "${electron}/bin/electron $out/share/electron-main.js" >> $out/bin/nix-tour
2525 chmod 0755 $out/bin/nix-tour
pkgs/applications/misc/nnn/default.nix+4−4
@@ -1,23 +1,23 @@
1−{ stdenv, fetchFromGitHub, pkgconfig, ncurses, conf ? null }:
1+{ stdenv, fetchFromGitHub, pkgconfig, ncurses, readline, conf ? null }:
22
33with stdenv.lib;
44
55stdenv.mkDerivation rec {
66 name = "nnn-${version}";
7− version = "2.2";
7+ version = "2.3";
88
99 src = fetchFromGitHub {
1010 owner = "jarun";
1111 repo = "nnn";
1212 rev = "v${version}";
13− sha256 = "01y2vkw1wakpnpzhzia3d44iir060i8vma3b3ww5wgwg7bfpzs4b";
13+ sha256 = "0953l4wa4dnsq9aj50anjrww64413dxv25xx3kjwnqz2ag7zdyy7";
1414 };
1515
1616 configFile = optionalString (conf!=null) (builtins.toFile "nnn.h" conf);
1717 preBuild = optionalString (conf!=null) "cp ${configFile} nnn.h";
1818
1919 nativeBuildInputs = [ pkgconfig ];
20− buildInputs = [ ncurses ];
20+ buildInputs = [ readline ncurses ];
2121
2222 makeFlags = [ "DESTDIR=${placeholder "out"}" "PREFIX=" ];
2323
pkgs/applications/misc/notejot/default.nix+6−9
@@ -1,36 +1,33 @@
11{ stdenv, fetchFromGitHub, pkgconfig, meson, ninja, python3, pantheon
2−, gtk3, gtksourceview, json-glib, gnome3, gobject-introspection, wrapGAppsHook }:
2+, gtk3, gtksourceview, json-glib, gnome3, wrapGAppsHook }:
33
44stdenv.mkDerivation rec {
55 pname = "notejot";
6− version = "1.5.4";
7−
8− name = "${pname}-${version}";
6+ version = "1.5.5";
97
108 src = fetchFromGitHub {
119 owner = "lainsce";
1210 repo = pname;
1311 rev = version;
14− sha256 = "1lv4s2mqddi6lz414kqpp4vcwnkjibc0k2xhnczaa1wf3azlxjgf";
12+ sha256 = "0khf6mwidybfgnq4zmhf3af4w6aicipmi12fvs722fqlf1lrkdmd";
1513 };
1614
1715 nativeBuildInputs = [
18− gobject-introspection
1916 meson
2017 ninja
18+ pantheon.vala
2119 pkgconfig
2220 python3
23− pantheon.vala
2421 wrapGAppsHook
2522 ];
2623
2724 buildInputs = [
28− pantheon.elementary-icon-theme
29− pantheon.granite
3025 gnome3.libgee
3126 gtk3
3227 gtksourceview
3328 json-glib
29+ pantheon.elementary-icon-theme
30+ pantheon.granite
3431 ];
3532
3633 postPatch = ''
pkgs/applications/misc/ocropus/default.nix+4−4
@@ -18,12 +18,12 @@ let
1818
1919in
2020pythonPackages.buildPythonApplication rec {
21− name = "ocropus-${version}";
22− version = "20170811";
21+ pname = "ocropus";
22+ version = "1.3.3";
2323
2424 src = fetchFromGitHub {
25− sha256 = "0qx0d8yj0w66qglkrmfavp5dh1sky72njfaqii7bnrpv5n4j3q39";
26− rev = "ae84a8edaf0b76135f749ba66fc30c272d0726d0";
25+ sha256 = "02p1334mic5cfhvpfphfrbim4036yfd8s2zzpwm0xmm829z71nr7";
26+ rev = "v${version}";
2727 repo = "ocropy";
2828 owner = "tmbdev";
2929 };
pkgs/applications/misc/octoprint/default.nix+8−3
@@ -32,14 +32,17 @@ let
3232 "flask"
3333 "future"
3434 "futures"
35+ "monotonic"
3536 "pkginfo"
3637 "psutil"
3738 "pyserial"
3839 "python-dateutil"
3940 "requests"
4041 "rsa"
42+ "sarge"
4143 "scandir"
4244 "semantic_version"
45+ "watchdog"
4346 "websocket-client"
4447 "werkzeug"
4548 "wrapt"
@@ -47,13 +50,13 @@ let
4750
4851in py.pkgs.buildPythonApplication rec {
4952 pname = "OctoPrint";
50− version = "1.3.9";
53+ version = "1.3.10";
5154
5255 src = fetchFromGitHub {
5356 owner = "foosel";
5457 repo = "OctoPrint";
5558 rev = version;
56− sha256 = "1yqbsfmkx4wiykjrh66a05lhn15qhpc9ay67l37kv8bhdqf2xkj4";
59+ sha256 = "1pvh7ay76zrvfzcsadh3sl48sgf3by9vpiaqlrkscsw02zirx9r7";
5760 };
5861
5962 propagatedBuildInputs = with py.pkgs; [
@@ -75,7 +78,9 @@ in py.pkgs.buildPythonApplication rec {
7578 setup.py
7679 '';
7780
78− checkPhase = "nosetests";
81+ checkPhase = ''
82+ HOME=$(mktemp -d) nosetests
83+ '';
7984
8085 meta = with stdenv.lib; {
8186 homepage = https://octoprint.org/;
pkgs/applications/misc/openjump/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, unzip}:
1+{ stdenv, fetchurl, unzip, runtimeShell }:
22
33stdenv.mkDerivation {
44 name = "openjump-1.3.1";
@@ -17,7 +17,7 @@ stdenv.mkDerivation {
1717 s=$out/bin/OpenJump
1818 dir=$(echo $out/openjump-*)
1919 cat >> $s << EOF
20− #!${stdenv.shell}
20+ #!${runtimeShell}
2121 cd $dir/bin
2222 exec ${stdenv.shell} openjump.sh
2323 EOF
pkgs/applications/misc/pcmanfm/default.nix+1−1
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313 sha256 = "0mb8hg76x1z0szdyl0w7jpz0bdblc6a29is1vvnh79z37qxh8138";
1414 };
1515
16− buildInputs = [ glib gtk libfm' libX11 pango gnome3.defaultIconTheme ];
16+ buildInputs = [ glib gtk libfm' libX11 pango gnome3.adwaita-icon-theme ];
1717 nativeBuildInputs = [ pkgconfig wrapGAppsHook intltool ];
1818
1919 configureFlags = optional withGtk3 "--with-gtk=3";
pkgs/applications/misc/playonlinux/default.nix+2
@@ -19,6 +19,7 @@
1919, pkgsi686Linux
2020, which
2121, curl
22+, jq
2223}:
2324
2425let
@@ -41,6 +42,7 @@ let
4142 xterm
4243 which
4344 curl
45+ jq
4446 ];
4547
4648 ld32 =
pkgs/applications/misc/rtv/default.nix+3−3
@@ -2,14 +2,14 @@
22
33with python3Packages;
44buildPythonApplication rec {
5− version = "1.24.0";
5+ version = "1.25.1";
66 pname = "rtv";
77
88 src = fetchFromGitHub {
99 owner = "michael-lazar";
1010 repo = "rtv";
1111 rev = "v${version}";
12− sha256 = "0vzhnqys8nr6ymsi1mnv092z3i7nwyhgnj4jv6mjifak9j3164fw";
12+ sha256 = "0pfsf17g37d2v1xrsbfdbv460vs7m955h6q51z71rhb840r9812p";
1313 };
1414
1515 # Tests try to access network
@@ -41,6 +41,6 @@ buildPythonApplication rec {
4141 homepage = https://github.com/michael-lazar/rtv;
4242 description = "Browse Reddit from your Terminal";
4343 license = licenses.mit;
44− maintainers = with maintainers; [ jgeerds wedens ];
44+ maintainers = with maintainers; [ matthiasbeyer jgeerds wedens ];
4545 };
4646}
pkgs/applications/misc/safeeyes/default.nix+1−1
@@ -17,7 +17,7 @@ in buildPythonApplication rec {
1717 buildInputs = [
1818 gtk3
1919 gobject-introspection
20− gnome3.defaultIconTheme
20+ gnome3.adwaita-icon-theme
2121 gnome3.adwaita-icon-theme
2222 ];
2323
pkgs/applications/misc/sigal/default.nix+1−1
@@ -29,6 +29,6 @@ python3Packages.buildPythonApplication rec {
2929 description = "Yet another simple static gallery generator";
3030 homepage = http://sigal.saimon.org/en/latest/index.html;
3131 license = licenses.mit;
32− maintainers = with maintainers; [ domenkozar ];
32+ maintainers = with maintainers; [ domenkozar matthiasbeyer ];
3333 };
3434}
pkgs/applications/misc/stag/default.nix+1−1
@@ -19,7 +19,7 @@ stdenv.mkDerivation {
1919 homepage = https://github.com/seenaburns/stag;
2020 description = "Terminal streaming bar graph passed through stdin";
2121 license = stdenv.lib.licenses.bsdOriginal;
22− maintainers = with stdenv.lib.maintainers; [ ];
22+ maintainers = [ stdenv.lib.maintainers.matthiasbeyer ];
2323 platforms = stdenv.lib.platforms.unix;
2424 };
2525}
pkgs/applications/misc/tasknc/default.nix+1−1
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
3636 meta = with stdenv.lib; {
3737 homepage = https://github.com/lharding/tasknc;
3838 description = "A ncurses wrapper around taskwarrior";
39− maintainers = with maintainers; [ infinisil ];
39+ maintainers = with maintainers; [ matthiasbeyer infinisil ];
4040 platforms = platforms.linux; # Cannot test others
4141 license = licenses.mit;
4242 };
pkgs/applications/misc/tasksh/default.nix+1−1
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818 description = "REPL for taskwarrior";
1919 homepage = http://tasktools.org;
2020 license = licenses.mit;
21− maintainers = with maintainers; [ ];
21+ maintainers = with maintainers; [ matthiasbeyer ];
2222 platforms = platforms.linux;
2323 };
2424}
pkgs/applications/misc/terminal-notifier/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, lib, fetchzip }:
1+{ stdenv, runtimeShell, lib, fetchzip }:
22
33stdenv.mkDerivation rec {
44 name = "terminal-notifier-${version}";
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818 mkdir -p $out/bin
1919 cp -r terminal-notifier.app $out/Applications
2020 cat >$out/bin/terminal-notifier <<EOF
21− #!${stdenv.shell}
21+ #!${runtimeShell}
2222 cd $out/Applications/terminal-notifier.app
2323 exec ./Contents/MacOS/terminal-notifier "\$@"
2424 EOF
pkgs/applications/misc/thinking-rock/default.nix+5−5
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ stdenv, fetchurl, runtimeShell }:
22
33stdenv.mkDerivation {
44 name = "thinkingrock-binary-2.2.1";
@@ -11,7 +11,7 @@ stdenv.mkDerivation {
1111 /* it would be a really bad idea to put thinkingrock tr executable in PATH!
1212 the tr.sh script does use the coreutils tr itself
1313 That's why I've renamed the wrapper and called it thinkingrock
14− However you may not rename the bin/tr script cause it will notice and throw an
14+ However you may not rename the bin/tr script cause it will notice and throw an
1515 "java.lang.IllegalArgumentException: Malformed branding token: thinkingrock"
1616 exception. I hope that's fine
1717 */
@@ -24,15 +24,15 @@ stdenv.mkDerivation {
2424 mkdir -p $out/{nix-support/tr-files,bin}
2525 cp -r . $out/nix-support/tr-files
2626 cat >> $out/bin/thinkingrock << EOF
27− #!${stdenv.shell}
27+ #!${runtimeShell}
2828 exec $out/nix-support/tr-files/bin/tr "$@"
2929 EOF
3030 chmod +x $out/bin/thinkingrock
3131 '';
32−
32+
3333 installPhase = ":";
3434
35− meta = {
35+ meta = {
3636 description = "Task management system";
3737 homepage = http://www.thinkingrock.com.au/;
3838 license = "CDDL"; # Common Development and Distribution License
pkgs/applications/misc/timewarrior/default.nix+1−1
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717 description = "A command-line time tracker";
1818 homepage = https://taskwarrior.org/docs/timewarrior;
1919 license = licenses.mit;
20− maintainers = with maintainers; [ mrVanDalo ];
20+ maintainers = with maintainers; [ matthiasbeyer mrVanDalo ];
2121 platforms = platforms.linux ++ platforms.darwin;
2222 };
2323}
pkgs/applications/misc/toot/default.nix+1−1
@@ -24,7 +24,7 @@ python3Packages.buildPythonApplication rec {
2424 description = "Mastodon CLI interface";
2525 homepage = "https://github.com/ihabunek/toot";
2626 license = licenses.mit;
27− maintainers = [ ];
27+ maintainers = [ maintainers.matthiasbeyer ];
2828 };
2929
3030}
pkgs/applications/misc/tootle/default.nix+2−2
@@ -1,5 +1,5 @@
11{ stdenv, fetchFromGitHub
2−, meson, ninja, pkgconfig, python3
2+, meson, ninja, pkgconfig, python3, libgee, gsettings-desktop-schemas
33, gnome3, pantheon, gobject-introspection, wrapGAppsHook
44, gtk3, json-glib, glib, glib-networking, hicolor-icon-theme
55}:
@@ -28,7 +28,7 @@ in stdenv.mkDerivation rec {
2828 ];
2929 buildInputs = [
3030 gtk3 pantheon.granite json-glib glib glib-networking hicolor-icon-theme
31− gnome3.libgee gnome3.libsoup gnome3.gsettings-desktop-schemas
31+ libgee gnome3.libsoup gsettings-desktop-schemas
3232 ];
3333
3434 postPatch = ''
pkgs/applications/misc/udiskie/default.nix+29−15
@@ -1,33 +1,41 @@
11{ stdenv, fetchFromGitHub, asciidoc-full, gettext
22, gobject-introspection, gtk3, hicolor-icon-theme, libappindicator-gtk3, libnotify, librsvg
33, udisks2, wrapGAppsHook
4−, buildPythonApplication
5−, docopt
6−, pygobject3
7−, pyyaml
4+, python3Packages
85}:
96
10−buildPythonApplication rec {
11− name = "udiskie-${version}";
12− version = "1.7.5";
7+python3Packages.buildPythonApplication rec {
8+ pname = "udiskie";
9+ version = "1.7.7";
1310
1411 src = fetchFromGitHub {
1512 owner = "coldfix";
1613 repo = "udiskie";
1714 rev = version;
18− sha256 = "1mcdn8ha5d5nsmrzk6xnnsqrmk94rdrzym9sqm38zk5r8gpyl1k4";
15+ sha256 = "1j17z26vy44il2s9zgchvhq280vq8ag64ddi35f35b444wz2azlb";
1916 };
2017
21− buildInputs = [
18+ nativeBuildInputs = [
19+ gettext
2220 asciidoc-full # For building man page.
23− hicolor-icon-theme
21+ gobject-introspection
2422 wrapGAppsHook
23+ ];
24+
25+ buildInputs = [
26+ hicolor-icon-theme
2527 librsvg # required for loading svg icons (udiskie uses svg icons)
28+ gobject-introspection
29+ libnotify
30+ gtk3
31+ udisks2
32+ libappindicator-gtk3
2633 ];
2734
28− propagatedBuildInputs = [
29− gettext gobject-introspection gtk3 libnotify docopt
30− pygobject3 pyyaml udisks2 libappindicator-gtk3
35+ propagatedBuildInputs = with python3Packages; [
36+ docopt
37+ pygobject3
38+ pyyaml
3139 ];
3240
3341 postBuild = "make -C doc";
@@ -37,8 +45,14 @@ buildPythonApplication rec {
3745 cp -v doc/udiskie.8 $out/share/man/man8/
3846 '';
3947
40− # tests require dbusmock
41− doCheck = false;
48+ checkInputs = with python3Packages; [
49+ nose
50+ keyutils
51+ ];
52+
53+ checkPhase = ''
54+ nosetests
55+ '';
4256
4357 meta = with stdenv.lib; {
4458 description = "Removable disk automounter for udisks";
pkgs/applications/misc/vifm/default.nix+1−1
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919 meta = with stdenv.lib; {
2020 description = "A vi-like file manager";
2121 maintainers = with maintainers; [ raskin garbas ];
22− platforms = platforms.linux;
22+ platforms = platforms.unix;
2323 license = licenses.gpl2;
2424 downloadPage = "https://vifm.info/downloads.shtml";
2525 homepage = https://vifm.info/;
pkgs/applications/misc/vue/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, jre }:
1+{ stdenv, fetchurl, jre, runtimeShell }:
22
33stdenv.mkDerivation rec {
44 name = "vue-${version}";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313 installPhase = ''
1414 mkdir -p "$out"/{share/vue,bin}
1515 cp ${src} "$out/share/vue/vue.jar"
16− echo '#!${stdenv.shell}' >> "$out/bin/vue"
16+ echo '#!${runtimeShell}' >> "$out/bin/vue"
1717 echo '${jre}/bin/java -jar "'"$out/share/vue/vue.jar"'" "$@"' >> "$out/bin/vue"
1818 chmod a+x "$out/bin/vue"
1919 '';
pkgs/applications/misc/weather/default.nix+1−1
@@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
3535 homepage = http://fungi.yuggoth.org/weather;
3636 description = "Quick access to current weather conditions and forecasts";
3737 license = stdenv.lib.licenses.isc;
38− maintainers = with stdenv.lib.maintainers; [ ];
38+ maintainers = [ stdenv.lib.maintainers.matthiasbeyer ];
3939 platforms = with stdenv.lib.platforms; linux; # my only platform
4040 };
4141}
pkgs/applications/misc/worker/default.nix+2−2
@@ -2,11 +2,11 @@
22
33stdenv.mkDerivation rec {
44 name = "worker-${version}";
5− version = "3.15.2";
5+ version = "3.15.3";
66
77 src = fetchurl {
88 url = "http://www.boomerangsworld.de/cms/worker/downloads/${name}.tar.gz";
9− sha256 = "0km17ls51vp4nxlppf58vvxxymyx6w3xlzjc8wghxpjj098v4pp8";
9+ sha256 = "03dv50h68grscxiaxslzv486v1bfi8y81vrjr2gs39svw7bwz5d4";
1010 };
1111
1212 buildInputs = [ libX11 ];
pkgs/applications/misc/xmr-stak/default.nix+2−2
@@ -12,13 +12,13 @@ in
1212
1313stdenv'.mkDerivation rec {
1414 name = "xmr-stak-${version}";
15− version = "2.8.2";
15+ version = "2.8.3";
1616
1717 src = fetchFromGitHub {
1818 owner = "fireice-uk";
1919 repo = "xmr-stak";
2020 rev = "${version}";
21− sha256 = "0z0fdh5fmiisx5dgfyyin3ddl8g28fpd64gn8nl8dd6sf3iw8z7p";
21+ sha256 = "1yanyaz6gh5wbccj9mfd39pyrg69gb4jn6sjvx1k63pkjrwr2ap3";
2222 };
2323
2424 NIX_CFLAGS_COMPILE = "-O3";
pkgs/applications/misc/xmrig/default.nix+2−2
@@ -4,13 +4,13 @@
44
55stdenv.mkDerivation rec {
66 name = "xmrig-${version}";
7− version = "2.11.0";
7+ version = "2.13.1";
88
99 src = fetchFromGitHub {
1010 owner = "xmrig";
1111 repo = "xmrig";
1212 rev = "v${version}";
13− sha256 = "0k897lx60gjf464j2ndindxhr6x3l90fv81bcqyglsv47danivlc";
13+ sha256 = "1s6hz9r0079r9sd1wgd1nm6wn1dmix4smz7174g9a29z2zcqr160";
1414 };
1515
1616 nativeBuildInputs = [ cmake ];
pkgs/applications/misc/xpdf/default.nix+13−1
@@ -44,8 +44,20 @@ stdenv.mkDerivation {
4444 meta = with stdenv.lib; {
4545 homepage = https://www.xpdfreader.com;
4646 description = "Viewer for Portable Document Format (PDF) files";
47+ longDescription = ''
48+ XPDF includes multiple tools for viewing and processing PDF files.
49+ xpdf: PDF viewer (with Graphical Interface)
50+ pdftotext: converts PDF to text
51+ pdftops: converts PDF to PostScript
52+ pdftoppm: converts PDF pages to netpbm (PPM/PGM/PBM) image files
53+ pdftopng: converts PDF pages to PNG image files
54+ pdftohtml: converts PDF to HTML
55+ pdfinfo: extracts PDF metadata
56+ pdfimages: extracts raw images from PDF files
57+ pdffonts: lists fonts used in PDF files
58+ pdfdetach: extracts attached files from PDF files
59+ '';
4760 license = with licenses; [ gpl2 gpl3 ];
4861 platforms = platforms.unix;
49− maintainers = [ maintainers.peti ];
5062 };
5163}
pkgs/applications/misc/xteddy/default.nixnew file+40
@@ -0,0 +1,40 @@
1+{ stdenv, fetchzip, pkg-config, xorg, imlib2, makeWrapper }:
2+
3+stdenv.mkDerivation rec {
4+ name = "xteddy-${version}";
5+ version = "2.2";
6+ src = fetchzip {
7+ url = "https://deb.debian.org/debian/pool/main/x/xteddy/xteddy_${version}.orig.tar.gz";
8+ sha256 = "0sap4fqvs0888ymf5ga10p3n7n5kr35j38kfsfd7nj0xm4hmcma3";
9+ };
10+ nativeBuildInputs = [ pkg-config makeWrapper ];
11+ buildInputs = [ imlib2 xorg.libX11 xorg.libXext ];
12+
13+ makeFlags = [ "LIBS=-lXext" ];
14+
15+ postPatch = ''
16+ sed -i 's/man 1 xteddy/man 6 xteddy/' xteddy.c
17+ sed -i "s:/usr/games/xteddy:$out/bin/xteddy:" xtoys
18+ sed -i "s:/usr/share/xteddy:$out/share/xteddy:" xtoys
19+ '';
20+
21+ postInstall = ''
22+ cp -R images $out/share/images
23+ # remove broken test script
24+ rm $out/bin/xteddy_test
25+ '';
26+
27+ postFixup = ''
28+ # this is needed, because xteddy expects images to reside
29+ # in the current working directory
30+ wrapProgram $out/bin/xteddy --run "cd $out/share/images/"
31+ '';
32+
33+ meta = with stdenv.lib; {
34+ description = "Cuddly teddy bear for your X desktop";
35+ homepage = https://weber.itn.liu.se/~stegu/xteddy/;
36+ license = licenses.gpl2;
37+ maintainers = [ maintainers.xaverdh ];
38+ platforms = platforms.linux;
39+ };
40+}
pkgs/applications/misc/xterm/default.nix+2−2
@@ -3,14 +3,14 @@
33}:
44
55stdenv.mkDerivation rec {
6− name = "xterm-342";
6+ name = "xterm-344";
77
88 src = fetchurl {
99 urls = [
1010 "ftp://ftp.invisible-island.net/xterm/${name}.tgz"
1111 "https://invisible-mirror.net/archives/xterm/${name}.tgz"
1212 ];
13− sha256 = "1y8ldzl4h1872fxvpvi2zwa9y3d34872vfdvfasap79lpn8208l0";
13+ sha256 = "1xfdmib8n6gw5s90vbvdhm630k8i2dbprknp4as4mqls27vbiknc";
1414 };
1515
1616 buildInputs =
pkgs/applications/misc/yaft/default.nix+1−1
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919 homepage = https://github.com/uobikiemukot/yaft;
2020 description = "Yet another framebuffer terminal";
2121 license = stdenv.lib.licenses.mit;
22− maintainers = with stdenv.lib.maintainers; [ ];
22+ maintainers = [ stdenv.lib.maintainers.matthiasbeyer ];
2323 platforms = with stdenv.lib.platforms; linux;
2424 };
2525}
pkgs/applications/misc/yokadi/default.nix+4−5
@@ -1,13 +1,13 @@
11{ stdenv, fetchurl, buildPythonApplication, dateutil,
2− sqlalchemy, setproctitle, icalendar, pycrypto }:
2+ sqlalchemy, setproctitle, icalendar }:
33
44buildPythonApplication rec {
55 pname = "yokadi";
6− version = "1.1.1";
6+ version = "1.2.0";
77
88 src = fetchurl {
9− url = "https://yokadi.github.io/download/${pname}-${version}.tar.bz2";
10− sha256 = "af201da66fd3a8435b2ccd932082ab9ff13f5f2e3d6cd3624f1ab81c577aaf17";
9+ url = "https://yokadi.github.io/download/${pname}-${version}.tar.gz";
10+ sha256 = "681c8aa52b2e4b5255e1311e76b4b81dcb63ee7f6ca3a47178e684c06baf330f";
1111 };
1212
1313 propagatedBuildInputs = [
@@ -15,7 +15,6 @@ buildPythonApplication rec {
1515 sqlalchemy
1616 setproctitle
1717 icalendar
18− pycrypto
1918 ];
2019
2120 # Yokadi doesn't have any tests
pkgs/applications/misc/zola/default.nix+3−3
@@ -2,16 +2,16 @@
22
33rustPlatform.buildRustPackage rec {
44 name = "zola-${version}";
5− version = "0.5.0";
5+ version = "0.5.1";
66
77 src = fetchFromGitHub {
88 owner = "getzola";
99 repo = "zola";
1010 rev = "v${version}";
11− sha256 = "0as8nrzw9zz10w4xxiibgz8ylghc879b2pwaxnw8sjbji2d9qv63";
11+ sha256 = "1jj6yfb3qkfq3nwcxfrc7k1gqyls873imxgpifbwjx9slg6ssis9";
1212 };
1313
14− cargoSha256 = "0a14hq8d3xjr6yfg5qn5r7npqivm816f1p53bbm826igvpc9hsxa";
14+ cargoSha256 = "1hn2l25fariidgdr32mfx2yqb3g8xk4qafs614bdjiyvfrb7j752";
1515
1616 nativeBuildInputs = [ cmake pkgconfig openssl ];
1717 buildInputs = stdenv.lib.optionals stdenv.isDarwin [ CoreServices cf-private ];
pkgs/applications/networking/browsers/brave/default.nix+3−3
@@ -76,11 +76,11 @@ let rpath = lib.makeLibraryPath [
7676
7777in stdenv.mkDerivation rec {
7878 pname = "brave";
79− version = "0.59.35";
79+ version = "0.60.45";
8080
8181 src = fetchurl {
8282 url = "https://github.com/brave/brave-browser/releases/download/v${version}/brave-browser_${version}_amd64.deb";
83− sha256 = "0z0fmgmfayappncixrnz7g42mcrm907lsvgynbklq2gjcxpsfp8k";
83+ sha256 = "0c3jfiswbma53lkngndqrcagvhld7q7hqhk9wpm4r6z9y1kskjwy";
8484 };
8585
8686 dontConfigure = true;
@@ -89,7 +89,7 @@ in stdenv.mkDerivation rec {
8989
9090 nativeBuildInputs = [ dpkg wrapGAppsHook ];
9191
92− buildInputs = [ glib gnome3.gsettings_desktop_schemas gnome3.defaultIconTheme ];
92+ buildInputs = [ glib gnome3.gsettings_desktop_schemas gnome3.adwaita-icon-theme ];
9393
9494 unpackPhase = "dpkg-deb --fsys-tarfile $src | tar -x --no-same-permissions --no-same-owner";
9595
pkgs/applications/networking/browsers/chromium/browser.nix+1−1
@@ -47,7 +47,7 @@ mkChromiumDerivation (base: rec {
4747 meta = {
4848 description = "An open source web browser from Google";
4949 homepage = http://www.chromium.org/;
50− maintainers = with maintainers; [ chaoflow bendlas ];
50+ maintainers = with maintainers; [ bendlas ];
5151 license = licenses.bsd3;
5252 platforms = platforms.linux;
5353 hydraPlatforms = if channel == "stable" then ["aarch64-linux" "x86_64-linux"] else [];
pkgs/applications/networking/browsers/chromium/common.nix+5−3
@@ -11,7 +11,7 @@
1111, nspr, systemd, kerberos
1212, utillinux, alsaLib
1313, bison, gperf
14−, glib, gtk2, gtk3, dbus-glib
14+, glib, gtk3, dbus-glib
1515, glibc
1616, libXScrnSaver, libXcursor, libXtst, libGLU_combined
1717, protobuf, speechd, libXdamage, cups
@@ -104,7 +104,7 @@ let
104104 else result;
105105
106106 base = rec {
107− name = "${packageName}-${version}";
107+ name = "${packageName}-unwrapped-${version}";
108108 inherit (upstream-info) version;
109109 inherit packageName buildType buildPath;
110110
@@ -120,7 +120,7 @@ let
120120 nspr nss systemd
121121 utillinux alsaLib
122122 bison gperf kerberos
123− glib gtk2 gtk3 dbus-glib
123+ glib gtk3 dbus-glib
124124 libXScrnSaver libXcursor libXtst libGLU_combined
125125 pciutils protobuf speechd libXdamage at-spi2-core
126126 ] ++ optional gnomeKeyringSupport libgnome-keyring3
@@ -132,6 +132,8 @@ let
132132 patches = optional enableWideVine ./patches/widevine.patch ++ [
133133 ./patches/nix_plugin_paths_68.patch
134134 ./patches/remove-webp-include-69.patch
135+ ./patches/jumbo-sorted.patch
136+ ./patches/no-build-timestamps.patch
135137
136138 # Unfortunately, chromium regularly breaks on major updates and
137139 # then needs various patches backported in order to be compiled with GCC.
pkgs/applications/networking/browsers/chromium/default.nix+1−1
@@ -84,7 +84,7 @@ in stdenv.mkDerivation {
8484 gsettings-desktop-schemas glib gtk3
8585
8686 # needed for XDG_ICON_DIRS
87− gnome3.defaultIconTheme
87+ gnome3.adwaita-icon-theme
8888 ];
8989
9090 outputs = ["out" "sandbox"];
pkgs/applications/networking/browsers/chromium/patches/jumbo-sorted.patchnew file+11
@@ -0,0 +1,11 @@
1+--- chromium-70.0.3538.67/build/config/merge_for_jumbo.py.old 2018-10-25 19:15:54.578222230 +0300
2++++ chromium-70.0.3538.67/build/config/merge_for_jumbo.py 2018-10-25 19:20:44.397613032 +0300
3+@@ -132,6 +132,8 @@
4+ assert not inputs
5+ continue
6+
7++ inputs.sort()
8++ outputs.sort()
9+ write_jumbo_files(inputs, outputs, written_input_set, written_output_set)
10+
11+ assert set(args.outputs) == written_output_set, "Did not fill all outputs"
pkgs/applications/networking/browsers/chromium/patches/no-build-timestamps.patchnew file+17
@@ -0,0 +1,17 @@
1+--- chromium-70.0.3538.67/build/compute_build_timestamp.py.orig 2018-11-02 16:00:34.368933077 +0200
2++++ chromium-70.0.3538.67/build/compute_build_timestamp.py 2018-11-08 04:06:21.658105129 +0200
3+@@ -94,6 +94,14 @@
4+ 'build_type', help='The type of build', choices=('official', 'default'))
5+ args = argument_parser.parse_args()
6+
7++ # I don't trust LASTCHANGE magic, and I definelly want something deterministic here
8++ SOURCE_DATE_EPOCH = os.getenv("SOURCE_DATE_EPOCH", None)
9++ if SOURCE_DATE_EPOCH is not None:
10++ print SOURCE_DATE_EPOCH
11++ return 0
12++ else:
13++ raise RuntimeError("SOURCE_DATE_EPOCH not set")
14++
15+ # The mtime of the revision in build/util/LASTCHANGE is stored in a file
16+ # next to it. Read it, to get a deterministic time close to "now".
17+ # That date is then modified as described at the top of the file so that
pkgs/applications/networking/browsers/chromium/upstream-info.nix+9−9
@@ -1,18 +1,18 @@
11# This file is autogenerated from update.sh in the same directory.
22{
33 beta = {
4− sha256 = "0gd426a9xcgs8a9286gavziysq6fw1ilaifsna396dbdm8b571wi";
5− sha256bin64 = "05p20l0969rppbyn7965k78ccynng47rg7d7h7piqiwnm6ffg9yx";
6− version = "73.0.3683.39";
4+ sha256 = "00vh4vgkg4dc9vw6slgb086420l2sc6sykr15zw29jhnxaa7b1ij";
5+ sha256bin64 = "0vpwsgz71ykaid240241f7jzsm4d46wad00vvrd4fh9224q4h6ww";
6+ version = "73.0.3683.56";
77 };
88 dev = {
9− sha256 = "1yyzhw5zv803ysdj7zf0imdw9cf0mdlw30vphcb59a93nnvhkbb7";
10− sha256bin64 = "1a1dswkfc4x2rslkb899fgywv5mfrmcp1d8wxy7h034504r8gy87";
11− version = "74.0.3702.0";
9+ sha256 = "1cfy6m1ijqh7b8rlrjym8igpm5i549kz1h3jwbpxn52zy3mlk7jr";
10+ sha256bin64 = "02bgg20rh50lsz2ay4p7bkjfb18ay01hj0bcbd3g29valddr35p8";
11+ version = "74.0.3717.0";
1212 };
1313 stable = {
14− sha256 = "0bcc0iksk2v30drwd5zbw7v6sfbw16jqllc12ks2nifrvh058jjp";
15− sha256bin64 = "0azyhnmdg3grladpkpsv67zxqiqf5a3x9qjfj8h831kh7i7m3gy8";
16− version = "72.0.3626.109";
14+ sha256 = "07xwmlvmzfga61nrimqmzl7s29jb4kc94nkzwwlb7sh6nr55a7jc";
15+ sha256bin64 = "1jdj2jp4jvzi5a24dm56ls5kx6xpiiv98yx4si9z19lm5srrji8j";
16+ version = "72.0.3626.121";
1717 };
1818}
pkgs/applications/networking/browsers/conkeror/default.nix+1−1
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
3333 '';
3434 homepage = http://conkeror.org/;
3535 license = with licenses; [ mpl11 gpl2 lgpl21 ];
36− maintainers = with maintainers; [ astsmtl chaoflow ];
36+ maintainers = with maintainers; [ astsmtl ];
3737 platforms = platforms.linux;
3838 };
3939}
pkgs/applications/networking/browsers/eolie/default.nix+1
@@ -28,6 +28,7 @@ python3.pkgs.buildPythonApplication rec {
2828
2929 buildInputs = with gst_all_1; [
3030 glib-networking
31+ gobject-introspection
3132 gst-libav
3233 gst-plugins-base
3334 gst-plugins-ugly
pkgs/applications/networking/browsers/firefox-bin/default.nix+4−3
@@ -31,7 +31,7 @@
3131, libgnome
3232, libgnomeui
3333, libnotify
34−, defaultIconTheme
34+, gnome3
3535, libGLU_combined
3636, nspr
3737, nss
@@ -49,6 +49,7 @@
4949, gnugrep
5050, gnupg
5151, ffmpeg
52+, runtimeShell
5253}:
5354
5455let
@@ -141,7 +142,7 @@ stdenv.mkDerivation {
141142
142143 inherit gtk3;
143144
144− buildInputs = [ wrapGAppsHook gtk3 defaultIconTheme ];
145+ buildInputs = [ wrapGAppsHook gtk3 gnome3.adwaita-icon-theme ];
145146
146147 # "strip" after "patchelf" may break binaries.
147148 # See: https://github.com/NixOS/patchelf/issues/10
@@ -191,7 +192,7 @@ stdenv.mkDerivation {
191192 # update with:
192193 # $ nix-shell maintainers/scripts/update.nix --argstr package firefox-bin-unwrapped
193194 passthru.updateScript = import ./update.nix {
194− inherit stdenv name channel writeScript xidel coreutils gnused gnugrep gnupg curl;
195+ inherit stdenv name channel writeScript xidel coreutils gnused gnugrep gnupg curl runtimeShell;
195196 baseUrl =
196197 if channel == "devedition"
197198 then "http://archive.mozilla.org/pub/devedition/releases/"
pkgs/applications/networking/browsers/firefox-bin/release_sources.nix+397−397
@@ -1,995 +1,995 @@
11{
2− version = "65.0";
2+ version = "65.0.2";
33 sources = [
4− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/ach/firefox-65.0.tar.bz2";
4+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/ach/firefox-65.0.2.tar.bz2";
55 locale = "ach";
66 arch = "linux-x86_64";
7− sha512 = "3bdf982f4646a019f2dc11f5367ab0c23695c9c8fced02927c2d9a862e15f6a1c9c1ef63da3ef6539d802095d0b8b48d6f55a9961a453ddd4a97d828e9372aaa";
7+ sha512 = "f9853b728990499933b8741103454a8e68b17fa3653917e82cfeb3a66c8221f6d0be5e4aefc230fe2040a2fa10b5eb6f465b1c2099bcec667807e040243bb266";
88 }
9− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/af/firefox-65.0.tar.bz2";
9+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/af/firefox-65.0.2.tar.bz2";
1010 locale = "af";
1111 arch = "linux-x86_64";
12− sha512 = "2a010ce94b6f0108cfed973dd9c632691d4d2558ed006184ba9ded8ea89933fcc77d21f82fe3add259409861cb65dd12e48aed592fc932411ddc3226c0085d31";
12+ sha512 = "1db183c4f5a5628fc084a2d8a049a50f9df14f012dffaf7030c7ba3934df847aeb5089cc11882fefa0cf50d278268e9568a9b06b6cef11295282fecf6966c99b";
1313 }
14− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/an/firefox-65.0.tar.bz2";
14+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/an/firefox-65.0.2.tar.bz2";
1515 locale = "an";
1616 arch = "linux-x86_64";
17− sha512 = "30f2cd15a3d43c4228aa8b49b44aa4716ce35968cfb63d57141a3c3027e95242f4c724aee50b6d7ffcf77384e101a17cd252beaec75840f59400e0db2c111f95";
17+ sha512 = "ab56dfd7dab068d7844f24ca839c570cbeaace249ed80b53c1cbde283d89a8e2cabf4d1fca7db626942e5c7296668f21262e7218c85ae1357f48bcd477c811dd";
1818 }
19− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/ar/firefox-65.0.tar.bz2";
19+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/ar/firefox-65.0.2.tar.bz2";
2020 locale = "ar";
2121 arch = "linux-x86_64";
22− sha512 = "ad9846180c953ffdb73d519f1090a420deefd8b4bea531038318237ad639258bb05f4d9f88cf23650f1507034ce0700cc9e2bdda4ec02eb6e02c2d795b552cfd";
22+ sha512 = "4448c98b798851bb8456f2c112c3552968317ebb6c76b324c2a0148866c708d032d43134403832d6fd190f676c46203c84cd57c81b355c9b4ef6ec41ad0f3ea5";
2323 }
24− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/as/firefox-65.0.tar.bz2";
24+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/as/firefox-65.0.2.tar.bz2";
2525 locale = "as";
2626 arch = "linux-x86_64";
27− sha512 = "a9babea676451cb0f0126711592d3d94f57865c520de370194023157a65d5633d26f63aba9aa71472e40885d67de98a694d0bc4b65f4c1c933e3e4feb0e6be71";
27+ sha512 = "637184eec62bcbf580943e03384c38effe81e2562ee454c97a416f7084fdc20b53de19979c96ebc3d73792b5d01f15b862b8d42f69b29c4b1ecc91b27216a70a";
2828 }
29− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/ast/firefox-65.0.tar.bz2";
29+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/ast/firefox-65.0.2.tar.bz2";
3030 locale = "ast";
3131 arch = "linux-x86_64";
32− sha512 = "03bfbb6635c587c356fe622757b2b7f6e3b85fb04c7477857074cc198efa4e97e960e4d3b7c5d60aa9fda8639e605ae00d398899fdb2d05bd5fcf5dc494f4ded";
32+ sha512 = "9a41f53d4a4176b9158f09aade515dcd525c07e47d58b1814e9e9b698db5c45a5d25d7d5dde3855875d1853609fd55cbd16ab8756600d807f8575022cdb4356e";
3333 }
34− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/az/firefox-65.0.tar.bz2";
34+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/az/firefox-65.0.2.tar.bz2";
3535 locale = "az";
3636 arch = "linux-x86_64";
37− sha512 = "5201abfc1e7333acf0bb8967ba667742dacb2cdb8cab6b3ae60ec3d15cf756a1b48f6bc0904e02d433df5ab80440fe3cdcf4e260c4cd1c1f3da16f51c00c2962";
37+ sha512 = "8e7b4b17dd122706d194e57db7ca8be4633976d29f8d97c9f6079d062b228cfccdd9566172af8c341f8f95846140c05550184bb1386559ea58fba95d15f35f06";
3838 }
39− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/be/firefox-65.0.tar.bz2";
39+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/be/firefox-65.0.2.tar.bz2";
4040 locale = "be";
4141 arch = "linux-x86_64";
42− sha512 = "68f400d8640620f2af6ccf5a3b8e4fe2c94e7169e1b258d875b693dfecb4dbe070a9bd6a97b9fd668362783b73cc2eb21925bbf0159b41c4df910946bbae3f3d";
42+ sha512 = "16ffc474db3700184f81e6c4172b638826049656ecb7628ebd8fac3186c63ebf0b0b8b6d483f85c0f9a318e841669b7352f1e327c922996f336517769091e3fb";
4343 }
44− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/bg/firefox-65.0.tar.bz2";
44+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/bg/firefox-65.0.2.tar.bz2";
4545 locale = "bg";
4646 arch = "linux-x86_64";
47− sha512 = "6a7b6997b1efb726dfbda25e7f7eb024013ab1c782912e03e258c4fe72adf26ab926a05f88e62255c682e6352ed88b2158f1bc12ce9c8b91714291783397c379";
47+ sha512 = "9c566822ed36ac32057e0549c2e68cc436e9a65b49a9f8e099ecca64f649667337bf90e196b4eb0b3e88b3be474f0bbae4c73c821249e83353dc3f4fb7fc08f4";
4848 }
49− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/bn-BD/firefox-65.0.tar.bz2";
49+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/bn-BD/firefox-65.0.2.tar.bz2";
5050 locale = "bn-BD";
5151 arch = "linux-x86_64";
52− sha512 = "1fe6f67067cc27f4d8b13eaa22a8ef2ca23fd3971a3140432ee389327fd97faf97be802add562b2f4ced0fc83f75b8c8c8c707c160e0ce3ec50648735704f9cd";
52+ sha512 = "9a071ef0998e6130590126b67d529beb6fd70cf4387e84a7638b579e885e0a3fa6d92208f960c22d99250d067e6db1ea774fba02fd79deea0f336b639d55ecfa";
5353 }
54− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/bn-IN/firefox-65.0.tar.bz2";
54+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/bn-IN/firefox-65.0.2.tar.bz2";
5555 locale = "bn-IN";
5656 arch = "linux-x86_64";
57− sha512 = "d5ad4b8673ab8c136e3aaf5c2627c7210d670351744d486a896d40dd1599ee17a5cf90fe2c967d1c70989ac644f180c0efe23fa25f5f76ea4ba4f0ca0f3492c2";
57+ sha512 = "d0821d3d18e633631fa61384aae77d5ddbc7dd0db66e57d41405446a0ca38914c60aea886a2cf7d22800de239544cf7b67b9d2ba31723db210c4cdfb0730ed12";
5858 }
59− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/br/firefox-65.0.tar.bz2";
59+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/br/firefox-65.0.2.tar.bz2";
6060 locale = "br";
6161 arch = "linux-x86_64";
62− sha512 = "ca1196a2f2875b86c315a32d9c0091d0c72d8e2dd00d788f24000644028dc0d1f5eba7f9b2888353a2c5fbd16273412cf3737d39fd63ffeff7d0c5bfb7829922";
62+ sha512 = "9ad730f0426bd6f7cb8530f5199f7c62547c3b82f8ce1e6e92b49e9bf5fc01b9bc8588c527f4dcc832d5c0e4f60636c2f53f5e2b16751ec9a34ab8c81a656563";
6363 }
64− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/bs/firefox-65.0.tar.bz2";
64+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/bs/firefox-65.0.2.tar.bz2";
6565 locale = "bs";
6666 arch = "linux-x86_64";
67− sha512 = "7fc343375a6f2947d2604d14a764d5cdce77209c6a1770f69cda713fc03662a7e84a6c656d1262148b57c4ec3c9c5172fd910ba424854f35b3b7fe7ce148b699";
67+ sha512 = "6a7d1d1ce532964185e53b23f736ced1d776d65d06655d402ce56ad91ba835375fa157188b6f387fc61dccbb79ca341e15b8ea0ab1218f8b884401f0c54989d9";
6868 }
69− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/ca/firefox-65.0.tar.bz2";
69+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/ca/firefox-65.0.2.tar.bz2";
7070 locale = "ca";
7171 arch = "linux-x86_64";
72− sha512 = "d62cfcfa8c575c905fe904f6819e5f82bc139d91186db956050dd82ed3ce65ca4eb407efab9b26049cb28d806c76d9c2516a176157b26608418f06d66167b13f";
72+ sha512 = "ce26a6163e5bd9a35e5ae6ec07f9e3309e6575891a75b416c582116e41e0c0724e70bd85300a00812cfd8ac32f6a2c4af6717075c1b88fc9cb7ae25d489664a6";
7373 }
74− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/cak/firefox-65.0.tar.bz2";
74+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/cak/firefox-65.0.2.tar.bz2";
7575 locale = "cak";
7676 arch = "linux-x86_64";
77− sha512 = "b1f4bbdf515d8ba548b0e915a53d212e74d099da64631b8f05f21b9914ca2545b4092291d21b28bfdcba75be6eba02b79cdcd57ea4b39a1c05a856aa73134e5c";
77+ sha512 = "0e751b138716be6b80a9f5a9321cbb89b0a6bd27381e59e5fd8ac259a6a0947c040606686d4884c51adc6371431ca2f6b424115ff8a0023aa9974547a9402221";
7878 }
79− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/cs/firefox-65.0.tar.bz2";
79+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/cs/firefox-65.0.2.tar.bz2";
8080 locale = "cs";
8181 arch = "linux-x86_64";
82− sha512 = "a98915ea6d8a5e1a374e34b836563ad450a48816d374917562078ade754dfb1cd5cfb6cef73de942fbb1c1c1abe41871ec3b9ff17a3a6a6bb2bb36df3a6c3763";
82+ sha512 = "43e53539cb2628eefc457add31d3293748abbb857e0494915b54224f60e516137464e078d913ef2de7a06a68563767d2a3936caf651bafe7fca049aa0d75c8a6";
8383 }
84− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/cy/firefox-65.0.tar.bz2";
84+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/cy/firefox-65.0.2.tar.bz2";
8585 locale = "cy";
8686 arch = "linux-x86_64";
87− sha512 = "ad1e6640cb799acf17b8e151b26e78a86ce21960f2f8b5baca4890e7da2fe1d4739357058a551c161e31c1685d99d988d9715b6eb6a39d785e9e526f60c65009";
87+ sha512 = "feb39033055f8f0c1bee933b46ad5a2d56a60c0f64d513bd606432beafe27c53a0580760ce0c0e27c92079e5727ae7844f68752cd0567239cb7d24a18b836635";
8888 }
89− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/da/firefox-65.0.tar.bz2";
89+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/da/firefox-65.0.2.tar.bz2";
9090 locale = "da";
9191 arch = "linux-x86_64";
92− sha512 = "983fbde10f8ed3971b2ddc8161d6387b56d8c94ef3724f7db2febcb7160d17b20a6cf406e48c3a266d0e1a74f024faf4950f8dee0bd60967ff1c1ec7bde21450";
92+ sha512 = "4e9873d01621fb514ff4e18b1f9eb263792ea7976fb19ca89bdfcff9511d006537963fae16abf7ee950f5a846816993eacc1b0e86924678b4af2a985b67f24a2";
9393 }
94− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/de/firefox-65.0.tar.bz2";
94+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/de/firefox-65.0.2.tar.bz2";
9595 locale = "de";
9696 arch = "linux-x86_64";
97− sha512 = "59aa726477553aa261fa473b56e610807070999a1b120a3fd82a678ed029fcf2b541a71ec89f1d1a176bd40deda1cd659cc0bc1f486a283f2563a0a0236fe2ea";
97+ sha512 = "5300f5eb7e373ed692daf8376ef0e2767112aabf02f913778309ee21ae08d2d0d2e39ea6d37c76ae4e005b2c40c45e0902385e19daf024d4866373379d9cca9b";
9898 }
99− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/dsb/firefox-65.0.tar.bz2";
99+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/dsb/firefox-65.0.2.tar.bz2";
100100 locale = "dsb";
101101 arch = "linux-x86_64";
102− sha512 = "cc270b9e372b799e6867a93dc1148e9929d67f4fd9a8b2a1fbf4c0c95b23c6f6fa0444efa95dc545c4906b488f44c1a2eee8d9a8b6c6c5a8a3322f1a9c9cf553";
102+ sha512 = "8dbb65a7383d3eabfdbc6c7b5879439d91adae82349c49ca6e503b4e48595db4fd4e6ac0487cc365b969bca20ed973387dcef80a4d0d21012d865ffd2440e920";
103103 }
104− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/el/firefox-65.0.tar.bz2";
104+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/el/firefox-65.0.2.tar.bz2";
105105 locale = "el";
106106 arch = "linux-x86_64";
107− sha512 = "170719eb9cac9d1d49be16609e5728bdf9773195196c51c6d4d6c6a1f18f72ab96b4f3124de258186f39a1b1e3a849b5de73d4b5ee48007b22a5e84370d694fc";
107+ sha512 = "fcd27e62f0759df47bf340bf4179e3ab0030d88ed0fe2b4b15bc9d312ad5ae44eabaa38e7684e13b3e9ec07a7b4e3fb4ec75b2d797c9793121af7a2c9d218063";
108108 }
109− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/en-CA/firefox-65.0.tar.bz2";
109+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/en-CA/firefox-65.0.2.tar.bz2";
110110 locale = "en-CA";
111111 arch = "linux-x86_64";
112− sha512 = "df694bf1dac6656b802285b91ce5fa5fb39e9ae6d4fced3054c7ff3c474aeec8679745f5a820b0975320bfd74108ebac83e5ca33f914c9f0be992295fd7556ed";
112+ sha512 = "e71448bd1edc8302f411cdf3fbc2e5b4209722828c94fab5a2317b701541df70c2b5bcbc8a5845a519021ddaac7260d673bf6d2d4d0ccc13d06be173c9e95530";
113113 }
114− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/en-GB/firefox-65.0.tar.bz2";
114+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/en-GB/firefox-65.0.2.tar.bz2";
115115 locale = "en-GB";
116116 arch = "linux-x86_64";
117− sha512 = "f7953b8c20891907e7cfc45d7399be70b58c66710f6070f18c493b5c668d4576919af7dffbe36172ca3d01d711992749201c66457803fdd7a3068e2d7f6be60e";
117+ sha512 = "8dc6882d7f33b883a2bc554b2e790fb26283ee1096503ac081fdcfd59d8e21d7420ade1f0e18a4b840473bfa220f757154ca76f04d205f8ef142032306952402";
118118 }
119− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/en-US/firefox-65.0.tar.bz2";
119+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/en-US/firefox-65.0.2.tar.bz2";
120120 locale = "en-US";
121121 arch = "linux-x86_64";
122− sha512 = "482bc1726399663532000749e600ea5c9c490022696b40d869e851951a9983745b26a7c4ec7f306bf174479e4213103996d075c11e2e1f9a721d392c7c615933";
122+ sha512 = "e3dc6d07baa53a15254042c546a4ad5f463a180bed6ec14c091627bd9f8863050a58b0e0820b24ab57c35cb3eb02438095a248f8ac7548160e73c841fc48412c";
123123 }
124− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/en-ZA/firefox-65.0.tar.bz2";
124+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/en-ZA/firefox-65.0.2.tar.bz2";
125125 locale = "en-ZA";
126126 arch = "linux-x86_64";
127− sha512 = "bf721a577a1a916779ebf0d8c0f673d0b4d1c0230b776b2045c976ebca96baa4a6856109a837d40f301465d921bbf4622cc4609f31624551cdb056284cb36644";
127+ sha512 = "6d8f8e9b32e1b9abe5b3bece5d3518e7a2feda818292d2d9f1c543eafd33dabcd19fd5d49e7d21b5b73cfac791b4ec76348f90f87405a1e293c50d5e92f3b27e";
128128 }
129− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/eo/firefox-65.0.tar.bz2";
129+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/eo/firefox-65.0.2.tar.bz2";
130130 locale = "eo";
131131 arch = "linux-x86_64";
132− sha512 = "ddeb25f719dee34c186fd1831c1fc5166ce17a413325cda1a3be97b4a1a65b302b84bd9162ef91577fdfb7b82180267026039cbb49d0ee434497eb23ace6ab98";
132+ sha512 = "0fea003c6f04f76ea03d3722c6fe16124a3de5a19c8f10225643989713fbd5489ae74a7dad0006376a72ba88dd0323d44049b9ba785d0439d98fa160611005bf";
133133 }
134− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/es-AR/firefox-65.0.tar.bz2";
134+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/es-AR/firefox-65.0.2.tar.bz2";
135135 locale = "es-AR";
136136 arch = "linux-x86_64";
137− sha512 = "a81f7e9aa65e516632ecbea14dda6ccd65405388dfac801e179ced1caa9a1da4c671ac7a42c3337907af85612eea46730760707d3f12376d504fc2b1c629aceb";
137+ sha512 = "5c4386c4751f090cc7871fdadfd110f9127261c751350cd1296b1cd93f7586c72cf86555d37d231ed4190c73199281cdb41fed8680ca6b67c90742179e4e7d1b";
138138 }
139− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/es-CL/firefox-65.0.tar.bz2";
139+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/es-CL/firefox-65.0.2.tar.bz2";
140140 locale = "es-CL";
141141 arch = "linux-x86_64";
142− sha512 = "1243a4a02d82fc97bc760197c33c1e4e705ed8c47dd565a725e1c105b22e42b89b19824f7e35e844b4c5c52c78b3fde512a50d3f655ba548144ac2b6d73efa9b";
142+ sha512 = "c8adb9298f1f122a074d3dd19eb4dc961029c80d28642ba2c6c86c294dbdf274c4a60dafb73e200d2c62e97b8dee5a6c3cec1a51dd2edbee023770cd0fa55e79";
143143 }
144− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/es-ES/firefox-65.0.tar.bz2";
144+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/es-ES/firefox-65.0.2.tar.bz2";
145145 locale = "es-ES";
146146 arch = "linux-x86_64";
147− sha512 = "c44b3a7b0fc6a13ffc075b7f282fa0ab1be16f98df872a7a168c3d479fd701d7e14502215ca6e211deb99c1b38bdb38ff0f4068eb978aad8d1f80b682839fd88";
147+ sha512 = "dcee10166566b10440e180a0ce62ce619d68ecbad4e106a82d516420f873fb4df5d20acfd27ea4e34bed46c7db7b67ccc3d7eef825e3b1f9bc1e714f69799072";
148148 }
149− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/es-MX/firefox-65.0.tar.bz2";
149+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/es-MX/firefox-65.0.2.tar.bz2";
150150 locale = "es-MX";
151151 arch = "linux-x86_64";
152− sha512 = "3b376e854a2498101fea9de4117f970bf41185b9ce74254d64088a58c77d21845c5a4ebee07c923cc6d8e616922b109cce0d25df9e2d47cf3dc62b726480dbfa";
152+ sha512 = "756f7a42368a4c2d3b4ce533c16aac26944896c2f56f6234e21f837afbe3a5f5104bcabf9e65fd9be472787c2b931ebfeac28dabd3e295a2fb856970a7113791";
153153 }
154− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/et/firefox-65.0.tar.bz2";
154+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/et/firefox-65.0.2.tar.bz2";
155155 locale = "et";
156156 arch = "linux-x86_64";
157− sha512 = "c55706aa897afee00d58741191dc4ef4ef9a0f4296c407770089e488449d95044bd4dc422c3fd79ada093abceea1e649b59a9f5f4e51738617716f497c6753ca";
157+ sha512 = "dd0e42dc3dcc435c257b9c054fd943c96ceee2eb0e0d203d9ed9673e42eebe3716fb7ee0ee43973f9233462ac614e5696d8b323139e9ef9a02306b04edb89d78";
158158 }
159− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/eu/firefox-65.0.tar.bz2";
159+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/eu/firefox-65.0.2.tar.bz2";
160160 locale = "eu";
161161 arch = "linux-x86_64";
162− sha512 = "5384aa5496a9e2e40acf0b014ef71e2e06b45bd9968441715cf38f5c9212c35dd1a5fe3bece97168870dce45bb1a91390fc172c2c170307b543d29d2a7ce6220";
162+ sha512 = "92442103506c85868636e68d2415118c9b61aab6b8161911a9153549367bb3dfff0a269c762d1f64c84c4f08c23ea900903a7a54c725a0914cd602421745df7a";
163163 }
164− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/fa/firefox-65.0.tar.bz2";
164+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/fa/firefox-65.0.2.tar.bz2";
165165 locale = "fa";
166166 arch = "linux-x86_64";
167− sha512 = "9b83dad076df5af63d4434dee22730770d94747b29ce13e551653b5d008b3741f33aa9819547527654c9667fc79f47d73633a384174cd92d786a02ffeefd5ef5";
167+ sha512 = "ec3ffd6a34a2be18920bbd0cac69c160f5929698e5da3ec76d9362d50a178ee8399f418322f29bf86c7207f21e5d7c92fe170782554a68855e71469e751b26a5";
168168 }
169− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/ff/firefox-65.0.tar.bz2";
169+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/ff/firefox-65.0.2.tar.bz2";
170170 locale = "ff";
171171 arch = "linux-x86_64";
172− sha512 = "fbe80240ac2347c05bde0a3240df050034777ee52e129165c5d8b11fac94bf9421c3ce413e9d3dd71643e2710b0328096d602795079bdcacf98bdb1fed8cf318";
172+ sha512 = "cfc3fc0d7d5994c4cff26eaef8e19ed7316270ddb52e91ef66cd73bd05d53b2ae7b6e10822f2ee69a7b353e3f9cd99ee4ae61d8b4833fe7b2d69e8e7a825968f";
173173 }
174− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/fi/firefox-65.0.tar.bz2";
174+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/fi/firefox-65.0.2.tar.bz2";
175175 locale = "fi";
176176 arch = "linux-x86_64";
177− sha512 = "809ebc16baa79ed287b980e211cd7ca3991057b538f70877f599df9447f1f787f9c0fa4fd4f54d12834ddbe35bd9d1162777ff579cc5703ea907cc70f08c93d9";
177+ sha512 = "4eb0acb6e7def2df35d96a3c2b54da8fa82f92374f3c8239c521096bdef2a0770e05904cce082d11d156f3fcb1770ad64aa0fae2c692c5933d891ae57b2f313f";
178178 }
179− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/fr/firefox-65.0.tar.bz2";
179+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/fr/firefox-65.0.2.tar.bz2";
180180 locale = "fr";
181181 arch = "linux-x86_64";
182− sha512 = "98a6dada770067be7cf651b7f2d6e6bb57a0358b6ee54af47003a153844d521b15dbff65afd1ee0b05c23ec9e91aaf434d90065a21d3e729b9abc48fe27bb8b2";
182+ sha512 = "52c789e07bafecc8451fc542cbac58a699351ff4e72feef4ced11016dbc60079255dc29f5cbd3d46996c8caf6fb536134ee569f3a9deab9839d513dfe1343a82";
183183 }
184− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/fy-NL/firefox-65.0.tar.bz2";
184+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/fy-NL/firefox-65.0.2.tar.bz2";
185185 locale = "fy-NL";
186186 arch = "linux-x86_64";
187− sha512 = "2d49ea99934ed637a2e2c90a15c3be55f9470d275af6d1ed9f5868bf3b3eb7c8871728811dba87458c59a843b310f491712d61063b43d36409e8c8d7d5567e75";
187+ sha512 = "379b60a22aad8e9ed6036f7365fe857ede4c8ebd149a73d103babea55b86314a9d6daa2c327c66f306a85726fa7153c6cb28f012ed1992793237ab33a124d0bd";
188188 }
189− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/ga-IE/firefox-65.0.tar.bz2";
189+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/ga-IE/firefox-65.0.2.tar.bz2";
190190 locale = "ga-IE";
191191 arch = "linux-x86_64";
192− sha512 = "2a68fee8dcccb45f9f849eb61d54629a1216a247c246565516425e072387a7e1fd9e382c799e32884d681888563c982ef894276e84ac9e537a008fcd39ced893";
192+ sha512 = "70120f523729356ab0a55a02e3ebe422be6ef7a73d54cfdb7d9268ce21b03d793a8ed703b814ab4b1611c2d10fe3f59d9cb0b0823a2b526ef7dc31dc56506361";
193193 }
194− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/gd/firefox-65.0.tar.bz2";
194+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/gd/firefox-65.0.2.tar.bz2";
195195 locale = "gd";
196196 arch = "linux-x86_64";
197− sha512 = "a97c08e8632147d4b2a30ba63295e1d080e97d561163a4e87240667ca69f9094f98a8ebaeca8aa75b4d344e315ab4e72d605e06b800d4156c38fd1deb83b45b6";
197+ sha512 = "2758eb96b0976857a201d12a34f57de92124376d58ecaeadf3c6748b02a40460d7bd40d1070aaa8e665f33abd1ae570bcd0e70bf4a5790feae6d997ed1259b92";
198198 }
199− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/gl/firefox-65.0.tar.bz2";
199+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/gl/firefox-65.0.2.tar.bz2";
200200 locale = "gl";
201201 arch = "linux-x86_64";
202− sha512 = "49d4d0afda162e23437f44a5b5ee9a43e1643c0e739bf6b74e662c79b4cd63f7bbbe9c56c73381e0a3756360b03ffef01eb73be1c1b506d20bf4cd4f968b2d47";
202+ sha512 = "a92d0a372c62d054afd84de8a0c7a35a2d14a7ba4d4083709ff36e703e1efe69529c48b4affeccc48a2b7c98610be607da71a6c706a44d07c85b8ff27bf322fd";
203203 }
204− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/gn/firefox-65.0.tar.bz2";
204+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/gn/firefox-65.0.2.tar.bz2";
205205 locale = "gn";
206206 arch = "linux-x86_64";
207− sha512 = "7fc62ff745bc14419ecdc11e0cb880cc28f54cadbdb19980f87162e463eb97911858fb7673c2a9c1026ff6b786c01058c975c53c16644881e2a0b0d604a098ae";
207+ sha512 = "d02c1f1634c1d0d9edb18cbcbee4e582786d8f9503c276ef64671b86c91c39616f33c66a7e845acfddaa206071d3af5d43cc78d6d7055e13c6b5db151835f4b3";
208208 }
209− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/gu-IN/firefox-65.0.tar.bz2";
209+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/gu-IN/firefox-65.0.2.tar.bz2";
210210 locale = "gu-IN";
211211 arch = "linux-x86_64";
212− sha512 = "22a36860d0ed79f36ad804b636cf892c45b7dafe948df151a8a384c6400523617e1a191157f099ee26ae42d06b3ba3ef508f9ab5a4ff6f819f21ecf74f9c3296";
212+ sha512 = "4e7d9ce0f0ecf451a9a24eb12073d674b5249b554df2892bc710a0175d77a9026618137e8ca77aa029b7d94691fbac2e6b9ed4673443f7e14b6910c6928a762d";
213213 }
214− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/he/firefox-65.0.tar.bz2";
214+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/he/firefox-65.0.2.tar.bz2";
215215 locale = "he";
216216 arch = "linux-x86_64";
217− sha512 = "2c46bf74a8053337958d37389f1fb457b814d18d27a337bed84d250acdde8c7a445b8dcde8507c1c502a13dea718f1df01895d76b3725e5ebd65290e1e6ce477";
217+ sha512 = "d4a852d54d5265e8da07ed9434f9dc990076cec88c1a9db601183cdc62a28093799f4fdb05f09306f5a75ccd08ad30ea88c4f7011483daca58f15d9f864d822d";
218218 }
219− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/hi-IN/firefox-65.0.tar.bz2";
219+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/hi-IN/firefox-65.0.2.tar.bz2";
220220 locale = "hi-IN";
221221 arch = "linux-x86_64";
222− sha512 = "ba1724eb10d76c3a70a58c72b5f5a6482fd6f5e7e3b4c04283a03765e75eaba9abbd5c6e2d3e350f36d82909078987a4c1a6073d67e2e56456e1954e291fa3ef";
222+ sha512 = "459f43e3cf8b4a5e6dca2308d7b2c8e8aba9005ebc6be7f4e6df07f6f43b573f1d1f88a9553935daa6d85f7089301526c9b0b58c7f32daf5be24699cfc4ee973";
223223 }
224− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/hr/firefox-65.0.tar.bz2";
224+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/hr/firefox-65.0.2.tar.bz2";
225225 locale = "hr";
226226 arch = "linux-x86_64";
227− sha512 = "5fbe87ccc58b16725c10835ecd54d825f71099ab37eb2e4eca343c6cec5f8caa5f40ce8a5b2c6989c36a10a903378e69543d1b9e157f677032c47362db144d5f";
227+ sha512 = "b835d360ac80a8e188e76f8f105c63015e2b698d6d2e8d82c294b372adf351d320d5b3465fd834538f6977ea76cb1bfa075dc79f891e4079787aefc629771c60";
228228 }
229− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/hsb/firefox-65.0.tar.bz2";
229+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/hsb/firefox-65.0.2.tar.bz2";
230230 locale = "hsb";
231231 arch = "linux-x86_64";
232− sha512 = "9bf744b38cac34785f56bc308b2a4024b4973e7f489d4f9f3929fe42aad2872facd967fd35bce452beb40e7c936bf400f1022e0091a375a6c7aaeac2bedeb3a0";
232+ sha512 = "859d24e084ab5cf552c25d29a08b3385bd99e907d596936b07cba426c39fc12ffb36905cdbbd876f589f37725161e206660bf52ec5baf7d76b896d84c54b6bf7";
233233 }
234− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/hu/firefox-65.0.tar.bz2";
234+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/hu/firefox-65.0.2.tar.bz2";
235235 locale = "hu";
236236 arch = "linux-x86_64";
237− sha512 = "11ead0e258d6a81d5a2b8d3bbbfc5cab8bad7d35e7ec853280f7d559650d121b56bbc66ca8a25416100506300b5ef148fde573609c4a922c775abc106ca59f1a";
237+ sha512 = "14591b0ff0f2d4c819ccc207f95e3a25941eb5a4ea213373c018f0b567e8660abffb09a3edf3516fbcd6f64041cc466d8f80ace6ca552eb71818cdeb7e384cc5";
238238 }
239− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/hy-AM/firefox-65.0.tar.bz2";
239+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/hy-AM/firefox-65.0.2.tar.bz2";
240240 locale = "hy-AM";
241241 arch = "linux-x86_64";
242− sha512 = "67a6084fda25da7db2ade9596c6fccbb0cc191a748c8ba089bba68e1c498774a4d309680c8d36b61a49e7bb0795bfbf48d853df1a7846eda65e752d791394079";
242+ sha512 = "c5f11c0ef58a31258a109ace64ad512734bb48be9513e824f501f5c83c192b959cb7eaf7a3370ccb34e2c930e6938c90d48af4073dcd2e3b370bf715b0864988";
243243 }
244− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/ia/firefox-65.0.tar.bz2";
244+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/ia/firefox-65.0.2.tar.bz2";
245245 locale = "ia";
246246 arch = "linux-x86_64";
247− sha512 = "fc2ba7e0c87c610018bf1c0705c7d263e301c6b0dfe080f44cb0708bff59e955754b4d0ea167eb5066f38a72c44312fecb13d7fcf855ac6125a7f6a833dff176";
247+ sha512 = "c14eea63bd43d7156173cecbee397553120db5468c7e7cf8dbd989e1dadfafce01f8f8effd942dee45c252dfa38e0d46918cd9138b1679fce03d29b0a1b504ea";
248248 }
249− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/id/firefox-65.0.tar.bz2";
249+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/id/firefox-65.0.2.tar.bz2";
250250 locale = "id";
251251 arch = "linux-x86_64";
252− sha512 = "c678461c38462616f731c2d0aab9c56f5963546f434e4ebcd2fb7b48aa94bdf7d4a7f14481cc4a17ebcea1decb767b27dae914fc3bb2503180106fda7adb74d8";
252+ sha512 = "b107159000a9adcc10fecf2379f9cee80dd822dba4c8702137fac7b159bd24aea69a2b8b0db9db6acca773cecce9307d0e158a327263e35ee2f353782ed0ac10";
253253 }
254− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/is/firefox-65.0.tar.bz2";
254+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/is/firefox-65.0.2.tar.bz2";
255255 locale = "is";
256256 arch = "linux-x86_64";
257− sha512 = "00e1c27374e5b174ed5bcb335b2b8a0ef8638afbaa707df46952eff48ed94fa9a021af709d8f99169e3ab33c6c763af0673b3a33c30881e09bb12b541dce575a";
257+ sha512 = "788f7e3bcdb419ded54fe81a16654aaba7b1901e3bf2edcad663daa46c31ac0581d051ded58626d002184378d32efc74161574c5ba91991e51331be346c13cd0";
258258 }
259− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/it/firefox-65.0.tar.bz2";
259+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/it/firefox-65.0.2.tar.bz2";
260260 locale = "it";
261261 arch = "linux-x86_64";
262− sha512 = "19d34371b514f718a6710aa9d00ed1c1b61db770b7974b50702e3a1845cb0e23a9606a3e5714d1dd4dbc13315508b266d1ac9b2876a3fd5311762462aea48b82";
262+ sha512 = "87ec9dfee79b511d02f3ceb1d66ed6cb802e1e3e08c7a78785437af3c4af883b4d157840f0951e8bf7a90c04aa3ebfa462d7425ebcc3273e472c501a1074c05e";
263263 }
264− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/ja/firefox-65.0.tar.bz2";
264+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/ja/firefox-65.0.2.tar.bz2";
265265 locale = "ja";
266266 arch = "linux-x86_64";
267− sha512 = "a909971593687b5b20f614ca51e6e3f37f4fa8bf9464cf714473950ec1f73912f3c3f1bb79410698511f38e86f743705d6cb8a60be6d9e2266464bc301785537";
267+ sha512 = "724ffcdfa355341db0c083f35c94fa8157fed7899d87f66314251c6c9ea354ff46b479b195b1ec6181ade5ec9d513e0f7a8343c90df783d43ddaed90731bf299";
268268 }
269− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/ka/firefox-65.0.tar.bz2";
269+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/ka/firefox-65.0.2.tar.bz2";
270270 locale = "ka";
271271 arch = "linux-x86_64";
272− sha512 = "8eeeebb0fc993caf80c088d96e2e31e579edfcca5225f622e3b0a592318308f2578998668638594a6f32cb0a984d4cf534532ae2a9418e32cc750df3c33c5361";
272+ sha512 = "646e7c34d99184eec939ae7a55b42a7c5018d679d1b2f72b2a6dc3e8360e4b6e5770711e3fdca5c93a7014e2b92adffb415f6f7ed39a518cde67de963c75b92a";
273273 }
274− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/kab/firefox-65.0.tar.bz2";
274+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/kab/firefox-65.0.2.tar.bz2";
275275 locale = "kab";
276276 arch = "linux-x86_64";
277− sha512 = "cbb17638c972bda6fe83460dcd5d320c03888527b56b7d49e929f6ccb0edcc54251aa0a45162457a09929b7640c588aa210cd969ea43c1f9dbd68fc0ab60c55d";
277+ sha512 = "d090c138f5a9353e6739cc8bf21c3bd1bef4048a2331ff8f33f5b8fe1578028e770933caa8a0fc923f6d8f1138ab606eae1bfe5fcb164e69260405e5ff2051ee";
278278 }
279− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/kk/firefox-65.0.tar.bz2";
279+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/kk/firefox-65.0.2.tar.bz2";
280280 locale = "kk";
281281 arch = "linux-x86_64";
282− sha512 = "d3306176c90902b4b2739ff52cbad140bcbb6cc0ae39e9f820781490a35a69428c2cc3b0204c23832bca62833523ba0975d39b3c30d8504301fe64cf7a5af969";
282+ sha512 = "db271af0ea767d20aa21060c96a448141440e09f247bae771c405edff460aa22319dbfbba6055a1f5255d4828cda669ce96d563d83bfac3c4e7d8fccab8d9dfb";
283283 }
284− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/km/firefox-65.0.tar.bz2";
284+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/km/firefox-65.0.2.tar.bz2";
285285 locale = "km";
286286 arch = "linux-x86_64";
287− sha512 = "f36fab6bdade43429941dd43da65a961dfe006001ed8d7a53041e6bdec0d668edbe09d96e383e76fe8d107e87122abda704b9aa14f7d6fa060bcdb283f30643d";
287+ sha512 = "3a7b5bbd8bd2fffe5b820db930f383969e1db1b567bcf4a92d29646add140cc3e941852e5e5f12527935a16ebc6e7474d3408f5b2b274b50aba8b27b075b368c";
288288 }
289− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/kn/firefox-65.0.tar.bz2";
289+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/kn/firefox-65.0.2.tar.bz2";
290290 locale = "kn";
291291 arch = "linux-x86_64";
292− sha512 = "89c40234a72938d441704c4b03af679085294f20cb0065863fab92ab03446b01b7afa3d004a5b3330439682b6f9b44ac078fec3906b5f99b4a07427419442dd9";
292+ sha512 = "2a2951c3df5641d641f7ee760db6d4a3c7fd2dde0d096300a8c9662facdafe5e39db2cdfc06b716a5af7acfd31571112b6fd615755ddddca01ee0984bd9067c9";
293293 }
294− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/ko/firefox-65.0.tar.bz2";
294+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/ko/firefox-65.0.2.tar.bz2";
295295 locale = "ko";
296296 arch = "linux-x86_64";
297− sha512 = "17d890cd0ebffcc24eb8b7abb4c9e29063bf8b784e0c603f4b69e3988aaf7c77cf864efc19d9774d94ad9a9610bad27a1adde53efe41240dbaad2b6a8d0ab1bd";
297+ sha512 = "2f870b939ed6f796b8e156030149585338d305ce2f957771b95c0ca6dacf72ff88dc8e21b903c4f48b6a89ba05c0b652314879da1c1db683be4f26648eb36fd6";
298298 }
299− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/lij/firefox-65.0.tar.bz2";
299+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/lij/firefox-65.0.2.tar.bz2";
300300 locale = "lij";
301301 arch = "linux-x86_64";
302− sha512 = "31265524009f12d22551c5d52cf158a3f7ae0068d10cc744ba18ea3c90e1835d2119951fe11d736809369ab4358f6415e9da7103eddfa90e415c1d721980100a";
302+ sha512 = "4be3638df349fa2c9b40f3e8af9a58158c6eccbc7255cac19f193a224cc6e1ae9ec4976dd54180e74712e95f290bd3474935e629398d159b39601060551e7b19";
303303 }
304− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/lt/firefox-65.0.tar.bz2";
304+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/lt/firefox-65.0.2.tar.bz2";
305305 locale = "lt";
306306 arch = "linux-x86_64";
307− sha512 = "fd5c8a9cc4cfc5cd9e6539f0482c2dfb413a287811860a6658533865bf71b1d3c60c92c615fe588b982d2f021682776474b1420865eba66bac16cf3495747642";
307+ sha512 = "faea90c5ef3a206c0b36b3e7549bc95f5b46f4e7903113103699b1d8a3c1ba9765c2fc20dd3e8bab9a86b20a67f8d821d6b462db41a80cb241a8419dc2d53461";
308308 }
309− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/lv/firefox-65.0.tar.bz2";
309+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/lv/firefox-65.0.2.tar.bz2";
310310 locale = "lv";
311311 arch = "linux-x86_64";
312− sha512 = "6dc4c5caf27b7ab2191f1e2ca4b22b7ed87b7387759139e4688da174d3382af2cc971fb5735fdbce400c53ff8d9bf294512b173920e2c4a62cb5fdb4e6ceec3b";
312+ sha512 = "43d995dc5494e33f0d9d6144f0abf6e9a6e1558412ff62e32e1377adac1e3512908f27395c17e1e75616802b5ec5547ffa785c750f4f3498ba9bd910d6444dfe";
313313 }
314− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/mai/firefox-65.0.tar.bz2";
314+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/mai/firefox-65.0.2.tar.bz2";
315315 locale = "mai";
316316 arch = "linux-x86_64";
317− sha512 = "afea8c98a60408823d246c4d09d2b9a0ba4c974b02e2e9088e91872d9d4da98d82924c6f486a32274e8a8f99572ee563756c9c9f0596c1d72913a9536c8261e8";
317+ sha512 = "8550cc53fc836e93d567a2901468c3cb5f940a3a29f4f4d8648981c819273462b77ad2fbd9c8078a74b9c4c31700220bdbded7bfbe1d731ab108a37670db077e";
318318 }
319− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/mk/firefox-65.0.tar.bz2";
319+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/mk/firefox-65.0.2.tar.bz2";
320320 locale = "mk";
321321 arch = "linux-x86_64";
322− sha512 = "2d5cec8d0917694c3bac304454aa1770940310f9bfbf6ec233214989577e1f83c1f81326fbebf77fbcd880b3b03c3fb1928a0078925ac343c4b51ff72c481cee";
322+ sha512 = "55418cc75c8f965949fac5532478a70b406d3a7aaf21ae1e7a027a191fe052a4f75e8871ac2335434fa444e8a3994ae77152d3ce56d08a851a8af304566cadc4";
323323 }
324− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/ml/firefox-65.0.tar.bz2";
324+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/ml/firefox-65.0.2.tar.bz2";
325325 locale = "ml";
326326 arch = "linux-x86_64";
327− sha512 = "86585195d41312e5a990a388c14de87fda05c75c3cee02f0af40367a9cda9ec1034f21c4627da5c2fec020850ed94dcbafcbdb0f52302862ab23e8218e715c08";
327+ sha512 = "e64280160c8709ccb15bc92d0b1a4594a4bf1f1bc324eb5ec2a1abfabac6eb523e0c832f5bdfe6da027cf7f77d9a90c3c1a15a2b8f2117cfd26cac12ac9c30a6";
328328 }
329− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/mr/firefox-65.0.tar.bz2";
329+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/mr/firefox-65.0.2.tar.bz2";
330330 locale = "mr";
331331 arch = "linux-x86_64";
332− sha512 = "f996ec4bd929311cfe481e45813deb1a6fb8667564ed2d63d0d4d2a814ee9f8c5671fce760fade3d6d9ac76e33772e09b5f1ac80e6afb1e4edd4c22c5cc69942";
332+ sha512 = "2b4aa35a251ba21883f3a54dbee092e7ffacae4fd1eb9f0aadafece9871c837193ba201c1f5e32227a7609ad646fd08fea3c3ee8795eb093fc34c16dc460092c";
333333 }
334− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/ms/firefox-65.0.tar.bz2";
334+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/ms/firefox-65.0.2.tar.bz2";
335335 locale = "ms";
336336 arch = "linux-x86_64";
337− sha512 = "da9b9b272dc5d33910cf014005b19db7a17fb7306c55cbf77030b1cbac9d9dadebf0ab64845b232c9f9afdd7a47d85b52db9264021e45f5a172dcc2b74c32459";
337+ sha512 = "32b5db1d6bb9c9a22b725f5d9a4e257ab885bfc11625f4b0329dd167039fae51405d1f41813b40d3faee8ce56c2dd8a2219eed92757d9742d8c89a01bdc4f704";
338338 }
339− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/my/firefox-65.0.tar.bz2";
339+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/my/firefox-65.0.2.tar.bz2";
340340 locale = "my";
341341 arch = "linux-x86_64";
342− sha512 = "70c33d409656fb6e9b0c3fd5af1c9411ae6084339bc2c9eac55bd2e9d5d8e0811630e9f3ac5556b816c6fc3518657073f6786134299f5cdd9b3dc0f2c11792a7";
342+ sha512 = "9af2dabe0a0c745b199af599b1d5ddeca52c1b7dd89a0cd4fd7a2e4770974a56bf1ac831fc4ea8df2cfa5fadb06a8fa24188e9ea2ed8124219c7621a3565c819";
343343 }
344− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/nb-NO/firefox-65.0.tar.bz2";
344+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/nb-NO/firefox-65.0.2.tar.bz2";
345345 locale = "nb-NO";
346346 arch = "linux-x86_64";
347− sha512 = "8dcf198e0b120fa5a10e661c83b604a85333699a6a524b340f736e5cfe21ed9a96c9b009db625db0160c9a79c65b62b28a8a44957c07b05b6e576a0280beca84";
347+ sha512 = "d9ec1330d92994bfe52d9561c1ad0221a1e71e5e1314cd41948bccf03f5176216b96eae7445eadb51f19e685baf2cb1b1a6bd22916c87d1da922f1b7f585019b";
348348 }
349− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/ne-NP/firefox-65.0.tar.bz2";
349+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/ne-NP/firefox-65.0.2.tar.bz2";
350350 locale = "ne-NP";
351351 arch = "linux-x86_64";
352− sha512 = "fede145ef4f444a28d3d10339134b9dfbdfa8bc5be8a8c390c64ff797e5b38d24cc8a242f64d86b0091b4015a75fbd9589627aa0038da534600a9c68d06dae6d";
352+ sha512 = "f9cf43d7ddf7d7e6aaa80739beb7519c0fc9ceb1e9a05086d001a1cc968c27c82ccd27eb15f7f0083bf110abeda847cef15ebdbfd8685402f5db1be608ee29fc";
353353 }
354− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/nl/firefox-65.0.tar.bz2";
354+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/nl/firefox-65.0.2.tar.bz2";
355355 locale = "nl";
356356 arch = "linux-x86_64";
357− sha512 = "c128881c182fd29eddde5047623902c3943cc9100add237dbc8f289a1476acd6cb45f82b8e88adfa21ec2e25f111d4dd3ed772c4cd711aad1a4b040e36a9da5b";
357+ sha512 = "229b35ea9660dfbcbde47c208248a4c2b54cd322dffab9c7c86a7899b879ca58ed7058a2e21f1e384f89871419d4416cb8c7e66b62b0df3ad90a52644efba10b";
358358 }
359− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/nn-NO/firefox-65.0.tar.bz2";
359+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/nn-NO/firefox-65.0.2.tar.bz2";
360360 locale = "nn-NO";
361361 arch = "linux-x86_64";
362− sha512 = "48c706cde9c4f2f521d0e2b1d4ee6a8eb47f5afea1cea8e7424aae816f81d156a1fc08d0e315b5fbb47d9a44d329c458333b333b6c63467460d4e97c49ede199";
362+ sha512 = "d5175fa614e2874e6c6be16f80afadeecaef63f58af252a2cd24e6a4cdd07c5f1209c1b540254757e0b108020554fb16997eafa315f79acd20c589b74a465454";
363363 }
364− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/oc/firefox-65.0.tar.bz2";
364+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/oc/firefox-65.0.2.tar.bz2";
365365 locale = "oc";
366366 arch = "linux-x86_64";
367− sha512 = "88f91a0ef6dc1a234ee2e3ed4bb32bc12feb4dd368805bc837b8bd3f049ebccff535f6f02d2806276d43ba471620a274a51e35edfa8f195e043e85930bd44821";
367+ sha512 = "3aec5e9302d7feb57138af5f8ac2a151986ac4cf73e49fcf887b54f0f3863b3a0f0f12c399408ae4bda857f3dc7e08fada5da631a9c071d41e80f18cb01ad440";
368368 }
369− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/or/firefox-65.0.tar.bz2";
369+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/or/firefox-65.0.2.tar.bz2";
370370 locale = "or";
371371 arch = "linux-x86_64";
372− sha512 = "13c5f6c63bac0acc226e92207ba8c8c6ab06e0c99135965fc9ffec46f2a6867136a42ec488bfad411412a761dd7cbaccc08062376197217eb1d640028ced18bb";
372+ sha512 = "de32f800e461d76480619cb254c96fd288f959270dad06c580ef8385fc3662a1f81a28c1adb14b6f367d4ddf64b413d69223dca6300f8fd2f2fe07369c8f6960";
373373 }
374− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/pa-IN/firefox-65.0.tar.bz2";
374+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/pa-IN/firefox-65.0.2.tar.bz2";
375375 locale = "pa-IN";
376376 arch = "linux-x86_64";
377− sha512 = "89222f8b28198b53dcffcdcc58e5331b6bd6e099cb4b860b1f4a7804486c741109164f11e0950456b2ab61a4be8db8a81eb67ae3655ae361801835951cbb1890";
377+ sha512 = "26e53ca9a8047c2032398824986e8bf1d25530493404ad530225d5bf39f0f311d2824a14f0a5e72f77d1964837896a533db02a95b6af1f61f6649aa5f5df3d50";
378378 }
379− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/pl/firefox-65.0.tar.bz2";
379+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/pl/firefox-65.0.2.tar.bz2";
380380 locale = "pl";
381381 arch = "linux-x86_64";
382− sha512 = "780c81135a0e1c2e843518e6690b9e5ea472d90b985bd51588f8bbdf1f920bc07af75d8f294c5b30b627b48319fc89316667fa55e94a8531d5af65369af3e633";
382+ sha512 = "b2dfb9fb2cdd01be8baddadc7227d077275e6bb0df4314b9694b70885b6b27d5cfc303b2429dc22117a8e45a8d8d27e97941a13a5456a09ab2413ac41290c713";
383383 }
384− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/pt-BR/firefox-65.0.tar.bz2";
384+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/pt-BR/firefox-65.0.2.tar.bz2";
385385 locale = "pt-BR";
386386 arch = "linux-x86_64";
387− sha512 = "213c00695d9b40bb35a02c1ad006da9f42551af1554324df8524318956b9c46f6cb772e6bf7d90c883f97df6be78d527af1601eee42bfc8a5014e46c44af3af5";
387+ sha512 = "9a0de29b1d33e5e34811ed03c5343cc64b68fc265b0e2c530860a0fd0aed02d88e69eff56503d9688b41fa3667eff36ebeeb0db5e72434c6eb15d0bfab21a2e9";
388388 }
389− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/pt-PT/firefox-65.0.tar.bz2";
389+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/pt-PT/firefox-65.0.2.tar.bz2";
390390 locale = "pt-PT";
391391 arch = "linux-x86_64";
392− sha512 = "56ee6d56f036925be13282db7edd518524b499810ba31289d287d7b6e3e5355cc1b944d1ecca7aab9d37ab55141fe94c3af3f23f175b2136f2ad3c099f201f67";
392+ sha512 = "9aa8c09805ab86cdd759d4f3760133c64ca76aaf3879189e91f69769b834384d8be05a1f77d8d0afabd5960d1a001ada23cc49af24aaf18dd10d6a0f33689f80";
393393 }
394− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/rm/firefox-65.0.tar.bz2";
394+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/rm/firefox-65.0.2.tar.bz2";
395395 locale = "rm";
396396 arch = "linux-x86_64";
397− sha512 = "33821af846c772f6601429a983365f4f79b3fc2df2cd20cb23f61219f544a4520fde8c4e5ec1b4474336c52a2063cfce6660928b0d0aa6336db41055f562c8e6";
397+ sha512 = "2042e7d66450cdcc4b3d3e07dc44503535668b24e694238b8bf0f8242f9dc41d4742fac125c2c0c85f140e12d1afe191ef1fc50dd3b5bb278204b5ce25d92b42";
398398 }
399− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/ro/firefox-65.0.tar.bz2";
399+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/ro/firefox-65.0.2.tar.bz2";
400400 locale = "ro";
401401 arch = "linux-x86_64";
402− sha512 = "bdf7a957ba453a1f50ca1831ec30c2ad3d2620e506ac6b5575304235764593ff9b545719a45f4c1143dc5e4a6e91c6024531be28bfe74904beb2f61f29db7b7e";
402+ sha512 = "9b28ad45768b8fc128bfa0c10e565616a824a97bbfa4b0706117b65c22e131f825eedf3acfe92965e457f9fe5e02a05ccb7135316f2fb1ecd5a95948d94ef8fd";
403403 }
404− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/ru/firefox-65.0.tar.bz2";
404+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/ru/firefox-65.0.2.tar.bz2";
405405 locale = "ru";
406406 arch = "linux-x86_64";
407− sha512 = "f77d8516b50dbe597ceb21cc5e643bd0b701718a2a88013338981cc8b7855e601884154fdd3ecc2b1edcd8b19e396d05979039ec7060f70f786aa263d9044a4d";
407+ sha512 = "b106e94e42edbf521aca7813ea3347afea8df9c1109f3869d2efa3fddbee9b9718eec882dfe34f5b9caf5b55bf0c6eb5cf5985ab6ae60fa3d22f7575d37e72eb";
408408 }
409− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/si/firefox-65.0.tar.bz2";
409+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/si/firefox-65.0.2.tar.bz2";
410410 locale = "si";
411411 arch = "linux-x86_64";
412− sha512 = "ff747f4502626af21eaf008080477b1f19c4a2c6f6303ad96c65eb597b12e10bf1519bcdb09b79775b9e0247b521d73ab390f4930c3b2b174362b705dc65bdd2";
412+ sha512 = "3d5c02029bfd16d94611cf86bb23e519d892f30eac5ba0f64045839ca1eeeb3b92c5dfa640fb5b132f2a16c4cac81db989c6d89283e20ec63b444285f85aa72f";
413413 }
414− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/sk/firefox-65.0.tar.bz2";
414+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/sk/firefox-65.0.2.tar.bz2";
415415 locale = "sk";
416416 arch = "linux-x86_64";
417− sha512 = "ebf11e1a59e06b7394abc671deb59677c4850f9060d8f2c5381cf72c1f7e59079b669b9748bcd13af5b936f7bc49b9f4cbb798f402f47cff48c8631ae77b5c77";
417+ sha512 = "b15c2dc19cee03213c89a50ec2405a3dad2d18003fd10a2427d8e00d230b13408c62aaa9b41378ca7272d9a9337b303649fffb9654f36fb0bfaca17ff54129ac";
418418 }
419− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/sl/firefox-65.0.tar.bz2";
419+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/sl/firefox-65.0.2.tar.bz2";
420420 locale = "sl";
421421 arch = "linux-x86_64";
422− sha512 = "b31834f097a8089adebb0f60f70803b74d65e824ef63c71a5db57ae1e25efec86e3e31fded1dfdf94f688817c0367c0c3118f15bf8fb01a0de8dd4992f689327";
422+ sha512 = "bd49129a77c5dad5467f0e0af2c64678afb305d8d37e43d956d66038b305f179a8a290c798a3ac675791a9d318b76f7b39da04dbd3b46a93f4ad49847434f746";
423423 }
424− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/son/firefox-65.0.tar.bz2";
424+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/son/firefox-65.0.2.tar.bz2";
425425 locale = "son";
426426 arch = "linux-x86_64";
427− sha512 = "c706f1c88cde86e2d66ba8ceedae19ef0d8fedd4dadce72df47b827b8ee8a0cd9da6c05951021b70e0329b2356ab63c35640065a61f5dc85ac2feefe612acc3d";
427+ sha512 = "e8b54d425f4e589a16a4432c57fab9712961432f02d41f93dc0ec8715e81859361c1db8ba8239cc3f0371f16ca60ba90d4307c5b8c5f77bc222982e03dbf1459";
428428 }
429− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/sq/firefox-65.0.tar.bz2";
429+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/sq/firefox-65.0.2.tar.bz2";
430430 locale = "sq";
431431 arch = "linux-x86_64";
432− sha512 = "ca15bb1c507726920c1d1c554da2c0644c388858e02b6d85407a589d6027391c1145b01bb18cb1bef1cddcec987d5445056b51cb21584e5d9ce41b9540198ce0";
432+ sha512 = "ab56c45406a753bd207e442677e84bf78768d0e99f2478ce85146427ce986f709fd228ee75eef1e82b1b0a15572a08128b1e069c5182a06beaed82afb3f5996d";
433433 }
434− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/sr/firefox-65.0.tar.bz2";
434+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/sr/firefox-65.0.2.tar.bz2";
435435 locale = "sr";
436436 arch = "linux-x86_64";
437− sha512 = "256b7b6526a9a80faf9bc754c65d2552572595c53322dd5a9b9ee04e923d2bdc42762990cc86b5cd9505d30952d311a9082bffbc90bb8e1538f93e43fdc36655";
437+ sha512 = "81b012abc78bfd115305e177690d9bf1128ee82100c1c0a52abf96addd8dd2e5ac43cd37e4734e830585fcc57a15c28dea7fca34f029140caa172b3a314312ce";
438438 }
439− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/sv-SE/firefox-65.0.tar.bz2";
439+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/sv-SE/firefox-65.0.2.tar.bz2";
440440 locale = "sv-SE";
441441 arch = "linux-x86_64";
442− sha512 = "66295fecef20013a4499f0641d0da2e691cfbe166a5c03734fdbf364717fa8c2b6434a86f2bae48485aa42aa74aa802f743a37c5d9c60218298449d7a8529341";
442+ sha512 = "eb5d0367686ab57303ad0809b1f4254ca00a7fd4096a2b989609d72a0c913817f15da8047fc4144e565610b3fb65e77981c08ae8cf2f6b70af8d3d1e6ab2b681";
443443 }
444− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/ta/firefox-65.0.tar.bz2";
444+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/ta/firefox-65.0.2.tar.bz2";
445445 locale = "ta";
446446 arch = "linux-x86_64";
447− sha512 = "a021bcf2be37488d6c03ada0f7e8662fc57163d64c51aa17b72bc0e23c56d0be1dccb7f1699735908455ff23d62988f6541cb265050612ffe3782129f0a7d65d";
447+ sha512 = "6f295b7c238dd7be10cc8369a0d864aa6df6e80ca0ac02c112188c7d5401b914b450ee2a6c27c50ec16c762b21f6fe0fb2db6da98c064b54709c32fa638e2b90";
448448 }
449− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/te/firefox-65.0.tar.bz2";
449+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/te/firefox-65.0.2.tar.bz2";
450450 locale = "te";
451451 arch = "linux-x86_64";
452− sha512 = "140d7b57909bc2f1eb34c88c8283b66183aed6647bea6164582ae45fc9a54c43b18a7455b60df37a2f7ef6028c92668810cb98d4a1bf3d9e6006a85ed2dc391a";
452+ sha512 = "52c4e3f37109bfa334001d887a0fec4d10f68c4b8d656358c3f9b0ac3b2c016fb6af7db63014319c1e83245fc6adf3dff2b1e7bedbc439a5079943768c4b7e87";
453453 }
454− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/th/firefox-65.0.tar.bz2";
454+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/th/firefox-65.0.2.tar.bz2";
455455 locale = "th";
456456 arch = "linux-x86_64";
457− sha512 = "ef73b5976507930a1290b2e7b09c90da219dd376f6e838fd821992cfd1973e4e0c1a21b6da523b050acfb303d8bc28bf29c15e517f36096a88888498a243f7e2";
457+ sha512 = "9f7329d3a5daa37bdd4561a46e44d80a9ee440b524f2a593836f2d8fa6b0ff4e9b8caade42dfae49d4c0a18a77fd94a2d12c4a2b4d06a8a248cca9fa6cc096d3";
458458 }
459− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/tr/firefox-65.0.tar.bz2";
459+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/tr/firefox-65.0.2.tar.bz2";
460460 locale = "tr";
461461 arch = "linux-x86_64";
462− sha512 = "00bfe75ff631f08452e3ecec45df2623a15c69ac1e3985b1765f61ba34a7e4ba1bffd62e3f004da83d101a1f78900938472203f3a3d0df3c694ce24e17bf55e8";
462+ sha512 = "f12aaf0932af544b72b0f5fe98c994940b247fb6ac1750f3018a641bd02a60e85a557a64b14ec0154e7f8bc78d6b20fdcdcc41e2df5de8d8887caa66fabeebc0";
463463 }
464− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/uk/firefox-65.0.tar.bz2";
464+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/uk/firefox-65.0.2.tar.bz2";
465465 locale = "uk";
466466 arch = "linux-x86_64";
467− sha512 = "8cab20c1a4cc960d15899d165ce0340e8f347155ce131d449dba8cc21bc9c882f8209b109330409eeab5ea149926eba6d0a2eb3a6689f98e4b99af1b4f7d6313";
467+ sha512 = "9dbb0a7d34692881a2adea48927dc30299e8165ae240fbbe4b45dd25e1266bcd3ac92b686ccaefdeff44667037053ffe38c65aa5c26840fe05ee5f1f31d300cd";
468468 }
469− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/ur/firefox-65.0.tar.bz2";
469+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/ur/firefox-65.0.2.tar.bz2";
470470 locale = "ur";
471471 arch = "linux-x86_64";
472− sha512 = "2265739a66dfd03ce0187decdc5472c2d773590314815e07f445e934ea8dddaea38c3fa44b7d05dd16bb21a0f6034ceaac5e7d277176503836165c6da04d4c8e";
472+ sha512 = "0d95db751ba90eafaf500577571710664a576a8314bea2d913c21c534d8e66f9fa7febaa1f25bc870c65ba551a601fde2bd24732e31f0279f7812ef799359f89";
473473 }
474− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/uz/firefox-65.0.tar.bz2";
474+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/uz/firefox-65.0.2.tar.bz2";
475475 locale = "uz";
476476 arch = "linux-x86_64";
477− sha512 = "226ed729da52643b6ba1728e761e69e6f6cd6949f394a18e67bd8b11558d87f15e7ff8a7c6e73eaa402c6839b1a78c34de8fa6a9a10b4f6d52b2a3e44cbad099";
477+ sha512 = "20a72a684afe12fff4f917e0b4f64fda015972dcf9eebbe710ca2b08e0c460c95f8a2392f71f5d88ebfb45e9c8d55b88e50459c7f4773601660172dceef8acdc";
478478 }
479− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/vi/firefox-65.0.tar.bz2";
479+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/vi/firefox-65.0.2.tar.bz2";
480480 locale = "vi";
481481 arch = "linux-x86_64";
482− sha512 = "ed82e87e9afb51d1a4ca78905cc672279877b3dd221e97df245b9ba30e77ee01e48111efbb6b1a21c652802339efdcd979d9d3372fcc18490e86c46e87a7f3fc";
482+ sha512 = "6b633da4795fee729a6ad1cec0773430b717642ca17af514c70c76cd867bf7619413c81742dd03fbbbcf16c74ed330bff850088ae5f0ee60538b4b14664ed6a4";
483483 }
484− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/xh/firefox-65.0.tar.bz2";
484+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/xh/firefox-65.0.2.tar.bz2";
485485 locale = "xh";
486486 arch = "linux-x86_64";
487− sha512 = "e3554422c28e6e571cf77b2db704f447e0120429d859150a5f1061dbcffc0227e9f1909bbd38aadee61bbc090f6316192948970531fab9388e15d92d581ae27a";
487+ sha512 = "06754a3151e2ed3d44973e1352577234711b4a48917c32270f537ff1c504ce5f494c57c7bc2610e2bfb5f7489dca8954545485b2b436c190be90f6c6cfd384e4";
488488 }
489− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/zh-CN/firefox-65.0.tar.bz2";
489+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/zh-CN/firefox-65.0.2.tar.bz2";
490490 locale = "zh-CN";
491491 arch = "linux-x86_64";
492− sha512 = "3ec0e98f1b346a9a79c04e86f260f7fafd6fb4f3e71cd5c9de0f8a6f4854c5a67fe694cd2a10deae5f6e4b4e48da320b71b3b925413d6def030b00c7ba3bf60a";
492+ sha512 = "b821661db136549c2653321e60d78438e2e28b2fface6c456dd6a587b8344f720aae13c21684109c058d3273a9c522bcaffca32e9a8e424b544276c407869a37";
493493 }
494− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-x86_64/zh-TW/firefox-65.0.tar.bz2";
494+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-x86_64/zh-TW/firefox-65.0.2.tar.bz2";
495495 locale = "zh-TW";
496496 arch = "linux-x86_64";
497− sha512 = "84cd355bbf75a2d51f7014ad0d407664a5daf5bc5594e9f7a5e1b5cd1c3b5abc91e8acfa8b8972fea94c49149d6227320861d8e2751ae644893167c210360784";
497+ sha512 = "edd2b9c4e343ea7eda411c7fb2d13fbacc0d06e4d2821dd09dacf17cfd5a0bc948073cb1e7cdcc1a6298c18e3b12fc1bce04e95de48f44ec2c97c5cf638bd0a3";
498498 }
499− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/ach/firefox-65.0.tar.bz2";
499+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/ach/firefox-65.0.2.tar.bz2";
500500 locale = "ach";
501501 arch = "linux-i686";
502− sha512 = "a0aaa0d89be1c32f1f211e813bf42c3cdc1aa21f0980b2a13463227141f92293e05d144cf861b28dd66bf296b39f3c939c951c6997aaa9ab1c984e1adaf5422e";
502+ sha512 = "2cf4bb119fa3c8ea4bdf06646bfe423f8b78ba78bbcc4b3d2e659aaa5a1ef6ff10e25b2241f70dfb680c63f8964f6f32912aaf5f5124ecfc31eac804681b01e6";
503503 }
504− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/af/firefox-65.0.tar.bz2";
504+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/af/firefox-65.0.2.tar.bz2";
505505 locale = "af";
506506 arch = "linux-i686";
507− sha512 = "4a2d43d08a608a7f91370bed59a57a80359e7cfbf71141a1c960fa035a93fcfa2b2f06711dc2523a9d4aae85f9d23a886930922c9ecd717c45afee17a68317f9";
507+ sha512 = "7d6ba5912a022dbb2e567897d4ba544c55dfea0aae4cad5c6b3b9a9a09c7a96f2deab479817c64b9ac489e5bafaa38358e5129dd7e89cfc649b37ad04258899b";
508508 }
509− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/an/firefox-65.0.tar.bz2";
509+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/an/firefox-65.0.2.tar.bz2";
510510 locale = "an";
511511 arch = "linux-i686";
512− sha512 = "94cb4579e466e44c134308d9e8bc87fdeffc69f149a31e39d8e185aa86d14932bd41920a6106011a5420bd89b0d639d6fc7416caa53e701373d69a52eac4ceb4";
512+ sha512 = "b31b10f893c7c481fd198a905cf6b1785819be1642a51eebfa1eefa9719ead33638e46cb80847c6beb6c6d26db3fe2d78ce32e80076883ba03d497d779a539d3";
513513 }
514− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/ar/firefox-65.0.tar.bz2";
514+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/ar/firefox-65.0.2.tar.bz2";
515515 locale = "ar";
516516 arch = "linux-i686";
517− sha512 = "953c47a4585da68f7385f1de7e788fbd0f025434f6f7fee3cc4f8ecb2fa5ef4d711b856fad368fd58b9a655a74e178b29cf5e40403571e36fabebae22d825071";
517+ sha512 = "8392022e368d7dd3b298fd611a87d0b3184bdbd86d66cbd7b90da728a8bff76bec924f360a5bbef078f1e1863cad1f6e33891740a0c991ea59a14995f42b7083";
518518 }
519− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/as/firefox-65.0.tar.bz2";
519+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/as/firefox-65.0.2.tar.bz2";
520520 locale = "as";
521521 arch = "linux-i686";
522− sha512 = "27008ad76e1a6dc3165a65fa4f3ec6570b21ed17761878bd51c6eb2d0f9592f482ac2ae77c85dde2794ac2398a87bf7b6857d241ba6f70507e322a47b5ba879c";
522+ sha512 = "4d784986c66cea77b6d3934de48b53ef7c4e1b9d006b8e345204d2fd5d4513f2a9460f8ee990a5b64d2e87830d5f3fa4c39c25f8b4d4dc4a193666315e416907";
523523 }
524− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/ast/firefox-65.0.tar.bz2";
524+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/ast/firefox-65.0.2.tar.bz2";
525525 locale = "ast";
526526 arch = "linux-i686";
527− sha512 = "a6ad5ec3380bc571d4b9bf486d07933996ef12d0fe18030e0decc9b30a3a1827c4ef41d48bb576ac18b5f498e3286aeb8facfc15e76f763bfba5756a4dee34e5";
527+ sha512 = "9fb264076f32676095f073760bf0159772959250db8cf0bb9b17f4e43fddf856450813723138c776bbdb971edf747ae509923c6852c6ae67c1267a2a555c55b3";
528528 }
529− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/az/firefox-65.0.tar.bz2";
529+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/az/firefox-65.0.2.tar.bz2";
530530 locale = "az";
531531 arch = "linux-i686";
532− sha512 = "d78e00aca8eadbf3008ee89d10495a2dc462598bf3b7a508c4147c97c77861b60681ceb8238c9b22d65498d177b0c230584cf2b9a3d9f0da31a6197254b64c56";
532+ sha512 = "ab2146095b2ec9abdea36c7d195f10f19a08d9048ba36908c9dbfcfde7ed50f99145eefa4c144791e8b3af740fdcf7099b87affa49ab95f0def752fc3c420d09";
533533 }
534− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/be/firefox-65.0.tar.bz2";
534+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/be/firefox-65.0.2.tar.bz2";
535535 locale = "be";
536536 arch = "linux-i686";
537− sha512 = "2585be70036521dd83f68f6f4fb4cf19713c2ff26a4f6907ff01dd0a8216127037f754041637608f715ef14cfbfe7271b4e0632dc26e351b50c00e8eb08358c8";
537+ sha512 = "3728b7e679c7c45b99a627cf7890d6e25d5706050f09806bf4f00e1241182afbe1af31e40023ce121221992700107d505c34a0ecd6f196d62a332b7294953fb9";
538538 }
539− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/bg/firefox-65.0.tar.bz2";
539+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/bg/firefox-65.0.2.tar.bz2";
540540 locale = "bg";
541541 arch = "linux-i686";
542− sha512 = "54d4b4096c679f10f7fcea13302eac7119e4a02f693a8c4880bebc5e4fd331ddef7f66ed67a7585f47f302274e977df237b25c2e0c41bae244e18a4d32f2f0ca";
542+ sha512 = "185fa90fcaac84a2aa3b6e88db7d487bbfc1f9ff76d7194f49d2e0cb5d1cae5ae4bec8b425133d570675a34d6b18c65813b503b925ba24c1367fbbc95cdc5302";
543543 }
544− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/bn-BD/firefox-65.0.tar.bz2";
544+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/bn-BD/firefox-65.0.2.tar.bz2";
545545 locale = "bn-BD";
546546 arch = "linux-i686";
547− sha512 = "9564b72566f535061c5ce2d7acffeaa049e8021adc6dce964c035c55cc5d118565dad54c933db771757429bcb81412a71421cbd52ec2f939bc47957f3e05d623";
547+ sha512 = "12c914e036850915af83d2c3a87a624d7868377ecb8b8fbe3e7ff7fcc3971e1c42b5414090f5231a94520cc69b10b5eeb99ec47793bb1217fd617fb23dfa5833";
548548 }
549− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/bn-IN/firefox-65.0.tar.bz2";
549+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/bn-IN/firefox-65.0.2.tar.bz2";
550550 locale = "bn-IN";
551551 arch = "linux-i686";
552− sha512 = "e43676d023a668d215f39b084007812514ff663063b3a16fec72aa79e801a2463d93b292924687341be96101c58954465762dd68a4f44bb18c5f322f59beee3f";
552+ sha512 = "a0478e32cc60539a3da86ab01bfc3236b54936663fe446d9d520a80644d08880d04b331464a78b80a0772895ca577e5c7c12477a61eda50a77460a599fdf6520";
553553 }
554− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/br/firefox-65.0.tar.bz2";
554+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/br/firefox-65.0.2.tar.bz2";
555555 locale = "br";
556556 arch = "linux-i686";
557− sha512 = "a1321fd5a1940f50eb7dc98feb6ca2795ff6710b8de7874d0726465b66ca5e1c668ec32da3f946511a21e96db8a3851cafd3ff8fe395accd68a3fe730069c6a5";
557+ sha512 = "a8953022563c976ed1b75d18f3dc62516b2a15b34c85b87c22279d783a61b6980ff1bd241afc062511568b2e1b397a6fe6e27dc602ee2bf5f2be6abed2269316";
558558 }
559− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/bs/firefox-65.0.tar.bz2";
559+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/bs/firefox-65.0.2.tar.bz2";
560560 locale = "bs";
561561 arch = "linux-i686";
562− sha512 = "c3dec84a9a667046d0509e4c09f8a17209753969c6d0d6aae56fb718f53c700a7d360759a0f04aaa1a575961e1fc70136478ae652b8e6d845f1b5df61c8b4dfa";
562+ sha512 = "740b97e9e259707c13461181f51853ac1f5c392e645d5e9b9c9ff3e3133957b033ec9dbf2dfe016d5ebbff258dbf8a0eca2c3c03172c7391169af7d2662749ff";
563563 }
564− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/ca/firefox-65.0.tar.bz2";
564+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/ca/firefox-65.0.2.tar.bz2";
565565 locale = "ca";
566566 arch = "linux-i686";
567− sha512 = "6cebac4c11740848e36dfbb1237816aa1c9c7a698423c7d73e268c74a7407e10107ff8cc8802fcc0bae8c327b4ee6e559067fb78c81866de753ea781fcc10cde";
567+ sha512 = "2f50f8b15b0d68e069ebd34723215ed0b602f977f3858b63914cbdcb8e9fd8a67444b3bfb20dec375e6268132fc83e6608766ad6c331ae4cf54702d8b18528cf";
568568 }
569− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/cak/firefox-65.0.tar.bz2";
569+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/cak/firefox-65.0.2.tar.bz2";
570570 locale = "cak";
571571 arch = "linux-i686";
572− sha512 = "af6623230ae20f3dd7915cb395a200dbc7a5a7358bfd634e4428f978da46ac245b2c8faf0b6f2c0655b377f4472d67b8ce8bd6383cb1993dfcb407604f916413";
572+ sha512 = "f17206396704de2fe60ed793e77691c36e9c95e8fa1944b9754684303742721a0916ce2e124569321fb65b2a305e14aa1d3b01450cb85af7b8d5c6485c4387ce";
573573 }
574− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/cs/firefox-65.0.tar.bz2";
574+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/cs/firefox-65.0.2.tar.bz2";
575575 locale = "cs";
576576 arch = "linux-i686";
577− sha512 = "854636af5f2a07f2c9cf86549c59f76df6d338f44c02970ed8024519fd8d7ed4e8f2746f62f009fe7cf8d72dc8a57fbb9b62fe8cb3f7f9218e8ef7f47f674730";
577+ sha512 = "9f2f1d9c7946cf73745f0d421d994a8ae80cf8288717396b7d3208127e2c01ac652e15dec55fef61147b08d411b67e25f39013079856f4af7ac4df1185006fa2";
578578 }
579− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/cy/firefox-65.0.tar.bz2";
579+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/cy/firefox-65.0.2.tar.bz2";
580580 locale = "cy";
581581 arch = "linux-i686";
582− sha512 = "6ec88891cce5878022e377da336010c8818271a4cc543341d2c0585a76184d5ea80f0712bc6a9fa18008670603103136da3195ddb2f7be6d94b4940e3307cb9d";
582+ sha512 = "b54bddaea5e428c831e643f16a3b069b82196c5dc586f8c554545c64c493ac94e30841062d4c0bde59f392188aab9c53591f7a43d2e185c4398baf6c938cf590";
583583 }
584− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/da/firefox-65.0.tar.bz2";
584+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/da/firefox-65.0.2.tar.bz2";
585585 locale = "da";
586586 arch = "linux-i686";
587− sha512 = "d6db78a1e930304bf3629a02637cc2ae375d486654fdc4ed9e4d995049aaae402c9781ac72c6764084df3c87247fa8ba0ded438dc44955e84d90735733e84e89";
587+ sha512 = "6fec82f8d2be71709f6d8ee48d1343797cd261ff444e915444838d492a8e2336aab13139c2bc4e60f82c72093f9330f6de4b33f0585900c001c1a02d8f3fb97e";
588588 }
589− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/de/firefox-65.0.tar.bz2";
589+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/de/firefox-65.0.2.tar.bz2";
590590 locale = "de";
591591 arch = "linux-i686";
592− sha512 = "5e5a817987239c402d141cc7d42a334355b00facc68be1b89c2ca271dc1e9d79de5953dbc1da49254c1c03fc8afbd02cb1258cd2a238007ccb69601c860137b9";
592+ sha512 = "3ef922f039856a46a9e3647775315f0e91d007ec34cba95bfd70c813b1f983402267994469d147dc9a5b18dc5fd3edc1afa4c8eb90f644948776ba9cfabecee1";
593593 }
594− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/dsb/firefox-65.0.tar.bz2";
594+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/dsb/firefox-65.0.2.tar.bz2";
595595 locale = "dsb";
596596 arch = "linux-i686";
597− sha512 = "6eda625b31d0ee8f7a245b6a0e769a4a35fff4352d1b33c668a0187708db892a317150d8744d65912f265cc68d72e981f6f26b781782a18f3c7691f746f0cb3c";
597+ sha512 = "56b66537704492890779c130ac88bc54bb8708cfdfedf946d3c940fb6bd4a309a9fd3751ced2778da7fd7b83fe3b7605129aa54ac0f9699fec742ed42a77ce67";
598598 }
599− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/el/firefox-65.0.tar.bz2";
599+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/el/firefox-65.0.2.tar.bz2";
600600 locale = "el";
601601 arch = "linux-i686";
602− sha512 = "d9cbd4b31b216ae65c6cbcb633965fed19010d5b26fb7f1e35c5459cd1bf31b1ceab572056b00bbfd72b5a0d2f126fa3ebc2bf05acd7216e1470370075f6eb0b";
602+ sha512 = "58c4280f87c6f47b458d6cbce70400cfdd6f4786526e926e56e90e5a2099dae2ac651bbd7678221271fbd3a9d29b3dadbc780e12775741da96ee9edaee7831ee";
603603 }
604− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/en-CA/firefox-65.0.tar.bz2";
604+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/en-CA/firefox-65.0.2.tar.bz2";
605605 locale = "en-CA";
606606 arch = "linux-i686";
607− sha512 = "b69b7033af141d38377d76202683a5ce362cd8f52f7d01d8d04482908279029a9fe4fb7129e4ccf409eab1eb081d24764a9ae1519796612ac524857a3fc37499";
607+ sha512 = "6cf531ae9fed2eea5aa5e7285ef17023ffa203017ab19a85043c514856d14cd3344e5d16ad8e29e27a05c5e760d80f93aba16c29a7611116d1cf6e33759954d8";
608608 }
609− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/en-GB/firefox-65.0.tar.bz2";
609+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/en-GB/firefox-65.0.2.tar.bz2";
610610 locale = "en-GB";
611611 arch = "linux-i686";
612− sha512 = "3eaa085b84924d24c3e4726fc2e7084cae6a90dbc784d157b7f94b50fd49b02e49d736ae49330a2795938487842a4a8e128ee95d876e73cfdd1ec3c959205bf8";
612+ sha512 = "b254123edb635c0630baf0781f1f0b9fd98c0141bb25af7acf94bc5a23eaa1bd2398a014e929e2b1abb8ef4f7250a518f11021be892a4ea3913777030f421e49";
613613 }
614− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/en-US/firefox-65.0.tar.bz2";
614+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/en-US/firefox-65.0.2.tar.bz2";
615615 locale = "en-US";
616616 arch = "linux-i686";
617− sha512 = "d7d8d14d25e4864fe3707d4d2ba7895556b92e2f375b237c73aa011afd952d3163e8492db8ec150337bdcb440c935917b3586240b44c9a5beeecbde545ec2821";
617+ sha512 = "41b7b2013b76dafc977c4d583e5094f2a7b10e27bea63dacb5e29e31bf323332965cfaa3ea23e4c75c6001b76f93bfe417b4567afa908e218d1c8ea6662b0651";
618618 }
619− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/en-ZA/firefox-65.0.tar.bz2";
619+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/en-ZA/firefox-65.0.2.tar.bz2";
620620 locale = "en-ZA";
621621 arch = "linux-i686";
622− sha512 = "ea47abb33631e7d32288a9610d1c9d86f6414867206ad4923d23e8bd2107105a786570e1ef0f253a2ffb90fdbd890c033dcef0302a2a3145d77af51a0f11c0d0";
622+ sha512 = "628bbc34b70ef97fafb7783dc0fbe3232617de448e2b40d616a7fad34bbf484dcb405c73b850083807b833ef3ffecfc255bd21fef82b859328dd22bd08d92ff2";
623623 }
624− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/eo/firefox-65.0.tar.bz2";
624+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/eo/firefox-65.0.2.tar.bz2";
625625 locale = "eo";
626626 arch = "linux-i686";
627− sha512 = "a656bddeab181d503342d0015ab1feaca887894c3335a39f1b4fb3f53c6dbed4ed7ba867e51b478ed651e86e152c7135fbd4419a451a35a5e8c11c82887ea1f4";
627+ sha512 = "5069085f1948e55701955ace57b2803a8051ca8abf48c97aa43a9c4c693d711014176de7839b4e3594151c1dc47d49f0891a90882a6849bd92ca47c662c5e0c3";
628628 }
629− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/es-AR/firefox-65.0.tar.bz2";
629+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/es-AR/firefox-65.0.2.tar.bz2";
630630 locale = "es-AR";
631631 arch = "linux-i686";
632− sha512 = "404ef7313904ccd11b8f4885bbf13f3f9c2123fc3789bf983ee225cbee9542b796e700bee82dbb7b32b11f3222e1ac9a39b8a0712a6746e6557eabf7979740db";
632+ sha512 = "09ac4e045b054c9208c2de854078351a8ebbd426b0099cfa14edab26d147c33240bd0f987e5193150a6a10fedc9e32bd854f94c0d362ceab9ec7242529a4ec7a";
633633 }
634− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/es-CL/firefox-65.0.tar.bz2";
634+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/es-CL/firefox-65.0.2.tar.bz2";
635635 locale = "es-CL";
636636 arch = "linux-i686";
637− sha512 = "88b89da9b2d529cf7be8c9fa464fb17717e3f40f8b77bb47843957731aae4e59dd63f691af8fe863d74cb2db6e1fc9e66b514920dd50cedbb6e2a1646ce92df8";
637+ sha512 = "ff978bb6b1aff04f49d0ee6dde1b469b6f5f506c2212334de1e67c0d4ae78aa96dacfca680efc0f08ad1fe0f9c6e9836d9e3e95feb9af98652479d0d705adc17";
638638 }
639− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/es-ES/firefox-65.0.tar.bz2";
639+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/es-ES/firefox-65.0.2.tar.bz2";
640640 locale = "es-ES";
641641 arch = "linux-i686";
642− sha512 = "33444d60e3366d9875b22b2e99fa8ec674446f78a122c3b0719373a7abc55848bdadcb9f800ef1790531c9b76993ecd80d473dadd838867870f105b5b36a0d7e";
642+ sha512 = "faeea7da93774a1bdb8e8af888b1ea4d8fd3373f43cfbec489559f1030d6e037db1d2bde5283824b55cc7fc0ad9c05636d16beb8249f1058ba89832ad4f8f638";
643643 }
644− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/es-MX/firefox-65.0.tar.bz2";
644+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/es-MX/firefox-65.0.2.tar.bz2";
645645 locale = "es-MX";
646646 arch = "linux-i686";
647− sha512 = "f7d1e5a691a8e629e11059a9bc367c1e91c525a0ed69d88bfbecc3aeb22ebe668c1bb20f307f2256d3782f804490a77ce45cd2a8f55cb547e314b327973b8d74";
647+ sha512 = "2f92d439bb3ef70d11eff857d3a77b9a123bf3361e7db2258d9a2b8bcc1b3277f4a8825db8771c9214ccf347e35b7d9d2d667258f329c36f38f1ba8844948eb8";
648648 }
649− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/et/firefox-65.0.tar.bz2";
649+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/et/firefox-65.0.2.tar.bz2";
650650 locale = "et";
651651 arch = "linux-i686";
652− sha512 = "2399846600fe912de3b057a18b857f688ffd39692b9db5d2a7f70cd31dd35d8c1e09f4b73f058ce61808e22a61033963ed97e029a5170662043f684985e1a82d";
652+ sha512 = "7c35b814d91a310151a6e4e3958b9d0f243e4a49ee66ee2e66d3c8240c820426bc50d9ed33fe86fb8a2cbd18e54d01d4f51b8e453be97168ccdc7f82840b02d4";
653653 }
654− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/eu/firefox-65.0.tar.bz2";
654+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/eu/firefox-65.0.2.tar.bz2";
655655 locale = "eu";
656656 arch = "linux-i686";
657− sha512 = "ffcce3c779c0f139bc47eb1b9782436db17977c6e3b340d0996d228a746d843a1927cdbebbe11955d659b1d39ca285e357e6e41cde09652dd762192dac641ffd";
657+ sha512 = "3c525a897873d354dd6e6d3180c84f41f98b5b707036467e1b0ee2be49179457238844ccb3b3aca37393c042d7ba42fc7a68c2514316ab2d70291f2776882a5a";
658658 }
659− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/fa/firefox-65.0.tar.bz2";
659+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/fa/firefox-65.0.2.tar.bz2";
660660 locale = "fa";
661661 arch = "linux-i686";
662− sha512 = "a875e2a656a375f4ccd370078c73e72f8c6a1cf629db277b18928af35be74e10724f7bed1846d418266dd8cba1808a54108aa2a14acbe49a60b8c6d2ec6cd9f5";
662+ sha512 = "c3b5c4353474fa6300ab91948dfbae69a452f873e441139e2d3c0f221119ec9471ac34df1d8c7d9b3ced6aa494db8d35504ef150672afa47370c04b2cf393e86";
663663 }
664− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/ff/firefox-65.0.tar.bz2";
664+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/ff/firefox-65.0.2.tar.bz2";
665665 locale = "ff";
666666 arch = "linux-i686";
667− sha512 = "da41d26230041bcebda837d8d4c871f199b1ccdf6d872fb8024bcc4caafa57c2e409977d7c99b443eed8e2ea003210bb6564d8cd3666775cfa88336122b82b74";
667+ sha512 = "da475aef7a7915bf9e3710163b5c4923091d98c904c5f5527ba1398e57bd7946613e71339550986c7dca26d0b6830ee35beb0fa085b9df3de88492daa76c5706";
668668 }
669− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/fi/firefox-65.0.tar.bz2";
669+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/fi/firefox-65.0.2.tar.bz2";
670670 locale = "fi";
671671 arch = "linux-i686";
672− sha512 = "bbb3feeb706693a9f9f9733f9fd3b02aa8114b313af2a40ca00e22a30e8046aec58f91a0d47d6b3b83bec33f118dcf5f0b9f097560f32324ea9deed23b673ea0";
672+ sha512 = "82a47919d917d3d614b87b1d5975a15c328f37f44b64dee4689c16df2b24d2c8414a4966a918f5d45443d0d1074574c60a55ce75dc018ebf03a3e1184b39918e";
673673 }
674− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/fr/firefox-65.0.tar.bz2";
674+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/fr/firefox-65.0.2.tar.bz2";
675675 locale = "fr";
676676 arch = "linux-i686";
677− sha512 = "877f704b152b18163d4dd4962b634b9ac3e8bc218ec8e6a53ae6c13991a06c84727c20012e820213a3698257f53d6007c992e7cf9885503358a46d236a8b18d6";
677+ sha512 = "359d6edb4551e372ba9c5fe8d41e5fe6b1fade343394a3b78bb12b4bc04a0467c52e1abf615b5618942e82b8cab888d1cdbcd8c912641a3be8361ad17b7b034f";
678678 }
679− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/fy-NL/firefox-65.0.tar.bz2";
679+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/fy-NL/firefox-65.0.2.tar.bz2";
680680 locale = "fy-NL";
681681 arch = "linux-i686";
682− sha512 = "494c5ae227db4c468e5b66fdc480ae0d9adb25f28d76ebd94fb630c096eded631e44af6efd5586aecd5ebdf62f1ed307086f9bf7af0395ca6cb599a2eb9d77d0";
682+ sha512 = "c11429298425aca937f2a17c7e5d3694af6e30ab86f830fcbd4589115a4d1404590bdcacca2d55fffd36dfef8e2c07299045a66268f504107361ba4f36f0c78c";
683683 }
684− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/ga-IE/firefox-65.0.tar.bz2";
684+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/ga-IE/firefox-65.0.2.tar.bz2";
685685 locale = "ga-IE";
686686 arch = "linux-i686";
687− sha512 = "3e9e921fbaac835dc8745d3e3b46914fa79f64e65d412a39b659ede44ff9810298c8240966440e82a949191ace2207b7e7684530d930d0d1913913a320419c81";
687+ sha512 = "8455bc4817e172c778068ef7eb9933add0ac885cbc2a814799ceaa8f742873d60f679082946b29eb17139f7a83b22918d1ddf9a0412bc7b04e1385520174d5cc";
688688 }
689− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/gd/firefox-65.0.tar.bz2";
689+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/gd/firefox-65.0.2.tar.bz2";
690690 locale = "gd";
691691 arch = "linux-i686";
692− sha512 = "b71e3a6f1f060b3132034c435b54a735f8fff377646420b408482cd6dc5440957782aa530285f8bf7d51c56d5df8532cd0fdd826fd8f1faa06ad0badb48fd35f";
692+ sha512 = "475b39cc16099f22844ac42acf4908934150ebca132377b5fe3bfb8af7a3e5e57f3bd5ace7973884bca07e4b16678b74728bd7301056e74e6328bd1ee60c4bb6";
693693 }
694− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/gl/firefox-65.0.tar.bz2";
694+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/gl/firefox-65.0.2.tar.bz2";
695695 locale = "gl";
696696 arch = "linux-i686";
697− sha512 = "ba2dfa015a3de26750c8b59f3bac8ae395bb36435b4b00b0f30a6a09012c36986c6ab0a7a33d74def2e3cc89c04d34d0d9b65e830502f59b7028fcccdbb43519";
697+ sha512 = "233587a44b26fdfb728ff6102c56f2cfdb91167283029f8eb41956cfd0bbe6388770b47c5a20d61ab4a5745b9cdf33d425f0455675cdf101ab7a0e500524f22f";
698698 }
699− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/gn/firefox-65.0.tar.bz2";
699+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/gn/firefox-65.0.2.tar.bz2";
700700 locale = "gn";
701701 arch = "linux-i686";
702− sha512 = "24735e13619217c444d6ef5e89f765baaec014a56a5929b0cf4df1d5401a673965bc058d440d80cfef9efb0112cee600ea8e0e030c2f5c40ad738e0c8243a6fc";
702+ sha512 = "ba00d9399e9ffcf42a9ee0e1f326b69471e23a6e15724e8ce1153385c1d01ca1d3a100a728367b9b7046d956bb18bfd0b78bf5066712ec6c132f9e31de0030f9";
703703 }
704− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/gu-IN/firefox-65.0.tar.bz2";
704+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/gu-IN/firefox-65.0.2.tar.bz2";
705705 locale = "gu-IN";
706706 arch = "linux-i686";
707− sha512 = "e32a73588df2630bdb6e36186eddc7920e5866d1293f9bd7b8a4ecdb9a2d504e4a46810856a731bcdf5bd7852ce6193694330804a58daf82029a9070d2d58542";
707+ sha512 = "e25ece6adaf47b357be37eed29b75f80294b4b5e99bb3b3bb528c2bf3faa92125cd26f60825bf3006f96f6c7c8f1f8f8f2555e58b4d8c0a7e675cb4d8f940b48";
708708 }
709− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/he/firefox-65.0.tar.bz2";
709+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/he/firefox-65.0.2.tar.bz2";
710710 locale = "he";
711711 arch = "linux-i686";
712− sha512 = "467c77c045760b7de01d0bc25c36527c0cebefb627346359f8b1fbc67d0678d31fdb3339998a596bf183e12378124479b171bcb4b6b8f2f7d10e3215f17e7f42";
712+ sha512 = "75a797b2091e91b33714023273eff77d1327037d184b00feb5f0579f33ababf5e51960926b1b016331008c9d152263115e86b0c1184124a93b55376637676bae";
713713 }
714− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/hi-IN/firefox-65.0.tar.bz2";
714+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/hi-IN/firefox-65.0.2.tar.bz2";
715715 locale = "hi-IN";
716716 arch = "linux-i686";
717− sha512 = "d879dc631888b32ae06b5f99f1adbdde32e76a5bc3150bffe8f326d0728acf2d9d1b8443657194f2d5c26819017365be6af5525ca9d1b4324eff57b43eb77790";
717+ sha512 = "7cc281969b23652509ec3b622896b2e0090168e1d9b40fc4554bb4496e6db2164ad2b10e028bddba803fd3bf8c468902ed0b641ecfa93493a660fcf9c31350da";
718718 }
719− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/hr/firefox-65.0.tar.bz2";
719+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/hr/firefox-65.0.2.tar.bz2";
720720 locale = "hr";
721721 arch = "linux-i686";
722− sha512 = "dec69bf3795f99a070ad268e62414d7ae63f8c747a205289600c4ec4feda63aeffa6398802cddf6787fd17e735f376ca4842457ff45a9cb72c912a2b3cdc6cfe";
722+ sha512 = "86eaff0c5dd24464641c635e0287c1b7f807264defa33a4731ec66ef5a26045f1bce6b5fee0268f0bb8bcd3b6f8e2a4fb8a589889b61ddd2cc9e484144c97b9f";
723723 }
724− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/hsb/firefox-65.0.tar.bz2";
724+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/hsb/firefox-65.0.2.tar.bz2";
725725 locale = "hsb";
726726 arch = "linux-i686";
727− sha512 = "120247d2c6bbf44a453a9afcd9175a41c2ba2b927286b33f749f51b6ef4aaa993f6a6d4662ad1eff56ae736ca91d742ce64260de12b493c9dbfc52621dc81b3b";
727+ sha512 = "6b09444c0b7c97aa7738f091db78cf2ba4ff73aba581a4e3aa9f84785525d01b97d3045627efba3ad0b6a3817cedf718b5f75c150c0ff99f7e029ab17fa4e8e8";
728728 }
729− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/hu/firefox-65.0.tar.bz2";
729+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/hu/firefox-65.0.2.tar.bz2";
730730 locale = "hu";
731731 arch = "linux-i686";
732− sha512 = "fb9579d7abaab1208ec5a8a8172d57801789eac83445413cd2133c5785515ebec01824dcb76685d5c8507048025c4f9a16fe7f47233a4c5dbb0bd76fe74b6484";
732+ sha512 = "bdce28957e11019117231e9c47e615da082f43859aa39de9c7e0e12e70d25ca1ac6ebb660db687a80a07e56931b178b07826e417bbed85f4d949a5e43e3bcf55";
733733 }
734− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/hy-AM/firefox-65.0.tar.bz2";
734+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/hy-AM/firefox-65.0.2.tar.bz2";
735735 locale = "hy-AM";
736736 arch = "linux-i686";
737− sha512 = "28f4436f9a977edd4b30519b98c1842724323df3fe638979839a87153400e806e22d73c9203eb0a2191bfaf4a389d6ea26bd81d498963aae59c926375a61cfa4";
737+ sha512 = "9f79f5f9b19a8eca929c86e882015daebc892a71d60db28c3656d47abfe5b9919a5838dffc25f1144d390f3b5bfcb15dc230129f021468bfa73a269159e09e8f";
738738 }
739− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/ia/firefox-65.0.tar.bz2";
739+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/ia/firefox-65.0.2.tar.bz2";
740740 locale = "ia";
741741 arch = "linux-i686";
742− sha512 = "1bb69219eb12abe2d731d600dfe35511cde083de13d2277868970a52a77a558d5dedac074a45f3bed3d01e18e2b7c5695d4831638ad194217f977efdc38f3e6b";
742+ sha512 = "4a1de2a8f3adebd03ba066701ef92fb4b77913f2e881c3fe0a2f62977642317bfab73f083393028e2d335e005698ba04dcaa4e3ea0742a6d96f4b6fa55b125f5";
743743 }
744− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/id/firefox-65.0.tar.bz2";
744+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/id/firefox-65.0.2.tar.bz2";
745745 locale = "id";
746746 arch = "linux-i686";
747− sha512 = "87698f7d5ce9f074b2dbcdce00fe864f36621107df7422e053b0db6ae76947238784f7ca0a045517800d3a936e065cca3e74e6bd9cd04a265d7eac3cf2e0ce4e";
747+ sha512 = "c29b87e448765bd1073ca54a507c38abb6fd3780d98200de4b63c224073df2229a9d1e1e5494afaf3b6b591b0521efaaa197da9a134103094fbedd38f9e019df";
748748 }
749− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/is/firefox-65.0.tar.bz2";
749+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/is/firefox-65.0.2.tar.bz2";
750750 locale = "is";
751751 arch = "linux-i686";
752− sha512 = "b1ef9f02c286a0ca274367394f72b980b9c59d45e4c629611c3c7dc55677e90bf9f44003038740b22d660e5e950c489acc18ef7317e67f211c629f0b86017264";
752+ sha512 = "ae28a51d0f6ed7eab333bac1c780e18d3c68036984dfd87613a807822a07879ca0ddbd83c4b745a887c1d67228f542b363db7f9a51968b3cc9412e7bb6f21e8f";
753753 }
754− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/it/firefox-65.0.tar.bz2";
754+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/it/firefox-65.0.2.tar.bz2";
755755 locale = "it";
756756 arch = "linux-i686";
757− sha512 = "8507dba0adcf5ecee9224e0b8cc20b5f57ce1392affde80486a3389e04b1cb1543208cbaf151b56ed26e6124af863365805a242c6d1106842fee8547363ba11e";
757+ sha512 = "0fbc4de6977212bf316fd31130abc18354965c430802c42431eeea5ea3ac146d17acaa65e5b37b4fec0ec6237766f710f3c9e57870c60fde3b015fc7eb6024e5";
758758 }
759− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/ja/firefox-65.0.tar.bz2";
759+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/ja/firefox-65.0.2.tar.bz2";
760760 locale = "ja";
761761 arch = "linux-i686";
762− sha512 = "ea41d66d37174c936b56a3bb86d707657814eba1e99daff7be915a4ce53e35ee64d7ce6c2da0d640fd101b7cb79ea41bb49b4dac144d8741b9f217a2a042f85f";
762+ sha512 = "d79530f80bf872aaa53abaff3bd8ab134f0b05610e0b03545016b35b375dba5e9b8fba929964a7ec8fbfc0bc0500075112db6d7d5e3780a876c34ee45db4b268";
763763 }
764− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/ka/firefox-65.0.tar.bz2";
764+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/ka/firefox-65.0.2.tar.bz2";
765765 locale = "ka";
766766 arch = "linux-i686";
767− sha512 = "793cfb78a809f8e7acefba260197665980b8b5aef599d9a3a2dceb4e8dc83034c98ed04561abf9e4e6740859ce07f647e544d2bb4244b505ba248c8af3147403";
767+ sha512 = "cdf6e3bd125a0cda7819f98dac0af463ffbd826bd8b4deb0cef3f232c8e8e9d80fe2dd940b912db7ea4e04eb54e7cbc93ae1a31502a20def9efc393d67cdf9c9";
768768 }
769− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/kab/firefox-65.0.tar.bz2";
769+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/kab/firefox-65.0.2.tar.bz2";
770770 locale = "kab";
771771 arch = "linux-i686";
772− sha512 = "50ce6f27b5ca77048600db7d1f50c04a363dbf5118dc23b06395ec2fee401a205725aaa99dac3b21b5660fabca3ed3bff2a996a15ccbca4d35e73553f46a97a9";
772+ sha512 = "738b850e92b9ec6ac23f6b0621f9a81c4d9dd79229270cfe6313f71051a7eea2e738cef6b871e4795dd045a79e1b03084042ebc1d90ff7941e24bd913abf3c90";
773773 }
774− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/kk/firefox-65.0.tar.bz2";
774+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/kk/firefox-65.0.2.tar.bz2";
775775 locale = "kk";
776776 arch = "linux-i686";
777− sha512 = "8b5de334b237751201679b8d54f2de5ee384182395cfec120bc2eddaf443e0fd896c1594e92e2ba71943f2020fefe44b691e2286fe9ed1c21d3fc9e11c763300";
777+ sha512 = "f66911c4b350f7e469eef17c803d07c6c905391127bde2c8ef6a2591c9092da798a2fbd18541627362e608abb83e9fc3758e474033bedafb0e75d1b23055ec68";
778778 }
779− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/km/firefox-65.0.tar.bz2";
779+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/km/firefox-65.0.2.tar.bz2";
780780 locale = "km";
781781 arch = "linux-i686";
782− sha512 = "1a64f732f2c19858cba7e109beb86726d1e51dd2a2b5a09aa380fc515041aada110eb90649c4c6ece5aa8a5857072968f4a2d43f3484dc2e311c61eeb4fb49ee";
782+ sha512 = "28c0dc6cc942b7833ebba96931961bfd16fc5a5d7aba1c311db327c621b2ecb246f745ff59acfe6bf2cba6d5fe511d001656f25db6aa38739b0f92c473f09452";
783783 }
784− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/kn/firefox-65.0.tar.bz2";
784+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/kn/firefox-65.0.2.tar.bz2";
785785 locale = "kn";
786786 arch = "linux-i686";
787− sha512 = "149029ae8bd3a81151a17c00b7166e02e22bb9f737bae1150ed8f3fbc28becf19234a1a874ca0aa6400e1b0eb75f14465546ec7e0c5bf09b8c434a5ed9f651da";
787+ sha512 = "66c71467634d4bb32149841035d2227510cc1c67e4fab5c4c11db980068236a5e7b7d40c0927108b8d67597cc66ef5dd44b56e315e2dfcc2b275f42260eec99c";
788788 }
789− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/ko/firefox-65.0.tar.bz2";
789+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/ko/firefox-65.0.2.tar.bz2";
790790 locale = "ko";
791791 arch = "linux-i686";
792− sha512 = "f7433f3da565969ae1e92ffb4d2fb48a2b513214b08e611de2b8cb3efadf16fc6af871b470916b0611d10eb616fec09e37648c98366ec0f6211693a9f3434df2";
792+ sha512 = "8a36baa9d9d3666633e986bd8cff1e48efcf1f5c6b68ef44bf6d8963d108e7448d0822fc57a080a520408010dbe277ed31fe2bf6ed0ce755acae2b8759e90ab5";
793793 }
794− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/lij/firefox-65.0.tar.bz2";
794+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/lij/firefox-65.0.2.tar.bz2";
795795 locale = "lij";
796796 arch = "linux-i686";
797− sha512 = "6b20b466ae15b9484c427a65388d099073eabd54f938c75eeaa886ba5db73bd1f91ba207308941b2229ee38f8dee4201599d1c11e228ef6a2e13ba0d74f7c427";
797+ sha512 = "c3e63189717a28f66cb6847c5aa5cc141e859b62bdda44961e9eca029ca421ac03dcc5088141f967e05b1feb80e619b0c6fd55e12e9a3a2375d209242a83213a";
798798 }
799− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/lt/firefox-65.0.tar.bz2";
799+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/lt/firefox-65.0.2.tar.bz2";
800800 locale = "lt";
801801 arch = "linux-i686";
802− sha512 = "61a85a29003930d8deca7ba76269f437ccb47680ce8ae12b9c9913e79d6c6e6594297f890eb5a5e641610a38c1016a1947a866b8f79ca83ff316e925df8a8bd6";
802+ sha512 = "197fa46065d0944c6807769cae3548bc43954a7ee1644218e6ba0cbaba40abe64053cbfc50d757b673329602990246603f8936d6ed6c286830845dfc4717f19a";
803803 }
804− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/lv/firefox-65.0.tar.bz2";
804+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/lv/firefox-65.0.2.tar.bz2";
805805 locale = "lv";
806806 arch = "linux-i686";
807− sha512 = "21ca42042d0695c9a7c5c5b5866b1fb54e65f76543f42c45efd0436fba73f5989894e0d7b67e496b101674fe3e7f0c1c374c903c9b6bcf9f9a1c6730c5c865a8";
807+ sha512 = "939fac5ddbd33e444b03b539beeca76819a45522c823a99b926cce1a024cb3fe65cb6cc178b0ff5f4dda950513819dc19d363af6d53177e377b3209f70a3b3a9";
808808 }
809− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/mai/firefox-65.0.tar.bz2";
809+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/mai/firefox-65.0.2.tar.bz2";
810810 locale = "mai";
811811 arch = "linux-i686";
812− sha512 = "7108acddbab96033cf9cf822d93f0ef3c3ba46e75ebe09f5f1d211b7c5cce12fdf7e7bcf06621b1bbde3478441893fae8ff919a0952d76fc0f8e482a2bcd811a";
812+ sha512 = "b9ee674712bc6954e2f02609e4cea04a8fa9cd7aa10042431acf18f9f2f4cbe8ce0ae98de96bc1af99fb6ec838539ed5e23127ed1b0ba406b69bcdd47995d706";
813813 }
814− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/mk/firefox-65.0.tar.bz2";
814+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/mk/firefox-65.0.2.tar.bz2";
815815 locale = "mk";
816816 arch = "linux-i686";
817− sha512 = "6e0c7a12413d351ff5cc95ce56df95e6f1bc4ae320db45dd988d0dd488f525820c62387aa43003744e3cf4040f91497d4f36b4bbe4a636f1a2d010d0a9479d32";
817+ sha512 = "402b063500a6233e262d75555fbcb71d3076883f5080980a01bb7545496e9adf397803c260a107a3384d7631727a2dd1d10e671f93cd3408f82b441b7d34e203";
818818 }
819− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/ml/firefox-65.0.tar.bz2";
819+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/ml/firefox-65.0.2.tar.bz2";
820820 locale = "ml";
821821 arch = "linux-i686";
822− sha512 = "03e6525cc76cc4a1f2333dbb67a3f29976d3d9068d73054711f561bdad0a8da9d14abc3f79df596696ff2c28fb51147010b7351052f3b3a8d0913b94e17b022c";
822+ sha512 = "19990cc41390d20ad39c0fd6bd81eb40487bc7346b4a33c5aa292d90113be7763d606417fdbb3a7879b41f90399cd3e5cc0c13caf2f953d743a655ee3de2c12b";
823823 }
824− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/mr/firefox-65.0.tar.bz2";
824+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/mr/firefox-65.0.2.tar.bz2";
825825 locale = "mr";
826826 arch = "linux-i686";
827− sha512 = "43ef1fa19c05096b3465f985ebcd91e7581a29a380574cfa763269ab6c7f760241645d18e9475757069b7680e696be17c2e92028874c57c31b8bc2d1fc5d8be6";
827+ sha512 = "8d07b3f8725c7bd663d20ed84620d949b370d58c95958df79977206347e3e32d58112865e6008b948c4a41efbea046260f00d5fdcf8eeb2187113f0f3977c9e8";
828828 }
829− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/ms/firefox-65.0.tar.bz2";
829+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/ms/firefox-65.0.2.tar.bz2";
830830 locale = "ms";
831831 arch = "linux-i686";
832− sha512 = "ad84ff57cd2a3048862f8572c3084c2fdacf04dfd080f4679cbe5b6cd1efd9535d4fc8298aa1225067f5a3e79a9d512d933e9257d1db2df0875dab8d9259352d";
832+ sha512 = "e2b409e47a639717ca764c3993c2f8d993deda328c6b663f9e18ad791261a749d5d7da7ee42d76f22ecf71f4bcfd1c3d2a32f645def4bad5a91e3ddee8d31d35";
833833 }
834− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/my/firefox-65.0.tar.bz2";
834+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/my/firefox-65.0.2.tar.bz2";
835835 locale = "my";
836836 arch = "linux-i686";
837− sha512 = "f6b51ce2a6f67193d3410bcf5210fba114d2b4a626bf2cc98930143679cb72e00657ae44116295d3fae92aaa63dbf5393a52b8d2123d024089c5efd0737200da";
837+ sha512 = "2124ac6ef5b1cc0644f09dd328afd51657c20847fa6efc7df2455ddcca2f122589beae86ae528d0443bfac7b0abb2d67156a67adbf8c377376d8619bc49dc0cf";
838838 }
839− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/nb-NO/firefox-65.0.tar.bz2";
839+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/nb-NO/firefox-65.0.2.tar.bz2";
840840 locale = "nb-NO";
841841 arch = "linux-i686";
842− sha512 = "8b416187023963128779f06cfd28db4a7bd6bed7b7bdaadc8396c51acf0964c8a1e1230082c9528e0f3ce2ff54a84383daa36e72bdacb6bf5768214b7a497edf";
842+ sha512 = "3a6e82a8b1a7967449ceb5f145b732d7b3eb1f74043cb4808a74ada4c1f1867d220b43bf7b6dd8bf7b9ce950c0f6ab53d3140dbaea5c8b9be23661c6af11f0c0";
843843 }
844− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/ne-NP/firefox-65.0.tar.bz2";
844+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/ne-NP/firefox-65.0.2.tar.bz2";
845845 locale = "ne-NP";
846846 arch = "linux-i686";
847− sha512 = "0fec4f2b6b6944a29ef2ff0ca30c4d770d2a956564b697fcfb7a72517c488a252d990a31e9dea6ba36d9b5ee9c38f39dc8446edf2ec7caf946244bff3f1d18b8";
847+ sha512 = "e500aca0da755266b001dbedab47e5a1ba3c937f18a24cc3daf6e44b3130cb6d9cd350b413ca34e0d469b1567a802d3b2e2bcc3e2989ae52012270b5c070822a";
848848 }
849− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/nl/firefox-65.0.tar.bz2";
849+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/nl/firefox-65.0.2.tar.bz2";
850850 locale = "nl";
851851 arch = "linux-i686";
852− sha512 = "7fb3c8c0e441ec55c9a79ba13ac1f7d17ce3612ae6f6ba7e23a31bc2d854fc41abd38a4caa1991b9b45fd58bc2d8386c2875adfcbf40b07cbc8bf0641a4b8b10";
852+ sha512 = "3846cb62c54ab4835eb9c7162bf67706d1beec912a757ad7b5fee4f99cafbac51bf9809ef0681ea41f71c5761d942e0225cd3f75b5db0227a692438404f8dabe";
853853 }
854− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/nn-NO/firefox-65.0.tar.bz2";
854+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/nn-NO/firefox-65.0.2.tar.bz2";
855855 locale = "nn-NO";
856856 arch = "linux-i686";
857− sha512 = "744f32b81f4a4287abc812ebe7209082c4c2f8637c0a135a9ce83377903e97e3d938037827283160a141ab89b51060313bac82fb93af8f24c71b3aabdce9a293";
857+ sha512 = "1e886f4f478944bb2e7d2d20d96bd23a2c06e4c0ac1de2e627aaf8207235f94ebfae6179fe52536290c0e84a485ed2abf7a8349ae430b46e4d99dce10bae3938";
858858 }
859− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/oc/firefox-65.0.tar.bz2";
859+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/oc/firefox-65.0.2.tar.bz2";
860860 locale = "oc";
861861 arch = "linux-i686";
862− sha512 = "2722d769575b28e581da820a3a6bf8b407a1c4018d97c2e7315b15642f4165efcc44860710141c50829a8d5d57429e9fc47565852ea9c2c018504f3a4f11739e";
862+ sha512 = "77c97eab7181f13d4ad8cfaccf0a17c365e1459d7a49ba69feb39c512237397e785d01578482600008be69f273258828790628f6d7f27c3e1540b92f087b5091";
863863 }
864− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/or/firefox-65.0.tar.bz2";
864+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/or/firefox-65.0.2.tar.bz2";
865865 locale = "or";
866866 arch = "linux-i686";
867− sha512 = "3f757e2d19540ac963cf14d884079fc648f1ea4c1281c86ff342971fab250c4ec09708c54ce0fef7eb343db057bc6bf5e15971e70123212d8a1a90bdaebcde8d";
867+ sha512 = "ec9cdce4bddfb5a3d0146f0d4a93a2ca0393581b15a74eb6e2bce2821f98ce099cf0c9f1236f0a2fcb78379b05f722becae27c69da0932ae9838b5235bc098de";
868868 }
869− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/pa-IN/firefox-65.0.tar.bz2";
869+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/pa-IN/firefox-65.0.2.tar.bz2";
870870 locale = "pa-IN";
871871 arch = "linux-i686";
872− sha512 = "35bd0bc1938d6fec372356721236afa3d1a794bda57eb11d7bc86601951825a143c1ff028ad6f0b4cd50e068a5a233a08108d71035abf2cd69213b3af794849f";
872+ sha512 = "926744b4b6596fabbe5108070a8811ed08e8a2e44a24a87602167e9579d1252ee8af2239f2ad38985bc7a5630c9e620688c1519fcc65b037db2ae2b68394bb24";
873873 }
874− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/pl/firefox-65.0.tar.bz2";
874+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/pl/firefox-65.0.2.tar.bz2";
875875 locale = "pl";
876876 arch = "linux-i686";
877− sha512 = "34c91e7c2434a233a6f458b28806ac110e4382a1f685d485a2f338d66e27ec362b0424a107c8bb17dbd22ba58c0a1bded15e1bbe5ee1de76a460aaf2dce9334c";
877+ sha512 = "5dfdd109a63b12a68bd1bb0f12a124b3c0826fd632ca2a9bcdd8940473ee0a42619ff662b9c99b4e2d0ab703d1dbac88ec76a1154784571450d8dca59a97477b";
878878 }
879− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/pt-BR/firefox-65.0.tar.bz2";
879+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/pt-BR/firefox-65.0.2.tar.bz2";
880880 locale = "pt-BR";
881881 arch = "linux-i686";
882− sha512 = "09e247ab05f9c02bb2ede75cc46e321a518629dfe2395be8536af77601a91d4acd1df4c1a34b54193aeaf24b0cda54582ed204258e9754126dc021e04066fe7f";
882+ sha512 = "eca892c2cda97e754ac060ad2e88eac96de5beec780cc6701135aa6ac5da302a0a07d4d7a8f9eb7ce94aba2e94f8979fc9fdba5906c8bfffb5b214c5c9a00458";
883883 }
884− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/pt-PT/firefox-65.0.tar.bz2";
884+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/pt-PT/firefox-65.0.2.tar.bz2";
885885 locale = "pt-PT";
886886 arch = "linux-i686";
887− sha512 = "3ac57c58851403af43cc01010cf8e55b734b5d1d2db60c3b6457dfc1def483d6918ccb0eb6cdc3c4a552ed8cc5975b8534bac3e644a5f7d08fb9f2b168c7c3b4";
887+ sha512 = "e768e680f61c5d53474ad1bd3bbd5955cb20837048b4b0cf93bf30263a0fdd3b706d36f74f7c321fb79dd64287a8fe1440678c909ea8d26d92060e6c91d9d634";
888888 }
889− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/rm/firefox-65.0.tar.bz2";
889+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/rm/firefox-65.0.2.tar.bz2";
890890 locale = "rm";
891891 arch = "linux-i686";
892− sha512 = "b73742b939435bbb8d2a0d307abff82f777ba015b808eb2e7e6789ca93d33f658ed2e550ce917f5318ffd9ee72d92b2a47b43e564a4a79f0293560555a69cf76";
892+ sha512 = "70a86d99e075656c5a4286cfca9a3c64ecc316a97f2d6735066bc2a17eeec028b1355407fe8e9328a58d6e10fdf71fe30e68feb0dff6125e9ed54c4afa90aa15";
893893 }
894− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/ro/firefox-65.0.tar.bz2";
894+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/ro/firefox-65.0.2.tar.bz2";
895895 locale = "ro";
896896 arch = "linux-i686";
897− sha512 = "e53fbee87ed143d5f2f7c4190b648dfebf44881beac3ee866fbac2bb8170d08c2333b8ed634696c08dd18d26acc5bbf80b5dbe9544c5a6da48175acf4708d408";
897+ sha512 = "d0ca0a38493323c2a68d9145ae230137fc7767f3efaa237a6a4f254d4a7acdb66bf7bbc729ba2be040096d4da7c51bd716ddd677eb0d5cfd06c4033f69c2cc25";
898898 }
899− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/ru/firefox-65.0.tar.bz2";
899+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/ru/firefox-65.0.2.tar.bz2";
900900 locale = "ru";
901901 arch = "linux-i686";
902− sha512 = "9a05d119cebb97b022ac038c36dbfd6ecf13054027b419ad37d07d6b6cb84e4bdf77c651603f88da62d116a046dec77e43c333ee370514ddcb63d53b1754c00c";
902+ sha512 = "a01b2db8278a15aa826aafece46b42c3ac2b784dd763901d11826dc59b4083e5e888c21b3ddc95e4264e8dbc1bae4c87c6a5768ec69b86bd174b1c1f40ee976a";
903903 }
904− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/si/firefox-65.0.tar.bz2";
904+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/si/firefox-65.0.2.tar.bz2";
905905 locale = "si";
906906 arch = "linux-i686";
907− sha512 = "fe70747cdf4329fd860a05ad8f69e452dce9a8a0a4e65c9ab84348b870a628746de1a74f66db42caa15da7ac5d34b071aba6095aacaa818859b041052f8b4df4";
907+ sha512 = "b44c1371e349995753a9a393ab9f1dcd6784854005bdf78c4c06650cfb8525544c8e3790affa0dc329989ba4c4e14887b836903b458351be073df44eae20ab7f";
908908 }
909− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/sk/firefox-65.0.tar.bz2";
909+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/sk/firefox-65.0.2.tar.bz2";
910910 locale = "sk";
911911 arch = "linux-i686";
912− sha512 = "8c76b164b6c2e9431dd23131a46fc613e24896cc2d02d67dde78ad4f7d2dce4baa1e08bb9120c02a243743231a54eeea68e10f2d0e1c44442e53533482afde13";
912+ sha512 = "552bda0818ff1a71a1f3e92b308a2aa878ffd217612dc3b98efd58855532f5f1acbae6a69e54999d200bba5fffa8729ca000f91c75eac78158c4dac46ce6597a";
913913 }
914− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/sl/firefox-65.0.tar.bz2";
914+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/sl/firefox-65.0.2.tar.bz2";
915915 locale = "sl";
916916 arch = "linux-i686";
917− sha512 = "26ed90dc4b5e1dcff81301eeb75fd6729b0a94ad0993b438867b8ae4287a03c20efbc425b8130c948bba46e71c654e6aa410a28a20fd407ca922b77f166e0feb";
917+ sha512 = "7feea9e50311ba00e7e94c04b6ab080721c2183ca3806b1fa5a4d9cbef131d18a1b26ab8796c311c98cf8a9032ee7a77b86a4a8b902fe319fccda5ffb15a7ffb";
918918 }
919− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/son/firefox-65.0.tar.bz2";
919+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/son/firefox-65.0.2.tar.bz2";
920920 locale = "son";
921921 arch = "linux-i686";
922− sha512 = "11809822767088ab739e47b6774374d619384e4ee2a69690fa5624a6168c0a3fa763b85b573a1bbbd0b97f50c5738999307d91880cde14a4fb3c6ae17b484224";
922+ sha512 = "a63e189b71a8c648ce105094e8e568814d22ee2d9159434844adff845ef8478ca965f032f5929ed143b70fae58b22bc9d5733e2d1102933887cec364b6130053";
923923 }
924− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/sq/firefox-65.0.tar.bz2";
924+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/sq/firefox-65.0.2.tar.bz2";
925925 locale = "sq";
926926 arch = "linux-i686";
927− sha512 = "22f699cc9a59332582149087418596dd8e6b138b1c7010344f4471396b3a69ebede79d924dfe5e025d82054f20f240356d4232e284d33f8805e4891bc7b30459";
927+ sha512 = "88885c52ed7cfd802de8743fee04583e67cae8b9fc550ff857943adbf608408d0f8320cd1c75216b1c0f919fa4a0d7203da7957c160d02d3ef4982389e03d1c8";
928928 }
929− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/sr/firefox-65.0.tar.bz2";
929+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/sr/firefox-65.0.2.tar.bz2";
930930 locale = "sr";
931931 arch = "linux-i686";
932− sha512 = "b2431890e7cdf5e1563387d9c566beb3c083d81a0f11c5c1843788b7bceec927cc55bda1a92f605210aaf2960ab4bd0fd42e4d558749b5623eb7f3fab0d7800d";
932+ sha512 = "cf58c2724181499ec5ea4f55d0f9f8a42bd5322d0f80631dc3c76dbeaaa587a5b8d3b46f7e2bb85f312530f7f3cba717bf97edba17954dcc1cbd61346b5c9bd0";
933933 }
934− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/sv-SE/firefox-65.0.tar.bz2";
934+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/sv-SE/firefox-65.0.2.tar.bz2";
935935 locale = "sv-SE";
936936 arch = "linux-i686";
937− sha512 = "c2b7399f1b6f75440a725289df834af2defc77c773ba73f0b330689244167abcc32190e185ade9dd3c8340f6a06fa2e026c0d4c426e90471a75cb1e79b45a086";
937+ sha512 = "7935e8bd4678de9a5be1a126e3c659e64a556144252befc3b76736483bfc256cf1781c0848be5e2744291753766d85f050073ced0c029b968cf0d17d6a5b845d";
938938 }
939− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/ta/firefox-65.0.tar.bz2";
939+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/ta/firefox-65.0.2.tar.bz2";
940940 locale = "ta";
941941 arch = "linux-i686";
942− sha512 = "b29e0db021afcfb246f980a2f5afb434c52be5324985877d2ee547a097d17ec77a7ea3e2ac9c2dc558236090954b1cba4a0fcaa10698da1425dbd5e31406aa4d";
942+ sha512 = "6674fb96ab6cb16f20bf366014b48743423bef5b0c81a8804457679d951576c91283d1485dca513c9549bd7df38f3489bc5447d37852ab1a007804adde77f1cb";
943943 }
944− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/te/firefox-65.0.tar.bz2";
944+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/te/firefox-65.0.2.tar.bz2";
945945 locale = "te";
946946 arch = "linux-i686";
947− sha512 = "709ae0eeec912c6349bd2b41a5cd10bd58ee5279e50e70623be93d0fef1655c5e0ff74df47d60c6ecae5883c5b6102ad0a4d61924cd848973fbc10bbe112c18e";
947+ sha512 = "e4eeae5c22eca77d3d50ce3938ae6e1faf7d038a8739a8104827f90e648527c87a4f9ed11d23d078b9ca162b5f19d109f8c6f31eb60a5dd7458d884cd95ba63e";
948948 }
949− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/th/firefox-65.0.tar.bz2";
949+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/th/firefox-65.0.2.tar.bz2";
950950 locale = "th";
951951 arch = "linux-i686";
952− sha512 = "032fb59d5a502d593c1ee5f05d51d0d2a88bd3dd081857e27c9d429ae337b37252a0f0bc0c261adc71b8b2b57aa7b4321ed8ce3bac04eeefabcf97ccec4b2f78";
952+ sha512 = "f74865112284bd0a45b08c7982a6d70351b21628bed386081baaf525b765bcd25d889b194a3a032752ad9c79b7f2ed3e491a97da318c600b116e735f2d0468b2";
953953 }
954− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/tr/firefox-65.0.tar.bz2";
954+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/tr/firefox-65.0.2.tar.bz2";
955955 locale = "tr";
956956 arch = "linux-i686";
957− sha512 = "3ace64d030e0012f9acd06e242c52408f6b8407f65834d34b203910a18c459c6dd8a23e80d4b11b4d4792edb2ff71769c75e90ff919e80d7da71a2341115e571";
957+ sha512 = "9de57aa1d84ca0b1e4e3e2a25e503a1bde99f0d3a86fe0dec4391146e45ab17215752e96293047445398a65e0829ed9041182d5a7849382ac6a9d92713178685";
958958 }
959− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/uk/firefox-65.0.tar.bz2";
959+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/uk/firefox-65.0.2.tar.bz2";
960960 locale = "uk";
961961 arch = "linux-i686";
962− sha512 = "730b747ccdb0b31738e2272f9763b9aad992e241dfee8d067122886b625a5b7f83d53fdcb8052a00ee68ac76512c8ab97097a640cbad0f308dcec1f4cd040503";
962+ sha512 = "534ff926aa034821381b8bcfbad9ea70604e37145cb8044f0aeeb5206c8e864d42158e8f65c0ca573abc6c9412431fcad97b7b81a2078a6ef9c5c24d44e9024a";
963963 }
964− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/ur/firefox-65.0.tar.bz2";
964+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/ur/firefox-65.0.2.tar.bz2";
965965 locale = "ur";
966966 arch = "linux-i686";
967− sha512 = "d10f6a9f708f27c7d935f190332c7db7d789f72a005a6474e127e6061a1e49776734c6e1a90e84213d8734c2ba1ec39063cafd5518ba482dd82bac323034b883";
967+ sha512 = "27daf1e7164f5078d07096a007759525b5d0dae832738dd7601eee9fa1ef6a53e54919b080b9cc7ae888582b8fb4deb5faf844366846e24e73ed5686eed5fadf";
968968 }
969− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/uz/firefox-65.0.tar.bz2";
969+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/uz/firefox-65.0.2.tar.bz2";
970970 locale = "uz";
971971 arch = "linux-i686";
972− sha512 = "223fa76b020c0cb9aa9fc59344b0cb103088f2ae0c3fc8037f8a6c3055898312638769b51e98107864850b1286d11e711d4225b5bf570e0fb3f7c59ee740b197";
972+ sha512 = "fd88f7f92aa0896f44f8e879ce83a874a0554f66ad5ceb9a67f4541531fae916c2ed01157adfaf618b152c51e53056be638d3c460975ca8551c34b649217c94b";
973973 }
974− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/vi/firefox-65.0.tar.bz2";
974+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/vi/firefox-65.0.2.tar.bz2";
975975 locale = "vi";
976976 arch = "linux-i686";
977− sha512 = "e3d1a93bea5f9b7b02e43a54f36544e0e7f6cf5553c5d3e42ff5227396eb66e62570917c5a6317fa21da3510251efc9d3d3524bc64f19fcae590825c75ce6896";
977+ sha512 = "5aff724ddea005bdbeeae23094fc7035058ce0064f01689ffc6d769b7bde5c9d74db25fb68da8c5a64002c0fb7eb35fd0f55455a16b9723ca586f24a2c1cc141";
978978 }
979− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/xh/firefox-65.0.tar.bz2";
979+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/xh/firefox-65.0.2.tar.bz2";
980980 locale = "xh";
981981 arch = "linux-i686";
982− sha512 = "661183377c558e2355b9ce220f73807818d25b82e9bfc05c013cd58bd35234d73d979a42542b16c46b1c3c3efac0d9524ca28bb9874ad9c969b24c2a96d601e9";
982+ sha512 = "d513238017581d22d34d0b4a29c1f0a7b19c390e1bdfbf1179171437debc8a52055259eabc00e0ce57b7584629b01b22f063799fac4e304e3eae229c620f6fcf";
983983 }
984− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/zh-CN/firefox-65.0.tar.bz2";
984+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/zh-CN/firefox-65.0.2.tar.bz2";
985985 locale = "zh-CN";
986986 arch = "linux-i686";
987− sha512 = "227ce1a00441fd3e5914143b00c2815544f989cc918e978700133c1232170a145fc2f0ce139989f3b9857387928439282f44bb735f4ee8dc7ed881fd006dfc62";
987+ sha512 = "9e55a33ebc04d333018160707352d9bfe24b6fef6b264009058e0ac49b9389586014f74311d00120f0827ba42a070b8699ef4a5f627b1f7996b102a8a16cf0c5";
988988 }
989− { url = "http://archive.mozilla.org/pub/firefox/releases/65.0/linux-i686/zh-TW/firefox-65.0.tar.bz2";
989+ { url = "http://archive.mozilla.org/pub/firefox/releases/65.0.2/linux-i686/zh-TW/firefox-65.0.2.tar.bz2";
990990 locale = "zh-TW";
991991 arch = "linux-i686";
992− sha512 = "211b738aaeb0716ab60cf2923be9a4cf6bc38f8536a32c05cf713f987249ed3a735fc6ce07689fd8181230039a4b2e2a367b72743730672856fe4b02e41444cd";
992+ sha512 = "e91388f5ce47c36776ef425a11fea05356581c2064d271b17a82aa1c934b2073662317c6b597d0798287a2cf57cda8ba1a2c72617d36c020c4b20c435eb4ef00";
993993 }
994994 ];
995995}
pkgs/applications/networking/browsers/firefox-bin/update.nix+2−1
@@ -8,6 +8,7 @@
88, gnugrep
99, curl
1010, gnupg
11+, runtimeShell
1112, baseName ? "firefox"
1213, basePath ? "pkgs/applications/networking/browsers/firefox-bin"
1314, baseUrl
@@ -18,7 +19,7 @@ let
1819 channel != "release";
1920
2021in writeScript "update-${name}" ''
21− #!${stdenv.shell}
22+ #!${runtimeShell}
2223 PATH=${coreutils}/bin:${gnused}/bin:${gnugrep}/bin:${xidel}/bin:${curl}/bin:${gnupg}/bin
2324 set -eux
2425 pushd ${basePath}
pkgs/applications/networking/browsers/firefox/packages.nix+4−4
@@ -10,10 +10,10 @@ rec {
1010
1111 firefox = common rec {
1212 pname = "firefox";
13− ffversion = "65.0.1";
13+ ffversion = "65.0.2";
1414 src = fetchurl {
1515 url = "mirror://mozilla/firefox/releases/${ffversion}/source/firefox-${ffversion}.source.tar.xz";
16− sha512 = "2crb46l5r0rwmzr1m8cn9f6xgajwcvansnplqg4kg91rf6x8q0zqzfnmyli9ccsbqvh7bqd31dmy14gwjskasqc4v103x9hchzshxnc";
16+ sha512 = "2qai7krlc5whsbnwbn67d63lbm7j8mnx8nq0cw44j9nf5gnqx80afqcs08705xlf0n350xa5iif6b9m4nw0jwikps25cirwavrra348";
1717 };
1818
1919 patches = [
@@ -67,10 +67,10 @@ rec {
6767
6868 firefox-esr-60 = common rec {
6969 pname = "firefox-esr";
70− ffversion = "60.5.1esr";
70+ ffversion = "60.5.2esr";
7171 src = fetchurl {
7272 url = "mirror://mozilla/firefox/releases/${ffversion}/source/firefox-${ffversion}.source.tar.xz";
73− sha512 = "0fvjw5zd8a9ki0a8phavi6xxfxbck21vj0k8415c5sxv48fwhqdhlnv3wx7riss4rjy9dylhr5xpa99dj9q98z735r8fxb7s3x3vrjz";
73+ sha512 = "36yzxf0ac5kf8y0z7v14dryw29zn06nm2g8brzrm1ggbsbasmki5cb9kkmvcpxs8w2h26ldnjnybzlnwx14002rd0xbhf6hzjpfbrsv";
7474 };
7575
7676 patches = [
pkgs/applications/networking/browsers/firefox/update.nix+3−2
@@ -8,13 +8,14 @@
88, gnugrep
99, curl
1010, attrPath
11+, runtimeShell
1112, baseUrl ? "http://archive.mozilla.org/pub/firefox/releases/"
1213, versionSuffix ? ""
1314, versionKey ? "version"
1415}:
1516
1617writeScript "update-${attrPath}" ''
17− #!${stdenv.shell}
18+ #!${runtimeShell}
1819 PATH=${lib.makeBinPath [ common-updater-scripts coreutils curl gnugrep gnused xidel ]}
1920
2021 url=${baseUrl}
@@ -31,5 +32,5 @@ writeScript "update-${attrPath}" ''
3132 sort --version-sort | \
3233 tail -n 1`
3334
34− update-source-version ${attrPath} "$version" "" "" ${versionKey}
35+ update-source-version ${attrPath} "$version" "" "" --version-key=${versionKey}
3536''
pkgs/applications/networking/browsers/firefox/wrapper.nix+1−1
@@ -131,7 +131,7 @@ let
131131 --set GDK_BACKEND "wayland" \
132132 ''}${lib.optionalString (browser ? gtk3)
133133 ''--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" \
134− --suffix XDG_DATA_DIRS : '${gnome3.defaultIconTheme}/share'
134+ --suffix XDG_DATA_DIRS : '${gnome3.adwaita-icon-theme}/share'
135135 ''
136136 }
137137
pkgs/applications/networking/browsers/google-chrome/default.nix+1−1
@@ -77,7 +77,7 @@ in stdenv.mkDerivation rec {
7777 gsettings-desktop-schemas glib gtk
7878
7979 # needed for XDG_ICON_DIRS
80− gnome.defaultIconTheme
80+ gnome.adwaita-icon-theme
8181 ];
8282
8383 unpackPhase = ''
pkgs/applications/networking/browsers/luakit/default.nix+31−25
@@ -1,6 +1,7 @@
1−{stdenv, fetchFromGitHub, pkgconfig, wrapGAppsHook, makeWrapper
2−,help2man, lua5, luafilesystem, luajit, sqlite
3−,webkitgtk, gtk3, gst_all_1, glib-networking}:
1+{ stdenv, fetchFromGitHub, pkgconfig, wrapGAppsHook
2+, help2man, lua5, luafilesystem, luajit, sqlite
3+, webkitgtk, gtk3, gst_all_1, glib-networking
4+}:
45
56let
67 lualibs = [luafilesystem];
@@ -11,51 +12,56 @@ let
1112 luaCPath = stdenv.lib.concatStringsSep ";" (map getLuaCPath lualibs);
1213
1314in stdenv.mkDerivation rec {
15+ pname = "luakit";
16+ version = "2.1";
1417
15− name = "luakit-${version}";
16− version = "2017.08.10";
1718 src = fetchFromGitHub {
1819 owner = "luakit";
1920 repo = "luakit";
20− rev = "${version}";
21− sha256 = "09z88b50vf2y64vj79cymknyzk3py6azv4r50jng4cw9jx2ray7r";
21+ rev = version;
22+ sha256 = "05mm76g72fs48410pbij4mw0s3nqji3r7f3mnr2fvhv02xqj05aa";
2223 };
2324
24− nativeBuildInputs = [pkgconfig help2man wrapGAppsHook makeWrapper];
25+ nativeBuildInputs = [
26+ pkgconfig help2man wrapGAppsHook
27+ ];
2528
26− buildInputs = [webkitgtk lua5 luafilesystem luajit sqlite gtk3
29+ buildInputs = [
30+ webkitgtk lua5 luafilesystem luajit sqlite gtk3
2731 gst_all_1.gstreamer gst_all_1.gst-plugins-base
2832 gst_all_1.gst-plugins-good gst_all_1.gst-plugins-bad gst_all_1.gst-plugins-ugly
2933 gst_all_1.gst-libav
3034 glib-networking # TLS support
3135 ];
3236
33− postPatch =
34− #Kind of ugly seds here. There must be a better solution.
35− ''
36− patchShebangs ./build-utils
37− sed -i "2 s|require \"lib.lousy.util\"|dofile(\"./lib/lousy/util.lua\")|" ./build-utils/docgen/gen.lua;
38− sed -i "3 s|require \"lib.markdown\"|dofile(\"./lib/markdown.lua\")|" ./build-utils/docgen/gen.lua;
39− sed -i "1,2 s|require(\"lib.lousy.util\")|dofile(\"./lib/lousy/util.lua\")|" ./build-utils/find_files.lua;
37+ preBuild = ''
38+ # build-utils/docgen/gen.lua:2: module 'lib.lousy.util' not found
39+ # TODO: why is not this the default?
40+ LUA_PATH=?.lua
4041 '';
4142
42− buildPhase = ''
43− make DEVELOPMENT_PATHS=0 USE_LUAJIT=1 INSTALLDIR=$out PREFIX=$out USE_GTK3=1
44− '';
43+ makeFlags = [
44+ "DEVELOPMENT_PATHS=0"
45+ "USE_LUAJIT=1"
46+ "INSTALLDIR=${placeholder "out"}"
47+ "PREFIX=${placeholder "out"}"
48+ "USE_GTK3=1"
49+ "XDGPREFIX=${placeholder "out"}/etc/xdg"
50+ ];
4551
46− installPhase = let
52+ preFixup = let
4753 luaKitPath = "$out/share/luakit/lib/?/init.lua;$out/share/luakit/lib/?.lua";
4854 in ''
49− make DEVELOPMENT_PATHS=0 INSTALLDIR=$out PREFIX=$out XDGPREFIX=$out/etc/xdg USE_GTK3=1 install
50− wrapProgram $out/bin/luakit \
51− --prefix XDG_CONFIG_DIRS : "$out/etc/xdg" \
52− --set LUA_PATH '${luaKitPath};${luaPath};' \
55+ gappsWrapperArgs+=(
56+ --prefix XDG_CONFIG_DIRS : "$out/etc/xdg"
57+ --set LUA_PATH '${luaKitPath};${luaPath};'
5358 --set LUA_CPATH '${luaCPath};'
59+ )
5460 '';
5561
5662 meta = with stdenv.lib; {
5763 description = "Fast, small, webkit based browser framework extensible in Lua";
58− homepage = "http://luakit.org";
64+ homepage = http://luakit.org;
5965 license = licenses.gpl3;
6066 platforms = platforms.linux; # Only tested linux
6167 };
pkgs/applications/networking/browsers/midori/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, cmake, ninja, pkgconfig, intltool, vala, wrapGAppsHook, gcr
1+{ stdenv, fetchurl, cmake, ninja, pkgconfig, intltool, vala, wrapGAppsHook, gcr, libpeas
22, gtk3, webkitgtk, sqlite, gsettings-desktop-schemas, libsoup, glib-networking, gnome3
33}:
44
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717
1818 buildInputs = [
1919 gtk3 webkitgtk sqlite gsettings-desktop-schemas gcr
20− (libsoup.override { gnomeSupport = true; }) gnome3.libpeas
20+ (libsoup.override { gnomeSupport = true; }) libpeas
2121 glib-networking
2222 ];
2323
pkgs/applications/networking/browsers/qutebrowser/default.nix+8−2
@@ -21,12 +21,12 @@ let
2121
2222in python3Packages.buildPythonApplication rec {
2323 pname = "qutebrowser";
24− version = "1.5.2";
24+ version = "1.6.0";
2525
2626 # the release tarballs are different from the git checkout!
2727 src = fetchurl {
2828 url = "https://github.com/qutebrowser/qutebrowser/releases/download/v${version}/${pname}-${version}.tar.gz";
29− sha256 = "0ki19mynq91aih3kxhipnay3jmn56s7p6rilws0gq0k98li6a4my";
29+ sha256 = "1pkbzhd5syn7m8q0i7zlxjdgd693z0gj0h22nkc48zjkn214w236";
3030 };
3131
3232 # Needs tox
@@ -53,7 +53,13 @@ in python3Packages.buildPythonApplication rec {
5353 pyreadability pykeepass stem
5454 ];
5555
56+ patches = [
57+ ./fix-restart.patch
58+ ];
59+
5660 postPatch = ''
61+ substituteInPlace qutebrowser/app.py --subst-var-by qutebrowser "$out/bin/qutebrowser"
62+
5763 sed -i "s,/usr/share/,$out/share/,g" qutebrowser/utils/standarddir.py
5864 '' + lib.optionalString withPdfReader ''
5965 sed -i "s,/usr/share/pdf.js,${pdfjs},g" qutebrowser/browser/pdfjs.py
pkgs/applications/networking/browsers/qutebrowser/fix-restart.patchnew file+29
@@ -0,0 +1,29 @@
1+diff --git a/qutebrowser/app.py b/qutebrowser/app.py
2+index 2b6896b76..ee05f379d 100644
3+--- a/qutebrowser/app.py
4++++ b/qutebrowser/app.py
5+@@ -555,22 +555,8 @@ class Quitter:
6+ args: The commandline as a list of strings.
7+ cwd: The current working directory as a string.
8+ """
9+- if os.path.basename(sys.argv[0]) == 'qutebrowser':
10+- # Launched via launcher script
11+- args = [sys.argv[0]]
12+- cwd = None
13+- elif hasattr(sys, 'frozen'):
14+- args = [sys.executable]
15+- cwd = os.path.abspath(os.path.dirname(sys.executable))
16+- else:
17+- args = [sys.executable, '-m', 'qutebrowser']
18+- cwd = os.path.join(
19+- os.path.abspath(os.path.dirname(qutebrowser.__file__)), '..')
20+- if not os.path.isdir(cwd):
21+- # Probably running from a python egg. Let's fallback to
22+- # cwd=None and see if that works out.
23+- # See https://github.com/qutebrowser/qutebrowser/issues/323
24+- cwd = None
25++ args = ['@qutebrowser@']
26++ cwd = None
27+
28+ # Add all open pages so they get reopened.
29+ page_args = []
pkgs/applications/networking/browsers/tor-browser-bundle-bin/default.nix+2−2
@@ -39,7 +39,7 @@
3939# Wrapper runtime
4040, coreutils
4141, glibcLocales
42−, defaultIconTheme
42+, gnome3
4343, runtimeShell
4444, shared-mime-info
4545, gsettings-desktop-schemas
@@ -252,7 +252,7 @@ stdenv.mkDerivation rec {
252252 EOF
253253
254254 WRAPPER_XDG_DATA_DIRS=${concatMapStringsSep ":" (x: "${x}/share") [
255− defaultIconTheme
255+ gnome3.adwaita-icon-theme
256256 shared-mime-info
257257 ]}
258258 WRAPPER_XDG_DATA_DIRS+=":"${concatMapStringsSep ":" (x: "${x}/share/gsettings-schemas/${x.name}") [
pkgs/applications/networking/browsers/uzbl/default.nix+2−2
@@ -1,5 +1,5 @@
11{ stdenv, fetchurl, pkgconfig, python3, makeWrapper
2−, webkit, glib-networking, gsettings-desktop-schemas, python2Packages
2+, webkitgtk, glib-networking, gsettings-desktop-schemas, python2Packages
33}:
44# This package needs python3 during buildtime,
55# but Python 2 + packages during runtime.
@@ -40,6 +40,6 @@ stdenv.mkDerivation rec {
4040
4141 nativeBuildInputs = [ pkgconfig python3 makeWrapper ];
4242
43− buildInputs = [ gsettings-desktop-schemas webkit ];
43+ buildInputs = [ gsettings-desktop-schemas webkitgtk ];
4444 propagatedBuildInputs = with python2Packages; [ pygtk six ];
4545}
pkgs/applications/networking/browsers/vimb/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, pkgconfig, libsoup, webkit, gtk3, glib-networking
1+{ stdenv, fetchFromGitHub, pkgconfig, libsoup, webkitgtk, gtk3, glib-networking
22, gsettings-desktop-schemas, wrapGAppsHook
33}:
44
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414 };
1515
1616 nativeBuildInputs = [ wrapGAppsHook pkgconfig ];
17− buildInputs = [ gtk3 libsoup webkit glib-networking gsettings-desktop-schemas ];
17+ buildInputs = [ gtk3 libsoup webkitgtk glib-networking gsettings-desktop-schemas ];
1818
1919 makeFlags = [ "PREFIX=${placeholder "out"}" ];
2020
pkgs/applications/networking/browsers/vimprobable2/default.nix+2−2
@@ -1,5 +1,5 @@
11{ stdenv, fetchurl, makeWrapper, glib-networking, gtk2, libsoup, libX11, perl,
2− pkgconfig, webkit, gsettings-desktop-schemas }:
2+ pkgconfig, webkitgtk, gsettings-desktop-schemas }:
33
44stdenv.mkDerivation rec {
55 version = "1.4.2";
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
1010 };
1111
1212 nativeBuildInputs = [ pkgconfig ];
13− buildInputs = [ makeWrapper gtk2 libsoup libX11 perl webkit gsettings-desktop-schemas ];
13+ buildInputs = [ makeWrapper gtk2 libsoup libX11 perl webkitgtk gsettings-desktop-schemas ];
1414
1515 hardeningDisable = [ "format" ];
1616
pkgs/applications/networking/browsers/vivaldi/default.nix+2−2
@@ -13,11 +13,11 @@
1313stdenv.mkDerivation rec {
1414 name = "${product}-${version}";
1515 product = "vivaldi";
16− version = "2.3.1440.41-1";
16+ version = "2.3.1440.60-1";
1717
1818 src = fetchurl {
1919 url = "https://downloads.vivaldi.com/stable/${product}-stable_${version}_amd64.deb";
20− sha256 = "0wrq7c0sw1b41bshwgzji4pwl0raj0l5h2r7gkcg952rcn0wl9bs";
20+ sha256 = "1vw4lyqs87cw7v1jy3dcsgnb56s61zl21q95a3kiavqw7412sips";
2121 };
2222
2323 unpackPhase = ''
pkgs/applications/networking/browsers/vivaldi/ffmpeg-codecs.nix+2−2
@@ -6,11 +6,11 @@
66stdenv.mkDerivation rec {
77 name = "${product}-${version}";
88 product = "vivaldi-ffmpeg-codecs";
9− version = "72.0.3626.96";
9+ version = "72.0.3626.122";
1010
1111 src = fetchurl {
1212 url = "https://commondatastorage.googleapis.com/chromium-browser-official/chromium-${version}.tar.xz";
13− sha512 = "2hawkyydcd0b6ipfigkf5n6c1ha1vknaqd4mgw381pi0ayq8skxbjazqabfcg9gcj84cnksi8j4dylfcrbgrmlnmc479fix0m0xx7cl";
13+ sha512 = "1477g5dgi4m0zbiqwm9w6jqkmjfmgjlbl3qs9ljldx8bif8my1jbz4hzws954aqxyxdbf5rjpvmrrqqppk5347prvsyl37rbsndaaqf";
1414 };
1515
1616 buildInputs = [ ];
pkgs/applications/networking/charles/default.nix+59−39
@@ -1,48 +1,68 @@
1−{ stdenv, fetchurl, makeDesktopItem, jre, makeWrapper }:
1+{
2+stdenv
3+, makeWrapper
4+, makeDesktopItem
5+, fetchurl
6+, jre
7+}:
28
39let
4− desktopItem = makeDesktopItem {
5− categories = "Network;Development;WebDevelopment;Java;";
6− desktopName = "Charles";
7− exec = "charles %F";
8− genericName = "Web Debugging Proxy";
9− icon = "charles-proxy";
10− mimeType = "application/x-charles-savedsession;application/x-charles-savedsession+xml;application/x-charles-savedsession+json;application/har+json;application/vnd.tcpdump.pcap;application/x-charles-trace";
11− name = "Charles";
12− startupNotify = "true";
13− };
14−
15−in stdenv.mkDerivation rec {
16− name = "charles-${version}";
17− version = "4.2.7";
18−
19− src = fetchurl {
20− url = "https://www.charlesproxy.com/assets/release/${version}/charles-proxy-${version}.tar.gz";
21− sha256 = "1nycw3wpbfwj4ijjaq5k0f4xipj8j605fs0yjzgl66gmv7r583rd";
22− };
10+ generic = { version, sha256, ... }@attrs:
11+ let
12+ desktopItem = makeDesktopItem {
13+ categories = "Network;Development;WebDevelopment;Java;";
14+ desktopName = "Charles";
15+ exec = "charles %F";
16+ genericName = "Web Debugging Proxy";
17+ icon = "charles-proxy";
18+ mimeType = "application/x-charles-savedsession;application/x-charles-savedsession+xml;application/x-charles-savedsession+json;application/har+json;application/vnd.tcpdump.pcap;application/x-charles-trace";
19+ name = "Charles";
20+ startupNotify = "true";
21+ };
22+
23+ attrs' = builtins.removeAttrs attrs ["version" "sha256"];
24+ in stdenv.mkDerivation rec {
25+ name = "charles-${version}";
26+ inherit version;
27+
28+ src = fetchurl {
29+ url = "https://www.charlesproxy.com/assets/release/${version}/charles-proxy-${version}.tar.gz";
30+ inherit sha256;
31+ };
32+ buildInputs = [ makeWrapper ];
2333
24− buildInputs = [ makeWrapper ];
34+ installPhase = ''
35+ makeWrapper ${jre}/bin/java $out/bin/charles \
36+ --add-flags "-Xmx1024M -Dcharles.config='~/.charles.config' -jar $out/share/java/charles.jar"
2537
26− installPhase = ''
27− makeWrapper ${jre}/bin/java $out/bin/charles \
28− --add-flags "-Xmx1024M -Dcharles.config='~/.charles.config' -jar $out/share/java/charles.jar"
38+ for fn in lib/*.jar; do
39+ install -D -m644 $fn $out/share/java/$(basename $fn)
40+ done
2941
30− for fn in lib/*.jar; do
31− install -D -m644 $fn $out/share/java/$(basename $fn)
32− done
42+ mkdir -p $out/share/applications
43+ ln -s ${desktopItem}/share/applications/* $out/share/applications/
3344
34− mkdir -p $out/share/applications
35− ln -s ${desktopItem}/share/applications/* $out/share/applications/
45+ mkdir -p $out/share/icons
46+ cp -r icon $out/share/icons/hicolor
47+ '';
3648
37− mkdir -p $out/share/icons
38− cp -r icon $out/share/icons/hicolor
39− '';
49+ meta = with stdenv.lib; {
50+ description = "Web Debugging Proxy";
51+ homepage = https://www.charlesproxy.com/;
52+ maintainers = [ maintainers.kalbasit ];
53+ license = stdenv.lib.licenses.unfree;
54+ platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
55+ };
56+ };
4057
41− meta = with stdenv.lib; {
42− description = "Web Debugging Proxy";
43− homepage = https://www.charlesproxy.com/;
44− maintainers = [ maintainers.kalbasit ];
45− license = stdenv.lib.licenses.unfree;
46− platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
47− };
58+in rec {
59+ charles4 = (generic {
60+ version = "4.2.7";
61+ sha256 = "1nycw3wpbfwj4ijjaq5k0f4xipj8j605fs0yjzgl66gmv7r583rd";
62+ });
63+ charles3 = (generic {
64+ version = "3.12.3";
65+ sha256 = "13zk82ny1w5zd9qcs9qkq0kdb22ni5byzajyshpxdfm4zv6p32ss";
66+ });
4867}
68+
pkgs/applications/networking/cluster/cni/plugins.nix+1−2
@@ -13,10 +13,9 @@ stdenv.mkDerivation rec {
1313
1414 buildInputs = [ removeReferencesTo go ];
1515
16− GOCACHE = "off";
17−
1816 buildPhase = ''
1917 patchShebangs build.sh
18+ export "GOCACHE=$TMPDIR/go-cache"
2019 ./build.sh
2120 '';
2221
pkgs/applications/networking/cluster/heptio-ark/default.nix+3−3
@@ -2,7 +2,7 @@
22
33buildGoPackage rec {
44 name = "heptio-ark-${version}";
5− version = "0.9.6";
5+ version = "0.10.0";
66
77 goPackagePath = "github.com/heptio/ark";
88
@@ -10,10 +10,10 @@ buildGoPackage rec {
1010 rev = "v${version}";
1111 owner = "heptio";
1212 repo = "ark";
13− sha256 = "0q353a6f3hvg1gr6rmg8pbqnkrbgjchdr7f6f9503l1qbyyf95fz";
13+ sha256 = "18h9hvp95va0hyl268gnzciwy1dqmc57bpifbj885870rdfp0ffv";
1414 };
1515
16− postInstall = "rm $bin/bin/generate";
16+ postInstall = "rm $bin/bin/issue-template-gen";
1717
1818 meta = with stdenv.lib; {
1919 description = "A utility for managing disaster recovery, specifically for your Kubernetes cluster resources and persistent volumes";
pkgs/applications/networking/cluster/hetzner-kube/default.nix+7−6
@@ -1,18 +1,19 @@
11{ lib, buildGoPackage, fetchFromGitHub, ... }:
22
3−let version = "0.3.1"; in
4−
5−buildGoPackage {
6− name = "hetzner-kube-${version}";
3+buildGoPackage rec {
4+ pname = "hetzner-kube";
5+ version = "0.3.2-rc1";
76
87 src = fetchFromGitHub {
98 owner = "xetys";
109 repo = "hetzner-kube";
11− rev = "${version}";
12− sha256 = "1xldh1ca8ym8cg3w5cxizmhqxwi5kmiin28f320mxdr28fzljc2w";
10+ rev = version;
11+ sha256 = "16pzcpcr98rcrv5k57fa7h9a82wiv4p2ckhkmisynkr7f1xk60mw";
1312 };
1413
1514 goPackagePath = "github.com/xetys/hetzner-kube";
15+ subPackages = ["."];
16+ goDeps = ./deps.nix;
1617
1718 meta = {
1819 description = "A CLI tool for provisioning Kubernetes clusters on Hetzner Cloud";
pkgs/applications/networking/cluster/hetzner-kube/deps.nixnew file+255
@@ -0,0 +1,255 @@
1+# file generated from Gopkg.lock using dep2nix (https://github.com/nixcloud/dep2nix)
2+[
3+ {
4+ goPackagePath = "github.com/Pallinder/go-randomdata";
5+ fetch = {
6+ type = "git";
7+ url = "https://github.com/Pallinder/go-randomdata";
8+ rev = "15df0648130a623e418886f81b2aaecd0a00547b";
9+ sha256 = "1kdrchnhp71spz6amcbxr5m0pdksbqx8jjydvxb82pw43rrbx6s7";
10+ };
11+ }
12+ {
13+ goPackagePath = "github.com/andreyvit/diff";
14+ fetch = {
15+ type = "git";
16+ url = "https://github.com/andreyvit/diff";
17+ rev = "c7f18ee00883bfd3b00e0a2bf7607827e0148ad4";
18+ sha256 = "1s4qjkxig5yqahpzfl4xqh4kzi9mymdpkzq6kj3f4dr5dl3hlynr";
19+ };
20+ }
21+ {
22+ goPackagePath = "github.com/fsnotify/fsnotify";
23+ fetch = {
24+ type = "git";
25+ url = "https://github.com/fsnotify/fsnotify";
26+ rev = "c2828203cd70a50dcccfb2761f8b1f8ceef9a8e9";
27+ sha256 = "07va9crci0ijlivbb7q57d2rz9h27zgn2fsm60spjsqpdbvyrx4g";
28+ };
29+ }
30+ {
31+ goPackagePath = "github.com/go-kit/kit";
32+ fetch = {
33+ type = "git";
34+ url = "https://github.com/go-kit/kit";
35+ rev = "ca4112baa34cb55091301bdc13b1420a122b1b9e";
36+ sha256 = "0vsqmjnd3zj3qxg455kz27fjd9zh2vx5x17hfgzjv2pqsg3jas13";
37+ };
38+ }
39+ {
40+ goPackagePath = "github.com/go-logfmt/logfmt";
41+ fetch = {
42+ type = "git";
43+ url = "https://github.com/go-logfmt/logfmt";
44+ rev = "390ab7935ee28ec6b286364bba9b4dd6410cb3d5";
45+ sha256 = "1gkgh3k5w1xwb2qbjq52p6azq3h1c1rr6pfwjlwj1zrijpzn2xb9";
46+ };
47+ }
48+ {
49+ goPackagePath = "github.com/go-stack/stack";
50+ fetch = {
51+ type = "git";
52+ url = "https://github.com/go-stack/stack";
53+ rev = "259ab82a6cad3992b4e21ff5cac294ccb06474bc";
54+ sha256 = "0irkqifyj84cbnq4n66ax2r591id2285diw5hzcz2k3bga8d8lqr";
55+ };
56+ }
57+ {
58+ goPackagePath = "github.com/gosuri/uilive";
59+ fetch = {
60+ type = "git";
61+ url = "https://github.com/gosuri/uilive";
62+ rev = "ac356e6e42cd31fcef8e6aec13ae9ed6fe87713e";
63+ sha256 = "1k28zbc14p1yqzhamp9rcagjdw6wsdb55m08nx758jwlr31az6jy";
64+ };
65+ }
66+ {
67+ goPackagePath = "github.com/gosuri/uiprogress";
68+ fetch = {
69+ type = "git";
70+ url = "https://github.com/gosuri/uiprogress";
71+ rev = "d0567a9d84a1c40dd7568115ea66f4887bf57b33";
72+ sha256 = "1m7rxf71mn8w2yysc8wmf2703avhci6f4nkiijjl1f2cx4kzykck";
73+ };
74+ }
75+ {
76+ goPackagePath = "github.com/hashicorp/hcl";
77+ fetch = {
78+ type = "git";
79+ url = "https://github.com/hashicorp/hcl";
80+ rev = "ef8a98b0bbce4a65b5aa4c368430a80ddc533168";
81+ sha256 = "1qalfsc31fra7hcw2lc3s20aj7al62fq3j5fn5kga3mg99b82nyr";
82+ };
83+ }
84+ {
85+ goPackagePath = "github.com/hetznercloud/hcloud-go";
86+ fetch = {
87+ type = "git";
88+ url = "https://github.com/hetznercloud/hcloud-go";
89+ rev = "400c6f026bf3c8d5fead3df7806e6981a16bb6b8";
90+ sha256 = "0y6y7glnzbrzmly2j139vj8279w3c8bm1zc2mzljwyjpa6pvp7di";
91+ };
92+ }
93+ {
94+ goPackagePath = "github.com/inconshreveable/mousetrap";
95+ fetch = {
96+ type = "git";
97+ url = "https://github.com/inconshreveable/mousetrap";
98+ rev = "76626ae9c91c4f2a10f34cad8ce83ea42c93bb75";
99+ sha256 = "1mn0kg48xkd74brf48qf5hzp0bc6g8cf5a77w895rl3qnlpfw152";
100+ };
101+ }
102+ {
103+ goPackagePath = "github.com/kr/logfmt";
104+ fetch = {
105+ type = "git";
106+ url = "https://github.com/kr/logfmt";
107+ rev = "b84e30acd515aadc4b783ad4ff83aff3299bdfe0";
108+ sha256 = "02ldzxgznrfdzvghfraslhgp19la1fczcbzh7wm2zdc6lmpd1qq9";
109+ };
110+ }
111+ {
112+ goPackagePath = "github.com/magiconair/properties";
113+ fetch = {
114+ type = "git";
115+ url = "https://github.com/magiconair/properties";
116+ rev = "c2353362d570a7bfa228149c62842019201cfb71";
117+ sha256 = "1a10362wv8a8qwb818wygn2z48lgzch940hvpv81hv8gc747ajxn";
118+ };
119+ }
120+ {
121+ goPackagePath = "github.com/mattn/go-isatty";
122+ fetch = {
123+ type = "git";
124+ url = "https://github.com/mattn/go-isatty";
125+ rev = "0360b2af4f38e8d38c7fce2a9f4e702702d73a39";
126+ sha256 = "06w45aqz2a6yrk25axbly2k5wmsccv8cspb94bfmz4izvw8h927n";
127+ };
128+ }
129+ {
130+ goPackagePath = "github.com/mitchellh/go-homedir";
131+ fetch = {
132+ type = "git";
133+ url = "https://github.com/mitchellh/go-homedir";
134+ rev = "58046073cbffe2f25d425fe1331102f55cf719de";
135+ sha256 = "0kwflrwsjdsy8vbhyzicc4c2vdi7lhdvn4rarfr18x1qsrb7n1bx";
136+ };
137+ }
138+ {
139+ goPackagePath = "github.com/mitchellh/mapstructure";
140+ fetch = {
141+ type = "git";
142+ url = "https://github.com/mitchellh/mapstructure";
143+ rev = "f15292f7a699fcc1a38a80977f80a046874ba8ac";
144+ sha256 = "0zm3nhdvmj3f8q0vg2sjfw1sm3pwsw0ggz501awz95w99664a8al";
145+ };
146+ }
147+ {
148+ goPackagePath = "github.com/pelletier/go-toml";
149+ fetch = {
150+ type = "git";
151+ url = "https://github.com/pelletier/go-toml";
152+ rev = "c01d1270ff3e442a8a57cddc1c92dc1138598194";
153+ sha256 = "1fjzpcjng60mc3a4b2ql5a00d5gah84wj740dabv9kq67mpg8fxy";
154+ };
155+ }
156+ {
157+ goPackagePath = "github.com/sergi/go-diff";
158+ fetch = {
159+ type = "git";
160+ url = "https://github.com/sergi/go-diff";
161+ rev = "1744e2970ca51c86172c8190fadad617561ed6e7";
162+ sha256 = "0swiazj8wphs2zmk1qgq75xza6m19snif94h2m6fi8dqkwqdl7c7";
163+ };
164+ }
165+ {
166+ goPackagePath = "github.com/spf13/afero";
167+ fetch = {
168+ type = "git";
169+ url = "https://github.com/spf13/afero";
170+ rev = "787d034dfe70e44075ccc060d346146ef53270ad";
171+ sha256 = "0138rjiacl71h7kvhzinviwvy6qa2m6rflpv9lgqv15hnjvhwvg1";
172+ };
173+ }
174+ {
175+ goPackagePath = "github.com/spf13/cast";
176+ fetch = {
177+ type = "git";
178+ url = "https://github.com/spf13/cast";
179+ rev = "8965335b8c7107321228e3e3702cab9832751bac";
180+ sha256 = "177bk7lq40jbgv9p9r80aydpaccfk8ja3a7jjhfwiwk9r1pa4rr2";
181+ };
182+ }
183+ {
184+ goPackagePath = "github.com/spf13/cobra";
185+ fetch = {
186+ type = "git";
187+ url = "https://github.com/spf13/cobra";
188+ rev = "ef82de70bb3f60c65fb8eebacbb2d122ef517385";
189+ sha256 = "1q1nsx05svyv9fv3fy6xv6gs9ffimkyzsfm49flvl3wnvf1ncrkd";
190+ };
191+ }
192+ {
193+ goPackagePath = "github.com/spf13/jwalterweatherman";
194+ fetch = {
195+ type = "git";
196+ url = "https://github.com/spf13/jwalterweatherman";
197+ rev = "14d3d4c518341bea657dd8a226f5121c0ff8c9f2";
198+ sha256 = "1f9154lijbz0kkgqwmbphykwl4adv4fvkx6n1p7fdq3x5j9g8i17";
199+ };
200+ }
201+ {
202+ goPackagePath = "github.com/spf13/pflag";
203+ fetch = {
204+ type = "git";
205+ url = "https://github.com/spf13/pflag";
206+ rev = "9a97c102cda95a86cec2345a6f09f55a939babf5";
207+ sha256 = "005598piihl3l83a71ahj10cpq9pbhjck4xishx1b4dzc02r9xr2";
208+ };
209+ }
210+ {
211+ goPackagePath = "github.com/spf13/viper";
212+ fetch = {
213+ type = "git";
214+ url = "https://github.com/spf13/viper";
215+ rev = "907c19d40d9a6c9bb55f040ff4ae45271a4754b9";
216+ sha256 = "177ziws6mwxdlvicmgpv7w7zy5ri2wgnw2f2v3789b5skv9d6a6b";
217+ };
218+ }
219+ {
220+ goPackagePath = "golang.org/x/crypto";
221+ fetch = {
222+ type = "git";
223+ url = "https://go.googlesource.com/crypto";
224+ rev = "de0752318171da717af4ce24d0a2e8626afaeb11";
225+ sha256 = "1ps1dl2a5lwr3vbwcy8n4i1v73m567y024sk961fk281phrzp13i";
226+ };
227+ }
228+ {
229+ goPackagePath = "golang.org/x/sys";
230+ fetch = {
231+ type = "git";
232+ url = "https://go.googlesource.com/sys";
233+ rev = "1c9583448a9c3aa0f9a6a5241bf73c0bd8aafded";
234+ sha256 = "0g0nc549pmdmvja4mdqh0kgvznnw6wliqmx5wrnj02l3a23vizmi";
235+ };
236+ }
237+ {
238+ goPackagePath = "golang.org/x/text";
239+ fetch = {
240+ type = "git";
241+ url = "https://go.googlesource.com/text";
242+ rev = "f21a4dfb5e38f5895301dc265a8def02365cc3d0";
243+ sha256 = "0r6x6zjzhr8ksqlpiwm5gdd7s209kwk5p4lw54xjvz10cs3qlq19";
244+ };
245+ }
246+ {
247+ goPackagePath = "gopkg.in/yaml.v2";
248+ fetch = {
249+ type = "git";
250+ url = "https://github.com/go-yaml/yaml";
251+ rev = "5420a8b6744d3b0345ab293f6fcba19c978f1183";
252+ sha256 = "0dwjrs2lp2gdlscs7bsrmyc5yf6mm4fvgw71bzr9mv2qrd2q73s1";
253+ };
254+ }
255+]
pkgs/applications/networking/cluster/jx/default.nixnew file+59
@@ -0,0 +1,59 @@
1+{ buildGoPackage, fetchFromGitHub, lib }:
2+
3+let
4+ removeVendoredPackages = goDeps:
5+ ''
6+ echo "Removing any vendored duplicate of direct dependency... "
7+ for dir in $(find $NIX_BUILD_TOP/go/src -type d -name vendor); do
8+ ${builtins.concatStringsSep "\n" (map (goDep: ''
9+ if test -d $dir/${goDep.goPackagePath}; then
10+ echo "Removing duplicate directory at $dir/${goDep.goPackagePath}"
11+ rm -rf $dir/${goDep.goPackagePath}
12+ fi
13+ '') goDeps)}
14+ done
15+ echo "Done"
16+ '';
17+in
18+buildGoPackage rec {
19+ name = "jx";
20+ version = "1.3.955";
21+
22+ goPackagePath = "github.com/jenkins-x/jx";
23+ subPackages = [ "cmd/jx" ];
24+
25+ src = fetchFromGitHub {
26+ owner = "jenkins-x";
27+ repo = "jx";
28+ rev = "v${version}";
29+ sha256 = "0h4ck1a8rlyg10gaxbnwvlabwjlhdrigrina84x4m2gsqr3lnp9a";
30+ };
31+
32+ # Some of the dependencies have their own checked in vendor directory that
33+ # vendor their dependencies. However, some of those dependencies are also
34+ # directly pulled down through the vgo modules. Removing these dependencies
35+ # as they confuse the go compiler and causes the build to fail.
36+ # Removing all the vendor directories also breaks the build.
37+ preBuild = removeVendoredPackages (import goDeps);
38+
39+ buildFlagsArray = ''
40+ -ldflags=
41+ -X ${goPackagePath}/pkg/version.Version=${version}
42+ -X ${goPackagePath}/pkg/version.Revision=${version}
43+ '';
44+
45+ goDeps = ./deps.nix;
46+
47+ meta = with lib; {
48+ description = "JX is a command line tool for installing and using Jenkins X.";
49+ longDescription = ''
50+ Jenkins X provides automated CI+CD for Kubernetes with Preview
51+ Environments on Pull Requests using Jenkins, Knative Build, Prow,
52+ Skaffold and Helm.
53+ '';
54+ homepage = https://github.com/jenkins-x/jx;
55+ license = licenses.asl20 ;
56+ maintainers = with maintainers; [ kalbasit ];
57+ platforms = platforms.linux ++ platforms.darwin;
58+ };
59+}
pkgs/applications/networking/cluster/jx/deps.nixnew file+3380
@@ -0,0 +1,3380 @@
1+# file generated from go.mod using vgo2nix (https://github.com/adisbladis/vgo2nix)
2+# file was patched manually to account for the `replace` statements in the
3+# upstream go.mod that's not yet supported by vgo2nix.
4+[
5+ {
6+ goPackagePath = "cloud.google.com/go";
7+ fetch = {
8+ type = "git";
9+ url = "https://code.googlesource.com/gocloud";
10+ rev = "v0.34.0";
11+ sha256 = "1kclgclwar3r37zbvb9gg3qxbgzkb50zk3s9778zlh2773qikmai";
12+ };
13+ }
14+ {
15+ goPackagePath = "code.gitea.io/sdk";
16+ fetch = {
17+ type = "git";
18+ url = "https://github.com/go-gitea/go-sdk";
19+ rev = "79a281c4e34a";
20+ sha256 = "1bkcsmjagsyaynyi562rsi3xvypnb2z38inq6ni5k9mxk9q5r8h0";
21+ };
22+ }
23+ {
24+ goPackagePath = "contrib.go.opencensus.io/exporter/aws";
25+ fetch = {
26+ type = "git";
27+ url = "https://github.com/census-ecosystem/opencensus-go-exporter-aws";
28+ rev = "dd54a7ef511e";
29+ sha256 = "05xs00w0miw7ci329dmfhxdav3wfjcn3z63px7s8cqd78k18a4sn";
30+ };
31+ }
32+ {
33+ goPackagePath = "contrib.go.opencensus.io/exporter/stackdriver";
34+ fetch = {
35+ type = "git";
36+ url = "https://github.com/census-ecosystem/opencensus-go-exporter-stackdriver";
37+ rev = "v0.6.0";
38+ sha256 = "0qhxpfmzn5jsh1qrq7w2zkg87xvalqam2ciq65qfq38mfkssda3v";
39+ };
40+ }
41+ {
42+ goPackagePath = "contrib.go.opencensus.io/integrations/ocsql";
43+ fetch = {
44+ type = "git";
45+ url = "https://github.com/opencensus-integrations/ocsql";
46+ rev = "v0.1.2";
47+ sha256 = "0rs8dyr8jp4907h8f6ih3bgqbqjhq9q7m8b3pfvargmr7kq5si70";
48+ };
49+ }
50+ {
51+ goPackagePath = "git.apache.org/thrift.git";
52+ fetch = {
53+ type = "git";
54+ url = "https://github.com/apache/thrift.git";
55+ rev = "2566ecd5d999";
56+ sha256 = "14gl0j85x3hj3gncf417f8zf92phrpvkj4clxmvbcq1dcgjdn6mc";
57+ };
58+ }
59+ {
60+ goPackagePath = "github.com/Azure/azure-pipeline-go";
61+ fetch = {
62+ type = "git";
63+ url = "https://github.com/Azure/azure-pipeline-go";
64+ rev = "v0.1.8";
65+ sha256 = "0p2m31l893377na7dmsjfpjd5swqnb7p0vhsng3vyn237i8f1336";
66+ };
67+ }
68+ {
69+ goPackagePath = "github.com/Azure/azure-sdk-for-go";
70+ fetch = {
71+ type = "git";
72+ url = "https://github.com/Azure/azure-sdk-for-go";
73+ rev = "v21.1.0";
74+ sha256 = "1rway7ksn6c98pxs036hl8nvljs3vxspgsjj9y1ncc0vzavg29d1";
75+ };
76+ }
77+ {
78+ goPackagePath = "github.com/Azure/azure-storage-blob-go";
79+ fetch = {
80+ type = "git";
81+ url = "https://github.com/Azure/azure-storage-blob-go";
82+ rev = "cf01652132cc";
83+ sha256 = "0pcb59nsn094flpqwl7yz7cqvvwki0wam9r8gjbzqbsjn7ib3gac";
84+ };
85+ }
86+ {
87+ goPackagePath = "github.com/Azure/draft";
88+ fetch = {
89+ type = "git";
90+ url = "https://github.com/Azure/draft";
91+ rev = "v0.15.0";
92+ sha256 = "03396zlalfsdxaiqpb97m8x9r060yyydvh0dkg7506pz5zrfm4pn";
93+ };
94+ }
95+ {
96+ goPackagePath = "github.com/Azure/go-ansiterm";
97+ fetch = {
98+ type = "git";
99+ url = "https://github.com/Azure/go-ansiterm";
100+ rev = "d6e3b3328b78";
101+ sha256 = "010khrkhkf9cxlvvb6ncqv4c1qcdmpbz9jn38g4fxf4xsma8xx1q";
102+ };
103+ }
104+ {
105+ goPackagePath = "github.com/Azure/go-autorest";
106+ fetch = {
107+ type = "git";
108+ url = "https://github.com/Azure/go-autorest";
109+ rev = "v10.15.5";
110+ sha256 = "158xbd8wn1bna1k1ichlirz6a1zvlh3rg7klr9cnp72l2q8jwvcl";
111+ };
112+ }
113+ {
114+ goPackagePath = "github.com/BurntSushi/toml";
115+ fetch = {
116+ type = "git";
117+ url = "https://github.com/BurntSushi/toml";
118+ rev = "v0.3.0";
119+ sha256 = "0k7v2i1d2d6si8gswn83qb84czhhia53v2wdy33yz9ppdidxk0ry";
120+ };
121+ }
122+ {
123+ goPackagePath = "github.com/DataDog/datadog-go";
124+ fetch = {
125+ type = "git";
126+ url = "https://github.com/DataDog/datadog-go";
127+ rev = "281ae9f2d895";
128+ sha256 = "1n82vl636zcpfrhh7yhmszvdxdba5hn2fjl39dvnk0a8pm2afmkx";
129+ };
130+ }
131+ {
132+ goPackagePath = "github.com/GoogleCloudPlatform/cloudsql-proxy";
133+ fetch = {
134+ type = "git";
135+ url = "https://github.com/GoogleCloudPlatform/cloudsql-proxy";
136+ rev = "ac834ce67862";
137+ sha256 = "07n2hfhqa9hinabmx79aqqwxzzkky76x3jvpd89kch14fijbh532";
138+ };
139+ }
140+ {
141+ goPackagePath = "github.com/IBM-Cloud/bluemix-go";
142+ fetch = {
143+ type = "git";
144+ url = "https://github.com/IBM-Cloud/bluemix-go";
145+ rev = "d718d474c7c2";
146+ sha256 = "1div1yrr7lbamh469hkd41acbjsln7jyaf0kzjxbjgb4rwmnh2jk";
147+ };
148+ }
149+ {
150+ goPackagePath = "github.com/Jeffail/gabs";
151+ fetch = {
152+ type = "git";
153+ url = "https://github.com/Jeffail/gabs";
154+ rev = "v1.1.1";
155+ sha256 = "1lk6cn7fnnfyq8xb0xlv8zv3gvdd0vb2g8ikc9rfcppl7hwy51n8";
156+ };
157+ }
158+ {
159+ goPackagePath = "github.com/MakeNowJust/heredoc";
160+ fetch = {
161+ type = "git";
162+ url = "https://github.com/MakeNowJust/heredoc";
163+ rev = "e9091a26100e";
164+ sha256 = "04lh2vm6d6s1vikzh9xb4ya744snr5c4v5797y2b8ri4pyfgd9h2";
165+ };
166+ }
167+ {
168+ goPackagePath = "github.com/Masterminds/semver";
169+ fetch = {
170+ type = "git";
171+ url = "https://github.com/Masterminds/semver";
172+ rev = "v1.4.2";
173+ sha256 = "0k2fpk2x8jbvqkqxx5hkx1ygrsppzmzypqb90i1r33yq7ac7zlxj";
174+ };
175+ }
176+ {
177+ goPackagePath = "github.com/Masterminds/sprig";
178+ fetch = {
179+ type = "git";
180+ url = "https://github.com/Masterminds/sprig";
181+ rev = "6b2a58267f6a";
182+ sha256 = "10vzhx710vaxqzh45vrkw4vc3fgcbycpn04shcylzcmlxmfnpjv1";
183+ };
184+ }
185+ {
186+ goPackagePath = "github.com/Microsoft/go-winio";
187+ fetch = {
188+ type = "git";
189+ url = "https://github.com/Microsoft/go-winio";
190+ rev = "v0.4.6";
191+ sha256 = "0i3z8yrxlldq0n70ic30517437jzzxmvbglhbxrz75qnlzrglhlp";
192+ };
193+ }
194+ {
195+ goPackagePath = "github.com/NYTimes/gziphandler";
196+ fetch = {
197+ type = "git";
198+ url = "https://github.com/NYTimes/gziphandler";
199+ rev = "63027b26b87e";
200+ sha256 = "1px0rlhxpap7rk37w0qlq66zzxwfvbpdc2sps2i2rqxgd3w5n31g";
201+ };
202+ }
203+ {
204+ goPackagePath = "github.com/Netflix/go-expect";
205+ fetch = {
206+ type = "git";
207+ url = "https://github.com/Netflix/go-expect";
208+ rev = "124a37274874";
209+ sha256 = "1cq3d7d4cpwgyzb0syka4a4dspcymq5582qzvbdkbkc4s81kjr4c";
210+ };
211+ }
212+ {
213+ goPackagePath = "github.com/Nvveen/Gotty";
214+ fetch = {
215+ type = "git";
216+ url = "https://github.com/Nvveen/Gotty";
217+ rev = "cd527374f1e5";
218+ sha256 = "1ylvr1p6p036ns3g3wdz8f92f69symshkc8j54fa6gpg4hyk0k6q";
219+ };
220+ }
221+ {
222+ goPackagePath = "github.com/Pallinder/go-randomdata";
223+ fetch = {
224+ type = "git";
225+ url = "https://github.com/Pallinder/go-randomdata";
226+ rev = "15df0648130a";
227+ sha256 = "1kdrchnhp71spz6amcbxr5m0pdksbqx8jjydvxb82pw43rrbx6s7";
228+ };
229+ }
230+ {
231+ goPackagePath = "github.com/PuerkitoBio/purell";
232+ fetch = {
233+ type = "git";
234+ url = "https://github.com/PuerkitoBio/purell";
235+ rev = "v1.1.0";
236+ sha256 = "0vsxyn1fbm7g873b8kf3hcsgqgncb5nmfq3zfsc35a9yhzarka91";
237+ };
238+ }
239+ {
240+ goPackagePath = "github.com/PuerkitoBio/urlesc";
241+ fetch = {
242+ type = "git";
243+ url = "https://github.com/PuerkitoBio/urlesc";
244+ rev = "de5bf2ad4578";
245+ sha256 = "0n0srpqwbaan1wrhh2b7ysz543pjs1xw2rghvqyffg9l0g8kzgcw";
246+ };
247+ }
248+ {
249+ goPackagePath = "github.com/SAP/go-hdb";
250+ fetch = {
251+ type = "git";
252+ url = "https://github.com/SAP/go-hdb";
253+ rev = "v0.13.2";
254+ sha256 = "0gzw594y039chx22a3zn9y3j2y6bqsgi9zq7lzpf7schzl52ii7h";
255+ };
256+ }
257+ {
258+ goPackagePath = "github.com/SermoDigital/jose";
259+ fetch = {
260+ type = "git";
261+ url = "https://github.com/SermoDigital/jose";
262+ rev = "v0.9.1";
263+ sha256 = "0fc6w0hl9n39ixpayg1j3b4nvnr06bgvhqx5mxgxcydjci5pqi8m";
264+ };
265+ }
266+ {
267+ goPackagePath = "github.com/StackExchange/wmi";
268+ fetch = {
269+ type = "git";
270+ url = "https://github.com/StackExchange/wmi";
271+ rev = "5d049714c4a6";
272+ sha256 = "1slw6v1fl8i0hz4db9lph55pbhnrxhqyndq6vm27dgvpj22k29fk";
273+ };
274+ }
275+ {
276+ goPackagePath = "github.com/acarl005/stripansi";
277+ fetch = {
278+ type = "git";
279+ url = "https://github.com/acarl005/stripansi";
280+ rev = "5a71ef0e047d";
281+ sha256 = "02sxiishdixm791jqbkmhdcvc712l0fb8rqmibxzgc61h0qs6rs3";
282+ };
283+ }
284+ {
285+ goPackagePath = "github.com/alcortesm/tgz";
286+ fetch = {
287+ type = "git";
288+ url = "https://github.com/alcortesm/tgz";
289+ rev = "9c5fe88206d7";
290+ sha256 = "04dcwnz2c2i4wbq2vx3g2wrdgqpncr2r1h6p1k08rdwk4bq1h8c5";
291+ };
292+ }
293+ {
294+ goPackagePath = "github.com/alecthomas/template";
295+ fetch = {
296+ type = "git";
297+ url = "https://github.com/alecthomas/template";
298+ rev = "a0175ee3bccc";
299+ sha256 = "0qjgvvh26vk1cyfq9fadyhfgdj36f1iapbmr5xp6zqipldz8ffxj";
300+ };
301+ }
302+ {
303+ goPackagePath = "github.com/alecthomas/units";
304+ fetch = {
305+ type = "git";
306+ url = "https://github.com/alecthomas/units";
307+ rev = "2efee857e7cf";
308+ sha256 = "1j65b91qb9sbrml9cpabfrcf07wmgzzghrl7809hjjhrmbzri5bl";
309+ };
310+ }
311+ {
312+ goPackagePath = "github.com/alexflint/go-filemutex";
313+ fetch = {
314+ type = "git";
315+ url = "https://github.com/alexflint/go-filemutex";
316+ rev = "d358565f3c3f";
317+ sha256 = "19fzbm0x8821awsmqj9ig49dxxkd72p1yfqbijmdwwszvw2r0ggz";
318+ };
319+ }
320+ {
321+ goPackagePath = "github.com/andygrunwald/go-gerrit";
322+ fetch = {
323+ type = "git";
324+ url = "https://github.com/andygrunwald/go-gerrit";
325+ rev = "43cfd7a94eb4";
326+ sha256 = "1350r7pvvgl26kiiz4x96ac5gym2xc9968ddx18z8wlv776azidr";
327+ };
328+ }
329+ {
330+ goPackagePath = "github.com/andygrunwald/go-jira";
331+ fetch = {
332+ type = "git";
333+ url = "https://github.com/andygrunwald/go-jira";
334+ rev = "v1.5.0";
335+ sha256 = "13fp8qim22znvlqclsg2sdlpvbnmgh549rrsa9cxk04klgaapdqy";
336+ };
337+ }
338+ {
339+ goPackagePath = "github.com/anmitsu/go-shlex";
340+ fetch = {
341+ type = "git";
342+ url = "https://github.com/anmitsu/go-shlex";
343+ rev = "648efa622239";
344+ sha256 = "10rgdp5d106iisgz25ic8k6f44s9adh4sjh6fyxq9ccm21gw49b7";
345+ };
346+ }
347+ {
348+ goPackagePath = "github.com/antham/chyle";
349+ fetch = {
350+ type = "git";
351+ url = "https://github.com/antham/chyle";
352+ rev = "v1.4.0";
353+ sha256 = "144ja4g7b238dm3hwgqbl71skxp5mx7438w78hjpbfn5zq2cbrs2";
354+ };
355+ }
356+ {
357+ goPackagePath = "github.com/antham/envh";
358+ fetch = {
359+ type = "git";
360+ url = "https://github.com/antham/envh";
361+ rev = "v1.2.0";
362+ sha256 = "0l0mn4vwns9b6faxvx464a38mjgk5rhn58sxai1g7l8c3qqr3g0h";
363+ };
364+ }
365+ {
366+ goPackagePath = "github.com/antham/strumt";
367+ fetch = {
368+ type = "git";
369+ url = "https://github.com/antham/strumt";
370+ rev = "6776189777d3";
371+ sha256 = "0m7xhjnfpxvhx3a59k46k33i0zmy427vxmx67smndjxgxgmpqzd0";
372+ };
373+ }
374+ {
375+ goPackagePath = "github.com/aokoli/goutils";
376+ fetch = {
377+ type = "git";
378+ url = "https://github.com/aokoli/goutils";
379+ rev = "v1.0.1";
380+ sha256 = "1yj4yjfwylica31sgj69ygb04p9xxi22kgfxd0j5f58zr8vwww2n";
381+ };
382+ }
383+ {
384+ goPackagePath = "github.com/armon/circbuf";
385+ fetch = {
386+ type = "git";
387+ url = "https://github.com/armon/circbuf";
388+ rev = "bbbad097214e";
389+ sha256 = "1idpr0lzb2px2p3wgfq2276yl7jpaz43df6n91kf790404s4zmk3";
390+ };
391+ }
392+ {
393+ goPackagePath = "github.com/armon/go-metrics";
394+ fetch = {
395+ type = "git";
396+ url = "https://github.com/armon/go-metrics";
397+ rev = "f0300d1749da";
398+ sha256 = "13l7c35ps0r27vxfil2w0xhhc7w5rh00awvlmn4cz0a937b9ffpv";
399+ };
400+ }
401+ {
402+ goPackagePath = "github.com/armon/go-radix";
403+ fetch = {
404+ type = "git";
405+ url = "https://github.com/armon/go-radix";
406+ rev = "v1.0.0";
407+ sha256 = "1m1k0jz9gjfrk4m7hjm7p03qmviamfgxwm2ghakqxw3hdds8v503";
408+ };
409+ }
410+ {
411+ goPackagePath = "github.com/asaskevich/govalidator";
412+ fetch = {
413+ type = "git";
414+ url = "https://github.com/asaskevich/govalidator";
415+ rev = "f9ffefc3facf";
416+ sha256 = "02rsz7v49in9bmgsjciqcyik9xmy3yfz0znw739ssgy6px00cg04";
417+ };
418+ }
419+ {
420+ goPackagePath = "github.com/aws/aws-k8s-tester";
421+ fetch = {
422+ type = "git";
423+ url = "https://github.com/aws/aws-k8s-tester";
424+ rev = "b411acf57dfe";
425+ sha256 = "1yhgmkdd003v99w9kdl96phfmg3f3a5ahmn49srdbakc3p1wwxh8";
426+ };
427+ }
428+ {
429+ goPackagePath = "github.com/aws/aws-sdk-go";
430+ fetch = {
431+ type = "git";
432+ url = "https://github.com/aws/aws-sdk-go";
433+ rev = "v1.16.20";
434+ sha256 = "0a5wwmjmlbdgmsv1myxr9vmr9k9cic5d31kc30qbasm7p15ljxr1";
435+ };
436+ }
437+ {
438+ goPackagePath = "github.com/banzaicloud/bank-vaults";
439+ fetch = {
440+ type = "git";
441+ url = "https://github.com/banzaicloud/bank-vaults";
442+ rev = "e31657d7c4fe";
443+ sha256 = "0f642k5prrvq7wcm96hk7vw8ma86x7k1bvkr8mrcvabnvvp5jcfk";
444+ };
445+ }
446+ {
447+ goPackagePath = "github.com/bazelbuild/buildtools";
448+ fetch = {
449+ type = "git";
450+ url = "https://github.com/bazelbuild/buildtools";
451+ rev = "80c7f0d45d7e";
452+ sha256 = "1r2590m283k2449ikjmvrifz1ik8gn4wyq563r4v03ssylf3rv40";
453+ };
454+ }
455+ {
456+ goPackagePath = "github.com/beevik/etree";
457+ fetch = {
458+ type = "git";
459+ url = "https://github.com/beevik/etree";
460+ rev = "v1.0.1";
461+ sha256 = "0f3lj7azxd5qq29hqd32211ds7n56i3rgmfll6c1f4css1f3srxg";
462+ };
463+ }
464+ {
465+ goPackagePath = "github.com/beorn7/perks";
466+ fetch = {
467+ type = "git";
468+ url = "https://github.com/beorn7/perks";
469+ rev = "3a771d992973";
470+ sha256 = "1l2lns4f5jabp61201sh88zf3b0q793w4zdgp9nll7mmfcxxjif3";
471+ };
472+ }
473+ {
474+ goPackagePath = "github.com/bgentry/speakeasy";
475+ fetch = {
476+ type = "git";
477+ url = "https://github.com/bgentry/speakeasy";
478+ rev = "v0.1.0";
479+ sha256 = "02dfrj0wyphd3db9zn2mixqxwiz1ivnyc5xc7gkz58l5l27nzp8s";
480+ };
481+ }
482+ {
483+ goPackagePath = "github.com/bitly/go-hostpool";
484+ fetch = {
485+ type = "git";
486+ url = "https://github.com/bitly/go-hostpool";
487+ rev = "a3a6125de932";
488+ sha256 = "1m82mvnfw6k2ylpn598bcsg8mdgbq4fnsk7yc23hpvps9glsrbb6";
489+ };
490+ }
491+ {
492+ goPackagePath = "github.com/blang/semver";
493+ fetch = {
494+ type = "git";
495+ url = "https://github.com/blang/semver";
496+ rev = "v3.5.1";
497+ sha256 = "13ws259bwcibkclbr82ilhk6zadm63kxklxhk12wayklj8ghhsmy";
498+ };
499+ }
500+ {
501+ goPackagePath = "github.com/bmizerany/assert";
502+ fetch = {
503+ type = "git";
504+ url = "https://github.com/bmizerany/assert";
505+ rev = "b7ed37b82869";
506+ sha256 = "18hy1wyl9zdi7sgxafrn3m7fadh6in0rhhb8l0cvkxqzdl0jcw2s";
507+ };
508+ }
509+ {
510+ goPackagePath = "github.com/bouk/monkey";
511+ fetch = {
512+ type = "git";
513+ url = "https://github.com/bouk/monkey";
514+ rev = "v1.0.0";
515+ sha256 = "1ngcjmn6bys10zd22x8fh5lf0iyqkjqmbx47b0inw9ddh56sdzph";
516+ };
517+ }
518+ {
519+ goPackagePath = "github.com/bwmarrin/snowflake";
520+ fetch = {
521+ type = "git";
522+ url = "https://github.com/bwmarrin/snowflake";
523+ rev = "68117e6bbede";
524+ sha256 = "1zpjxm82d55map8bvvpa1l9xjxg03005dza3rd7a6bapm31f3107";
525+ };
526+ }
527+ {
528+ goPackagePath = "github.com/c2h5oh/datasize";
529+ fetch = {
530+ type = "git";
531+ url = "https://github.com/c2h5oh/datasize";
532+ rev = "4eba002a5eae";
533+ sha256 = "02sxd659q7m7axfywiqfxk5rh6djh2m5240bin1makldj1nj16j3";
534+ };
535+ }
536+ {
537+ goPackagePath = "github.com/cenkalti/backoff";
538+ fetch = {
539+ type = "git";
540+ url = "https://github.com/cenkalti/backoff";
541+ rev = "v2.0.0";
542+ sha256 = "0k4899ifpir6kmfxli8a2xfj5zdh0xb2jd0fq2r38wzd4pk25ipr";
543+ };
544+ }
545+ {
546+ goPackagePath = "github.com/chai2010/gettext-go";
547+ fetch = {
548+ type = "git";
549+ url = "https://github.com/chai2010/gettext-go";
550+ rev = "bf70f2a70fb1";
551+ sha256 = "0bwjwvjl7zqm7kxram1rzz0ri3h897kiin13ljy9hx3fzz1i9lml";
552+ };
553+ }
554+ {
555+ goPackagePath = "github.com/chromedp/cdproto";
556+ fetch = {
557+ type = "git";
558+ url = "https://github.com/chromedp/cdproto";
559+ rev = "57cf4773008d";
560+ sha256 = "1m9qq4nvdj5rbpq123s88agiv3604lvg0q2af7fhr1m16rs4xg1k";
561+ };
562+ }
563+ {
564+ goPackagePath = "github.com/chromedp/chromedp";
565+ fetch = {
566+ type = "git";
567+ url = "https://github.com/chromedp/chromedp";
568+ rev = "v0.1.1";
569+ sha256 = "1wcj54ff3qa6sypl8bdaabwlhf3v9b7br3nr9rq0ls64jfdw1sla";
570+ };
571+ }
572+ {
573+ goPackagePath = "github.com/circonus-labs/circonus-gometrics";
574+ fetch = {
575+ type = "git";
576+ url = "https://github.com/circonus-labs/circonus-gometrics";
577+ rev = "v2.2.6";
578+ sha256 = "11j6bm05baskaavjzjkf48jkxis5sk621wkvi3j2315abkyhsf6f";
579+ };
580+ }
581+ {
582+ goPackagePath = "github.com/client9/misspell";
583+ fetch = {
584+ type = "git";
585+ url = "https://github.com/client9/misspell";
586+ rev = "v0.3.4";
587+ sha256 = "1vwf33wsc4la25zk9nylpbp9px3svlmldkm0bha4hp56jws4q9cs";
588+ };
589+ }
590+ {
591+ goPackagePath = "github.com/codeship/codeship-go";
592+ fetch = {
593+ type = "git";
594+ url = "https://github.com/codeship/codeship-go";
595+ rev = "7793ca823354";
596+ sha256 = "1jr93ddbb1v27vd4w8wx2dcha8g32gc6rl0chyz75rmypi6888h7";
597+ };
598+ }
599+ {
600+ goPackagePath = "github.com/containerd/continuity";
601+ fetch = {
602+ type = "git";
603+ url = "https://github.com/containerd/continuity";
604+ rev = "004b46473808";
605+ sha256 = "0js7wjap44db6vvdpz4dvblqx6j36r1kb09ggvlwx4inkwg2ds2d";
606+ };
607+ }
608+ {
609+ goPackagePath = "github.com/coreos/bbolt";
610+ fetch = {
611+ type = "git";
612+ url = "https://github.com/coreos/bbolt";
613+ rev = "v1.3.1-coreos.6";
614+ sha256 = "0r39wj5fv6d7nkkirjnnrnhikcp6sqa5dgmr6cimz5s0smvfm8vw";
615+ };
616+ }
617+ {
618+ goPackagePath = "github.com/coreos/etcd";
619+ fetch = {
620+ type = "git";
621+ url = "https://github.com/coreos/etcd";
622+ rev = "v3.3.10";
623+ sha256 = "1x2ii1hj8jraba8rbxz6dmc03y3sjxdnzipdvg6fywnlq1f3l3wl";
624+ };
625+ }
626+ {
627+ goPackagePath = "github.com/coreos/go-semver";
628+ fetch = {
629+ type = "git";
630+ url = "https://github.com/coreos/go-semver";
631+ rev = "v0.2.0";
632+ sha256 = "1gghi5bnqj50hfxhqc1cxmynqmh2yk9ii7ab9gsm75y5cp94ymk0";
633+ };
634+ }
635+ {
636+ goPackagePath = "github.com/coreos/go-systemd";
637+ fetch = {
638+ type = "git";
639+ url = "https://github.com/coreos/go-systemd";
640+ rev = "c6f51f82210d";
641+ sha256 = "1vnccmnkjl6n539l4cliz6sznpqn6igf5v7mbmsgahb838742clb";
642+ };
643+ }
644+ {
645+ goPackagePath = "github.com/coreos/pkg";
646+ fetch = {
647+ type = "git";
648+ url = "https://github.com/coreos/pkg";
649+ rev = "399ea9e2e55f";
650+ sha256 = "0nxbn0m7lr4dg0yrwnvlkfiyg3ndv8vdpssjx7b714nivpc6ar0y";
651+ };
652+ }
653+ {
654+ goPackagePath = "github.com/cpuguy83/go-md2man";
655+ fetch = {
656+ type = "git";
657+ url = "https://github.com/cpuguy83/go-md2man";
658+ rev = "v1.0.8";
659+ sha256 = "1w22dfdamsq63b5rvalh9k2y7rbwfkkjs7vm9vd4a13h2ql70lg2";
660+ };
661+ }
662+ {
663+ goPackagePath = "github.com/danwakefield/fnmatch";
664+ fetch = {
665+ type = "git";
666+ url = "https://github.com/danwakefield/fnmatch";
667+ rev = "cbb64ac3d964";
668+ sha256 = "0cbf511ppsa6hf59mdl7nbyn2b2n71y0bpkzbmfkdqjhanqh1lqz";
669+ };
670+ }
671+ {
672+ goPackagePath = "github.com/davecgh/go-spew";
673+ fetch = {
674+ type = "git";
675+ url = "https://github.com/davecgh/go-spew";
676+ rev = "v1.1.1";
677+ sha256 = "0hka6hmyvp701adzag2g26cxdj47g21x6jz4sc6jjz1mn59d474y";
678+ };
679+ }
680+ {
681+ goPackagePath = "github.com/deckarep/golang-set";
682+ fetch = {
683+ type = "git";
684+ url = "https://github.com/deckarep/golang-set";
685+ rev = "1d4478f51bed";
686+ sha256 = "01kaqrc5ywbwa46b6lz3db7kkg8q6v383h4lnxds4z3kjglkqaff";
687+ };
688+ }
689+ {
690+ goPackagePath = "github.com/denisenkom/go-mssqldb";
691+ fetch = {
692+ type = "git";
693+ url = "https://github.com/denisenkom/go-mssqldb";
694+ rev = "2fea367d496d";
695+ sha256 = "0qq3b68ziqhfy8j9xrzpq2czsbacakbraicm7gp7l6mdbifi06zr";
696+ };
697+ }
698+ {
699+ goPackagePath = "github.com/denormal/go-gitignore";
700+ fetch = {
701+ type = "git";
702+ url = "https://github.com/denormal/go-gitignore";
703+ rev = "75ce8f3e513c";
704+ sha256 = "0yqicwkrw7plrc6zybv025ssaqzhy01s0c7x8ifp0x3vmxrzy57k";
705+ };
706+ }
707+ {
708+ goPackagePath = "github.com/dgrijalva/jwt-go";
709+ fetch = {
710+ type = "git";
711+ url = "https://github.com/dgrijalva/jwt-go";
712+ rev = "v3.2.0";
713+ sha256 = "08m27vlms74pfy5z79w67f9lk9zkx6a9jd68k3c4msxy75ry36mp";
714+ };
715+ }
716+ {
717+ goPackagePath = "github.com/disintegration/imaging";
718+ fetch = {
719+ type = "git";
720+ url = "https://github.com/disintegration/imaging";
721+ rev = "v1.4.2";
722+ sha256 = "0dzwqy1xcm0d481z1fa2r60frdlf5fzjligpiqh5g8lhqskk2lx8";
723+ };
724+ }
725+ {
726+ goPackagePath = "github.com/djherbis/atime";
727+ fetch = {
728+ type = "git";
729+ url = "https://github.com/djherbis/atime";
730+ rev = "v1.0.0";
731+ sha256 = "1zwxsk2r2p53qpgsxkky4x1gvxca4fx6qy9y10jvgpn4wf57m4ja";
732+ };
733+ }
734+ {
735+ goPackagePath = "github.com/dnaeon/go-vcr";
736+ fetch = {
737+ type = "git";
738+ url = "https://github.com/dnaeon/go-vcr";
739+ rev = "v1.0.1";
740+ sha256 = "1d0kpqr12qrqlamz5a47bp05mx49za2v6l1k7c6z71xahfmb7v2d";
741+ };
742+ }
743+ {
744+ goPackagePath = "github.com/docker/distribution";
745+ fetch = {
746+ type = "git";
747+ url = "https://github.com/docker/distribution";
748+ rev = "edc3ab29cdff";
749+ sha256 = "1nqjaq1q6fs3c0avpb02sib0a906xfbk3m74hk2mqjdbyx9y8b4m";
750+ };
751+ }
752+ {
753+ goPackagePath = "github.com/docker/docker";
754+ fetch = {
755+ type = "git";
756+ url = "https://github.com/docker/docker";
757+ rev = "5e5fadb3c020";
758+ sha256 = "14rbpynz304xh0aqphjspld3955wcis1d1gcg4dicw0q1klhhw8v";
759+ };
760+ }
761+ {
762+ goPackagePath = "github.com/docker/go-connections";
763+ fetch = {
764+ type = "git";
765+ url = "https://github.com/docker/go-connections";
766+ rev = "v0.3.0";
767+ sha256 = "0v1pkr8apwmhyzbjfriwdrs1ihlk6pw7izm57r24mf9jdmg3fyb0";
768+ };
769+ }
770+ {
771+ goPackagePath = "github.com/docker/go-units";
772+ fetch = {
773+ type = "git";
774+ url = "https://github.com/docker/go-units";
775+ rev = "v0.3.2";
776+ sha256 = "1sqwvcszxqpv77xf2d8fxvryxphdwj9v8f93231wpnk9kpilhyii";
777+ };
778+ }
779+ {
780+ goPackagePath = "github.com/docker/spdystream";
781+ fetch = {
782+ type = "git";
783+ url = "https://github.com/docker/spdystream";
784+ rev = "bc6354cbbc29";
785+ sha256 = "08746a15snvmax6cnzn2qy7cvsspxbsx97vdbjpdadir3pypjxya";
786+ };
787+ }
788+ {
789+ goPackagePath = "github.com/dsnet/compress";
790+ fetch = {
791+ type = "git";
792+ url = "https://github.com/dsnet/compress";
793+ rev = "cc9eb1d7ad76";
794+ sha256 = "159liclywmyb6zx88ga5gn42hfl4cpk1660zss87fkx31hdq9fgx";
795+ };
796+ }
797+ {
798+ goPackagePath = "github.com/duosecurity/duo_api_golang";
799+ fetch = {
800+ type = "git";
801+ url = "https://github.com/duosecurity/duo_api_golang";
802+ rev = "539434bf0d45";
803+ sha256 = "1dzf280gin51gww2hkcc5r5dmrjfjirsmkmksjw2ipkgy8kp40nz";
804+ };
805+ }
806+ {
807+ goPackagePath = "github.com/dustin/go-humanize";
808+ fetch = {
809+ type = "git";
810+ url = "https://github.com/dustin/go-humanize";
811+ rev = "v1.0.0";
812+ sha256 = "1kqf1kavdyvjk7f8kx62pnm7fbypn9z1vbf8v2qdh3y7z7a0cbl3";
813+ };
814+ }
815+ {
816+ goPackagePath = "github.com/elazarl/go-bindata-assetfs";
817+ fetch = {
818+ type = "git";
819+ url = "https://github.com/elazarl/go-bindata-assetfs";
820+ rev = "v1.0.0";
821+ sha256 = "1swfb37g6sga3awvcmxf49ngbpvjv7ih5an9f8ixjqcfcwnb7nzp";
822+ };
823+ }
824+ {
825+ goPackagePath = "github.com/elazarl/goproxy";
826+ fetch = {
827+ type = "git";
828+ url = "https://github.com/elazarl/goproxy";
829+ rev = "2ce16c963a8a";
830+ sha256 = "1jdgwbma4zs77w66y6hf7677hwpww1wzw27qdk1dr0pms0y7zlzp";
831+ };
832+ }
833+ {
834+ goPackagePath = "github.com/emicklei/go-restful";
835+ fetch = {
836+ type = "git";
837+ url = "https://github.com/emicklei/go-restful";
838+ rev = "v2.8.0";
839+ sha256 = "1zqcjhg4q7788hyrkhwg4b6r1vc4qnzbw8c5j994mr18x42brxzg";
840+ };
841+ }
842+ {
843+ goPackagePath = "github.com/emirpasic/gods";
844+ fetch = {
845+ type = "git";
846+ url = "https://github.com/emirpasic/gods";
847+ rev = "v1.9.0";
848+ sha256 = "1zhkppqzy149fp561pif8d5d92jd9chl3l9z4yi5f8n60ibdmmjf";
849+ };
850+ }
851+ {
852+ goPackagePath = "github.com/erikstmartin/go-testdb";
853+ fetch = {
854+ type = "git";
855+ url = "https://github.com/erikstmartin/go-testdb";
856+ rev = "8d10e4a1bae5";
857+ sha256 = "1fhrqcpv8x74qwxx9gpnhgqbz5wkp2bnsq92w418l1fnrgh4ppmq";
858+ };
859+ }
860+ {
861+ goPackagePath = "github.com/evanphx/json-patch";
862+ fetch = {
863+ type = "git";
864+ url = "https://github.com/evanphx/json-patch";
865+ rev = "v4.1.0";
866+ sha256 = "1yqakqyqspdwpq2dzvrd9rb79z24zmrafscj284dnrl421ns3zvh";
867+ };
868+ }
869+ {
870+ goPackagePath = "github.com/fatih/color";
871+ fetch = {
872+ type = "git";
873+ url = "https://github.com/fatih/color";
874+ rev = "v1.7.0";
875+ sha256 = "0v8msvg38r8d1iiq2i5r4xyfx0invhc941kjrsg5gzwvagv55inv";
876+ };
877+ }
878+ {
879+ goPackagePath = "github.com/fatih/structs";
880+ fetch = {
881+ type = "git";
882+ url = "https://github.com/fatih/structs";
883+ rev = "v1.0.0";
884+ sha256 = "040grl40gcqd1y852lnf0l1l5wi73g0crnaihzl0nfsas9ydk3h4";
885+ };
886+ }
887+ {
888+ goPackagePath = "github.com/flynn/go-shlex";
889+ fetch = {
890+ type = "git";
891+ url = "https://github.com/flynn/go-shlex";
892+ rev = "3f9db97f8568";
893+ sha256 = "1j743lysygkpa2s2gii2xr32j7bxgc15zv4113b0q9jhn676ysia";
894+ };
895+ }
896+ {
897+ goPackagePath = "github.com/fsnotify/fsnotify";
898+ fetch = {
899+ type = "git";
900+ url = "https://github.com/fsnotify/fsnotify";
901+ rev = "v1.4.7";
902+ sha256 = "07va9crci0ijlivbb7q57d2rz9h27zgn2fsm60spjsqpdbvyrx4g";
903+ };
904+ }
905+ {
906+ goPackagePath = "github.com/fsouza/fake-gcs-server";
907+ fetch = {
908+ type = "git";
909+ url = "https://github.com/fsouza/fake-gcs-server";
910+ rev = "e85be23bdaa8";
911+ sha256 = "185kw9cap458s9ldlb2nm0vlwx82rd6jnx13600p8hnb5y36fjw7";
912+ };
913+ }
914+ {
915+ goPackagePath = "github.com/gfleury/go-bitbucket-v1";
916+ fetch = {
917+ type = "git";
918+ url = "https://github.com/gfleury/go-bitbucket-v1";
919+ rev = "3a732135aa4d";
920+ sha256 = "0bnzxd1p6kbv3cym38l0kry1jbxhyz905lkbkhmiswmjg7mmlq1k";
921+ };
922+ }
923+ {
924+ goPackagePath = "github.com/ghodss/yaml";
925+ fetch = {
926+ type = "git";
927+ url = "https://github.com/ghodss/yaml";
928+ rev = "v1.0.0";
929+ sha256 = "0skwmimpy7hlh7pva2slpcplnm912rp3igs98xnqmn859kwa5v8g";
930+ };
931+ }
932+ {
933+ goPackagePath = "github.com/gliderlabs/ssh";
934+ fetch = {
935+ type = "git";
936+ url = "https://github.com/gliderlabs/ssh";
937+ rev = "v0.1.1";
938+ sha256 = "0bylkc7yg8bxxffhchikcnzwli5n95cfmbji6v2a4mn1h5n36mdm";
939+ };
940+ }
941+ {
942+ goPackagePath = "github.com/go-ini/ini";
943+ fetch = {
944+ type = "git";
945+ url = "https://github.com/go-ini/ini";
946+ rev = "v1.39.0";
947+ sha256 = "0j7pyl5v7xfzkhsyz193iq56ilan69pp11g2n5jw1k4h4g8s4k9b";
948+ };
949+ }
950+ {
951+ goPackagePath = "github.com/go-kit/kit";
952+ fetch = {
953+ type = "git";
954+ url = "https://github.com/go-kit/kit";
955+ rev = "v0.8.0";
956+ sha256 = "1rcywbc2pvab06qyf8pc2rdfjv7r6kxdv2v4wnpqnjhz225wqvc0";
957+ };
958+ }
959+ {
960+ goPackagePath = "github.com/go-ldap/ldap";
961+ fetch = {
962+ type = "git";
963+ url = "https://github.com/go-ldap/ldap";
964+ rev = "v3.0.1";
965+ sha256 = "0dn4v340wdrfhah5kp2pyi69a1kwwllrz84whsiiwbial8fac483";
966+ };
967+ }
968+ {
969+ goPackagePath = "github.com/go-logfmt/logfmt";
970+ fetch = {
971+ type = "git";
972+ url = "https://github.com/go-logfmt/logfmt";
973+ rev = "v0.3.0";
974+ sha256 = "1gkgh3k5w1xwb2qbjq52p6azq3h1c1rr6pfwjlwj1zrijpzn2xb9";
975+ };
976+ }
977+ {
978+ goPackagePath = "github.com/go-ole/go-ole";
979+ fetch = {
980+ type = "git";
981+ url = "https://github.com/go-ole/go-ole";
982+ rev = "v1.2.1";
983+ sha256 = "114h8x7dh4jp7w7k678fm98lr9icavsf74v6jfipyq7q35bsfr1p";
984+ };
985+ }
986+ {
987+ goPackagePath = "github.com/go-openapi/jsonpointer";
988+ fetch = {
989+ type = "git";
990+ url = "https://github.com/go-openapi/jsonpointer";
991+ rev = "v0.17.0";
992+ sha256 = "0sv2k1fwj6rsigc9489c19ap0jib1d0widm040h0sjdw2nadh3i2";
993+ };
994+ }
995+ {
996+ goPackagePath = "github.com/go-openapi/jsonreference";
997+ fetch = {
998+ type = "git";
999+ url = "https://github.com/go-openapi/jsonreference";
1000+ rev = "v0.17.0";
1001+ sha256 = "1d0rk17wn755xsfi9pxifdpgs2p23bc0rkf95kjwxczyy6jbqdaj";
1002+ };
1003+ }
1004+ {
1005+ goPackagePath = "github.com/go-openapi/spec";
1006+ fetch = {
1007+ type = "git";
1008+ url = "https://github.com/go-openapi/spec";
1009+ rev = "v0.17.1";
1010+ sha256 = "14n5x2nxlj2x62v3km96yw7rncxk2b9v94k3j0c22r43c60m38mx";
1011+ };
1012+ }
1013+ {
1014+ goPackagePath = "github.com/go-openapi/swag";
1015+ fetch = {
1016+ type = "git";
1017+ url = "https://github.com/go-openapi/swag";
1018+ rev = "v0.17.0";
1019+ sha256 = "1hhgbx59f7lcsqiza2is8q9walhf8mxfkwj7xql1scrn6ms2jmlv";
1020+ };
1021+ }
1022+ {
1023+ goPackagePath = "github.com/go-sql-driver/mysql";
1024+ fetch = {
1025+ type = "git";
1026+ url = "https://github.com/go-sql-driver/mysql";
1027+ rev = "v1.4.0";
1028+ sha256 = "1jwz2j3vd5hlzmnkh20d4276yd8cxy7pac3x3dfi52jkm82ms99n";
1029+ };
1030+ }
1031+ {
1032+ goPackagePath = "github.com/go-stack/stack";
1033+ fetch = {
1034+ type = "git";
1035+ url = "https://github.com/go-stack/stack";
1036+ rev = "v1.8.0";
1037+ sha256 = "0wk25751ryyvxclyp8jdk5c3ar0cmfr8lrjb66qbg4808x66b96v";
1038+ };
1039+ }
1040+ {
1041+ goPackagePath = "github.com/go-test/deep";
1042+ fetch = {
1043+ type = "git";
1044+ url = "https://github.com/go-test/deep";
1045+ rev = "v1.0.1";
1046+ sha256 = "0f4rbdl6qmlq4bzh0443i634bm675bbrkyzwp8wkc1yhdl9qsij7";
1047+ };
1048+ }
1049+ {
1050+ goPackagePath = "github.com/go-yaml/yaml";
1051+ fetch = {
1052+ type = "git";
1053+ url = "https://github.com/go-yaml/yaml";
1054+ rev = "v2.1.0";
1055+ sha256 = "0k7afgp9gkx6pmilijx1wf1sgl3vfbnlfjj05qhnw3whhy4yyyqs";
1056+ };
1057+ }
1058+ {
1059+ goPackagePath = "github.com/gobuffalo/envy";
1060+ fetch = {
1061+ type = "git";
1062+ url = "https://github.com/gobuffalo/envy";
1063+ rev = "v1.6.5";
1064+ sha256 = "14ak10gap2xmy0vxwl0kplck8dhg6xyqcvra5wfana9w1520a622";
1065+ };
1066+ }
1067+ {
1068+ goPackagePath = "github.com/gobwas/glob";
1069+ fetch = {
1070+ type = "git";
1071+ url = "https://github.com/gobwas/glob";
1072+ rev = "v0.2.3";
1073+ sha256 = "0jxk1x806zn5x86342s72dq2qy64ksb3zrvrlgir2avjhwb18n6z";
1074+ };
1075+ }
1076+ {
1077+ goPackagePath = "github.com/gocql/gocql";
1078+ fetch = {
1079+ type = "git";
1080+ url = "https://github.com/gocql/gocql";
1081+ rev = "8516aabb0f99";
1082+ sha256 = "0b68630xizfzndl368l7inda8q8py69wxh967y9knvx33yfs7bzp";
1083+ };
1084+ }
1085+ {
1086+ goPackagePath = "github.com/gogo/protobuf";
1087+ fetch = {
1088+ type = "git";
1089+ url = "https://github.com/gogo/protobuf";
1090+ rev = "v1.1.1";
1091+ sha256 = "1525pq7r6h3s8dncvq8gxi893p2nq8dxpzvq0nfl5b4p6mq0v1c2";
1092+ };
1093+ }
1094+ {
1095+ goPackagePath = "github.com/golang/glog";
1096+ fetch = {
1097+ type = "git";
1098+ url = "https://github.com/golang/glog";
1099+ rev = "23def4e6c14b";
1100+ sha256 = "0jb2834rw5sykfr937fxi8hxi2zy80sj2bdn9b3jb4b26ksqng30";
1101+ };
1102+ }
1103+ {
1104+ goPackagePath = "github.com/golang/groupcache";
1105+ fetch = {
1106+ type = "git";
1107+ url = "https://github.com/golang/groupcache";
1108+ rev = "6f2cf27854a4";
1109+ sha256 = "01wzacrqyqz10g29s88yjcm6w2wisffbadfppas51pfqmijhc11k";
1110+ };
1111+ }
1112+ {
1113+ goPackagePath = "github.com/golang/lint";
1114+ fetch = {
1115+ type = "git";
1116+ url = "https://github.com/golang/lint";
1117+ rev = "06c8688daad7";
1118+ sha256 = "0xi94dwvz50a66bq1hp9fyqkym5mcpdxdb1hrfvicldgjf37lc47";
1119+ };
1120+ }
1121+ {
1122+ goPackagePath = "github.com/golang/mock";
1123+ fetch = {
1124+ type = "git";
1125+ url = "https://github.com/golang/mock";
1126+ rev = "v1.1.1";
1127+ sha256 = "0ap8wb6pdl6ccmdb43advjll2ly4sz26wsc3axw0hbrjrybybzgy";
1128+ };
1129+ }
1130+ {
1131+ goPackagePath = "github.com/golang/protobuf";
1132+ fetch = {
1133+ type = "git";
1134+ url = "https://github.com/golang/protobuf";
1135+ rev = "v1.2.0";
1136+ sha256 = "0kf4b59rcbb1cchfny2dm9jyznp8ri2hsb14n8iak1q8986xa0ab";
1137+ };
1138+ }
1139+ {
1140+ goPackagePath = "github.com/golang/snappy";
1141+ fetch = {
1142+ type = "git";
1143+ url = "https://github.com/golang/snappy";
1144+ rev = "2e65f85255db";
1145+ sha256 = "05w6mpc4qcy0pv8a2bzng8nf4s5rf5phfang4jwy9rgf808q0nxf";
1146+ };
1147+ }
1148+ {
1149+ goPackagePath = "github.com/google/btree";
1150+ fetch = {
1151+ type = "git";
1152+ url = "https://github.com/google/btree";
1153+ rev = "4030bb1f1f0c";
1154+ sha256 = "0ba430m9fbnagacp57krgidsyrgp3ycw5r7dj71brgp5r52g82p6";
1155+ };
1156+ }
1157+ {
1158+ goPackagePath = "github.com/google/go-cmp";
1159+ fetch = {
1160+ type = "git";
1161+ url = "https://github.com/google/go-cmp";
1162+ rev = "v0.2.0";
1163+ sha256 = "1fbv0x27k9sn8svafc0hjwsnckk864lv4yi7bvzrxvmd3d5hskds";
1164+ };
1165+ }
1166+ {
1167+ goPackagePath = "github.com/google/go-github";
1168+ fetch = {
1169+ type = "git";
1170+ url = "https://github.com/google/go-github";
1171+ rev = "v17.0.0";
1172+ sha256 = "1kvw95l77a5n5rgal9n1xjh58zxb3a40ij1j722b1h4z8yg9jhg4";
1173+ };
1174+ }
1175+ {
1176+ goPackagePath = "github.com/google/go-querystring";
1177+ fetch = {
1178+ type = "git";
1179+ url = "https://github.com/google/go-querystring";
1180+ rev = "53e6ce116135";
1181+ sha256 = "0lkbm067nhmxk66pyjx59d77dbjjzwyi43gdvzyx2f8m1942rq7f";
1182+ };
1183+ }
1184+ {
1185+ goPackagePath = "github.com/google/gofuzz";
1186+ fetch = {
1187+ type = "git";
1188+ url = "https://github.com/google/gofuzz";
1189+ rev = "24818f796faf";
1190+ sha256 = "0cq90m2lgalrdfrwwyycrrmn785rgnxa3l3vp9yxkvnv88bymmlm";
1191+ };
1192+ }
1193+ {
1194+ goPackagePath = "github.com/google/martian";
1195+ fetch = {
1196+ type = "git";
1197+ url = "https://github.com/google/martian";
1198+ rev = "v2.1.0";
1199+ sha256 = "197hil6vrjk50b9wvwyzf61csid83whsjj6ik8mc9r2lryxlyyrp";
1200+ };
1201+ }
1202+ {
1203+ goPackagePath = "github.com/google/subcommands";
1204+ fetch = {
1205+ type = "git";
1206+ url = "https://github.com/google/subcommands";
1207+ rev = "46f0354f6315";
1208+ sha256 = "043j9y17kp73972vblkzmr222143hja3gg6cnry4wsiri9lslc2l";
1209+ };
1210+ }
1211+ {
1212+ goPackagePath = "github.com/google/uuid";
1213+ fetch = {
1214+ type = "git";
1215+ url = "https://github.com/google/uuid";
1216+ rev = "v1.1.0";
1217+ sha256 = "0yx4kiafyshdshrmrqcf2say5mzsviz7r94a0y1l6xfbkkyvnc86";
1218+ };
1219+ }
1220+ {
1221+ goPackagePath = "github.com/google/wire";
1222+ fetch = {
1223+ type = "git";
1224+ url = "https://github.com/google/wire";
1225+ rev = "v0.2.0";
1226+ sha256 = "07arvzwyari18dz1lq4kzysm2dnph93wsbbdzq58hzcmar9snm8g";
1227+ };
1228+ }
1229+ {
1230+ goPackagePath = "github.com/googleapis/gax-go";
1231+ fetch = {
1232+ type = "git";
1233+ url = "https://github.com/googleapis/gax-go";
1234+ rev = "v2.0.0";
1235+ sha256 = "0h92x579vbrv2fka8q2ddy1kq6a63qbqa8zc09ygl6skzn9gw1dh";
1236+ };
1237+ }
1238+ {
1239+ goPackagePath = "github.com/googleapis/gnostic";
1240+ fetch = {
1241+ type = "git";
1242+ url = "https://github.com/googleapis/gnostic";
1243+ rev = "v0.2.0";
1244+ sha256 = "0yh3ckd7m0r9h50wmxxvba837d0wb1k5yd439zq4p1kpp4390z12";
1245+ };
1246+ }
1247+ {
1248+ goPackagePath = "github.com/gophercloud/gophercloud";
1249+ fetch = {
1250+ type = "git";
1251+ url = "https://github.com/gophercloud/gophercloud";
1252+ rev = "bdd8b1ecd793";
1253+ sha256 = "0q9rss8yl11v9l10nb2203crsqzqpfxwnwfckaaszjx37rnd98cg";
1254+ };
1255+ }
1256+ {
1257+ goPackagePath = "github.com/gopherjs/gopherjs";
1258+ fetch = {
1259+ type = "git";
1260+ url = "https://github.com/gopherjs/gopherjs";
1261+ rev = "0766667cb4d1";
1262+ sha256 = "13pfc9sxiwjky2lm1xb3i3lcisn8p6mgjk2d927l7r92ysph8dmw";
1263+ };
1264+ }
1265+ {
1266+ goPackagePath = "github.com/gorilla/context";
1267+ fetch = {
1268+ type = "git";
1269+ url = "https://github.com/gorilla/context";
1270+ rev = "v1.1.1";
1271+ sha256 = "03p4hn87vcmfih0p9w663qbx9lpsf7i7j3lc7yl7n84la3yz63m4";
1272+ };
1273+ }
1274+ {
1275+ goPackagePath = "github.com/gorilla/mux";
1276+ fetch = {
1277+ type = "git";
1278+ url = "https://github.com/gorilla/mux";
1279+ rev = "v1.6.2";
1280+ sha256 = "0pvzm23hklxysspnz52mih6h1q74vfrdhjfm1l3sa9r8hhqmmld2";
1281+ };
1282+ }
1283+ {
1284+ goPackagePath = "github.com/gorilla/securecookie";
1285+ fetch = {
1286+ type = "git";
1287+ url = "https://github.com/gorilla/securecookie";
1288+ rev = "v1.1.1";
1289+ sha256 = "16bqimpxs9vj5n59vm04y04v665l7jh0sddxn787pfafyxcmh410";
1290+ };
1291+ }
1292+ {
1293+ goPackagePath = "github.com/gorilla/sessions";
1294+ fetch = {
1295+ type = "git";
1296+ url = "https://github.com/gorilla/sessions";
1297+ rev = "v1.1.3";
1298+ sha256 = "0a99mlw5gvqbghnc1nx76gaanpxzjqfd74klp3s3sgbss69clayi";
1299+ };
1300+ }
1301+ {
1302+ goPackagePath = "github.com/gorilla/websocket";
1303+ fetch = {
1304+ type = "git";
1305+ url = "https://github.com/gorilla/websocket";
1306+ rev = "v1.4.0";
1307+ sha256 = "00i4vb31nsfkzzk7swvx3i75r2d960js3dri1875vypk3v2s0pzk";
1308+ };
1309+ }
1310+ {
1311+ goPackagePath = "github.com/gotestyourself/gotestyourself";
1312+ fetch = {
1313+ type = "git";
1314+ url = "https://github.com/gotestyourself/gotestyourself";
1315+ rev = "v2.2.0";
1316+ sha256 = "0yif3gdyckmf8i54jq0xn00kflla5rhib9sarw66ngnbl7bn9kyl";
1317+ };
1318+ }
1319+ {
1320+ goPackagePath = "github.com/gregjones/httpcache";
1321+ fetch = {
1322+ type = "git";
1323+ url = "https://github.com/gregjones/httpcache";
1324+ rev = "9cad4c3443a7";
1325+ sha256 = "0wjdwcwqqcx2d5y68qvhg6qyj977il5ijmnn9h9cd6wjbdy0ay6s";
1326+ };
1327+ }
1328+ {
1329+ goPackagePath = "github.com/grpc-ecosystem/go-grpc-middleware";
1330+ fetch = {
1331+ type = "git";
1332+ url = "https://github.com/grpc-ecosystem/go-grpc-middleware";
1333+ rev = "v1.0.0";
1334+ sha256 = "0lwgxih021xfhfb1xb9la5f98bpgpaiz63sbllx77qwwl2rmhrsp";
1335+ };
1336+ }
1337+ {
1338+ goPackagePath = "github.com/grpc-ecosystem/go-grpc-prometheus";
1339+ fetch = {
1340+ type = "git";
1341+ url = "https://github.com/grpc-ecosystem/go-grpc-prometheus";
1342+ rev = "v1.2.0";
1343+ sha256 = "1lzk54h7np32b3acidg1ggbn8ppbnns0m71gcg9d1qkkdh8zrijl";
1344+ };
1345+ }
1346+ {
1347+ goPackagePath = "github.com/grpc-ecosystem/grpc-gateway";
1348+ fetch = {
1349+ type = "git";
1350+ url = "https://github.com/grpc-ecosystem/grpc-gateway";
1351+ rev = "v1.5.1";
1352+ sha256 = "1q3l6ydf37lm6hdm9df8y385bacycj4pin1b06w7dpm6m045l3sp";
1353+ };
1354+ }
1355+ {
1356+ goPackagePath = "github.com/hailocab/go-hostpool";
1357+ fetch = {
1358+ type = "git";
1359+ url = "https://github.com/hailocab/go-hostpool";
1360+ rev = "e80d13ce29ed";
1361+ sha256 = "05ld4wp3illkbgl043yf8jq9y1ld0zzvrcg8jdij129j50xgfxny";
1362+ };
1363+ }
1364+ {
1365+ goPackagePath = "github.com/hashicorp/consul";
1366+ fetch = {
1367+ type = "git";
1368+ url = "https://github.com/hashicorp/consul";
1369+ rev = "v1.4.2";
1370+ sha256 = "1nprl9kcb98ikcmk7safji3hl4kfacx0gnh05k8m4ysfz6mr7zri";
1371+ };
1372+ }
1373+ {
1374+ goPackagePath = "github.com/hashicorp/errwrap";
1375+ fetch = {
1376+ type = "git";
1377+ url = "https://github.com/hashicorp/errwrap";
1378+ rev = "v1.0.0";
1379+ sha256 = "0slfb6w3b61xz04r32bi0a1bygc82rjzhqkxj2si2074wynqnr1c";
1380+ };
1381+ }
1382+ {
1383+ goPackagePath = "github.com/hashicorp/go-cleanhttp";
1384+ fetch = {
1385+ type = "git";
1386+ url = "https://github.com/hashicorp/go-cleanhttp";
1387+ rev = "v0.5.0";
1388+ sha256 = "1mwl96a815x1843pnqn7lk38s05bgn5rdjw57xd46jzr62izcnsq";
1389+ };
1390+ }
1391+ {
1392+ goPackagePath = "github.com/hashicorp/go-hclog";
1393+ fetch = {
1394+ type = "git";
1395+ url = "https://github.com/hashicorp/go-hclog";
1396+ rev = "4783caec6f2e";
1397+ sha256 = "1sjhmsysr5vp5y6y9s0l49hjgqb14s0m9p7wwc2m4cga4qps299s";
1398+ };
1399+ }
1400+ {
1401+ goPackagePath = "github.com/hashicorp/go-immutable-radix";
1402+ fetch = {
1403+ type = "git";
1404+ url = "https://github.com/hashicorp/go-immutable-radix";
1405+ rev = "v1.0.0";
1406+ sha256 = "1v3nmsnk1s8bzpclrhirz7iq0g5xxbw9q5gvrg9ss6w9crs72qr6";
1407+ };
1408+ }
1409+ {
1410+ goPackagePath = "github.com/hashicorp/go-memdb";
1411+ fetch = {
1412+ type = "git";
1413+ url = "https://github.com/hashicorp/go-memdb";
1414+ rev = "032f93b25bec";
1415+ sha256 = "1bkbvx93a7li9myy2vs27wh6yyxn67gyvlmb6ywidr4lf50azi5v";
1416+ };
1417+ }
1418+ {
1419+ goPackagePath = "github.com/hashicorp/go-msgpack";
1420+ fetch = {
1421+ type = "git";
1422+ url = "https://github.com/hashicorp/go-msgpack";
1423+ rev = "v0.5.3";
1424+ sha256 = "00jv0ajqd58pkb2yyhlrjp0rv1mvb1ijx3yqjyikcmzvk9jb4h5m";
1425+ };
1426+ }
1427+ {
1428+ goPackagePath = "github.com/hashicorp/go-multierror";
1429+ fetch = {
1430+ type = "git";
1431+ url = "https://github.com/hashicorp/go-multierror";
1432+ rev = "v1.0.0";
1433+ sha256 = "00nyn8llqzbfm8aflr9kwsvpzi4kv8v45c141v88xskxp5xf6z49";
1434+ };
1435+ }
1436+ {
1437+ goPackagePath = "github.com/hashicorp/go-plugin";
1438+ fetch = {
1439+ type = "git";
1440+ url = "https://github.com/hashicorp/go-plugin";
1441+ rev = "362c99b11937";
1442+ sha256 = "0q23ri3s5r2w7z20bpk76vlb79mdwz0xbk7ppdlcbrkbylrpw9ai";
1443+ };
1444+ }
1445+ {
1446+ goPackagePath = "github.com/hashicorp/go-retryablehttp";
1447+ fetch = {
1448+ type = "git";
1449+ url = "https://github.com/hashicorp/go-retryablehttp";
1450+ rev = "e651d75abec6";
1451+ sha256 = "1bw09c1q3hlgmp954w9y0xqzb1m82im28z2yfc85hanm3v71f76y";
1452+ };
1453+ }
1454+ {
1455+ goPackagePath = "github.com/hashicorp/go-rootcerts";
1456+ fetch = {
1457+ type = "git";
1458+ url = "https://github.com/hashicorp/go-rootcerts";
1459+ rev = "6bb64b370b90";
1460+ sha256 = "1a81fcm1i0ji2iva0dcimiichgwpbcb7lx0vyaks87zj5wf04qy9";
1461+ };
1462+ }
1463+ {
1464+ goPackagePath = "github.com/hashicorp/go-sockaddr";
1465+ fetch = {
1466+ type = "git";
1467+ url = "https://github.com/hashicorp/go-sockaddr";
1468+ rev = "v1.0.0";
1469+ sha256 = "1yn1xq8ysn0lszmkygz3a9lgpswbz1p91jv7q8l20s4749a22xgi";
1470+ };
1471+ }
1472+ {
1473+ goPackagePath = "github.com/hashicorp/go-syslog";
1474+ fetch = {
1475+ type = "git";
1476+ url = "https://github.com/hashicorp/go-syslog";
1477+ rev = "v1.0.0";
1478+ sha256 = "09vccqggz212cg0jir6vv708d6mx0f9w5bxrcdah3h6chgmal6v1";
1479+ };
1480+ }
1481+ {
1482+ goPackagePath = "github.com/hashicorp/go-uuid";
1483+ fetch = {
1484+ type = "git";
1485+ url = "https://github.com/hashicorp/go-uuid";
1486+ rev = "v1.0.1";
1487+ sha256 = "0jvb88m0rq41bwgirsadgw7mnayl27av3gd2vqa3xvxp3fy0hp5k";
1488+ };
1489+ }
1490+ {
1491+ goPackagePath = "github.com/hashicorp/go-version";
1492+ fetch = {
1493+ type = "git";
1494+ url = "https://github.com/hashicorp/go-version";
1495+ rev = "270f2f71b1ee";
1496+ sha256 = "1d43wlp932nqbwkca4bhw8l4x6cg25jyh8l1s3814vddscfpfz2v";
1497+ };
1498+ }
1499+ {
1500+ goPackagePath = "github.com/hashicorp/go.net";
1501+ fetch = {
1502+ type = "git";
1503+ url = "https://github.com/hashicorp/go.net";
1504+ rev = "v0.0.1";
1505+ sha256 = "06arwi95xp5rxyz7rndvhc3wlwg0jn9a5z6djf3yyg5h9zfab9i4";
1506+ };
1507+ }
1508+ {
1509+ goPackagePath = "github.com/hashicorp/golang-lru";
1510+ fetch = {
1511+ type = "git";
1512+ url = "https://github.com/hashicorp/golang-lru";
1513+ rev = "v0.5.0";
1514+ sha256 = "12k2cp2k615fjvfa5hyb9k2alian77wivds8s65diwshwv41939f";
1515+ };
1516+ }
1517+ {
1518+ goPackagePath = "github.com/hashicorp/hcl";
1519+ fetch = {
1520+ type = "git";
1521+ url = "https://github.com/hashicorp/hcl";
1522+ rev = "ef8a98b0bbce";
1523+ sha256 = "1qalfsc31fra7hcw2lc3s20aj7al62fq3j5fn5kga3mg99b82nyr";
1524+ };
1525+ }
1526+ {
1527+ goPackagePath = "github.com/hashicorp/logutils";
1528+ fetch = {
1529+ type = "git";
1530+ url = "https://github.com/hashicorp/logutils";
1531+ rev = "v1.0.0";
1532+ sha256 = "076wf4sh5p3f953ndqk1cc0x7jhmlqrxak9953rz79rcdw77rjvv";
1533+ };
1534+ }
1535+ {
1536+ goPackagePath = "github.com/hashicorp/mdns";
1537+ fetch = {
1538+ type = "git";
1539+ url = "https://github.com/hashicorp/mdns";
1540+ rev = "v1.0.0";
1541+ sha256 = "0qr4l91hhi97s8a1isnrw3s4q8pjzacqiks870vnwh15v7ig3axd";
1542+ };
1543+ }
1544+ {
1545+ goPackagePath = "github.com/hashicorp/memberlist";
1546+ fetch = {
1547+ type = "git";
1548+ url = "https://github.com/hashicorp/memberlist";
1549+ rev = "v0.1.3";
1550+ sha256 = "0k1spq7dagvqj3baqw2dhxx1zxrb02y6m3apzr3a7gyirii890g3";
1551+ };
1552+ }
1553+ {
1554+ goPackagePath = "github.com/hashicorp/serf";
1555+ fetch = {
1556+ type = "git";
1557+ url = "https://github.com/hashicorp/serf";
1558+ rev = "v0.8.2";
1559+ sha256 = "0nrslghvdjhaczr2xp9mn8xgcx1dxl4jgpbk0l61ssmxahpx4iyc";
1560+ };
1561+ }
1562+ {
1563+ goPackagePath = "github.com/hashicorp/vault";
1564+ fetch = {
1565+ type = "git";
1566+ url = "https://github.com/hashicorp/vault";
1567+ rev = "v0.11.4";
1568+ sha256 = "0snqa3kar40mygcacdv55k60k9blq2zqx9hfcv42v7p0x3zqh0z0";
1569+ };
1570+ }
1571+ {
1572+ goPackagePath = "github.com/hashicorp/vault-plugin-secrets-kv";
1573+ fetch = {
1574+ type = "git";
1575+ url = "https://github.com/hashicorp/vault-plugin-secrets-kv";
1576+ rev = "edbfe287c5d9";
1577+ sha256 = "0rg7k3azsmk2kiwjvylfryhadxly7x2yj0gb4wkaacvka728kxrz";
1578+ };
1579+ }
1580+ {
1581+ goPackagePath = "github.com/hashicorp/yamux";
1582+ fetch = {
1583+ type = "git";
1584+ url = "https://github.com/hashicorp/yamux";
1585+ rev = "3520598351bb";
1586+ sha256 = "15r8yzj7a7bki9d0k3da5pab6byhyc63kvmi0by92x61mz7svqa5";
1587+ };
1588+ }
1589+ {
1590+ goPackagePath = "github.com/heptio/sonobuoy";
1591+ fetch = {
1592+ type = "git";
1593+ url = "https://github.com/jenkins-x/sonobuoy";
1594+ rev = "dad27c12bf17";
1595+ sha256 = "1xs8h3rx4s9yvv0klxwjb2qw05qh65hllxhz688wrw7ynyrwcmr1";
1596+ };
1597+ }
1598+ {
1599+ goPackagePath = "github.com/hinshun/vt10x";
1600+ fetch = {
1601+ type = "git";
1602+ url = "https://github.com/hinshun/vt10x";
1603+ rev = "d55458df857c";
1604+ sha256 = "0vwsp5iii7pf4na8pkd7cn3bawkwnsimkv1sysy7bslclg5jm370";
1605+ };
1606+ }
1607+ {
1608+ goPackagePath = "github.com/hpcloud/tail";
1609+ fetch = {
1610+ type = "git";
1611+ url = "https://github.com/hpcloud/tail";
1612+ rev = "v1.0.0";
1613+ sha256 = "1njpzc0pi1acg5zx9y6vj9xi6ksbsc5d387rd6904hy6rh2m6kn0";
1614+ };
1615+ }
1616+ {
1617+ goPackagePath = "github.com/huandu/xstrings";
1618+ fetch = {
1619+ type = "git";
1620+ url = "https://github.com/huandu/xstrings";
1621+ rev = "v1.0.0";
1622+ sha256 = "0bnyh4awmr9aagqhhi19xdadzksrkl01d987ycqx86dwlvqqxnxf";
1623+ };
1624+ }
1625+ {
1626+ goPackagePath = "github.com/iancoleman/orderedmap";
1627+ fetch = {
1628+ type = "git";
1629+ url = "https://github.com/iancoleman/orderedmap";
1630+ rev = "22c6ecc9fe13";
1631+ sha256 = "0k8axkkg84ik5v5b4m398c7lbaygb815y1wsj7fn5y2d1mqndd4q";
1632+ };
1633+ }
1634+ {
1635+ goPackagePath = "github.com/imdario/mergo";
1636+ fetch = {
1637+ type = "git";
1638+ url = "https://github.com/imdario/mergo";
1639+ rev = "v0.3.6";
1640+ sha256 = "1lbzy8p8wv439sqgf0n21q52flf2wbamp6qa1jkyv6an0nc952q7";
1641+ };
1642+ }
1643+ {
1644+ goPackagePath = "github.com/inconshreveable/mousetrap";
1645+ fetch = {
1646+ type = "git";
1647+ url = "https://github.com/inconshreveable/mousetrap";
1648+ rev = "v1.0.0";
1649+ sha256 = "1mn0kg48xkd74brf48qf5hzp0bc6g8cf5a77w895rl3qnlpfw152";
1650+ };
1651+ }
1652+ {
1653+ goPackagePath = "github.com/influxdata/influxdb";
1654+ fetch = {
1655+ type = "git";
1656+ url = "https://github.com/influxdata/influxdb";
1657+ rev = "049f9b42e9a5";
1658+ sha256 = "1m9p7zwwwk3fb9z3xxzv86avpnknvc1nya8l6q8maylyb89rk6ir";
1659+ };
1660+ }
1661+ {
1662+ goPackagePath = "github.com/jbenet/go-context";
1663+ fetch = {
1664+ type = "git";
1665+ url = "https://github.com/jbenet/go-context";
1666+ rev = "d14ea06fba99";
1667+ sha256 = "0q91f5549n81w3z5927n4a1mdh220bdmgl42zi3h992dcc4ls0sl";
1668+ };
1669+ }
1670+ {
1671+ goPackagePath = "github.com/jbrukh/bayesian";
1672+ fetch = {
1673+ type = "git";
1674+ url = "https://github.com/jbrukh/bayesian";
1675+ rev = "bf3f261f9a9c";
1676+ sha256 = "12xylsachg2br784909nf0n2c4bk1k7qwabfy4nccbvadyqscg82";
1677+ };
1678+ }
1679+ {
1680+ goPackagePath = "github.com/jefferai/jsonx";
1681+ fetch = {
1682+ type = "git";
1683+ url = "https://github.com/jefferai/jsonx";
1684+ rev = "v1.0.0";
1685+ sha256 = "15j4lch1k2bdrkcc2wnqbdcsf8avair0b7fn9ymhjqkz1zcqvpby";
1686+ };
1687+ }
1688+ {
1689+ goPackagePath = "github.com/jenkins-x/draft-repo";
1690+ fetch = {
1691+ type = "git";
1692+ url = "https://github.com/jenkins-x/draft-repo";
1693+ rev = "2f66cc518135";
1694+ sha256 = "1rwyyzakij8c13wvphksdf903dq9kw1k32lwsjwg3pxcr3rw9nr6";
1695+ };
1696+ }
1697+ {
1698+ goPackagePath = "github.com/jenkins-x/golang-jenkins";
1699+ fetch = {
1700+ type = "git";
1701+ url = "https://github.com/jenkins-x/golang-jenkins";
1702+ rev = "65b83ad42314";
1703+ sha256 = "1mvvwklcp0cwg4vrsycamly7k9zck185bma3j9rr7pga12cwdsid";
1704+ };
1705+ }
1706+ {
1707+ goPackagePath = "github.com/jetstack/cert-manager";
1708+ fetch = {
1709+ type = "git";
1710+ url = "https://github.com/jetstack/cert-manager";
1711+ rev = "v0.5.2";
1712+ sha256 = "0xic07v4fzvhn14sri6dlwklilq1966pc0l6vv664p4msgqldc9a";
1713+ };
1714+ }
1715+ {
1716+ goPackagePath = "github.com/jinzhu/gorm";
1717+ fetch = {
1718+ type = "git";
1719+ url = "https://github.com/jinzhu/gorm";
1720+ rev = "572d0a0ab1eb";
1721+ sha256 = "1fzxbq89gdi57ql1pd9hf5q6jqzinz54v84lwp1bkv0mpipxqydr";
1722+ };
1723+ }
1724+ {
1725+ goPackagePath = "github.com/jinzhu/inflection";
1726+ fetch = {
1727+ type = "git";
1728+ url = "https://github.com/jinzhu/inflection";
1729+ rev = "3272df6c21d0";
1730+ sha256 = "129xn1lm768ikbvwy5cap20d3p38hw4d631za34zapfxyy2p96c0";
1731+ };
1732+ }
1733+ {
1734+ goPackagePath = "github.com/jinzhu/now";
1735+ fetch = {
1736+ type = "git";
1737+ url = "https://github.com/jinzhu/now";
1738+ rev = "8ec929ed50c3";
1739+ sha256 = "0ydl9cx17zkx21b5cqhrl8x4j7yhmyl3ki4kn1c0ql38jw4pww7y";
1740+ };
1741+ }
1742+ {
1743+ goPackagePath = "github.com/jmespath/go-jmespath";
1744+ fetch = {
1745+ type = "git";
1746+ url = "https://github.com/jmespath/go-jmespath";
1747+ rev = "c2b33e8439af";
1748+ sha256 = "1r6w7ydx8ydryxk3sfhzsk8m6f1nsik9jg3i1zhi69v4kfl4d5cz";
1749+ };
1750+ }
1751+ {
1752+ goPackagePath = "github.com/joho/godotenv";
1753+ fetch = {
1754+ type = "git";
1755+ url = "https://github.com/joho/godotenv";
1756+ rev = "v1.3.0";
1757+ sha256 = "0ri8if0pc3x6jg4c3i8wr58xyfpxkwmcjk3rp8gb398a1aa3gpjm";
1758+ };
1759+ }
1760+ {
1761+ goPackagePath = "github.com/jonboulle/clockwork";
1762+ fetch = {
1763+ type = "git";
1764+ url = "https://github.com/jonboulle/clockwork";
1765+ rev = "v0.1.0";
1766+ sha256 = "1pqxhsdavbp1n5grgyx2j6ylvql2fzn2cvpsgkc8li69dil7sibl";
1767+ };
1768+ }
1769+ {
1770+ goPackagePath = "github.com/json-iterator/go";
1771+ fetch = {
1772+ type = "git";
1773+ url = "https://github.com/json-iterator/go";
1774+ rev = "v1.1.5";
1775+ sha256 = "11wn4hpmrs8bmpvd93wqk49jfbbgylakhi35f9k5qd7jd479ci4s";
1776+ };
1777+ }
1778+ {
1779+ goPackagePath = "github.com/jtolds/gls";
1780+ fetch = {
1781+ type = "git";
1782+ url = "https://github.com/jtolds/gls";
1783+ rev = "v4.2.1";
1784+ sha256 = "1vm37pvn0k4r6d3m620swwgama63laz8hhj3pyisdhxwam4m2g1h";
1785+ };
1786+ }
1787+ {
1788+ goPackagePath = "github.com/julienschmidt/httprouter";
1789+ fetch = {
1790+ type = "git";
1791+ url = "https://github.com/julienschmidt/httprouter";
1792+ rev = "v1.2.0";
1793+ sha256 = "1k8bylc9s4vpvf5xhqh9h246dl1snxrzzz0614zz88cdh8yzs666";
1794+ };
1795+ }
1796+ {
1797+ goPackagePath = "github.com/kballard/go-shellquote";
1798+ fetch = {
1799+ type = "git";
1800+ url = "https://github.com/kballard/go-shellquote";
1801+ rev = "95032a82bc51";
1802+ sha256 = "1rspvmnsikdq95jmx3dykxd4k1rmgl98ryjrysvl0cf18hl1vq80";
1803+ };
1804+ }
1805+ {
1806+ goPackagePath = "github.com/kevinburke/ssh_config";
1807+ fetch = {
1808+ type = "git";
1809+ url = "https://github.com/kevinburke/ssh_config";
1810+ rev = "9fc7bb800b55";
1811+ sha256 = "102icrla92zmr5zngipc8c9yfbqhf73zs2w2jq6s7p0gdjifigc8";
1812+ };
1813+ }
1814+ {
1815+ goPackagePath = "github.com/keybase/go-crypto";
1816+ fetch = {
1817+ type = "git";
1818+ url = "https://github.com/keybase/go-crypto";
1819+ rev = "255a5089e85a";
1820+ sha256 = "0c2n05lpkpq7ii8c2x3p228x3sm6msn33532zyfk2k9dk7zigzy9";
1821+ };
1822+ }
1823+ {
1824+ goPackagePath = "github.com/kisielk/gotool";
1825+ fetch = {
1826+ type = "git";
1827+ url = "https://github.com/kisielk/gotool";
1828+ rev = "v1.0.0";
1829+ sha256 = "14af2pa0ssyp8bp2mvdw184s5wcysk6akil3wzxmr05wwy951iwn";
1830+ };
1831+ }
1832+ {
1833+ goPackagePath = "github.com/knative/build";
1834+ fetch = {
1835+ type = "git";
1836+ url = "https://github.com/knative/build";
1837+ rev = "v0.3.0";
1838+ sha256 = "1zn9ngl3wr8mgg31m8dw1w5jfjdiq0gkrdv0936vabazxjgsyb5q";
1839+ };
1840+ }
1841+ {
1842+ goPackagePath = "github.com/knative/build-pipeline";
1843+ fetch = {
1844+ type = "git";
1845+ url = "https://github.com/knative/build-pipeline";
1846+ rev = "7c289d8aedf7";
1847+ sha256 = "132flxjg6aj12xmz5px6dyljj630q0icdmxr9dz7l6j01ll4yagk";
1848+ };
1849+ }
1850+ {
1851+ goPackagePath = "github.com/knative/pkg";
1852+ fetch = {
1853+ type = "git";
1854+ url = "https://github.com/knative/pkg";
1855+ rev = "994b801b03ef";
1856+ sha256 = "15xpdk9zmsljdd3rwcxmk1nml9nync9yj71pqih69bgxfqpbyrx1";
1857+ };
1858+ }
1859+ {
1860+ goPackagePath = "github.com/knq/snaker";
1861+ fetch = {
1862+ type = "git";
1863+ url = "https://github.com/knq/snaker";
1864+ rev = "d9ad1e7f342a";
1865+ sha256 = "1020q2faxm12lshmyd6qh1dnhls145nyrmisw4gy3zlk3ccy5jif";
1866+ };
1867+ }
1868+ {
1869+ goPackagePath = "github.com/knq/sysutil";
1870+ fetch = {
1871+ type = "git";
1872+ url = "https://github.com/knq/sysutil";
1873+ rev = "0218e141a794";
1874+ sha256 = "11nsjv7bm370gbiwv7l4kp573gv5zj1xajxjf4x57wynzxhij5lq";
1875+ };
1876+ }
1877+ {
1878+ goPackagePath = "github.com/konsorten/go-windows-terminal-sequences";
1879+ fetch = {
1880+ type = "git";
1881+ url = "https://github.com/konsorten/go-windows-terminal-sequences";
1882+ rev = "v1.0.1";
1883+ sha256 = "1lchgf27n276vma6iyxa0v1xds68n2g8lih5lavqnx5x6q5pw2ip";
1884+ };
1885+ }
1886+ {
1887+ goPackagePath = "github.com/kr/logfmt";
1888+ fetch = {
1889+ type = "git";
1890+ url = "https://github.com/kr/logfmt";
1891+ rev = "b84e30acd515";
1892+ sha256 = "02ldzxgznrfdzvghfraslhgp19la1fczcbzh7wm2zdc6lmpd1qq9";
1893+ };
1894+ }
1895+ {
1896+ goPackagePath = "github.com/kr/pretty";
1897+ fetch = {
1898+ type = "git";
1899+ url = "https://github.com/kr/pretty";
1900+ rev = "v0.1.0";
1901+ sha256 = "18m4pwg2abd0j9cn5v3k2ksk9ig4vlwxmlw9rrglanziv9l967qp";
1902+ };
1903+ }
1904+ {
1905+ goPackagePath = "github.com/kr/pty";
1906+ fetch = {
1907+ type = "git";
1908+ url = "https://github.com/kr/pty";
1909+ rev = "v1.1.2";
1910+ sha256 = "1jhi5g23xsrqkfjg9a7l7rqzgx2mlf2w11892nng9p9f7xp55k6h";
1911+ };
1912+ }
1913+ {
1914+ goPackagePath = "github.com/kr/text";
1915+ fetch = {
1916+ type = "git";
1917+ url = "https://github.com/kr/text";
1918+ rev = "v0.1.0";
1919+ sha256 = "1gm5bsl01apvc84bw06hasawyqm4q84vx1pm32wr9jnd7a8vjgj1";
1920+ };
1921+ }
1922+ {
1923+ goPackagePath = "github.com/lib/pq";
1924+ fetch = {
1925+ type = "git";
1926+ url = "https://github.com/lib/pq";
1927+ rev = "v1.0.0";
1928+ sha256 = "1zqnnyczaf00xi6xh53vq758v5bdlf0iz7kf22l02cal4i6px47i";
1929+ };
1930+ }
1931+ {
1932+ goPackagePath = "github.com/lusis/go-slackbot";
1933+ fetch = {
1934+ type = "git";
1935+ url = "https://github.com/lusis/go-slackbot";
1936+ rev = "401027ccfef5";
1937+ sha256 = "125rraz8nwid7vw7x8xj4cz7i74xycx3jddvzn0r3sqajnq94s0l";
1938+ };
1939+ }
1940+ {
1941+ goPackagePath = "github.com/lusis/slack-test";
1942+ fetch = {
1943+ type = "git";
1944+ url = "https://github.com/lusis/slack-test";
1945+ rev = "3c758769bfa6";
1946+ sha256 = "110gs02k9bqrch248jycb7a3yzx2i3yh02k9s16fhdw612ag2sak";
1947+ };
1948+ }
1949+ {
1950+ goPackagePath = "github.com/magiconair/properties";
1951+ fetch = {
1952+ type = "git";
1953+ url = "https://github.com/magiconair/properties";
1954+ rev = "v1.8.0";
1955+ sha256 = "1a10362wv8a8qwb818wygn2z48lgzch940hvpv81hv8gc747ajxn";
1956+ };
1957+ }
1958+ {
1959+ goPackagePath = "github.com/mailru/easyjson";
1960+ fetch = {
1961+ type = "git";
1962+ url = "https://github.com/mailru/easyjson";
1963+ rev = "60711f1a8329";
1964+ sha256 = "0234jp6134wkihdpdwq1hvzqblgl5khc1wp6dyi2h0hgh88bhdk1";
1965+ };
1966+ }
1967+ {
1968+ goPackagePath = "github.com/markbates/inflect";
1969+ fetch = {
1970+ type = "git";
1971+ url = "https://github.com/markbates/inflect";
1972+ rev = "v1.0.4";
1973+ sha256 = "0pd50b8q6bib84yab14csd6nc08hfdapzbh1nnw6qrmc1zxi7r7m";
1974+ };
1975+ }
1976+ {
1977+ goPackagePath = "github.com/mattbaird/jsonpatch";
1978+ fetch = {
1979+ type = "git";
1980+ url = "https://github.com/mattbaird/jsonpatch";
1981+ rev = "81af80346b1a";
1982+ sha256 = "0ll22kpf75m72r7i5ddg3r87gdlagbj2x24bppgbi8jp018pdq95";
1983+ };
1984+ }
1985+ {
1986+ goPackagePath = "github.com/mattn/go-colorable";
1987+ fetch = {
1988+ type = "git";
1989+ url = "https://github.com/mattn/go-colorable";
1990+ rev = "v0.0.9";
1991+ sha256 = "1nwjmsppsjicr7anq8na6md7b1z84l9ppnlr045hhxjvbkqwalvx";
1992+ };
1993+ }
1994+ {
1995+ goPackagePath = "github.com/mattn/go-isatty";
1996+ fetch = {
1997+ type = "git";
1998+ url = "https://github.com/mattn/go-isatty";
1999+ rev = "v0.0.4";
2000+ sha256 = "0zs92j2cqaw9j8qx1sdxpv3ap0rgbs0vrvi72m40mg8aa36gd39w";
2001+ };
2002+ }
2003+ {
2004+ goPackagePath = "github.com/mattn/go-runewidth";
2005+ fetch = {
2006+ type = "git";
2007+ url = "https://github.com/mattn/go-runewidth";
2008+ rev = "v0.0.2";
2009+ sha256 = "0vkrfrz3fzn5n6ix4k8s0cg0b448459sldq8bp4riavsxm932jzb";
2010+ };
2011+ }
2012+ {
2013+ goPackagePath = "github.com/mattn/go-sqlite3";
2014+ fetch = {
2015+ type = "git";
2016+ url = "https://github.com/mattn/go-sqlite3";
2017+ rev = "38ee283dabf1";
2018+ sha256 = "18xyi0n1dhspvy6z982k7v545w7k0idpmvlqmrn6nkd6dkw7pfdw";
2019+ };
2020+ }
2021+ {
2022+ goPackagePath = "github.com/mattn/go-zglob";
2023+ fetch = {
2024+ type = "git";
2025+ url = "https://github.com/mattn/go-zglob";
2026+ rev = "49693fbb3fe3";
2027+ sha256 = "1j7li9jbqfakm3glj1hf0bl062y25jmaqw3d6v973c1vcgmdxvgw";
2028+ };
2029+ }
2030+ {
2031+ goPackagePath = "github.com/matttproud/golang_protobuf_extensions";
2032+ fetch = {
2033+ type = "git";
2034+ url = "https://github.com/matttproud/golang_protobuf_extensions";
2035+ rev = "v1.0.1";
2036+ sha256 = "1d0c1isd2lk9pnfq2nk0aih356j30k3h1gi2w0ixsivi5csl7jya";
2037+ };
2038+ }
2039+ {
2040+ goPackagePath = "github.com/mgutz/ansi";
2041+ fetch = {
2042+ type = "git";
2043+ url = "https://github.com/mgutz/ansi";
2044+ rev = "9520e82c474b";
2045+ sha256 = "00bz22314j26736w1f0q4jy9d9dfaml17vn890n5zqy3cmvmww1j";
2046+ };
2047+ }
2048+ {
2049+ goPackagePath = "github.com/mholt/archiver";
2050+ fetch = {
2051+ type = "git";
2052+ url = "https://github.com/mholt/archiver";
2053+ rev = "v3.1.1";
2054+ sha256 = "1v18xzzwi836rdxnr5dssllc083rdiry9baqaqnz6x3f1xvfnqp9";
2055+ };
2056+ }
2057+ {
2058+ goPackagePath = "github.com/miekg/dns";
2059+ fetch = {
2060+ type = "git";
2061+ url = "https://github.com/miekg/dns";
2062+ rev = "v1.0.14";
2063+ sha256 = "1qgli6yp59bv6vc6zag84cwxmcxgnyxm1q2f301yyijk3wy5b2ak";
2064+ };
2065+ }
2066+ {
2067+ goPackagePath = "github.com/mitchellh/cli";
2068+ fetch = {
2069+ type = "git";
2070+ url = "https://github.com/mitchellh/cli";
2071+ rev = "v1.0.0";
2072+ sha256 = "1i9kmr7rcf10d2hji8h4247hmc0nbairv7a0q51393aw2h1bnwg2";
2073+ };
2074+ }
2075+ {
2076+ goPackagePath = "github.com/mitchellh/copystructure";
2077+ fetch = {
2078+ type = "git";
2079+ url = "https://github.com/mitchellh/copystructure";
2080+ rev = "v1.0.0";
2081+ sha256 = "05njg92w1088v4yl0js0zdrpfq6k37i9j14mxkr3p90p5yd9rrrr";
2082+ };
2083+ }
2084+ {
2085+ goPackagePath = "github.com/mitchellh/go-homedir";
2086+ fetch = {
2087+ type = "git";
2088+ url = "https://github.com/mitchellh/go-homedir";
2089+ rev = "3864e76763d9";
2090+ sha256 = "1n8vya16l60i5jms43yb8fzdgwvqa2q926p5wkg3lbrk8pxy1nv0";
2091+ };
2092+ }
2093+ {
2094+ goPackagePath = "github.com/mitchellh/go-testing-interface";
2095+ fetch = {
2096+ type = "git";
2097+ url = "https://github.com/mitchellh/go-testing-interface";
2098+ rev = "v1.0.0";
2099+ sha256 = "1dl2js8di858bawg7dadlf1qjpkl2g3apziihjyf5imri3znyfpw";
2100+ };
2101+ }
2102+ {
2103+ goPackagePath = "github.com/mitchellh/gox";
2104+ fetch = {
2105+ type = "git";
2106+ url = "https://github.com/mitchellh/gox";
2107+ rev = "v0.4.0";
2108+ sha256 = "1q4fdkw904mrmh1q5z8pfd3r0gcn5dm776kldqawddy93iiwnp8r";
2109+ };
2110+ }
2111+ {
2112+ goPackagePath = "github.com/mitchellh/iochan";
2113+ fetch = {
2114+ type = "git";
2115+ url = "https://github.com/mitchellh/iochan";
2116+ rev = "v1.0.0";
2117+ sha256 = "058n9bbf536f2nw3pbs7pysrg9cqvgkb28z2zf5wjyrzrknyk53g";
2118+ };
2119+ }
2120+ {
2121+ goPackagePath = "github.com/mitchellh/ioprogress";
2122+ fetch = {
2123+ type = "git";
2124+ url = "https://github.com/mitchellh/ioprogress";
2125+ rev = "6a23b12fa88e";
2126+ sha256 = "1fcfwi5fzv17iahif42y7dhjfnjwkslk03zb9cniw42wyiwhj3jk";
2127+ };
2128+ }
2129+ {
2130+ goPackagePath = "github.com/mitchellh/mapstructure";
2131+ fetch = {
2132+ type = "git";
2133+ url = "https://github.com/mitchellh/mapstructure";
2134+ rev = "f15292f7a699";
2135+ sha256 = "0zm3nhdvmj3f8q0vg2sjfw1sm3pwsw0ggz501awz95w99664a8al";
2136+ };
2137+ }
2138+ {
2139+ goPackagePath = "github.com/mitchellh/reflectwalk";
2140+ fetch = {
2141+ type = "git";
2142+ url = "https://github.com/mitchellh/reflectwalk";
2143+ rev = "v1.0.0";
2144+ sha256 = "0wzkp0fdx22n8f7y9y37dgmnlrlfsv9zjdb48cbx7rsqsbnny7l0";
2145+ };
2146+ }
2147+ {
2148+ goPackagePath = "github.com/modern-go/concurrent";
2149+ fetch = {
2150+ type = "git";
2151+ url = "https://github.com/modern-go/concurrent";
2152+ rev = "bacd9c7ef1dd";
2153+ sha256 = "0s0fxccsyb8icjmiym5k7prcqx36hvgdwl588y0491gi18k5i4zs";
2154+ };
2155+ }
2156+ {
2157+ goPackagePath = "github.com/modern-go/reflect2";
2158+ fetch = {
2159+ type = "git";
2160+ url = "https://github.com/modern-go/reflect2";
2161+ rev = "v1.0.1";
2162+ sha256 = "06a3sablw53n1dqqbr2f53jyksbxdmmk8axaas4yvnhyfi55k4lf";
2163+ };
2164+ }
2165+ {
2166+ goPackagePath = "github.com/mwitkow/go-conntrack";
2167+ fetch = {
2168+ type = "git";
2169+ url = "https://github.com/mwitkow/go-conntrack";
2170+ rev = "cc309e4a2223";
2171+ sha256 = "0nbrnpk7bkmqg9mzwsxlm0y8m7s9qd9phr1q30qlx2qmdmz7c1mf";
2172+ };
2173+ }
2174+ {
2175+ goPackagePath = "github.com/nbio/st";
2176+ fetch = {
2177+ type = "git";
2178+ url = "https://github.com/nbio/st";
2179+ rev = "e9e8d9816f32";
2180+ sha256 = "14r4acm82gp9ikqnp41a06bm4mrdlbskakhibbxsc5ljav7bni27";
2181+ };
2182+ }
2183+ {
2184+ goPackagePath = "github.com/nlopes/slack";
2185+ fetch = {
2186+ type = "git";
2187+ url = "https://github.com/nlopes/slack";
2188+ rev = "347a74b1ea30";
2189+ sha256 = "0wkj2kvvg2jl01bajkjavcpn1c98yhxd96cadpm522ag3gqdlw81";
2190+ };
2191+ }
2192+ {
2193+ goPackagePath = "github.com/nwaples/rardecode";
2194+ fetch = {
2195+ type = "git";
2196+ url = "https://github.com/nwaples/rardecode";
2197+ rev = "v1.0.0";
2198+ sha256 = "1dsq1wcddl7r1y0d94px368biiy1dgzl3nab47f0rb0fp1b24l1x";
2199+ };
2200+ }
2201+ {
2202+ goPackagePath = "github.com/oklog/run";
2203+ fetch = {
2204+ type = "git";
2205+ url = "https://github.com/oklog/run";
2206+ rev = "v1.0.0";
2207+ sha256 = "1pbjza4claaj95fpqvvfrysvs10y7dm0pl6qr5lzh6qy1vnhmcgw";
2208+ };
2209+ }
2210+ {
2211+ goPackagePath = "github.com/olekukonko/tablewriter";
2212+ fetch = {
2213+ type = "git";
2214+ url = "https://github.com/olekukonko/tablewriter";
2215+ rev = "a0225b3f23b5";
2216+ sha256 = "0bp9r6xzy6d3p7l2hjmvr25y3rp3p8c9xv1agkllkksm45ng6681";
2217+ };
2218+ }
2219+ {
2220+ goPackagePath = "github.com/onsi/ginkgo";
2221+ fetch = {
2222+ type = "git";
2223+ url = "https://github.com/onsi/ginkgo";
2224+ rev = "v1.6.0";
2225+ sha256 = "0x0gc89vgq38xhgmi2h22bhr73cf2gmk42g89nz89k8dgg9hhr25";
2226+ };
2227+ }
2228+ {
2229+ goPackagePath = "github.com/onsi/gomega";
2230+ fetch = {
2231+ type = "git";
2232+ url = "https://github.com/onsi/gomega";
2233+ rev = "v1.4.2";
2234+ sha256 = "0f1lpgdcfan3bj545xjrlkdkmi7g0l8gn82gsxay1x6rsqv6nl0b";
2235+ };
2236+ }
2237+ {
2238+ goPackagePath = "github.com/opencontainers/go-digest";
2239+ fetch = {
2240+ type = "git";
2241+ url = "https://github.com/opencontainers/go-digest";
2242+ rev = "v1.0.0-rc1";
2243+ sha256 = "01gc7fpn8ax429024p2fcx3yb18axwz5bjf2hqxlii1jbsgw4bh9";
2244+ };
2245+ }
2246+ {
2247+ goPackagePath = "github.com/opencontainers/image-spec";
2248+ fetch = {
2249+ type = "git";
2250+ url = "https://github.com/opencontainers/image-spec";
2251+ rev = "v1.0.1";
2252+ sha256 = "03dvbj3dln8c55v9gp79mgmz2yi2ws3r08iyz2fk41y3i22iaw1q";
2253+ };
2254+ }
2255+ {
2256+ goPackagePath = "github.com/opencontainers/runc";
2257+ fetch = {
2258+ type = "git";
2259+ url = "https://github.com/opencontainers/runc";
2260+ rev = "v0.1.1";
2261+ sha256 = "09fm7f1k4lvx8v3crqb0cli1x2brlz8ka7f7qa8d2sb6ln58h7w7";
2262+ };
2263+ }
2264+ {
2265+ goPackagePath = "github.com/openzipkin/zipkin-go";
2266+ fetch = {
2267+ type = "git";
2268+ url = "https://github.com/openzipkin/zipkin-go";
2269+ rev = "v0.1.1";
2270+ sha256 = "0kd5yc4117dlqc80v0f29kb2l8nrx2da9c03ljns5n8hynnjgb27";
2271+ };
2272+ }
2273+ {
2274+ goPackagePath = "github.com/operator-framework/operator-sdk";
2275+ fetch = {
2276+ type = "git";
2277+ url = "https://github.com/operator-framework/operator-sdk";
2278+ rev = "913cbf711929";
2279+ sha256 = "1fq6g8q11qx842zsj8k16ng6p2xpmp52v91m24vz35rh9pl4kdg0";
2280+ };
2281+ }
2282+ {
2283+ goPackagePath = "github.com/ory/dockertest";
2284+ fetch = {
2285+ type = "git";
2286+ url = "https://github.com/ory/dockertest";
2287+ rev = "v3.3.4";
2288+ sha256 = "0gwdbxszjzv3cr42kmwjvqab1y8y8g9j0p3yl1n0rzmsfxcz1mmb";
2289+ };
2290+ }
2291+ {
2292+ goPackagePath = "github.com/pascaldekloe/goe";
2293+ fetch = {
2294+ type = "git";
2295+ url = "https://github.com/pascaldekloe/goe";
2296+ rev = "57f6aae5913c";
2297+ sha256 = "1dqd3mfb4z2vmv6pg6fhgvfc53vhndk24wcl9lj1rz02n6m279fq";
2298+ };
2299+ }
2300+ {
2301+ goPackagePath = "github.com/patrickmn/go-cache";
2302+ fetch = {
2303+ type = "git";
2304+ url = "https://github.com/patrickmn/go-cache";
2305+ rev = "v2.1.0";
2306+ sha256 = "10020inkzrm931r4bixf8wqr9n39wcrb78vfyxmbvjavvw4zybgs";
2307+ };
2308+ }
2309+ {
2310+ goPackagePath = "github.com/pborman/uuid";
2311+ fetch = {
2312+ type = "git";
2313+ url = "https://github.com/pborman/uuid";
2314+ rev = "e790cca94e6c";
2315+ sha256 = "0y1crv4wkly2naki2f68ln9sc8l9skswkc696vr8vc43p4p67wam";
2316+ };
2317+ }
2318+ {
2319+ goPackagePath = "github.com/pelletier/go-buffruneio";
2320+ fetch = {
2321+ type = "git";
2322+ url = "https://github.com/pelletier/go-buffruneio";
2323+ rev = "v0.2.0";
2324+ sha256 = "0l83p1gg6g5mmhmxjisrhfimhbm71lwn1r2w7d6siwwqm9q08sd2";
2325+ };
2326+ }
2327+ {
2328+ goPackagePath = "github.com/pelletier/go-toml";
2329+ fetch = {
2330+ type = "git";
2331+ url = "https://github.com/pelletier/go-toml";
2332+ rev = "v1.2.0";
2333+ sha256 = "1fjzpcjng60mc3a4b2ql5a00d5gah84wj740dabv9kq67mpg8fxy";
2334+ };
2335+ }
2336+ {
2337+ goPackagePath = "github.com/petar/GoLLRB";
2338+ fetch = {
2339+ type = "git";
2340+ url = "https://github.com/petar/GoLLRB";
2341+ rev = "53be0d36a84c";
2342+ sha256 = "01xp3lcamqkvl91jg6ly202gdsgf64j39rkrcqxi6v4pbrcv7hz0";
2343+ };
2344+ }
2345+ {
2346+ goPackagePath = "github.com/peterbourgon/diskv";
2347+ fetch = {
2348+ type = "git";
2349+ url = "https://github.com/peterbourgon/diskv";
2350+ rev = "v2.0.1";
2351+ sha256 = "1mxpa5aad08x30qcbffzk80g9540wvbca4blc1r2qyzl65b8929b";
2352+ };
2353+ }
2354+ {
2355+ goPackagePath = "github.com/petergtz/pegomock";
2356+ fetch = {
2357+ type = "git";
2358+ url = "https://github.com/petergtz/pegomock";
2359+ rev = "b113d17a7e81";
2360+ sha256 = "1si2dxz6wvx7px8g1455gz1vvlfwsm014wdbvyr69c3m2ad86wm0";
2361+ };
2362+ }
2363+ {
2364+ goPackagePath = "github.com/pierrec/lz4";
2365+ fetch = {
2366+ type = "git";
2367+ url = "https://github.com/pierrec/lz4";
2368+ rev = "v2.0.5";
2369+ sha256 = "0y5rh7z01zycd59nnjpkqq0ydyjmcg9j1xw15q1i600l9j9g617p";
2370+ };
2371+ }
2372+ {
2373+ goPackagePath = "github.com/pkg/browser";
2374+ fetch = {
2375+ type = "git";
2376+ url = "https://github.com/pkg/browser";
2377+ rev = "c90ca0c84f15";
2378+ sha256 = "05xpqsns08blmwdh8aw5kpq2d9x4fl91535j6np1ylw1q2b67b8i";
2379+ };
2380+ }
2381+ {
2382+ goPackagePath = "github.com/pkg/errors";
2383+ fetch = {
2384+ type = "git";
2385+ url = "https://github.com/pkg/errors";
2386+ rev = "v0.8.0";
2387+ sha256 = "001i6n71ghp2l6kdl3qq1v2vmghcz3kicv9a5wgcihrzigm75pp5";
2388+ };
2389+ }
2390+ {
2391+ goPackagePath = "github.com/pmezard/go-difflib";
2392+ fetch = {
2393+ type = "git";
2394+ url = "https://github.com/pmezard/go-difflib";
2395+ rev = "v1.0.0";
2396+ sha256 = "0c1cn55m4rypmscgf0rrb88pn58j3ysvc2d0432dp3c6fqg6cnzw";
2397+ };
2398+ }
2399+ {
2400+ goPackagePath = "github.com/posener/complete";
2401+ fetch = {
2402+ type = "git";
2403+ url = "https://github.com/posener/complete";
2404+ rev = "v1.1.1";
2405+ sha256 = "1nbdiybjizbaxbf5q0xwbq0cjqw4bl6jggvsjzrpif0w86fcjda2";
2406+ };
2407+ }
2408+ {
2409+ goPackagePath = "github.com/prometheus/client_golang";
2410+ fetch = {
2411+ type = "git";
2412+ url = "https://github.com/prometheus/client_golang";
2413+ rev = "v0.9.1";
2414+ sha256 = "01gnylazia30pcp069xcng482gwmm3xcx5zgrlwdkhic1lyb6i9l";
2415+ };
2416+ }
2417+ {
2418+ goPackagePath = "github.com/prometheus/client_model";
2419+ fetch = {
2420+ type = "git";
2421+ url = "https://github.com/prometheus/client_model";
2422+ rev = "5c3871d89910";
2423+ sha256 = "04psf81l9fjcwascsys428v03fx4fi894h7fhrj2vvcz723q57k0";
2424+ };
2425+ }
2426+ {
2427+ goPackagePath = "github.com/prometheus/common";
2428+ fetch = {
2429+ type = "git";
2430+ url = "https://github.com/prometheus/common";
2431+ rev = "v0.2.0";
2432+ sha256 = "02kym6lcfnlq23qbv277jr0q1n7jj0r14gqg93c7wn7gc44jv3vp";
2433+ };
2434+ }
2435+ {
2436+ goPackagePath = "github.com/prometheus/procfs";
2437+ fetch = {
2438+ type = "git";
2439+ url = "https://github.com/prometheus/procfs";
2440+ rev = "185b4288413d";
2441+ sha256 = "0d85429kdw5dgj5zhyiz1sq3i5691vj2gjnda93nnxxzx9acg8cv";
2442+ };
2443+ }
2444+ {
2445+ goPackagePath = "github.com/qor/inflection";
2446+ fetch = {
2447+ type = "git";
2448+ url = "https://github.com/qor/inflection";
2449+ rev = "04140366298a";
2450+ sha256 = "1s4qcnwaajp3c5ykwx4dfy32hykwsm0ki7kx8lcw8b0z0grkz6qh";
2451+ };
2452+ }
2453+ {
2454+ goPackagePath = "github.com/rifflock/lfshook";
2455+ fetch = {
2456+ type = "git";
2457+ url = "https://github.com/rifflock/lfshook";
2458+ rev = "bf539943797a";
2459+ sha256 = "0hns4zidw8g3s5l9dyl894fnyjr0a5xgdvx26rnal9jrn4n6z835";
2460+ };
2461+ }
2462+ {
2463+ goPackagePath = "github.com/rodaine/hclencoder";
2464+ fetch = {
2465+ type = "git";
2466+ url = "https://github.com/rodaine/hclencoder";
2467+ rev = "0680c4321930";
2468+ sha256 = "0xyzmbhg0qnaybbd4sxly8932kswx2gplcw788gh811ylhjj2liy";
2469+ };
2470+ }
2471+ {
2472+ goPackagePath = "github.com/russross/blackfriday";
2473+ fetch = {
2474+ type = "git";
2475+ url = "https://github.com/russross/blackfriday";
2476+ rev = "v1.5.1";
2477+ sha256 = "0qmavm5d14kj6im6sqzpqnlhpy524428vkn4hnfwknndr9rycmn0";
2478+ };
2479+ }
2480+ {
2481+ goPackagePath = "github.com/ryanuber/columnize";
2482+ fetch = {
2483+ type = "git";
2484+ url = "https://github.com/ryanuber/columnize";
2485+ rev = "9b3edd62028f";
2486+ sha256 = "1ya1idkbb0a9fjlhkcnh5a9yvpwzwfmbyg7d56lpplwr9rqi1da4";
2487+ };
2488+ }
2489+ {
2490+ goPackagePath = "github.com/ryanuber/go-glob";
2491+ fetch = {
2492+ type = "git";
2493+ url = "https://github.com/ryanuber/go-glob";
2494+ rev = "256dc444b735";
2495+ sha256 = "07rsd7hranghwc68ib0r2zxd9d5djanzjvd84j9dgj3wqsyg5mi2";
2496+ };
2497+ }
2498+ {
2499+ goPackagePath = "github.com/satori/go.uuid";
2500+ fetch = {
2501+ type = "git";
2502+ url = "https://github.com/satori/go.uuid";
2503+ rev = "v1.2.0";
2504+ sha256 = "1j4s5pfg2ldm35y8ls8jah4dya2grfnx2drb4jcbjsyrp4cm5yfb";
2505+ };
2506+ }
2507+ {
2508+ goPackagePath = "github.com/sean-/seed";
2509+ fetch = {
2510+ type = "git";
2511+ url = "https://github.com/sean-/seed";
2512+ rev = "e2103e2c3529";
2513+ sha256 = "0glir8jxi1w7aga2jwdb63pp1h8q4whknili7xixsqzwyy716125";
2514+ };
2515+ }
2516+ {
2517+ goPackagePath = "github.com/sergi/go-diff";
2518+ fetch = {
2519+ type = "git";
2520+ url = "https://github.com/sergi/go-diff";
2521+ rev = "v1.0.0";
2522+ sha256 = "0swiazj8wphs2zmk1qgq75xza6m19snif94h2m6fi8dqkwqdl7c7";
2523+ };
2524+ }
2525+ {
2526+ goPackagePath = "github.com/sethgrid/pester";
2527+ fetch = {
2528+ type = "git";
2529+ url = "https://github.com/sethgrid/pester";
2530+ rev = "03e26c9abbbf";
2531+ sha256 = "0xhzs8xjaxr00n0sc0hjhlp78l01jwqqv9r6yfcxqy86cfyrdfgw";
2532+ };
2533+ }
2534+ {
2535+ goPackagePath = "github.com/sethvargo/go-password";
2536+ fetch = {
2537+ type = "git";
2538+ url = "https://github.com/sethvargo/go-password";
2539+ rev = "v0.1.2";
2540+ sha256 = "0z6jz4b7cfdwiqrzhcyvraq2s1rw4fpw4fbna9r7xi1vvj26gyrf";
2541+ };
2542+ }
2543+ {
2544+ goPackagePath = "github.com/shirou/gopsutil";
2545+ fetch = {
2546+ type = "git";
2547+ url = "https://github.com/shirou/gopsutil";
2548+ rev = "eb1f1ab16f2e";
2549+ sha256 = "0qn5nn4kcqcw5wkcg82s9jbjh6wvrfq88zinm35xlpwhpdklznjw";
2550+ };
2551+ }
2552+ {
2553+ goPackagePath = "github.com/shirou/w32";
2554+ fetch = {
2555+ type = "git";
2556+ url = "https://github.com/shirou/w32";
2557+ rev = "bb4de0191aa4";
2558+ sha256 = "0xh5vqblhr2c3mlaswawx6nipi4rc2x73rbdvlkakmgi0nnl50m4";
2559+ };
2560+ }
2561+ {
2562+ goPackagePath = "github.com/shurcooL/githubv4";
2563+ fetch = {
2564+ type = "git";
2565+ url = "https://github.com/shurcooL/githubv4";
2566+ rev = "51d7b505e2e9";
2567+ sha256 = "0zy2aci0gr9x08fl8bicknc2v9nqnxhqr3y05dzvmr0b5av9q24f";
2568+ };
2569+ }
2570+ {
2571+ goPackagePath = "github.com/shurcooL/go";
2572+ fetch = {
2573+ type = "git";
2574+ url = "https://github.com/shurcooL/go";
2575+ rev = "9e1955d9fb6e";
2576+ sha256 = "1lad9bvs75jsn61cfza19739c2c057k0bqxg2b4xz3z3l4w1mkqj";
2577+ };
2578+ }
2579+ {
2580+ goPackagePath = "github.com/shurcooL/graphql";
2581+ fetch = {
2582+ type = "git";
2583+ url = "https://github.com/shurcooL/graphql";
2584+ rev = "e4a3a37e6d42";
2585+ sha256 = "0d4a6njigzis6hgac5dpxaw6nzrm4cqmfyj53icr3isa38c2isrf";
2586+ };
2587+ }
2588+ {
2589+ goPackagePath = "github.com/sirupsen/logrus";
2590+ fetch = {
2591+ type = "git";
2592+ url = "https://github.com/sirupsen/logrus";
2593+ rev = "v1.2.0";
2594+ sha256 = "0r6334x2bls8ddznvzaldx4g88msjjns4mlks95rqrrg7h0ijigg";
2595+ };
2596+ }
2597+ {
2598+ goPackagePath = "github.com/smartystreets/assertions";
2599+ fetch = {
2600+ type = "git";
2601+ url = "https://github.com/smartystreets/assertions";
2602+ rev = "b2de0cb4f26d";
2603+ sha256 = "1i7ldgavgl35c7gk25p7bvdr282ckng090zr4ch9mk1705akx09y";
2604+ };
2605+ }
2606+ {
2607+ goPackagePath = "github.com/smartystreets/goconvey";
2608+ fetch = {
2609+ type = "git";
2610+ url = "https://github.com/smartystreets/goconvey";
2611+ rev = "ef6db91d284a";
2612+ sha256 = "16znlpsms8z2qc3airawyhzvrzcp70p9bx375i19bg489hgchxb7";
2613+ };
2614+ }
2615+ {
2616+ goPackagePath = "github.com/soheilhy/cmux";
2617+ fetch = {
2618+ type = "git";
2619+ url = "https://github.com/soheilhy/cmux";
2620+ rev = "v0.1.4";
2621+ sha256 = "1f736g68d9vwlyfb6g0fxkr0r875369xafk30cz8kaq5niaqwv0h";
2622+ };
2623+ }
2624+ {
2625+ goPackagePath = "github.com/spf13/afero";
2626+ fetch = {
2627+ type = "git";
2628+ url = "https://github.com/spf13/afero";
2629+ rev = "v1.1.1";
2630+ sha256 = "0138rjiacl71h7kvhzinviwvy6qa2m6rflpv9lgqv15hnjvhwvg1";
2631+ };
2632+ }
2633+ {
2634+ goPackagePath = "github.com/spf13/cast";
2635+ fetch = {
2636+ type = "git";
2637+ url = "https://github.com/spf13/cast";
2638+ rev = "v1.2.0";
2639+ sha256 = "177bk7lq40jbgv9p9r80aydpaccfk8ja3a7jjhfwiwk9r1pa4rr2";
2640+ };
2641+ }
2642+ {
2643+ goPackagePath = "github.com/spf13/cobra";
2644+ fetch = {
2645+ type = "git";
2646+ url = "https://github.com/spf13/cobra";
2647+ rev = "v0.0.3";
2648+ sha256 = "1q1nsx05svyv9fv3fy6xv6gs9ffimkyzsfm49flvl3wnvf1ncrkd";
2649+ };
2650+ }
2651+ {
2652+ goPackagePath = "github.com/spf13/jwalterweatherman";
2653+ fetch = {
2654+ type = "git";
2655+ url = "https://github.com/spf13/jwalterweatherman";
2656+ rev = "7c0cea34c8ec";
2657+ sha256 = "132p84i20b9s5r6fs597lsa6648vd415ch7c0d018vm8smzqpd0h";
2658+ };
2659+ }
2660+ {
2661+ goPackagePath = "github.com/spf13/pflag";
2662+ fetch = {
2663+ type = "git";
2664+ url = "https://github.com/spf13/pflag";
2665+ rev = "v1.0.3";
2666+ sha256 = "1cj3cjm7d3zk0mf1xdybh0jywkbbw7a6yr3y22x9sis31scprswd";
2667+ };
2668+ }
2669+ {
2670+ goPackagePath = "github.com/spf13/viper";
2671+ fetch = {
2672+ type = "git";
2673+ url = "https://github.com/spf13/viper";
2674+ rev = "v1.0.2";
2675+ sha256 = "0y3r6ysi5vn0yq5c7pbl62yg2i64fkv54xgj2jf1hn3v6zzyimis";
2676+ };
2677+ }
2678+ {
2679+ goPackagePath = "github.com/src-d/gcfg";
2680+ fetch = {
2681+ type = "git";
2682+ url = "https://github.com/src-d/gcfg";
2683+ rev = "v1.3.0";
2684+ sha256 = "1hrdxlha4kkcpyydmjqd929rmwn5a9xq7arvwhryxppxq7502axk";
2685+ };
2686+ }
2687+ {
2688+ goPackagePath = "github.com/stoewer/go-strcase";
2689+ fetch = {
2690+ type = "git";
2691+ url = "https://github.com/stoewer/go-strcase";
2692+ rev = "v1.0.1";
2693+ sha256 = "0axc5sq5n9gkhy7npn9w12ycxddngmbphdywhfrsskm44kvd8rpx";
2694+ };
2695+ }
2696+ {
2697+ goPackagePath = "github.com/streadway/amqp";
2698+ fetch = {
2699+ type = "git";
2700+ url = "https://github.com/streadway/amqp";
2701+ rev = "27835f1a64e9";
2702+ sha256 = "1py7lsrk0a4r0fx91jq6nn0vdv8phzw5wlnjbl38gmlq32hsff7k";
2703+ };
2704+ }
2705+ {
2706+ goPackagePath = "github.com/stretchr/objx";
2707+ fetch = {
2708+ type = "git";
2709+ url = "https://github.com/stretchr/objx";
2710+ rev = "v0.1.1";
2711+ sha256 = "0iph0qmpyqg4kwv8jsx6a56a7hhqq8swrazv40ycxk9rzr0s8yls";
2712+ };
2713+ }
2714+ {
2715+ goPackagePath = "github.com/stretchr/testify";
2716+ fetch = {
2717+ type = "git";
2718+ url = "https://github.com/stretchr/testify";
2719+ rev = "v1.3.0";
2720+ sha256 = "0wjchp2c8xbgcbbq32w3kvblk6q6yn533g78nxl6iskq6y95lxsy";
2721+ };
2722+ }
2723+ {
2724+ goPackagePath = "github.com/tidwall/gjson";
2725+ fetch = {
2726+ type = "git";
2727+ url = "https://github.com/tidwall/gjson";
2728+ rev = "v1.1.0";
2729+ sha256 = "0m19fh7djlwl188ddw4myspck92hq0pck4xwmvx6msq7pz2mhds9";
2730+ };
2731+ }
2732+ {
2733+ goPackagePath = "github.com/tidwall/match";
2734+ fetch = {
2735+ type = "git";
2736+ url = "https://github.com/tidwall/match";
2737+ rev = "1731857f09b1";
2738+ sha256 = "14nv96h0mjki5q685qx8y331h4yga6hlfh3z9nz6acvnv284q578";
2739+ };
2740+ }
2741+ {
2742+ goPackagePath = "github.com/tmc/grpc-websocket-proxy";
2743+ fetch = {
2744+ type = "git";
2745+ url = "https://github.com/tmc/grpc-websocket-proxy";
2746+ rev = "830351dc03c6";
2747+ sha256 = "0d1b7jydlwfx9m78fbmfdva2yf1cd8x4j0bq5wxj5n7ihwyf07jg";
2748+ };
2749+ }
2750+ {
2751+ goPackagePath = "github.com/trivago/tgo";
2752+ fetch = {
2753+ type = "git";
2754+ url = "https://github.com/trivago/tgo";
2755+ rev = "v1.0.1";
2756+ sha256 = "10243ai91r57fkh8jpyxg9dz503cb5nkmlsj10p3g8a38v808mrl";
2757+ };
2758+ }
2759+ {
2760+ goPackagePath = "github.com/ugorji/go";
2761+ fetch = {
2762+ type = "git";
2763+ url = "https://github.com/ugorji/go";
2764+ rev = "8333dd449516";
2765+ sha256 = "16bix8957bgszzm176jn12q1dzi6flha4bif5h8j8lqbxc6pab3q";
2766+ };
2767+ }
2768+ {
2769+ goPackagePath = "github.com/ulikunitz/xz";
2770+ fetch = {
2771+ type = "git";
2772+ url = "https://github.com/ulikunitz/xz";
2773+ rev = "v0.5.6";
2774+ sha256 = "1qpk02c0nfgfyg110nmbaiy5x12fpn0pm8gy7h1s8pwns133n831";
2775+ };
2776+ }
2777+ {
2778+ goPackagePath = "github.com/urfave/cli";
2779+ fetch = {
2780+ type = "git";
2781+ url = "https://github.com/urfave/cli";
2782+ rev = "v1.18.0";
2783+ sha256 = "0al7w7yjyijx9dldndnj1bws5w1li0a7wjbwbkxa5kd0z7l39x81";
2784+ };
2785+ }
2786+ {
2787+ goPackagePath = "github.com/viniciuschiele/tarx";
2788+ fetch = {
2789+ type = "git";
2790+ url = "https://github.com/viniciuschiele/tarx";
2791+ rev = "6e3da540444d";
2792+ sha256 = "0r7d6s5znbr69xm9334c8b404yk1jqg0h8n6bjs8zwgwk20cwxjf";
2793+ };
2794+ }
2795+ {
2796+ goPackagePath = "github.com/wbrefvem/go-bitbucket";
2797+ fetch = {
2798+ type = "git";
2799+ url = "https://github.com/wbrefvem/go-bitbucket";
2800+ rev = "fc08fd046abb";
2801+ sha256 = "1h7wpl442cl4qfhm2115rwnch8bs2314qi09kwgy2zjrv5gq969n";
2802+ };
2803+ }
2804+ {
2805+ goPackagePath = "github.com/xanzy/go-gitlab";
2806+ fetch = {
2807+ type = "git";
2808+ url = "https://github.com/xanzy/go-gitlab";
2809+ rev = "f3bc634ab936";
2810+ sha256 = "1lznkdlhm1jvka745qkynlyci4svw38s9chrz0lvwpl680kazv1q";
2811+ };
2812+ }
2813+ {
2814+ goPackagePath = "github.com/xanzy/ssh-agent";
2815+ fetch = {
2816+ type = "git";
2817+ url = "https://github.com/xanzy/ssh-agent";
2818+ rev = "v0.2.0";
2819+ sha256 = "069nlriymqswg52ggiwi60qhwrin9nzhd2g65a7h59z2qbcvk2hy";
2820+ };
2821+ }
2822+ {
2823+ goPackagePath = "github.com/xi2/xz";
2824+ fetch = {
2825+ type = "git";
2826+ url = "https://github.com/xi2/xz";
2827+ rev = "48954b6210f8";
2828+ sha256 = "178r0fa2dpzxf0sabs7dn0c8fa7vs87zlxk6spkn374ls9pir7nq";
2829+ };
2830+ }
2831+ {
2832+ goPackagePath = "github.com/xiang90/probing";
2833+ fetch = {
2834+ type = "git";
2835+ url = "https://github.com/xiang90/probing";
2836+ rev = "07dd2e8dfe18";
2837+ sha256 = "0r8rq27yigz72mk8z7p61yjfan8id021dnp1v421ln9byzpvabn2";
2838+ };
2839+ }
2840+ {
2841+ goPackagePath = "github.com/xlab/handysort";
2842+ fetch = {
2843+ type = "git";
2844+ url = "https://github.com/xlab/handysort";
2845+ rev = "fb3537ed64a1";
2846+ sha256 = "0g1q7qx259xhywkiqmcf0siwvyqbwdyc4ng0hz5z8r9zc68ic647";
2847+ };
2848+ }
2849+ {
2850+ goPackagePath = "go.etcd.io/bbolt";
2851+ fetch = {
2852+ type = "git";
2853+ url = "https://github.com/etcd-io/bbolt";
2854+ rev = "v1.3.1-etcd.7";
2855+ sha256 = "0f2brc4zyc1z3s1bw9krgj7gijdrdz9sw2w8i7s0xvidd54qr32l";
2856+ };
2857+ }
2858+ {
2859+ goPackagePath = "go.etcd.io/etcd";
2860+ fetch = {
2861+ type = "git";
2862+ url = "https://github.com/etcd-io/etcd";
2863+ rev = "83304cfc808c";
2864+ sha256 = "1jfiv4a6n6ik5l1sscgmvll9yyic5ax0a03vis8n3b5g5qycws34";
2865+ };
2866+ }
2867+ {
2868+ goPackagePath = "go.opencensus.io";
2869+ fetch = {
2870+ type = "git";
2871+ url = "https://github.com/census-instrumentation/opencensus-go";
2872+ rev = "v0.18.0";
2873+ sha256 = "0flvv47h3988k1sg56qyh3hfskn563kblp4bs7mi6kzjc9jqz817";
2874+ };
2875+ }
2876+ {
2877+ goPackagePath = "go.uber.org/atomic";
2878+ fetch = {
2879+ type = "git";
2880+ url = "https://github.com/uber-go/atomic";
2881+ rev = "v1.3.2";
2882+ sha256 = "11pzvjys5ddjjgrv94pgk9pnip9yyb54z7idf33zk7p7xylpnsv6";
2883+ };
2884+ }
2885+ {
2886+ goPackagePath = "go.uber.org/multierr";
2887+ fetch = {
2888+ type = "git";
2889+ url = "https://github.com/uber-go/multierr";
2890+ rev = "v1.1.0";
2891+ sha256 = "1slfc6syvw8cvr6rbrjsy6ja5w8gsx0f8aq8qm16rp2x5c2pj07w";
2892+ };
2893+ }
2894+ {
2895+ goPackagePath = "go.uber.org/zap";
2896+ fetch = {
2897+ type = "git";
2898+ url = "https://github.com/uber-go/zap";
2899+ rev = "v1.9.1";
2900+ sha256 = "19a1i6fipqj8w7h6qjmg1sfbg18yzzqsgfn0vmr55hkgc0y6nmny";
2901+ };
2902+ }
2903+ {
2904+ goPackagePath = "gocloud.dev";
2905+ fetch = {
2906+ type = "git";
2907+ url = "https://github.com/google/go-cloud";
2908+ rev = "v0.9.0";
2909+ sha256 = "0rk0k2iy4rk0vqjyq98l89zkhq194bgdr95542ks5jbwinc82h36";
2910+ };
2911+ }
2912+ {
2913+ goPackagePath = "golang.org/x/crypto";
2914+ fetch = {
2915+ type = "git";
2916+ url = "https://go.googlesource.com/crypto";
2917+ rev = "505ab145d0a9";
2918+ sha256 = "1vbsvcvmjz6c00p5vf8ls533p52fx2y3gy6v4k5qrdlzl4wf0i5s";
2919+ };
2920+ }
2921+ {
2922+ goPackagePath = "golang.org/x/exp";
2923+ fetch = {
2924+ type = "git";
2925+ url = "https://go.googlesource.com/exp";
2926+ rev = "509febef88a4";
2927+ sha256 = "02isrh39z8znrp5znplzy0dip2gnrl3jm1355raliyvhnhg04j6q";
2928+ };
2929+ }
2930+ {
2931+ goPackagePath = "golang.org/x/image";
2932+ fetch = {
2933+ type = "git";
2934+ url = "https://go.googlesource.com/image";
2935+ rev = "c73c2afc3b81";
2936+ sha256 = "1kkafy29vz5xf6r29ghbvvbwrgjxwxvzk6dsa2qhyp1ddk6l2vkz";
2937+ };
2938+ }
2939+ {
2940+ goPackagePath = "golang.org/x/lint";
2941+ fetch = {
2942+ type = "git";
2943+ url = "https://go.googlesource.com/lint";
2944+ rev = "c67002cb31c3";
2945+ sha256 = "0gymbggskjmphqxqcx4s0vnlcz7mygbix0vhwcwv5r67c0bf6765";
2946+ };
2947+ }
2948+ {
2949+ goPackagePath = "golang.org/x/net";
2950+ fetch = {
2951+ type = "git";
2952+ url = "https://go.googlesource.com/net";
2953+ rev = "351d144fa1fc";
2954+ sha256 = "1c5x25qjyz83y92bq0lll5kmznyi3m02wd4c54scgf0866gy938k";
2955+ };
2956+ }
2957+ {
2958+ goPackagePath = "golang.org/x/oauth2";
2959+ fetch = {
2960+ type = "git";
2961+ url = "https://go.googlesource.com/oauth2";
2962+ rev = "d668ce993890";
2963+ sha256 = "17m8d02fazil0dwvk33vpwvsb91asgbmmpqy05751csrfqhhdqna";
2964+ };
2965+ }
2966+ {
2967+ goPackagePath = "golang.org/x/sync";
2968+ fetch = {
2969+ type = "git";
2970+ url = "https://go.googlesource.com/sync";
2971+ rev = "37e7f081c4d4";
2972+ sha256 = "1bb0mw6ckb1k7z8v3iil2qlqwfj408fvvp8m1cik2b46p7snyjhm";
2973+ };
2974+ }
2975+ {
2976+ goPackagePath = "golang.org/x/sys";
2977+ fetch = {
2978+ type = "git";
2979+ url = "https://go.googlesource.com/sys";
2980+ rev = "aca44879d564";
2981+ sha256 = "106vs2md02h16rwnk9mq2h4ix7iyv2n6bfm7v9zp0kknswlag1x0";
2982+ };
2983+ }
2984+ {
2985+ goPackagePath = "golang.org/x/text";
2986+ fetch = {
2987+ type = "git";
2988+ url = "https://go.googlesource.com/text";
2989+ rev = "v0.3.0";
2990+ sha256 = "0r6x6zjzhr8ksqlpiwm5gdd7s209kwk5p4lw54xjvz10cs3qlq19";
2991+ };
2992+ }
2993+ {
2994+ goPackagePath = "golang.org/x/time";
2995+ fetch = {
2996+ type = "git";
2997+ url = "https://go.googlesource.com/time";
2998+ rev = "fbb02b2291d2";
2999+ sha256 = "0jjqcv6rzihlgg4i797q80g1f6ch5diz2kxqh6488gwkb6nds4h4";
3000+ };
3001+ }
3002+ {
3003+ goPackagePath = "golang.org/x/tools";
3004+ fetch = {
3005+ type = "git";
3006+ url = "https://go.googlesource.com/tools";
3007+ rev = "06f26fdaaa28";
3008+ sha256 = "07qj9wfjygy64krr8rgbxf43v007y7hmbimh8j95qfrq5fh7bp21";
3009+ };
3010+ }
3011+ {
3012+ goPackagePath = "google.golang.org/api";
3013+ fetch = {
3014+ type = "git";
3015+ url = "https://code.googlesource.com/google-api-go-client";
3016+ rev = "v0.1.0";
3017+ sha256 = "1az6n10i35ls13wry20nnm5afzr3j3s391nia8ghgx5vfskgzn56";
3018+ };
3019+ }
3020+ {
3021+ goPackagePath = "google.golang.org/appengine";
3022+ fetch = {
3023+ type = "git";
3024+ url = "https://github.com/golang/appengine";
3025+ rev = "v1.3.0";
3026+ sha256 = "13cyhqwmvc2nia4ssdwwdzscq52aj3z9zjikx17wk4kb0j8vr370";
3027+ };
3028+ }
3029+ {
3030+ goPackagePath = "google.golang.org/genproto";
3031+ fetch = {
3032+ type = "git";
3033+ url = "https://github.com/google/go-genproto";
3034+ rev = "082222b4a5c5";
3035+ sha256 = "1q57b7c01wwcgd488fdkipizaxnwm4pkl0bzs2p7wbdagsbvv1g9";
3036+ };
3037+ }
3038+ {
3039+ goPackagePath = "google.golang.org/grpc";
3040+ fetch = {
3041+ type = "git";
3042+ url = "https://github.com/grpc/grpc-go";
3043+ rev = "v1.17.0";
3044+ sha256 = "0ibwav7p5cqng8yslarix521i1s11r7w9y2rjliahm75cj5crrb8";
3045+ };
3046+ }
3047+ {
3048+ goPackagePath = "gopkg.in/AlecAivazis/survey.v1";
3049+ fetch = {
3050+ type = "git";
3051+ url = "https://gopkg.in/AlecAivazis/survey.v1";
3052+ rev = "v1.6.2";
3053+ sha256 = "1w8pfgnnr0wz13fcnfhjkc20yh42in3ia7v6nczzyn38r2fdr43g";
3054+ };
3055+ }
3056+ {
3057+ goPackagePath = "gopkg.in/airbrake/gobrake.v2";
3058+ fetch = {
3059+ type = "git";
3060+ url = "https://gopkg.in/airbrake/gobrake.v2";
3061+ rev = "v2.0.9";
3062+ sha256 = "1x06f7n7qlyzqgyz0sdfcidf3w4ldn6zs6qx2mhibggk2z4whcjw";
3063+ };
3064+ }
3065+ {
3066+ goPackagePath = "gopkg.in/alecthomas/kingpin.v2";
3067+ fetch = {
3068+ type = "git";
3069+ url = "https://gopkg.in/alecthomas/kingpin.v2";
3070+ rev = "v2.2.6";
3071+ sha256 = "0mndnv3hdngr3bxp7yxfd47cas4prv98sqw534mx7vp38gd88n5r";
3072+ };
3073+ }
3074+ {
3075+ goPackagePath = "gopkg.in/asn1-ber.v1";
3076+ fetch = {
3077+ type = "git";
3078+ url = "https://gopkg.in/asn1-ber.v1";
3079+ rev = "f715ec2f112d";
3080+ sha256 = "00ixms8x3lrhywbvq5v2sagcqsxa1pcnlk17dp5lnwckv3xg4psb";
3081+ };
3082+ }
3083+ {
3084+ goPackagePath = "gopkg.in/check.v1";
3085+ fetch = {
3086+ type = "git";
3087+ url = "https://gopkg.in/check.v1";
3088+ rev = "788fd7840127";
3089+ sha256 = "0v3bim0j375z81zrpr5qv42knqs0y2qv2vkjiqi5axvb78slki1a";
3090+ };
3091+ }
3092+ {
3093+ goPackagePath = "gopkg.in/cheggaaa/pb.v1";
3094+ fetch = {
3095+ type = "git";
3096+ url = "https://gopkg.in/cheggaaa/pb.v1";
3097+ rev = "v1.0.25";
3098+ sha256 = "0vxqiw6f3xyv0zy3g4lksf8za0z8i0hvfpw92hqimsy84f79j3dp";
3099+ };
3100+ }
3101+ {
3102+ goPackagePath = "gopkg.in/fsnotify.v1";
3103+ fetch = {
3104+ type = "git";
3105+ url = "https://gopkg.in/fsnotify.v1";
3106+ rev = "v1.4.7";
3107+ sha256 = "07va9crci0ijlivbb7q57d2rz9h27zgn2fsm60spjsqpdbvyrx4g";
3108+ };
3109+ }
3110+ {
3111+ goPackagePath = "gopkg.in/gemnasium/logrus-airbrake-hook.v2";
3112+ fetch = {
3113+ type = "git";
3114+ url = "https://gopkg.in/gemnasium/logrus-airbrake-hook.v2";
3115+ rev = "v2.1.2";
3116+ sha256 = "0sbg0dn6cysmf8f2bi209jwl4jnpiwp4rdghnxlzirw3c32ms5y5";
3117+ };
3118+ }
3119+ {
3120+ goPackagePath = "gopkg.in/h2non/gock.v0";
3121+ fetch = {
3122+ type = "git";
3123+ url = "https://gopkg.in/h2non/gock.v0";
3124+ rev = "1baf36abac00";
3125+ sha256 = "1gddy7cl8d84r3s2kkzm25bm19n8ml8iznch94q6wnsrz3g6bsqq";
3126+ };
3127+ }
3128+ {
3129+ goPackagePath = "gopkg.in/inf.v0";
3130+ fetch = {
3131+ type = "git";
3132+ url = "https://gopkg.in/inf.v0";
3133+ rev = "v0.9.1";
3134+ sha256 = "00k5iqjcp371fllqxncv7jkf80hn1zww92zm78cclbcn4ybigkng";
3135+ };
3136+ }
3137+ {
3138+ goPackagePath = "gopkg.in/ini.v1";
3139+ fetch = {
3140+ type = "git";
3141+ url = "https://gopkg.in/ini.v1";
3142+ rev = "v1.39.0";
3143+ sha256 = "0j7pyl5v7xfzkhsyz193iq56ilan69pp11g2n5jw1k4h4g8s4k9b";
3144+ };
3145+ }
3146+ {
3147+ goPackagePath = "gopkg.in/mgo.v2";
3148+ fetch = {
3149+ type = "git";
3150+ url = "https://gopkg.in/mgo.v2";
3151+ rev = "9856a29383ce";
3152+ sha256 = "1gfbcmvpwwf1lydxj3g42wv2g9w3pf0y02igqk4f4f21h02sazkw";
3153+ };
3154+ }
3155+ {
3156+ goPackagePath = "gopkg.in/pipe.v2";
3157+ fetch = {
3158+ type = "git";
3159+ url = "https://gopkg.in/pipe.v2";
3160+ rev = "3c2ca4d52544";
3161+ sha256 = "090wrj4n6a6pzdlakcxy9qnkngc8hp6m49ipbnlszs0hyj2hnngv";
3162+ };
3163+ }
3164+ {
3165+ goPackagePath = "gopkg.in/robfig/cron.v2";
3166+ fetch = {
3167+ type = "git";
3168+ url = "https://gopkg.in/robfig/cron.v2";
3169+ rev = "be2e0b0deed5";
3170+ sha256 = "1cmm6dc4cl8269wlknxmicyn1s63irg66lj76b9ncjjfrvijpf0y";
3171+ };
3172+ }
3173+ {
3174+ goPackagePath = "gopkg.in/src-d/go-billy.v4";
3175+ fetch = {
3176+ type = "git";
3177+ url = "https://gopkg.in/src-d/go-billy.v4";
3178+ rev = "v4.2.0";
3179+ sha256 = "18fghcyk69g460px8rvmhmqldkbhw17dpnhg45qwdvaq90b0bkx9";
3180+ };
3181+ }
3182+ {
3183+ goPackagePath = "gopkg.in/src-d/go-git-fixtures.v3";
3184+ fetch = {
3185+ type = "git";
3186+ url = "https://gopkg.in/src-d/go-git-fixtures.v3";
3187+ rev = "v3.3.0";
3188+ sha256 = "1xbnd2ln95xgr6385ahl1y7108ifr3fh0zhy7fmb7cjasq8zlvw9";
3189+ };
3190+ }
3191+ {
3192+ goPackagePath = "gopkg.in/src-d/go-git.v4";
3193+ fetch = {
3194+ type = "git";
3195+ url = "https://gopkg.in/src-d/go-git.v4";
3196+ rev = "v4.5.0";
3197+ sha256 = "1krg24ncckwalmhzs2vlp8rwyk4rfnhfydwg8iw7gaywww2c1wfc";
3198+ };
3199+ }
3200+ {
3201+ goPackagePath = "gopkg.in/tomb.v1";
3202+ fetch = {
3203+ type = "git";
3204+ url = "https://gopkg.in/tomb.v1";
3205+ rev = "dd632973f1e7";
3206+ sha256 = "1lqmq1ag7s4b3gc3ddvr792c5xb5k6sfn0cchr3i2s7f1c231zjv";
3207+ };
3208+ }
3209+ {
3210+ goPackagePath = "gopkg.in/warnings.v0";
3211+ fetch = {
3212+ type = "git";
3213+ url = "https://gopkg.in/warnings.v0";
3214+ rev = "v0.1.2";
3215+ sha256 = "1kzj50jn708cingn7a13c2wdlzs6qv89dr2h4zj8d09647vlnd81";
3216+ };
3217+ }
3218+ {
3219+ goPackagePath = "gopkg.in/yaml.v2";
3220+ fetch = {
3221+ type = "git";
3222+ url = "https://gopkg.in/yaml.v2";
3223+ rev = "v2.2.1";
3224+ sha256 = "0dwjrs2lp2gdlscs7bsrmyc5yf6mm4fvgw71bzr9mv2qrd2q73s1";
3225+ };
3226+ }
3227+ {
3228+ goPackagePath = "gotest.tools";
3229+ fetch = {
3230+ type = "git";
3231+ url = "https://github.com/gotestyourself/gotest.tools";
3232+ rev = "v2.2.0";
3233+ sha256 = "0yif3gdyckmf8i54jq0xn00kflla5rhib9sarw66ngnbl7bn9kyl";
3234+ };
3235+ }
3236+ {
3237+ goPackagePath = "honnef.co/go/tools";
3238+ fetch = {
3239+ type = "git";
3240+ url = "https://github.com/dominikh/go-tools";
3241+ rev = "88497007e858";
3242+ sha256 = "0rinkyx3r2bq45mgcasnn5jb07cwbv3p3s2wwcrzxsarsj6wa5lc";
3243+ };
3244+ }
3245+ {
3246+ goPackagePath = "k8s.io/api";
3247+ fetch = {
3248+ type = "git";
3249+ url = "https://github.com/kubernetes/api";
3250+ rev = "6db15a15d2d3";
3251+ sha256 = "0jqb0c57yzaajrl17hbziw19x5n14q46dg73y0gmv0blpa6laxcy";
3252+ };
3253+ }
3254+ {
3255+ goPackagePath = "k8s.io/apiextensions-apiserver";
3256+ fetch = {
3257+ type = "git";
3258+ url = "https://github.com/kubernetes/apiextensions-apiserver";
3259+ rev = "1f84094d7e8e";
3260+ sha256 = "1b73cwjgsxjr00jbygmgs13bgyz6593kqqx2xksn9rir42qb3zil";
3261+ };
3262+ }
3263+ {
3264+ goPackagePath = "k8s.io/apimachinery";
3265+ fetch = {
3266+ type = "git";
3267+ url = "https://github.com/kubernetes/apimachinery";
3268+ rev = "bebe27e40fb7";
3269+ sha256 = "1g1q2f77b320z0v9b1gmal056dz189wf069400a44c0v5y61ak8l";
3270+ };
3271+ }
3272+ {
3273+ goPackagePath = "k8s.io/cli-runtime";
3274+ fetch = {
3275+ type = "git";
3276+ url = "https://github.com/kubernetes/cli-runtime";
3277+ rev = "1ee5ba10d7e3";
3278+ sha256 = "1nr5s217sy9s23xkhn2fpa6ck473wxq3a8m3vrmxq6xd0c60fkyy";
3279+ };
3280+ }
3281+ {
3282+ goPackagePath = "k8s.io/client-go";
3283+ fetch = {
3284+ type = "git";
3285+ url = "https://github.com/kubernetes/client-go";
3286+ rev = "701b91367003";
3287+ sha256 = "1qmz3s7yfa1l07lpyn3g7x9wnc9bxc0lk0p893vana96xj177zih";
3288+ };
3289+ }
3290+ {
3291+ goPackagePath = "k8s.io/code-generator";
3292+ fetch = {
3293+ type = "git";
3294+ url = "https://github.com/kubernetes/code-generator";
3295+ rev = "8c97d6ab64da";
3296+ sha256 = "137ih44qiaaidjw5xk7giqngi0x01awvknb0vrnf60ajq2dy9sdh";
3297+ };
3298+ }
3299+ {
3300+ goPackagePath = "k8s.io/gengo";
3301+ fetch = {
3302+ type = "git";
3303+ url = "https://github.com/kubernetes/gengo";
3304+ rev = "906d99f89cd6";
3305+ sha256 = "08hcvmn6n02a5yjl9yby1n6ybqf7b4jwzppj0v6rr73hh6w3kfi4";
3306+ };
3307+ }
3308+ {
3309+ goPackagePath = "k8s.io/helm";
3310+ fetch = {
3311+ type = "git";
3312+ url = "https://github.com/kubernetes/helm";
3313+ rev = "v2.7.2";
3314+ sha256 = "087f8wnf0kcbkh6flxlv07knrb964zyszi2k4i1ihaajg3bkbpq6";
3315+ };
3316+ }
3317+ {
3318+ goPackagePath = "k8s.io/kube-openapi";
3319+ fetch = {
3320+ type = "git";
3321+ url = "https://github.com/kubernetes/kube-openapi";
3322+ rev = "d8ea2fe547a4";
3323+ sha256 = "1m64xrp2vz7il2b3nikdjxf8l4yw2b2yp8997mwkj4rldznfxlxb";
3324+ };
3325+ }
3326+ {
3327+ goPackagePath = "k8s.io/kubernetes";
3328+ fetch = {
3329+ type = "git";
3330+ url = "https://github.com/kubernetes/kubernetes";
3331+ rev = "v1.11.3";
3332+ sha256 = "123qk5y9cwsj1cyswbpbdha84ynraam1xmqd5cpr4w29kw7nsjr8";
3333+ };
3334+ }
3335+ {
3336+ goPackagePath = "k8s.io/metrics";
3337+ fetch = {
3338+ type = "git";
3339+ url = "https://github.com/kubernetes/metrics";
3340+ rev = "3954d62a524d";
3341+ sha256 = "0y3ywkbhc9kdzp1dl4crphijx0ajd7apqpq3gvrmq4v224078hic";
3342+ };
3343+ }
3344+ {
3345+ goPackagePath = "k8s.io/test-infra";
3346+ fetch = {
3347+ type = "git";
3348+ url = "https://github.com/kubernetes/test-infra";
3349+ rev = "a22cef183a8f";
3350+ sha256 = "17cjbbadx2qsr1si5v6pb1ma59j9162mzk62zdimr8jr8q2pc402";
3351+ };
3352+ }
3353+ {
3354+ goPackagePath = "k8s.io/utils";
3355+ fetch = {
3356+ type = "git";
3357+ url = "https://github.com/kubernetes/utils";
3358+ rev = "5e321f9a457c";
3359+ sha256 = "0bgmjzjhxjldbd2n046fywk8351xnp8acf3nh8si0f0s5saniy7i";
3360+ };
3361+ }
3362+ {
3363+ goPackagePath = "sigs.k8s.io/yaml";
3364+ fetch = {
3365+ type = "git";
3366+ url = "https://github.com/kubernetes-sigs/yaml";
3367+ rev = "v1.1.0";
3368+ sha256 = "1p7hvjdr5jsyk7nys1g1pmgnf3ys6n320i6hds85afppk81k01kb";
3369+ };
3370+ }
3371+ {
3372+ goPackagePath = "vbom.ml/util";
3373+ fetch = {
3374+ type = "git";
3375+ url = "https://github.com/fvbommel/util";
3376+ rev = "256737ac55c4";
3377+ sha256 = "0pvsbh23fpa8w1gx2hv2rcw6nlb7r4nalfhfy3385sj0pc0b62lc";
3378+ };
3379+ }
3380+]
pkgs/applications/networking/cluster/kubernetes/default.nix+2−2
@@ -15,13 +15,13 @@ with lib;
1515
1616stdenv.mkDerivation rec {
1717 name = "kubernetes-${version}";
18− version = "1.13.3";
18+ version = "1.13.4";
1919
2020 src = fetchFromGitHub {
2121 owner = "kubernetes";
2222 repo = "kubernetes";
2323 rev = "v${version}";
24− sha256 = "1fcp27c501ql4v7fl7rl5qyjlw1awk139rwwm0jqdpgh3sd22l2z";
24+ sha256 = "1q3dc416fr9nzy64pl7rydahygnird0vpk9yflssw7v9gx84m6x9";
2525 };
2626
2727 buildInputs = [ removeReferencesTo makeWrapper which go rsync go-bindata ];
pkgs/applications/networking/cluster/kubetail/default.nix+2−2
@@ -2,13 +2,13 @@
22
33stdenv.mkDerivation rec {
44 name = "kubetail-${version}";
5− version = "1.6.6";
5+ version = "1.6.7";
66
77 src = fetchFromGitHub {
88 owner = "johanhaleby";
99 repo = "kubetail";
1010 rev = "${version}";
11− sha256 = "0fd3xmhn20wmbwxdqs49nvwhl6vc3ipns83j558zir8x4fgq0yrr";
11+ sha256 = "159162dazcr0gsq9mkwb7sf4psqq5iqqgavy2mc8qnpswdlq3pfc";
1212 };
1313
1414 installPhase = ''
pkgs/applications/networking/cluster/minikube/default.nix+7−5
@@ -14,9 +14,9 @@ let
1414in buildGoPackage rec {
1515 pname = "minikube";
1616 name = "${pname}-${version}";
17− version = "0.30.0";
17+ version = "0.35.0";
1818
19− kubernetesVersion = "1.11.2";
19+ kubernetesVersion = "1.13.4";
2020
2121 goPackagePath = "k8s.io/minikube";
2222
@@ -24,7 +24,7 @@ in buildGoPackage rec {
2424 owner = "kubernetes";
2525 repo = "minikube";
2626 rev = "v${version}";
27− sha256 = "02jxwh8qrvjn31rzjwx23908nd1i592drfdykxbc5b6a62fwp02z";
27+ sha256 = "1qb342zs50sdfvfb8vbn7vrx11qqjy1hw518c053s7p34ljb24qd";
2828 };
2929
3030 buildInputs = [ go-bindata makeWrapper gpgme ] ++ stdenv.lib.optional stdenv.hostPlatform.isDarwin vmnet;
@@ -35,7 +35,9 @@ in buildGoPackage rec {
3535
3636 go-bindata -nomemcopy -o pkg/minikube/assets/assets.go -pkg assets deploy/addons/...
3737
38− ISO_VERSION=$(grep "^ISO_VERSION" Makefile | sed "s/^.*\s//")
38+ VERSION_MAJOR=$(grep "^VERSION_MAJOR" Makefile | sed "s/^.*\s//")
39+ VERSION_MINOR=$(grep "^VERSION_MINOR" Makefile | sed "s/^.*\s//")
40+ ISO_VERSION=v$VERSION_MAJOR.$VERSION_MINOR.0
3941 ISO_BUCKET=$(grep "^ISO_BUCKET" Makefile | sed "s/^.*\s//")
4042 KUBERNETES_VERSION=${kubernetesVersion}
4143
@@ -66,7 +68,7 @@ in buildGoPackage rec {
6668 homepage = https://github.com/kubernetes/minikube;
6769 description = "A tool that makes it easy to run Kubernetes locally";
6870 license = licenses.asl20;
69− maintainers = with maintainers; [ ebzzry copumpkin ];
71+ maintainers = with maintainers; [ ebzzry copumpkin vdemeester ];
7072 platforms = with platforms; unix;
7173 };
7274}
pkgs/applications/networking/cluster/minishift/default.nix+3−3
@@ -4,10 +4,10 @@
44}:
55
66let
7− version = "1.31.0";
7+ version = "1.32.0";
88
99 # Update these on version bumps according to Makefile
10− centOsIsoVersion = "v1.14.0";
10+ centOsIsoVersion = "v1.15.0";
1111 openshiftVersion = "v3.11.0";
1212
1313in buildGoPackage rec {
@@ -18,7 +18,7 @@ in buildGoPackage rec {
1818 owner = "minishift";
1919 repo = "minishift";
2020 rev = "v${version}";
21− sha256 = "0v5hngfz393yi3x4c328g5bjazw02jr59ljqh6ws0j6wzxzm8jxf";
21+ sha256 = "06qhcycnr06fw5dmmzwizmknm0j34j43894nl3kxa5mxh8x542pa";
2222 };
2323
2424 nativeBuildInputs = [ pkgconfig go-bindata makeWrapper ];
pkgs/applications/networking/cluster/nomad/default.nix+1−1
@@ -18,7 +18,7 @@ buildGoPackage rec {
1818 meta = with stdenv.lib; {
1919 homepage = https://www.nomadproject.io/;
2020 description = "A Distributed, Highly Available, Datacenter-Aware Scheduler";
21− platforms = platforms.linux;
21+ platforms = platforms.unix;
2222 license = licenses.mpl20;
2323 maintainers = with maintainers; [ rushmorem pradeepchhetri ];
2424 };
pkgs/applications/networking/cluster/openshift/default.nix+1−1
@@ -83,6 +83,6 @@ in buildGoPackage rec {
8383 license = licenses.asl20;
8484 homepage = http://www.openshift.org;
8585 maintainers = with maintainers; [offline bachp moretea];
86− platforms = platforms.linux;
86+ platforms = platforms.unix;
8787 };
8888}
pkgs/applications/networking/cluster/pachyderm/default.nix+2−2
@@ -2,7 +2,7 @@
22
33buildGoPackage rec {
44 name = "pachyderm-${version}";
5− version = "1.4.6";
5+ version = "1.8.5";
66 rev = "v${version}";
77
88 goPackagePath = "github.com/pachyderm/pachyderm";
@@ -12,7 +12,7 @@ buildGoPackage rec {
1212 inherit rev;
1313 owner = "pachyderm";
1414 repo = "pachyderm";
15− sha256 = "1fivihn9s04lmzdiwg0f05qm708fb14xy81pbc31wxdyjw28m8ns";
15+ sha256 = "1b9x2xn0sxsjid15lnwr79lps8xzf24i7jfl0i48nabdigmi04wp";
1616 };
1717
1818 meta = with lib; {
pkgs/applications/networking/cluster/ssm-agent/default.nix+1−1
@@ -24,7 +24,7 @@ buildGoPackage rec {
2424 description = "Agent to enable remote management of your Amazon EC2 instance configuration";
2525 homepage = "https://github.com/aws/amazon-ssm-agent";
2626 license = licenses.asl20;
27− platforms = platforms.linux;
27+ platforms = platforms.unix;
2828 maintainers = with maintainers; [ copumpkin ];
2929 };
3030}
pkgs/applications/networking/cluster/terraform-providers/data.nix+94−80
This diff is too big to show here.
pkgs/applications/networking/cluster/terraform-providers/providers.txt+3
This diff is too big to show here.
pkgs/applications/networking/cluster/terraform/default.nix+2−2
This diff is too big to show here.
pkgs/applications/networking/davmail/default.nix+5−4
This diff is too big to show here.
pkgs/applications/networking/drive/default.nix+1−1
This diff is too big to show here.
pkgs/applications/networking/feedreaders/feedreader/default.nix+13−23
This diff is too big to show here.
pkgs/applications/networking/ftp/taxi/default.nix+2−2
This diff is too big to show here.
pkgs/applications/networking/gdrive/default.nix+1−1
This diff is too big to show here.
pkgs/applications/networking/gns3/default.nix+3−3
This diff is too big to show here.
pkgs/applications/networking/gns3/server.nix+9−4
This diff is too big to show here.
pkgs/applications/networking/instant-messengers/baresip/default.nix+2−2
This diff is too big to show here.
pkgs/applications/networking/instant-messengers/coyim/default.nix+2−2
This diff is too big to show here.
pkgs/applications/networking/instant-messengers/dino/default.nix+3−3
This diff is too big to show here.
pkgs/applications/networking/instant-messengers/ekiga/default.nix+3−3
This diff is too big to show here.
pkgs/applications/networking/instant-messengers/gajim/default.nix+2−2
This diff is too big to show here.
pkgs/applications/networking/instant-messengers/mattermost-desktop/default.nix+28−21
This diff is too big to show here.
pkgs/applications/networking/instant-messengers/profanity/default.nix+4−7
This diff is too big to show here.
pkgs/applications/networking/instant-messengers/signal-desktop/default.nix+2−2
This diff is too big to show here.
pkgs/applications/networking/instant-messengers/skypeforlinux/default.nix+2−2
This diff is too big to show here.
pkgs/applications/networking/instant-messengers/spectral/default.nix+26−10
This diff is too big to show here.
pkgs/applications/networking/instant-messengers/teamspeak/server.nix+3−3
This diff is too big to show here.
pkgs/applications/networking/instant-messengers/telegram/telegram-cli/default.nix+4−3
This diff is too big to show here.
pkgs/applications/networking/instant-messengers/turses/default.nix+8−5
This diff is too big to show here.
pkgs/applications/networking/instant-messengers/wire-desktop/default.nix+7−7
This diff is too big to show here.
pkgs/applications/networking/ipfs-cluster/default.nix+3−3
This diff is too big to show here.
pkgs/applications/networking/ipfs/default.nix+3−3
This diff is too big to show here.
pkgs/applications/networking/ipget/default.nix+5−5
This diff is too big to show here.
pkgs/applications/networking/irc/weechat/default.nix+11−2
This diff is too big to show here.
pkgs/applications/networking/irc/weechat/wrapper.nix+2−2
This diff is too big to show here.
pkgs/applications/networking/mailreaders/astroid/default.nix+7−4
This diff is too big to show here.
pkgs/applications/networking/mailreaders/claws-mail/default.nix+3−2
This diff is too big to show here.
pkgs/applications/networking/mailreaders/mailnag/default.nix+3−2
This diff is too big to show here.
pkgs/applications/networking/mailreaders/mblaze/default.nix+6−2
This diff is too big to show here.
pkgs/applications/networking/mailreaders/msgviewer/default.nix+2−2
This diff is too big to show here.
pkgs/applications/networking/mailreaders/mutt/default.nix+2−2
This diff is too big to show here.
pkgs/applications/networking/mailreaders/neomutt/default.nix+2−2
This diff is too big to show here.
pkgs/applications/networking/mailreaders/notmuch/default.nix+3−3
This diff is too big to show here.
pkgs/applications/networking/mailreaders/thunderbird-bin/default.nix+4−3
This diff is too big to show here.
pkgs/applications/networking/mailreaders/thunderbird-bin/release_sources.nix+233−233
This diff is too big to show here.
pkgs/applications/networking/mailreaders/thunderbird/default.nix+5−5
This diff is too big to show here.
pkgs/applications/networking/mumble/default.nix+8−1
This diff is too big to show here.
pkgs/applications/networking/owncloud-client/default.nix+2−4
This diff is too big to show here.
pkgs/applications/networking/owncloud-client/find-sql.patchdeleted−12
This diff is too big to show here.
pkgs/applications/networking/p2p/torrential/default.nixnew file+60
This diff is too big to show here.
pkgs/applications/networking/p2p/zeronet/default.nix+2−2
This diff is too big to show here.
pkgs/applications/networking/ping/default.nixnew file+60
This diff is too big to show here.
pkgs/applications/networking/protonmail-bridge/default.nix+10−10
This diff is too big to show here.
pkgs/applications/networking/remote/remmina/default.nix+4−4
This diff is too big to show here.
pkgs/applications/networking/sync/rclone/default.nix+12−4
This diff is too big to show here.
pkgs/applications/networking/weather/meteo/default.nix+6−9
This diff is too big to show here.
pkgs/applications/networking/znc/default.nix+2−2
This diff is too big to show here.
pkgs/applications/office/abiword/default.nix+2−2
This diff is too big to show here.
pkgs/applications/office/beancount/bean-add.nix+1−1
This diff is too big to show here.
pkgs/applications/office/fava/default.nix+3−3
This diff is too big to show here.
pkgs/applications/office/gnucash/default.nix+2−2
This diff is too big to show here.
pkgs/applications/office/gnumeric/default.nix+1−1
This diff is too big to show here.
pkgs/applications/office/grisbi/default.nix+1−1
This diff is too big to show here.
pkgs/applications/office/homebank/default.nix+1−1
This diff is too big to show here.
pkgs/applications/office/libreoffice/default.nix+2−2
This diff is too big to show here.
pkgs/applications/office/libreoffice/still.nix+2−2
This diff is too big to show here.
pkgs/applications/office/mendeley/default.nix+2−1
This diff is too big to show here.
pkgs/applications/office/mendeley/update.nix+2−2
This diff is too big to show here.
pkgs/applications/office/moneyplex/default.nix+3−2
This diff is too big to show here.
pkgs/applications/office/notes-up/default.nixnew file+46
This diff is too big to show here.
pkgs/applications/office/paperwork/default.nix+4−4
This diff is too big to show here.
pkgs/applications/office/qnotero/default.nix+1−1
This diff is too big to show here.
pkgs/applications/office/spice-up/default.nix+14−16
This diff is too big to show here.
pkgs/applications/office/trilium/default.nix+2−2
This diff is too big to show here.
pkgs/applications/office/tryton/default.nix+1−1
This diff is too big to show here.
pkgs/applications/office/wordgrinder/default.nix+1−1
This diff is too big to show here.
pkgs/applications/office/zim/default.nix+2−2
This diff is too big to show here.
pkgs/applications/radio/chirp/default.nix+2−2
This diff is too big to show here.
pkgs/applications/radio/fldigi/default.nix+2−2
This diff is too big to show here.
pkgs/applications/radio/flmsg/default.nix+2−2
This diff is too big to show here.
pkgs/applications/radio/gnuradio/limesdr.nix+2−1
This diff is too big to show here.
pkgs/applications/science/astronomy/gildas/default.nix+3−3
This diff is too big to show here.
pkgs/applications/science/biology/igv/default.nix+2−2
This diff is too big to show here.
pkgs/applications/science/biology/star/default.nix+2−2
This diff is too big to show here.
pkgs/applications/science/electronics/alliance/default.nix+3−3
This diff is too big to show here.
pkgs/applications/science/electronics/eagle/eagle7.nix+2−2
This diff is too big to show here.
pkgs/applications/science/electronics/gtkwave/default.nix+2−2
This diff is too big to show here.
pkgs/applications/science/logic/clprover/clprover.nixnew file+27
This diff is too big to show here.
pkgs/applications/science/logic/cryptominisat/default.nix+2−2
This diff is too big to show here.
pkgs/applications/science/logic/hol_light/default.nix+2−2
This diff is too big to show here.
pkgs/applications/science/logic/leo3/binary.nix+2−2
This diff is too big to show here.
pkgs/applications/science/logic/sad/default.nix+2−2
This diff is too big to show here.
pkgs/applications/science/logic/why3/default.nix+3−3
This diff is too big to show here.
pkgs/applications/science/machine-learning/sc2-headless/default.nix+3−2
This diff is too big to show here.
pkgs/applications/science/machine-learning/sc2-headless/maps.nix+24−9
This diff is too big to show here.
pkgs/applications/science/math/form/default.nix+3−3
This diff is too big to show here.
pkgs/applications/science/math/gmsh/default.nix+2−2
This diff is too big to show here.
pkgs/applications/science/math/maxima/5.41.nixnew file+102
This diff is too big to show here.
pkgs/applications/science/math/maxima/default.nix+14−10
This diff is too big to show here.
pkgs/applications/science/math/nasc/default.nix+4−2
This diff is too big to show here.
pkgs/applications/science/math/pari/default.nix+23−6
This diff is too big to show here.
pkgs/applications/science/math/sage/default.nix+7−4
This diff is too big to show here.
pkgs/applications/science/math/sage/patches/ignore-pip-deprecation.patchnew file+22
This diff is too big to show here.
pkgs/applications/science/math/sage/sage-src.nix+5−1
This diff is too big to show here.
pkgs/applications/science/math/sage/sagelib.nix+2
This diff is too big to show here.
pkgs/applications/science/math/wxmaxima/default.nix+3−3
This diff is too big to show here.
pkgs/applications/science/misc/openmodelica/default.nix+2−2
This diff is too big to show here.
pkgs/applications/science/misc/simgrid/default.nix+1−1
This diff is too big to show here.
pkgs/applications/science/spyder/default.nix+32−10
This diff is too big to show here.
pkgs/applications/version-management/bugseverywhere/default.nix+1−1
This diff is too big to show here.
pkgs/applications/version-management/fossil/default.nix+2−2
This diff is too big to show here.
pkgs/applications/version-management/git-and-tools/default.nix+2
This diff is too big to show here.
pkgs/applications/version-management/git-and-tools/git-big-picture/default.nix+2
This diff is too big to show here.
pkgs/applications/version-management/git-and-tools/git-dit/default.nix+1−1
This diff is too big to show here.
pkgs/applications/version-management/git-and-tools/git-hub/default.nix+2−2
This diff is too big to show here.
pkgs/applications/version-management/git-and-tools/git-ignore/default.nixnew file+31
This diff is too big to show here.
pkgs/applications/version-management/git-and-tools/git-secrets/default.nix+2−2
This diff is too big to show here.
pkgs/applications/version-management/git-and-tools/gita/default.nix+2−2
This diff is too big to show here.
pkgs/applications/version-management/git-and-tools/hub/default.nix+7−7
This diff is too big to show here.
pkgs/applications/version-management/git-and-tools/pre-commit/default.nix+8−5
This diff is too big to show here.
pkgs/applications/version-management/gitea/default.nix+8−5
This diff is too big to show here.
pkgs/applications/version-management/gitkraken/default.nix+7−6
This diff is too big to show here.
pkgs/applications/version-management/gitlab/gitlab-shell/default.nix+2
This diff is too big to show here.
pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix+1−1
This diff is too big to show here.
pkgs/applications/version-management/gogs/default.nix+8−5
This diff is too big to show here.
pkgs/applications/version-management/meld/default.nix+1−1
This diff is too big to show here.
pkgs/applications/version-management/mercurial/default.nix+2−2
This diff is too big to show here.
pkgs/applications/version-management/redmine/4.x/Gemfile+2−1
This diff is too big to show here.
pkgs/applications/version-management/redmine/4.x/Gemfile.lock+3−3
This diff is too big to show here.
pkgs/applications/version-management/redmine/4.x/default.nix+2−2
This diff is too big to show here.
pkgs/applications/version-management/redmine/4.x/gemset.nix+4−4
This diff is too big to show here.
pkgs/applications/version-management/redmine/Gemfile+2−1
This diff is too big to show here.
pkgs/applications/version-management/redmine/Gemfile.lock+3−3
This diff is too big to show here.
pkgs/applications/version-management/redmine/default.nix+2−2
This diff is too big to show here.
pkgs/applications/version-management/redmine/gemset.nix+4−4
This diff is too big to show here.
pkgs/applications/version-management/src/default.nix+2−2
This diff is too big to show here.
pkgs/applications/video/clipgrab/default.nix+8−5
This diff is too big to show here.
pkgs/applications/video/dvd-slideshow/default.nix+2−2
This diff is too big to show here.
pkgs/applications/video/handbrake/default.nix+4−4
This diff is too big to show here.
pkgs/applications/video/kodi/default.nix+23−30
This diff is too big to show here.
pkgs/applications/video/kodi/plugins.nix+103−23
This diff is too big to show here.
pkgs/applications/video/kodi/wrapper.nix+4−1
This diff is too big to show here.
pkgs/applications/video/mediathekview/default.nix+1−1
This diff is too big to show here.
pkgs/applications/video/pitivi/default.nix+1−1
This diff is too big to show here.
pkgs/applications/video/qstopmotion/default.nix+3−3
This diff is too big to show here.
pkgs/applications/video/screenkey/default.nix+2−2
This diff is too big to show here.
pkgs/applications/video/shotcut/default.nix+2−2
This diff is too big to show here.
pkgs/applications/video/streamlink/default.nix+2−2
This diff is too big to show here.
pkgs/applications/virtualization/containerd/default.nix+2−2
This diff is too big to show here.
pkgs/applications/virtualization/docker-compose/default.nix+2−2
This diff is too big to show here.
pkgs/applications/virtualization/docker/default.nix+1
This diff is too big to show here.
pkgs/applications/virtualization/dynamips/default.nix+2−2
This diff is too big to show here.
pkgs/applications/virtualization/ecs-agent/default.nix+1−1
This diff is too big to show here.
pkgs/applications/virtualization/firecracker/default.nix+3−3
This diff is too big to show here.
pkgs/applications/virtualization/nvidia-docker/config.tomlnew file+13
This diff is too big to show here.
pkgs/applications/virtualization/nvidia-docker/default.nixnew file+84
This diff is too big to show here.
pkgs/applications/virtualization/nvidia-docker/libnvc-ldconfig-and-path-fixes.patchnew file+130
This diff is too big to show here.
pkgs/applications/virtualization/nvidia-docker/libnvc.nixnew file+53
This diff is too big to show here.
pkgs/applications/virtualization/open-vm-tools/default.nix+2−2
This diff is too big to show here.
pkgs/applications/virtualization/podman/conmon.nix+3−3
This diff is too big to show here.
pkgs/applications/virtualization/podman/default.nix+2−2
This diff is too big to show here.
pkgs/applications/virtualization/rkt/default.nix+1
This diff is too big to show here.
pkgs/applications/virtualization/virt-manager/default.nix+1−1
This diff is too big to show here.
pkgs/applications/virtualization/virtualbox/default.nix+4−3
This diff is too big to show here.
pkgs/applications/virtualization/virtualbox/extpack.nix+2−2
This diff is too big to show here.
pkgs/applications/virtualization/virtualbox/guest-additions/default.nix+1−1
This diff is too big to show here.
pkgs/applications/virtualization/x11docker/default.nix+2−2
This diff is too big to show here.
pkgs/applications/window-managers/bspwm/default.nix+2−2
This diff is too big to show here.
pkgs/applications/window-managers/i3/pystatus.nix+3−4
This diff is too big to show here.
pkgs/applications/window-managers/sway/beta.nix+4−5
This diff is too big to show here.
pkgs/build-support/appimage/default.nixnew file+176
This diff is too big to show here.
pkgs/build-support/build-fhs-userenv/env.nix+1
This diff is too big to show here.
pkgs/build-support/buildenv/builder.pl+12
This diff is too big to show here.
pkgs/build-support/buildenv/default.nix+10−2
This diff is too big to show here.
pkgs/build-support/closure-info.nix+2
This diff is too big to show here.
pkgs/build-support/docker/default.nix+6−3
This diff is too big to show here.
pkgs/build-support/docker/examples.nix+3−3
This diff is too big to show here.
pkgs/build-support/emacs/wrapper.nix+8−4
This diff is too big to show here.
pkgs/build-support/nix-prefetch-github/default.nix+3−3
This diff is too big to show here.
pkgs/build-support/references-by-popularity/closure-graph.py+50−3
This diff is too big to show here.
pkgs/build-support/release/ant-build.nix+1−1
This diff is too big to show here.
pkgs/build-support/rust/build-rust-crate/build-crate.nix+5−5
This diff is too big to show here.
pkgs/build-support/rust/build-rust-crate/configure-crate.nix+23−3
This diff is too big to show here.
pkgs/build-support/rust/build-rust-crate/default.nix+7−4
This diff is too big to show here.
pkgs/build-support/rust/carnix.nix+21−4
This diff is too big to show here.
pkgs/build-support/rust/crates-io.nix+264
This diff is too big to show here.
pkgs/build-support/singularity-tools/default.nix+2−1
This diff is too big to show here.
pkgs/build-support/skaware/build-skaware-package.nix+12−30
This diff is too big to show here.
pkgs/build-support/skaware/clean-packaging.nixnew file+53
This diff is too big to show here.
pkgs/build-support/substitute-files/substitute-all-files.nix+1
This diff is too big to show here.
pkgs/build-support/substitute/substitute-all.nix+1
This diff is too big to show here.
pkgs/build-support/trivial-builders.nix+7−7
This diff is too big to show here.
pkgs/build-support/vm/windows/controller/default.nix+2−1
This diff is too big to show here.
pkgs/common-updater/scripts.nix+2−2
This diff is too big to show here.
pkgs/common-updater/scripts/update-source-version+67−17
This diff is too big to show here.
pkgs/data/documentation/man-pages/default.nix+2−2
This diff is too big to show here.
pkgs/data/fonts/creep/default.nixnew file+29
This diff is too big to show here.
pkgs/data/fonts/emojione/default.nix+2−2
This diff is too big to show here.
pkgs/data/fonts/font-awesome-4/default.nixdeleted−28
This diff is too big to show here.
pkgs/data/fonts/font-awesome-5/default.nix+2−2
This diff is too big to show here.
pkgs/data/fonts/undefined-medium/default.nixnew file+27
This diff is too big to show here.
pkgs/data/fonts/unifont/default.nix+4−4
This diff is too big to show here.
pkgs/data/fonts/unifont_upper/default.nix+3−3
This diff is too big to show here.
pkgs/data/fonts/yanone-kaffeesatz/default.nixnew file+22
This diff is too big to show here.
pkgs/data/icons/numix-icon-theme-circle/default.nix+2−2
This diff is too big to show here.
pkgs/data/icons/numix-icon-theme-square/default.nix+2−2
This diff is too big to show here.
pkgs/data/icons/zafiro-icons/default.nix+2−2
This diff is too big to show here.
pkgs/data/misc/hackage/default.nix+2−2
This diff is too big to show here.
pkgs/data/misc/osinfo-db/default.nix+4−3
This diff is too big to show here.
pkgs/data/misc/wireless-regdb/default.nix+5−5
This diff is too big to show here.
pkgs/data/themes/plata/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/deepin/dde-api/default.nix+1
This diff is too big to show here.
pkgs/desktops/deepin/default.nix+9−3
This diff is too big to show here.
pkgs/desktops/deepin/go-dbus-generator/default.nix+1−1
This diff is too big to show here.
pkgs/desktops/deepin/go-gir-generator/default.nix+1−1
This diff is too big to show here.
pkgs/desktops/gnome-2/bindings/gnome-python-desktop/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/gnome-2/bindings/gnome-python/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/gnome-2/bindings/libglademm/default.nix+4−4
This diff is too big to show here.
pkgs/desktops/gnome-2/default.nix+25−22
This diff is too big to show here.
pkgs/desktops/gnome-2/desktop/gnome-icon-theme/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/gnome-2/desktop/gtksourceview/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/gnome-2/desktop/vte/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/gnome-2/platform/gtkglext/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/gnome-2/platform/gtkhtml/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/gnome-2/platform/libbonoboui/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/gnome-2/platform/libglade/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/gnome-2/platform/libgnomecanvas/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/gnome-2/platform/libgnomecanvasmm/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/gnome-2/platform/libgnomecups/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/gnome-2/platform/libgnomeprint/default.nix+3−3
This diff is too big to show here.
pkgs/desktops/gnome-2/platform/libgnomeprintui/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/gnome-2/platform/libgtkhtml/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/gnome-3/apps/accerciser/default.nix+1−1
This diff is too big to show here.
pkgs/desktops/gnome-3/apps/evolution/default.nix+11−9
This diff is too big to show here.
pkgs/desktops/gnome-3/apps/file-roller/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/gnome-3/apps/gedit/default.nix+5−4
This diff is too big to show here.
pkgs/desktops/gnome-3/apps/ghex/default.nix+9−6
This diff is too big to show here.
pkgs/desktops/gnome-3/apps/glade/default.nix+1−1
This diff is too big to show here.
pkgs/desktops/gnome-3/apps/gnome-boxes/default.nix+1−1
This diff is too big to show here.
pkgs/desktops/gnome-3/apps/gnome-calendar/default.nix+3−3
This diff is too big to show here.
pkgs/desktops/gnome-3/apps/gnome-characters/default.nix+4−4
This diff is too big to show here.
pkgs/desktops/gnome-3/apps/gnome-clocks/default.nix+3−2
This diff is too big to show here.
pkgs/desktops/gnome-3/apps/gnome-documents/default.nix+1−1
This diff is too big to show here.
pkgs/desktops/gnome-3/apps/gnome-logs/default.nix+1−1
This diff is too big to show here.
pkgs/desktops/gnome-3/apps/gnome-maps/default.nix+1−1
This diff is too big to show here.
pkgs/desktops/gnome-3/apps/gnome-music/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/gnome-3/apps/gnome-nettool/default.nix+1−1
This diff is too big to show here.
pkgs/desktops/gnome-3/apps/gnome-notes/default.nix+1−1
This diff is too big to show here.
pkgs/desktops/gnome-3/apps/gnome-photos/default.nix+1−1
This diff is too big to show here.
pkgs/desktops/gnome-3/apps/gnome-power-manager/default.nix+1−1
This diff is too big to show here.
pkgs/desktops/gnome-3/apps/gnome-todo/default.nix+5−5
This diff is too big to show here.
pkgs/desktops/gnome-3/apps/gnome-weather/default.nix+1−1
This diff is too big to show here.
pkgs/desktops/gnome-3/apps/seahorse/default.nix+1−1
This diff is too big to show here.
pkgs/desktops/gnome-3/apps/vinagre/default.nix+1−1
This diff is too big to show here.
pkgs/desktops/gnome-3/core/adwaita-icon-theme/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/gnome-3/core/baobab/default.nix+1−1
This diff is too big to show here.
pkgs/desktops/gnome-3/core/caribou/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/gnome-3/core/dconf/default.nix+10−1
This diff is too big to show here.
pkgs/desktops/gnome-3/core/empathy/default.nix+1−1
This diff is too big to show here.
pkgs/desktops/gnome-3/core/epiphany/default.nix+3−3
This diff is too big to show here.
pkgs/desktops/gnome-3/core/evince/default.nix+6−5
This diff is too big to show here.
pkgs/desktops/gnome-3/core/evolution-data-server/default.nix+5−4
This diff is too big to show here.
pkgs/desktops/gnome-3/core/gdm/default.nix+4−4
This diff is too big to show here.
pkgs/desktops/gnome-3/core/gnome-bluetooth/default.nix+1−1
This diff is too big to show here.
pkgs/desktops/gnome-3/core/gnome-calculator/default.nix+1−1
This diff is too big to show here.
pkgs/desktops/gnome-3/core/gnome-contacts/default.nix+1−1
This diff is too big to show here.
pkgs/desktops/gnome-3/core/gnome-control-center/default.nix+9−6
This diff is too big to show here.
pkgs/desktops/gnome-3/core/gnome-desktop/bubblewrap-paths.patch+7−11
This diff is too big to show here.
pkgs/desktops/gnome-3/core/gnome-desktop/default.nix+9−3
This diff is too big to show here.
pkgs/desktops/gnome-3/core/gnome-dictionary/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/gnome-3/core/gnome-disk-utility/default.nix+11−7
This diff is too big to show here.
pkgs/desktops/gnome-3/core/gnome-font-viewer/default.nix+9−6
This diff is too big to show here.
pkgs/desktops/gnome-3/core/gnome-online-accounts/default.nix+5−5
This diff is too big to show here.
pkgs/desktops/gnome-3/core/gnome-online-miners/default.nix+16−10
This diff is too big to show here.
pkgs/desktops/gnome-3/core/gnome-remote-desktop/default.nix+3−5
This diff is too big to show here.
pkgs/desktops/gnome-3/core/gnome-screenshot/default.nix+1−1
This diff is too big to show here.
pkgs/desktops/gnome-3/core/gnome-session/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/gnome-3/core/gnome-settings-daemon/default.nix+5−5
This diff is too big to show here.
pkgs/desktops/gnome-3/core/gnome-shell/default.nix+10−9
This diff is too big to show here.
pkgs/desktops/gnome-3/core/gnome-software/default.nix+3−2
This diff is too big to show here.
pkgs/desktops/gnome-3/core/gnome-system-monitor/default.nix+1−1
This diff is too big to show here.
pkgs/desktops/gnome-3/core/gnome-terminal/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/gnome-3/core/gnome-themes-extra/default.nix+1−1
This diff is too big to show here.
pkgs/desktops/gnome-3/core/gnome-user-share/default.nix+13−9
This diff is too big to show here.
pkgs/desktops/gnome-3/core/grilo-plugins/default.nix+5−5
This diff is too big to show here.
pkgs/desktops/gnome-3/core/gucharmap/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/gnome-3/core/mutter/3.28.nix+6−5
This diff is too big to show here.
pkgs/desktops/gnome-3/core/mutter/default.nix+22−8
This diff is too big to show here.
pkgs/desktops/gnome-3/core/nautilus/bubblewrap-paths.patch+4−3
This diff is too big to show here.
pkgs/desktops/gnome-3/core/nautilus/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/gnome-3/core/simple-scan/default.nix+3−3
This diff is too big to show here.
pkgs/desktops/gnome-3/core/totem/default.nix+7−6
This diff is too big to show here.
pkgs/desktops/gnome-3/core/tracker-miners/default.nix+3−3
This diff is too big to show here.
pkgs/desktops/gnome-3/core/vino/default.nix+1−1
This diff is too big to show here.
pkgs/desktops/gnome-3/core/yelp/default.nix+1−1
This diff is too big to show here.
pkgs/desktops/gnome-3/core/zenity/default.nix+9−6
This diff is too big to show here.
pkgs/desktops/gnome-3/default.nix+13−15
This diff is too big to show here.
pkgs/desktops/gnome-3/devtools/devhelp/default.nix+1−1
This diff is too big to show here.
pkgs/desktops/gnome-3/devtools/nemiver/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/gnome-3/extensions/dash-to-dock/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/gnome-3/extensions/sound-output-device-chooser/default.nixnew file+28
This diff is too big to show here.
pkgs/desktops/gnome-3/extensions/window-corner-preview/default.nixnew file+28
This diff is too big to show here.
pkgs/desktops/gnome-3/games/atomix/default.nix+1−1
This diff is too big to show here.
pkgs/desktops/gnome-3/games/five-or-more/default.nix+1−1
This diff is too big to show here.
pkgs/desktops/gnome-3/games/four-in-a-row/default.nix+1−1
This diff is too big to show here.
pkgs/desktops/gnome-3/games/gnome-chess/default.nix+1−1
This diff is too big to show here.
pkgs/desktops/gnome-3/games/gnome-klotski/default.nix+1−1
This diff is too big to show here.
pkgs/desktops/gnome-3/games/gnome-mahjongg/default.nix+1−1
This diff is too big to show here.
pkgs/desktops/gnome-3/games/gnome-mines/default.nix+1−1
This diff is too big to show here.
pkgs/desktops/gnome-3/games/gnome-nibbles/default.nix+1−1
This diff is too big to show here.
pkgs/desktops/gnome-3/games/gnome-robots/default.nix+1−1
This diff is too big to show here.
pkgs/desktops/gnome-3/games/gnome-sudoku/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/gnome-3/games/gnome-taquin/default.nix+1−1
This diff is too big to show here.
pkgs/desktops/gnome-3/games/gnome-tetravex/default.nix+1−1
This diff is too big to show here.
pkgs/desktops/gnome-3/games/hitori/default.nix+1−1
This diff is too big to show here.
pkgs/desktops/gnome-3/games/iagno/default.nix+1−1
This diff is too big to show here.
pkgs/desktops/gnome-3/games/lightsoff/default.nix+1−1
This diff is too big to show here.
pkgs/desktops/gnome-3/games/quadrapassel/default.nix+1−1
This diff is too big to show here.
pkgs/desktops/gnome-3/games/swell-foop/default.nix+1−1
This diff is too big to show here.
pkgs/desktops/gnome-3/games/tali/default.nix+1−1
This diff is too big to show here.
pkgs/desktops/gnome-3/misc/geary/default.nix+41−38
This diff is too big to show here.
pkgs/desktops/gnome-3/misc/gitg/default.nix+4−3
This diff is too big to show here.
pkgs/desktops/gnome-3/misc/gnome-flashback/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/gnome-3/misc/gnome-packagekit/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/gnome-3/misc/gnome-panel/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/gnome-3/misc/gnome-screensaver/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/gnome-3/misc/gnome-tweaks/default.nix+1−1
This diff is too big to show here.
pkgs/desktops/gnome-3/misc/metacity/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/gnome-3/misc/pomodoro/default.nix+1−1
This diff is too big to show here.
pkgs/desktops/lxqt/compton-conf/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/lxqt/libfm-qt/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/lxqt/liblxqt/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/lxqt/libqtxdg/default.nix+7−7
This diff is too big to show here.
pkgs/desktops/lxqt/lximage-qt/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/lxqt/lxqt-about/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/lxqt/lxqt-admin/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/lxqt/lxqt-config/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/lxqt/lxqt-globalkeys/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/lxqt/lxqt-notificationd/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/lxqt/lxqt-openssh-askpass/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/lxqt/lxqt-panel/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/lxqt/lxqt-policykit/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/lxqt/lxqt-powermanagement/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/lxqt/lxqt-runner/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/lxqt/lxqt-session/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/lxqt/lxqt-sudo/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/lxqt/obconf-qt/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/lxqt/pavucontrol-qt/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/lxqt/pcmanfm-qt/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/lxqt/qps/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/lxqt/qterminal/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/lxqt/qtermwidget/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/lxqt/screengrab/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/lxqt/update.sh+1−1
This diff is too big to show here.
pkgs/desktops/mate/pluma/default.nix+1−1
This diff is too big to show here.
pkgs/desktops/pantheon/apps/elementary-calculator/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/pantheon/apps/elementary-calendar/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/pantheon/apps/elementary-code/default.nix+4−8
This diff is too big to show here.
pkgs/desktops/pantheon/apps/elementary-files/default.nix−5
This diff is too big to show here.
pkgs/desktops/pantheon/apps/elementary-music/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/pantheon/apps/elementary-screenshot-tool/default.nix+2−13
This diff is too big to show here.
pkgs/desktops/pantheon/apps/elementary-screenshot-tool/redacted-script.nixdeleted−28
This diff is too big to show here.
pkgs/desktops/pantheon/apps/switchboard-plugs/keyboard/default.nix+2−4
This diff is too big to show here.
pkgs/desktops/pantheon/artwork/elementary-gtk-theme/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/pantheon/artwork/elementary-redacted-script/default.nixnew file+28
This diff is too big to show here.
pkgs/desktops/pantheon/default.nix+4
This diff is too big to show here.
pkgs/desktops/pantheon/desktop/elementary-session-settings/default.nix+4−4
This diff is too big to show here.
pkgs/desktops/pantheon/desktop/elementary-session-settings/pantheon-mimeapps.listnew file+168
This diff is too big to show here.
pkgs/desktops/pantheon/desktop/gala/default.nix+3−3
This diff is too big to show here.
pkgs/desktops/pantheon/desktop/wingpanel-indicators/keyboard/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/pantheon/desktop/wingpanel-indicators/nightlight/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/pantheon/desktop/wingpanel-indicators/session/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/pantheon/desktop/wingpanel-indicators/sound/default.nix+2−2
This diff is too big to show here.
pkgs/desktops/pantheon/desktop/wingpanel/default.nix+9−2
This diff is too big to show here.
pkgs/desktops/pantheon/services/elementary-settings-daemon/default.nix+5−4
This diff is too big to show here.
pkgs/desktops/plasma-5/xdg-desktop-portal-kde.nix+2−2
This diff is too big to show here.
pkgs/desktops/xfce/default.nix+1−1
This diff is too big to show here.
pkgs/desktops/xfce/panel-plugins/xfce4-mailwatch-plugin.nix+1−1
This diff is too big to show here.
pkgs/desktops/xfce/panel-plugins/xfce4-mpc-plugin.nix+1−1
This diff is too big to show here.
pkgs/desktops/xfce/panel-plugins/xfce4-timer-plugin.nix+1−1
This diff is too big to show here.
pkgs/development/arduino/arduino-core/default.nix+38−40
This diff is too big to show here.
pkgs/development/beam-modules/build-mix.nix+2−1
This diff is too big to show here.
pkgs/development/compilers/arachne-pnr/default.nix+1−1
This diff is too big to show here.
pkgs/development/compilers/ccl/default.nix+2−2
This diff is too big to show here.
pkgs/development/compilers/cmdstan/default.nix+2−2
This diff is too big to show here.
pkgs/development/compilers/compcert/default.nix+3−2
This diff is too big to show here.
pkgs/development/compilers/crystal/default.nix+49−24
This diff is too big to show here.
pkgs/development/compilers/dmd/default.nix+147−181
This diff is too big to show here.
pkgs/development/compilers/fasm/bin.nix+2−2
This diff is too big to show here.
pkgs/development/compilers/gcc/8/default.nix+2−2
This diff is too big to show here.
pkgs/development/compilers/ghc/8.6.2.nixdeleted−230
This diff is too big to show here.
pkgs/development/compilers/ghc/8.6.3.nix+4−1
This diff is too big to show here.
pkgs/development/compilers/ghc/8.6.1.nix → pkgs/development/compilers/ghc/8.6.4.nixrenamed+9−4
This diff is too big to show here.
pkgs/development/compilers/ghcjs-ng/default.nix+2
This diff is too big to show here.
pkgs/development/compilers/go/1.11.nix+3−3
This diff is too big to show here.
pkgs/development/compilers/go/1.12.nixnew file+244
This diff is too big to show here.
pkgs/development/compilers/julia/0002-use-system-suitesparse.patchdeleted−25
This diff is too big to show here.
pkgs/development/compilers/julia/default.nixdeleted−201
This diff is too big to show here.
pkgs/development/compilers/kotlin/default.nix+2−2
This diff is too big to show here.
pkgs/development/compilers/ldc/default.nix+118−170
This diff is too big to show here.
pkgs/development/compilers/llvm/3.8/llvm.nix+2−2
This diff is too big to show here.
pkgs/development/compilers/llvm/3.9/llvm.nix+2−2
This diff is too big to show here.
pkgs/development/compilers/llvm/4/libc++/default.nix−5
This diff is too big to show here.
pkgs/development/compilers/llvm/4/libc++/libc++.adeleted−1
This diff is too big to show here.
pkgs/development/compilers/llvm/4/llvm.nix+2−2
This diff is too big to show here.
pkgs/development/compilers/llvm/5/libc++/default.nix−5
This diff is too big to show here.
pkgs/development/compilers/llvm/5/libc++/libc++.adeleted−1
This diff is too big to show here.
pkgs/development/compilers/llvm/6/libc++/default.nix−5
This diff is too big to show here.
pkgs/development/compilers/llvm/6/libc++/libc++.adeleted−1
This diff is too big to show here.
pkgs/development/compilers/llvm/6/llvm.nix+1−1
This diff is too big to show here.
pkgs/development/compilers/llvm/7/bintools.nixnew file+19
This diff is too big to show here.
pkgs/development/compilers/llvm/7/clang/default.nix+6−3
This diff is too big to show here.
pkgs/development/compilers/llvm/7/compiler-rt.nix+26−2
This diff is too big to show here.
pkgs/development/compilers/llvm/7/crtbegin-and-end.patchnew file+595
This diff is too big to show here.
pkgs/development/compilers/llvm/7/default.nix+59−3
This diff is too big to show here.
pkgs/development/compilers/llvm/7/libc++/default.nix−5
This diff is too big to show here.
pkgs/development/compilers/llvm/7/libc++/libc++.adeleted−1
This diff is too big to show here.
pkgs/development/compilers/llvm/7/llvm.nix+6−1
This diff is too big to show here.
pkgs/development/compilers/llvm/8/bintools.nixnew file+19
This diff is too big to show here.
pkgs/development/compilers/llvm/8/clang/default.nixnew file+112
This diff is too big to show here.
pkgs/development/compilers/llvm/8/clang/purity.patchnew file+30
This diff is too big to show here.
pkgs/development/compilers/llvm/8/compiler-rt-clock_gettime.patchnew file+74
This diff is too big to show here.
pkgs/development/compilers/llvm/8/compiler-rt-codesign.patchnew file+33
This diff is too big to show here.
pkgs/development/compilers/llvm/8/compiler-rt.nixnew file+61
This diff is too big to show here.
pkgs/development/compilers/llvm/8/crtbegin-and-end.patchnew file+595
This diff is too big to show here.
pkgs/development/compilers/llvm/8/default.nixnew file+149
This diff is too big to show here.
pkgs/development/compilers/llvm/8/libc++/default.nixnew file+50
This diff is too big to show here.
pkgs/development/compilers/llvm/8/libc++/setup-hook.shnew file+6
This diff is too big to show here.
pkgs/development/compilers/llvm/8/libc++abi.nixnew file+50
This diff is too big to show here.
pkgs/development/compilers/llvm/8/lld.nixnew file+32
This diff is too big to show here.
pkgs/development/compilers/llvm/8/lldb.nixnew file+56
This diff is too big to show here.
pkgs/development/compilers/llvm/8/llvm-outputs.patchnew file+26
This diff is too big to show here.
pkgs/development/compilers/llvm/8/llvm.nixnew file+172
This diff is too big to show here.
pkgs/development/compilers/llvm/8/openmp.nixnew file+25
This diff is too big to show here.
pkgs/development/compilers/llvm/8/sanitizers-nongnu.patchnew file+412
This diff is too big to show here.
pkgs/development/compilers/mercury/default.nix+1−1
This diff is too big to show here.
pkgs/development/compilers/nasm/default.nix+8−5
This diff is too big to show here.
pkgs/development/compilers/nextpnr/default.nix+3−3
This diff is too big to show here.
pkgs/development/compilers/nim/default.nix+2−2
This diff is too big to show here.
pkgs/development/compilers/openjdk/11.nix+3−3
This diff is too big to show here.
pkgs/development/compilers/ponyc/default.nix+4−16
This diff is too big to show here.
pkgs/development/compilers/ponyc/pony-stable.nix+3−5
This diff is too big to show here.
pkgs/development/compilers/sbcl/default.nix+2−2
This diff is too big to show here.
pkgs/development/compilers/smlnj/default.nix+24−24
This diff is too big to show here.
pkgs/development/compilers/solc/default.nix+13−5
This diff is too big to show here.
pkgs/development/compilers/swi-prolog/default.nix+1−1
This diff is too big to show here.
pkgs/development/compilers/swift/default.nix+4−4
This diff is too big to show here.
pkgs/development/compilers/terra/default.nix+5−5
This diff is too big to show here.
pkgs/development/compilers/yosys/default.nix+3−3
This diff is too big to show here.
pkgs/development/haskell-modules/configuration-common.nix+25−16
This diff is too big to show here.
pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix+3−7
This diff is too big to show here.
pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix+8−6
This diff is too big to show here.
pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix−2
This diff is too big to show here.
pkgs/development/haskell-modules/configuration-ghc-head.nix−2
This diff is too big to show here.
pkgs/development/haskell-modules/configuration-hackage2nix.yaml+82−35
This diff is too big to show here.
pkgs/development/haskell-modules/configuration-nix.nix+4−1
This diff is too big to show here.
pkgs/development/haskell-modules/generic-builder.nix+3−1
This diff is too big to show here.
pkgs/development/haskell-modules/hackage-packages.nix+2602−1102
This diff is too big to show here.
pkgs/development/haskell-modules/patches/servant-client-core-streamBody.patchnew file+82
This diff is too big to show here.
pkgs/development/haskell-modules/stack-hook.sh+3−3
This diff is too big to show here.
pkgs/development/interpreters/jruby/default.nix+2−2
This diff is too big to show here.
pkgs/development/interpreters/lua-5/build-lua-package.nix+5−5
This diff is too big to show here.
pkgs/development/interpreters/luajit/default.nix+11−12
This diff is too big to show here.
pkgs/development/interpreters/perl/default.nix+4−4
This diff is too big to show here.
pkgs/development/interpreters/python/build-python-package-flit.nix+1−1
This diff is too big to show here.
pkgs/development/interpreters/python/build-python-package-pyproject.nixnew file+53
This diff is too big to show here.
pkgs/development/interpreters/python/build-python-package.nix+3−1
This diff is too big to show here.
pkgs/development/interpreters/python/cpython/2.7/boot.nix+1−1
This diff is too big to show here.
pkgs/development/interpreters/python/cpython/docs/2.7-html.nix+1−1
This diff is too big to show here.
pkgs/development/interpreters/python/cpython/docs/2.7-pdf-a4.nix+1−1
This diff is too big to show here.
pkgs/development/interpreters/python/cpython/docs/2.7-pdf-letter.nix+1−1
This diff is too big to show here.
pkgs/development/interpreters/python/cpython/docs/2.7-text.nix+1−1
This diff is too big to show here.
pkgs/development/interpreters/python/cpython/docs/template.nix+1−1
This diff is too big to show here.
pkgs/development/interpreters/python/mk-python-derivation.nix+5
This diff is too big to show here.
pkgs/development/interpreters/racket/default.nix+2−1
This diff is too big to show here.
pkgs/development/interpreters/renpy/default.nix+2−2
This diff is too big to show here.
pkgs/development/interpreters/ruby/patchsets.nix+4−1
This diff is too big to show here.
pkgs/development/interpreters/ruby/rvm-patchsets.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/CoinMP/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/SDL2_image/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/ace/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/afflib/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/amtk/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/appstream-glib/default.nix+6−6
This diff is too big to show here.
pkgs/development/libraries/aravis/default.nix+1−1
This diff is too big to show here.
pkgs/development/libraries/aspell/default.nix+20−1
This diff is too big to show here.
pkgs/development/libraries/aspell/dictionaries.nix+716−135
This diff is too big to show here.
pkgs/development/libraries/boringssl/default.nix+2
This diff is too big to show here.
pkgs/development/libraries/cdk/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/cgui/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/civetweb/0001-allow-setting-paths-in-makefile.patchnew file+55
This diff is too big to show here.
pkgs/development/libraries/civetweb/default.nixnew file+41
This diff is too big to show here.
pkgs/development/libraries/clutter-gst/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/cutelyst/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/czmq/4.x.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/ffmpeg-full/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/ffmpeg/4.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/ffms/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/flatcc/default.nixnew file+29
This diff is too big to show here.
pkgs/development/libraries/flatpak/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/fontconfig/make-fonts-cache.nix+1
This diff is too big to show here.
pkgs/development/libraries/gbenchmark/default.nix+6−4
This diff is too big to show here.
pkgs/development/libraries/gecode/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/gegl/4.0.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/geoclue/add-option-for-installation-sysconfdir.patch+33−16
This diff is too big to show here.
pkgs/development/libraries/geoclue/default.nix+5−5
This diff is too big to show here.
pkgs/development/libraries/geocode-glib/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/glibc/default.nix+22−1
This diff is too big to show here.
pkgs/development/libraries/globalarrays/default.nix+14−3
This diff is too big to show here.
pkgs/development/libraries/gmime/2.nix+1−1
This diff is too big to show here.
pkgs/development/libraries/gmime/3.nix+1−1
This diff is too big to show here.
pkgs/development/libraries/gtk+/3.x.nix+9−9
This diff is too big to show here.
pkgs/development/libraries/harfbuzz/default.nix+4
This diff is too big to show here.
pkgs/development/libraries/hpx/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/java/swt/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/libchamplain/default.nix+15−11
This diff is too big to show here.
pkgs/development/libraries/libdrm/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/libev/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/libgda/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/libgdata/default.nix+1−2
This diff is too big to show here.
pkgs/development/libraries/libgeotiff/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/libgit2-glib/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/libgnomekbd/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/libguestfs/default.nix−1
This diff is too big to show here.
pkgs/development/libraries/libgumath/default.nixnew file+34
This diff is too big to show here.
pkgs/development/libraries/libhandy/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/libidn2/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/libndtypes/default.nix+9−8
This diff is too big to show here.
pkgs/development/libraries/libosinfo/default.nix+2−12
This diff is too big to show here.
pkgs/development/libraries/libpfm/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/libplist/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/libpng/default.nix+1−2
This diff is too big to show here.
pkgs/development/libraries/libpqxx/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/libr3/default.nixnew file+33
This diff is too big to show here.
pkgs/development/libraries/librsvg/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/libsecret/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/libsolv/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/libssh2/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/libusbmuxd/default.nix+3−3
This diff is too big to show here.
pkgs/development/libraries/libuv/default.nix+5−5
This diff is too big to show here.
pkgs/development/libraries/libwhereami/default.nix+3−2
This diff is too big to show here.
pkgs/development/libraries/libxnd/default.nix+14−5
This diff is too big to show here.
pkgs/development/libraries/live555/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/lmdb/default.nix+5−1
This diff is too big to show here.
pkgs/development/libraries/mapnik/default.nix+4
This diff is too big to show here.
pkgs/development/libraries/mesa/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/mpfr/default.nix+6−3
This diff is too big to show here.
pkgs/development/libraries/multipart-parser-c/default.nixnew file+34
This diff is too big to show here.
pkgs/development/libraries/nghttp2/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/nss/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/nsss/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/ogre/1.10.x.nixnew file+42
This diff is too big to show here.
pkgs/development/libraries/ogre/default.nix+8−4
This diff is too big to show here.
pkgs/development/libraries/openfst/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/openmpi/default.nix+13−5
This diff is too big to show here.
pkgs/development/libraries/openssl/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/osm-gps-map/default.nix+3−4
This diff is too big to show here.
pkgs/development/libraries/physics/rivet/default.nix+1−1
This diff is too big to show here.
pkgs/development/libraries/physics/yoda/default.nix+1−1
This diff is too big to show here.
pkgs/development/libraries/prometheus-cpp/default.nixnew file+41
This diff is too big to show here.
pkgs/development/libraries/pugixml/default.nix+14−4
This diff is too big to show here.
pkgs/development/libraries/pyotherside/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/qt-5/5.11/default.nix+7−2
This diff is too big to show here.
pkgs/development/libraries/qt-5/5.11/qtwebkit-darwin-no-qos-classes.patchnew file+11
This diff is too big to show here.
pkgs/development/libraries/qt-5/5.11/qtwebkit-darwin-no-readline.patchnew file+45
This diff is too big to show here.
pkgs/development/libraries/qt-5/5.12/default.nix+7−2
This diff is too big to show here.
pkgs/development/libraries/qt-5/5.12/qtwebkit-darwin-no-qos-classes.patchnew file+11
This diff is too big to show here.
pkgs/development/libraries/qt-5/5.12/qtwebkit-darwin-no-readline.patchnew file+45
This diff is too big to show here.
pkgs/development/libraries/qt-5/5.9/qtwebkit.patch−13
This diff is too big to show here.
pkgs/development/libraries/qt-5/modules/qtwebkit.nix+13−11
This diff is too big to show here.
pkgs/development/libraries/qt-5/modules/qtwebview.nixnew file+20
This diff is too big to show here.
pkgs/development/libraries/qtstyleplugin-kvantum/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/qtwebkit-plugins/default.nix+1−1
This diff is too big to show here.
pkgs/development/libraries/rapidxml/default.nixnew file+27
This diff is too big to show here.
pkgs/development/libraries/safefile/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/science/math/ipopt/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/science/math/openblas/default.nix+2−1
This diff is too big to show here.
pkgs/development/libraries/science/math/scalapack/default.nix+5−2
This diff is too big to show here.
pkgs/development/libraries/science/math/scalapack/openmpi4.patchnew file+143
This diff is too big to show here.
pkgs/development/libraries/shapelib/default.nix+3−5
This diff is too big to show here.
pkgs/development/libraries/skalibs/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/sundials/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/tbb/default.nix+1−1
This diff is too big to show here.
pkgs/development/libraries/ticpp/default.nixnew file+35
This diff is too big to show here.
pkgs/development/libraries/tpm2-tss/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/utmps/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/vapoursynth/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/wayland/default.nix+2
This diff is too big to show here.
pkgs/development/libraries/webkitgtk/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/wlroots/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/xapian/default.nix+4−2
This diff is too big to show here.
pkgs/development/libraries/xapian/skip-flaky-darwin-test.patchnew file+33
This diff is too big to show here.
pkgs/development/libraries/xavs/default.nix+13−2
This diff is too big to show here.
pkgs/development/libraries/xdg-desktop-portal-gtk/default.nix+2−2
This diff is too big to show here.
pkgs/development/libraries/xdg-desktop-portal/default.nix+7−9
This diff is too big to show here.
pkgs/development/libraries/xdg-desktop-portal/fix-paths.patchnew file+13
This diff is too big to show here.
pkgs/development/libraries/xxHash/default.nix+4−4
This diff is too big to show here.
pkgs/development/libraries/zlog/default.nix+1−1
This diff is too big to show here.
pkgs/development/lisp-modules/quicklisp-to-nix-output/lfarm-client.nixnew file+41
This diff is too big to show here.
pkgs/development/lisp-modules/quicklisp-to-nix-output/lfarm-common.nixnew file+41
This diff is too big to show here.
pkgs/development/lisp-modules/quicklisp-to-nix-output/lfarm-server.nixnew file+40
This diff is too big to show here.
pkgs/development/lisp-modules/quicklisp-to-nix-output/lfarm-ssl.nixnew file+42
This diff is too big to show here.
pkgs/development/lisp-modules/quicklisp-to-nix-systems.txt+4
This diff is too big to show here.
pkgs/development/lisp-modules/quicklisp-to-nix.nix+79
This diff is too big to show here.
pkgs/development/lua-modules/generated-packages.nix+1−21
This diff is too big to show here.
pkgs/development/lua-modules/overrides.nix+13−13
This diff is too big to show here.
pkgs/development/misc/avr8-burn-omat/default.nix+3−3
This diff is too big to show here.
pkgs/development/mobile/cocoapods/Gemfile.lock+18−18
This diff is too big to show here.
pkgs/development/mobile/cocoapods/gemset.nix+40−20
This diff is too big to show here.
pkgs/development/mobile/cocoapods/update+7−6
This diff is too big to show here.
pkgs/development/mobile/titaniumenv/build-app.nix+1−1
This diff is too big to show here.
pkgs/development/mobile/xcodeenv/build-app.nix+4−4
This diff is too big to show here.
pkgs/development/node-packages/node-packages-v10.json+2
This diff is too big to show here.
pkgs/development/node-packages/node-packages-v10.nix+2929−1769
This diff is too big to show here.
pkgs/development/node-packages/node-packages-v6.nix+15−15
This diff is too big to show here.
pkgs/development/node-packages/node-packages-v8.nix+28−28
This diff is too big to show here.
pkgs/development/ocaml-modules/atd/default.nix+2
This diff is too big to show here.
pkgs/development/ocaml-modules/bisect_ppx-ocamlbuild/default.nix+1
This diff is too big to show here.
pkgs/development/ocaml-modules/dtoa/default.nix+1−1
This diff is too big to show here.
pkgs/development/ocaml-modules/lablgtk3/default.nix+22−11
This diff is too big to show here.
pkgs/development/ocaml-modules/lablgtk3/gtkspell3.nixnew file+8
This diff is too big to show here.
pkgs/development/ocaml-modules/lablgtk3/sourceview3.nixnew file+9
This diff is too big to show here.
pkgs/development/ocaml-modules/mlgmpidl/default.nix+9−11
This diff is too big to show here.
pkgs/development/ocaml-modules/opti/default.nix+2
This diff is too big to show here.
pkgs/development/ocaml-modules/stdlib-shims/default.nixnew file+18
This diff is too big to show here.
pkgs/development/ocaml-modules/wtf8/default.nix+1−1
This diff is too big to show here.
pkgs/development/pharo/vm/build-vm.nix+2−1
This diff is too big to show here.
pkgs/development/pharo/vm/vms.nix+1−1
This diff is too big to show here.
pkgs/development/python-modules/Cython/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/Mako/default.nix+3−3
This diff is too big to show here.
pkgs/development/python-modules/Nikola/default.nix+4−8
This diff is too big to show here.
pkgs/development/python-modules/Pygments/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/Wand/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/WazeRouteCalculator/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/XlsxWriter/default.nix+11−5
This diff is too big to show here.
pkgs/development/python-modules/aafigure/default.nix+1−1
This diff is too big to show here.
pkgs/development/python-modules/absl-py/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/acoustics/default.nix+5−6
This diff is too big to show here.
pkgs/development/python-modules/actdiag/default.nix+1−1
This diff is too big to show here.
pkgs/development/python-modules/adal/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/adb-homeassistant/default.nixnew file+40
This diff is too big to show here.
pkgs/development/python-modules/aioconsole/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/aiodns/default.nix+4−5
This diff is too big to show here.
pkgs/development/python-modules/aiohue/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/aioimaplib/default.nix+5−5
This diff is too big to show here.
pkgs/development/python-modules/aiounifi/default.nixnew file+26
This diff is too big to show here.
pkgs/development/python-modules/alembic/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/alerta-server/default.nix+6−4
This diff is too big to show here.
pkgs/development/python-modules/alerta/default.nix+6−4
This diff is too big to show here.
pkgs/development/python-modules/altair/default.nix+8−9
This diff is too big to show here.
pkgs/development/python-modules/amqp/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/androguard/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/ansible-kernel/default.nixnew file+60
This diff is too big to show here.
pkgs/development/python-modules/ansible-lint/default.nixnew file+46
This diff is too big to show here.
pkgs/development/python-modules/ansible-runner/default.nixnew file+43
This diff is too big to show here.
pkgs/development/python-modules/ansible/default.nixnew file+53
This diff is too big to show here.
pkgs/development/python-modules/apipkg/default.nix+3−3
This diff is too big to show here.
pkgs/development/python-modules/arelle/default.nix+7−4
This diff is too big to show here.
pkgs/development/python-modules/argon2_cffi/default.nix+8−5
This diff is too big to show here.
pkgs/development/python-modules/arrow/default.nix+5−4
This diff is too big to show here.
pkgs/development/python-modules/asn1ate/default.nix+1−1
This diff is too big to show here.
pkgs/development/python-modules/aspy.yaml/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/astral/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/asttokens/default.nixnew file+25
This diff is too big to show here.
pkgs/development/python-modules/astunparse/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/asyncssh/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/atom/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/atomicwrites/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/atomman/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/attrdict/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/audio-metadata/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/autobahn/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/av/default.nix+6−5
This diff is too big to show here.
pkgs/development/python-modules/awkward/default.nix+9−5
This diff is too big to show here.
pkgs/development/python-modules/aws-adfs/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/aws-sam-translator/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/aws-xray-sdk/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/azure-common/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/azure-mgmt-compute/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/azure-mgmt-network/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/azure-mgmt-nspkg/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/azure-mgmt-resource/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/azure-mgmt-storage/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/backports_ssl_match_hostname/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/beanstalkc/default.nix+9−5
This diff is too big to show here.
pkgs/development/python-modules/beautifulsoup4/default.nix+7−5
This diff is too big to show here.
pkgs/development/python-modules/bidict/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/billiard/default.nix+4−4
This diff is too big to show here.
pkgs/development/python-modules/binaryornot/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/bitstring/default.nix+1−1
This diff is too big to show here.
pkgs/development/python-modules/bleach/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/block-io/default.nix+7
This diff is too big to show here.
pkgs/development/python-modules/boltztrap2/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/bootstrapped-pip/default.nix+6−6
This diff is too big to show here.
pkgs/development/python-modules/boto3/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/botocore/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/bpython/default.nix+5
This diff is too big to show here.
pkgs/development/python-modules/buildout-nix/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/buildout/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/cachetools/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/cairocffi/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/can/default.nix+18−10
This diff is too big to show here.
pkgs/development/python-modules/cassandra-driver/default.nix+5−1
This diff is too big to show here.
pkgs/development/python-modules/celery/default.nix+5−28
This diff is too big to show here.
pkgs/development/python-modules/cffi/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/chainer/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/chalice/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/channels/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/characteristic/default.nix+4
This diff is too big to show here.
pkgs/development/python-modules/chardet/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/cherrypy/default.nix+22−7
This diff is too big to show here.
pkgs/development/python-modules/cloudpickle/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/cmd2/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/cmd2/old.nix+3−2
This diff is too big to show here.
pkgs/development/python-modules/cmdline/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/colander/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/colorama/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/colorlover/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/configparser/default.nix+8−7
This diff is too big to show here.
pkgs/development/python-modules/contextvars/default.nix+2
This diff is too big to show here.
pkgs/development/python-modules/contextvars/immutables_version.patchnew file+11
This diff is too big to show here.
pkgs/development/python-modules/cornice/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/cryptography/default.nix+2−4
This diff is too big to show here.
pkgs/development/python-modules/cryptography_vectors/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/cupy/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/cvxopt/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/cx_oracle/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/cypari2/default.nix+4−1
This diff is too big to show here.
pkgs/development/python-modules/dask-mpi/default.nixnew file+36
This diff is too big to show here.
pkgs/development/python-modules/dask/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/datadog/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/datashape/default.nix+2
This diff is too big to show here.
pkgs/development/python-modules/dateutil/default.nix+11−3
This diff is too big to show here.
pkgs/development/python-modules/decorator/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/deluge-client/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/derpconf/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/detox/default.nix+5−2
This diff is too big to show here.
pkgs/development/python-modules/diff-match-patch/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/dill/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/distro/default.nix+6−5
This diff is too big to show here.
pkgs/development/python-modules/django-picklefield/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/django/1_11.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/django/2_1.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/django_contrib_comments/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/django_guardian/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/django_modelcluster/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/dnspython/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/docker-pycreds/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/docker/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/dogpile.cache/default.nix+6−5
This diff is too big to show here.
pkgs/development/python-modules/dulwich/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/easy-thumbnails/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/editorconfig/default.nix+1−1
This diff is too big to show here.
pkgs/development/python-modules/entrypoints/default.nix+4−12
This diff is too big to show here.
pkgs/development/python-modules/envs/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/eth-typing/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/eth-utils/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/exchangelib/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/execnet/default.nix+5−2
This diff is too big to show here.
pkgs/development/python-modules/fb-re2/default.nix+4−6
This diff is too big to show here.
pkgs/development/python-modules/filebrowser_safe/default.nix+1−1
This diff is too big to show here.
pkgs/development/python-modules/filetype/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/fints/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/fiona/default.nix+21−9
This diff is too big to show here.
pkgs/development/python-modules/firetv/default.nixnew file+38
This diff is too big to show here.
pkgs/development/python-modules/flake8/default.nix+11−37
This diff is too big to show here.
pkgs/development/python-modules/flaky/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/flask-jwt-extended/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/flask-paginate/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/flask-socketio/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/flickrapi/default.nixnew file+35
This diff is too big to show here.
pkgs/development/python-modules/flit/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/fonttools/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/freezegun/default.nix+1−1
This diff is too big to show here.
pkgs/development/python-modules/fs-s3fs/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/fs/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/fudge/default.nix+1−4
This diff is too big to show here.
pkgs/development/python-modules/gdrivefs/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/gensim/default.nix+3−2
This diff is too big to show here.
pkgs/development/python-modules/geopy/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/gevent/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/gidgethub/default.nix+10−6
This diff is too big to show here.
pkgs/development/python-modules/gin-config/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/gipc/default.nix+2−4
This diff is too big to show here.
pkgs/development/python-modules/git-annex-adapter/default.nix+11−11
This diff is too big to show here.
pkgs/development/python-modules/git-annex-adapter/git-annex-path.patchnew file+75
This diff is too big to show here.
pkgs/development/python-modules/github3_py/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/globus-sdk/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/glom/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/gmusicapi/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/google-music-proto/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/google_auth/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/google_cloud_bigquery/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/google_cloud_dataproc/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/google_cloud_kms/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/google_cloud_storage/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/google_cloud_texttospeech/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/googleapis_common_protos/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/gphoto2/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/grappelli_safe/default.nix+1−1
This diff is too big to show here.
pkgs/development/python-modules/green/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/grpcio-tools/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/grpcio/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/gsd/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/gspread/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/gssapi/default.nix+6−4
This diff is too big to show here.
pkgs/development/python-modules/gst-python/default.nix+1−1
This diff is too big to show here.
pkgs/development/python-modules/gumath/default.nixnew file+29
This diff is too big to show here.
pkgs/development/python-modules/gym/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/h2/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/ha-ffmpeg/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/hdbscan/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/hkdf/default.nix+4−1
This diff is too big to show here.
pkgs/development/python-modules/holoviews/default.nixnew file+47
This diff is too big to show here.
pkgs/development/python-modules/howdoi/default.nix+15−3
This diff is too big to show here.
pkgs/development/python-modules/html5lib/default.nix+3
This diff is too big to show here.
pkgs/development/python-modules/httplib2/default.nix+5−2
This diff is too big to show here.
pkgs/development/python-modules/hvplot/default.nixnew file+46
This diff is too big to show here.
pkgs/development/python-modules/hyperframe/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/hypothesis/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/i3-py/default.nix+1−1
This diff is too big to show here.
pkgs/development/python-modules/identify/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/idna/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/ifaddr/default.nix+3−9
This diff is too big to show here.
pkgs/development/python-modules/imageio-ffmpeg/default.nixnew file+28
This diff is too big to show here.
pkgs/development/python-modules/imageio/default.nix+14−4
This diff is too big to show here.
pkgs/development/python-modules/imgaug/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/imread/default.nix+1−1
This diff is too big to show here.
pkgs/development/python-modules/inflect/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/intake/default.nixnew file+60
This diff is too big to show here.
pkgs/development/python-modules/ipykernel/default.nix+2−1
This diff is too big to show here.
pkgs/development/python-modules/ipython/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/isbnlib/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/iso3166/default.nix+1−1
This diff is too big to show here.
pkgs/development/python-modules/jaraco_collections/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/jaraco_functools/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/jaraco_itertools/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/jaraco_stream/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/jaraco_text/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/jdatetime/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/jenkins-job-builder/default.nix+9−5
This diff is too big to show here.
pkgs/development/python-modules/jsonpickle/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/jupyter-repo2docker/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/kazoo/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/keras-preprocessing/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/keyring/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/koji/default.nix+1−1
This diff is too big to show here.
pkgs/development/python-modules/kombu/default.nix+5−5
This diff is too big to show here.
pkgs/development/python-modules/ldappool/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/ledgerblue/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/libagent/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/libais/default.nix+1−1
This diff is too big to show here.
pkgs/development/python-modules/libarcus/default.nix+2−1
This diff is too big to show here.
pkgs/development/python-modules/libnacl/default.nix+1−1
This diff is too big to show here.
pkgs/development/python-modules/librosa/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/libsavitar/default.nix+1−1
This diff is too big to show here.
pkgs/development/python-modules/libsexy/default.nix+4−4
This diff is too big to show here.
pkgs/development/python-modules/limnoria/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/luftdaten/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/lxml/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/lzstring/default.nixnew file+24
This diff is too big to show here.
pkgs/development/python-modules/m2crypto/default.nix+1
This diff is too big to show here.
pkgs/development/python-modules/mahotas/default.nix+1−1
This diff is too big to show here.
pkgs/development/python-modules/manhole/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/marisa/default.nix+8−4
This diff is too big to show here.
pkgs/development/python-modules/markupsafe/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/marshmallow-sqlalchemy/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/marshmallow/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/matplotlib/2.nix+3−1
This diff is too big to show here.
pkgs/development/python-modules/matplotlib/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/mautrix-appservice/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/mecab-python3/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/mezzanine/default.nix+1−1
This diff is too big to show here.
pkgs/development/python-modules/micawber/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/moinmoin/default.nix+6−6
This diff is too big to show here.
pkgs/development/python-modules/monty/default.nix+22−14
This diff is too big to show here.
pkgs/development/python-modules/more-itertools/2.7.nixnew file+31
This diff is too big to show here.
pkgs/development/python-modules/more-itertools/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/moretools/default.nix+1−1
This diff is too big to show here.
pkgs/development/python-modules/moviepy/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/mpi4py/default.nix+12−5
This diff is too big to show here.
pkgs/development/python-modules/mpmath/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/msgpack/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/mt-940/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/multiprocess/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/murmurhash/default.nix+6−2
This diff is too big to show here.
pkgs/development/python-modules/mutagen/default.nix+9−2
This diff is too big to show here.
pkgs/development/python-modules/mwclient/default.nix+6−5
This diff is too big to show here.
pkgs/development/python-modules/mxnet/default.nix+3−3
This diff is too big to show here.
pkgs/development/python-modules/mypy-protobuf/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/mypy/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/mysql_python/default.nix+3−2
This diff is too big to show here.
pkgs/development/python-modules/mysqlclient/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/natsort/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/nbsmoke/default.nixnew file+43
This diff is too big to show here.
pkgs/development/python-modules/ndtypes/default.nixnew file+30
This diff is too big to show here.
pkgs/development/python-modules/nest-asyncio/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/nilearn/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/nipype/default.nix+2−4
This diff is too big to show here.
pkgs/development/python-modules/nipype/move-uneeded-requires.patchdeleted−31
This diff is too big to show here.
pkgs/development/python-modules/nose-randomly/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/numpy/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/nwdiag/default.nix+1−1
This diff is too big to show here.
pkgs/development/python-modules/oauth2/default.nix+1−1
This diff is too big to show here.
pkgs/development/python-modules/oauthlib/default.nix+12−10
This diff is too big to show here.
pkgs/development/python-modules/odfpy/default.nix+11−7
This diff is too big to show here.
pkgs/development/python-modules/openant/default.nix+1−1
This diff is too big to show here.
pkgs/development/python-modules/openpyxl/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/ovh/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/packaging/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pamela/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pamqp/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pandas/default.nix+3−2
This diff is too big to show here.
pkgs/development/python-modules/panel/default.nixnew file+50
This diff is too big to show here.
pkgs/development/python-modules/paperspace/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/param/default.nixnew file+28
This diff is too big to show here.
pkgs/development/python-modules/parameterized/default.nix+4−5
This diff is too big to show here.
pkgs/development/python-modules/parse/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/parsel/default.nix+1−1
This diff is too big to show here.
pkgs/development/python-modules/parso/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/partd/default.nix+1−1
This diff is too big to show here.
pkgs/development/python-modules/pastedeploy/default.nix+11−4
This diff is too big to show here.
pkgs/development/python-modules/pastescript/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pathos/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pbr/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pdf2image/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pex/default.nix+3−2
This diff is too big to show here.
pkgs/development/python-modules/pg8000/1_12.nixnew file+27
This diff is too big to show here.
pkgs/development/python-modules/pg8000/default.nix+4−4
This diff is too big to show here.
pkgs/development/python-modules/pgspecial/default.nix+1−1
This diff is too big to show here.
pkgs/development/python-modules/phonenumbers/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/phonopy/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pid/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pillow/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pint/default.nix+11−5
This diff is too big to show here.
pkgs/development/python-modules/pip-tools/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pip/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pkgconfig/default.nix+2
This diff is too big to show here.
pkgs/development/python-modules/pkginfo/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/plaid-python/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/plaster-pastedeploy/default.nix+10−1
This diff is too big to show here.
pkgs/development/python-modules/plotly/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pluginbase/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/plyfile/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/plyvel/default.nix+1−1
This diff is too big to show here.
pkgs/development/python-modules/poetry/default.nix+9
This diff is too big to show here.
pkgs/development/python-modules/portend/default.nix+6−2
This diff is too big to show here.
pkgs/development/python-modules/portpicker/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pox/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/ppft/default.nix+6−2
This diff is too big to show here.
pkgs/development/python-modules/praw/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/premailer/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/process-tests/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/progressbar2/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/prometheus_client/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/prompt_toolkit/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/protobuf/default.nix+4−2
This diff is too big to show here.
pkgs/development/python-modules/psutil/default.nix+3−11
This diff is too big to show here.
pkgs/development/python-modules/psycopg2/default.nix+3−3
This diff is too big to show here.
pkgs/development/python-modules/pure-python-adb-homeassistant/default.nixnew file+24
This diff is too big to show here.
pkgs/development/python-modules/pvlib/default.nix+19−9
This diff is too big to show here.
pkgs/development/python-modules/py3exiv2/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/py_scrypt/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/py_stringmatching/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pyaml/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pyasn1-modules/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pybase64/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pycapnp/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pychromecast/default.nix+3−3
This diff is too big to show here.
pkgs/development/python-modules/pycodestyle/default.nix+3−11
This diff is too big to show here.
pkgs/development/python-modules/pycontracts/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pycryptodome/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pycryptodomex/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pyct/default.nixnew file+36
This diff is too big to show here.
pkgs/development/python-modules/pycurl/default.nix+1
This diff is too big to show here.
pkgs/development/python-modules/pyepsg/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pyext/default.nix+12−7
This diff is too big to show here.
pkgs/development/python-modules/pyfftw/default.nix+4−4
This diff is too big to show here.
pkgs/development/python-modules/pyfiglet/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pyflakes/default.nix+3−6
This diff is too big to show here.
pkgs/development/python-modules/pygame/default.nix+8−4
This diff is too big to show here.
pkgs/development/python-modules/pygame_sdl2/default.nix+5−9
This diff is too big to show here.
pkgs/development/python-modules/pygraphviz/default.nix+1−1
This diff is too big to show here.
pkgs/development/python-modules/pyhomematic/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pyicu/default.nix+1−1
This diff is too big to show here.
pkgs/development/python-modules/pyinputevent/default.nix+1−1
This diff is too big to show here.
pkgs/development/python-modules/pyjet/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pyjwt/default.nix+2−12
This diff is too big to show here.
pkgs/development/python-modules/pykeepass/default.nix+7−4
This diff is too big to show here.
pkgs/development/python-modules/pykerberos/default.nix+2
This diff is too big to show here.
pkgs/development/python-modules/pylast/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pylibgen/default.nix+8−5
This diff is too big to show here.
pkgs/development/python-modules/pylti/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pymatgen/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pymc3/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pymediainfo/default.nix+8−15
This diff is too big to show here.
pkgs/development/python-modules/pynacl/default.nix+22−7
This diff is too big to show here.
pkgs/development/python-modules/pynmea2/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pyodbc/default.nix+1−1
This diff is too big to show here.
pkgs/development/python-modules/pyopencl/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pyopenssl/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pyowm/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pyqt/4.x.nix+19−18
This diff is too big to show here.
pkgs/development/python-modules/pyqt/5.x.nix+1−1
This diff is too big to show here.
pkgs/development/python-modules/pyramid/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pyramid_jinja2/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pyres/default.nix+1−1
This diff is too big to show here.
pkgs/development/python-modules/pyro-ppl/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pyro4/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pyroute2/default.nix+1−1
This diff is too big to show here.
pkgs/development/python-modules/pyrr/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pyrsistent/default.nix+2−5
This diff is too big to show here.
pkgs/development/python-modules/pyrsistent/no-setup-requires-pytestrunner.patchdeleted−15
This diff is too big to show here.
pkgs/development/python-modules/pyrtlsdr/default.nix+1−1
This diff is too big to show here.
pkgs/development/python-modules/pyscard/default.nix+2−1
This diff is too big to show here.
pkgs/development/python-modules/pyside/apiextractor.nix+1−1
This diff is too big to show here.
pkgs/development/python-modules/pyside/default.nix+4−4
This diff is too big to show here.
pkgs/development/python-modules/pyside/generatorrunner.nix+1−1
This diff is too big to show here.
pkgs/development/python-modules/pyside/shiboken.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pyside/tools.nix+1−1
This diff is too big to show here.
pkgs/development/python-modules/pyspread/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pytest-ansible/default.nix+2−3
This diff is too big to show here.
pkgs/development/python-modules/pytest-asyncio/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pytest-cov/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pytest-django/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pytest-fixture-config/default.nix+4−4
This diff is too big to show here.
pkgs/development/python-modules/pytest-flake8/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pytest-flakes/default.nix+2−1
This diff is too big to show here.
pkgs/development/python-modules/pytest-forked/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pytest-httpbin/default.nix+6−11
This diff is too big to show here.
pkgs/development/python-modules/pytest-localserver/default.nix+4−4
This diff is too big to show here.
pkgs/development/python-modules/pytest-mock/default.nix+5−5
This diff is too big to show here.
pkgs/development/python-modules/pytest-quickcheck/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pytest-server-fixtures/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pytest-services/default.nixnew file+35
This diff is too big to show here.
pkgs/development/python-modules/pytest-shutil/default.nix+5−4
This diff is too big to show here.
pkgs/development/python-modules/pytest-timeout/default.nix+5
This diff is too big to show here.
pkgs/development/python-modules/pytest-virtualenv/default.nix+6−4
This diff is too big to show here.
pkgs/development/python-modules/pytest-xdist/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pytest/3.10.nixnew file+47
This diff is too big to show here.
pkgs/development/python-modules/pytest/default.nix+3−3
This diff is too big to show here.
pkgs/development/python-modules/python-binance/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/python-daemon/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/python-dbusmock/default.nixnew file+59
This diff is too big to show here.
pkgs/development/python-modules/python-editor/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/python-rapidjson/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/python-slugify/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/python-snappy/default.nixnew file+39
This diff is too big to show here.
pkgs/development/python-modules/python-socketio/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/python-utils/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pythonix/default.nix+1
This diff is too big to show here.
pkgs/development/python-modules/pytools/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pytorch/default.nix+5−2
This diff is too big to show here.
pkgs/development/python-modules/pytz/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pytzdata/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pyunifi/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pyupdate/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/pyviz-comms/default.nixnew file+27
This diff is too big to show here.
pkgs/development/python-modules/pyzmq/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/qiskit/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/qscintilla/default.nix+3−1
This diff is too big to show here.
pkgs/development/python-modules/qtawesome/default.nix+11−2
This diff is too big to show here.
pkgs/development/python-modules/qtconsole/default.nix+1−1
This diff is too big to show here.
pkgs/development/python-modules/qtpy/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/quamash/default.nixnew file+30
This diff is too big to show here.
pkgs/development/python-modules/quantities/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/rawkit/default.nix+9−1
This diff is too big to show here.
pkgs/development/python-modules/readthedocs-sphinx-ext/default.nixnew file+32
This diff is too big to show here.
pkgs/development/python-modules/redis/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/regex/default.nix+5−2
This diff is too big to show here.
pkgs/development/python-modules/requests-oauthlib/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/requests-toolbelt/default.nix+9−5
This diff is too big to show here.
pkgs/development/python-modules/requests/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/resampy/default.nix+12−7
This diff is too big to show here.
pkgs/development/python-modules/restructuredtext_lint/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/rfc3986/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/rhpl/default.nix+2−1
This diff is too big to show here.
pkgs/development/python-modules/root_numpy/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/rope/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/rpy2/default.nix+5−1
This diff is too big to show here.
pkgs/development/python-modules/ruamel_yaml/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/s3transfer/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/salmon-mail/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/scapy/default.nix+1−1
This diff is too big to show here.
pkgs/development/python-modules/schedule/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/scikit-image/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/scipy/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/semver/default.nix+6−4
This diff is too big to show here.
pkgs/development/python-modules/seqdiag/default.nix+1−1
This diff is too big to show here.
pkgs/development/python-modules/setuptools/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/setuptools_scm/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/shapely/default.nix+18−13
This diff is too big to show here.
pkgs/development/python-modules/shapely/library-paths.patchnew file+109
This diff is too big to show here.
pkgs/development/python-modules/six/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/smart_open/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/soco/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/sopel/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/sortedcontainers/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/soupsieve/default.nixnew file+36
This diff is too big to show here.
pkgs/development/python-modules/sparse/default.nixnew file+36
This diff is too big to show here.
pkgs/development/python-modules/spectral-cube/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/spglib/default.nix+4−7
This diff is too big to show here.
pkgs/development/python-modules/sphinx-testing/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/sphinx_rtd_theme/default.nix+10−2
This diff is too big to show here.
pkgs/development/python-modules/sphinxcontrib-openapi/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/sphinxcontrib_plantuml/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/sqlmap/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/sqlobject/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/srptools/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/streamz/default.nixnew file+42
This diff is too big to show here.
pkgs/development/python-modules/stripe/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/structlog/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/supervise_api/default.nix+12−4
This diff is too big to show here.
pkgs/development/python-modules/supervise_api/supervise-path.patchnew file+15
This diff is too big to show here.
pkgs/development/python-modules/tabulate/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/telethon-session-sqlalchemy/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/tensorflow-estimator/default.nixnew file+27
This diff is too big to show here.
pkgs/development/python-modules/tensorflow-tensorboard/default.nix+11−4
This diff is too big to show here.
pkgs/development/python-modules/tensorflow/bin.nix+6−5
This diff is too big to show here.
pkgs/development/python-modules/tensorflow/prefetcher.sh+2−2
This diff is too big to show here.
pkgs/development/python-modules/tensorflow/tf1.11.0-hashes.nixdeleted−34
This diff is too big to show here.
pkgs/development/python-modules/tensorflow/tf1.13.1-hashes.nixnew file+42
This diff is too big to show here.
pkgs/development/python-modules/tensorflow/tf1.7.1-hashes.nixdeleted−34
This diff is too big to show here.
pkgs/development/python-modules/texttable/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/thespian/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/tifffile/default.nix+17−14
This diff is too big to show here.
pkgs/development/python-modules/tifffile/python2-regex-compat.patchnew file+23
This diff is too big to show here.
pkgs/development/python-modules/toposort/default.nix+1−1
This diff is too big to show here.
pkgs/development/python-modules/tox/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/tqdm/default.nix+5−3
This diff is too big to show here.
pkgs/development/python-modules/traits/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/trezor/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/trezor_agent/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/trio/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/trollius/default.nix+2
This diff is too big to show here.
pkgs/development/python-modules/trustme/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/tvdb_api/default.nix+7−1
This diff is too big to show here.
pkgs/development/python-modules/twine/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/twitter-common-collections/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/twitter-common-confluence/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/twitter-common-dirutil/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/twitter-common-lang/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/twitter-common-log/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/twitter-common-options/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/txaio/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/txtorcon/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/typed-ast/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/uproot-methods/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/uproot/default.nix+6−4
This diff is too big to show here.
pkgs/development/python-modules/vega/default.nix+1−1
This diff is too big to show here.
pkgs/development/python-modules/vega_datasets/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/venusian/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/vidstab/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/virtualenv-clone/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/virtualenv/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/virtualenv/virtualenv-change-prefix.patch+12−12
This diff is too big to show here.
pkgs/development/python-modules/virtualenvwrapper/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/voluptuous-serialize/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/waitress/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/wheel/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/whoosh/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/willow/default.nix+2−1
This diff is too big to show here.
pkgs/development/python-modules/wptserve/default.nix+4
This diff is too big to show here.
pkgs/development/python-modules/wrapt/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/wrf-python/default.nix+5−4
This diff is too big to show here.
pkgs/development/python-modules/wsproto/default.nix+9−3
This diff is too big to show here.
pkgs/development/python-modules/wurlitzer/default.nixnew file+28
This diff is too big to show here.
pkgs/development/python-modules/wxPython/3.0.nix+8−6
This diff is too big to show here.
pkgs/development/python-modules/xkcdpass/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/xlrd/default.nix+5−5
This diff is too big to show here.
pkgs/development/python-modules/xml2rfc/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/xmltodict/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/xnd/default.nixnew file+31
This diff is too big to show here.
pkgs/development/python-modules/xstatic-bootstrap/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/yamllint/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/yapf/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/yattag/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/zconfig/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/zetup/default.nix+1−1
This diff is too big to show here.
pkgs/development/python-modules/zm-py/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/zope_configuration/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/zope_deprecation/default.nix+2−2
This diff is too big to show here.
pkgs/development/python-modules/zope_i18n/default.nix+2−2
This diff is too big to show here.
pkgs/development/r-modules/default.nix+1
This diff is too big to show here.
pkgs/development/ruby-modules/gem-config/default.nix+5−1
This diff is too big to show here.
pkgs/development/tools/analysis/checkstyle/default.nix+2−2
This diff is too big to show here.
pkgs/development/tools/analysis/cppcheck/default.nix+2−2
This diff is too big to show here.
pkgs/development/tools/analysis/egypt/default.nix+1−1
This diff is too big to show here.
pkgs/development/tools/analysis/flow/default.nix+2−2
This diff is too big to show here.
pkgs/development/tools/analysis/jdepend/default.nix+2−2
This diff is too big to show here.
pkgs/development/tools/analysis/pmd/default.nix+2−2
This diff is too big to show here.
pkgs/development/tools/analysis/radare2/default.nix+22−16
This diff is too big to show here.
pkgs/development/tools/analysis/radare2/update.py+7−7
This diff is too big to show here.
pkgs/development/tools/ansible-lint/default.nixdeleted−36
This diff is too big to show here.
pkgs/development/tools/bazel-watcher/default.nix+3−3
This diff is too big to show here.
pkgs/development/tools/build-managers/bazel/buildtools/default.nix+5−5
This diff is too big to show here.
pkgs/development/tools/build-managers/bazel/buildtools/deps.nix+5−13
This diff is too big to show here.
pkgs/development/tools/build-managers/bazel/default.nix+3−2
This diff is too big to show here.
pkgs/development/tools/build-managers/cmake/application-services.patch+37−3
This diff is too big to show here.
pkgs/development/tools/build-managers/cmake/default.nix+16−11
This diff is too big to show here.
pkgs/development/tools/build-managers/dub/default.nix+59−92
This diff is too big to show here.
pkgs/development/tools/build-managers/gup/default.nix+3−2
This diff is too big to show here.
pkgs/development/tools/build-managers/leiningen/default.nix+3−3
This diff is too big to show here.
pkgs/development/tools/build-managers/ninja/default.nix+7
This diff is too big to show here.
pkgs/development/tools/build-managers/pants/default.nix+7−7
This diff is too big to show here.
pkgs/development/tools/buildah/default.nix+2−2
This diff is too big to show here.
pkgs/development/tools/cachix/cachix-api.nixnew file+33
This diff is too big to show here.
pkgs/development/tools/cachix/cachix.nixnew file+39
This diff is too big to show here.
pkgs/development/tools/cachix/default.nixnew file+8
This diff is too big to show here.
pkgs/development/tools/clog-cli/default.nix+1−1
This diff is too big to show here.
pkgs/development/tools/continuous-integration/gitlab-runner/default.nix+4−4
This diff is too big to show here.
pkgs/development/tools/database/squirrel-sql/default.nix+2−2
This diff is too big to show here.
pkgs/development/tools/database/timescaledb-parallel-copy/default.nix+1−1
This diff is too big to show here.
pkgs/development/tools/deis/default.nix+1−1
This diff is too big to show here.
pkgs/development/tools/deisctl/default.nix+1−1
This diff is too big to show here.
pkgs/development/tools/delve/default.nix+4−4
This diff is too big to show here.
pkgs/development/tools/devpi-client/default.nix+1−1
This diff is too big to show here.
pkgs/development/tools/dive/default.nix+3−3
This diff is too big to show here.
pkgs/development/tools/dive/deps.nix+20
This diff is too big to show here.
pkgs/development/tools/dtools/default.nix+4−2
This diff is too big to show here.
pkgs/development/tools/electron/3.x.nix+6−6
This diff is too big to show here.
pkgs/development/tools/electron/default.nix+6−6
This diff is too big to show here.
pkgs/development/tools/flatpak-builder/default.nix+2−2
This diff is too big to show here.
pkgs/development/tools/go-outline/default.nix+3−3
This diff is too big to show here.
pkgs/development/tools/go-protobuf/default.nix+1−1
This diff is too big to show here.
pkgs/development/tools/go-symbols/default.nix+3−4
This diff is too big to show here.
pkgs/development/tools/haskell/hyper-haskell/default.nix+3−2
This diff is too big to show here.
pkgs/development/tools/icestorm/default.nix+3−3
This diff is too big to show here.
pkgs/development/tools/jazzy/Gemfile.lock+42−40
This diff is too big to show here.
pkgs/development/tools/jazzy/default.nix+1
This diff is too big to show here.
pkgs/development/tools/jazzy/gemset.nix+107−49
This diff is too big to show here.
pkgs/development/tools/jazzy/update+5−7
This diff is too big to show here.
pkgs/development/tools/jbake/default.nix+2−2
This diff is too big to show here.
pkgs/development/tools/kustomize/default.nix+4−4
This diff is too big to show here.
pkgs/development/tools/leaps/default.nix+1−1
This diff is too big to show here.
pkgs/development/tools/mbed-cli/default.nix+15−4
This diff is too big to show here.
pkgs/development/tools/misc/ccls/default.nix+8−4
This diff is too big to show here.
pkgs/development/tools/misc/circleci-cli/default.nix+1−1
This diff is too big to show here.
pkgs/development/tools/misc/cquery/default.nix+3−2
This diff is too big to show here.
pkgs/development/tools/misc/ctags/wrapped.nix+1−1
This diff is too big to show here.
pkgs/development/tools/misc/d-feet/default.nix+1−1
This diff is too big to show here.
pkgs/development/tools/misc/dialog/default.nix+2−2
This diff is too big to show here.
pkgs/development/tools/misc/distcc/default.nix+3−2
This diff is too big to show here.
pkgs/development/tools/misc/loccount/default.nix+1−1
This diff is too big to show here.
pkgs/development/tools/misc/luarocks/darwin.patch+25−25
This diff is too big to show here.
pkgs/development/tools/misc/luarocks/default.nix+14−19
This diff is too big to show here.
pkgs/development/tools/misc/luarocks/luarocks-nix.nix+3−2
This diff is too big to show here.
pkgs/development/tools/misc/opengrok/default.nix+2−2
This diff is too big to show here.
pkgs/development/tools/misc/saleae-logic/default.nix+2−2
This diff is too big to show here.
pkgs/development/tools/ocaml/obelisk/default.nix+2−2
This diff is too big to show here.
pkgs/development/tools/ocaml/ocamlbuild/default.nix+2−2
This diff is too big to show here.
pkgs/development/tools/ocaml/utop/default.nix+1−1
This diff is too big to show here.
pkgs/development/tools/parsing/bison/3.x.nix+2−2
This diff is too big to show here.
pkgs/development/tools/pipenv/default.nix+29−18
This diff is too big to show here.
pkgs/development/tools/profiling/sysprof/default.nix+1−1
This diff is too big to show here.
pkgs/development/tools/react-native-debugger/default.nix+2−2
This diff is too big to show here.
pkgs/development/tools/rust/bindgen/default.nix+3−2
This diff is too big to show here.
pkgs/development/tools/rust/rustup/default.nix+8−4
This diff is too big to show here.
pkgs/development/tools/skaffold/default.nix+4−4
This diff is too big to show here.
pkgs/development/tools/skopeo/default.nix+2−2
This diff is too big to show here.
pkgs/development/tools/trellis/default.nix+5−5
This diff is too big to show here.
pkgs/development/tools/vagrant/default.nix+4−3
This diff is too big to show here.
pkgs/development/tools/vagrant/gemset.nix+46−21
This diff is too big to show here.
pkgs/development/tools/vagrant/unofficial-installation-nowarn.patch+8−8
This diff is too big to show here.
pkgs/development/tools/vim-vint/default.nix+3−3
This diff is too big to show here.
pkgs/development/tools/wp-cli/default.nix+2−2
This diff is too big to show here.
pkgs/development/tools/xcbuild/wrapper.nix+3−2
This diff is too big to show here.
pkgs/development/web/nodejs/nodejs.nix+2−2
This diff is too big to show here.
pkgs/development/web/nodejs/update.nix+2−1
This diff is too big to show here.
pkgs/games/andyetitmoves/default.nix+2−2
This diff is too big to show here.
pkgs/games/anki/default.nix+4−4
This diff is too big to show here.
pkgs/games/arx-libertatis/default.nix+23−11
This diff is too big to show here.
pkgs/games/astromenace/default.nix+2−2
This diff is too big to show here.
pkgs/games/cataclysm-dda/common.nix+2−2
This diff is too big to show here.
pkgs/games/eduke32/default.nix+2−2
This diff is too big to show here.
pkgs/games/factorio/default.nix+2−2
This diff is too big to show here.
pkgs/games/fsg/default.nix+3−2
This diff is too big to show here.
pkgs/games/gcompris/default.nix+2−2
This diff is too big to show here.
pkgs/games/instead/default.nix+2−2
This diff is too big to show here.
pkgs/games/ivan/default.nix+2−2
This diff is too big to show here.
pkgs/games/minetest/default.nix+3−5
This diff is too big to show here.
pkgs/games/multimc/default.nix+3−5
This diff is too big to show here.
pkgs/games/oilrush/default.nix+4−4
This diff is too big to show here.
pkgs/games/openttd/default.nix+2−2
This diff is too big to show here.
pkgs/games/privateer/default.nix+1−1
This diff is too big to show here.
pkgs/games/sauerbraten/default.nix+3−3
This diff is too big to show here.
pkgs/games/scummvm/games.nix+2−2
This diff is too big to show here.
pkgs/games/simutrans/default.nix+2−3
This diff is too big to show here.
pkgs/games/speed-dreams/default.nix+2−2
This diff is too big to show here.
pkgs/games/steam/chrootenv.nix+5−4
This diff is too big to show here.
pkgs/games/steam/steam.nix+4−4
This diff is too big to show here.
pkgs/games/stepmania/default.nix+2−2
This diff is too big to show here.
pkgs/games/super-tux-kart/default.nix+9−1
This diff is too big to show here.
pkgs/games/tcl2048/default.nix+2−2
This diff is too big to show here.
pkgs/games/tibia/default.nix+2−2
This diff is too big to show here.
pkgs/games/tremulous/default.nix+2−2
This diff is too big to show here.
pkgs/games/trigger/default.nix+5−4
This diff is too big to show here.
pkgs/games/vessel/default.nix+9−9
This diff is too big to show here.
pkgs/games/worldofgoo/default.nix+9−8
This diff is too big to show here.
pkgs/games/xpilot/default.nix+11−14
This diff is too big to show here.
pkgs/misc/acpilight/default.nixnew file+32
This diff is too big to show here.
pkgs/misc/cups/drivers/brgenml1lpr/default.nix+1−1
This diff is too big to show here.
pkgs/misc/cups/drivers/hl3140cw/default.nixnew file+78
This diff is too big to show here.
pkgs/misc/cups/drivers/mfcj6510dwlpr/default.nix+2−2
This diff is too big to show here.
pkgs/misc/cups/filters.nix+2−2
This diff is too big to show here.
pkgs/misc/drivers/hplip/default.nix+3−3
This diff is too big to show here.
pkgs/misc/emulators/cdemu/analyzer.nix+1−1
This diff is too big to show here.
pkgs/misc/emulators/cdemu/gui.nix+1−1
This diff is too big to show here.
pkgs/misc/emulators/dolphin-emu/master.nix+3−3
This diff is too big to show here.
pkgs/misc/emulators/higan/default.nix+5−4
This diff is too big to show here.
pkgs/misc/emulators/kega-fusion/default.nix+2−2
This diff is too big to show here.
pkgs/misc/emulators/mgba/default.nix+3−8
This diff is too big to show here.
pkgs/misc/emulators/retroarch/kodi-advanced-launchers.nix+2−2
This diff is too big to show here.
pkgs/misc/emulators/retrofe/default.nix+2−2
This diff is too big to show here.
pkgs/misc/gnash/default.nix+5−5
This diff is too big to show here.
pkgs/misc/screensavers/pipes/default.nix+1−1
This diff is too big to show here.
pkgs/misc/urbit/default.nix+3−3
This diff is too big to show here.
pkgs/misc/vim-plugins/overrides.nix+7−1
This diff is too big to show here.
pkgs/misc/vim-plugins/update.py+8−4
This diff is too big to show here.
pkgs/misc/vim-plugins/vim-utils.nix+46−8
This diff is too big to show here.
pkgs/misc/vscode-extensions/cpptools/default.nix+2−2
This diff is too big to show here.
pkgs/misc/vscode-extensions/wakatime/default.nix+6−6
This diff is too big to show here.
pkgs/os-specific/darwin/apple-source-releases/default.nix+2−2
This diff is too big to show here.
pkgs/os-specific/darwin/cctools/ld-tbd-v2.patchnew file+98
This diff is too big to show here.
pkgs/os-specific/darwin/cctools/port.nix+39−12
This diff is too big to show here.
pkgs/os-specific/darwin/cctools/support-ios.patchnew file+13
This diff is too big to show here.
pkgs/os-specific/darwin/cctools/undo-unknown-triple.patchnew file+17
This diff is too big to show here.
pkgs/os-specific/darwin/stubs/default.nix+2−2
This diff is too big to show here.
pkgs/os-specific/darwin/swift-corelibs/corefoundation.nix+8−2
This diff is too big to show here.
pkgs/os-specific/darwin/xcode/sdk-pkgs.nix+1
This diff is too big to show here.
pkgs/os-specific/linux/bbswitch/default.nix+3−3
This diff is too big to show here.
pkgs/os-specific/linux/bcc/default.nix+1−1
This diff is too big to show here.
pkgs/os-specific/linux/bolt/0001-skip-mkdir.patchnew file+12
This diff is too big to show here.
pkgs/os-specific/linux/bolt/default.nixnew file+61
This diff is too big to show here.
pkgs/os-specific/linux/busybox/default.nix+2−2
This diff is too big to show here.
pkgs/os-specific/linux/conky/default.nix+2−2
This diff is too big to show here.
pkgs/os-specific/linux/cryptsetup/default.nix+4−4
This diff is too big to show here.
pkgs/os-specific/linux/firejail/default.nix+4−4
This diff is too big to show here.
pkgs/os-specific/linux/forkstat/default.nix+3−3
This diff is too big to show here.
pkgs/os-specific/linux/fuse/default.nix+2−2
This diff is too big to show here.
pkgs/os-specific/linux/hostapd/default.nix+2−51
This diff is too big to show here.
pkgs/os-specific/linux/iw/default.nix+5−4
This diff is too big to show here.
pkgs/os-specific/linux/kernel/common-config.nix+4
This diff is too big to show here.
pkgs/os-specific/linux/kernel/linux-4.14.nix+2−2
This diff is too big to show here.
pkgs/os-specific/linux/kernel/linux-4.19.nix+2−2
This diff is too big to show here.
pkgs/os-specific/linux/kernel/linux-4.20.nix+2−2
This diff is too big to show here.
pkgs/os-specific/linux/kernel/linux-4.4.nix+2−2
This diff is too big to show here.
pkgs/os-specific/linux/kernel/linux-4.9.nix+2−2
This diff is too big to show here.
pkgs/os-specific/linux/kernel/linux-5.0.nixnew file+18
This diff is too big to show here.
pkgs/os-specific/linux/kernel/linux-testing-bcachefs.nix+3−3
This diff is too big to show here.
pkgs/os-specific/linux/kernel/linux-testing.nix+3−3
This diff is too big to show here.
pkgs/os-specific/linux/ledger-udev-rules/default.nixnew file+29
This diff is too big to show here.
pkgs/os-specific/linux/mwprocapture/default.nix+2−2
This diff is too big to show here.
pkgs/os-specific/linux/nvidia-x11/builder.sh+5−1
This diff is too big to show here.
pkgs/os-specific/linux/nvidia-x11/default.nix+11−11
This diff is too big to show here.
pkgs/os-specific/linux/nvidia-x11/persistenced.nix+5
This diff is too big to show here.
pkgs/os-specific/linux/pam_usb/default.nix+2−2
This diff is too big to show here.
pkgs/os-specific/linux/piper/default.nix+4−4
This diff is too big to show here.
pkgs/os-specific/linux/powertop/default.nix+1−1
This diff is too big to show here.
pkgs/os-specific/linux/pscircle/default.nix+2−2
This diff is too big to show here.
pkgs/os-specific/linux/rfkill/udev.nix+2−2
This diff is too big to show here.
pkgs/os-specific/linux/s6-linux-utils/default.nix+2−2
This diff is too big to show here.
pkgs/os-specific/linux/smemstat/default.nix+3−3
This diff is too big to show here.
pkgs/os-specific/linux/spl/default.nix+3−3
This diff is too big to show here.
pkgs/os-specific/linux/spl/install_prefix.patch+10−4
This diff is too big to show here.
pkgs/os-specific/linux/systemd/default.nix+2−2
This diff is too big to show here.
pkgs/os-specific/linux/sysvinit/default.nix+2−2
This diff is too big to show here.
pkgs/os-specific/linux/tp_smapi/default.nix+2−2
This diff is too big to show here.
pkgs/os-specific/linux/tp_smapi/update.nix+2−2
This diff is too big to show here.
pkgs/os-specific/linux/wireless-tools/default.nix+10−6
This diff is too big to show here.
pkgs/os-specific/linux/wpa_supplicant/build-fix.patchdeleted−12
This diff is too big to show here.
pkgs/os-specific/linux/wpa_supplicant/default.nix+7−43
This diff is too big to show here.
pkgs/os-specific/linux/zfs/default.nix+7−5
This diff is too big to show here.
pkgs/servers/amqp/rabbitmq-server/default.nix+2−2
This diff is too big to show here.
pkgs/servers/atlassian/confluence.nix+3−3
This diff is too big to show here.
pkgs/servers/atlassian/crowd.nix+2−2
This diff is too big to show here.
pkgs/servers/bird/default.nix+6−6
This diff is too big to show here.
pkgs/servers/bird/dont-create-sysconfdir-1.patch+2−9
This diff is too big to show here.
pkgs/servers/bird/dont-create-sysconfdir-2.patch+2−9
This diff is too big to show here.
pkgs/servers/caddy/default.nix+2−2
This diff is too big to show here.
pkgs/servers/cloud-print-connector/default.nix+1−1
This diff is too big to show here.
pkgs/servers/consul/default.nix+2−2
This diff is too big to show here.
pkgs/servers/dns/bind/default.nix+2−2
This diff is too big to show here.
pkgs/servers/dns/knot-dns/default.nix+2−2
This diff is too big to show here.
pkgs/servers/dns/knot-resolver/default.nix+14−1
This diff is too big to show here.
pkgs/servers/home-assistant/cli.nix+2−2
This diff is too big to show here.
pkgs/servers/home-assistant/component-packages.nix+62−20
This diff is too big to show here.
pkgs/servers/home-assistant/default.nix+25−8
This diff is too big to show here.
pkgs/servers/home-assistant/dont-import-platformio-esptool.patchdeleted−119
This diff is too big to show here.
pkgs/servers/home-assistant/esphome.nix+15−17
This diff is too big to show here.
pkgs/servers/home-assistant/frontend.nix+2−2
This diff is too big to show here.
pkgs/servers/http/apache-modules/mod_fastcgi/default.nix+14−11
This diff is too big to show here.
pkgs/servers/http/nginx/mainline.nix+2−2
This diff is too big to show here.
pkgs/servers/jackett/default.nix+2−2
This diff is too big to show here.
pkgs/servers/mail/postfix/default.nix+2−2
This diff is too big to show here.
pkgs/servers/mail/spamassassin/default.nix+3−3
This diff is too big to show here.
pkgs/servers/mail/system-sendmail/default.nix+2−2
This diff is too big to show here.
pkgs/servers/matrix-synapse/default.nix+9−4
This diff is too big to show here.
pkgs/servers/matrix-synapse/homeserver-script.patchnew file+21
This diff is too big to show here.
pkgs/servers/meteor/default.nix+2−2
This diff is too big to show here.
pkgs/servers/minio/default.nix+2−2
This diff is too big to show here.
pkgs/servers/misc/taskserver/default.nix+1−1
This diff is too big to show here.
pkgs/servers/monitoring/bosun/default.nix+1−1
This diff is too big to show here.
pkgs/servers/monitoring/cadvisor/default.nix+2
This diff is too big to show here.
pkgs/servers/monitoring/grafana/default.nix+5−3
This diff is too big to show here.
pkgs/servers/monitoring/plugins/default.nix+3−2
This diff is too big to show here.
pkgs/servers/monitoring/prometheus/pushgateway.nix+23−17
This diff is too big to show here.
pkgs/servers/monitoring/telegraf/default.nix+1−1
This diff is too big to show here.
pkgs/servers/mqtt/mosquitto/default.nix+18−10
This diff is too big to show here.
pkgs/servers/nextcloud/default.nix+2−2
This diff is too big to show here.
pkgs/servers/nginx-sso/default.nix+2−2
This diff is too big to show here.
pkgs/servers/nosql/apache-jena/fuseki-binary.nix+2−2
This diff is too big to show here.
pkgs/servers/nosql/eventstore/default.nix+2−2
This diff is too big to show here.
pkgs/servers/nosql/riak-cs/2.1.1.nix+1
This diff is too big to show here.
pkgs/servers/nosql/riak/2.2.0.nix+1
This diff is too big to show here.
pkgs/servers/openafs/1.6/module.nix+21−2
This diff is too big to show here.
pkgs/servers/openafs/1.8/module.nix+31−1
This diff is too big to show here.
pkgs/servers/plexpy/default.nixdeleted−41
This diff is too big to show here.
pkgs/servers/samba/4.x.nix+5−3
This diff is too big to show here.
pkgs/servers/search/groonga/default.nix+2−2
This diff is too big to show here.
pkgs/servers/search/solr/default.nix+3−3
This diff is too big to show here.
pkgs/servers/slimserver/default.nix+1−1
This diff is too big to show here.
pkgs/servers/smcroute/default.nix+2−2
This diff is too big to show here.
pkgs/servers/sql/cockroachdb/default.nix+2−2
This diff is too big to show here.
pkgs/servers/sql/mysql/5.7.x.nix+1−1
This diff is too big to show here.
pkgs/servers/sql/percona/5.6.x.nix+2−4
This diff is too big to show here.
pkgs/servers/sql/postgresql/default.nix+2−2
This diff is too big to show here.
pkgs/servers/tautulli/default.nixnew file+55
This diff is too big to show here.
pkgs/servers/teleport/default.nix+1−1
This diff is too big to show here.
pkgs/servers/traefik/default.nix+2−2
This diff is too big to show here.
pkgs/servers/trezord/default.nix+1−1
This diff is too big to show here.
pkgs/servers/ttyd/default.nixnew file+37
This diff is too big to show here.
pkgs/servers/tvheadend/default.nix+2−2
This diff is too big to show here.
pkgs/servers/uftp/default.nix+2−2
This diff is too big to show here.
pkgs/servers/unifi/default.nix+2−2
This diff is too big to show here.
pkgs/servers/uwsgi/default.nix+2−2
This diff is too big to show here.
pkgs/servers/web-apps/codimd/default.nix+2−2
This diff is too big to show here.
pkgs/servers/web-apps/shaarli/default.nix+2−2
This diff is too big to show here.
pkgs/servers/x11/xorg/default.nix+58−32
This diff is too big to show here.
pkgs/servers/x11/xorg/overrides.nix+8
This diff is too big to show here.
pkgs/servers/x11/xorg/tarballs.list+12−10
This diff is too big to show here.
pkgs/servers/xmpp/pyIRCt/default.nix+2−2
This diff is too big to show here.
pkgs/servers/xmpp/pyMAILt/default.nix+2−2
This diff is too big to show here.
pkgs/servers/zookeeper/default.nix+2−2
This diff is too big to show here.
pkgs/shells/fish/default.nix+2−2
This diff is too big to show here.
pkgs/shells/zsh/antibody/default.nix+5−5
This diff is too big to show here.
pkgs/shells/zsh/antibody/deps.nix+110−73
This diff is too big to show here.
pkgs/shells/zsh/default.nix+1−1
This diff is too big to show here.
pkgs/shells/zsh/gradle-completion/default.nix+2−2
This diff is too big to show here.
pkgs/shells/zsh/zsh-git-prompt/default.nix+7−6
This diff is too big to show here.
pkgs/stdenv/cross/default.nix+2
This diff is too big to show here.
pkgs/stdenv/default.nix+1
This diff is too big to show here.
pkgs/stdenv/generic/make-derivation.nix+4−1
This diff is too big to show here.
pkgs/stdenv/linux/default.nix+1
This diff is too big to show here.
pkgs/test/cross/default.nix+31−21
This diff is too big to show here.
pkgs/tools/X11/ckbcomp/default.nix+2−2
This diff is too big to show here.
pkgs/tools/X11/primus/default.nix+2−1
This diff is too big to show here.
pkgs/tools/X11/xsecurelock/default.nix+4−4
This diff is too big to show here.
pkgs/tools/admin/analog/default.nix+9−9
This diff is too big to show here.
pkgs/tools/admin/ansible/default.nix+17−62
This diff is too big to show here.
pkgs/tools/admin/awscli/default.nix+9−2
This diff is too big to show here.
pkgs/tools/admin/nomachine-client/default.nix+9−7
This diff is too big to show here.
pkgs/tools/admin/oxidized/Gemfile+2−2
This diff is too big to show here.
pkgs/tools/admin/oxidized/Gemfile.lock+14−14
This diff is too big to show here.
pkgs/tools/admin/oxidized/gemset.nix+18−18
This diff is too big to show here.
pkgs/tools/admin/sewer/default.nix+2−7
This diff is too big to show here.
pkgs/tools/admin/virtscreen/default.nixnew file+39
This diff is too big to show here.
pkgs/tools/archivers/afio/0001-makefile-fix-installation.patchnew file+45
This diff is too big to show here.
pkgs/tools/archivers/afio/afio-2.5.1-install.patchdeleted−48
This diff is too big to show here.
pkgs/tools/archivers/afio/default.nix+3−3
This diff is too big to show here.
pkgs/tools/archivers/cabextract/default.nix+2−2
This diff is too big to show here.
pkgs/tools/archivers/unrar/default.nix+2−2
This diff is too big to show here.
pkgs/tools/audio/abcmidi/default.nix+2−2
This diff is too big to show here.
pkgs/tools/audio/beets/default.nix+12−10
This diff is too big to show here.
pkgs/tools/audio/gvolicon/default.nix+1−1
This diff is too big to show here.
pkgs/tools/audio/mpdris2/default.nix+2−2
This diff is too big to show here.
pkgs/tools/audio/pasystray/default.nix+1−1
This diff is too big to show here.
pkgs/tools/backup/borg/default.nix+21−7
This diff is too big to show here.
pkgs/tools/backup/burp/default.nix+2−2
This diff is too big to show here.
pkgs/tools/backup/dar/default.nix+2−2
This diff is too big to show here.
pkgs/tools/backup/ddar/default.nix+1
This diff is too big to show here.
pkgs/tools/backup/dirvish/default.nixnew file+62
This diff is too big to show here.
pkgs/tools/backup/flockit/default.nix+2−2
This diff is too big to show here.
pkgs/tools/cd-dvd/cdimgtools/default.nixnew file+36
This diff is too big to show here.
pkgs/tools/cd-dvd/cdimgtools/nrgtool_fix_my.patchnew file+12
This diff is too big to show here.
pkgs/tools/cd-dvd/cdimgtools/removed_dvdcss_interface_2.patchnew file+53
This diff is too big to show here.
pkgs/tools/cd-dvd/cuetools/default.nix+12−5
This diff is too big to show here.
pkgs/tools/compression/mozlz4a/default.nix+2−2
This diff is too big to show here.
pkgs/tools/compression/xar/default.nix+2−2
This diff is too big to show here.
pkgs/tools/filesystems/btrfs-progs/default.nix+2−2
This diff is too big to show here.
pkgs/tools/filesystems/cryfs/default.nix+2−2
This diff is too big to show here.
pkgs/tools/filesystems/davfs2/default.nix+2−3
This diff is too big to show here.
pkgs/tools/filesystems/gcsfuse/default.nix+1−1
This diff is too big to show here.
pkgs/tools/filesystems/mhddfs/default.nix+5
This diff is too big to show here.
pkgs/tools/filesystems/netatalk/default.nix+2−2
This diff is too big to show here.
pkgs/tools/filesystems/nixpart/0.4/cryptsetup.nix+1−1
This diff is too big to show here.
pkgs/tools/filesystems/smbnetfs/default.nix+4
This diff is too big to show here.
pkgs/tools/graphics/briss/default.nix+2−2
This diff is too big to show here.
pkgs/tools/graphics/graph-easy/default.nix+1−1
This diff is too big to show here.
pkgs/tools/graphics/grim/default.nix+2−2
This diff is too big to show here.
pkgs/tools/graphics/gromit-mpx/default.nix+3−3
This diff is too big to show here.
pkgs/tools/graphics/lepton/default.nixnew file+24
This diff is too big to show here.
pkgs/tools/graphics/luxcorerender/default.nix+2−2
This diff is too big to show here.
pkgs/tools/graphics/mscgen/default.nix+2−2
This diff is too big to show here.
pkgs/tools/inputmethods/fcitx/fcitx-configtool.nix+1−1
This diff is too big to show here.
pkgs/tools/inputmethods/ibus-engines/ibus-typing-booster/default.nix+2−2
This diff is too big to show here.
pkgs/tools/inputmethods/ibus/default.nix+11−4
This diff is too big to show here.
pkgs/tools/misc/aescrypt/default.nix+2−2
This diff is too big to show here.
pkgs/tools/misc/aptly/default.nix+5−5
This diff is too big to show here.
pkgs/tools/misc/automirror/default.nixnew file+27
This diff is too big to show here.
pkgs/tools/misc/bdf2psf/default.nix+2−2
This diff is too big to show here.
pkgs/tools/misc/birdfont/default.nix+2−2
This diff is too big to show here.
pkgs/tools/misc/broot/default.nix+3−3
This diff is too big to show here.
pkgs/tools/misc/capture/0001-eval-fix.patchdeleted−10
This diff is too big to show here.
pkgs/tools/misc/capture/0002-sane-defaults.patchdeleted−22
This diff is too big to show here.
pkgs/tools/misc/capture/default.nix+5−6
This diff is too big to show here.
pkgs/tools/misc/catimg/default.nixnew file+26
This diff is too big to show here.
pkgs/tools/misc/dasht/default.nixnew file+64
This diff is too big to show here.
pkgs/tools/misc/dtach/default.nix+1−1
This diff is too big to show here.
pkgs/tools/misc/execline/default.nix+10−3
This diff is too big to show here.
pkgs/tools/misc/fltrdr/default.nixnew file+40
This diff is too big to show here.
pkgs/tools/misc/fluentd/Gemfile−1
This diff is too big to show here.
pkgs/tools/misc/fluentd/Gemfile.lock+642−85
This diff is too big to show here.
pkgs/tools/misc/fluentd/gemset.nix+1415−150
This diff is too big to show here.
pkgs/tools/misc/fsql/default.nix+1−1
This diff is too big to show here.
pkgs/tools/misc/fzf/default.nix+2−2
This diff is too big to show here.
pkgs/tools/misc/graylog/default.nix+3−3
This diff is too big to show here.
pkgs/tools/misc/graylog/plugins.nix+4−4
This diff is too big to show here.
pkgs/tools/misc/hdf5/0001-Updated-H5S-to-use-the-MPI-2-function-MPI_Type_get_e.patchnew file+58
This diff is too big to show here.
pkgs/tools/misc/hdf5/0001-Yanked-all-MPI-1-calls.patchnew file+115
This diff is too big to show here.
pkgs/tools/misc/hdf5/default.nix+8−2
This diff is too big to show here.
pkgs/tools/misc/heatseeker/default.nix+1−1
This diff is too big to show here.
pkgs/tools/misc/jdupes/default.nix+2−2
This diff is too big to show here.
pkgs/tools/misc/kargo/default.nix+2−2
This diff is too big to show here.
pkgs/tools/misc/lf/default.nix+2−2
This diff is too big to show here.
pkgs/tools/misc/mcfly/default.nixnew file+30
This diff is too big to show here.
pkgs/tools/misc/mpdscribble/default.nix+1−1
This diff is too big to show here.
pkgs/tools/misc/multitail/default.nix+1−1
This diff is too big to show here.
pkgs/tools/misc/odroid-xu3-bootloader/default.nix+2−2
This diff is too big to show here.
pkgs/tools/misc/osinfo-db-tools/default.nix+6−5
This diff is too big to show here.
pkgs/tools/misc/papis/default.nix+10−22
This diff is too big to show here.
pkgs/tools/misc/parallel/default.nix+2−2
This diff is too big to show here.
pkgs/tools/misc/pb_cli/0001-eval-fix.patchdeleted−10
This diff is too big to show here.
pkgs/tools/misc/pb_cli/default.nix+6−7
This diff is too big to show here.
pkgs/tools/misc/plantuml/default.nix+2−2
This diff is too big to show here.
pkgs/tools/misc/rpm-ostree/default.nix+2−2
This diff is too big to show here.
pkgs/tools/misc/s6-portable-utils/default.nix+2−2
This diff is too big to show here.
pkgs/tools/misc/scfbuild/default.nix+2−2
This diff is too big to show here.
pkgs/tools/misc/skim/default.nix+3−2
This diff is too big to show here.
pkgs/tools/misc/slurp/default.nix+10−5
This diff is too big to show here.
pkgs/tools/misc/smc/default.nix+2−2
This diff is too big to show here.
pkgs/tools/misc/smenu/default.nix+1−1
This diff is too big to show here.
pkgs/tools/misc/tmuxp/default.nix+2−2
This diff is too big to show here.
pkgs/tools/misc/toybox/default.nixnew file+65
This diff is too big to show here.
pkgs/tools/misc/trash-cli/default.nix+4−2
This diff is too big to show here.
pkgs/tools/misc/umlet/default.nix+2−2
This diff is too big to show here.
pkgs/tools/misc/vcs_query/default.nixnew file+31
This diff is too big to show here.
pkgs/tools/misc/vdirsyncer/default.nix+7−1
This diff is too big to show here.
pkgs/tools/misc/vimer/default.nix+1−1
This diff is too big to show here.
pkgs/tools/misc/wakatime/default.nix+2−2
This diff is too big to show here.
pkgs/tools/misc/xdummy/default.nix+2−2
This diff is too big to show here.
pkgs/tools/misc/xfstests/default.nix+2−2
This diff is too big to show here.
pkgs/tools/misc/xmonad-log/default.nix+1−1
This diff is too big to show here.
pkgs/tools/misc/xsel/default.nix+3−8
This diff is too big to show here.
pkgs/tools/misc/youtube-dl/default.nix+2−2
This diff is too big to show here.
pkgs/tools/misc/yubikey-personalization/default.nix+2−2
This diff is too big to show here.
pkgs/tools/misc/zsh-autoenv/default.nix+2−2
This diff is too big to show here.
pkgs/tools/networking/aircrack-ng/default.nix+1−1
This diff is too big to show here.
pkgs/tools/networking/airfield/default.nix+2−2
This diff is too big to show here.
pkgs/tools/networking/burpsuite/default.nix+2−2
This diff is too big to show here.
pkgs/tools/networking/dd-agent/6.nix+7−5
This diff is too big to show here.
pkgs/tools/networking/dd-agent/datadog-process-agent-deps.nix+34−34
This diff is too big to show here.
pkgs/tools/networking/dd-agent/datadog-process-agent.nix+3−4
This diff is too big to show here.
pkgs/tools/networking/dd-agent/datadog-trace-agent-deps.nixdeleted−156
This diff is too big to show here.
pkgs/tools/networking/dd-agent/datadog-trace-agent.nixdeleted−25
This diff is too big to show here.
pkgs/tools/networking/dd-agent/deps.nix+306−45
This diff is too big to show here.
pkgs/tools/networking/dd-agent/integrations-core.nix+1−1
This diff is too big to show here.
pkgs/tools/networking/dhcpcd/default.nix+2−2
This diff is too big to show here.
pkgs/tools/networking/easyrsa/default.nix+2−2
This diff is too big to show here.
pkgs/tools/networking/filegive/default.nix+1−1
This diff is too big to show here.
pkgs/tools/networking/gandi-cli/default.nix+2−2
This diff is too big to show here.
pkgs/tools/networking/getmail/default.nix+2−2
This diff is too big to show here.
pkgs/tools/networking/gupnp-tools/default.nix+1−1
This diff is too big to show here.
pkgs/tools/networking/haproxy/default.nix+2−2
This diff is too big to show here.
pkgs/tools/networking/http-prompt/default.nix+1−1
This diff is too big to show here.
pkgs/tools/networking/ip2unix/default.nix+2−2
This diff is too big to show here.
pkgs/tools/networking/lftp/default.nix+4
This diff is too big to show here.
pkgs/tools/networking/linkchecker/default.nix+1
This diff is too big to show here.
pkgs/tools/networking/nettee/default.nixnew file+67
This diff is too big to show here.
pkgs/tools/networking/network-manager/applet.nix+3−3
This diff is too big to show here.
pkgs/tools/networking/network-manager/fortisslvpn/default.nix+2−2
This diff is too big to show here.
pkgs/tools/networking/network-manager/iodine/default.nix+2−2
This diff is too big to show here.
pkgs/tools/networking/network-manager/l2tp/default.nix+2−2
This diff is too big to show here.
pkgs/tools/networking/network-manager/openconnect/default.nix+2−2
This diff is too big to show here.
pkgs/tools/networking/network-manager/openvpn/default.nix+2−2
This diff is too big to show here.
pkgs/tools/networking/network-manager/vpnc/default.nix+2−2
This diff is too big to show here.
pkgs/tools/networking/ntp/default.nix+2−2
This diff is too big to show here.
pkgs/tools/networking/openconnect/default.nix+4−9
This diff is too big to show here.
pkgs/tools/networking/p2p/tahoe-lafs/default.nix+5−3
This diff is too big to show here.
pkgs/tools/networking/radvd/default.nix+2−2
This diff is too big to show here.
pkgs/tools/networking/s6-dns/default.nix+2−2
This diff is too big to show here.
pkgs/tools/networking/s6-networking/default.nix+2−2
This diff is too big to show here.
pkgs/tools/networking/slack-cli/default.nix+2−2
This diff is too big to show here.
pkgs/tools/networking/strongswan/default.nix+34−21
This diff is too big to show here.
pkgs/tools/networking/tinc/pre.nix+9−1
This diff is too big to show here.
pkgs/tools/networking/twa/default.nix+2−2
This diff is too big to show here.
pkgs/tools/networking/ua/default.nix+1−1
This diff is too big to show here.
pkgs/tools/networking/unbound/default.nix+2−2
This diff is too big to show here.
pkgs/tools/networking/wireguard-go/default.nix+3−3
This diff is too big to show here.
pkgs/tools/networking/wireguard-go/deps.nix+11−11
This diff is too big to show here.
pkgs/tools/networking/zap/default.nix+3−3
This diff is too big to show here.
pkgs/tools/package-management/appimage-run/default.nix+8−116
This diff is too big to show here.
pkgs/tools/package-management/apt-dater/default.nix+2−2
This diff is too big to show here.
pkgs/tools/package-management/dpkg/default.nix+2−2
This diff is too big to show here.
pkgs/tools/package-management/morph/default.nix+8−2
This diff is too big to show here.
pkgs/tools/package-management/mynewt-newt/default.nix+1−1
This diff is too big to show here.
pkgs/tools/package-management/nix-pin/default.nix+3−2
This diff is too big to show here.
pkgs/tools/package-management/nix-prefetch/default.nixnew file+70
This diff is too big to show here.
pkgs/tools/package-management/nix-update-source/default.nix+3−2
This diff is too big to show here.
pkgs/tools/package-management/nix/default.nix+4−4
This diff is too big to show here.
pkgs/tools/package-management/nixops/azure-mgmt-compute/default.nixnew file+37
This diff is too big to show here.
pkgs/tools/package-management/nixops/azure-mgmt-network/default.nixnew file+37
This diff is too big to show here.
pkgs/tools/package-management/nixops/azure-mgmt-nspkg/default.nixnew file+25
This diff is too big to show here.
pkgs/tools/package-management/nixops/azure-mgmt-resource/default.nixnew file+38
This diff is too big to show here.
pkgs/tools/package-management/nixops/azure-mgmt-storage/default.nixnew file+37
This diff is too big to show here.
pkgs/tools/package-management/nixops/default.nix+16−1
This diff is too big to show here.
pkgs/tools/package-management/nixops/generic.nix+2−1
This diff is too big to show here.
pkgs/tools/package-management/nixops/unstable.nix+17
This diff is too big to show here.
pkgs/tools/security/aide/default.nix+3−3
This diff is too big to show here.
pkgs/tools/security/certmgr/default.nix+2−2
This diff is too big to show here.
pkgs/tools/security/enpass/data.json+6−6
This diff is too big to show here.
pkgs/tools/security/enpass/default.nix+16−35
This diff is too big to show here.
pkgs/tools/security/gnupg/22.nix+2−2
This diff is too big to show here.
pkgs/tools/security/jd-gui/default.nix+2−2
This diff is too big to show here.
pkgs/tools/security/kbfs/default.nix+1−1
This diff is too big to show here.
pkgs/tools/security/keybase/gui.nix+3−2
This diff is too big to show here.
pkgs/tools/security/onioncircuits/default.nix+3−2
This diff is too big to show here.
pkgs/tools/security/pinentry/default.nix+9−14
This diff is too big to show here.
pkgs/tools/security/saml2aws/default.nix+1−1
This diff is too big to show here.
pkgs/tools/security/signing-party/default.nix+2−2
This diff is too big to show here.
pkgs/tools/security/sshuttle/default.nix+7−7
This diff is too big to show here.
pkgs/tools/security/sshuttle/sudo.patch+3−3
This diff is too big to show here.
pkgs/tools/security/vault/default.nix+2
This diff is too big to show here.
pkgs/tools/security/vulnix/default.nix+6−7
This diff is too big to show here.
pkgs/tools/system/awstats/default.nix+1−1
This diff is too big to show here.
pkgs/tools/system/bfs/default.nix+2−2
This diff is too big to show here.
pkgs/tools/system/ddrescue/default.nix+2−2
This diff is too big to show here.
pkgs/tools/system/facter/default.nix+2−2
This diff is too big to show here.
pkgs/tools/system/fio/default.nix+2−2
This diff is too big to show here.
pkgs/tools/system/s6-rc/default.nix+2−2
This diff is too big to show here.
pkgs/tools/system/s6/default.nix+2−2
This diff is too big to show here.
pkgs/tools/system/stress-ng/default.nix+2−2
This diff is too big to show here.
pkgs/tools/system/systemd-journal2gelf/default.nix+1−1
This diff is too big to show here.
pkgs/tools/system/thinkfan/default.nix+6−1
This diff is too big to show here.
pkgs/tools/text/esh/default.nix+3−3
This diff is too big to show here.
pkgs/tools/text/groff/default.nix+4−1
This diff is too big to show here.
pkgs/tools/text/groff/mdate-determinism.patchnew file+13
This diff is too big to show here.
pkgs/tools/text/shab/default.nixnew file+74
This diff is too big to show here.
pkgs/tools/text/vale/default.nix+4−4
This diff is too big to show here.
pkgs/tools/typesetting/asciidoc/default.nix+6−5
This diff is too big to show here.
pkgs/tools/typesetting/fop/default.nix+2−2
This diff is too big to show here.
pkgs/tools/typesetting/pygmentex/default.nix+13−3
This diff is too big to show here.
pkgs/tools/typesetting/rubber/default.nix+1−1
This diff is too big to show here.
pkgs/tools/typesetting/scdoc/default.nix+2−2
This diff is too big to show here.
pkgs/tools/typesetting/sile/default.nix+23
This diff is too big to show here.
pkgs/tools/typesetting/tikzit/default.nix+3−8
This diff is too big to show here.
pkgs/tools/virtualization/awless/default.nix+4−4
This diff is too big to show here.
pkgs/tools/virtualization/udocker/default.nix+6−1
This diff is too big to show here.
pkgs/top-level/aliases.nix+3−1
This diff is too big to show here.
pkgs/top-level/all-packages.nix+318−214
This diff is too big to show here.
pkgs/top-level/config.nixnew file+51
This diff is too big to show here.
pkgs/top-level/default.nix+29−6
This diff is too big to show here.
pkgs/top-level/haskell-packages.nix+8−19
This diff is too big to show here.
pkgs/top-level/lua-packages.nix+26−4
This diff is too big to show here.
pkgs/top-level/ocaml-packages.nix+9−1
This diff is too big to show here.
pkgs/top-level/perl-packages.nix+25
This diff is too big to show here.
pkgs/top-level/php-packages.nix+12
This diff is too big to show here.
pkgs/top-level/python-packages.nix+102−14
This diff is too big to show here.
pkgs/top-level/release-small.nix+1−1
This diff is too big to show here.
pkgs/top-level/stage.nix+2−3
This diff is too big to show here.