Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 5f575e7339ee
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: e343a85cfb67
Choose a head ref
Loading
Showing with 2,864 additions and 2,274 deletions.
  1. +25 −7 doc/coding-conventions.xml
  2. +10 −0 maintainers/maintainer-list.nix
  3. +2 −2 nixos/modules/services/desktops/accountsservice.nix
  4. +1 −2 nixos/modules/services/networking/oidentd.nix
  5. +2 −2 pkgs/applications/audio/samplv1/default.nix
  6. +4 −4 pkgs/applications/editors/rednotebook/default.nix
  7. +28 −0 pkgs/applications/editors/xmlcopyeditor/default.nix
  8. +36 −0 pkgs/applications/editors/xmlcopyeditor/xmlcopyeditor.patch
  9. +2 −1 pkgs/applications/graphics/inkscape/default.nix
  10. +5 −2 pkgs/applications/misc/redshift/default.nix
  11. +2 −2 pkgs/applications/misc/vifm/default.nix
  12. +11 −11 pkgs/applications/misc/{gutenberg → zola}/default.nix
  13. +397 −397 pkgs/applications/networking/browsers/firefox-bin/beta_sources.nix
  14. +397 −397 pkgs/applications/networking/browsers/firefox-bin/devedition_sources.nix
  15. +4 −4 pkgs/applications/networking/cluster/flink/default.nix
  16. +2 −2 pkgs/applications/networking/instant-messengers/riot/riot-web.nix
  17. +3 −3 pkgs/applications/office/libreoffice/default-primary-src.nix
  18. +2 −2 pkgs/applications/office/libreoffice/default.nix
  19. +8 −8 pkgs/applications/office/libreoffice/libreoffice-srcs-still.nix
  20. +3 −3 pkgs/applications/office/libreoffice/still-primary-src.nix
  21. +2 −2 pkgs/applications/office/libreoffice/still.nix
  22. +2 −2 pkgs/applications/science/electronics/verilator/default.nix
  23. +2 −2 pkgs/applications/search/recoll/default.nix
  24. +2 −2 pkgs/applications/version-management/git-and-tools/stgit/default.nix
  25. +5 −3 pkgs/applications/version-management/mr/default.nix
  26. +2 −2 pkgs/applications/version-management/tortoisehg/default.nix
  27. +2 −2 pkgs/applications/video/smtube/default.nix
  28. +5 −4 pkgs/applications/video/vlc/default.nix
  29. +2 −2 pkgs/data/fonts/terminus-font-ttf/default.nix
  30. +2 −2 pkgs/development/compilers/halide/default.nix
  31. +7 −4 pkgs/development/coq-modules/bignums/default.nix
  32. +1 −2 pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix
  33. +44 −43 pkgs/development/haskell-modules/configuration-hackage2nix.yaml
  34. +902 −840 pkgs/development/haskell-modules/hackage-packages.nix
  35. +2 −1 pkgs/development/interpreters/erlang/generic-builder.nix
  36. +5 −5 pkgs/development/libraries/eigen/3.3.nix
  37. +49 −0 pkgs/development/libraries/eigen/include-dir.patch
  38. +1 −1 pkgs/development/libraries/kde-frameworks/fetch.sh
  39. +316 −316 pkgs/development/libraries/kde-frameworks/srcs.nix
  40. +3 −3 pkgs/development/libraries/libfive/default.nix
  41. +14 −5 pkgs/development/libraries/live555/default.nix
  42. +2 −2 pkgs/development/libraries/mesa/default.nix
  43. +4 −1 pkgs/development/libraries/qt-5/5.11/default.nix
  44. +4 −1 pkgs/development/libraries/qt-5/5.9/default.nix
  45. +5 −3 pkgs/development/libraries/qt-5/modules/qtmacextras.nix
  46. +3 −3 pkgs/development/libraries/science/math/caffe2/default.nix
  47. +2 −2 pkgs/development/libraries/socket_wrapper/default.nix
  48. +5 −1 pkgs/development/libraries/xercesc/default.nix
  49. +2 −2 pkgs/development/python-modules/confluent-kafka/default.nix
  50. +3 −2 pkgs/development/python-modules/distributed/default.nix
  51. +2 −2 pkgs/development/python-modules/django_nose/default.nix
  52. +2 −2 pkgs/development/python-modules/elpy/default.nix
  53. +2 −2 pkgs/development/python-modules/filebytes/default.nix
  54. +2 −2 pkgs/development/python-modules/flask-cors/default.nix
  55. +2 −2 pkgs/development/python-modules/google_api_core/default.nix
  56. +2 −2 pkgs/development/python-modules/jsonref/default.nix
  57. +2 −2 pkgs/development/python-modules/marshmallow-sqlalchemy/default.nix
  58. +2 −2 pkgs/development/python-modules/nameparser/default.nix
  59. +2 −2 pkgs/development/python-modules/node-semver/default.nix
  60. +2 −2 pkgs/development/python-modules/nuitka/default.nix
  61. +2 −2 pkgs/development/python-modules/phonenumbers/default.nix
  62. +2 −2 pkgs/development/python-modules/pycontracts/default.nix
  63. +2 −2 pkgs/development/python-modules/pyhomematic/default.nix
  64. +2 −2 pkgs/development/python-modules/pytest-django/default.nix
  65. +2 −2 pkgs/development/python-modules/pytest-timeout/default.nix
  66. +3 −2 pkgs/development/python-modules/qtawesome/default.nix
  67. +3 −2 pkgs/development/python-modules/qtconsole/default.nix
  68. +2 −2 pkgs/development/python-modules/readme_renderer/default.nix
  69. +2 −2 pkgs/development/python-modules/redis/default.nix
  70. +2 −2 pkgs/development/python-modules/sseclient/default.nix
  71. +2 −2 pkgs/development/python-modules/stripe/default.nix
  72. +2 −2 pkgs/development/python-modules/transaction/default.nix
  73. +2 −2 pkgs/development/python-modules/twilio/default.nix
  74. +2 −2 pkgs/development/python-modules/uproot-methods/default.nix
  75. +2 −2 pkgs/development/python-modules/uproot/default.nix
  76. +2 −2 pkgs/development/python-modules/uranium/default.nix
  77. +2 −2 pkgs/development/python-modules/xarray/default.nix
  78. +2 −2 pkgs/development/python-modules/yamllint/default.nix
  79. +1 −1 pkgs/development/tools/build-managers/cmake/2.8.nix
  80. +32 −0 pkgs/development/tools/build-managers/mage/default.nix
  81. +3 −3 pkgs/games/tome4/default.nix
  82. +6 −5 pkgs/os-specific/linux/rdma-core/default.nix
  83. +2 −2 pkgs/os-specific/linux/uclibc/default.nix
  84. +2 −2 pkgs/servers/amqp/rabbitmq-server/default.nix
  85. +10 −10 pkgs/servers/identd/oidentd/default.nix
  86. +3 −3 pkgs/tools/X11/xosview2/default.nix
  87. +2 −2 pkgs/tools/admin/aws-rotate-key/default.nix
  88. +3 −3 pkgs/tools/cd-dvd/mdf2iso/default.nix
  89. +2 −2 pkgs/tools/filesystems/davfs2/default.nix
  90. +2 −2 pkgs/tools/filesystems/rdfind/default.nix
  91. +2 −2 pkgs/tools/graphics/appleseed/default.nix
  92. +2 −0 pkgs/tools/inputmethods/fusuma/Gemfile
  93. +13 −0 pkgs/tools/inputmethods/fusuma/Gemfile.lock
  94. +22 −0 pkgs/tools/inputmethods/fusuma/default.nix
  95. +10 −0 pkgs/tools/inputmethods/fusuma/gemset.nix
  96. +2 −2 pkgs/tools/misc/doitlive/default.nix
  97. +42 −0 pkgs/tools/networking/amass/default.nix
  98. +101 −0 pkgs/tools/networking/amass/deps.nix
  99. +7 −7 pkgs/tools/networking/curl/7_59.nix
  100. +7 −7 pkgs/tools/networking/curl/default.nix
  101. +2 −2 pkgs/tools/networking/tcpreplay/default.nix
  102. +2 −2 pkgs/tools/networking/twa/default.nix
  103. +37 −0 pkgs/tools/package-management/morph/default.nix
  104. +66 −0 pkgs/tools/package-management/morph/deps.nix
  105. +5 −4 pkgs/tools/security/hashcat/default.nix
  106. +22 −0 pkgs/tools/security/hashcat/use-installed-xxhash.patch
  107. +3 −3 pkgs/tools/security/shc/default.nix
  108. +2 −2 pkgs/tools/system/datefudge/default.nix
  109. +2 −2 pkgs/tools/system/sleuthkit/default.nix
  110. +2 −2 pkgs/tools/system/tree/default.nix
  111. +6 −4 pkgs/tools/typesetting/git-latexdiff/default.nix
  112. +0 −10 pkgs/tools/typesetting/git-latexdiff/shebang.patch
  113. +3 −3 pkgs/tools/typesetting/git-latexdiff/version-test.patch
  114. +1 −0 pkgs/top-level/aliases.nix
  115. +29 −21 pkgs/top-level/all-packages.nix
  116. +4 −1 pkgs/top-level/python-packages.nix
32 changes: 25 additions & 7 deletions doc/coding-conventions.xml
Original file line number Diff line number Diff line change
@@ -191,6 +191,23 @@ args.stdenv.mkDerivation (args // {
<section xml:id="sec-package-naming">
<title>Package naming</title>

<para>
The key words
<emphasis>must</emphasis>,
<emphasis>must not</emphasis>,
<emphasis>required</emphasis>,
<emphasis>shall</emphasis>,
<emphasis>shall not</emphasis>,
<emphasis>should</emphasis>,
<emphasis>should not</emphasis>,
<emphasis>recommended</emphasis>,
<emphasis>may</emphasis>,
and <emphasis>optional</emphasis> in this section
are to be interpreted as described in
<link xlink:href="https://tools.ietf.org/html/rfc2119">RFC 2119</link>.
Only <emphasis>emphasized</emphasis> words are to be interpreted in this way.
</para>

<para>
In Nixpkgs, there are generally three different names associated with a
package:
@@ -231,14 +248,15 @@ args.stdenv.mkDerivation (args // {
<itemizedlist>
<listitem>
<para>
Generally, try to stick to the upstream package name.
The <literal>name</literal> attribute <emphasis>should</emphasis>
be identical to the upstream package name.
</para>
</listitem>
<listitem>
<para>
Don’t use uppercase letters in the <literal>name</literal> attribute
— e.g., <literal>"mplayer-1.0rc2"</literal> instead of
<literal>"MPlayer-1.0rc2"</literal>.
The <literal>name</literal> attribute <emphasis>must not</emphasis>
contain uppercase letters — e.g., <literal>"mplayer-1.0rc2"</literal>
instead of <literal>"MPlayer-1.0rc2"</literal>.
</para>
</listitem>
<listitem>
@@ -252,14 +270,14 @@ args.stdenv.mkDerivation (args // {
<para>
If a package is not a release but a commit from a repository, then the
version part of the name <emphasis>must</emphasis> be the date of that
(fetched) commit. The date must be in <literal>"YYYY-MM-DD"</literal>
(fetched) commit. The date <emphasis>must</emphasis> be in <literal>"YYYY-MM-DD"</literal>
format. Also append <literal>"unstable"</literal> to the name - e.g.,
<literal>"pkgname-unstable-2014-09-23"</literal>.
</para>
</listitem>
<listitem>
<para>
Dashes in the package name should be preserved in new variable names,
Dashes in the package name <emphasis>should</emphasis> be preserved in new variable names,
rather than converted to underscores or camel cased — e.g.,
<varname>http-parser</varname> instead of <varname>http_parser</varname>
or <varname>httpParser</varname>. The hyphenated style is preferred in
@@ -268,7 +286,7 @@ args.stdenv.mkDerivation (args // {
</listitem>
<listitem>
<para>
If there are multiple versions of a package, this should be reflected in
If there are multiple versions of a package, this <emphasis>should</emphasis> be reflected in
the variable names in <filename>all-packages.nix</filename>, e.g.
<varname>json-c-0-9</varname> and <varname>json-c-0-11</varname>. If
there is an obvious “default” version, make an attribute like
10 changes: 10 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -73,6 +73,11 @@
github = "acowley";
name = "Anthony Cowley";
};
adamt = {
email = "mail@adamtulinius.dk";
github = "adamtulinius";
name = "Adam Tulinius";
};
adelbertc = {
email = "adelbertc@gmail.com";
github = "adelbertc";
@@ -688,6 +693,11 @@
github = "campadrenalin";
name = "Philip Horger";
};
candeira = {
email = "javier@candeira.com";
github = "candeira";
name = "Javier Candeira";
};
canndrew = {
email = "shum@canndrew.org";
github = "canndrew";
4 changes: 2 additions & 2 deletions nixos/modules/services/desktops/accountsservice.nix
Original file line number Diff line number Diff line change
@@ -39,14 +39,14 @@ with lib;

systemd.packages = [ pkgs.accountsservice ];

systemd.services.accounts-daemon = {
systemd.services.accounts-daemon = recursiveUpdate {

wantedBy = [ "graphical.target" ];

# Accounts daemon looks for dbus interfaces in $XDG_DATA_DIRS/accountsservice
environment.XDG_DATA_DIRS = "${config.system.path}/share";

} // (optionalAttrs (!config.users.mutableUsers) {
} (optionalAttrs (!config.users.mutableUsers) {
environment.NIXOS_USERS_PURE = "true";
});
};
3 changes: 1 addition & 2 deletions nixos/modules/services/networking/oidentd.nix
Original file line number Diff line number Diff line change
@@ -28,8 +28,7 @@ with lib;
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
serviceConfig.Type = "forking";
script = "${pkgs.oidentd}/sbin/oidentd -u oidentd -g nogroup" +
optionalString config.networking.enableIPv6 " -a ::";
script = "${pkgs.oidentd}/sbin/oidentd -u oidentd -g nogroup";
};

users.users.oidentd = {
4 changes: 2 additions & 2 deletions pkgs/applications/audio/samplv1/default.nix
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@

stdenv.mkDerivation rec {
name = "samplv1-${version}";
version = "0.9.2";
version = "0.9.3";

src = fetchurl {
url = "mirror://sourceforge/samplv1/${name}.tar.gz";
sha256 = "0rfcp4v971qfhw1hb43hw12wlxmg2q13l0m1h93pyfi5l4mfjkds";
sha256 = "1yvdr0fvw13lj2r8dppmn0aw83g9f5r1hp5ixvw7cdhrxs7fh4vw";
};

buildInputs = [ libjack2 alsaLib liblo libsndfile lv2 qt5.qtbase qt5.qttools];
8 changes: 4 additions & 4 deletions pkgs/applications/editors/rednotebook/default.nix
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{ lib, buildPythonApplication, fetchFromGitHub
, gdk_pixbuf, glib, gobjectIntrospection, gtk3, pango, webkitgtk
, gdk_pixbuf, glib, gobjectIntrospection, gtk3, gtksourceview, pango, webkitgtk
, pygobject3, pyyaml
}:

buildPythonApplication rec {
pname = "rednotebook";
version = "2.6.1";
version = "2.8";

src = fetchFromGitHub {
owner = "jendrikseipp";
repo = "rednotebook";
rev = "v${version}";
sha256 = "1x6acx0hagsawx84cv55qz17p8qjpq1v1zaf8rmm6ifsslsxw91h";
sha256 = "0k75lw3p6jx30ngvn8iipk1763gazkbrsad3fpl3sqppaqaggryj";
};

# We have not packaged tests.
@@ -20,7 +20,7 @@ buildPythonApplication rec {
nativeBuildInputs = [ gobjectIntrospection ];

propagatedBuildInputs = [
gdk_pixbuf glib gtk3 pango webkitgtk
gdk_pixbuf glib gtk3 gtksourceview pango webkitgtk
pygobject3 pyyaml
];

28 changes: 28 additions & 0 deletions pkgs/applications/editors/xmlcopyeditor/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{ stdenv, fetchurl, aspell, boost, expat, expect, intltool, libxml2, libxslt, pcre, wxGTK, xercesc }:

stdenv.mkDerivation rec {
name = "xmlcopyeditor-${version}";
version = "1.2.1.3";

src = fetchurl {
name = "${name}.tar.gz";
url = "mirror://sourceforge/xml-copy-editor/${name}.tar.gz";
sha256 = "0bwxn89600jbrkvlwyawgc0c0qqxpl453mbgcb9qbbxl8984ns4v";
};

patches = [ ./xmlcopyeditor.patch ];
CPLUS_INCLUDE_PATH = "${libxml2.dev}/include/libxml2";

nativeBuildInputs = [ intltool ];
buildInputs = [ aspell boost expat libxml2 libxslt pcre wxGTK xercesc ];

enableParallelBuilding = true;

meta = with stdenv.lib; {
description = "A fast, free, validating XML editor";
homepage = http://xml-copy-editor.sourceforge.net/;
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ candeira ];
};
}
36 changes: 36 additions & 0 deletions pkgs/applications/editors/xmlcopyeditor/xmlcopyeditor.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
From 626c385ba141c6abcff01bef4451fcad062d232c Mon Sep 17 00:00:00 2001
From: Javier Candeira <javier@candeira.com>
Date: Sat, 7 Apr 2018 20:21:45 +1000
Subject: [PATCH] nixpckgs patches

---
src/Makefile.in | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/Makefile.in b/src/Makefile.in
index e75918f..e04703b 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -283,8 +283,8 @@ top_srcdir = @top_srcdir@
# these are the headers for your project
noinst_HEADERS = $(srcdir)/*.h
xmlcopyeditordir = ${prefix}/share/xmlcopyeditor
-pixmapdir = /usr/share/pixmaps
-applicationsdir = /usr/share/applications
+pixmapdir = ${prefix}/share/pixmaps
+applicationsdir = ${prefix}/share/applications

# the application source, library search path, and link libraries
xmlcopyeditor_SOURCES = aboutdialog.cpp associatedialog.cpp binaryfile.cpp \
@@ -357,7 +357,7 @@ EXTRA_DIST = \
$(srcdir)/xmlcopyeditor.rc \
$(srcdir)/xmlschemaparser.cpp

-AM_CPPFLAGS = -I/usr/include/libxml2 $(ENCHANT_CFLAGS) $(GTK_CFLAGS)
+AM_CPPFLAGS = -I$(CPLUS_INCLUDE_PATH) $(ENCHANT_CFLAGS) $(GTK_CFLAGS)
all: all-am

.SUFFIXES:
--
2.16.2

3 changes: 2 additions & 1 deletion pkgs/applications/graphics/inkscape/default.nix
Original file line number Diff line number Diff line change
@@ -6,7 +6,8 @@
}:

let
python2Env = python2.withPackages(ps: with ps; [ numpy lxml ]);
python2Env = python2.withPackages(ps: with ps;
[ numpy lxml scour ]);
in

stdenv.mkDerivation rec {
7 changes: 5 additions & 2 deletions pkgs/applications/misc/redshift/default.nix
Original file line number Diff line number Diff line change
@@ -2,11 +2,14 @@
, libtool, pkgconfig, wrapGAppsHook, wrapPython, gobjectIntrospection
, gtk3, python, pygobject3, hicolor-icon-theme, pyxdg

, withCoreLocation ? stdenv.isDarwin, CoreLocation, Foundation, Cocoa
, withQuartz ? stdenv.isDarwin, ApplicationServices
, withRandr ? stdenv.isLinux, libxcb
, withDrm ? stdenv.isLinux, libdrm
, withGeoclue ? stdenv.isLinux, geoclue }:

, withGeolocation ? true
, withCoreLocation ? withGeolocation && stdenv.isDarwin, CoreLocation, Foundation, Cocoa
, withGeoclue ? withGeolocation && stdenv.isLinux, geoclue
}:

stdenv.mkDerivation rec {
name = "redshift-${version}";
4 changes: 2 additions & 2 deletions pkgs/applications/misc/vifm/default.nix
Original file line number Diff line number Diff line change
@@ -6,11 +6,11 @@

stdenv.mkDerivation rec {
name = "vifm-${version}";
version = "0.9.1";
version = "0.10";

src = fetchurl {
url = "https://github.com/vifm/vifm/releases/download/v${version}/vifm-${version}.tar.bz2";
sha256 = "1cz7vjjmghgdxd1lvsdwv85gvx4kz8idq14qijpwkpfrf2va9f98";
sha256 = "1f380xcyjnm4xmcdazs6dj064bwddhywvn3mgm36k7r7b2gnjnp0";
};

nativeBuildInputs = [ pkgconfig ];
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
{ stdenv, fetchFromGitHub, rustPlatform, cmake, pkgconfig, openssl, CoreServices, cf-private }:

rustPlatform.buildRustPackage rec {
name = "gutenberg-${version}";
version = "0.4.2";
name = "zola-${version}";
version = "0.5.0";

src = fetchFromGitHub {
owner = "Keats";
repo = "gutenberg";
owner = "getzola";
repo = "zola";
rev = "v${version}";
sha256 = "0kzxz26khk5rwb9mz0wi9r8y7r93w4n2dbq6v2qr07cy5h14pa6w";
sha256 = "0as8nrzw9zz10w4xxiibgz8ylghc879b2pwaxnw8sjbji2d9qv63";
};

cargoSha256 = "0n4ji06chybmcvg5yz6cnhzqh162zhh5xpbz374a796dwp1132m8";
cargoSha256 = "0a14hq8d3xjr6yfg5qn5r7npqivm816f1p53bbm826igvpc9hsxa";

nativeBuildInputs = [ cmake pkgconfig openssl ];
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ CoreServices cf-private ];

postInstall = ''
install -D -m 444 completions/gutenberg.bash \
install -D -m 444 completions/zola.bash \
-t $out/share/bash-completion/completions
install -D -m 444 completions/_gutenberg \
install -D -m 444 completions/_zola \
-t $out/share/zsh/site-functions
install -D -m 444 completions/gutenberg.fish \
install -D -m 444 completions/zola.fish \
-t $out/share/fish/vendor_completions.d
'';

meta = with stdenv.lib; {
description = "An opinionated static site generator with everything built-in";
homepage = https://www.getgutenberg.io;
description = "A fast static site generator with everything built-in";
homepage = https://www.getzola.org/;
license = licenses.mit;
maintainers = with maintainers; [ dywedir ];
platforms = platforms.all;
Loading