From 2bdfb86e0887e70c9b06d734b7f3cc411b9d461d Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Mon, 21 Sep 2020 20:19:43 +0200 Subject: [PATCH 01/41] pythonPackages.unrardll: init at 0.1.4 --- .../python-modules/unrardll/default.nix | 22 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 pkgs/development/python-modules/unrardll/default.nix diff --git a/pkgs/development/python-modules/unrardll/default.nix b/pkgs/development/python-modules/unrardll/default.nix new file mode 100644 index 00000000000..49e070b8463 --- /dev/null +++ b/pkgs/development/python-modules/unrardll/default.nix @@ -0,0 +1,22 @@ +{ lib, buildPythonPackage, fetchPypi, unrar }: + +buildPythonPackage rec { + pname = "unrardll"; + version = "0.1.4"; + + src = fetchPypi { + inherit pname version; + sha256 = "4149c0729cf96a0bae80360e7d94dc40af1088c8da7f6eb8d10e09b8632e92ad"; + }; + + buildInputs = [ unrar ]; + + pythonImportsCheck = [ "unrardll" ]; + + meta = with lib; { + description = "Wrap the Unrar DLL to enable unraring of files in python"; + homepage = "https://github.com/kovidgoyal/unrardll"; + license = licenses.bsd3; + maintainers = with maintainers; [ nyanloutre ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index e3c07aea749..dda505cf719 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7258,6 +7258,8 @@ in { unpaddedbase64 = callPackage ../development/python-modules/unpaddedbase64 { }; + unrardll = callPackage ../development/python-modules/unrardll { }; + unrpa = callPackage ../development/python-modules/unrpa { }; untangle = callPackage ../development/python-modules/untangle { }; From 2e73a9ab84cd1ac84465dbd8b290ca3517d3c1d5 Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Tue, 22 Sep 2020 01:24:50 +0200 Subject: [PATCH 02/41] calibre: add unrardll optional dependency --- pkgs/applications/misc/calibre/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/misc/calibre/default.nix b/pkgs/applications/misc/calibre/default.nix index 92a491a0056..8ea1dba54ed 100644 --- a/pkgs/applications/misc/calibre/default.nix +++ b/pkgs/applications/misc/calibre/default.nix @@ -99,7 +99,7 @@ mkDerivation rec { sip # the following are distributed with calibre, but we use upstream instead odfpy - ] + ] ++ lib.optional (unrarSupport) unrardll ); installPhase = '' From 20a9caf0a474e182909ac850fa675a4ded502e6c Mon Sep 17 00:00:00 2001 From: Michael Weiss Date: Sun, 15 Nov 2020 12:03:15 +0100 Subject: [PATCH 03/41] iproute: Rename the attribute to iproute2 This is done because the project is actually named iproute2: - https://wiki.linuxfoundation.org/networking/iproute2 - https://git.kernel.org/pub/scm/network/iproute2/iproute2.git - https://en.wikipedia.org/wiki/Iproute2 Our package name already reflects that and for consistency the attribute name should also be iproute2. However, it is important to note that some distributions use "iproute" (but that might be for technical reasons): - https://repology.org/project/iproute2/versions --- pkgs/top-level/all-packages.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d1d1b8a84a0..76a385398b3 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -17913,7 +17913,8 @@ julia_15 = callPackage ../development/compilers/julia/1.5.nix { iotop = callPackage ../os-specific/linux/iotop { }; - iproute = callPackage ../os-specific/linux/iproute { }; + iproute2 = callPackage ../os-specific/linux/iproute { }; + iproute = iproute2; # Alias added 2020-11-15 (TODO: deprecate and move to pkgs/top-level/aliases.nix) iproute_mptcp = callPackage ../os-specific/linux/iproute/mptcp.nix { }; From 8275e5b391ac0b0f49904e0789bfc163416027b7 Mon Sep 17 00:00:00 2001 From: Piotr Bogdan Date: Wed, 21 Oct 2020 18:17:21 +0100 Subject: [PATCH 04/41] quodlibet: 4.2.1 -> 4.3.0, fix tests --- pkgs/applications/audio/quodlibet/default.nix | 20 ++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/audio/quodlibet/default.nix b/pkgs/applications/audio/quodlibet/default.nix index 704e20cc8c5..b8a73caf24c 100644 --- a/pkgs/applications/audio/quodlibet/default.nix +++ b/pkgs/applications/audio/quodlibet/default.nix @@ -1,5 +1,5 @@ -{ stdenv, fetchurl, python3, wrapGAppsHook, gettext, libsoup, gnome3, gtk3, gdk-pixbuf, - tag ? "", xvfb_run, dbus, glibcLocales, glib, glib-networking, gobject-introspection, +{ stdenv, fetchurl, python3, wrapGAppsHook, gettext, libsoup, gnome3, gtk3, gdk-pixbuf, librsvg, + tag ? "", xvfb_run, dbus, glibcLocales, glib, glib-networking, gobject-introspection, hicolor-icon-theme, gst_all_1, withGstPlugins ? true, xineBackend ? false, xineLib, withDbusPython ? false, withPyInotify ? false, withMusicBrainzNgs ? false, withPahoMqtt ? false, @@ -9,16 +9,16 @@ let optionals = stdenv.lib.optionals; in python3.pkgs.buildPythonApplication rec { pname = "quodlibet${tag}"; - version = "4.2.1"; + version = "4.3.0"; src = fetchurl { url = "https://github.com/quodlibet/quodlibet/releases/download/release-${version}/quodlibet-${version}.tar.gz"; - sha256 = "0b1rvr4hqs2bjmhayms7vxxkn3d92k9v7p1269rjhf11hpk122l7"; + sha256 = "1q17ckblfa4fcs7wsjwsq1dj7360ymrdyjkyqmj864wzlqkw1rd2"; }; nativeBuildInputs = [ wrapGAppsHook gettext ]; - checkInputs = [ gdk-pixbuf ] ++ (with python3.pkgs; [ pytest pytest_xdist polib xvfb_run dbus.daemon glibcLocales ]); + checkInputs = [ gdk-pixbuf hicolor-icon-theme ] ++ (with python3.pkgs; [ pytest pytest_xdist polib xvfb_run dbus.daemon glibcLocales ]); buildInputs = [ gnome3.adwaita-icon-theme libsoup glib glib-networking gtk3 webkitgtk gdk-pixbuf keybinder3 gtksourceview libmodplug libappindicator-gtk3 kakasi gobject-introspection ] ++ (if xineBackend then [ xineLib ] else with gst_all_1; @@ -36,6 +36,10 @@ python3.pkgs.buildPythonApplication rec { pytestFlags = stdenv.lib.optionals (xineBackend || !withGstPlugins) [ "--ignore=tests/plugin/test_replaygain.py" ] ++ [ + # requires networking + "--ignore=tests/test_browsers_iradio.py" + # the default theme doesn't have the required icons + "--ignore=tests/plugin/test_trayicon.py" # upstream does actually not enforce source code linting "--ignore=tests/quality" # build failure on Arch Linux @@ -45,7 +49,13 @@ python3.pkgs.buildPythonApplication rec { checkPhase = '' runHook preCheck + # newer gettext spews some warnings which fail the tests + substituteInPlace tests/test_po.py --replace "strict=True" "strict=False" + # otherwise tests can't find the app icons; instead of creating index.theme from scratch + # I re-used the one from hicolor-icon-theme which seems to work + cp "${hicolor-icon-theme}/share/icons/hicolor/index.theme" quodlibet/images/hicolor env XDG_DATA_DIRS="$out/share:${gtk3}/share/gsettings-schemas/${gtk3.name}:$XDG_ICON_DIRS:$XDG_DATA_DIRS" \ + GDK_PIXBUF_MODULE_FILE=${librsvg}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache \ HOME=$(mktemp -d) \ xvfb-run -s '-screen 0 800x600x24' dbus-run-session \ --config-file=${dbus.daemon}/share/dbus-1/session.conf \ From 5fe86e006e6b4678f325ca1db87ee297e0dc3489 Mon Sep 17 00:00:00 2001 From: Piotr Bogdan Date: Sat, 24 Oct 2020 17:06:06 +0100 Subject: [PATCH 05/41] quodlibet: update maintainers --- pkgs/applications/audio/quodlibet/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/audio/quodlibet/default.nix b/pkgs/applications/audio/quodlibet/default.nix index b8a73caf24c..9830084fa41 100644 --- a/pkgs/applications/audio/quodlibet/default.nix +++ b/pkgs/applications/audio/quodlibet/default.nix @@ -83,7 +83,7 @@ python3.pkgs.buildPythonApplication rec { & internet radio, and all major audio formats. ''; - maintainers = with maintainers; [ coroa sauyon ]; + maintainers = with maintainers; [ coroa pbogdan ]; homepage = "https://quodlibet.readthedocs.io/en/latest/"; }; } From 11bb08e785e77563789cf2db1689379605ee2d71 Mon Sep 17 00:00:00 2001 From: Francesco Gazzetta Date: Fri, 20 Nov 2020 19:05:50 +0100 Subject: [PATCH 06/41] meme: 2017-09-10 -> 2020-05-28, use buildGoModule --- pkgs/applications/graphics/meme/default.nix | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/pkgs/applications/graphics/meme/default.nix b/pkgs/applications/graphics/meme/default.nix index 8cbc776132e..5425b8bef23 100644 --- a/pkgs/applications/graphics/meme/default.nix +++ b/pkgs/applications/graphics/meme/default.nix @@ -1,23 +1,22 @@ { stdenv -, buildGoPackage , unstableGitUpdater +, buildGoModule , fetchFromGitHub }: -buildGoPackage rec { +buildGoModule { pname = "meme"; - version = "unstable-2017-09-10"; - - owner = "nomad-software"; - repo = "meme"; - goPackagePath = "github.com/${owner}/${repo}"; + version = "unstable-2020-05-28"; src = fetchFromGitHub { - inherit owner repo; - rev = "a6521f2eecb0aac22937b0013747ed9cb40b81ea"; - sha256 = "1gbsv1d58ck6mj89q31s5b0ppw51ab76yqgz39jgwqnkidvzdfly"; + owner = "nomad-software"; + repo = "meme"; + rev = "33a8b7d0de6996294a0464a605dacc17b26a6b02"; + sha256 = "05h8d6pjszhr49xqg02nw94hm95kb7w1i7nw8jxi582fxxm2qbnm"; }; + vendorSha256 = null; + passthru.updateScript = unstableGitUpdater { }; meta = with stdenv.lib; { From cd2d74e379cedfba44289ceec0973af876710f5c Mon Sep 17 00:00:00 2001 From: Luflosi Date: Sun, 6 Dec 2020 20:07:02 +0100 Subject: [PATCH 07/41] youtube-dl: 2020.12.05 -> 2020.12.07 https://github.com/ytdl-org/youtube-dl/releases/tag/2020.12.07 --- pkgs/tools/misc/youtube-dl/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/misc/youtube-dl/default.nix b/pkgs/tools/misc/youtube-dl/default.nix index b037a982edc..efa39f45096 100644 --- a/pkgs/tools/misc/youtube-dl/default.nix +++ b/pkgs/tools/misc/youtube-dl/default.nix @@ -18,11 +18,11 @@ buildPythonPackage rec { # The websites youtube-dl deals with are a very moving target. That means that # downloads break constantly. Because of that, updates should always be backported # to the latest stable release. - version = "2020.12.05"; + version = "2020.12.07"; src = fetchurl { url = "https://yt-dl.org/downloads/${version}/${pname}-${version}.tar.gz"; - sha256 = "065s45l8qz7wlkaxw9bj20gq9647zpwdj9vc6chhqjscl63z1aqm"; + sha256 = "0sbrwak9c0pbacg15q2wj5fcsj5k5k1sx9jm7rcjwkjdhqcjqrsi"; }; nativeBuildInputs = [ installShellFiles makeWrapper ]; From 10278c52d95596b7fe8b09c22b063bc297237d0d Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Sun, 6 Dec 2020 22:14:46 +0000 Subject: [PATCH 08/41] python37Packages.avro-python3: 1.10.0 -> 1.10.1 --- pkgs/development/python-modules/avro-python3/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/avro-python3/default.nix b/pkgs/development/python-modules/avro-python3/default.nix index 332bcf4d4d1..3e9a0e492d3 100644 --- a/pkgs/development/python-modules/avro-python3/default.nix +++ b/pkgs/development/python-modules/avro-python3/default.nix @@ -2,12 +2,12 @@ buildPythonPackage rec { pname = "avro-python3"; - version = "1.10.0"; + version = "1.10.1"; disabled = !isPy3k; src = fetchPypi { inherit pname version; - sha256 = "a455c215540b1fceb1823e2a918e94959b54cb363307c97869aa46b5b55bde05"; + sha256 = "9027abeab63dd9b66bd3c564fa0670c70f78027ecb1978d96c6af7ed415b626b"; }; buildInputs = [ pycodestyle isort ]; From 5d6c093b8947a17033f0a9ac7a868a72690a0344 Mon Sep 17 00:00:00 2001 From: Ivar Date: Mon, 7 Dec 2020 02:09:09 +0100 Subject: [PATCH 09/41] genann: init at 1.0.0 --- pkgs/development/libraries/genann/default.nix | 34 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 36 insertions(+) create mode 100644 pkgs/development/libraries/genann/default.nix diff --git a/pkgs/development/libraries/genann/default.nix b/pkgs/development/libraries/genann/default.nix new file mode 100644 index 00000000000..6529d4f363d --- /dev/null +++ b/pkgs/development/libraries/genann/default.nix @@ -0,0 +1,34 @@ +{ stdenv, fetchFromGitHub }: + +stdenv.mkDerivation rec { + pname = "genann"; + version = "1.0.0"; + + src = fetchFromGitHub { + owner = "codeplea"; + repo = "genann"; + rev = "v${version}"; + sha256 = "0z45ndpd4a64i6jayr4yxfcr5h87bsmhm7lfgnbp35pnfywiclmq"; + }; + + dontBuild = true; + doCheck = true; + + # Nix doesn't seem to recognize this by default. + checkPhase = '' + make check + ''; + + installPhase = '' + mkdir -p $out/include + cp ./genann.{h,c} $out/include + ''; + + meta = with stdenv.lib; { + homepage = "https://github.com/codeplea/genann"; + description = "Simple neural network library in ANSI C"; + license = licenses.zlib; + maintainers = [ maintainers.ivar ]; + platforms = platforms.all; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 184632f4924..bae3a34f531 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1182,6 +1182,8 @@ in fxlinuxprintutil = callPackage ../tools/misc/fxlinuxprintutil { }; + genann = callPackage ../development/libraries/genann { }; + genpass = callPackage ../tools/security/genpass { inherit (darwin.apple_sdk.frameworks) CoreFoundation Security; }; From 7dfe92ab942256a7cba9d51a781704a494358edd Mon Sep 17 00:00:00 2001 From: Orivej Desh Date: Mon, 7 Dec 2020 01:31:32 +0000 Subject: [PATCH 10/41] quodlibet: support feedparser 6 --- pkgs/applications/audio/quodlibet/default.nix | 2 ++ .../audio/quodlibet/quodlibet-feedparser6.patch | 12 ++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 pkgs/applications/audio/quodlibet/quodlibet-feedparser6.patch diff --git a/pkgs/applications/audio/quodlibet/default.nix b/pkgs/applications/audio/quodlibet/default.nix index 9830084fa41..386a5110a81 100644 --- a/pkgs/applications/audio/quodlibet/default.nix +++ b/pkgs/applications/audio/quodlibet/default.nix @@ -16,6 +16,8 @@ python3.pkgs.buildPythonApplication rec { sha256 = "1q17ckblfa4fcs7wsjwsq1dj7360ymrdyjkyqmj864wzlqkw1rd2"; }; + patches = [ ./quodlibet-feedparser6.patch ]; + nativeBuildInputs = [ wrapGAppsHook gettext ]; checkInputs = [ gdk-pixbuf hicolor-icon-theme ] ++ (with python3.pkgs; [ pytest pytest_xdist polib xvfb_run dbus.daemon glibcLocales ]); diff --git a/pkgs/applications/audio/quodlibet/quodlibet-feedparser6.patch b/pkgs/applications/audio/quodlibet/quodlibet-feedparser6.patch new file mode 100644 index 00000000000..41c6c75cea2 --- /dev/null +++ b/pkgs/applications/audio/quodlibet/quodlibet-feedparser6.patch @@ -0,0 +1,12 @@ +Support feedparser 6, based on https://github.com/quodlibet/quodlibet/pull/3464 + +--- a/quodlibet/browsers/audiofeeds.py ++++ b/quodlibet/browsers/audiofeeds.py +@@ -137,7 +137,4 @@ class Feed(list): + def parse(self): + try: +- if not self._check_feed(): +- return False +- + doc = feedparser.parse(self.uri) + except Exception as e: From d3dcff9761e9c8a847b402bb951ea134fd9f2c08 Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Mon, 7 Dec 2020 08:47:19 +0000 Subject: [PATCH 11/41] python37Packages.netcdf4: 1.5.4 -> 1.5.5 --- pkgs/development/python-modules/netcdf4/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/netcdf4/default.nix b/pkgs/development/python-modules/netcdf4/default.nix index 874ca53d34f..432603d6205 100644 --- a/pkgs/development/python-modules/netcdf4/default.nix +++ b/pkgs/development/python-modules/netcdf4/default.nix @@ -3,13 +3,13 @@ }: buildPythonPackage rec { pname = "netCDF4"; - version = "1.5.4"; + version = "1.5.5"; disabled = isPyPy; src = fetchPypi { inherit pname version; - sha256 = "941de6f3623b6474ecb4d043be5990690f7af4cf0d593b31be912627fe5aad03"; + sha256 = "910b0c9d1ca7bef9c5796c45e2f5f30b91df70997ac655c51a58073eff2634f9"; }; checkInputs = [ pytest ]; From f8a7b12ae16150fe2424f3d28e87a227671ce6be Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Mon, 7 Dec 2020 09:11:16 +0000 Subject: [PATCH 12/41] python37Packages.pytest-html: 3.0.0 -> 3.1.0 --- pkgs/development/python-modules/pytest-html/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pytest-html/default.nix b/pkgs/development/python-modules/pytest-html/default.nix index 3ad238f553d..23f50347c42 100644 --- a/pkgs/development/python-modules/pytest-html/default.nix +++ b/pkgs/development/python-modules/pytest-html/default.nix @@ -3,12 +3,12 @@ buildPythonPackage rec { pname = "pytest-html"; - version = "3.0.0"; + version = "3.1.0"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "407adfe8c748a6bb7e68a430ebe3766ffe51e43fc5442f78b261229c03078be4"; + sha256 = "8a7979e2411aac445870d8cad9a251ab3823bc14f77d065e9ce9a5dff86f697d"; }; nativeBuildInputs = [ setuptools_scm ]; From 536d9b90bc05c5f26bb419d5e267329b2370616c Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Mon, 7 Dec 2020 10:50:10 +0000 Subject: [PATCH 13/41] adminer: 4.7.7 -> 4.7.8 --- pkgs/servers/adminer/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/adminer/default.nix b/pkgs/servers/adminer/default.nix index c58d2e6c2ba..65a4dc37ecc 100644 --- a/pkgs/servers/adminer/default.nix +++ b/pkgs/servers/adminer/default.nix @@ -1,13 +1,13 @@ { stdenv, libbsd, fetchurl, phpPackages, php }: stdenv.mkDerivation rec { - version = "4.7.7"; + version = "4.7.8"; pname = "adminer"; # not using fetchFromGitHub as the git repo relies on submodules that are included in the tar file src = fetchurl { url = "https://github.com/vrana/adminer/releases/download/v${version}/adminer-${version}.tar.gz"; - sha256 = "1rvvc7xml7ycpbpjgqbgkan8djplx67balrmfignk1b6h9cw3l4q"; + sha256 = "0k794agvd8pa3mwl0076i7753fzxd41lhr23aih4l2lbdgnzi68z"; }; nativeBuildInputs = with phpPackages; [ php composer ]; From 1dd412fe06ebe1a5eb0737c5d0e10aec66357f94 Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Mon, 7 Dec 2020 11:08:08 +0000 Subject: [PATCH 14/41] ameba: 0.13.2 -> 0.13.3 --- pkgs/development/tools/ameba/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/ameba/default.nix b/pkgs/development/tools/ameba/default.nix index 9b7cf3f1de8..b46f6efd634 100644 --- a/pkgs/development/tools/ameba/default.nix +++ b/pkgs/development/tools/ameba/default.nix @@ -2,13 +2,13 @@ crystal.buildCrystalPackage rec { pname = "ameba"; - version = "0.13.2"; + version = "0.13.3"; src = fetchFromGitHub { owner = "crystal-ameba"; repo = "ameba"; rev = "v${version}"; - sha256 = "0wyfx9nwda0s3arpdalz5zgh83v6wfz1a3l2k5v0jglpczq3m04m"; + sha256 = "0yhb8vfrfzsm3a45h2jmcrn1n7jy3zn2hwims3dikgq8kaggws9y"; }; meta = with stdenv.lib; { From 348bb38fb80e4680132737580ddfa12c154904f3 Mon Sep 17 00:00:00 2001 From: Sebastien Braun Date: Mon, 7 Dec 2020 13:35:16 +0100 Subject: [PATCH 15/41] erlangR23: 23.1.2 -> 23.1.4 --- pkgs/development/interpreters/erlang/R23.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/interpreters/erlang/R23.nix b/pkgs/development/interpreters/erlang/R23.nix index 3ad55d806a5..53d1b49c375 100644 --- a/pkgs/development/interpreters/erlang/R23.nix +++ b/pkgs/development/interpreters/erlang/R23.nix @@ -3,8 +3,8 @@ # How to obtain `sha256`: # nix-prefetch-url --unpack https://github.com/erlang/otp/archive/OTP-${version}.tar.gz mkDerivation { - version = "23.1.2"; - sha256 = "06dp2sw486khy2lc34cw5dca58ii5jvi26dpchiqxnmyvd6995z0"; + version = "23.1.4"; + sha256 = "16ssxmrgjgvzg06aa1l4wz9rrdjfy39k22amgabxwb5if1g8bg8z"; prePatch = '' substituteInPlace make/configure.in --replace '`sw_vers -productVersion`' "''${MACOSX_DEPLOYMENT_TARGET:-10.12}" From f155f58ec8c9a6eeebabb608bf1c23af4fbd87e3 Mon Sep 17 00:00:00 2001 From: 06kellyjac Date: Mon, 7 Dec 2020 12:37:34 +0000 Subject: [PATCH 16/41] starboard: 0.7.0 -> 0.7.1 --- pkgs/applications/networking/cluster/starboard/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/cluster/starboard/default.nix b/pkgs/applications/networking/cluster/starboard/default.nix index bb432706452..e8ffa353539 100644 --- a/pkgs/applications/networking/cluster/starboard/default.nix +++ b/pkgs/applications/networking/cluster/starboard/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "starboard"; - version = "0.7.0"; + version = "0.7.1"; src = fetchFromGitHub { owner = "aquasecurity"; repo = pname; rev = "v${version}"; - sha256 = "1xj0fa52973h7cg3scxn85lav98q6fz82dwd5cls3p39ghnhzn5l"; + sha256 = "0p0c459xih580ix3279fr45mm3q9w887rs7w1yrikh09xpcisdfr"; }; vendorSha256 = "07cz4p8k927ash5ncw1r56bcn592imgywbyzkvhnn50pap91m0q0"; From 20560a866ee2f4bdee3e6cfed0b6ad598913afab Mon Sep 17 00:00:00 2001 From: 06kellyjac Date: Fri, 4 Dec 2020 11:43:43 +0000 Subject: [PATCH 17/41] starboard-octant-plugin: 0.6.0 -> 0.7.0 --- .../cluster/octant/plugins/starboard-octant-plugin.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/cluster/octant/plugins/starboard-octant-plugin.nix b/pkgs/applications/networking/cluster/octant/plugins/starboard-octant-plugin.nix index 1c9f21afddf..293c2ed31c0 100644 --- a/pkgs/applications/networking/cluster/octant/plugins/starboard-octant-plugin.nix +++ b/pkgs/applications/networking/cluster/octant/plugins/starboard-octant-plugin.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "starboard-octant-plugin"; - version = "0.6.0"; + version = "0.7.0"; src = fetchFromGitHub { owner = "aquasecurity"; repo = pname; rev = "v${version}"; - sha256 = "1rgfk8l3yz7xwghr06vcgpi6zzjynxxvyg2r78fgp7wpw7bh3rmd"; + sha256 = "140m7mnpqhfbp2qqpr3jjsc770xdph98mm5zpgwzg0jwgpsrcxsm"; }; - vendorSha256 = "1f6x66zgrmm7x661d0d0qqharrpyb2bsi10swlgx68y5yz285296"; + vendorSha256 = "0aphx2rpnvzmfyfs11hf8j5b7s5lgw4kcq4jpdrkjwx7zhl6qx2g"; meta = with lib; { description = "Octant plugin for viewing Starboard security information"; From 1f2c7d340b1f5054cecefae6bcaeb6df57ce870f Mon Sep 17 00:00:00 2001 From: 06kellyjac Date: Mon, 7 Dec 2020 12:44:50 +0000 Subject: [PATCH 18/41] open-policy-agent: 0.25.0 -> 0.25.1 --- pkgs/development/tools/open-policy-agent/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/open-policy-agent/default.nix b/pkgs/development/tools/open-policy-agent/default.nix index 58e8163420e..6b765162320 100644 --- a/pkgs/development/tools/open-policy-agent/default.nix +++ b/pkgs/development/tools/open-policy-agent/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "open-policy-agent"; - version = "0.25.0"; + version = "0.25.1"; src = fetchFromGitHub { owner = "open-policy-agent"; repo = "opa"; rev = "v${version}"; - sha256 = "078ksgdl34yrr1w4l2p9r0zysxwzq7ml00mixhdr86rkmjii85zl"; + sha256 = "1vwyp46lxjar7wl4qjj1mlii4c1vm65kwgmnf1kkwh8i4c202zkx"; }; vendorSha256 = null; From cec747d7124be5af1199b5509c9187eba1371c63 Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Mon, 7 Dec 2020 13:03:03 +0000 Subject: [PATCH 19/41] clingo: 5.4.0 -> 5.4.1 --- pkgs/applications/science/logic/potassco/clingo.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/science/logic/potassco/clingo.nix b/pkgs/applications/science/logic/potassco/clingo.nix index 7c1ee8099e2..fd6b2c8d14c 100644 --- a/pkgs/applications/science/logic/potassco/clingo.nix +++ b/pkgs/applications/science/logic/potassco/clingo.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "clingo"; - version = "5.4.0"; + version = "5.4.1"; src = fetchzip { url = "https://github.com/potassco/clingo/archive/v${version}.tar.gz"; - sha256 = "0gfqlgwg3qx042w6hdc9qpmr50n4vci3p0ddk28f3kqacf6q9q7m"; + sha256 = "1f0q5f71s696ywxcjlfz7z134m1h7i39j9sfdv8hlw2w3g5nppc3"; }; nativeBuildInputs = [ cmake ]; From 90dd4c4f9698b4c904ac4877b5d12d8c091214b8 Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Mon, 7 Dec 2020 13:09:18 +0000 Subject: [PATCH 20/41] clojure-lsp: 20201009T224414 -> 20201205T230541 --- pkgs/development/tools/misc/clojure-lsp/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/misc/clojure-lsp/default.nix b/pkgs/development/tools/misc/clojure-lsp/default.nix index 1641df1562a..5b992df12be 100644 --- a/pkgs/development/tools/misc/clojure-lsp/default.nix +++ b/pkgs/development/tools/misc/clojure-lsp/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "clojure-lsp"; - version = "20201009T224414"; + version = "20201205T230541"; src = fetchurl { url = "https://github.com/snoe/clojure-lsp/releases/download/release-${version}/${pname}"; - sha256 = "1az87b4cq6yyibs4knd0ywd0qfgmfzai4bqry4b7h2ycnfhfxdpa"; + sha256 = "06sismbv7wrcwfgr0brw9gsdvl2plrryhxs1v08a2sd5rdf2qi3b"; }; dontUnpack = true; From 0944a15fe31170c2bc1058e9926c6aef62b07017 Mon Sep 17 00:00:00 2001 From: Orivej Desh Date: Mon, 7 Dec 2020 13:10:15 +0000 Subject: [PATCH 21/41] pythonPackages.chalice: fix build --- pkgs/development/python-modules/chalice/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/chalice/default.nix b/pkgs/development/python-modules/chalice/default.nix index 7eb06e26450..a28acadbd74 100644 --- a/pkgs/development/python-modules/chalice/default.nix +++ b/pkgs/development/python-modules/chalice/default.nix @@ -52,10 +52,8 @@ buildPythonPackage rec { postPatch = '' sed -i setup.py -e "/pip>=/c\'pip'," substituteInPlace setup.py \ - --replace 'pip>=9,<=19.4' 'pip' \ --replace 'typing==3.6.4' 'typing' \ - --replace 'attrs==17.4.0' 'attrs' \ - --replace 'click>=6.6,<7.0' 'click' + --replace 'attrs>=19.3.0,<20.3.0' 'attrs' ''; checkPhase = '' From e9a431d343846858a7f2223bd8a2ff2d46035e4f Mon Sep 17 00:00:00 2001 From: Orivej Desh Date: Mon, 7 Dec 2020 13:10:45 +0000 Subject: [PATCH 22/41] python3Packages.sentry-sdk: fix build --- pkgs/development/python-modules/sentry-sdk/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/sentry-sdk/default.nix b/pkgs/development/python-modules/sentry-sdk/default.nix index 9db28aef2e9..9df9453b2b4 100644 --- a/pkgs/development/python-modules/sentry-sdk/default.nix +++ b/pkgs/development/python-modules/sentry-sdk/default.nix @@ -1,8 +1,11 @@ { aiohttp +, blinker +, botocore , bottle , buildPythonPackage , celery , certifi +, chalice , django , falcon , fetchPypi @@ -33,7 +36,7 @@ buildPythonPackage rec { sha256 = "1052f0ed084e532f66cb3e4ba617960d820152aee8b93fc6c05bd53861768c1c"; }; - checkInputs = [ django flask tornado bottle rq falcon sqlalchemy werkzeug trytond + checkInputs = [ blinker botocore chalice django flask tornado bottle rq falcon sqlalchemy werkzeug trytond executing pure-eval asttokens ] ++ stdenv.lib.optionals isPy3k [ celery pyramid sanic aiohttp ]; From d0e31655f99c4b10188da9575ae70ca886b2f155 Mon Sep 17 00:00:00 2001 From: Bernardo Meurer Date: Fri, 4 Dec 2020 11:45:34 -0800 Subject: [PATCH 23/41] python3Packages.sgmllib3k: init at 1.0.0 --- .../python-modules/sgmllib3k/default.nix | 27 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 29 insertions(+) create mode 100644 pkgs/development/python-modules/sgmllib3k/default.nix diff --git a/pkgs/development/python-modules/sgmllib3k/default.nix b/pkgs/development/python-modules/sgmllib3k/default.nix new file mode 100644 index 00000000000..6884bed2748 --- /dev/null +++ b/pkgs/development/python-modules/sgmllib3k/default.nix @@ -0,0 +1,27 @@ +{ stdenv +, buildPythonPackage +, fetchFromGitHub +, isPy27 +, lib +}: + +buildPythonPackage rec { + pname = "sgmllib3k"; + version = "1.0.0"; + disabled = isPy27; + + # fetchFromGitHub instead of fetchPypi to run tests. + src = fetchFromGitHub { + owner = "hsoft"; + repo = "sgmllib"; + rev = "799964676f35349ca2dd04503e34c2b3ad522c0d"; + sha256 = "0bzf6pv85dzfxfysm6zbj8m40hp0xzr9h8qlk4hp3nmy88rznqvr"; + }; + + meta = with lib; { + homepage = "https://pypi.org/project/sgmllib3k/"; + description = "Python 3 port of sgmllib"; + license = licenses.bsd2; + maintainers = with maintainers; [ lovesegfault ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 93f09234a45..bec5ad3ef64 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -6696,6 +6696,8 @@ in { sfepy = callPackage ../development/python-modules/sfepy { }; + sgmllib3k = callPackage ../development/python-modules/sgmllib3k { }; + shamir-mnemonic = callPackage ../development/python-modules/shamir-mnemonic { }; shap = callPackage ../development/python-modules/shap { }; From fcbd213d3856a81ca53d3d2367832e3f114be58a Mon Sep 17 00:00:00 2001 From: Bernardo Meurer Date: Fri, 4 Dec 2020 11:49:58 -0800 Subject: [PATCH 24/41] python3Packages.feedparser: fix build, run tests --- pkgs/development/python-modules/feedparser/default.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/feedparser/default.nix b/pkgs/development/python-modules/feedparser/default.nix index 55ed8d7f6e7..aeeb9b3e496 100644 --- a/pkgs/development/python-modules/feedparser/default.nix +++ b/pkgs/development/python-modules/feedparser/default.nix @@ -1,19 +1,25 @@ { stdenv , buildPythonPackage , fetchPypi +, isPy27 +, sgmllib3k }: buildPythonPackage rec { pname = "feedparser"; version = "6.0.2"; + disabled = isPy27; src = fetchPypi { inherit pname version; sha256 = "1b00a105425f492f3954fd346e5b524ca9cef3a4bbf95b8809470e9857aa1074"; }; - # lots of networking failures - doCheck = false; + propagatedBuildInputs = [ sgmllib3k ]; + + checkPhase = '' + python -Wd tests/runtests.py + ''; meta = with stdenv.lib; { homepage = "https://github.com/kurtmckee/feedparser"; From 16f145e29fb520cbcd7f62428da88b1ceac65b35 Mon Sep 17 00:00:00 2001 From: Bernardo Meurer Date: Fri, 4 Dec 2020 12:08:40 -0800 Subject: [PATCH 25/41] octoprint: 1.4.2 -> 1.5.1 --- pkgs/applications/misc/octoprint/default.nix | 27 ++++++++++++++++---- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/misc/octoprint/default.nix b/pkgs/applications/misc/octoprint/default.nix index 82cdf18b484..71f40b6e681 100644 --- a/pkgs/applications/misc/octoprint/default.nix +++ b/pkgs/applications/misc/octoprint/default.nix @@ -25,13 +25,29 @@ let [ # the following dependencies are non trivial to update since later versions introduce backwards incompatible # changes that might affect plugins, or due to other observed problems - (mkOverride "markupsafe" "1.1.1" "29872e92839765e546828bb7754a68c418d927cd064fd4708fab9fe9c8bb116b") (mkOverride "rsa" "4.0" "1a836406405730121ae9823e19c6e806c62bbad73f890574fff50efa4122c487") (mkOverride "markdown" "3.1.1" "2e50876bcdd74517e7b71f3e7a76102050edec255b3983403f1a63e7c8a41e7a") (mkOverride "tornado" "5.1.1" "4e5158d97583502a7e2739951553cbd88a72076f152b4b11b64b9a10c4c49409") (mkOverride "unidecode" "0.04.21" "280a6ab88e1f2eb5af79edff450021a0d3f0448952847cd79677e55e58bad051") (mkOverride "sarge" "0.1.5.post0" "1c1ll7pys9vra5cfi8jxlgrgaql6c27l6inpy15aprgqhc4ck36s") + # Octoprint needs zeroconf >=0.24 <0.25. While this should be done in + # the mkOverride aboves, this package also has broken tests, so we need + # a proper override. + ( + self: super: { + zeroconf = super.zeroconf.overrideAttrs (oldAttrs: rec { + version = "0.24.5"; + src = oldAttrs.src.override { + inherit version; + sha256 = "0jpgd0rk91si93857mjrizan5gc42kj1q4fi4160qgk68la88fl9"; + }; + buildInputs = [ self.nose ]; + checkPhase = "nosetests"; + }); + } + ) + # Built-in dependency ( self: super: { @@ -55,13 +71,13 @@ let self: super: { octoprint-firmwarecheck = self.buildPythonPackage rec { pname = "OctoPrint-FirmwareCheck"; - version = "2020.06.22"; + version = "2020.09.23"; src = fetchFromGitHub { owner = "OctoPrint"; repo = "OctoPrint-FirmwareCheck"; rev = version; - sha256 = "19y7hrgg9z8hl7cwqkvg8nc8bk0wwrsfvjd1wawy33wn60psqv1h"; + sha256 = "1l1ajhnsc39prgk59mp93h90dgl9gh660cci00z5b5gj2h6dv1d1"; }; doCheck = false; }; @@ -72,13 +88,13 @@ let self: super: { octoprint = self.buildPythonPackage rec { pname = "OctoPrint"; - version = "1.4.2"; + version = "1.5.1"; src = fetchFromGitHub { owner = "OctoPrint"; repo = "OctoPrint"; rev = version; - sha256 = "1bblrjwkccy1ifw7lf55g3k9lq1sqzwd49vj8bfzj2w07a7qda62"; + sha256 = "04x58cjivslsrld341ip11c50d50p2q01090nsyji0j255v986j9"; }; propagatedBuildInputs = with super; [ @@ -119,6 +135,7 @@ let filetype unidecode blinker + zeroconf ] ++ lib.optionals stdenv.isDarwin [ py.pkgs.appdirs ]; checkInputs = with super; [ pytestCheckHook mock ddt ]; From e82416909fe032ba5c263334cd36d519b2fba792 Mon Sep 17 00:00:00 2001 From: Bernardo Meurer Date: Fri, 4 Dec 2020 12:09:22 -0800 Subject: [PATCH 26/41] octoprint: sort propagatedBuildInputs --- pkgs/applications/misc/octoprint/default.nix | 62 ++++++++++---------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/pkgs/applications/misc/octoprint/default.nix b/pkgs/applications/misc/octoprint/default.nix index 71f40b6e681..6babde028ec 100644 --- a/pkgs/applications/misc/octoprint/default.nix +++ b/pkgs/applications/misc/octoprint/default.nix @@ -98,43 +98,43 @@ let }; propagatedBuildInputs = with super; [ - octoprint-firmwarecheck - octoprint-filecheck - markupsafe - tornado - markdown - rsa - regex + blinker + cachelib + click + emoji + feedparser + filetype flask - jinja2 - flask_login flask-babel flask_assets - werkzeug - itsdangerous - cachelib - pyyaml - pyserial - netaddr - watchdog - sarge - netifaces - pylru - pkginfo - requests - semantic-version - psutil - click - feedparser - future - websocket_client - wrapt - emoji + flask_login frozendict + future + itsdangerous + jinja2 + markdown + markupsafe + netaddr + netifaces + octoprint-filecheck + octoprint-firmwarecheck + pkginfo + psutil + pylru + pyserial + pyyaml + regex + requests + rsa + sarge + semantic-version sentry-sdk - filetype + tornado unidecode - blinker + watchdog + websocket_client + werkzeug + wrapt zeroconf ] ++ lib.optionals stdenv.isDarwin [ py.pkgs.appdirs ]; From ef3ed45c1240197b721f38a01ec48e7dc6e7c179 Mon Sep 17 00:00:00 2001 From: adisbladis Date: Mon, 7 Dec 2020 13:42:59 +0100 Subject: [PATCH 27/41] nix-gitignore: Optimise performance There are a few operations in this library that naively runs on every iteration while they could be cached. For a simple test repository with a small number of files and ~1000 gitignore patterns this brings memory usage down from ~233M to ~157M and wall time from 2.6s down to 0.78s. This should scale similarly with the number of files in a repository. --- pkgs/build-support/nix-gitignore/default.nix | 26 +++++++++++--------- 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/pkgs/build-support/nix-gitignore/default.nix b/pkgs/build-support/nix-gitignore/default.nix index 28ee6bad554..fba09adc2d4 100644 --- a/pkgs/build-support/nix-gitignore/default.nix +++ b/pkgs/build-support/nix-gitignore/default.nix @@ -20,14 +20,13 @@ let in rec { # [["good/relative/source/file" true] ["bad.tmpfile" false]] -> root -> path filterPattern = patterns: root: - (name: _type: - let - relPath = lib.removePrefix ((toString root) + "/") name; - matches = pair: (match (head pair) relPath) != null; - matched = map (pair: [(matches pair) (last pair)]) patterns; - in - last (last ([[true true]] ++ (filter head matched))) - ); + let + filters = map (pair: relPath: if match (head pair) relPath == null then true else last pair) patterns; + in + name: _type: + let + relPath = lib.removePrefix ((toString root) + "/") name; + in foldl' (acc: f: if acc == true then f relPath else acc) true filters; # string -> [[regex bool]] gitignoreToPatterns = gitignore: @@ -91,7 +90,9 @@ in rec { (filter (l: !isList l && !isComment l) (split "\n" gitignore)); - gitignoreFilter = ign: root: filterPattern (gitignoreToPatterns ign) root; + gitignoreFilter = ign: let + patterns = gitignoreToPatterns ign; + in root: filterPattern patterns root; # string|[string|file] (→ [string|file] → [string]) -> string gitignoreCompileIgnore = file_str_patterns: root: @@ -100,9 +101,10 @@ in rec { str_patterns = map (onPath readFile) (lib.toList file_str_patterns); in concatStringsSep "\n" str_patterns; - gitignoreFilterPure = filter: patterns: root: name: type: - gitignoreFilter (gitignoreCompileIgnore patterns root) root name type - && filter name type; + gitignoreFilterPure = filter: patterns: root: let + compiledFilter = gitignoreCompileIgnore patterns root; + filterFn = gitignoreFilter compiledFilter; + in name: type: filterFn root name type && filter name type; # This is a very hacky way of programming this! # A better way would be to reuse existing filtering by making multiple gitignore functions per each root. From 5a772d4cb0808382a392464cf42b1fa3d7552df9 Mon Sep 17 00:00:00 2001 From: Orivej Desh Date: Mon, 7 Dec 2020 13:14:38 +0000 Subject: [PATCH 28/41] octoprint: pin flask-babel to 1.0.0 --- pkgs/applications/misc/octoprint/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/misc/octoprint/default.nix b/pkgs/applications/misc/octoprint/default.nix index 6babde028ec..974b733ae64 100644 --- a/pkgs/applications/misc/octoprint/default.nix +++ b/pkgs/applications/misc/octoprint/default.nix @@ -25,6 +25,7 @@ let [ # the following dependencies are non trivial to update since later versions introduce backwards incompatible # changes that might affect plugins, or due to other observed problems + (mkOverride "flask-babel" "1.0.0" "0gmb165vkwv5v7dxsxa2i3zhafns0fh938m2zdcrv4d8z5l099yn") (mkOverride "rsa" "4.0" "1a836406405730121ae9823e19c6e806c62bbad73f890574fff50efa4122c487") (mkOverride "markdown" "3.1.1" "2e50876bcdd74517e7b71f3e7a76102050edec255b3983403f1a63e7c8a41e7a") (mkOverride "tornado" "5.1.1" "4e5158d97583502a7e2739951553cbd88a72076f152b4b11b64b9a10c4c49409") From 7bd27add2a7bd0401a4091ef61dc3efb5c46d384 Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Mon, 7 Dec 2020 13:33:31 +0000 Subject: [PATCH 29/41] csvs-to-sqlite: 1.1 -> 1.2 --- pkgs/development/python-modules/csvs-to-sqlite/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/csvs-to-sqlite/default.nix b/pkgs/development/python-modules/csvs-to-sqlite/default.nix index 19d0fa4f7bb..4105d981386 100644 --- a/pkgs/development/python-modules/csvs-to-sqlite/default.nix +++ b/pkgs/development/python-modules/csvs-to-sqlite/default.nix @@ -13,14 +13,14 @@ buildPythonPackage rec { pname = "csvs-to-sqlite"; - version = "1.1"; + version = "1.2"; disabled = !isPy3k; src = fetchFromGitHub { owner = "simonw"; repo = pname; rev = version; - sha256 = "1xi9d8l1sf9vixzvqpz8lvhl6yqmz9x5659nvpsxinl317qzmc8m"; + sha256 = "0p99cg76d3s7jxvigh5ad04dzhmr6g62qzzh4i6h7x9aiyvdhvk4"; }; postPatch = '' From 7872e83cba8b20ce0ba5ebc23f86531db1838d2c Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Mon, 7 Dec 2020 14:19:47 +0000 Subject: [PATCH 30/41] doctl: 1.53.0 -> 1.54.0 --- pkgs/development/tools/doctl/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/doctl/default.nix b/pkgs/development/tools/doctl/default.nix index bca11130c7e..2b4bf66a015 100644 --- a/pkgs/development/tools/doctl/default.nix +++ b/pkgs/development/tools/doctl/default.nix @@ -2,7 +2,7 @@ buildGoModule rec { pname = "doctl"; - version = "1.53.0"; + version = "1.54.0"; vendorSha256 = null; @@ -32,7 +32,7 @@ buildGoModule rec { owner = "digitalocean"; repo = "doctl"; rev = "v${version}"; - sha256 = "1zw6gdmy1jlwi7rrbdxg7pkiq54ha0h1gmzphn3mflfk7lmgyikm"; + sha256 = "163n3d07vv9d4356ql6hbw2vg6n5c834axz7y4gk8gm9badbna82"; }; meta = with lib; { From 0306003afe2c1f0bcd7ef8c6921e2d1f95ba8273 Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Mon, 7 Dec 2020 14:27:40 +0000 Subject: [PATCH 31/41] dolt: 0.22.5 -> 0.22.6 --- pkgs/servers/sql/dolt/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/sql/dolt/default.nix b/pkgs/servers/sql/dolt/default.nix index b926e747e49..c6cf5a5ad82 100644 --- a/pkgs/servers/sql/dolt/default.nix +++ b/pkgs/servers/sql/dolt/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "dolt"; - version = "0.22.5"; + version = "0.22.6"; src = fetchFromGitHub { owner = "liquidata-inc"; repo = "dolt"; rev = "v${version}"; - sha256 = "04lsmh80br1cr26dp11ai0f96lmjdkc9mjdwnmwkkc0d7igv7rc0"; + sha256 = "1kd7kqiic6mm974cix7m3620yzdaxpdnnq4q53pyicfq2i4pk2ml"; }; modRoot = "./go"; From 1675b11cd4cbf326e9a20c768c5e7bdf3031b088 Mon Sep 17 00:00:00 2001 From: Ollie Charles Date: Mon, 7 Dec 2020 14:26:45 +0000 Subject: [PATCH 32/41] Remove myself from maintainers sets Unfortunately I can't reliably commit time to nixpkgs, so I would like to remove myself from being a formal maintainer for these packages. --- maintainers/maintainer-list.nix | 6 ------ pkgs/applications/display-managers/lightdm/default.nix | 2 +- pkgs/applications/display-managers/lightdm/gtk-greeter.nix | 2 +- pkgs/applications/misc/garmin-plugin/default.nix | 2 +- pkgs/applications/misc/golden-cheetah/default.nix | 2 +- .../networking/mailreaders/notmuch/muchsync.nix | 2 +- pkgs/development/libraries/garmintools/default.nix | 2 +- pkgs/development/python-modules/gtimelog/default.nix | 2 +- pkgs/development/web/xmlindent/default.nix | 2 +- pkgs/servers/monitoring/prometheus/rabbitmq-exporter.nix | 2 +- pkgs/servers/sql/postgresql/default.nix | 2 +- pkgs/shells/fish/default.nix | 2 +- pkgs/tools/backup/wal-g/default.nix | 2 +- pkgs/tools/misc/opentsdb/default.nix | 2 +- pkgs/tools/networking/siege/default.nix | 2 +- 15 files changed, 14 insertions(+), 20 deletions(-) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 3454dc71997..d007f03ac44 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -6529,12 +6529,6 @@ githubId = 3359345; name = "obadz"; }; - ocharles = { - email = "ollie@ocharles.org.uk"; - github = "ocharles"; - githubId = 20878; - name = "Oliver Charles"; - }; odi = { email = "oliver.dunkl@gmail.com"; github = "odi"; diff --git a/pkgs/applications/display-managers/lightdm/default.nix b/pkgs/applications/display-managers/lightdm/default.nix index 19ebedf1ea3..9858f04d7dd 100644 --- a/pkgs/applications/display-managers/lightdm/default.nix +++ b/pkgs/applications/display-managers/lightdm/default.nix @@ -140,6 +140,6 @@ stdenv.mkDerivation rec { description = "A cross-desktop display manager"; platforms = platforms.linux; license = licenses.gpl3; - maintainers = with maintainers; [ ocharles worldofpeace ]; + maintainers = with maintainers; [ worldofpeace ]; }; } diff --git a/pkgs/applications/display-managers/lightdm/gtk-greeter.nix b/pkgs/applications/display-managers/lightdm/gtk-greeter.nix index ab7dd90801c..a89e2b07113 100644 --- a/pkgs/applications/display-managers/lightdm/gtk-greeter.nix +++ b/pkgs/applications/display-managers/lightdm/gtk-greeter.nix @@ -67,6 +67,6 @@ stdenv.mkDerivation rec { homepage = "https://launchpad.net/lightdm-gtk-greeter"; platforms = platforms.linux; license = licenses.gpl3; - maintainers = with maintainers; [ ocharles ]; + maintainers = with maintainers; [ ]; }; } diff --git a/pkgs/applications/misc/garmin-plugin/default.nix b/pkgs/applications/misc/garmin-plugin/default.nix index 95cbdd9c19b..37cf8fc18af 100644 --- a/pkgs/applications/misc/garmin-plugin/default.nix +++ b/pkgs/applications/misc/garmin-plugin/default.nix @@ -20,7 +20,7 @@ stdenv.mkDerivation { meta = { homepage = "http://www.andreas-diesner.de/garminplugin"; license = stdenv.lib.licenses.gpl3; - maintainers = [ stdenv.lib.maintainers.ocharles ]; + maintainers = [ ]; platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/applications/misc/golden-cheetah/default.nix b/pkgs/applications/misc/golden-cheetah/default.nix index c3161ed875a..362ba4a3a12 100644 --- a/pkgs/applications/misc/golden-cheetah/default.nix +++ b/pkgs/applications/misc/golden-cheetah/default.nix @@ -72,7 +72,7 @@ in mkDerivation rec { meta = with stdenv.lib; { description = "Performance software for cyclists, runners and triathletes"; platforms = platforms.linux; - maintainers = [ maintainers.ocharles ]; + maintainers = [ ]; license = licenses.gpl3; }; } diff --git a/pkgs/applications/networking/mailreaders/notmuch/muchsync.nix b/pkgs/applications/networking/mailreaders/notmuch/muchsync.nix index a0dbf98f276..953cfed3c66 100644 --- a/pkgs/applications/networking/mailreaders/notmuch/muchsync.nix +++ b/pkgs/applications/networking/mailreaders/notmuch/muchsync.nix @@ -17,7 +17,7 @@ stdenv.mkDerivation rec { description = "Synchronize maildirs and notmuch databases"; homepage = "http://www.muchsync.org/"; platforms = stdenv.lib.platforms.unix; - maintainers = with stdenv.lib.maintainers; [ ocharles ]; + maintainers = with stdenv.lib.maintainers; []; license = stdenv.lib.licenses.gpl2Plus; }; } diff --git a/pkgs/development/libraries/garmintools/default.nix b/pkgs/development/libraries/garmintools/default.nix index aa6ebfd3395..97449d944ec 100644 --- a/pkgs/development/libraries/garmintools/default.nix +++ b/pkgs/development/libraries/garmintools/default.nix @@ -10,7 +10,7 @@ stdenv.mkDerivation { description = "Provides the ability to communicate with the Garmin Forerunner 305 via the USB interface"; homepage = "https://code.google.com/archive/p/garmintools/"; # community clone at https://github.com/ianmartin/garmintools license = stdenv.lib.licenses.gpl2; - maintainers = [ stdenv.lib.maintainers.ocharles ]; + maintainers = [ ]; platforms = stdenv.lib.platforms.unix; }; } diff --git a/pkgs/development/python-modules/gtimelog/default.nix b/pkgs/development/python-modules/gtimelog/default.nix index d19d05276e2..c092da73585 100644 --- a/pkgs/development/python-modules/gtimelog/default.nix +++ b/pkgs/development/python-modules/gtimelog/default.nix @@ -54,7 +54,7 @@ buildPythonPackage rec { ''; homepage = "https://gtimelog.org/"; license = licenses.gpl2Plus; - maintainers = with maintainers; [ ocharles oxzi ]; + maintainers = with maintainers; [ oxzi ]; platforms = platforms.unix; }; } diff --git a/pkgs/development/web/xmlindent/default.nix b/pkgs/development/web/xmlindent/default.nix index 4d316410365..b093a8008da 100644 --- a/pkgs/development/web/xmlindent/default.nix +++ b/pkgs/development/web/xmlindent/default.nix @@ -20,6 +20,6 @@ stdenv.mkDerivation rec { homepage = "http://xmlindent.sourceforge.net/"; license = stdenv.lib.licenses.gpl3; platforms = stdenv.lib.platforms.linux; - maintainers = [ stdenv.lib.maintainers.ocharles ]; + maintainers = [ ]; }; } diff --git a/pkgs/servers/monitoring/prometheus/rabbitmq-exporter.nix b/pkgs/servers/monitoring/prometheus/rabbitmq-exporter.nix index 915a481ad0f..07dadd7a635 100644 --- a/pkgs/servers/monitoring/prometheus/rabbitmq-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/rabbitmq-exporter.nix @@ -20,7 +20,7 @@ buildGoPackage { description = "Prometheus exporter for RabbitMQ"; homepage = "https://github.com/kbudde/rabbitmq_exporter"; license = licenses.mit; - maintainers = with maintainers; [ ocharles ]; + maintainers = with maintainers; [ ]; platforms = platforms.unix; }; } diff --git a/pkgs/servers/sql/postgresql/default.nix b/pkgs/servers/sql/postgresql/default.nix index 7ec59c6873b..ed3fe43faeb 100644 --- a/pkgs/servers/sql/postgresql/default.nix +++ b/pkgs/servers/sql/postgresql/default.nix @@ -148,7 +148,7 @@ let homepage = "https://www.postgresql.org"; description = "A powerful, open source object-relational database system"; license = licenses.postgresql; - maintainers = with maintainers; [ ocharles thoughtpolice danbst globin marsam ]; + maintainers = with maintainers; [ thoughtpolice danbst globin marsam ]; platforms = platforms.unix; knownVulnerabilities = optional (!atLeast "9.4") "PostgreSQL versions older than 9.4 are not maintained anymore!"; diff --git a/pkgs/shells/fish/default.nix b/pkgs/shells/fish/default.nix index eabed40e8eb..0811d43eb6a 100644 --- a/pkgs/shells/fish/default.nix +++ b/pkgs/shells/fish/default.nix @@ -203,7 +203,7 @@ let homepage = "http://fishshell.com/"; license = licenses.gpl2; platforms = platforms.unix; - maintainers = with maintainers; [ ocharles cole-h ]; + maintainers = with maintainers; [ cole-h ]; }; passthru = { diff --git a/pkgs/tools/backup/wal-g/default.nix b/pkgs/tools/backup/wal-g/default.nix index a2702f993a6..f3c415f3cd0 100644 --- a/pkgs/tools/backup/wal-g/default.nix +++ b/pkgs/tools/backup/wal-g/default.nix @@ -27,6 +27,6 @@ buildGoModule rec { homepage = "https://github.com/wal-g/wal-g"; license = licenses.asl20; description = "An archival restoration tool for PostgreSQL"; - maintainers = with maintainers; [ ocharles marsam ]; + maintainers = with maintainers; [ marsam ]; }; } diff --git a/pkgs/tools/misc/opentsdb/default.nix b/pkgs/tools/misc/opentsdb/default.nix index 5429ecea2c6..ed80f620318 100644 --- a/pkgs/tools/misc/opentsdb/default.nix +++ b/pkgs/tools/misc/opentsdb/default.nix @@ -31,6 +31,6 @@ stdenv.mkDerivation rec { homepage = "http://opentsdb.net"; license = licenses.lgpl21Plus; platforms = stdenv.lib.platforms.linux; - maintainers = [ maintainers.ocharles ]; + maintainers = [ ]; }; } diff --git a/pkgs/tools/networking/siege/default.nix b/pkgs/tools/networking/siege/default.nix index 7e85973cbdb..4df008364d0 100644 --- a/pkgs/tools/networking/siege/default.nix +++ b/pkgs/tools/networking/siege/default.nix @@ -23,7 +23,7 @@ stdenv.mkDerivation rec { meta = with stdenv.lib; { description = "HTTP load tester"; - maintainers = with maintainers; [ ocharles raskin ]; + maintainers = with maintainers; [ raskin ]; platforms = platforms.unix; license = licenses.gpl2Plus; }; From fa500db28ef15c56ecbe8a35eefeb41f2787f442 Mon Sep 17 00:00:00 2001 From: Bart Brouns Date: Mon, 7 Dec 2020 15:38:22 +0100 Subject: [PATCH 33/41] thinkfan: 1.1 -> 1.2.1 (#104325) --- pkgs/tools/system/thinkfan/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/system/thinkfan/default.nix b/pkgs/tools/system/thinkfan/default.nix index 62c299cce7a..bf594b6b9cd 100644 --- a/pkgs/tools/system/thinkfan/default.nix +++ b/pkgs/tools/system/thinkfan/default.nix @@ -3,13 +3,13 @@ stdenv.mkDerivation rec { pname = "thinkfan"; - version = "1.1"; + version = "1.2.1"; src = fetchFromGitHub { owner = "vmatare"; repo = "thinkfan"; rev = version; - sha256 = "1fxd1w3z65glw6y04myn7ihgswkx6sqnkky159mik4n96pfrsvr5"; + sha256 = "18vgm5w5pjnpipa34j4x87q10695w2jnqwvc2f027afy7mnzw7kz"; }; cmakeFlags = [ @@ -27,7 +27,7 @@ stdenv.mkDerivation rec { install -Dm755 {.,$out/bin}/thinkfan cd "$NIX_BUILD_TOP"; cd "$sourceRoot" # attempt to be a bit robust - install -Dm644 {.,$out/share/doc/thinkfan}/README + install -Dm644 {.,$out/share/doc/thinkfan}/README.md cp -R examples $out/share/doc/thinkfan install -Dm644 {src,$out/share/man/man1}/thinkfan.1 From 1d862b4c2ae6fa6e6af85bb468bbb842fd126779 Mon Sep 17 00:00:00 2001 From: Bart Brouns Date: Mon, 7 Dec 2020 15:39:41 +0100 Subject: [PATCH 34/41] distrho: unstable-2019-10-09 -> 2020-07-14 (#103143) --- pkgs/applications/audio/distrho/default.nix | 94 +++++++++++++-------- 1 file changed, 58 insertions(+), 36 deletions(-) diff --git a/pkgs/applications/audio/distrho/default.nix b/pkgs/applications/audio/distrho/default.nix index 0f651f47a48..e39cef3fb0e 100644 --- a/pkgs/applications/audio/distrho/default.nix +++ b/pkgs/applications/audio/distrho/default.nix @@ -1,55 +1,77 @@ -{ stdenv, fetchFromGitHub, alsaLib, fftwSinglePrec, freetype, libjack2 -, pkgconfig, ladspa-sdk, premake3 -, libX11, libXcomposite, libXcursor, libXext, libXinerama, libXrender +{ stdenv +, alsaLib +, fetchFromGitHub +, freetype +, libGL +, libX11 +, libXcursor +, libXext +, libXrender +, meson +, ninja +, pkg-config }: -let - premakeos = if stdenv.hostPlatform.isDarwin then "osx" - else if stdenv.hostPlatform.isWindows then "mingw" - else "linux"; -in stdenv.mkDerivation rec { +stdenv.mkDerivation rec { pname = "distrho-ports"; - version = "unstable-2019-10-09"; + version = "2020-07-14"; src = fetchFromGitHub { owner = "DISTRHO"; repo = "DISTRHO-Ports"; - rev = "7e62235e809e59770d0d91d2c48c3f50ce7c027a"; - sha256 = "10hpsjcmk0cgcsic9r1wxyja9x6q9wb8w8254dlrnzyswl54r1f8"; + rev = version; + sha256 = "03ji41i6dpknws1vjwfxnl8c8bgisv2ng8xa4vqy2473k7wgdw4v"; }; - configurePhase = '' - runHook preConfigure + nativeBuildInputs = [ pkg-config meson ninja ]; - sh ./scripts/premake-update.sh ${premakeos} - - runHook postConfigure - ''; - - postPatch = '' - sed -e "s#@./scripts#sh scripts#" -i Makefile - ''; - - nativeBuildInputs = [ pkgconfig premake3 ]; buildInputs = [ - alsaLib fftwSinglePrec freetype libjack2 - libX11 libXcomposite libXcursor libXext - libXinerama libXrender ladspa-sdk + alsaLib + freetype + libGL + libX11 + libXcursor + libXext + libXrender ]; - makeFlags = [ "PREFIX=$(out)" ]; - meta = with stdenv.lib; { - homepage = "http://distrho.sourceforge.net"; - description = "A collection of cross-platform audio effects and plugins"; + homepage = "http://distrho.sourceforge.net/ports"; + description = "Linux audio plugins and LV2 ports"; longDescription = '' Includes: - Dexed drowaudio-distortion drowaudio-distortionshaper drowaudio-flanger - drowaudio-reverb drowaudio-tremolo drumsynth EasySSP eqinox HiReSam - JuceDemoPlugin KlangFalter LUFSMeter LUFSMeterMulti Luftikus Obxd - PitchedDelay ReFine StereoSourceSeparation TAL-Dub-3 TAL-Filter - TAL-Filter-2 TAL-NoiseMaker TAL-Reverb TAL-Reverb-2 TAL-Reverb-3 - TAL-Vocoder-2 TheFunction ThePilgrim Vex Wolpertinger + arctican-function + arctican-pilgrim + dexed + drowaudio-distortion + drowaudio-distortionshaper + drowaudio-flanger + drowaudio-reverb + drowaudio-tremolo + drumsynth + easySSP + eqinox + HiReSam + juce-opl + klangfalter + LUFSMeter + LUFSMeter-Multi + luftikus + obxd + pitchedDelay + refine + stereosourceseparation + tal-dub-3 + tal-filter + tal-filter-2 + tal-noisemaker + tal-reverb + tal-reverb-2 + tal-reverb-3 + tal-vocoder-2 + temper + vex + wolpertinger ''; license = with licenses; [ gpl2 gpl3 gpl2Plus lgpl3 mit ]; maintainers = [ maintainers.goibhniu ]; From 4e08fc1c58291e362dbb2b4e1a680fedf0bd20ef Mon Sep 17 00:00:00 2001 From: Bart Brouns Date: Mon, 7 Dec 2020 15:44:43 +0100 Subject: [PATCH 35/41] melmatcheq.lv2: init at 0.1 (#102743) --- .../audio/melmatcheq.lv2/default.nix | 28 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/applications/audio/melmatcheq.lv2/default.nix diff --git a/pkgs/applications/audio/melmatcheq.lv2/default.nix b/pkgs/applications/audio/melmatcheq.lv2/default.nix new file mode 100644 index 00000000000..d5aa481e823 --- /dev/null +++ b/pkgs/applications/audio/melmatcheq.lv2/default.nix @@ -0,0 +1,28 @@ +{ stdenv, fetchFromGitHub, xorg, xorgproto, cairo, lv2, pkg-config }: + +stdenv.mkDerivation rec { + pname = "MelMatchEQ.lv2"; + version = "0.1"; + + src = fetchFromGitHub { + owner = "brummer10"; + repo = pname; + rev = "v${version}"; + sha256 = "1s805jgb9msxfq9047s7pxrngizb00w8sm4z94iii80ba65rd20x"; + }; + + nativeBuildInputs = [ pkg-config ]; + buildInputs = [ + xorg.libX11 xorgproto cairo lv2 + ]; + + installFlags = [ "INSTALL_DIR=$(out)/lib/lv2" ]; + + meta = with stdenv.lib; { + homepage = "https://github.com/brummer10/MelMatchEQ.lv2"; + description = "a profiling EQ using a 26 step Mel Frequency Band"; + maintainers = with maintainers; [ magnetophon ]; + license = licenses.gpl2Plus; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 184632f4924..a8cf93249ac 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -22568,6 +22568,8 @@ in meli = callPackage ../applications/networking/mailreaders/meli { }; + melmatcheq.lv2 = callPackage ../applications/audio/melmatcheq.lv2 { }; + melonDS = callPackage ../misc/emulators/melonDS { }; meme = callPackage ../applications/graphics/meme { }; From d8fa8d8ca0866dda386a8e4ac858d265ae28c66a Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Mon, 7 Dec 2020 09:27:51 +0000 Subject: [PATCH 36/41] python37Packages.azure-mgmt-recoveryservicesbackup: 0.8.0 -> 0.9.0 --- .../azure-mgmt-recoveryservicesbackup/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-recoveryservicesbackup/default.nix b/pkgs/development/python-modules/azure-mgmt-recoveryservicesbackup/default.nix index ed40cb69c72..8a061991059 100644 --- a/pkgs/development/python-modules/azure-mgmt-recoveryservicesbackup/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-recoveryservicesbackup/default.nix @@ -9,12 +9,12 @@ buildPythonPackage rec { pname = "azure-mgmt-recoveryservicesbackup"; - version = "0.8.0"; + version = "0.9.0"; src = fetchPypi { inherit pname version; extension = "zip"; - sha256 = "a0ee89691b21945cc4b892a9194320f50c1cd242d98f00a82d7e3848c28517a5"; + sha256 = "6b902eb7b9ccdf612e0a1738f42096f591dbf9c19d20b6d398a6361db278d4a7"; }; propagatedBuildInputs = [ From 45fa57992b4b416d2f59ac3e545f8683e901371d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 7 Dec 2020 16:40:24 +0100 Subject: [PATCH 37/41] pythonPackages.h5netcdf: Fix test issues with h5py >= 3.0 --- pkgs/development/python-modules/h5netcdf/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/development/python-modules/h5netcdf/default.nix b/pkgs/development/python-modules/h5netcdf/default.nix index 316c5bc4d48..23a8c4ddcb2 100644 --- a/pkgs/development/python-modules/h5netcdf/default.nix +++ b/pkgs/development/python-modules/h5netcdf/default.nix @@ -1,6 +1,7 @@ { lib , buildPythonPackage , fetchPypi +, fetchpatch , h5py , pytestCheckHook , netcdf4 @@ -16,6 +17,13 @@ buildPythonPackage rec { sha256 = "09bbnpsvwksb07wijn7flyyza56h5b2g2cw0hb3slmwxz6cgcjmr"; }; + patches = [ + (fetchpatch{ + url = "https://patch-diff.githubusercontent.com/raw/h5netcdf/h5netcdf/pull/82.patch"; + sha256 = "0x9bq9jl4kvw152adkpcyqslhpi7miv80hrnpl2w2y798mmbs0s4"; + }) + ]; + propagatedBuildInputs = [ h5py ]; From 8949b189a6f6e67c83db2f6d3a54d128d1e8d4a7 Mon Sep 17 00:00:00 2001 From: Evan Stoll Date: Mon, 7 Dec 2020 10:48:17 -0500 Subject: [PATCH 38/41] cargo-geiger: 0.9.1 -> 0.10.2 * Remove cargo-lock.patch * Upstream crate now compiles fine without patch * Use cargo-insta for testing * Using cargo-insta for testing, we can now run the test suite without skipping any tests --- .../tools/rust/cargo-geiger/cargo-lock.patch | 318 ------------------ .../tools/rust/cargo-geiger/default.nix | 24 +- 2 files changed, 6 insertions(+), 336 deletions(-) delete mode 100644 pkgs/development/tools/rust/cargo-geiger/cargo-lock.patch diff --git a/pkgs/development/tools/rust/cargo-geiger/cargo-lock.patch b/pkgs/development/tools/rust/cargo-geiger/cargo-lock.patch deleted file mode 100644 index 85c7a73c14a..00000000000 --- a/pkgs/development/tools/rust/cargo-geiger/cargo-lock.patch +++ /dev/null @@ -1,318 +0,0 @@ -diff --git a/Cargo.lock b/Cargo.lock -index b354f9b..5a17ec2 100644 ---- a/Cargo.lock -+++ b/Cargo.lock -@@ -7,7 +7,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" - - [[package]] - name = "aho-corasick" --version = "0.7.6" -+version = "0.7.7" - source = "registry+https://github.com/rust-lang/crates.io-index" - dependencies = [ - "memchr 2.3.0 (registry+https://github.com/rust-lang/crates.io-index)", -@@ -55,7 +55,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" - - [[package]] - name = "backtrace" --version = "0.3.42" -+version = "0.3.43" - source = "registry+https://github.com/rust-lang/crates.io-index" - dependencies = [ - "backtrace-sys 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)", -@@ -78,8 +78,8 @@ name = "better-panic" - version = "0.2.0" - source = "registry+https://github.com/rust-lang/crates.io-index" - dependencies = [ -- "backtrace 0.3.42 (registry+https://github.com/rust-lang/crates.io-index)", -- "console 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", -+ "backtrace 0.3.43 (registry+https://github.com/rust-lang/crates.io-index)", -+ "console 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)", - ] - - [[package]] -@@ -170,17 +170,17 @@ dependencies = [ - - [[package]] - name = "cargo-geiger" --version = "0.9.0" -+version = "0.9.1" - dependencies = [ - "assert_cmd 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", - "better-panic 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", - "cargo 0.41.0 (registry+https://github.com/rust-lang/crates.io-index)", - "cargo-platform 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "colored 1.9.2 (registry+https://github.com/rust-lang/crates.io-index)", -- "console 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", -+ "console 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)", - "env_logger 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", - "geiger 0.4.3", -- "insta 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)", -+ "insta 0.13.1 (registry+https://github.com/rust-lang/crates.io-index)", - "petgraph 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", - "pico-args 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "regex 1.3.3 (registry+https://github.com/rust-lang/crates.io-index)", -@@ -262,7 +262,7 @@ dependencies = [ - - [[package]] - name = "console" --version = "0.9.1" -+version = "0.9.2" - source = "registry+https://github.com/rust-lang/crates.io-index" - dependencies = [ - "clicolors-control 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", -@@ -345,7 +345,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" - dependencies = [ - "commoncrypto 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", - "hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", -- "openssl 0.10.26 (registry+https://github.com/rust-lang/crates.io-index)", -+ "openssl 0.10.27 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", - ] - -@@ -357,7 +357,7 @@ dependencies = [ - "curl-sys 0.4.25 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "openssl-probe 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", -- "openssl-sys 0.9.53 (registry+https://github.com/rust-lang/crates.io-index)", -+ "openssl-sys 0.9.54 (registry+https://github.com/rust-lang/crates.io-index)", - "schannel 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)", - "socket2 0.3.11 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", -@@ -372,7 +372,7 @@ dependencies = [ - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "libnghttp2-sys 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", - "libz-sys 1.0.25 (registry+https://github.com/rust-lang/crates.io-index)", -- "openssl-sys 0.9.53 (registry+https://github.com/rust-lang/crates.io-index)", -+ "openssl-sys 0.9.54 (registry+https://github.com/rust-lang/crates.io-index)", - "pkg-config 0.3.17 (registry+https://github.com/rust-lang/crates.io-index)", - "vcpkg 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", -@@ -390,7 +390,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" - - [[package]] - name = "dtoa" --version = "0.4.4" -+version = "0.4.5" - source = "registry+https://github.com/rust-lang/crates.io-index" - - [[package]] -@@ -426,7 +426,7 @@ name = "failure" - version = "0.1.6" - source = "registry+https://github.com/rust-lang/crates.io-index" - dependencies = [ -- "backtrace 0.3.42 (registry+https://github.com/rust-lang/crates.io-index)", -+ "backtrace 0.3.43 (registry+https://github.com/rust-lang/crates.io-index)", - "failure_derive 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", - ] - -@@ -533,7 +533,7 @@ dependencies = [ - "libgit2-sys 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", - "openssl-probe 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", -- "openssl-sys 0.9.53 (registry+https://github.com/rust-lang/crates.io-index)", -+ "openssl-sys 0.9.54 (registry+https://github.com/rust-lang/crates.io-index)", - "url 2.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - ] - -@@ -558,7 +558,7 @@ name = "globset" - version = "0.4.4" - source = "registry+https://github.com/rust-lang/crates.io-index" - dependencies = [ -- "aho-corasick 0.7.6 (registry+https://github.com/rust-lang/crates.io-index)", -+ "aho-corasick 0.7.7 (registry+https://github.com/rust-lang/crates.io-index)", - "bstr 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)", - "fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", -@@ -646,16 +646,15 @@ dependencies = [ - - [[package]] - name = "insta" --version = "0.13.0" -+version = "0.13.1" - source = "registry+https://github.com/rust-lang/crates.io-index" - dependencies = [ -- "console 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", -+ "console 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)", - "difference 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_json 1.0.45 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_yaml 0.8.11 (registry+https://github.com/rust-lang/crates.io-index)", -- "uuid 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)", - ] - - [[package]] -@@ -695,7 +694,7 @@ dependencies = [ - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "libssh2-sys 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)", - "libz-sys 1.0.25 (registry+https://github.com/rust-lang/crates.io-index)", -- "openssl-sys 0.9.53 (registry+https://github.com/rust-lang/crates.io-index)", -+ "openssl-sys 0.9.54 (registry+https://github.com/rust-lang/crates.io-index)", - "pkg-config 0.3.17 (registry+https://github.com/rust-lang/crates.io-index)", - ] - -@@ -716,7 +715,7 @@ dependencies = [ - "cc 1.0.50 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "libz-sys 1.0.25 (registry+https://github.com/rust-lang/crates.io-index)", -- "openssl-sys 0.9.53 (registry+https://github.com/rust-lang/crates.io-index)", -+ "openssl-sys 0.9.54 (registry+https://github.com/rust-lang/crates.io-index)", - "pkg-config 0.3.17 (registry+https://github.com/rust-lang/crates.io-index)", - "vcpkg 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", - ] -@@ -791,7 +790,7 @@ dependencies = [ - - [[package]] - name = "openssl" --version = "0.10.26" -+version = "0.10.27" - source = "registry+https://github.com/rust-lang/crates.io-index" - dependencies = [ - "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", -@@ -799,7 +798,7 @@ dependencies = [ - "foreign-types 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", - "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", -- "openssl-sys 0.9.53 (registry+https://github.com/rust-lang/crates.io-index)", -+ "openssl-sys 0.9.54 (registry+https://github.com/rust-lang/crates.io-index)", - ] - - [[package]] -@@ -809,10 +808,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" - - [[package]] - name = "openssl-sys" --version = "0.9.53" -+version = "0.9.54" - source = "registry+https://github.com/rust-lang/crates.io-index" - dependencies = [ -- "autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", -+ "autocfg 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "cc 1.0.50 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.66 (registry+https://github.com/rust-lang/crates.io-index)", - "pkg-config 0.3.17 (registry+https://github.com/rust-lang/crates.io-index)", -@@ -939,7 +938,7 @@ name = "regex" - version = "1.3.3" - source = "registry+https://github.com/rust-lang/crates.io-index" - dependencies = [ -- "aho-corasick 0.7.6 (registry+https://github.com/rust-lang/crates.io-index)", -+ "aho-corasick 0.7.7 (registry+https://github.com/rust-lang/crates.io-index)", - "memchr 2.3.0 (registry+https://github.com/rust-lang/crates.io-index)", - "regex-syntax 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)", - "thread_local 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", -@@ -1076,7 +1075,7 @@ name = "serde_yaml" - version = "0.8.11" - source = "registry+https://github.com/rust-lang/crates.io-index" - dependencies = [ -- "dtoa 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)", -+ "dtoa 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)", - "linked-hash-map 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", - "yaml-rust 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", -@@ -1097,7 +1096,7 @@ dependencies = [ - - [[package]] - name = "smallvec" --version = "1.1.0" -+version = "1.2.0" - source = "registry+https://github.com/rust-lang/crates.io-index" - - [[package]] -@@ -1231,7 +1230,7 @@ name = "unicode-normalization" - version = "0.1.12" - source = "registry+https://github.com/rust-lang/crates.io-index" - dependencies = [ -- "smallvec 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", -+ "smallvec 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)", - ] - - [[package]] -@@ -1259,15 +1258,6 @@ name = "utf8parse" - version = "0.1.1" - source = "registry+https://github.com/rust-lang/crates.io-index" - --[[package]] --name = "uuid" --version = "0.8.1" --source = "registry+https://github.com/rust-lang/crates.io-index" --dependencies = [ -- "rand 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)", -- "serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", --] -- - [[package]] - name = "vcpkg" - version = "0.2.8" -@@ -1338,13 +1328,13 @@ dependencies = [ - - [metadata] - "checksum adler32 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "5d2e7343e7fc9de883d1b0341e0b13970f764c14101234857d2ddafa1cb1cac2" --"checksum aho-corasick 0.7.6 (registry+https://github.com/rust-lang/crates.io-index)" = "58fb5e95d83b38284460a5fda7d6470aa0b8844d283a0b614b8535e880800d2d" -+"checksum aho-corasick 0.7.7 (registry+https://github.com/rust-lang/crates.io-index)" = "5f56c476256dc249def911d6f7580b5fc7e875895b5d7ee88f5d602208035744" - "checksum ansi_term 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b" - "checksum assert_cmd 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)" = "6283bac8dd7226470d491bc4737816fea4ca1fba7a2847f2e9097fd6bfb4624c" - "checksum atty 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)" = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" - "checksum autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "1d49d90015b3c36167a20fe2810c5cd875ad504b39cff3d4eae7977e6b7c1cb2" - "checksum autocfg 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "f8aac770f1885fd7e387acedd76065302551364496e46b3dd00860b2f8359b9d" --"checksum backtrace 0.3.42 (registry+https://github.com/rust-lang/crates.io-index)" = "b4b1549d804b6c73f4817df2ba073709e96e426f12987127c48e6745568c350b" -+"checksum backtrace 0.3.43 (registry+https://github.com/rust-lang/crates.io-index)" = "7f80256bc78f67e7df7e36d77366f636ed976895d91fe2ab9efa3973e8fe8c4f" - "checksum backtrace-sys 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)" = "5d6575f128516de27e3ce99689419835fce9643a9b215a14d2b5b685be018491" - "checksum better-panic 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3d12a680cc74d8c4a44ee08be4a00dedf671b089c2440b2e3fdaa776cd468476" - "checksum bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693" -@@ -1360,7 +1350,7 @@ dependencies = [ - "checksum colored 1.9.2 (registry+https://github.com/rust-lang/crates.io-index)" = "8815e2ab78f3a59928fc32e141fbeece88320a240e43f47b2fd64ea3a88a5b3d" - "checksum commoncrypto 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d056a8586ba25a1e4d61cb090900e495952c7886786fc55f909ab2f819b69007" - "checksum commoncrypto-sys 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1fed34f46747aa73dfaa578069fd8279d2818ade2b55f38f22a9401c7f4083e2" --"checksum console 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)" = "f5d540c2d34ac9dd0deb5f3b5f54c36c79efa78f6b3ad19106a554d07a7b5d9f" -+"checksum console 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)" = "45e0f3986890b3acbc782009e2629dfe2baa430ac091519ce3be26164a2ae6c0" - "checksum core-foundation 0.6.4 (registry+https://github.com/rust-lang/crates.io-index)" = "25b9e03f145fd4f2bf705e07b900cd41fc636598fe5dc452fd0db1441c3f496d" - "checksum core-foundation-sys 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)" = "e7ca8a5221364ef15ce201e8ed2f609fc312682a8f4e0e3d4aa5879764e0fa3b" - "checksum crates-io 0.29.0 (registry+https://github.com/rust-lang/crates.io-index)" = "54a5db4b026e2d3bad49a9775b01722035ebc6976b95ec556716852d640f3ad5" -@@ -1373,7 +1363,7 @@ dependencies = [ - "checksum curl-sys 0.4.25 (registry+https://github.com/rust-lang/crates.io-index)" = "0c38ca47d60b86d0cc9d42caa90a0885669c2abc9791f871c81f58cdf39e979b" - "checksum difference 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "524cbf6897b527295dff137cec09ecf3a05f4fddffd7dfcd1585403449e74198" - "checksum doc-comment 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "923dea538cea0aa3025e8685b20d6ee21ef99c4f77e954a30febbaac5ec73a97" --"checksum dtoa 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)" = "ea57b42383d091c85abcc2706240b94ab2a8fa1fc81c10ff23c4de06e2a90b5e" -+"checksum dtoa 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)" = "4358a9e11b9a09cf52383b451b49a169e8d797b68aa02301ff586d70d9661ea3" - "checksum encode_unicode 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)" = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f" - "checksum env_logger 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)" = "44533bbbb3bb3c1fa17d9f2e4e38bbbaf8396ba82193c4cb1b6445d711445d36" - "checksum escargot 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "74cf96bec282dcdb07099f7e31d9fed323bca9435a09aba7b6d99b7617bca96d" -@@ -1401,7 +1391,7 @@ dependencies = [ - "checksum ignore 0.4.11 (registry+https://github.com/rust-lang/crates.io-index)" = "522daefc3b69036f80c7d2990b28ff9e0471c683bad05ca258e0a01dd22c5a1e" - "checksum im-rc 13.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "0a0197597d095c0d11107975d3175173f810ee572c2501ff4de64f4f3f119806" - "checksum indexmap 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "0b54058f0a6ff80b6803da8faf8997cde53872b38f4023728f6830b06cd3c0dc" --"checksum insta 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d07d2003a61f1eae49feeb2aea003d0da6c80587c20ac505d695805c744d4847" -+"checksum insta 0.13.1 (registry+https://github.com/rust-lang/crates.io-index)" = "8df742abee84dbf27d20869c9adf77b0d8f7ea3eead13c2c9e3998d136a97058" - "checksum itoa 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)" = "b8b7a7c0c47db5545ed3fef7468ee7bb5b74691498139e4b3f6a20685dc6dd8e" - "checksum jobserver 0.1.19 (registry+https://github.com/rust-lang/crates.io-index)" = "67b06c1b455f1cf4269a8cfc320ab930a810e2375a42af5075eb8a8b36405ce0" - "checksum lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" -@@ -1419,9 +1409,9 @@ dependencies = [ - "checksum miow 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "396aa0f2003d7df8395cb93e09871561ccc3e785f0acb369170e8cc74ddf9226" - "checksum num_cpus 1.12.0 (registry+https://github.com/rust-lang/crates.io-index)" = "46203554f085ff89c235cd12f7075f3233af9b11ed7c9e16dfe2560d03313ce6" - "checksum opener 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "13117407ca9d0caf3a0e74f97b490a7e64c0ae3aa90a8b7085544d0c37b6f3ae" --"checksum openssl 0.10.26 (registry+https://github.com/rust-lang/crates.io-index)" = "3a3cc5799d98e1088141b8e01ff760112bbd9f19d850c124500566ca6901a585" -+"checksum openssl 0.10.27 (registry+https://github.com/rust-lang/crates.io-index)" = "e176a45fedd4c990e26580847a525e39e16ec32ac78957dbf62ded31b3abfd6f" - "checksum openssl-probe 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "77af24da69f9d9341038eba93a073b1fdaaa1b788221b00a69bce9e762cb32de" --"checksum openssl-sys 0.9.53 (registry+https://github.com/rust-lang/crates.io-index)" = "465d16ae7fc0e313318f7de5cecf57b2fbe7511fd213978b457e1c96ff46736f" -+"checksum openssl-sys 0.9.54 (registry+https://github.com/rust-lang/crates.io-index)" = "1024c0a59774200a555087a6da3f253a9095a5f344e353b212ac4c8b8e450986" - "checksum percent-encoding 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e" - "checksum petgraph 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "29c127eea4a29ec6c85d153c59dc1213f33ec74cead30fe4730aecc88cc1fd92" - "checksum pico-args 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "3ad1f1b834a05d42dae330066e9699a173b28185b3bdc3dbf14ca239585de8cc" -@@ -1458,7 +1448,7 @@ dependencies = [ - "checksum serde_yaml 0.8.11 (registry+https://github.com/rust-lang/crates.io-index)" = "691b17f19fc1ec9d94ec0b5864859290dff279dbd7b03f017afda54eb36c3c35" - "checksum shell-escape 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "170a13e64f2a51b77a45702ba77287f5c6829375b04a69cf2222acd17d0cfab9" - "checksum sized-chunks 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "f01db57d7ee89c8e053245deb77040a6cc8508311f381c88749c33d4b9b78785" --"checksum smallvec 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "44e59e0c9fa00817912ae6e4e6e3c4fe04455e75699d06eedc7d85917ed8e8f4" -+"checksum smallvec 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "5c2fb2ec9bcd216a5b0d0ccf31ab17b5ed1d627960edff65bbe95d3ce221cefc" - "checksum socket2 0.3.11 (registry+https://github.com/rust-lang/crates.io-index)" = "e8b74de517221a2cb01a53349cf54182acdc31a074727d3079068448c0676d85" - "checksum strip-ansi-escapes 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "9d63676e2abafa709460982ddc02a3bb586b6d15a49b75c212e06edd3933acee" - "checksum strsim 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a" -@@ -1479,7 +1469,6 @@ dependencies = [ - "checksum unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "826e7639553986605ec5979c7dd957c7895e93eabed50ab2ffa7f6128a75097c" - "checksum url 2.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "829d4a8476c35c9bf0bbce5a3b23f4106f79728039b726d292bb93bc106787cb" - "checksum utf8parse 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "8772a4ccbb4e89959023bc5b7cb8623a795caa7092d99f3aa9501b9484d4557d" --"checksum uuid 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)" = "9fde2f6a4bea1d6e007c4ad38c6839fa71cbb63b6dbf5b595aa38dc9b1093c11" - "checksum vcpkg 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "3fc439f2794e98976c88a2a2dafce96b930fe8010b0a256b3c2199a773933168" - "checksum vec_map 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)" = "05c78687fb1a80548ae3250346c3db86a80a7cdd77bda190189f2d0a0987c81a" - "checksum vte 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "4f42f536e22f7fcbb407639765c8fd78707a33109301f834a594758bedd6e8cf" diff --git a/pkgs/development/tools/rust/cargo-geiger/default.nix b/pkgs/development/tools/rust/cargo-geiger/default.nix index 1e79a720a52..1a5273feeca 100644 --- a/pkgs/development/tools/rust/cargo-geiger/default.nix +++ b/pkgs/development/tools/rust/cargo-geiger/default.nix @@ -1,38 +1,26 @@ { stdenv, lib, fetchFromGitHub , rustPlatform, pkgconfig, openssl +# testing packages +, cargo-insta # darwin dependencies , Security, CoreFoundation, libiconv }: rustPlatform.buildRustPackage rec { pname = "cargo-geiger"; - version = "0.9.1"; + version = "0.10.2"; src = fetchFromGitHub { owner = "rust-secure-code"; repo = pname; rev = "${pname}-${version}"; - sha256 = "0kvmjahyx5dcjhry2hkvcshi0lbgipfj0as74a3h3bllfvdfkkg0"; + sha256 = "1z920p8i3gkjadyd6bqjk4i5yr5ds3m3sbcnf7plcqr69dsjr4b8"; }; - cargoSha256 = "0v50fkyf0a77l7whxalwnfqfi8lxy82z2gpd0fa0ib80qjla2n5z"; - cargoPatches = [ ./cargo-lock.patch ]; + cargoSha256 = "1zh6fjfynkn4kgk1chigzd0sh4x1bagizyn7x6qyxgzc57a49bp7"; - # Multiple tests require internet connectivity, so they are disabled here. - # If we ever get cargo-insta (https://crates.io/crates/insta) in tree, - # we might be able to run these with something like - # `cargo insta review` in the `preCheck` phase. checkPhase = '' - cd cargo-geiger/tests/snapshots - for file in * - do - mv $file r#$file - done - cd - - cargo test -- \ - --skip test_package::case_2 \ - --skip test_package::case_3 \ - --skip test_package::case_6 + ${cargo-insta}/bin/cargo-insta test ''; buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security libiconv ]; From f70e16600e5005552df8b3a279d6a5db47ed0334 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Sun, 6 Dec 2020 10:00:54 -0800 Subject: [PATCH 39/41] python39Package.fs: fix tests --- pkgs/development/python-modules/fs/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/fs/default.nix b/pkgs/development/python-modules/fs/default.nix index 77aee7a3bdf..1f784a06e2e 100644 --- a/pkgs/development/python-modules/fs/default.nix +++ b/pkgs/development/python-modules/fs/default.nix @@ -47,6 +47,10 @@ buildPythonPackage rec { "user_data_repr" ] ++ lib.optionals (stdenv.isDarwin) [ # remove if https://github.com/PyFilesystem/pyfilesystem2/issues/430#issue-707878112 resolved "test_ftpfs" + ] ++ lib.optionals (pythonAtLeast "3.9") [ + # update friend version of this commit: https://github.com/PyFilesystem/pyfilesystem2/commit/3e02968ce7da7099dd19167815c5628293e00040 + # merged into master, able to be removed after >2.4.1 + "test_copy_sendfile" ]; __darwinAllowLocalNetworking = true; From a13d912bdf7758ec8988580492c35916c2c16eab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 7 Dec 2020 17:50:12 +0100 Subject: [PATCH 40/41] pythonPackages.pygmt: Mark as broken on darwin --- pkgs/development/python-modules/pygmt/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pygmt/default.nix b/pkgs/development/python-modules/pygmt/default.nix index 378419cc835..28e7db2a99e 100644 --- a/pkgs/development/python-modules/pygmt/default.nix +++ b/pkgs/development/python-modules/pygmt/default.nix @@ -1,4 +1,4 @@ -{ lib +{ stdenv , pythonOlder , buildPythonPackage , fetchFromGitHub @@ -36,10 +36,12 @@ buildPythonPackage rec { pythonImportsCheck = [ "pygmt" ]; - meta = with lib; { + meta = with stdenv.lib; { description = "A Python interface for the Generic Mapping Tools"; homepage = "https://github.com/GenericMappingTools/pygmt"; license = licenses.bsd3; + # pygmt.exceptions.GMTCLibNotFoundError: Error loading the GMT shared library '/nix/store/r3xnnqgl89vrnq0kzxx0bmjwzks45mz8-gmt-6.1.1/lib/libgmt.dylib' + broken = stdenv.isDarwin; maintainers = with maintainers; [ sikmir ]; }; } From e234e28046706ff62908baeb4f9f3d8a9785691d Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Mon, 7 Dec 2020 17:15:48 +0000 Subject: [PATCH 41/41] fondo: 1.4.0 -> 1.5.0 --- pkgs/applications/graphics/fondo/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/graphics/fondo/default.nix b/pkgs/applications/graphics/fondo/default.nix index a4d925da3de..73cfdccea81 100644 --- a/pkgs/applications/graphics/fondo/default.nix +++ b/pkgs/applications/graphics/fondo/default.nix @@ -21,13 +21,13 @@ stdenv.mkDerivation rec { pname = "fondo"; - version = "1.4.0"; + version = "1.5.0"; src = fetchFromGitHub { owner = "calo001"; repo = pname; rev = version; - sha256 = "0cdcn4qmdryk2x327f1z3pq8pg4cb0q1jr779gh8s6nqajyk8nqm"; + sha256 = "1zmrpk0b5z6m956j923njn6dpqdm2p8653a325hgjjjq0sgwbhj2"; }; nativeBuildInputs = [