From a6520f6136e424982376ebd38ce5cb94e70efc23 Mon Sep 17 00:00:00 2001 From: Peter Hoeg Date: Mon, 24 Dec 2018 13:20:37 +0800 Subject: [PATCH 01/39] uchiwa: 1.3.1 -> 1.5.0 --- pkgs/servers/monitoring/uchiwa/bower-packages.nix | 4 ++-- pkgs/servers/monitoring/uchiwa/src.nix | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/servers/monitoring/uchiwa/bower-packages.nix b/pkgs/servers/monitoring/uchiwa/bower-packages.nix index a8180c5de3dc..40789fa34f8d 100644 --- a/pkgs/servers/monitoring/uchiwa/bower-packages.nix +++ b/pkgs/servers/monitoring/uchiwa/bower-packages.nix @@ -1,7 +1,7 @@ # Generated by bower2nix v3.2.0 (https://github.com/rvl/bower2nix) { fetchbower, buildEnv }: buildEnv { name = "bower-env"; ignoreCollisions = true; paths = [ - (fetchbower "uchiwa-web" "1.3.1" "1.3.1" "0vhfwm4z3d4v4p2vfq1vvk4fifxm43f8lyccwpgmw153z4gj14gk") + (fetchbower "uchiwa-web" "1.5.0" "1.5.0" "0z7g4nb7cm5w5l8w1856sbib15sx022mqpap9d49s6ppnn53vcs1") (fetchbower "angular" "1.6.10" "~1.6.3" "0ag8xddsgxx5yka4wjq4ala4y6z3x2g1vc3x7a1n291fzz26p7ws") (fetchbower "angular-bootstrap" "2.2.0" "~2.2.0" "11r2nlwp6xrim2y6lnrr8v064mx3bmlxchqpg1i803v9zxz3q53d") (fetchbower "angular-cookies" "1.6.10" "~1.6.3" "0bjgmz5jnw06dfxhq9sajj62fk0b3v4j9p7nb45x8bl8rzkf25pn") @@ -19,7 +19,7 @@ buildEnv { name = "bower-env"; ignoreCollisions = true; paths = [ (fetchbower "highlightjs" "9.1.0" "~9.1.0" "0ld1da3h416a5j8v3v50rrpm4xwvvq8k8y2vwncvaqm9cqddz4s3") (fetchbower "moment" "2.16.0" "~2.16.0" "1mji892i60f2aw3vhl6878acrcgh0ycn3r4af0ivnjf8az2b9n71") (fetchbower "moment-picker" "0.9.11" "~0.9.7" "0p2g6rp2kcixydrga9lfihg4bxb598rvpi8n8l59mp549diy7vsb") - (fetchbower "ua-parser-js" "0.7.18" "~0.7.12" "0qi7y5yrsdh2brpmwx0xs53bzr4pja5x1k2875x6zh259ag3zdkn") + (fetchbower "ua-parser-js" "0.7.19" "~0.7.12" "0s1yaspccz234hm772hlybjsi0kndzwpjx5lzy3y1s4wfk248ks4") (fetchbower "jsoneditor" "5.5.11" "~5.5.10" "1gfsf8jqnd3hb3r9s9246mg40iqxk2ix8k4bjnrsbfmg6cd3xw6x") (fetchbower "jquery" "3.3.1" ">= 1.9.0" "1l891s3vgnpi1g8ksplid9jvrvnnv6lci8vraix4ssy50i264rkx") ]; } diff --git a/pkgs/servers/monitoring/uchiwa/src.nix b/pkgs/servers/monitoring/uchiwa/src.nix index 51c343d01da8..cf5376318b45 100644 --- a/pkgs/servers/monitoring/uchiwa/src.nix +++ b/pkgs/servers/monitoring/uchiwa/src.nix @@ -1,4 +1,4 @@ { - version = "1.3.1-1"; - sha256 = "1cjb7k19iy79hh9gbjx67yrz44y92s516d0h403bf6w272g23yzi"; + version = "1.5.0-1"; + sha256 = "05idwiv47zav46wi1hfly6rylpw8qryr12xlz47ic04ggdlga13b"; } From 60be98f697300ef673b2dc8a612bdb189175837a Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Mon, 24 Dec 2018 06:43:47 -0800 Subject: [PATCH 02/39] skrooge: 2.16.2 -> 2.17.0 Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/skrooge/versions --- pkgs/applications/office/skrooge/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/office/skrooge/default.nix b/pkgs/applications/office/skrooge/default.nix index 070ef4845d83..5168b2fef533 100644 --- a/pkgs/applications/office/skrooge/default.nix +++ b/pkgs/applications/office/skrooge/default.nix @@ -7,11 +7,11 @@ mkDerivation rec { name = "skrooge-${version}"; - version = "2.16.2"; + version = "2.17.0"; src = fetchurl { url = "http://download.kde.org/stable/skrooge/${name}.tar.xz"; - sha256 = "0idvqbra8a71jb5kq9y5v377l7k3shf4z7w71apc3rjvb4l0jkhj"; + sha256 = "0v83bcabchsz5fs0iv5i75ps01sga48hq4cx29dajcq3kf9xgwhr"; }; nativeBuildInputs = [ From 1a40a8e00001b78603c8eb7fa82d83f17f9171f6 Mon Sep 17 00:00:00 2001 From: obadz Date: Mon, 24 Dec 2018 23:31:40 +0000 Subject: [PATCH 03/39] gtk-sharp: wrap output executables Fixes the below build error in gnome-sharp which appeared after #52712 /nix/store/wsqld4bccm0bwjnn1gj9cr32qscz4qk7-gtk-sharp-2.12.10/bin/gapi2-fixup --api=art-api.xml --metadata=./Art.metadata --symbols=./art-symbols.xml rm -f generated/* && \ /nix/store/wsqld4bccm0bwjnn1gj9cr32qscz4qk7-gtk-sharp-2.12.10/bin/gapi2-codegen --generate art-api.xml \ -I:/nix/store/wsqld4bccm0bwjnn1gj9cr32qscz4qk7-gtk-sharp-2.12.10/lib/pkgconfig/../../share/gapi-2.0/pango-api.xml -I:/nix/store/wsqld4bccm0bwjnn1gj9cr32qscz4qk7-gtk-sharp-2.12.10/lib/pkgconfig/../../share/gapi-2.0/atk-api.xml -I:/nix/store/wsqld4bccm0bwjnn1gj9cr32qscz4qk7-gtk-sharp-2.12.10/lib/pkgconfig/../../share/gapi-2.0/gdk-api.xml -I:/nix/store/wsqld4bccm0bwjnn1gj9cr32qscz4qk7-gtk-sharp-2.12.10/lib/pkgconfig/../../share/gapi-2.0/gtk-api.xml -I:/nix/store/wsqld4bccm0bwjnn1gj9cr32qscz4qk7-gtk-sharp-2.12.10/lib/pkgconfig/../../share/gapi-2.0/glib-api.xml \ --outdir=generated --customdir=. --assembly-name=art-sharp \ --gluelib-name=artsharpglue-2 --glue-filename=glue/generated.c \ --glue-includes= \ && touch generated-stamp Unhandled Exception: System.MissingMethodException: Method 'string.Split' not found. at GtkSharp.Generation.SimpleGen..ctor (System.String ctype, System.String type, System.String default_value) [0x00000] in :0 at GtkSharp.Generation.SymbolTable..ctor () [0x00011] in :0 at GtkSharp.Generation.SymbolTable.get_Table () [0x0000a] in :0 at GtkSharp.Generation.CodeGenerator.Main (System.String[] args) [0x0003e] in :0 [ERROR] FATAL UNHANDLED EXCEPTION: System.MissingMethodException: Method 'string.Split' not found. at GtkSharp.Generation.SimpleGen..ctor (System.String ctype, System.String type, System.String default_value) [0x00000] in :0 --- pkgs/development/libraries/gtk-sharp/2.0.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/development/libraries/gtk-sharp/2.0.nix b/pkgs/development/libraries/gtk-sharp/2.0.nix index c037db97c044..8b360e54ef17 100644 --- a/pkgs/development/libraries/gtk-sharp/2.0.nix +++ b/pkgs/development/libraries/gtk-sharp/2.0.nix @@ -32,7 +32,17 @@ stdenv.mkDerivation { done ''; + postInstall = '' + pushd $out/bin + for f in gapi2-* + do + substituteInPlace $f --replace mono ${mono}/bin/mono + done + popd + ''; + nativeBuildInputs = [ pkgconfig ]; + buildInputs = [ mono glib pango gtk2 GConf libglade libgnomecanvas libgtkhtml libgnomeui libgnomeprint libgnomeprintui gtkhtml libxml2 From cd46319bdc789697f48857c33df282aa4982c7c2 Mon Sep 17 00:00:00 2001 From: obadz Date: Mon, 24 Dec 2018 23:57:04 +0000 Subject: [PATCH 04/39] gtk-sharp: 2.12.10 -> 2.12.45 --- pkgs/development/libraries/gtk-sharp/2.0.nix | 38 +++++++++++--------- 1 file changed, 22 insertions(+), 16 deletions(-) diff --git a/pkgs/development/libraries/gtk-sharp/2.0.nix b/pkgs/development/libraries/gtk-sharp/2.0.nix index 8b360e54ef17..659dc14800e1 100644 --- a/pkgs/development/libraries/gtk-sharp/2.0.nix +++ b/pkgs/development/libraries/gtk-sharp/2.0.nix @@ -1,4 +1,8 @@ -{ stdenv, fetchurl, pkgconfig, mono +{ stdenv +, lib +, fetchFromGitHub +, pkgconfig +, mono , glib , pango , gtk2 @@ -12,26 +16,24 @@ , libgnomeprintui ? null , libxml2 , monoDLLFixer +, autoconf +, automake +, libtool +, which }: -stdenv.mkDerivation { - name = "gtk-sharp-2.12.10"; +stdenv.mkDerivation rec { + name = "gtk-sharp-${version}"; + version = "2.12.45"; builder = ./builder.sh; - src = fetchurl { - url = mirror://gnome/sources/gtk-sharp/2.12/gtk-sharp-2.12.10.tar.gz; - sha256 = "1y55vc2cp4lggmbil2lb28d0gn71iq6wfyja1l9mya5xll8svzwc"; + src = fetchFromGitHub { + owner = "mono"; + repo = "gtk-sharp"; + rev = version; + sha256 = "1vy6yfwkfv6bb45bzf4g6dayiqkvqqvlr02rsnhd10793hlpqlgg"; }; - # patches = [ ./dllmap-glue.patch ]; - - # patch bad usage of glib, which wasn't tolerated anymore - prePatch = '' - for f in glib/glue/{thread,list,slist}.c; do - sed -i 's,#include ,#include ,g' "$f" - done - ''; - postInstall = '' pushd $out/bin for f in gapi2-* @@ -41,13 +43,17 @@ stdenv.mkDerivation { popd ''; - nativeBuildInputs = [ pkgconfig ]; + nativeBuildInputs = [ pkgconfig autoconf automake libtool which ]; buildInputs = [ mono glib pango gtk2 GConf libglade libgnomecanvas libgtkhtml libgnomeui libgnomeprint libgnomeprintui gtkhtml libxml2 ]; + preConfigure = '' + ./bootstrap-${lib.versions.majorMinor version} + ''; + dontStrip = true; inherit monoDLLFixer; From f7cc6f04b23db7a1eb405ea4fbe2ac74e745e5b3 Mon Sep 17 00:00:00 2001 From: obadz Date: Mon, 24 Dec 2018 23:56:49 +0000 Subject: [PATCH 05/39] gnome-sharp: 2.24.1 -> 2.24.4 --- .../libraries/gnome-sharp/Makefile.in.patch | 11 ------ .../libraries/gnome-sharp/default.nix | 36 ++++++++++++++----- 2 files changed, 27 insertions(+), 20 deletions(-) delete mode 100644 pkgs/development/libraries/gnome-sharp/Makefile.in.patch diff --git a/pkgs/development/libraries/gnome-sharp/Makefile.in.patch b/pkgs/development/libraries/gnome-sharp/Makefile.in.patch deleted file mode 100644 index 46b644f2471a..000000000000 --- a/pkgs/development/libraries/gnome-sharp/Makefile.in.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/sample/gnomevfs/Makefile.in 2009-03-03 16:09:52.000000000 +0000 -+++ b/sample/gnomevfs/Makefile.in 2014-10-14 13:35:51.020427244 +0100 -@@ -218,7 +218,7 @@ - - @ENABLE_GNOMEVFS_FALSE@EXTRA_TARGETS = - @ENABLE_GNOMEVFS_TRUE@@ENABLE_MONOGETOPTIONS_FALSE@EXTRA_TARGETS = --@ENABLE_GNOMEVFS_TRUE@@ENABLE_MONOGETOPTIONS_TRUE@EXTRA_TARGETS = TestXfer.exe -+@ENABLE_GNOMEVFS_TRUE@@ENABLE_MONOGETOPTIONS_TRUE@EXTRA_TARGETS = - assemblies = ../../gnomevfs/gnome-vfs-sharp.dll - references = $(GTKSHARP_LIBS) $(addprefix /r:, $(assemblies)) - noinst_SCRIPTS = $(TARGETS) $(EXTRA_TARGETS) diff --git a/pkgs/development/libraries/gnome-sharp/default.nix b/pkgs/development/libraries/gnome-sharp/default.nix index d80144b3d719..db93bdf27af3 100644 --- a/pkgs/development/libraries/gnome-sharp/default.nix +++ b/pkgs/development/libraries/gnome-sharp/default.nix @@ -1,17 +1,35 @@ -{stdenv, fetchurl, pkgconfig, gtk2, mono, gtk-sharp-2_0, gnome2}: +{ stdenv +, lib +, fetchFromGitHub +, pkgconfig +, gtk2 +, mono +, gtk-sharp-2_0 +, gnome2 +, autoconf +, automake +, libtool +, which +}: -stdenv.mkDerivation { - name = "gnome-sharp-2.24.1"; - src = fetchurl { - url = http://ftp.gnome.org/pub/gnome/sources/gnome-sharp/2.24/gnome-sharp-2.24.1.tar.gz; - sha256 = "0cfvs7hw67fp0wimskqd0gdfx323gv6hi0c5pf59krnmhdrl6z8p"; +stdenv.mkDerivation rec { + name = "gnome-sharp-${version}"; + version = "2.24.4"; + + src = fetchFromGitHub { + owner = "mono"; + repo = "gnome-sharp"; + rev = "${version}"; + sha256 = "15jsm6n0sih0nf3w8vmvik97q7l3imz4vkdzmp9k7bssiz4glj1z"; }; - nativeBuildInputs = [ pkgconfig ]; + nativeBuildInputs = [ pkgconfig autoconf automake libtool which ]; buildInputs = [ gtk2 mono gtk-sharp-2_0 ] - ++ (with gnome2; [ libart_lgpl gnome_vfs libgnome libgnomecanvas libgnomeui]); + ++ (with gnome2; [ libart_lgpl gnome_vfs libgnome libgnomecanvas libgnomeui ]); - patches = [ ./Makefile.in.patch ]; + preConfigure = '' + ./bootstrap-${lib.versions.majorMinor version} + ''; dontStrip = true; From 4ff22f224f9c5d4fdde095461e7650d76ee8315e Mon Sep 17 00:00:00 2001 From: obadz Date: Mon, 24 Dec 2018 23:57:12 +0000 Subject: [PATCH 06/39] mono: move a hyena and pdfmod from mono4 to mono5 Closes #52484 --- pkgs/top-level/all-packages.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c27289de138d..82a5fa8bc007 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4785,7 +4785,7 @@ in fmodex = callPackage ../games/zandronum/fmod.nix { }; - pdfmod = callPackage ../applications/misc/pdfmod { mono = mono4; }; + pdfmod = callPackage ../applications/misc/pdfmod { }; pdf-quench = callPackage ../applications/misc/pdf-quench { }; @@ -10298,7 +10298,7 @@ in hydraAntLogger = callPackage ../development/libraries/java/hydra-ant-logger { }; - hyena = callPackage ../development/libraries/hyena { mono = mono4; }; + hyena = callPackage ../development/libraries/hyena { }; hyperscan = callPackage ../development/libraries/hyperscan { }; From 741e00fd1051bf119c13704abaadc46f046baabf Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Tue, 25 Dec 2018 10:05:38 +0100 Subject: [PATCH 07/39] python36: 3.6.7 -> 3.6.8 --- pkgs/development/interpreters/python/cpython/3.6/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/interpreters/python/cpython/3.6/default.nix b/pkgs/development/interpreters/python/cpython/3.6/default.nix index 4c9d0c2a8962..15a62b42959c 100644 --- a/pkgs/development/interpreters/python/cpython/3.6/default.nix +++ b/pkgs/development/interpreters/python/cpython/3.6/default.nix @@ -26,7 +26,7 @@ with stdenv.lib; let majorVersion = "3.6"; - minorVersion = "7"; + minorVersion = "8"; minorVersionSuffix = ""; version = "${majorVersion}.${minorVersion}${minorVersionSuffix}"; libPrefix = "python${majorVersion}"; @@ -51,7 +51,7 @@ in stdenv.mkDerivation { src = fetchurl { url = "https://www.python.org/ftp/python/${majorVersion}.${minorVersion}/Python-${version}.tar.xz"; - sha256 = "0zgp8nvz3rkiz5cxd42vgpah4rvw3kmg9qz9lfq36rfnm40i9zc1"; + sha256 = "14qi6n5gpcjnwy165wi9hkfcmbadc95ny6bxxldknxwmx50n4i1m"; }; NIX_LDFLAGS = optionalString stdenv.isLinux "-lgcc_s"; From 552d8a70d4c47a6e52a8e0b26e3a2e33d5b94ca6 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Tue, 25 Dec 2018 10:05:49 +0100 Subject: [PATCH 08/39] python37: 3.7.1 -> 3.7.2 --- pkgs/development/interpreters/python/cpython/3.7/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/interpreters/python/cpython/3.7/default.nix b/pkgs/development/interpreters/python/cpython/3.7/default.nix index 093d8599690c..800534e17d5a 100644 --- a/pkgs/development/interpreters/python/cpython/3.7/default.nix +++ b/pkgs/development/interpreters/python/cpython/3.7/default.nix @@ -26,7 +26,7 @@ with stdenv.lib; let majorVersion = "3.7"; - minorVersion = "1"; + minorVersion = "2"; minorVersionSuffix = ""; version = "${majorVersion}.${minorVersion}${minorVersionSuffix}"; libPrefix = "python${majorVersion}"; @@ -48,7 +48,7 @@ in stdenv.mkDerivation { src = fetchurl { url = "https://www.python.org/ftp/python/${majorVersion}.${minorVersion}/Python-${version}.tar.xz"; - sha256 = "0v9x4h22rh5cwpsq1mwpdi3c9lc9820lzp2nmn9g20llij72nzps"; + sha256 = "1fzi9d2gibh0wzwidyckzbywsxcsbckgsl05ryxlifxia77fhgyq"; }; NIX_LDFLAGS = optionalString stdenv.isLinux "-lgcc_s"; From b51aaaa36c4f806ce052778a1b494dcc058af8ac Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Wed, 5 Dec 2018 21:24:28 -0500 Subject: [PATCH 09/39] pythonPackages.lz4: remove in favor of pythonPackages.python-lz4 lz4 packages the same package as python-lz4, but an outdated version --- .../python-modules/lz4/default.nix | 29 ------------------- pkgs/top-level/python-packages.nix | 3 +- 2 files changed, 1 insertion(+), 31 deletions(-) delete mode 100644 pkgs/development/python-modules/lz4/default.nix diff --git a/pkgs/development/python-modules/lz4/default.nix b/pkgs/development/python-modules/lz4/default.nix deleted file mode 100644 index a9a7783fe777..000000000000 --- a/pkgs/development/python-modules/lz4/default.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ stdenv -, buildPythonPackage -, fetchPypi -, pytestrunner -, pytest -, psutil -, pkgconfig -, setuptools_scm -}: - -buildPythonPackage rec { - pname = "lz4"; - version = "2.1.2"; - - src = fetchPypi { - inherit pname version; - sha256 = "ec265f7c3fc3df706e9579bde632ceeef9278858d7ae87c376a2954d11e9ea39"; - }; - - buildInputs = [ setuptools_scm pytestrunner pkgconfig ]; - checkInputs = [ pytest psutil ]; - - meta = with stdenv.lib; { - description = "Compression library"; - homepage = https://github.com/python-lz4/python-lz4; - license = licenses.bsd3; - }; - -} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index b8fbcaa194c1..a64ce4e869c1 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -648,6 +648,7 @@ in { python-hosts = callPackage ../development/python-modules/python-hosts { }; python-lz4 = callPackage ../development/python-modules/python-lz4 { }; + lz4 = self.python-lz4; # alias 2018-12-05 python-ldap-test = callPackage ../development/python-modules/python-ldap-test { }; @@ -3268,8 +3269,6 @@ in { ldappool = callPackage ../development/python-modules/ldappool { }; - lz4 = callPackage ../development/python-modules/lz4 { }; - retrying = callPackage ../development/python-modules/retrying { }; fasteners = callPackage ../development/python-modules/fasteners { }; From 6ef6d4339a499f30cb83ea768e8cbb3fb662469b Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Wed, 5 Dec 2018 21:25:22 -0500 Subject: [PATCH 10/39] pythonPackages.python-lz4: fix license --- pkgs/development/python-modules/python-lz4/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/python-lz4/default.nix b/pkgs/development/python-modules/python-lz4/default.nix index a0fe6666d849..df95ce50a80c 100644 --- a/pkgs/development/python-modules/python-lz4/default.nix +++ b/pkgs/development/python-modules/python-lz4/default.nix @@ -34,7 +34,7 @@ buildPythonPackage rec { meta = { description = "LZ4 Bindings for Python"; homepage = https://github.com/python-lz4/python-lz4; - license = lib.licenses.bsd0; + license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ costrouc ]; }; } From fdc9826c195ec0f7396a67b2979005ab9298bcb0 Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Wed, 5 Dec 2018 23:20:12 -0500 Subject: [PATCH 11/39] buildbot: replace lz4 alias with proper name lz4 used to package the same package as python-lz4, then lz4 was removed and became an alias to python-lz4 --- pkgs/development/python-modules/buildbot/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/buildbot/default.nix b/pkgs/development/python-modules/buildbot/default.nix index c8bc14d3dc11..011cd879b1f3 100644 --- a/pkgs/development/python-modules/buildbot/default.nix +++ b/pkgs/development/python-modules/buildbot/default.nix @@ -1,7 +1,7 @@ { stdenv, lib, buildPythonPackage, fetchPypi, makeWrapper, isPy3k, python, twisted, jinja2, zope_interface, future, sqlalchemy, sqlalchemy_migrate, dateutil, txaio, autobahn, pyjwt, treq, txrequests, - txgithub, pyjade, boto3, moto, mock, lz4, setuptoolsTrial, isort, pylint, + txgithub, pyjade, boto3, moto, mock, python-lz4, setuptoolsTrial, isort, pylint, flake8, buildbot-worker, buildbot-pkg, glibcLocales }: let @@ -55,7 +55,7 @@ let boto3 moto mock - lz4 + python-lz4 setuptoolsTrial isort pylint From be94ca4ada66eef0850e3484b0c02db3607a7632 Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Wed, 5 Dec 2018 23:20:42 -0500 Subject: [PATCH 12/39] pythonPackages.python-lz4: 2.1.0 -> 2.1.2 --- pkgs/development/python-modules/python-lz4/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/python-lz4/default.nix b/pkgs/development/python-modules/python-lz4/default.nix index df95ce50a80c..544d8f6254d6 100644 --- a/pkgs/development/python-modules/python-lz4/default.nix +++ b/pkgs/development/python-modules/python-lz4/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "python-lz4"; - version = "2.1.0"; + version = "2.1.2"; # get full repository inorder to run tests src = fetchFromGitHub { owner = pname; repo = pname; rev = "v${version}"; - sha256 = "1vjfplj37jcw1mf8l810dv76dx0raia3ylgyfy7sfsb3g17brjq6"; + sha256 = "1kzzdfkrq9nnlh0wssa6ccncvv0sk4wmhivhgyndjxz6d6przl5d"; }; buildInputs = [ setuptools_scm pkgconfig pytestrunner ]; From c217d67be3f0919bf471143d8b7c37a2ede970bc Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Thu, 6 Dec 2018 02:10:30 -0500 Subject: [PATCH 13/39] mozlz4a: replace lz4 alias with proper name lz4 used to package the same package as python-lz4, then lz4 was removed and became an alias to python-lz4 --- pkgs/tools/compression/mozlz4a/default.nix | 5 +++-- pkgs/top-level/all-packages.nix | 4 +--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/compression/mozlz4a/default.nix b/pkgs/tools/compression/mozlz4a/default.nix index abd094836664..ce2aa9520d67 100644 --- a/pkgs/tools/compression/mozlz4a/default.nix +++ b/pkgs/tools/compression/mozlz4a/default.nix @@ -1,4 +1,5 @@ -{stdenv, fetchurl, python3, pylz4}: +{ stdenv, fetchurl, python3 }: + stdenv.mkDerivation rec { name = "${pname}-${version}"; pname = "mozlz4a"; @@ -21,7 +22,7 @@ stdenv.mkDerivation rec { chmod a+x "$out/bin/mozlz4a" ''; - buildInputs = [ pylz4 python3 ]; + buildInputs = [ python3 python3.pkgs.python-lz4 ]; meta = { inherit version; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3650e3bcb852..962f2ed34556 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1693,9 +1693,7 @@ in mongodb-tools = callPackage ../tools/misc/mongodb-tools { }; - mozlz4a = callPackage ../tools/compression/mozlz4a { - pylz4 = python3Packages.lz4; - }; + mozlz4a = callPackage ../tools/compression/mozlz4a { }; msr-tools = callPackage ../os-specific/linux/msr-tools { }; From 40e0d00cd61188ebef625921d1bec71f0183e78a Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Tue, 25 Dec 2018 07:48:32 -0800 Subject: [PATCH 14/39] libqmatrixclient: 0.4.0 -> 0.4.1 Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/libqmatrixclient/versions --- pkgs/development/libraries/libqmatrixclient/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/libqmatrixclient/default.nix b/pkgs/development/libraries/libqmatrixclient/default.nix index 2f20150ad164..db9c29469353 100644 --- a/pkgs/development/libraries/libqmatrixclient/default.nix +++ b/pkgs/development/libraries/libqmatrixclient/default.nix @@ -3,13 +3,13 @@ stdenv.mkDerivation rec { name = "libqmatrixclient-${version}"; - version = "0.4.0"; + version = "0.4.1"; src = fetchFromGitHub { owner = "QMatrixClient"; repo = "libqmatrixclient"; rev = "v${version}"; - sha256 = "1llzqjagvp91kcg26q5c4qw9aaz7wna3rh6k06rc3baivrjqf3cn"; + sha256 = "16hi2xqlb4afspqw31c5w63qp0j4gkd6sl7j637b8cac2yigbbns"; }; buildInputs = [ qtbase ]; From be96560327748a6f1b9fc7201df522449f3f765c Mon Sep 17 00:00:00 2001 From: Kai Wohlfahrt Date: Mon, 17 Dec 2018 14:15:13 +0000 Subject: [PATCH 15/39] pythonPackages.pytorch: 0.4.1 -> 1.0.0 `thd_distributed` is broken just like `distributed` is. `cpp_extensions` is broken upstream now, it seems? In the future it can hopefully be re-enabled. Signed-off-by: Austin Seipp --- pkgs/development/python-modules/pytorch/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/pytorch/default.nix b/pkgs/development/python-modules/pytorch/default.nix index b0ae9ef0cf55..d0aa2e59ffca 100644 --- a/pkgs/development/python-modules/pytorch/default.nix +++ b/pkgs/development/python-modules/pytorch/default.nix @@ -1,6 +1,6 @@ { buildPythonPackage, pythonOlder, cudaSupport ? false, cudatoolkit ? null, cudnn ? null, - fetchFromGitHub, lib, numpy, pyyaml, cffi, typing, cmake, + fetchFromGitHub, lib, numpy, pyyaml, cffi, typing, cmake, hypothesis, linkFarm, symlinkJoin, utillinux, which }: @@ -25,7 +25,7 @@ let "LD_LIBRARY_PATH=${cudaStub}\${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} "; in buildPythonPackage rec { - version = "0.4.1"; + version = "1.0.0"; pname = "pytorch"; src = fetchFromGitHub { @@ -33,7 +33,7 @@ in buildPythonPackage rec { repo = "pytorch"; rev = "v${version}"; fetchSubmodules = true; - sha256 = "1cr8h47jxgfar5bamyvlayvqymnb2qvp7rr0ka2d2d4rdldf9lrp"; + sha256 = "076cpbig4sywn9vv674c0xdg832sdrd5pk1d0725pjkm436kpvlm"; }; preConfigure = lib.optionalString cudaSupport '' @@ -71,8 +71,9 @@ in buildPythonPackage rec { pyyaml ] ++ lib.optional (pythonOlder "3.5") typing; + checkInputs = [ hypothesis ]; checkPhase = '' - ${cudaStubEnv}python test/run_test.py --exclude dataloader sparse torch utils distributed + ${cudaStubEnv}python test/run_test.py --exclude dataloader sparse torch utils thd_distributed distributed cpp_extensions ''; meta = { From c6ecb3887f2adb423939a058ff141ae4a82d7315 Mon Sep 17 00:00:00 2001 From: Austin Seipp Date: Mon, 24 Dec 2018 05:46:51 -0600 Subject: [PATCH 16/39] pythonPackages.pytorch: fix weirdly broken wheel version number Otherwise, the wheel gets built with invalid metadata -- causing 'torch >= 1.0.0' to be unsatisfiable in other python packages, for instance. Signed-off-by: Austin Seipp --- pkgs/development/python-modules/pytorch/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/pytorch/default.nix b/pkgs/development/python-modules/pytorch/default.nix index d0aa2e59ffca..e65626e7787a 100644 --- a/pkgs/development/python-modules/pytorch/default.nix +++ b/pkgs/development/python-modules/pytorch/default.nix @@ -58,6 +58,12 @@ in buildPythonPackage rec { done ''; + # Override the (weirdly) wrong version set by default. See + # https://github.com/NixOS/nixpkgs/pull/52437#issuecomment-449718038 + # https://github.com/pytorch/pytorch/blob/v1.0.0/setup.py#L267 + PYTORCH_BUILD_VERSION = version; + PYTORCH_BUILD_NUMBER = 0; + buildInputs = [ cmake numpy.blas From 6fcebb6427de9e5eb105d2057614c8adce6ad17d Mon Sep 17 00:00:00 2001 From: Austin Seipp Date: Mon, 24 Dec 2018 19:57:30 -0600 Subject: [PATCH 17/39] pythonPackages.pytorch: fix spurious test failures This was fixed upstream already -- these tests ensure multi-GPU functionality works, and thus requires multiple GPUs. Signed-off-by: Austin Seipp --- pkgs/development/python-modules/pytorch/default.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/pytorch/default.nix b/pkgs/development/python-modules/pytorch/default.nix index e65626e7787a..7d80e756c77b 100644 --- a/pkgs/development/python-modules/pytorch/default.nix +++ b/pkgs/development/python-modules/pytorch/default.nix @@ -1,4 +1,4 @@ -{ buildPythonPackage, pythonOlder, +{ fetchurl, buildPythonPackage, pythonOlder, cudaSupport ? false, cudatoolkit ? null, cudnn ? null, fetchFromGitHub, lib, numpy, pyyaml, cffi, typing, cmake, hypothesis, linkFarm, symlinkJoin, @@ -36,6 +36,14 @@ in buildPythonPackage rec { sha256 = "076cpbig4sywn9vv674c0xdg832sdrd5pk1d0725pjkm436kpvlm"; }; + patches = + [ # Skips two tests that are only meant to run on multi GPUs + (fetchurl { + url = "https://github.com/pytorch/pytorch/commit/bfa666eb0deebac21b03486e26642fd70d66e478.patch"; + sha256 = "1fgblcj02gjc0y62svwc5gnml879q3x2z7m69c9gax79dpr37s9i"; + }) + ]; + preConfigure = lib.optionalString cudaSupport '' export CC=${cudatoolkit.cc}/bin/gcc CXX=${cudatoolkit.cc}/bin/g++ '' + lib.optionalString (cudaSupport && cudnn != null) '' From 79d21285dd91222aa4cdbbda4e33f19e2e32aa83 Mon Sep 17 00:00:00 2001 From: Austin Seipp Date: Mon, 24 Dec 2018 19:58:04 -0600 Subject: [PATCH 18/39] pythonPackages.pytorch: meta touch up, add myself as maintainer Signed-off-by: Austin Seipp --- pkgs/development/python-modules/pytorch/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/pytorch/default.nix b/pkgs/development/python-modules/pytorch/default.nix index 7d80e756c77b..11fe0b5e6c46 100644 --- a/pkgs/development/python-modules/pytorch/default.nix +++ b/pkgs/development/python-modules/pytorch/default.nix @@ -91,10 +91,10 @@ in buildPythonPackage rec { ''; meta = { - description = "Tensors and Dynamic neural networks in Python with strong GPU acceleration."; - homepage = https://pytorch.org/; - license = lib.licenses.bsd3; - platforms = lib.platforms.linux; - maintainers = with lib.maintainers; [ teh ]; + description = "Open source, prototype-to-production deep learning platform"; + homepage = https://pytorch.org/; + license = lib.licenses.bsd3; + platforms = lib.platforms.linux; + maintainers = with lib.maintainers; [ teh thoughtpolice ]; }; } From 60176e005dd466727bd9bde8fbeb01f39ddee37e Mon Sep 17 00:00:00 2001 From: Austin Seipp Date: Mon, 24 Dec 2018 19:59:40 -0600 Subject: [PATCH 19/39] pythonPackages.pytorch: add libnuma dep on Linux Signed-off-by: Austin Seipp --- pkgs/development/python-modules/pytorch/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pytorch/default.nix b/pkgs/development/python-modules/pytorch/default.nix index 11fe0b5e6c46..fd3ada707624 100644 --- a/pkgs/development/python-modules/pytorch/default.nix +++ b/pkgs/development/python-modules/pytorch/default.nix @@ -1,6 +1,6 @@ -{ fetchurl, buildPythonPackage, pythonOlder, +{ stdenv, fetchurl, buildPythonPackage, pythonOlder, cudaSupport ? false, cudatoolkit ? null, cudnn ? null, - fetchFromGitHub, lib, numpy, pyyaml, cffi, typing, cmake, hypothesis, + fetchFromGitHub, lib, numpy, pyyaml, cffi, typing, cmake, hypothesis, numactl, linkFarm, symlinkJoin, utillinux, which }: @@ -77,7 +77,8 @@ in buildPythonPackage rec { numpy.blas utillinux which - ] ++ lib.optionals cudaSupport [cudatoolkit_joined cudnn]; + ] ++ lib.optionals cudaSupport [ cudatoolkit_joined cudnn ] + ++ lib.optionals stdenv.isLinux [ numactl ]; propagatedBuildInputs = [ cffi From af53114a093a57649bb6c827da0618fd4b42c82e Mon Sep 17 00:00:00 2001 From: Austin Seipp Date: Mon, 24 Dec 2018 20:00:13 -0600 Subject: [PATCH 20/39] pythonPackages.pytorch: fix Intel MKL BLAS compile failure Signed-off-by: Austin Seipp --- pkgs/development/python-modules/pytorch/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/pytorch/default.nix b/pkgs/development/python-modules/pytorch/default.nix index fd3ada707624..8b9ba07ce953 100644 --- a/pkgs/development/python-modules/pytorch/default.nix +++ b/pkgs/development/python-modules/pytorch/default.nix @@ -72,6 +72,11 @@ in buildPythonPackage rec { PYTORCH_BUILD_VERSION = version; PYTORCH_BUILD_NUMBER = 0; + # Suppress a weird warning in mkl-dnn, part of ideep in pytorch + # (upstream seems to have fixed this in the wrong place?) + # https://github.com/intel/mkl-dnn/commit/8134d346cdb7fe1695a2aa55771071d455fae0bc + NIX_CFLAGS_COMPILE = lib.optionals (numpy.blasImplementation == "mkl") [ "-Wno-error=array-bounds" ]; + buildInputs = [ cmake numpy.blas From d30a200ab23a4dfa388ce65bd8c2831540289f32 Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Tue, 25 Dec 2018 18:11:28 +0100 Subject: [PATCH 21/39] eclipse-plugin-spotbugs: 3.1.9 -> 3.1.10 --- pkgs/applications/editors/eclipse/plugins.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/editors/eclipse/plugins.nix b/pkgs/applications/editors/eclipse/plugins.nix index 9595bfe4d8ba..30f381644ac1 100644 --- a/pkgs/applications/editors/eclipse/plugins.nix +++ b/pkgs/applications/editors/eclipse/plugins.nix @@ -555,12 +555,12 @@ rec { spotbugs = buildEclipseUpdateSite rec { name = "spotbugs-${version}"; - version = "3.1.9"; + version = "3.1.10"; src = fetchzip { stripRoot = false; url = "https://github.com/spotbugs/spotbugs/releases/download/${version}/eclipsePlugin.zip"; - sha256 = "0m68jbyaiz0rm4qq3nnwnvgndzv2c6ay6i29kh0p0vdbanggq3xz"; + sha256 = "0xrflgw0h05z3za784ach2fx6dh04lgmfr426m1q235vv2ibds5y"; }; meta = with stdenv.lib; { From f53e7518583cc9aa8fe6ed6b6f141d3c2f023998 Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Tue, 25 Dec 2018 09:54:59 -0800 Subject: [PATCH 22/39] libhandy: 0.0.5 -> 0.0.6 Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/libhandy/versions --- pkgs/development/libraries/libhandy/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/libhandy/default.nix b/pkgs/development/libraries/libhandy/default.nix index 7e80ec817d19..1d07fe6ca268 100644 --- a/pkgs/development/libraries/libhandy/default.nix +++ b/pkgs/development/libraries/libhandy/default.nix @@ -6,7 +6,7 @@ let pname = "libhandy"; - version = "0.0.5"; + version = "0.0.6"; in stdenv.mkDerivation rec { name = "${pname}-${version}"; @@ -18,7 +18,7 @@ in stdenv.mkDerivation rec { owner = "Librem5"; repo = pname; rev = "v${version}"; - sha256 = "0h25ckdfx3slc2mn4vi06bhw42nrqpzn75i9d7wby9iq0cl13l08"; + sha256 = "0gmqsxkpi288qjfdczfrbvjqyy9sbn3gligqwgqj27ask95zl1q5"; }; nativeBuildInputs = [ From e32a9ca6ff691617681c30453f8027447f0ecf1c Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Tue, 25 Dec 2018 18:57:21 +0100 Subject: [PATCH 23/39] =?UTF-8?q?libuchardet:=200.0.5=20=E2=86=92=200.0.6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../libraries/libuchardet/default.nix | 28 +++++++++++-------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/pkgs/development/libraries/libuchardet/default.nix b/pkgs/development/libraries/libuchardet/default.nix index 52bc0ac5cfd4..5aa26a749e4f 100644 --- a/pkgs/development/libraries/libuchardet/default.nix +++ b/pkgs/development/libraries/libuchardet/default.nix @@ -1,25 +1,31 @@ -{ stdenv, fetchFromGitHub, cmake }: +{ stdenv, fetchurl, cmake }: stdenv.mkDerivation rec { - name = "libuchardet-${version}"; + pname = "uchardet"; + version = "0.0.6"; - version = "0.0.5"; + outputs = [ "bin" "out" "man" "dev" ]; - src = fetchFromGitHub { - owner = "BYVoid"; - repo = "uchardet"; - rev = "v${version}"; - sha256 = "0rkym5bhq3hn7623fy0fggw0qaghha71k8bi41ywqd2lchpahrrm"; + src = fetchurl { + url = "https://www.freedesktop.org/software/${pname}/releases/${pname}-${version}.tar.xz"; + sha256 = "0q9c02b6nmw41yfsiqsnphgc3f0yg3fj31wkccp47cmwvy634lc3"; }; buildInputs = [ cmake ]; - doCheck = false; # fails all the tests (ctest) + cmakeFlags = [ + "-DCMAKE_SKIP_BUILD_RPATH=OFF" # for tests + # TODO: move the following to CMake setup hook + "-DCMAKE_INSTALL_BINDIR=${placeholder "bin"}/bin" + "-DCMAKE_INSTALL_MANDIR=${placeholder "man"}/share/man" + ]; + + doCheck = true; meta = with stdenv.lib; { description = "Mozilla's Universal Charset Detector C/C++ API"; - homepage = https://www.byvoid.com/zht/project/uchardet; - license = licenses.mpl11; + homepage = https://www.freedesktop.org/wiki/Software/uchardet/; + license = licenses.mpl11; maintainers = with maintainers; [ cstrahan ]; platforms = with platforms; unix; }; From 1f6b0950614594557d121f4cfbe75f382961b2ff Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Sun, 18 Nov 2018 11:49:00 +0100 Subject: [PATCH 24/39] gtest: build shared library Arch provides shared library as well. --- pkgs/development/libraries/gtest/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/libraries/gtest/default.nix b/pkgs/development/libraries/gtest/default.nix index cf4069871d1d..06fffc4f5240 100644 --- a/pkgs/development/libraries/gtest/default.nix +++ b/pkgs/development/libraries/gtest/default.nix @@ -3,6 +3,8 @@ stdenv.mkDerivation rec { name = "gtest-${version}"; version = "1.8.1"; + outputs = [ "out" "dev" ]; + src = fetchFromGitHub { owner = "google"; repo = "googletest"; @@ -12,6 +14,10 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ cmake ninja ]; + cmakeFlags = [ + "-DBUILD_SHARED_LIBS=ON" + ]; + meta = with stdenv.lib; { description = "Google's framework for writing C++ tests"; homepage = https://github.com/google/googletest; From c1e10bd2582ed85466ed401228acf2112a2ecdd0 Mon Sep 17 00:00:00 2001 From: Alexandre Peyroux Date: Tue, 25 Dec 2018 23:28:59 +0100 Subject: [PATCH 25/39] masterpdfeditor: 5.1.60 -> 5.2.20 --- pkgs/applications/misc/masterpdfeditor/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/masterpdfeditor/default.nix b/pkgs/applications/misc/masterpdfeditor/default.nix index 1cb472ff0194..2928d271efcf 100644 --- a/pkgs/applications/misc/masterpdfeditor/default.nix +++ b/pkgs/applications/misc/masterpdfeditor/default.nix @@ -1,14 +1,14 @@ { stdenv, fetchurl, sane-backends, qtbase, qtsvg, nss, autoPatchelfHook, lib, makeWrapper }: let - version = "5.1.60"; + version = "5.2.20"; in stdenv.mkDerivation { name = "masterpdfeditor-${version}"; src = fetchurl { url = "https://code-industry.net/public/master-pdf-editor-${version}_qt5.amd64.tar.gz"; - sha256 = "0br5f04klzpbd25igbjjj1dqasmrcrw2zsan5bv0ydnr2lmpb2fz"; + sha256 = "1399zv3m7a2rxvmy213f5yii3krsqyahpwdzsw8j535xrb9f3z1m"; }; nativeBuildInputs = [ autoPatchelfHook makeWrapper ]; From 981ecaad30658e4614b0b393ec23139dd6ace440 Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Tue, 25 Dec 2018 15:08:33 -0800 Subject: [PATCH 26/39] girara: 0.3.1 -> 0.3.2 Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/girara/versions --- pkgs/applications/misc/girara/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/girara/default.nix b/pkgs/applications/misc/girara/default.nix index 0dfeac3cf8b2..919f20f13983 100644 --- a/pkgs/applications/misc/girara/default.nix +++ b/pkgs/applications/misc/girara/default.nix @@ -3,11 +3,11 @@ stdenv.mkDerivation rec { name = "girara-${version}"; - version = "0.3.1"; + version = "0.3.2"; src = fetchurl { url = "https://pwmt.org/projects/girara/download/${name}.tar.xz"; - sha256 = "1ddwap5q5cnfdr1q1b110wy7mw1z3khn86k01jl8lqmn02n9nh1w"; + sha256 = "1kc6n1mxjxa7wvwnqy94qfg8l9jvx9qrvrr2kc7m4g0z20x3a00p"; }; nativeBuildInputs = [ meson ninja pkgconfig gettext ]; From c65edd687f11a5b16b79bc90b129ccdf9b8bc902 Mon Sep 17 00:00:00 2001 From: worldofpeace Date: Thu, 20 Dec 2018 12:46:05 -0500 Subject: [PATCH 27/39] geoclue2: correct sysconfdir --- nixos/modules/services/desktops/geoclue2.nix | 2 + ...d-option-for-installation-sysconfdir.patch | 55 +++++++++++++++++++ .../development/libraries/geoclue/default.nix | 6 ++ 3 files changed, 63 insertions(+) create mode 100644 pkgs/development/libraries/geoclue/add-option-for-installation-sysconfdir.patch diff --git a/nixos/modules/services/desktops/geoclue2.nix b/nixos/modules/services/desktops/geoclue2.nix index dafb0af20756..840aa5294ed0 100644 --- a/nixos/modules/services/desktops/geoclue2.nix +++ b/nixos/modules/services/desktops/geoclue2.nix @@ -61,6 +61,8 @@ in wantedBy = [ "default.target" ]; }; }; + + environment.etc."geoclue/geoclue.conf".source = "${package}/etc/geoclue/geoclue.conf"; }; } diff --git a/pkgs/development/libraries/geoclue/add-option-for-installation-sysconfdir.patch b/pkgs/development/libraries/geoclue/add-option-for-installation-sysconfdir.patch new file mode 100644 index 000000000000..629ea102971b --- /dev/null +++ b/pkgs/development/libraries/geoclue/add-option-for-installation-sysconfdir.patch @@ -0,0 +1,55 @@ +--- a/data/meson.build ++++ b/data/meson.build +@@ -7,7 +7,7 @@ + conf.set('demo_agent', '') + endif + +- conf_dir = join_paths(get_option('sysconfdir'), 'geoclue') ++ conf_dir = join_paths(sysconfdir_install, 'geoclue') + configure_file(output: 'geoclue.conf', + input: 'geoclue.conf.in', + configuration: conf, +@@ -26,7 +26,7 @@ + # DBus Service policy file + dbus_service_dir = get_option('dbus-sys-dir') + if dbus_service_dir == '' +- dbus_service_dir = join_paths(get_option('sysconfdir'), 'dbus-1', 'system.d') ++ dbus_service_dir = join_paths(sysconfdir_install, 'dbus-1', 'system.d') + endif + configure_file(output: 'org.freedesktop.GeoClue2.conf', + input: 'org.freedesktop.GeoClue2.conf.in', +--- a/demo/meson.build ++++ b/demo/meson.build +@@ -56,8 +56,7 @@ + install_dir: desktop_dir) + + # Also install in the autostart directory. +- autostart_dir = join_paths(get_option('prefix'), +- get_option('sysconfdir'), ++ autostart_dir = join_paths(sysconfdir_install, + 'xdg', 'autostart') + meson.add_install_script('install-file.py', + desktop_file.full_path(), +--- a/meson.build ++++ b/meson.build +@@ -22,6 +22,11 @@ + datadir = join_paths(get_option('prefix'), get_option('datadir')) + conf.set_quoted('LOCALEDIR', datadir + '/locale') + conf.set_quoted('SYSCONFDIR', get_option('sysconfdir')) ++if get_option('sysconfdir_install') != '' ++ sysconfdir_install = join_paths(get_option('prefix'), get_option('sysconfdir_install')) ++else ++ sysconfdir_install = get_option('sysconfdir') ++endif + + configure_file(output: 'config.h', configuration : conf) + configinc = include_directories('.') +--- a/meson_options.txt ++++ b/meson_options.txt +@@ -34,3 +34,6 @@ + option('dbus-srv-user', + type: 'string', value: 'root', + description: 'The user (existing) as which the service will run') ++option('sysconfdir_install', ++ type: 'string', value: '', ++ description: 'sysconfdir to use during installation') diff --git a/pkgs/development/libraries/geoclue/default.nix b/pkgs/development/libraries/geoclue/default.nix index f2eeb9ae40b8..5e83ba71c1bc 100644 --- a/pkgs/development/libraries/geoclue/default.nix +++ b/pkgs/development/libraries/geoclue/default.nix @@ -17,6 +17,10 @@ stdenv.mkDerivation rec { sha256 = "0vww6irijw5ss7vawkdi5z5wdpcgw4iqljn5vs3vbd4y3d0lzrbs"; }; + patches = [ + ./add-option-for-installation-sysconfdir.patch + ]; + outputs = [ "out" "dev" "devdoc" ]; nativeBuildInputs = [ @@ -36,6 +40,8 @@ stdenv.mkDerivation rec { mesonFlags = [ "-Dsystemd-system-unit-dir=${placeholder "out"}/etc/systemd/system" "-Ddemo-agent=${if withDemoAgent then "true" else "false"}" + "--sysconfdir=/etc" + "-Dsysconfdir_install=${placeholder "out"}/etc" ] ++ optionals stdenv.isDarwin [ "-D3g-source=false" "-Dcdma-source=false" From 5f9cd7475cac34ec55e55d28b46891ed4d33855f Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Tue, 25 Dec 2018 16:46:38 -0800 Subject: [PATCH 28/39] jsonnet: 0.11.2 -> 0.12.1 (#52874) Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/jsonnet/versions --- pkgs/development/compilers/jsonnet/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/compilers/jsonnet/default.nix b/pkgs/development/compilers/jsonnet/default.nix index 15eec4134acf..6104ffc7aaa3 100644 --- a/pkgs/development/compilers/jsonnet/default.nix +++ b/pkgs/development/compilers/jsonnet/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { name = "jsonnet-${version}"; - version = "0.11.2"; + version = "0.12.1"; src = fetchFromGitHub { rev = "v${version}"; owner = "google"; repo = "jsonnet"; - sha256 = "05rl5i4g36k2ikxv4sw726mha1qf5bb66wiqpi0s09wj9azm7vym"; + sha256 = "13a0sf1k8ivxhc28w0d0axzr0sj3jccl9sjq6l0dkyzrnmbxzmkb"; }; enableParallelBuilding = true; From f2eb5692506d54ffddaf2410313293d6d58d6d8b Mon Sep 17 00:00:00 2001 From: Orivej Desh Date: Tue, 25 Dec 2018 23:53:00 +0000 Subject: [PATCH 29/39] psi-plus: 1.4.404 -> 1.4.504 --- .../networking/instant-messengers/psi-plus/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/psi-plus/default.nix b/pkgs/applications/networking/instant-messengers/psi-plus/default.nix index d01019a56197..e1a2fb40c5ae 100644 --- a/pkgs/applications/networking/instant-messengers/psi-plus/default.nix +++ b/pkgs/applications/networking/instant-messengers/psi-plus/default.nix @@ -5,13 +5,13 @@ stdenv.mkDerivation rec { name = "psi-plus-${version}"; - version = "1.4.404"; + version = "1.4.504"; src = fetchFromGitHub { owner = "psi-plus"; repo = "psi-plus-snapshots"; rev = "${version}"; - sha256 = "05dcr1i7ic6nff70w4zfpdcmwf19kkhgxm7mcznmlr484d5i1v2m"; + sha256 = "1nv1ynad2gcn7r8mm2w3kixmahaql7xax1lccsqyxqmj1r0klk8q"; }; resources = fetchFromGitHub { From c6f90688045073c5624b65e42e0a4be1564b7c2c Mon Sep 17 00:00:00 2001 From: Orivej Desh Date: Tue, 25 Dec 2018 23:10:21 +0000 Subject: [PATCH 30/39] pythonPackages.parsel: fix for Python 2 --- pkgs/development/python-modules/parsel/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/parsel/default.nix b/pkgs/development/python-modules/parsel/default.nix index 0135b98cbda7..9ebd5e9b9ea2 100644 --- a/pkgs/development/python-modules/parsel/default.nix +++ b/pkgs/development/python-modules/parsel/default.nix @@ -1,8 +1,9 @@ -{ stdenv +{ lib , buildPythonPackage , fetchPypi , pytest , pytestrunner +, functools32 , six , w3lib , lxml @@ -19,13 +20,13 @@ buildPythonPackage rec { }; buildInputs = [ pytest pytestrunner ]; - propagatedBuildInputs = [ six w3lib lxml cssselect ]; + propagatedBuildInputs = [ functools32 six w3lib lxml cssselect ]; checkPhase = '' py.test ''; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://github.com/scrapy/parsel"; description = "Parsel is a library to extract data from HTML and XML using XPath and CSS selectors"; license = licenses.bsd3; From 6137c6de6c521ee70e69d2a1edf49155ee13d823 Mon Sep 17 00:00:00 2001 From: Orivej Desh Date: Wed, 26 Dec 2018 01:09:06 +0000 Subject: [PATCH 31/39] pythonPackages.secretstorage: fix license --- pkgs/development/python-modules/secretstorage/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/secretstorage/default.nix b/pkgs/development/python-modules/secretstorage/default.nix index c0df4d4a878e..bff45c7f2c3c 100644 --- a/pkgs/development/python-modules/secretstorage/default.nix +++ b/pkgs/development/python-modules/secretstorage/default.nix @@ -24,7 +24,7 @@ buildPythonPackage rec { meta = with lib; { homepage = https://github.com/mitya57/secretstorage; description = "Python bindings to FreeDesktop.org Secret Service API"; - license = licenses.bsdOriginal; + license = licenses.bsd3; maintainers = with maintainers; [ teto ]; }; } From 84d133c8451646d4a55a2365b16983d08e41461a Mon Sep 17 00:00:00 2001 From: Orivej Desh Date: Tue, 25 Dec 2018 23:09:53 +0000 Subject: [PATCH 32/39] pythonPackages.secretstorage: init at 2.3.1 for Python 2 --- .../python-modules/secretstorage/2.nix | 24 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 4 +++- 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 pkgs/development/python-modules/secretstorage/2.nix diff --git a/pkgs/development/python-modules/secretstorage/2.nix b/pkgs/development/python-modules/secretstorage/2.nix new file mode 100644 index 000000000000..8fa044e638a4 --- /dev/null +++ b/pkgs/development/python-modules/secretstorage/2.nix @@ -0,0 +1,24 @@ +{ lib, fetchPypi, buildPythonPackage, cryptography, dbus-python }: + +buildPythonPackage rec { + pname = "secretstorage"; + version = "2.3.1"; + + src = fetchPypi { + pname = "SecretStorage"; + inherit version; + sha256 = "1di9gx4m27brs6ar774m64s017iz742mnmw39kvfc8skfs3mrxis"; + }; + + propagatedBuildInputs = [ cryptography dbus-python ]; + + # Needs a D-Bus Sesison + doCheck = false; + + meta = with lib; { + homepage = https://github.com/mitya57/secretstorage; + description = "Python bindings to FreeDesktop.org Secret Service API"; + license = licenses.bsd3; + maintainers = with maintainers; [ orivej ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index a64ce4e869c1..d3e384d8ed26 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4258,7 +4258,9 @@ in { blessings = callPackage ../development/python-modules/blessings { }; - secretstorage = callPackage ../development/python-modules/secretstorage { }; + secretstorage = if isPy3k + then callPackage ../development/python-modules/secretstorage { } + else callPackage ../development/python-modules/secretstorage/2.nix { }; semantic = callPackage ../development/python-modules/semantic { }; From 3fd67fbb42d94fefe32af5955a546d146b5f7eb8 Mon Sep 17 00:00:00 2001 From: Orivej Desh Date: Wed, 26 Dec 2018 02:26:46 +0000 Subject: [PATCH 33/39] pythonPackages.taskw: fix build Broken by 8600798172e6a4c526d593ec8da48ce28cf0d15c in #49741. --- .../python-modules/taskw/default.nix | 3 +- ...emplate-for-taskwarrior-install-path.patch | 42 ++----------------- 2 files changed, 6 insertions(+), 39 deletions(-) diff --git a/pkgs/development/python-modules/taskw/default.nix b/pkgs/development/python-modules/taskw/default.nix index 328eb158eefb..d2d12ca0b962 100644 --- a/pkgs/development/python-modules/taskw/default.nix +++ b/pkgs/development/python-modules/taskw/default.nix @@ -5,6 +5,7 @@ , tox , six , dateutil +, kitchen , pytz , pkgs }: @@ -28,7 +29,7 @@ buildPythonPackage rec { doCheck = false; buildInputs = [ nose pkgs.taskwarrior tox ]; - propagatedBuildInputs = [ six dateutil pytz ]; + propagatedBuildInputs = [ six dateutil kitchen pytz ]; meta = with stdenv.lib; { homepage = https://github.com/ralphbean/taskw; diff --git a/pkgs/development/python-modules/taskw/use-template-for-taskwarrior-install-path.patch b/pkgs/development/python-modules/taskw/use-template-for-taskwarrior-install-path.patch index 006d964d4016..8c7685c9d03b 100644 --- a/pkgs/development/python-modules/taskw/use-template-for-taskwarrior-install-path.patch +++ b/pkgs/development/python-modules/taskw/use-template-for-taskwarrior-install-path.patch @@ -4,45 +4,11 @@ Date: Sun Nov 16 15:19:38 2014 +0100 Use a template for taskwarrior install path. -diff --git a/taskw/warrior.py b/taskw/warrior.py -index 21dde88..e0509f2 100644 --- a/taskw/warrior.py +++ b/taskw/warrior.py -@@ -451,17 +451,17 @@ class TaskWarriorShellout(TaskWarriorBase): - def _execute(self, *args): - """ Execute a given taskwarrior command with arguments - - Returns a 2-tuple of stdout and stderr (respectively). - - """ - command = ( - [ +@@ -449 +449 @@ class TaskWarriorShellout(TaskWarriorBase): - 'task', + '@@taskwarrior@@/bin/task', - 'rc:%s' % self.config_filename, - ] - + self.get_configuration_override_args() - + [six.text_type(arg) for arg in args] - ) - - # subprocess is expecting bytestrings only, so nuke unicode if present - for i in range(len(command)): -@@ -525,17 +525,17 @@ class TaskWarriorShellout(TaskWarriorBase): - except OSError: - # OSError is raised if subprocess.Popen fails to find - # the executable. - return False - - @classmethod - def get_version(cls): - taskwarrior_version = subprocess.Popen( -- ['task', '--version'], -+ ['@@taskwarrior@@/bin/task', '--version'], - stdout=subprocess.PIPE - ).communicate()[0] - return LooseVersion(taskwarrior_version.decode()) - - def sync(self, init=False): - if self.get_version() < LooseVersion('2.3'): - raise UnsupportedVersionException( - "'sync' requires version 2.3 of taskwarrior or later." +@@ -553 +553 @@ class TaskWarriorShellout(TaskWarriorBase): +- ['task', '--version'], ++ ['@@taskwarrior@@/bin/task', '--version'], From 4f909b59b46e273cfb0682df6131e3e3124e0833 Mon Sep 17 00:00:00 2001 From: Orivej Desh Date: Wed, 26 Dec 2018 02:30:48 +0000 Subject: [PATCH 34/39] pythonPackages.goobook: fix build Broken by e42495282650010acabaad76e5b7f27de4315665 in #49741. --- pkgs/development/python-modules/goobook/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/goobook/default.nix b/pkgs/development/python-modules/goobook/default.nix index 599132f0f2c2..4a3c3dc3bcb7 100644 --- a/pkgs/development/python-modules/goobook/default.nix +++ b/pkgs/development/python-modules/goobook/default.nix @@ -4,6 +4,7 @@ , isPy3k , oauth2client , gdata +, google_api_python_client , simplejson , httplib2 , keyring @@ -21,7 +22,7 @@ buildPythonPackage rec { sha256 = "139a98d646d5c5963670944d5cfcc1a107677ee11fa98329221bd600457fda6d"; }; - propagatedBuildInputs = [ oauth2client gdata simplejson httplib2 keyring six rsa ]; + propagatedBuildInputs = [ oauth2client gdata google_api_python_client simplejson httplib2 keyring six rsa ]; preConfigure = '' sed -i '/distribute/d' setup.py From 669705c6205a7feccf4c3ff52a8e5448571b87d1 Mon Sep 17 00:00:00 2001 From: Orivej Desh Date: Wed, 26 Dec 2018 02:33:07 +0000 Subject: [PATCH 35/39] pythonPackages.ofxparse: fix build Broken by 0fde2cf4e140d6ca93303bb4622195176ffa94b2 in #49741. --- pkgs/development/python-modules/ofxparse/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/ofxparse/default.nix b/pkgs/development/python-modules/ofxparse/default.nix index fbbd3899420b..377138877c9c 100644 --- a/pkgs/development/python-modules/ofxparse/default.nix +++ b/pkgs/development/python-modules/ofxparse/default.nix @@ -3,6 +3,7 @@ , fetchPypi , six , beautifulsoup4 +, lxml }: buildPythonPackage rec { @@ -14,7 +15,7 @@ buildPythonPackage rec { sha256 = "d8c81fd5089332106da1a2e8919c412c7c677f08af04d557ca767701a04e0918"; }; - propagatedBuildInputs = [ six beautifulsoup4 ]; + propagatedBuildInputs = [ six beautifulsoup4 lxml ]; meta = with stdenv.lib; { homepage = "http://sites.google.com/site/ofxparse"; From 2102ff090d07fc388eccb2be75c3cdf50369c0da Mon Sep 17 00:00:00 2001 From: Orivej Desh Date: Wed, 26 Dec 2018 02:41:38 +0000 Subject: [PATCH 36/39] pythonPackages.jsonrpclib-pelix: disable tests Version 0.3.2 has started to advertise the tests in setup.py, but there are no tests in the PyPI distribution. --- pkgs/development/python-modules/jsonrpclib-pelix/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/jsonrpclib-pelix/default.nix b/pkgs/development/python-modules/jsonrpclib-pelix/default.nix index 2e3ef0545984..5e6d6ceab9b0 100644 --- a/pkgs/development/python-modules/jsonrpclib-pelix/default.nix +++ b/pkgs/development/python-modules/jsonrpclib-pelix/default.nix @@ -12,6 +12,8 @@ buildPythonPackage rec { sha256 = "14d288d1b3d3273cf96a729dd21a2470851c4962be8509f3dd62f0137ff90339"; }; + doCheck = false; # test_suite="tests" in setup.py but no tests in pypi. + meta = with lib; { description = "JSON RPC client library - Pelix compatible fork"; homepage = https://pypi.python.org/pypi/jsonrpclib-pelix/; From 483b87ba090b8db10b92fb908c48eb530c15245f Mon Sep 17 00:00:00 2001 From: Orivej Desh Date: Tue, 25 Dec 2018 23:06:37 +0000 Subject: [PATCH 37/39] pythonPackages.qrcode: disable tests with Python 3 They fail since qrcode 6.0: https://hydra.nixos.org/job/nixpkgs/trunk/python37Packages.qrcode.x86_64-linux Upstream issue: https://github.com/lincolnloop/python-qrcode/issues/163 --- pkgs/development/python-modules/qrcode/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/qrcode/default.nix b/pkgs/development/python-modules/qrcode/default.nix index ca751e4ce783..fedff05d8133 100644 --- a/pkgs/development/python-modules/qrcode/default.nix +++ b/pkgs/development/python-modules/qrcode/default.nix @@ -1,5 +1,6 @@ { stdenv , buildPythonPackage +, isPy27 , fetchPypi , six , pillow @@ -18,6 +19,7 @@ buildPythonPackage rec { propagatedBuildInputs = [ six pillow pymaging_png ]; checkInputs = [ mock ]; + doCheck = isPy27; # https://github.com/lincolnloop/python-qrcode/issues/163 meta = with stdenv.lib; { description = "Quick Response code generation for Python"; From 8b12b17df3a8b5141e7a848641933cec28818ffa Mon Sep 17 00:00:00 2001 From: Craig Younkins Date: Fri, 30 Nov 2018 01:19:05 +0000 Subject: [PATCH 38/39] treewide: Fix broken Gmane URLs --- nixos/doc/manual/release-notes/rl-1412.xml | 2 +- pkgs/build-support/fetchgit/nix-prefetch-git | 2 +- pkgs/development/libraries/adns/default.nix | 2 +- pkgs/development/tools/misc/dejagnu/default.nix | 2 +- pkgs/os-specific/linux/ati-drivers/default.nix | 2 +- pkgs/tools/misc/coreutils/default.nix | 4 ++-- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/nixos/doc/manual/release-notes/rl-1412.xml b/nixos/doc/manual/release-notes/rl-1412.xml index 4d93aa644c1d..139f61c2a550 100644 --- a/nixos/doc/manual/release-notes/rl-1412.xml +++ b/nixos/doc/manual/release-notes/rl-1412.xml @@ -17,7 +17,7 @@ - + Nix has been updated to 1.8. diff --git a/pkgs/build-support/fetchgit/nix-prefetch-git b/pkgs/build-support/fetchgit/nix-prefetch-git index 34dfe67df4bd..fa4e504c908f 100755 --- a/pkgs/build-support/fetchgit/nix-prefetch-git +++ b/pkgs/build-support/fetchgit/nix-prefetch-git @@ -152,7 +152,7 @@ checkout_ref(){ if "$deepClone"; then # The caller explicitly asked for a deep clone. Deep clones # allow "git describe" and similar tools to work. See - # http://thread.gmane.org/gmane.linux.distributions.nixos/3569 + # https://marc.info/?l=nix-dev&m=139641582514772 # for a discussion. return 1 fi diff --git a/pkgs/development/libraries/adns/default.nix b/pkgs/development/libraries/adns/default.nix index 0f0e30ef0f3b..76e49768d53d 100644 --- a/pkgs/development/libraries/adns/default.nix +++ b/pkgs/development/libraries/adns/default.nix @@ -18,7 +18,7 @@ stdenv.mkDerivation { preConfigure = stdenv.lib.optionalString stdenv.isDarwin "sed -i -e 's|-Wl,-soname=$(SHLIBSONAME)||' configure"; - # http://thread.gmane.org/gmane.linux.distributions.nixos/1328 for details. + # https://www.mail-archive.com/nix-dev@cs.uu.nl/msg01347.html for details. doCheck = false; postInstall = stdenv.lib.optionalString stdenv.isDarwin '' diff --git a/pkgs/development/tools/misc/dejagnu/default.nix b/pkgs/development/tools/misc/dejagnu/default.nix index 26eaf707b2bd..c04031bc41db 100644 --- a/pkgs/development/tools/misc/dejagnu/default.nix +++ b/pkgs/development/tools/misc/dejagnu/default.nix @@ -14,7 +14,7 @@ stdenv.mkDerivation rec { # Note: The test-suite *requires* /dev/pts among the `build-chroot-dirs' of # the build daemon when building in a chroot. See - # for + # for # details. # The test-suite needs to have a non-empty stdin: diff --git a/pkgs/os-specific/linux/ati-drivers/default.nix b/pkgs/os-specific/linux/ati-drivers/default.nix index cda7e03cd066..bc35d14321b4 100644 --- a/pkgs/os-specific/linux/ati-drivers/default.nix +++ b/pkgs/os-specific/linux/ati-drivers/default.nix @@ -19,7 +19,7 @@ with stdenv.lib; # make sure libglx.so of ati is used. xorg.xorgserver does provide it as well # which is a problem because it doesn't contain the xorgserver patch supporting # the XORG_DRI_DRIVER_PATH env var. -# See http://thread.gmane.org/gmane.linux.distributions.nixos/4145 for a +# See https://marc.info/?l=nix-dev&m=139641585515351 for a # workaround (TODO) # The gentoo ebuild contains much more "magic" and is usually a great resource to diff --git a/pkgs/tools/misc/coreutils/default.nix b/pkgs/tools/misc/coreutils/default.nix index 0ddfad65a7a1..c252a8748bce 100644 --- a/pkgs/tools/misc/coreutils/default.nix +++ b/pkgs/tools/misc/coreutils/default.nix @@ -63,8 +63,8 @@ stdenv.mkDerivation rec { ++ optional (stdenv.hostPlatform != stdenv.buildPlatform && stdenv.hostPlatform.libc != "glibc") libiconv; # The tests are known broken on Cygwin - # (http://thread.gmane.org/gmane.comp.gnu.core-utils.bugs/19025), - # Darwin (http://thread.gmane.org/gmane.comp.gnu.core-utils.bugs/19351), + # (http://article.gmane.org/gmane.comp.gnu.core-utils.bugs/19025), + # Darwin (http://article.gmane.org/gmane.comp.gnu.core-utils.bugs/19351), # and {Open,Free}BSD. # With non-standard storeDir: https://github.com/NixOS/nix/issues/512 doCheck = stdenv.hostPlatform == stdenv.buildPlatform From 4543559aead7172e6da78325bb1b760ddb729df2 Mon Sep 17 00:00:00 2001 From: Craig Younkins Date: Fri, 30 Nov 2018 01:19:05 +0000 Subject: [PATCH 39/39] net-snmp: Fix broken Gmane URL Fixes: #52898 Fixes: #51260 --- pkgs/servers/monitoring/net-snmp/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/servers/monitoring/net-snmp/default.nix b/pkgs/servers/monitoring/net-snmp/default.nix index 0e7a53306eb4..d86eac719a60 100644 --- a/pkgs/servers/monitoring/net-snmp/default.nix +++ b/pkgs/servers/monitoring/net-snmp/default.nix @@ -28,7 +28,7 @@ stdenv.mkDerivation rec { perlarchname=$(perl -e 'use Config; print $Config{archname};') installFlags="INSTALLSITEARCH=$out/lib/perl5/site_perl/$perlversion/$perlarchname INSTALLSITEMAN3DIR=$out/share/man/man3" - # http://comments.gmane.org/gmane.network.net-snmp.user/32434 + # http://article.gmane.org/gmane.network.net-snmp.user/32434 substituteInPlace "man/Makefile.in" --replace 'grep -vE' '@EGREP@ -v' '';