From 7139a58f5033cf6ce76e096a4f91999afd9668a5 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Sat, 19 Dec 2020 21:14:40 +0100 Subject: [PATCH 01/38] quantum-espresso: 6.5 -> 6.6 --- .../science/chemistry/quantum-espresso/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/science/chemistry/quantum-espresso/default.nix b/pkgs/applications/science/chemistry/quantum-espresso/default.nix index 2443e6b23ab..071091f2ecf 100644 --- a/pkgs/applications/science/chemistry/quantum-espresso/default.nix +++ b/pkgs/applications/science/chemistry/quantum-espresso/default.nix @@ -4,12 +4,12 @@ }: stdenv.mkDerivation rec { - version = "6.5"; + version = "6.6"; pname = "quantum-espresso"; src = fetchurl { url = "https://gitlab.com/QEF/q-e/-/archive/qe-${version}/q-e-qe-${version}.tar.gz"; - sha256 = "00nnsq1vq579xsmkvwrgs6bdqdcbdlsmcp4yfynnvs40ca52m2r5"; + sha256 = "0b3718bwdqfyssyz25jknijar79qh5cf1bbizv9faliz135mcilj"; }; passthru = { From 75eef96f08c7f5ef5f1cf1c9900359e06c556000 Mon Sep 17 00:00:00 2001 From: Florian Pester Date: Mon, 28 Dec 2020 13:01:41 +0100 Subject: [PATCH 02/38] colmapWithCuda: fix build --- pkgs/applications/science/misc/colmap/default.nix | 2 +- pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/science/misc/colmap/default.nix b/pkgs/applications/science/misc/colmap/default.nix index 83dff3e08f1..02592f808d8 100644 --- a/pkgs/applications/science/misc/colmap/default.nix +++ b/pkgs/applications/science/misc/colmap/default.nix @@ -1,4 +1,4 @@ -{ mkDerivation, lib, fetchpatch, fetchFromGitHub, cmake, boost17x, ceres-solver, eigen, +{ mkDerivation, lib, fetchFromGitHub, cmake, boost17x, ceres-solver, eigen, freeimage, glog, libGLU, glew, qtbase, cudaSupport ? false, cudatoolkit ? null }: diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d9fdc2ef441..f1d077f2a61 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8949,7 +8949,7 @@ in colm = callPackage ../development/compilers/colm { }; colmap = libsForQt514.callPackage ../applications/science/misc/colmap { }; - colmapWithCuda = colmap.override { cudaSupport = true; }; + colmapWithCuda = colmap.override { cudaSupport = true; cudatoolkit = cudatoolkit_11; }; chickenPackages_4 = callPackage ../development/compilers/chicken/4 { }; chickenPackages_5 = callPackage ../development/compilers/chicken/5 { }; From b740afa546fd82b6626f87aa5d63c99f84a47d29 Mon Sep 17 00:00:00 2001 From: Florian Pester Date: Wed, 30 Dec 2020 12:35:55 +0100 Subject: [PATCH 03/38] colmap: 3.5 -> 3.6 --- pkgs/applications/science/misc/colmap/default.nix | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/pkgs/applications/science/misc/colmap/default.nix b/pkgs/applications/science/misc/colmap/default.nix index 02592f808d8..60f9810dfb6 100644 --- a/pkgs/applications/science/misc/colmap/default.nix +++ b/pkgs/applications/science/misc/colmap/default.nix @@ -7,22 +7,15 @@ assert !cudaSupport || cudatoolkit != null; let boost_static = boost17x.override { enableStatic = true; }; in mkDerivation rec { - version = "3.5"; + version = "3.6"; pname = "colmap"; src = fetchFromGitHub { owner = "colmap"; repo = "colmap"; rev = version; - sha256 = "1vnb62p0y2bnga173wmjs0lnyqdjikv0fkcxjzxm8187khk2lly8"; + sha256 = "1kfivdmhpmdxjjf30rr57y2iy7xmdpg4h8aw3qgacv8ckfpgda3n"; }; - patches = [ - (fetchpatch { - url = "https://github.com/colmap/colmap/commit/6af3d8b0048cecc3b9fc6f4e78c3214dd038180b.patch"; - sha256 = "1zv5girmv4hv78w1xn131v8njwhpbyylc1m15731lnhrs8bri0jq"; - }) - ]; - buildInputs = [ boost_static ceres-solver eigen freeimage glog libGLU glew qtbase From b5be160c1d2aad5118e77842904f3d9ebdd7ff5b Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Fri, 1 Jan 2021 12:14:18 +0100 Subject: [PATCH 04/38] rdma-core: 31.2 -> 33.0 --- pkgs/os-specific/linux/rdma-core/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/rdma-core/default.nix b/pkgs/os-specific/linux/rdma-core/default.nix index 042a54ff157..339a6cbbf29 100644 --- a/pkgs/os-specific/linux/rdma-core/default.nix +++ b/pkgs/os-specific/linux/rdma-core/default.nix @@ -4,7 +4,7 @@ } : let - version = "31.2"; + version = "33.0"; in stdenv.mkDerivation { pname = "rdma-core"; @@ -14,7 +14,7 @@ in stdenv.mkDerivation { owner = "linux-rdma"; repo = "rdma-core"; rev = "v${version}"; - sha256 = "0njfn8ziip57a2s435d4s0p3yylb85y7hdgbq660vwpsia9fb4sq"; + sha256 = "04q4z95nxxxjc674qnbwn19bv18nl3x7xwp6aql17h1cw3gdmhw4"; }; nativeBuildInputs = [ cmake pkgconfig pandoc docutils makeWrapper ]; From 60794754ff4cb2178a88509d33d07024058a9c21 Mon Sep 17 00:00:00 2001 From: Ben Wolsieffer Date: Fri, 1 Jan 2021 12:24:22 -0500 Subject: [PATCH 05/38] buildbot: 2.9.2 -> 2.9.4 --- pkgs/development/python-modules/buildbot/default.nix | 4 ++-- pkgs/development/python-modules/buildbot/pkg.nix | 2 +- pkgs/development/python-modules/buildbot/plugins.nix | 10 +++++----- pkgs/development/python-modules/buildbot/worker.nix | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/buildbot/default.nix b/pkgs/development/python-modules/buildbot/default.nix index 31a342b7621..8ecd4e6e28e 100644 --- a/pkgs/development/python-modules/buildbot/default.nix +++ b/pkgs/development/python-modules/buildbot/default.nix @@ -25,11 +25,11 @@ let package = buildPythonPackage rec { pname = "buildbot"; - version = "2.9.2"; + version = "2.9.4"; src = fetchPypi { inherit pname version; - sha256 = "019xfxjnyfi69d5sm3alvib24g8giqlvc102p8hqg8mfm7hc9z2v"; + sha256 = "1d1sviyxs67wcrzlq74hbwkc00y60fw1kdp3nyml6z43zkq9kd6s"; }; propagatedBuildInputs = [ diff --git a/pkgs/development/python-modules/buildbot/pkg.nix b/pkgs/development/python-modules/buildbot/pkg.nix index 70073eb5c9a..3111aba34ec 100644 --- a/pkgs/development/python-modules/buildbot/pkg.nix +++ b/pkgs/development/python-modules/buildbot/pkg.nix @@ -6,7 +6,7 @@ buildPythonPackage rec { src = fetchPypi { inherit pname version; - sha256 = "01s58zi72drv4lwn6jg6i5mrpf3mpq74761z6iwx5hsdnqg1hxai"; + sha256 = "1h5fyigfyzibshhmh6rdq4zy58hzxvwfxnxk5l9qppwkdp7yj3n4"; }; postPatch = '' diff --git a/pkgs/development/python-modules/buildbot/plugins.nix b/pkgs/development/python-modules/buildbot/plugins.nix index 43bc8717e59..e34569a6130 100644 --- a/pkgs/development/python-modules/buildbot/plugins.nix +++ b/pkgs/development/python-modules/buildbot/plugins.nix @@ -7,7 +7,7 @@ src = fetchPypi { inherit pname version; - sha256 = "1z5sca2ksbr1j6p0kr8i9a61c46mdmbbd6hvc6407c3z5393mp30"; + sha256 = "0r062hx1wks35ggq0ky60d8k95ai9sidg5k0zpldnmd34gfgpmfq"; }; # Remove unneccessary circular dependency on buildbot @@ -34,7 +34,7 @@ src = fetchPypi { inherit pname version; - sha256 = "1kz54zlc2yr9cjvw7rihcx7hfk245r6yh4mfyala38jby3hd68p0"; + sha256 = "1jlh73hxm2skyacz3lf4pifxnh2xxjnxhryk6d1bzi4wi0q44ccb"; }; buildInputs = [ buildbot-pkg ]; @@ -56,7 +56,7 @@ src = fetchPypi { inherit pname version; - sha256 = "0ac0dzldxl4j9cb4kpmhjwf5m1zjjvcg0hx9kghallab0sk1198p"; + sha256 = "11qwzrqy284k97wl1m4piy0vvshckyfvs529s33jm74xbs12gx0y"; }; buildInputs = [ buildbot-pkg ]; @@ -78,7 +78,7 @@ src = fetchPypi { inherit pname version; - sha256 = "1m41l2d6yb4mbg1ybn7q6wmkfvwssmfb4inmpwyvy55bcvgyixcm"; + sha256 = "0m2nydgfxvm2xylykah5r6dfn4y39xnj35wm9rq5aknaj0r1a12g"; }; buildInputs = [ buildbot-pkg ]; @@ -100,7 +100,7 @@ src = fetchPypi { inherit pname version; - sha256 = "1g58kr2zc7k94k0avly0vyyryg18gpsbick8mj5cz81s2pfmmyfq"; + sha256 = "0653mxrj5f62wij1ybji964br7jvci5ahx44gp2y9rddvk3xcaza"; }; buildInputs = [ buildbot-pkg ]; diff --git a/pkgs/development/python-modules/buildbot/worker.nix b/pkgs/development/python-modules/buildbot/worker.nix index 942c82f15a0..efa24fc5131 100644 --- a/pkgs/development/python-modules/buildbot/worker.nix +++ b/pkgs/development/python-modules/buildbot/worker.nix @@ -7,7 +7,7 @@ buildPythonPackage (rec { src = fetchPypi { inherit pname version; - sha256 = "1salrdirny1jpm53shb9dhzs1w7rbp5q7z2qpzrg1nmsh2kcd6ap"; + sha256 = "1k3y6andf2ymx462zhh4bpnndnypkb2ja483i682zl2grbvxcjxx"; }; propagatedBuildInputs = [ twisted future ]; From cb0b77e2f5d4785feb98a067cffc369bfe2aa5ad Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Sat, 2 Jan 2021 13:14:36 +0100 Subject: [PATCH 06/38] ViennaRNA: init at 2.4.17 --- .../molecular-dynamics/viennarna/default.nix | 37 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + pkgs/top-level/python-packages.nix | 2 + 3 files changed, 41 insertions(+) create mode 100644 pkgs/applications/science/molecular-dynamics/viennarna/default.nix diff --git a/pkgs/applications/science/molecular-dynamics/viennarna/default.nix b/pkgs/applications/science/molecular-dynamics/viennarna/default.nix new file mode 100644 index 00000000000..a68feaea1ef --- /dev/null +++ b/pkgs/applications/science/molecular-dynamics/viennarna/default.nix @@ -0,0 +1,37 @@ +{ stdenv +, fetchurl +, gsl +, mpfr +, perl +, python3 +}: + +stdenv.mkDerivation rec { + pname = "ViennaRNA"; + version = "2.4.17"; + + src = fetchurl { + url = "https://www.tbi.univie.ac.at/RNA/download/sourcecode/2_4_x/${pname}-${version}.tar.gz"; + sha256 = "08f1h2a8fn1s2zwf1244smiydhgwxgcnzy6irpdlmpvwygv0irmi"; + }; + + buildInputs = [ + gsl + mpfr + perl + python3 + ]; + + configureFlags = [ + "--with-cluster" + "--with-kinwalker" + ]; + + meta = with stdenv.lib; { + description = "Prediction and comparison of RNA secondary structures"; + homepage = "https://www.tbi.univie.ac.at/RNA/"; + license = licenses.unfree; + maintainers = with maintainers; [ prusnak ]; + platforms = platforms.unix; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8f306a3246c..791a388c4e2 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -28639,6 +28639,8 @@ in giflib = giflib_4_1; }; + ViennaRNA = callPackage ../applications/science/molecular-dynamics/viennarna { }; + viewnior = callPackage ../applications/graphics/viewnior { }; vimUtils = callPackage ../misc/vim-plugins/vim-utils.nix { }; diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 05abf503128..aa9e613c406 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7740,6 +7740,8 @@ in { vidstab = callPackage ../development/python-modules/vidstab { }; + ViennaRNA = toPythonModule pkgs.ViennaRNA; + viewstate = callPackage ../development/python-modules/viewstate { }; vine = callPackage ../development/python-modules/vine { }; From bd54cf960233c837d5053bc2220a9b4a50fcca73 Mon Sep 17 00:00:00 2001 From: Guillaume Girol Date: Sat, 2 Jan 2021 12:00:00 +0000 Subject: [PATCH 07/38] paperwork: 2.0.1 -> 2.0.2 and cleanup --- .../office/paperwork/paperwork-gtk.nix | 15 ++++++++------- .../office/paperwork/paperwork-shell.nix | 2 ++ pkgs/applications/office/paperwork/src.nix | 4 ++-- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/pkgs/applications/office/paperwork/paperwork-gtk.nix b/pkgs/applications/office/paperwork/paperwork-gtk.nix index c493421dd11..847287c8c85 100644 --- a/pkgs/applications/office/paperwork/paperwork-gtk.nix +++ b/pkgs/applications/office/paperwork/paperwork-gtk.nix @@ -2,8 +2,6 @@ , python3Packages , gtk3 , cairo -, aspellDicts -, buildEnv , gnome3 , librsvg , xvfb_run @@ -40,16 +38,19 @@ python3Packages.buildPythonApplication rec { make l10n_compile ''; - ASPELL_CONF = "dict-dir ${buildEnv { - name = "aspell-all-dicts"; - paths = lib.collect lib.isDerivation aspellDicts; - }}/lib/aspell"; - postInstall = '' # paperwork-shell needs to be re-wrapped with access to paperwork cp ${python3Packages.paperwork-shell}/bin/.paperwork-cli-wrapped $out/bin/paperwork-cli # install desktop files and icons XDG_DATA_HOME=$out/share $out/bin/paperwork-gtk install --user + + # fixes [WARNING] [openpaperwork_core.resources.setuptools] Failed to find + # resource file paperwork_gtk.icon.out/paperwork_128.png, tried at path + # /nix/store/3n5lz6y8k9yks76f0nar3smc8djan3xr-paperwork-2.0.2/lib/python3.8/site-packages/paperwork_gtk/icon/out/paperwork_128.png. + site=$out/lib/${python3Packages.python.libPrefix}/site-packages/paperwork_gtk + for i in $site/data/paperwork_*.png; do + ln -s $i $site/icon/out; + done ''; checkInputs = [ xvfb_run dbus.daemon ]; diff --git a/pkgs/applications/office/paperwork/paperwork-shell.nix b/pkgs/applications/office/paperwork/paperwork-shell.nix index 1be6f329e3c..7e633f54f9e 100644 --- a/pkgs/applications/office/paperwork/paperwork-shell.nix +++ b/pkgs/applications/office/paperwork/paperwork-shell.nix @@ -10,6 +10,7 @@ , paperwork-backend , fabulous , getkey +, psutil , pkgs }: @@ -34,6 +35,7 @@ buildPythonPackage rec { paperwork-backend fabulous getkey + psutil ]; checkInputs = [ diff --git a/pkgs/applications/office/paperwork/src.nix b/pkgs/applications/office/paperwork/src.nix index 70770676edd..45c05cc4962 100644 --- a/pkgs/applications/office/paperwork/src.nix +++ b/pkgs/applications/office/paperwork/src.nix @@ -1,12 +1,12 @@ {fetchFromGitLab}: rec { - version = "2.0.1"; + version = "2.0.2"; src = fetchFromGitLab { domain = "gitlab.gnome.org"; repo = "paperwork"; group = "World"; owner = "OpenPaperwork"; rev = version; - sha256 = "16pc4drwpjl4937wdavs6wk0j1qs474b072wplhs8ywxfgqip1h4"; + sha256 = "1di7nnl8ywyiwfpl5m1kvip1m0hvijbmqmkdpviwqw7ajizrr1ly"; }; } From d1d328882eb56a1c177a626a506325bfe6cec4cd Mon Sep 17 00:00:00 2001 From: Guillaume Girol Date: Sat, 2 Jan 2021 12:00:00 +0000 Subject: [PATCH 08/38] libinsane: 1.0.8 -> 1.0.9 --- pkgs/development/libraries/libinsane/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/libinsane/default.nix b/pkgs/development/libraries/libinsane/default.nix index 075d5761036..51ce6808f5d 100644 --- a/pkgs/development/libraries/libinsane/default.nix +++ b/pkgs/development/libraries/libinsane/default.nix @@ -17,7 +17,7 @@ stdenv.mkDerivation rec { pname = "libinsane"; - version = "1.0.8"; + version = "1.0.9"; outputs = [ "out" "dev" "devdoc" ]; @@ -27,7 +27,7 @@ stdenv.mkDerivation rec { group = "World"; owner = "OpenPaperwork"; rev = version; - sha256 = "0mcvqpixilzs4d4afkbxa1nqm6ddmhpaz5j56pfvc5wpv6s99h44"; + sha256 = "1a1lszhq3j11i1jybc5kmn7hhhji44xhjqsxsldsy9l3344rkzv4"; }; nativeBuildInputs = [ meson pkg-config ninja doxygen gtk-doc docbook_xsl gobject-introspection vala ]; From d3e0f5bc918cab3ae871f461ac88a340d87dfa9c Mon Sep 17 00:00:00 2001 From: Ben Wolsieffer Date: Sat, 2 Jan 2021 23:48:02 -0500 Subject: [PATCH 09/38] pythonPackages.sqlalchemy-migrate: 0.12.0 -> 0.13.0 --- .../development/python-modules/sqlalchemy-migrate/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/sqlalchemy-migrate/default.nix b/pkgs/development/python-modules/sqlalchemy-migrate/default.nix index c64d8f61f79..1f5c893c6db 100644 --- a/pkgs/development/python-modules/sqlalchemy-migrate/default.nix +++ b/pkgs/development/python-modules/sqlalchemy-migrate/default.nix @@ -5,11 +5,11 @@ }: buildPythonPackage rec { pname = "sqlalchemy-migrate"; - version = "0.12.0"; + version = "0.13.0"; src = fetchPypi { inherit pname version; - sha256 = "1bngmbcry97kwhrxwm0d74zg9qg7gmiws6rd78xshyfgpcqdmylc"; + sha256 = "1y0lcqii7b4vp7yh9dyxrl4i77hi8jkkw7d06mgdw2h458ljxh0b"; }; # See: https://review.openstack.org/#/c/608382/ From 478efc73634afb4e620bd06f55da2380b1003690 Mon Sep 17 00:00:00 2001 From: Ben Wolsieffer Date: Sat, 2 Jan 2021 23:48:40 -0500 Subject: [PATCH 10/38] buildbot: 2.9.4 -> 2.10.0 --- pkgs/development/python-modules/buildbot/default.nix | 4 ++-- pkgs/development/python-modules/buildbot/pkg.nix | 2 +- pkgs/development/python-modules/buildbot/plugins.nix | 10 +++++----- pkgs/development/python-modules/buildbot/worker.nix | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/buildbot/default.nix b/pkgs/development/python-modules/buildbot/default.nix index 8ecd4e6e28e..84476a2ca36 100644 --- a/pkgs/development/python-modules/buildbot/default.nix +++ b/pkgs/development/python-modules/buildbot/default.nix @@ -25,11 +25,11 @@ let package = buildPythonPackage rec { pname = "buildbot"; - version = "2.9.4"; + version = "2.10.0"; src = fetchPypi { inherit pname version; - sha256 = "1d1sviyxs67wcrzlq74hbwkc00y60fw1kdp3nyml6z43zkq9kd6s"; + sha256 = "06fgp5gpacyx1sqh1f6590r792d5lhzspwmjli592ajx69ckzzwf"; }; propagatedBuildInputs = [ diff --git a/pkgs/development/python-modules/buildbot/pkg.nix b/pkgs/development/python-modules/buildbot/pkg.nix index 3111aba34ec..90c2f099197 100644 --- a/pkgs/development/python-modules/buildbot/pkg.nix +++ b/pkgs/development/python-modules/buildbot/pkg.nix @@ -6,7 +6,7 @@ buildPythonPackage rec { src = fetchPypi { inherit pname version; - sha256 = "1h5fyigfyzibshhmh6rdq4zy58hzxvwfxnxk5l9qppwkdp7yj3n4"; + sha256 = "1wr8fxa80c6vq55zv7k9rf61r805flrhd2v28qfl05jz1inghysb"; }; postPatch = '' diff --git a/pkgs/development/python-modules/buildbot/plugins.nix b/pkgs/development/python-modules/buildbot/plugins.nix index e34569a6130..92e78f940d5 100644 --- a/pkgs/development/python-modules/buildbot/plugins.nix +++ b/pkgs/development/python-modules/buildbot/plugins.nix @@ -7,7 +7,7 @@ src = fetchPypi { inherit pname version; - sha256 = "0r062hx1wks35ggq0ky60d8k95ai9sidg5k0zpldnmd34gfgpmfq"; + sha256 = "0bzn00qqx0xd9r4rrz01y9zmiwjlhcanrs13r1yzp2mycn9q5865"; }; # Remove unneccessary circular dependency on buildbot @@ -34,7 +34,7 @@ src = fetchPypi { inherit pname version; - sha256 = "1jlh73hxm2skyacz3lf4pifxnh2xxjnxhryk6d1bzi4wi0q44ccb"; + sha256 = "0yh0dpg27gl3pk3nimj1yb6rw7kxvsv1bvzc6hbcfx3a9qdajicj"; }; buildInputs = [ buildbot-pkg ]; @@ -56,7 +56,7 @@ src = fetchPypi { inherit pname version; - sha256 = "11qwzrqy284k97wl1m4piy0vvshckyfvs529s33jm74xbs12gx0y"; + sha256 = "0b9fffr53wfq328csrqgdinafbs1v5s7yn4ky8faw6sqyd8l197v"; }; buildInputs = [ buildbot-pkg ]; @@ -78,7 +78,7 @@ src = fetchPypi { inherit pname version; - sha256 = "0m2nydgfxvm2xylykah5r6dfn4y39xnj35wm9rq5aknaj0r1a12g"; + sha256 = "0pz1kmq731ap79l05l13f10r81lzgif5aydpsfz3k5fa9flvxjxs"; }; buildInputs = [ buildbot-pkg ]; @@ -100,7 +100,7 @@ src = fetchPypi { inherit pname version; - sha256 = "0653mxrj5f62wij1ybji964br7jvci5ahx44gp2y9rddvk3xcaza"; + sha256 = "1jf72dzmgwrkqbr2f8s2dvf0zpvl3vbdq0qsf0g8xal272l7cmca"; }; buildInputs = [ buildbot-pkg ]; diff --git a/pkgs/development/python-modules/buildbot/worker.nix b/pkgs/development/python-modules/buildbot/worker.nix index efa24fc5131..bf5e1e6ae98 100644 --- a/pkgs/development/python-modules/buildbot/worker.nix +++ b/pkgs/development/python-modules/buildbot/worker.nix @@ -7,7 +7,7 @@ buildPythonPackage (rec { src = fetchPypi { inherit pname version; - sha256 = "1k3y6andf2ymx462zhh4bpnndnypkb2ja483i682zl2grbvxcjxx"; + sha256 = "1s51ycgnvjbxc2y358vw6rnw8xsx9grj6pxzfxjrph784igy22r0"; }; propagatedBuildInputs = [ twisted future ]; From 5df4be7f21a5b838ab5a004d8bae96a3789e79bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Luis=20Lafuente?= Date: Sun, 3 Jan 2021 14:42:51 +0100 Subject: [PATCH 11/38] vimPlugins.vim-gnupg: init at 2021-01-03 --- pkgs/misc/vim-plugins/generated.nix | 12 ++++++++++++ pkgs/misc/vim-plugins/vim-plugin-names | 1 + 2 files changed, 13 insertions(+) diff --git a/pkgs/misc/vim-plugins/generated.nix b/pkgs/misc/vim-plugins/generated.nix index 34169403c05..eb90b216606 100644 --- a/pkgs/misc/vim-plugins/generated.nix +++ b/pkgs/misc/vim-plugins/generated.nix @@ -5173,6 +5173,18 @@ let meta.homepage = "https://github.com/tikhomirov/vim-glsl/"; }; + vim-gnupg = buildVimPluginFrom2Nix { + pname = "vim-gnupg"; + version = "2021-01-03"; + src = fetchFromGitHub { + owner = "jamessan"; + repo = "vim-gnupg"; + rev = "96be0be1240a848da56d665b38e1b0fe7ee3f1af"; + sha256 = "10syaaylyaqn60zhyx008863b5b1349pygg7lnaqchw6bard1135"; + }; + meta.homepage = "https://github.com/jamessan/vim-gnupg/"; + }; + vim-go = buildVimPluginFrom2Nix { pname = "vim-go"; version = "2020-12-27"; diff --git a/pkgs/misc/vim-plugins/vim-plugin-names b/pkgs/misc/vim-plugins/vim-plugin-names index 019d1bfe1d7..c86c5c33750 100644 --- a/pkgs/misc/vim-plugins/vim-plugin-names +++ b/pkgs/misc/vim-plugins/vim-plugin-names @@ -180,6 +180,7 @@ ivanov/vim-ipython jackguo380/vim-lsp-cxx-highlight jacoborus/tender.vim jakwings/vim-pony +jamessan/vim-gnupg@main jaredgorski/SpaceCamp jaxbot/semantic-highlight.vim JazzCore/ctrlp-cmatcher From b02faea4a31b0938bd3f4f4e13ae6c083d4acf4c Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Sun, 3 Jan 2021 20:03:08 +0000 Subject: [PATCH 12/38] python37Packages.nocaselist: 1.0.3 -> 1.0.4 --- pkgs/development/python-modules/nocaselist/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/nocaselist/default.nix b/pkgs/development/python-modules/nocaselist/default.nix index 055b55da45d..e7947eba92a 100644 --- a/pkgs/development/python-modules/nocaselist/default.nix +++ b/pkgs/development/python-modules/nocaselist/default.nix @@ -4,11 +4,11 @@ buildPythonPackage rec { pname = "nocaselist"; - version = "1.0.3"; + version = "1.0.4"; src = fetchPypi { inherit pname version; - sha256 = "fm3st9hVY7kESRPJCH70tpG8PaTXrR2IlozepAlVMyY="; + sha256 = "73a9c0659e7135c66e46a6ab06e2cb637ce9248d73c690ebd31afb72a4e03ac0"; }; checkInputs = [ From b6dca6e4222e87760b288bcba61d7f8b100d8822 Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Sun, 3 Jan 2021 20:12:27 +0000 Subject: [PATCH 13/38] python37Packages.openwrt-luci-rpc: 1.1.6 -> 1.1.7 --- pkgs/development/python-modules/openwrt-luci-rpc/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/openwrt-luci-rpc/default.nix b/pkgs/development/python-modules/openwrt-luci-rpc/default.nix index 935a64b4186..2e7666d3ab0 100644 --- a/pkgs/development/python-modules/openwrt-luci-rpc/default.nix +++ b/pkgs/development/python-modules/openwrt-luci-rpc/default.nix @@ -10,11 +10,11 @@ with lib; buildPythonPackage rec { pname = "openwrt-luci-rpc"; - version = "1.1.6"; + version = "1.1.7"; src = fetchPypi { inherit pname version; - sha256 = "841c7fc956ad42825a2f2cd0cb2aa02005c3482b200ff7aaccd390345c9f3e18"; + sha256 = "8074c1ed24cdd1fadc5a99bd63d9313a0a44703714473ed781ed11e7fb45c96f"; }; postPatch = '' From 08b12f6385b3ed72061891bbdf480278b41491d8 Mon Sep 17 00:00:00 2001 From: Rick van Schijndel Date: Thu, 27 Aug 2020 22:00:49 +0200 Subject: [PATCH 14/38] lcov: 1.14 -> 1.15 --- .../tools/analysis/lcov/default.nix | 25 +++++++------------ 1 file changed, 9 insertions(+), 16 deletions(-) diff --git a/pkgs/development/tools/analysis/lcov/default.nix b/pkgs/development/tools/analysis/lcov/default.nix index 6ac778180b7..c6faeaa72f2 100644 --- a/pkgs/development/tools/analysis/lcov/default.nix +++ b/pkgs/development/tools/analysis/lcov/default.nix @@ -1,24 +1,16 @@ - {stdenv, fetchurl, fetchpatch, perl, perlPackages, makeWrapper }: + {stdenv, fetchFromGitHub, perl, perlPackages, makeWrapper }: stdenv.mkDerivation rec { - name = "lcov-1.14"; + pname = "lcov"; + version = "1.15"; - src = fetchurl { - url = "mirror://sourceforge/ltp/${name}.tar.gz"; - sha256 = "06h7ixyznf6vz1qvksjgy5f3q2nw9akf6zx59npf0h3l32cmd68l"; + src = fetchFromGitHub { + owner = "linux-test-project"; + repo = "lcov"; + rev = "v${version}"; + sha256 = "1kvc7fkp45w48f0bxwbxvxkicnjrrydki0hllg294n1wrp80zzyk"; }; - patches = - [ (fetchpatch { - url = "https://github.com/linux-test-project/lcov/commit/ebfeb3e179e450c69c3532f98cd5ea1fbf6ccba7.patch"; - sha256 = "0dalkqbjb6a4vp1lcsxd39dpn5fzdf7ihsjbiviq285s15nxdj1j"; - }) - (fetchpatch { - url = "https://github.com/linux-test-project/lcov/commit/75fbae1cfc5027f818a0bb865bf6f96fab3202da.patch"; - sha256 = "0v1hn0511dxqbf50ppwasc6vmg0m6rns7ydbdy2rdbn0j7gxw30x"; - }) - ]; - buildInputs = [ perl makeWrapper ]; preBuild = '' @@ -28,6 +20,7 @@ stdenv.mkDerivation rec { postInstall = '' wrapProgram $out/bin/lcov --set PERL5LIB ${perlPackages.makeFullPerlPath [ perlPackages.PerlIOgzip perlPackages.JSON ]} + wrapProgram $out/bin/genpng --set PERL5LIB ${perlPackages.makeFullPerlPath [ perlPackages.GD ]} ''; meta = with stdenv.lib; { From 64a7c6f625e55082ce2f1bd13bd27b980abc81a0 Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Sun, 3 Jan 2021 21:54:22 +0000 Subject: [PATCH 15/38] python37Packages.mwparserfromhell: 0.5.4 -> 0.6 --- pkgs/development/python-modules/mwparserfromhell/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/mwparserfromhell/default.nix b/pkgs/development/python-modules/mwparserfromhell/default.nix index e52e033cdb0..791ffe0b1ea 100644 --- a/pkgs/development/python-modules/mwparserfromhell/default.nix +++ b/pkgs/development/python-modules/mwparserfromhell/default.nix @@ -5,11 +5,11 @@ buildPythonPackage rec { pname = "mwparserfromhell"; - version = "0.5.4"; + version = "0.6"; src = fetchPypi { inherit pname version; - sha256 = "aaf5416ab9b75e99e286f8a4216f77a2f7d834afd4c8f81731e701e59bf99305"; + sha256 = "75787b6ab140ab267b313d37d045f3276f5dc6a9741074eddfbabc1635cb2efc"; }; meta = with stdenv.lib; { From 3f4112d5cf71d07220fbc1ea123dcb5394aad56b Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Sun, 3 Jan 2021 21:59:26 +0000 Subject: [PATCH 16/38] python37Packages.mautrix: 0.8.5 -> 0.8.6 --- pkgs/development/python-modules/mautrix/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/mautrix/default.nix b/pkgs/development/python-modules/mautrix/default.nix index 7cfd8e83dbf..0944d5fa4cf 100644 --- a/pkgs/development/python-modules/mautrix/default.nix +++ b/pkgs/development/python-modules/mautrix/default.nix @@ -4,11 +4,11 @@ buildPythonPackage rec { pname = "mautrix"; - version = "0.8.5"; + version = "0.8.6"; src = fetchPypi { inherit pname version; - sha256 = "564ffe240fd9a29978959c7d7827610cf4d8ff02ed612c3fd8067e2fba2cba59"; + sha256 = "e28d89cb8297ec36d78ef79507613c45ab3ab0bc709f1944ca5be349797f8f6b"; }; propagatedBuildInputs = [ From 448ae83326f2ca624a2b622c587193e74ea01560 Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Sun, 3 Jan 2021 22:57:40 +0000 Subject: [PATCH 17/38] python37Packages.owslib: 0.20.0 -> 0.21.0 --- pkgs/development/python-modules/owslib/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/owslib/default.nix b/pkgs/development/python-modules/owslib/default.nix index c82668008ea..92a78ce0cf3 100644 --- a/pkgs/development/python-modules/owslib/default.nix +++ b/pkgs/development/python-modules/owslib/default.nix @@ -1,11 +1,11 @@ { lib, buildPythonPackage, fetchPypi, dateutil, requests, pytz, pyproj , pytest, pyyaml } : buildPythonPackage rec { pname = "OWSLib"; - version = "0.20.0"; + version = "0.21.0"; src = fetchPypi { inherit pname version; - sha256 = "334988857b260c8cdf1f6698d07eab61839c51acb52ee10eed1275439200a40e"; + sha256 = "408d40b3a6a210bcb3f3609b607960eeedaa63ffd574dde7896906691c354814"; }; buildInputs = [ pytest ]; From c602076c8f4634d59736c970c43f825e581248a0 Mon Sep 17 00:00:00 2001 From: Ben Siraphob Date: Sun, 3 Jan 2021 16:49:22 +0700 Subject: [PATCH 18/38] zdoom: refactor --- pkgs/games/zdoom/default.nix | 2 -- pkgs/games/zdoom/zdbsp.nix | 18 +++++++++--------- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/pkgs/games/zdoom/default.nix b/pkgs/games/zdoom/default.nix index 646021eb2fc..37a8fd0fda8 100644 --- a/pkgs/games/zdoom/default.nix +++ b/pkgs/games/zdoom/default.nix @@ -25,8 +25,6 @@ stdenv.mkDerivation rec { sourceRoot = "."; - enableParallelBuilding = true; - NIX_CFLAGS_LINK = [ "-lopenal" "-lfluidsynth" ]; preConfigure = '' diff --git a/pkgs/games/zdoom/zdbsp.nix b/pkgs/games/zdoom/zdbsp.nix index e86ebd6dbc2..e45563588b7 100644 --- a/pkgs/games/zdoom/zdbsp.nix +++ b/pkgs/games/zdoom/zdbsp.nix @@ -1,18 +1,18 @@ -{ stdenv, fetchurl, cmake, unzip, zlib }: +{ stdenv, fetchzip, cmake, zlib }: stdenv.mkDerivation rec { pname = "zdbsp"; version = "1.19"; - src = fetchurl { + src = fetchzip { url = "https://zdoom.org/files/utils/zdbsp/zdbsp-${version}-src.zip"; - sha256 = "0j82q7g7hgvnahk6gdyhmn9880mqii3b4agqc98f5xaj3kxmd2dr"; + sha256 = "1j6k0appgjjj3ffbll9hy9nnbqr17szd1s66q08zrbkfqf6g8f0d"; + stripRoot = false; }; - nativeBuildInputs = [cmake unzip]; - buildInputs = [zlib]; - sourceRoot = "."; - enableParallelBuilding = true; + nativeBuildInputs = [ cmake ]; + buildInputs = [ zlib ]; + installPhase = '' install -Dm755 zdbsp $out/bin/zdbsp ''; @@ -21,7 +21,7 @@ stdenv.mkDerivation rec { description = "ZDoom's internal node builder for DOOM maps"; homepage = "https://zdoom.org/wiki/ZDBSP"; license = licenses.gpl2Plus; - maintainers = with maintainers; [ertes]; - platforms = platforms.linux; + maintainers = with maintainers; [ ertes ]; + platforms = platforms.unix; }; } From ba330148c6e27a352b9e80566c534305292023fa Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 4 Jan 2021 11:16:44 +0100 Subject: [PATCH 19/38] fatrace: 0.13 -> 0.16.1 --- pkgs/os-specific/linux/fatrace/default.nix | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/pkgs/os-specific/linux/fatrace/default.nix b/pkgs/os-specific/linux/fatrace/default.nix index 69d1afad8a6..62767f68278 100644 --- a/pkgs/os-specific/linux/fatrace/default.nix +++ b/pkgs/os-specific/linux/fatrace/default.nix @@ -1,12 +1,18 @@ -{ stdenv, fetchurl, python3, which }: +{ stdenv +, fetchFromGitHub +, python3 +, which +}: stdenv.mkDerivation rec { pname = "fatrace"; - version = "0.13"; + version = "0.16.1"; - src = fetchurl { - url = "https://launchpad.net/fatrace/trunk/${version}/+download/${pname}-${version}.tar.bz2"; - sha256 = "0hrh45bpzncw0jkxw3x2smh748r65k2yxvfai466043bi5q0d2vx"; + src = fetchFromGitHub { + owner = "martinpitt"; + repo = pname; + rev = version; + sha256 = "0lxfqin2bw9235yah8ylb4p8lc3755050sjg30z3gy7bab0lfyg9"; }; buildInputs = [ python3 which ]; @@ -14,16 +20,13 @@ stdenv.mkDerivation rec { postPatch = '' substituteInPlace power-usage-report \ --replace "'which'" "'${which}/bin/which'" - - # Avoid a glibc >= 2.25 deprecation warning that gets fatal via -Werror. - sed 1i'#include ' -i fatrace.c ''; makeFlags = [ "PREFIX=$(out)" ]; meta = with stdenv.lib; { description = "Report system-wide file access events"; - homepage = "https://launchpad.net/fatrace/"; + homepage = "https://github.com/martinpitt/fatrace"; license = licenses.gpl3Plus; longDescription = '' fatrace reports file access events from all running processes. From 0292f410ba39d293ca2cf865f9d0f1ee4cf71e10 Mon Sep 17 00:00:00 2001 From: Johannes Schleifenbaum Date: Mon, 4 Jan 2021 11:26:50 +0100 Subject: [PATCH 20/38] dbeaver: 7.3.1 -> 7.3.2 --- pkgs/applications/misc/dbeaver/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/dbeaver/default.nix b/pkgs/applications/misc/dbeaver/default.nix index a41ee209a0b..f14f5aec8cb 100644 --- a/pkgs/applications/misc/dbeaver/default.nix +++ b/pkgs/applications/misc/dbeaver/default.nix @@ -7,7 +7,7 @@ stdenv.mkDerivation rec { pname = "dbeaver-ce"; - version = "7.3.1"; + version = "7.3.2"; desktopItem = makeDesktopItem { name = "dbeaver"; @@ -30,7 +30,7 @@ stdenv.mkDerivation rec { src = fetchurl { url = "https://dbeaver.io/files/${version}/dbeaver-ce-${version}-linux.gtk.x86_64.tar.gz"; - sha256 = "sha256-4UVC5lBoGsW99L6AgM+1Rs07LCrvp2qVevBrooTbee4="; + sha256 = "sha256-4BVXcR8/E4uIrPQJe9KU9577j4XLTxJWTO8g0vCHWts="; }; installPhase = '' From 58d6dc335959c035113314efec6ba9699729c207 Mon Sep 17 00:00:00 2001 From: Ben Siraphob Date: Mon, 4 Jan 2021 16:47:09 +0700 Subject: [PATCH 21/38] zdbsp: update maintainers --- pkgs/games/zdoom/zdbsp.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/games/zdoom/zdbsp.nix b/pkgs/games/zdoom/zdbsp.nix index e45563588b7..3dc523b4985 100644 --- a/pkgs/games/zdoom/zdbsp.nix +++ b/pkgs/games/zdoom/zdbsp.nix @@ -21,7 +21,7 @@ stdenv.mkDerivation rec { description = "ZDoom's internal node builder for DOOM maps"; homepage = "https://zdoom.org/wiki/ZDBSP"; license = licenses.gpl2Plus; - maintainers = with maintainers; [ ertes ]; + maintainers = with maintainers; [ lassulus siraben ]; platforms = platforms.unix; }; } From 297da669910510528c9ee50c7f6311fc755ede9f Mon Sep 17 00:00:00 2001 From: Alvar Penning Date: Mon, 4 Jan 2021 12:06:50 +0100 Subject: [PATCH 22/38] pytun: 2.2.1 -> 2.3.0 --- pkgs/development/python-modules/pytun/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pytun/default.nix b/pkgs/development/python-modules/pytun/default.nix index fed78cea96f..b37dbf26fb7 100644 --- a/pkgs/development/python-modules/pytun/default.nix +++ b/pkgs/development/python-modules/pytun/default.nix @@ -5,15 +5,16 @@ buildPythonPackage rec { pname = "pytun"; - version = "2.2.1"; + version = "2.3.0"; src = fetchFromGitHub { rev = "v${version}"; owner = "montag451"; repo = "pytun"; - sha256 = "1bxk0z0v8m0b01xg94f039j3bsclkshb7girvjqfzk5whbd2nryh"; + sha256 = "1cqq8aci38058fjh4a0xf21wac177fw576p2yjl2b8jd9rnsqbl5"; }; + # Test directory contains examples, not tests. doCheck = false; meta = with stdenv.lib; { @@ -23,5 +24,4 @@ buildPythonPackage rec { maintainers = with maintainers; [ montag451 ]; platforms = platforms.linux; }; - } From 7be007372e86273413dd08775485261de954c74d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 4 Jan 2021 12:17:32 +0100 Subject: [PATCH 23/38] python3Packages.whois: init at 0.9.7 --- .../python-modules/whois/default.nix | 32 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 34 insertions(+) create mode 100644 pkgs/development/python-modules/whois/default.nix diff --git a/pkgs/development/python-modules/whois/default.nix b/pkgs/development/python-modules/whois/default.nix new file mode 100644 index 00000000000..759bc0cd8ee --- /dev/null +++ b/pkgs/development/python-modules/whois/default.nix @@ -0,0 +1,32 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, pytestCheckHook +, inetutils +}: + +buildPythonPackage rec { + pname = "whois"; + version = "0.9.7"; + + src = fetchFromGitHub { + owner = "DannyCork"; + repo = "python-whois"; + rev = version; + sha256 = "1rbc4xif4dn455vc8dhxdvwszrb0nik5q9fy12db6mxfx6zikb7z"; + }; + + # whois is needed + propagatedBuildInputs = [ inetutils ]; + + # tests require network access + doCheck = false; + pythonImportsCheck = [ "whois" ]; + + meta = with lib; { + description = "Python module/library for retrieving WHOIS information"; + homepage = "https://github.com/DannyCork/python-whois/"; + license = with licenses; [ mit ]; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index cfb9ac52ccb..110d8af5e0e 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7898,6 +7898,8 @@ in { whitenoise = callPackage ../development/python-modules/whitenoise { }; + whois = callPackage ../development/python-modules/whois { }; + whoosh = callPackage ../development/python-modules/whoosh { }; widgetsnbextension = callPackage ../development/python-modules/widgetsnbextension { }; From 8d668463b0883b2e21ba2e2635cd5f9bbc409b18 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 4 Jan 2021 13:38:57 +0100 Subject: [PATCH 24/38] python3Packages.autobahn: 20.7.1 -> 20.12.3 --- pkgs/development/python-modules/autobahn/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/autobahn/default.nix b/pkgs/development/python-modules/autobahn/default.nix index 909fb65996b..12aa86774d8 100644 --- a/pkgs/development/python-modules/autobahn/default.nix +++ b/pkgs/development/python-modules/autobahn/default.nix @@ -4,11 +4,11 @@ }: buildPythonPackage rec { pname = "autobahn"; - version = "20.7.1"; + version = "20.12.3"; src = fetchPypi { inherit pname version; - sha256 = "86bbce30cdd407137c57670993a8f9bfdfe3f8e994b889181d85e844d5aa8dfb"; + sha256 = "15b8zm7jalwisfwc08szxy3bh2bnn0hd41dbsnswi0lqwbh962j1"; }; propagatedBuildInputs = [ six txaio twisted zope_interface cffi cryptography pynacl ] ++ From 28564278c0fc422a250e9f070c97d5362164437b Mon Sep 17 00:00:00 2001 From: Arnout Engelen Date: Mon, 4 Jan 2021 13:44:30 +0100 Subject: [PATCH 25/38] jetbrains: updates --- .../editors/jetbrains/default.nix | 44 +++++++++---------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/pkgs/applications/editors/jetbrains/default.nix b/pkgs/applications/editors/jetbrains/default.nix index 9638bea60c9..9d743b197e6 100644 --- a/pkgs/applications/editors/jetbrains/default.nix +++ b/pkgs/applications/editors/jetbrains/default.nix @@ -269,12 +269,12 @@ in clion = buildClion rec { name = "clion-${version}"; - version = "2020.3"; /* updated by script */ + version = "2020.3.1"; /* updated by script */ description = "C/C++ IDE. New. Intelligent. Cross-platform"; license = stdenv.lib.licenses.unfree; src = fetchurl { url = "https://download.jetbrains.com/cpp/CLion-${version}.tar.gz"; - sha256 = "0kqja2c5pz0f9idc52mv7iy2pqq2kfcx4q4x1ywfn3gq3d8n5j7z"; /* updated by script */ + sha256 = "1jfvwir79s0kcqmlx6bbkmc42bplgl7814mnqfcsdzni1qv62pws"; /* updated by script */ }; wmClass = "jetbrains-clion"; update-channel = "CLion RELEASE"; # channel's id as in http://www.jetbrains.com/updates/updates.xml @@ -282,12 +282,12 @@ in datagrip = buildDataGrip rec { name = "datagrip-${version}"; - version = "2020.3"; /* updated by script */ + version = "2020.3.1"; /* updated by script */ description = "Your Swiss Army Knife for Databases and SQL"; license = stdenv.lib.licenses.unfree; src = fetchurl { url = "https://download.jetbrains.com/datagrip/${name}.tar.gz"; - sha256 = "1j0mlsiqh80mspi2x9mi0h5hxhg5gw6395hyl9w33q8dxm95mx2d"; /* updated by script */ + sha256 = "0jk7ywxk983ld5x71a59dh1hvlnli3sbvg7fbicahas5ml8clxfv"; /* updated by script */ }; wmClass = "jetbrains-datagrip"; update-channel = "DataGrip RELEASE"; @@ -295,12 +295,12 @@ in goland = buildGoland rec { name = "goland-${version}"; - version = "2020.3"; /* updated by script */ + version = "2020.3.1"; /* updated by script */ description = "Up and Coming Go IDE"; license = stdenv.lib.licenses.unfree; src = fetchurl { url = "https://download.jetbrains.com/go/${name}.tar.gz"; - sha256 = "0hj1xm3c71y2z1jyv7j3xf2lcj2y0kyvsxd3jjyyhs31w1f3394j"; /* updated by script */ + sha256 = "12gi1a2bmafmy7qgqwv3a7b5b46dlhw4ahmkm5pkq6pmxl4y6dmk"; /* updated by script */ }; wmClass = "jetbrains-goland"; update-channel = "GoLand RELEASE"; @@ -308,12 +308,12 @@ in idea-community = buildIdea rec { name = "idea-community-${version}"; - version = "2020.3"; /* updated by script */ + version = "2020.3.1"; /* updated by script */ description = "Integrated Development Environment (IDE) by Jetbrains, community edition"; license = stdenv.lib.licenses.asl20; src = fetchurl { url = "https://download.jetbrains.com/idea/ideaIC-${version}.tar.gz"; - sha256 = "0x1nsjw1m03iq7sd9i2qqlyribrzgi8yh6k5hnb630kvrxr8pxy6"; /* updated by script */ + sha256 = "0am4h8w1dmjl08iphqy78ivb91vkrvskg95dgm24zcj0n8rwmaq6"; /* updated by script */ }; wmClass = "jetbrains-idea-ce"; update-channel = "IntelliJ IDEA RELEASE"; @@ -321,12 +321,12 @@ in idea-ultimate = buildIdea rec { name = "idea-ultimate-${version}"; - version = "2020.3"; /* updated by script */ + version = "2020.3.1"; /* updated by script */ description = "Integrated Development Environment (IDE) by Jetbrains, requires paid license"; license = stdenv.lib.licenses.unfree; src = fetchurl { url = "https://download.jetbrains.com/idea/ideaIU-${version}-no-jbr.tar.gz"; - sha256 = "1l6bvfgzp27113rjy1y3jvp09cqx8gpnbgpwp83vsph7x0dhx8a3"; /* updated by script */ + sha256 = "1kwz0aq4b664awppakj4syppk218nynwxv4ngc7pa3k9v4g2sdah"; /* updated by script */ }; wmClass = "jetbrains-idea"; update-channel = "IntelliJ IDEA RELEASE"; @@ -347,12 +347,12 @@ in phpstorm = buildPhpStorm rec { name = "phpstorm-${version}"; - version = "2020.3"; /* updated by script */ + version = "2020.3.1"; /* updated by script */ description = "Professional IDE for Web and PHP developers"; license = stdenv.lib.licenses.unfree; src = fetchurl { url = "https://download.jetbrains.com/webide/PhpStorm-${version}.tar.gz"; - sha256 = "1d5rx7p7lvjzgp57n980f2bfrj14p1f4hxmyvx5pzzd86q7hrcbq"; /* updated by script */ + sha256 = "1c5j3mbg8scsl4c90cjahdk5gs5q72y5a8fhkqa9zmy6di42k99x"; /* updated by script */ }; wmClass = "jetbrains-phpstorm"; update-channel = "PhpStorm RELEASE"; @@ -360,12 +360,12 @@ in pycharm-community = buildPycharm rec { name = "pycharm-community-${version}"; - version = "2020.3"; /* updated by script */ + version = "2020.3.2"; /* updated by script */ description = "PyCharm Community Edition"; license = stdenv.lib.licenses.asl20; src = fetchurl { url = "https://download.jetbrains.com/python/${name}.tar.gz"; - sha256 = "1c2izsqx27g4jy46iskx5zg00pd8jaf9x1p0vya4l2v5r49dk4jb"; /* updated by script */ + sha256 = "1z3w6aah635fdrhrzp5af6sgj269jk7mv8vgdd83gxillkx9vq9k"; /* updated by script */ }; wmClass = "jetbrains-pycharm-ce"; update-channel = "PyCharm RELEASE"; @@ -373,12 +373,12 @@ in pycharm-professional = buildPycharm rec { name = "pycharm-professional-${version}"; - version = "2020.3"; /* updated by script */ + version = "2020.3.2"; /* updated by script */ description = "PyCharm Professional Edition"; license = stdenv.lib.licenses.unfree; src = fetchurl { url = "https://download.jetbrains.com/python/${name}.tar.gz"; - sha256 = "1kzgy90zcligwa9r6r11kx99z0zm93mrzy700y2jwslyzapd16d0"; /* updated by script */ + sha256 = "1fbb8v40q7vgn5v5dyxb211abr8swnxa3gw18kh3vlk6yc2crzfw"; /* updated by script */ }; wmClass = "jetbrains-pycharm"; update-channel = "PyCharm RELEASE"; @@ -386,12 +386,12 @@ in rider = buildRider rec { name = "rider-${version}"; - version = "2020.2.4"; /* updated by script */ + version = "2020.3.2"; /* updated by script */ description = "A cross-platform .NET IDE based on the IntelliJ platform and ReSharper"; license = stdenv.lib.licenses.unfree; src = fetchurl { url = "https://download.jetbrains.com/rider/JetBrains.Rider-${version}.tar.gz"; - sha256 = "1anl48ifv5ayqn876dqckxc1b5fw1271pvamzf1vvk501wv6dpaf"; /* updated by script */ + sha256 = "1dkgbd2nqkjcswf7j3pnrsaq9n5wk42abz2c4wgkrh1zrpgihd0j"; /* updated by script */ }; wmClass = "jetbrains-rider"; update-channel = "Rider RELEASE"; @@ -399,12 +399,12 @@ in ruby-mine = buildRubyMine rec { name = "ruby-mine-${version}"; - version = "2020.3"; /* updated by script */ + version = "2020.3.1"; /* updated by script */ description = "The Most Intelligent Ruby and Rails IDE"; license = stdenv.lib.licenses.unfree; src = fetchurl { url = "https://download.jetbrains.com/ruby/RubyMine-${version}.tar.gz"; - sha256 = "0ij6j9bxfqzj8gnrhhdgai22s1n5swd4waxd5zjvmv7q9j9cb2l5"; /* updated by script */ + sha256 = "0drxzz6k0cmhir4szg8nwmsi9qh380vrryghmpvx9w83yrcain4c"; /* updated by script */ }; wmClass = "jetbrains-rubymine"; update-channel = "RubyMine RELEASE"; @@ -412,12 +412,12 @@ in webstorm = buildWebStorm rec { name = "webstorm-${version}"; - version = "2020.3"; /* updated by script */ + version = "2020.3.1"; /* updated by script */ description = "Professional IDE for Web and JavaScript development"; license = stdenv.lib.licenses.unfree; src = fetchurl { url = "https://download.jetbrains.com/webstorm/WebStorm-${version}.tar.gz"; - sha256 = "0sk7slwfr9jasid09hxw81sik5srn35vif3pbzpybig3yszbv6ld"; /* updated by script */ + sha256 = "1bfq3xwnfz6f04d0lq584q7pg775a8y35b1b62w81dbfh43l4fj0"; /* updated by script */ }; wmClass = "jetbrains-webstorm"; update-channel = "WebStorm RELEASE"; From 234a289c8989710cae73128cf97680591e925ec6 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 4 Jan 2021 14:27:00 +0100 Subject: [PATCH 26/38] python3Packages.asyncwhois: init at 0.2.0 --- .../python-modules/asyncwhois/default.nix | 36 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 38 insertions(+) create mode 100644 pkgs/development/python-modules/asyncwhois/default.nix diff --git a/pkgs/development/python-modules/asyncwhois/default.nix b/pkgs/development/python-modules/asyncwhois/default.nix new file mode 100644 index 00000000000..ba8f212d2f3 --- /dev/null +++ b/pkgs/development/python-modules/asyncwhois/default.nix @@ -0,0 +1,36 @@ +{ lib +, buildPythonPackage +, fetchPypi +, pythonOlder +, aiodns +, tldextract +, pytestCheckHook +}: + +buildPythonPackage rec { + pname = "asyncwhois"; + version = "0.2.0"; + disabled = pythonOlder "3.6"; + + src = fetchPypi { + inherit pname version; + sha256 = "0rdmg59jzzfz59b3ckg5187lc0wk9r0pzp9x09nq3xs21mcwqjxz"; + }; + + propagatedBuildInputs = [ + aiodns + tldextract + ]; + + # tests are only present at GitHub but not the released source tarballs + # https://github.com/pogzyb/asyncwhois/issues/10 + doCheck = false; + pythonImportsCheck = [ "asyncwhois" ]; + + meta = with lib; { + description = "Python module for retrieving WHOIS information"; + homepage = "https://github.com/pogzyb/asyncwhois"; + license = with licenses; [ asl20 ]; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index cfb9ac52ccb..10a833ef4b4 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -453,6 +453,8 @@ in { async-upnp-client = callPackage ../development/python-modules/async-upnp-client { }; + asyncwhois = callPackage ../development/python-modules/asyncwhois { }; + atlassian-python-api = callPackage ../development/python-modules/atlassian-python-api { }; atom = callPackage ../development/python-modules/atom { }; From 779662af30293df050e7ea7403611a6babaae073 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 4 Jan 2021 14:29:35 +0100 Subject: [PATCH 27/38] python3Packages.python-whois: init at 0.7.3 --- .../python-modules/python-whois/default.nix | 41 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 43 insertions(+) create mode 100644 pkgs/development/python-modules/python-whois/default.nix diff --git a/pkgs/development/python-modules/python-whois/default.nix b/pkgs/development/python-modules/python-whois/default.nix new file mode 100644 index 00000000000..c4d163100ca --- /dev/null +++ b/pkgs/development/python-modules/python-whois/default.nix @@ -0,0 +1,41 @@ +{ lib +, buildPythonPackage +, fetchPypi +, future +, nose +, pytestCheckHook +, simplejson +}: + +buildPythonPackage rec { + pname = "python-whois"; + version = "0.7.3"; + + src = fetchPypi { + inherit pname version; + sha256 = "05jaxbnlw5wck0hl124py364jqrx7a4mmv0hy3d2jzvmp0012sk5"; + }; + + propagatedBuildInputs = [ future ]; + + checkInputs = [ + nose + pytestCheckHook + simplejson + ]; + + # Exclude tests that require network access + disabledTests = [ + "test_dk_parse" + "test_ipv4" + "test_ipv6" + ]; + pythonImportsCheck = [ "whois" ]; + + meta = with lib; { + description = "Python module to produce parsed WHOIS data"; + homepage = "https://github.com/richardpenman/whois"; + license = with licenses; [ mit ]; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index cfb9ac52ccb..c91cbc93214 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -6147,6 +6147,8 @@ in { python-vlc = callPackage ../development/python-modules/python-vlc { }; + python-whois = callPackage ../development/python-modules/python-whois { }; + python-wifi = callPackage ../development/python-modules/python-wifi { }; python-xmp-toolkit = callPackage ../development/python-modules/python-xmp-toolkit { }; From d8f10e326f0245ad5d86ce937becfce422fb537c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 4 Jan 2021 14:30:01 +0100 Subject: [PATCH 28/38] home-assistant: add python-whois to component-packages --- pkgs/servers/home-assistant/component-packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/servers/home-assistant/component-packages.nix b/pkgs/servers/home-assistant/component-packages.nix index 9b3b6e662b9..855e52cdbd8 100644 --- a/pkgs/servers/home-assistant/component-packages.nix +++ b/pkgs/servers/home-assistant/component-packages.nix @@ -925,7 +925,7 @@ "webostv" = ps: with ps; [ ]; # missing inputs: aiopylgtv "websocket_api" = ps: with ps; [ aiohttp-cors ]; "wemo" = ps: with ps; [ ]; # missing inputs: pywemo - "whois" = ps: with ps; [ ]; # missing inputs: python-whois + "whois" = ps: with ps; [ python-whois ]; "wiffi" = ps: with ps; [ ]; # missing inputs: wiffi "wilight" = ps: with ps; [ ]; # missing inputs: pywilight "wink" = ps: with ps; [ aiohttp-cors ]; # missing inputs: pubnubsub-handler python-wink From e326297f6c8d01d996219c796245b061d61b1eb0 Mon Sep 17 00:00:00 2001 From: Milan Date: Mon, 4 Jan 2021 14:45:30 +0100 Subject: [PATCH 29/38] python3Packages.adblock: init at 0.4.0 (#108271) This packages python bindings to Brave's Rust adblock library. These will be used in the upcoming qutebrowser version 2.0.0 for more granular adblocking. --- .../python-modules/adblock/default.nix | 63 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 4 ++ 2 files changed, 67 insertions(+) create mode 100644 pkgs/development/python-modules/adblock/default.nix diff --git a/pkgs/development/python-modules/adblock/default.nix b/pkgs/development/python-modules/adblock/default.nix new file mode 100644 index 00000000000..de6d72a61ec --- /dev/null +++ b/pkgs/development/python-modules/adblock/default.nix @@ -0,0 +1,63 @@ +{ stdenv +, lib +, rustPlatform +, fetchFromGitHub +, pipInstallHook +, pythonImportsCheckHook +, maturin +, pkg-config +, openssl +, publicsuffix-list +, isPy27 +, CoreFoundation +, Security +}: + +rustPlatform.buildRustPackage rec { + pname = "adblock"; + version = "0.4.0"; + disabled = isPy27; + + # Pypi only has binary releases + src = fetchFromGitHub { + owner = "ArniDagur"; + repo = "python-adblock"; + rev = version; + sha256 = "10d6ks2fyzbizq3kb69q478idj0h86k6ygjb6wl3zq3mf65ma4zg"; + }; + format = "pyproject"; + + cargoSha256 = "0di05j942rrm2crpdpp9czhh65fmidyrvdp2n3pipgnagy7nchc0"; + + nativeBuildInputs = [ pipInstallHook maturin pkg-config pythonImportsCheckHook ]; + + buildInputs = [ openssl ] + ++ lib.optionals stdenv.isDarwin [ CoreFoundation Security ]; + + PSL_PATH = "${publicsuffix-list}/share/publicsuffix/public_suffix_list.dat"; + + buildPhase = '' + runHook preBuild + maturin build --release --manylinux off --strip + runHook postBuild + ''; + + # There are no rust tests + doCheck = false; + pythonImportsCheck = [ "adblock" ]; + + installPhase = '' + runHook preInstall + install -Dm644 -t dist target/wheels/*.whl + pipInstallPhase + runHook postInstall + ''; + + passthru.meta = with lib; { + description = "Python wrapper for Brave's adblocking library, which is written in Rust"; + homepage = "https://github.com/ArniDagur/python-adblock/"; + maintainers = with maintainers; [ petabyteboy ]; + license = with licenses; [ asl20 mit ]; + platforms = with platforms; [ all ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index f600b22ff0a..51e66edc5b4 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -167,6 +167,10 @@ in { adb-shell = callPackage ../development/python-modules/adb-shell { }; + adblock = callPackage ../development/python-modules/adblock { + inherit (pkgs.darwin.apple_sdk.frameworks) CoreFoundation Security; + }; + addic7ed-cli = callPackage ../development/python-modules/addic7ed-cli { }; adguardhome= callPackage ../development/python-modules/adguardhome { }; From b13e8fefccf72cc39f895ad673d88b355ee8a53f Mon Sep 17 00:00:00 2001 From: Raimon Grau Date: Mon, 4 Jan 2021 14:17:32 +0000 Subject: [PATCH 30/38] metabase: 0.37.3 -> 0.37.4 --- pkgs/servers/metabase/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/metabase/default.nix b/pkgs/servers/metabase/default.nix index 8e16a59452e..25702df7b38 100644 --- a/pkgs/servers/metabase/default.nix +++ b/pkgs/servers/metabase/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "metabase"; - version = "0.37.3"; + version = "0.37.4"; src = fetchurl { - url = "http://downloads.metabase.com/v${version}/metabase.jar"; - sha256 = "0ka0k0ficvw8srpaa89l0jdzpl4n7hjwz18r41kw1hzk2ydd3p5c"; + url = "https://downloads.metabase.com/v${version}/metabase.jar"; + sha256 = "0l781b7mc33kkp4ic57ylghxw671b4ldv6b0wgphmrrwmp0cd3vm"; }; nativeBuildInputs = [ makeWrapper ]; From 0f0d5c0c49d2352e9f12cb9dc9b1d0ad548643fe Mon Sep 17 00:00:00 2001 From: talyz Date: Mon, 4 Jan 2021 16:03:29 +0100 Subject: [PATCH 31/38] profiles/hardened: Add note about potential instability Enabling the profile can lead to hard-to-debug issues, which should be warned about in addition to the cost in features and performance. See https://github.com/NixOS/nixpkgs/issues/108262 for an example. --- nixos/doc/manual/configuration/profiles/hardened.xml | 10 +++++++++- nixos/modules/profiles/hardened.nix | 7 ++++++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/nixos/doc/manual/configuration/profiles/hardened.xml b/nixos/doc/manual/configuration/profiles/hardened.xml index dc83fc837e2..4a51754cc7a 100644 --- a/nixos/doc/manual/configuration/profiles/hardened.xml +++ b/nixos/doc/manual/configuration/profiles/hardened.xml @@ -7,7 +7,7 @@ A profile with most (vanilla) hardening options enabled by default, - potentially at the cost of features and performance. + potentially at the cost of stability, features and performance. @@ -21,4 +21,12 @@ xlink:href="https://github.com/nixos/nixpkgs/tree/master/nixos/modules/profiles/hardened.nix"> profile source for further detail on which settings are altered. + + + This profile enables options that are known to affect system + stability. If you experience any stability issues when using the + profile, try disabling it. If you report an issue and use this + profile, always mention that you do. + + diff --git a/nixos/modules/profiles/hardened.nix b/nixos/modules/profiles/hardened.nix index 42ed62b0630..680fa40b911 100644 --- a/nixos/modules/profiles/hardened.nix +++ b/nixos/modules/profiles/hardened.nix @@ -1,5 +1,10 @@ # A profile with most (vanilla) hardening options enabled by default, -# potentially at the cost of features and performance. +# potentially at the cost of stability, features and performance. +# +# This profile enables options that are known to affect system +# stability. If you experience any stability issues when using the +# profile, try disabling it. If you report an issue and use this +# profile, always mention that you do. { config, lib, pkgs, ... }: From 58c7d3ff17a6e39110702acd69b81f12fab4c029 Mon Sep 17 00:00:00 2001 From: Andreas Rammhold Date: Mon, 4 Jan 2021 17:35:06 +0100 Subject: [PATCH 32/38] dovecot: 2.3.11.3 -> 2.3.13 This fixes CVE_2020-24386, CVE-2020-25725 and a bunch of regular bugs [1]. * CVE-2020-24386: Specially crafted command can cause IMAP hibernate to allow logged in user to access other people's emails and filesystem information. * CVE-2020-25275: Mail delivery / parsing crashed when the 10 000th MIME part was message/rfc822 (or if parent was multipart/digest). This happened due to earlier MIME parsing changes for CVE-2020-12100. [1] https://raw.githubusercontent.com/dovecot/core/2.3.13/NEWS --- pkgs/servers/mail/dovecot/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/mail/dovecot/default.nix b/pkgs/servers/mail/dovecot/default.nix index 1a11e065d93..3e566f8aa5f 100644 --- a/pkgs/servers/mail/dovecot/default.nix +++ b/pkgs/servers/mail/dovecot/default.nix @@ -10,7 +10,7 @@ stdenv.mkDerivation rec { pname = "dovecot"; - version = "2.3.11.3"; + version = "2.3.13"; nativeBuildInputs = [ perl pkgconfig ]; buildInputs = @@ -22,7 +22,7 @@ stdenv.mkDerivation rec { src = fetchurl { url = "https://dovecot.org/releases/2.3/${pname}-${version}.tar.gz"; - sha256 = "1p5gp8jbavcsaara5mfn5cbrnlxssajnchczbgmmfzr7228fmnfk"; + sha256 = "1i7ijss79a23v7b6lycfzaa8r5rh01k0h0b9h0j4a6n11sw7by53"; }; enableParallelBuilding = true; From 4fee20e267be4f5758401c98098a20f1c146530d Mon Sep 17 00:00:00 2001 From: Andreas Rammhold Date: Mon, 4 Jan 2021 17:45:28 +0100 Subject: [PATCH 33/38] dovecot: add the dovecot NixOS test to passthru.tests While we already had some test we might as well add the test for that exact package to the tests attribute set. After all that should be what (primarily) tests dovecot. --- pkgs/servers/mail/dovecot/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/servers/mail/dovecot/default.nix b/pkgs/servers/mail/dovecot/default.nix index 3e566f8aa5f..8d39c01478f 100644 --- a/pkgs/servers/mail/dovecot/default.nix +++ b/pkgs/servers/mail/dovecot/default.nix @@ -89,5 +89,6 @@ stdenv.mkDerivation rec { }; passthru.tests = { opensmtpd-interaction = nixosTests.opensmtpd; + inherit (nixosTests) dovecot; }; } From bedb3528b6509af96d029cc4b08584800cb93ef1 Mon Sep 17 00:00:00 2001 From: Andreas Rammhold Date: Mon, 4 Jan 2021 17:59:57 +0100 Subject: [PATCH 34/38] dovecot_pigeonhole: 0.5.11 -> 0.5.13 This updates to the latest version. According to the changelog 0.5.12 was skipped. The changes in this release are required to be compatible with the latest dovecot release. Changes: - duplicate: The test was handled badly in a multiscript (sieve_before, sieve_after) scenario in which an earlier script in the sequence with a duplicate test succeeded, while a later script caused a runtime failure. In that case, the message is recorded for duplicate tracking, while the message may not actually have been delivered in the end. - editheader: Sieve interpreter entered infinite loop at startup when the "editheader" configuration listed an invalid header name. This problem can only be triggered by the administrator. - relational: The Sieve relational extension can cause a segfault at compile time. This is triggered by invalid script syntax. The segfault happens when this match type is the last argument of the test command. This situation is not possible in a valid script; positional arguments are normally present after that, which would prevent the segfault. - sieve: For some Sieve commands the provided mailbox name is not properly checked for UTF-8 validity, which can cause assert crashes at runtime when an invalid mailbox name is encountered. This can be caused by the user by writing a bad Sieve script involving the affected commands ("mailboxexists", "specialuse_exists"). This can be triggered by the remote sender only when the user has written a Sieve script that passes message content to one of the affected commands. - sieve: Large sequences of 8-bit octets passed to certain Sieve commands that create or modify message headers that allow UTF-8 text (vacation, notify and addheader) can cause the delivery or IMAP process (when IMAPSieve is used) to enter a memory-consuming semi-infinite loop that ends when the process exceeds its memory limits. Logged in users can cause these hangs only for their own processes. --- pkgs/servers/mail/dovecot/plugins/pigeonhole/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/mail/dovecot/plugins/pigeonhole/default.nix b/pkgs/servers/mail/dovecot/plugins/pigeonhole/default.nix index 5c01453cb27..a65bc28ec40 100644 --- a/pkgs/servers/mail/dovecot/plugins/pigeonhole/default.nix +++ b/pkgs/servers/mail/dovecot/plugins/pigeonhole/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "dovecot-pigeonhole"; - version = "0.5.11"; + version = "0.5.13"; src = fetchurl { url = "https://pigeonhole.dovecot.org/releases/2.3/dovecot-2.3-pigeonhole-${version}.tar.gz"; - sha256 = "1w5mryv6izh1gv7davnl94rb0pvh5bxl2bydzbfla1b83x22m5qb"; + sha256 = "05xz2d82ck6lmv94nbc3qff09j8b60a5640i3fmqwqsvv9kfa7wi"; }; buildInputs = [ dovecot openssl ]; From 1a57d96edd156958b12782e8c8b6a374142a7248 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Mon, 4 Jan 2021 17:50:29 +0100 Subject: [PATCH 35/38] efivar: fixup build on i686-linux Fixes #108375. (I built the ISO locally) I believe the report is a false positive. --- pkgs/tools/system/efivar/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/system/efivar/default.nix b/pkgs/tools/system/efivar/default.nix index ea0ed8afcfd..afff716c249 100644 --- a/pkgs/tools/system/efivar/default.nix +++ b/pkgs/tools/system/efivar/default.nix @@ -39,8 +39,9 @@ stdenv.mkDerivation rec { sha256 = "1ajj11wwsvamfspq4naanvw08h63gr0g71q0dfbrrywrhc0jlmdw"; }) ]; - # We have no LTO here since commit 22284b07. + # We have no LTO here since commit 22284b07. With GCC 10 that triggers a warning. postPatch = if stdenv.isi686 then "sed '/^OPTIMIZE /s/-flto//' -i Make.defaults" else null; + NIX_CFLAGS_COMPILE = if stdenv.isi686 then "-Wno-error=stringop-truncation" else null; nativeBuildInputs = [ pkgconfig ]; buildInputs = [ popt ]; From 653f805f098de519f0204e1eed00b26e80d03ce2 Mon Sep 17 00:00:00 2001 From: Andreas Rammhold Date: Mon, 4 Jan 2021 18:01:09 +0100 Subject: [PATCH 36/38] nixos/tests/dovecot: enable dovecot_pigeonhole plugin This plugin is used commonly enough that we should ensure it still builds (and dovecot works) after loading it. This is not yet perfect as we aren't testing any of it's functionality but at least we ensure that dovecot continues to do the regular job. --- nixos/tests/dovecot.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/nixos/tests/dovecot.nix b/nixos/tests/dovecot.nix index bcbe234fd80..1129e3b45d9 100644 --- a/nixos/tests/dovecot.nix +++ b/nixos/tests/dovecot.nix @@ -4,8 +4,11 @@ import ./make-test-python.nix { machine = { pkgs, ... }: { imports = [ common/user-account.nix ]; services.postfix.enable = true; - services.dovecot2.enable = true; - services.dovecot2.protocols = [ "imap" "pop3" ]; + services.dovecot2 = { + enable = true; + protocols = [ "imap" "pop3" ]; + modules = [ pkgs.dovecot_pigeonhole ]; + }; environment.systemPackages = let sendTestMail = pkgs.writeScriptBin "send-testmail" '' #!${pkgs.runtimeShell} From 5a92a9ce32819700a4ebf91ddc741a96be8e4a94 Mon Sep 17 00:00:00 2001 From: ilmari-lauhakangas Date: Mon, 4 Jan 2021 19:52:55 +0200 Subject: [PATCH 37/38] subtitleeditor: add more gst-plugins (#106076) --- pkgs/applications/video/subtitleeditor/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/video/subtitleeditor/default.nix b/pkgs/applications/video/subtitleeditor/default.nix index 29e2de6b6c0..eea6353d66c 100644 --- a/pkgs/applications/video/subtitleeditor/default.nix +++ b/pkgs/applications/video/subtitleeditor/default.nix @@ -35,6 +35,9 @@ stdenv.mkDerivation { gst_all_1.gstreamermm gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good + gst_all_1.gst-plugins-bad + gst_all_1.gst-plugins-ugly + gst_all_1.gst-libav hicolor-icon-theme libsigcxx libxmlxx From 9af686703d6513a5b0ab01f52516d149f686267d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Mon, 4 Jan 2021 19:12:33 +0100 Subject: [PATCH 38/38] powerdns: patch build with gcc 10 --- pkgs/servers/dns/powerdns/default.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkgs/servers/dns/powerdns/default.nix b/pkgs/servers/dns/powerdns/default.nix index 0f9f91ebf86..5dbc387868c 100644 --- a/pkgs/servers/dns/powerdns/default.nix +++ b/pkgs/servers/dns/powerdns/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, pkgconfig, nixosTests +{ stdenv, fetchurl, fetchpatch, pkgconfig, nixosTests , boost, libyamlcpp, libsodium, sqlite, protobuf, openssl, systemd , mysql57, postgresql, lua, openldap, geoip, curl, unixODBC }: @@ -12,6 +12,14 @@ stdenv.mkDerivation rec { sha256 = "0if27znz528sir52y9i4gcfhdsym7yxiwjgffy9lpscf1426q56m"; }; + patches = [ + (fetchpatch { # remove for >= 4.4.0 + name = "gcc-10_undefined-reference.diff"; + url = "https://github.com/PowerDNS/pdns/commit/05c9dd77b28.diff"; + sha256 = "1m9szbi02h9kcabgw3kb8k9qrb54d34z0qzizrlfiw3hxs6c2zql"; + }) + ]; + nativeBuildInputs = [ pkgconfig ]; buildInputs = [ boost mysql57.connector-c postgresql lua openldap sqlite protobuf geoip