From 3d45f134ee89affdb1cfe393d11aab034c5dbd50 Mon Sep 17 00:00:00 2001 From: OPNA2608 Date: Sat, 2 Oct 2021 19:59:38 +0200 Subject: [PATCH 01/36] gkraken: init at 1.1.6 --- pkgs/tools/system/gkraken/default.nix | 86 +++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 88 insertions(+) create mode 100644 pkgs/tools/system/gkraken/default.nix diff --git a/pkgs/tools/system/gkraken/default.nix b/pkgs/tools/system/gkraken/default.nix new file mode 100644 index 000000000000..9cd30e83c325 --- /dev/null +++ b/pkgs/tools/system/gkraken/default.nix @@ -0,0 +1,86 @@ +{ python3Packages +, lib +, fetchFromGitLab +, meson +, pkg-config +, glib +, ninja +, desktop-file-utils +, gobject-introspection +, gtk3 +, libnotify +, dbus +, wrapGAppsHook +}: + +python3Packages.buildPythonApplication rec { + pname = "gkraken"; + version = "1.1.6"; + + src = fetchFromGitLab { + owner = "leinardi"; + repo = "gkraken"; + rev = version; + sha256 = "085zz6m7c3xzsrvkw50gbbz8l9fmswxj2hjya2f52dvgs8daijdy"; + }; + + format = "other"; + + postPatch = '' + patchShebangs scripts/meson_post_install.py + ''; + + nativeBuildInputs = [ + meson + pkg-config + glib + ninja + gtk3 + desktop-file-utils + wrapGAppsHook + ]; + + buildInputs = [ + gobject-introspection + glib + gtk3 + libnotify + dbus + ]; + + propagatedBuildInputs = with python3Packages; [ + pygobject3 + peewee + rx + injector + liquidctl + pyxdg + requests + matplotlib + dbus-python + ]; + + dontWrapGApps = true; + + # Extract udev rules from python code + postInstall = '' + mkdir -p $out/lib/udev/rules.d + sed -e '/\s*\(from\|@singleton\|@inject\)/d' $src/gkraken/interactor/udev_interactor.py > udev_interactor.py + python -c 'from udev_interactor import _UDEV_RULE; print(_UDEV_RULE)' > $out/lib/udev/rules.d/60-gkraken.rules + ''; + + preFixup = '' + makeWrapperArgs+=( + "''${gappsWrapperArgs[@]}" + ) + ''; + + meta = with lib; { + description = "GUI that allows to control the cooling (fan and/or pump profiles) of NZXT Kraken AIO liquid coolers from Linux"; + homepage = "https://gitlab.com/leinardi/gkraken"; + changelog = "https://gitlab.com/leinardi/gkraken/-/tags/${version}"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ OPNA2608 ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 7fbbf150eee8..0051555c3e46 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5853,6 +5853,8 @@ with pkgs; gbenchmark = callPackage ../development/libraries/gbenchmark {}; + gkraken = callPackage ../tools/system/gkraken { }; + gtkdatabox = callPackage ../development/libraries/gtkdatabox {}; gtklick = callPackage ../applications/audio/gtklick {}; From bfd58f3cf3836274832d6c933d59911b1ab75a8f Mon Sep 17 00:00:00 2001 From: OPNA2608 Date: Sun, 3 Oct 2021 11:13:19 +0200 Subject: [PATCH 02/36] nixos/gkraken: init --- nixos/modules/hardware/gkraken.nix | 18 ++++++++++++++++++ nixos/modules/module-list.nix | 1 + 2 files changed, 19 insertions(+) create mode 100644 nixos/modules/hardware/gkraken.nix diff --git a/nixos/modules/hardware/gkraken.nix b/nixos/modules/hardware/gkraken.nix new file mode 100644 index 000000000000..97d15369db0a --- /dev/null +++ b/nixos/modules/hardware/gkraken.nix @@ -0,0 +1,18 @@ +{ config, lib, pkgs, ... }: + +with lib; + +let + cfg = config.hardware.gkraken; +in +{ + options.hardware.gkraken = { + enable = mkEnableOption "gkraken's udev rules for NZXT AIO liquid coolers"; + }; + + config = mkIf cfg.enable { + services.udev.packages = with pkgs; [ + gkraken + ]; + }; +} diff --git a/nixos/modules/module-list.nix b/nixos/modules/module-list.nix index bff7b83ea711..f5a6def4af95 100644 --- a/nixos/modules/module-list.nix +++ b/nixos/modules/module-list.nix @@ -48,6 +48,7 @@ ./hardware/corectrl.nix ./hardware/digitalbitbox.nix ./hardware/device-tree.nix + ./hardware/gkraken.nix ./hardware/i2c.nix ./hardware/sensor/hddtemp.nix ./hardware/sensor/iio.nix From 2ceae2db61f6b60e56c3ee54ba38ff43f10574a6 Mon Sep 17 00:00:00 2001 From: Bruno Bigras Date: Tue, 12 Oct 2021 16:26:39 -0400 Subject: [PATCH 03/36] nixos/nginx: disable MemoryDenyWriteExecute for pkgs.openresty fix #140655 Co-authored-by: Yurii Izorkin --- nixos/modules/services/web-servers/nginx/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/web-servers/nginx/default.nix b/nixos/modules/services/web-servers/nginx/default.nix index d5486be65ee7..be589e42ddd6 100644 --- a/nixos/modules/services/web-servers/nginx/default.nix +++ b/nixos/modules/services/web-servers/nginx/default.nix @@ -889,7 +889,7 @@ in RestrictAddressFamilies = [ "AF_UNIX" "AF_INET" "AF_INET6" ]; RestrictNamespaces = true; LockPersonality = true; - MemoryDenyWriteExecute = !(builtins.any (mod: (mod.allowMemoryWriteExecute or false)) cfg.package.modules); + MemoryDenyWriteExecute = !((builtins.any (mod: (mod.allowMemoryWriteExecute or false)) cfg.package.modules) || (cfg.package == pkgs.openresty)); RestrictRealtime = true; RestrictSUIDSGID = true; RemoveIPC = true; From feb47656e4d36a355b4f889e6f9c4c14a8f255c4 Mon Sep 17 00:00:00 2001 From: Bruno Bigras Date: Wed, 6 Oct 2021 23:36:02 -0400 Subject: [PATCH 04/36] nixos/tests/openresty-lua: test openresty with lua related to #140655 --- nixos/tests/all-tests.nix | 1 + nixos/tests/openresty-lua.nix | 55 +++++++++++++++++++++++++ pkgs/servers/http/nginx/generic.nix | 3 +- pkgs/servers/http/openresty/default.nix | 5 +++ 4 files changed, 63 insertions(+), 1 deletion(-) create mode 100644 nixos/tests/openresty-lua.nix diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix index a6eb2c032588..0f0245484898 100644 --- a/nixos/tests/all-tests.nix +++ b/nixos/tests/all-tests.nix @@ -322,6 +322,7 @@ in ombi = handleTest ./ombi.nix {}; openarena = handleTest ./openarena.nix {}; openldap = handleTest ./openldap.nix {}; + openresty-lua = handleTest ./openresty-lua.nix {}; opensmtpd = handleTest ./opensmtpd.nix {}; opensmtpd-rspamd = handleTest ./opensmtpd-rspamd.nix {}; openssh = handleTest ./openssh.nix {}; diff --git a/nixos/tests/openresty-lua.nix b/nixos/tests/openresty-lua.nix new file mode 100644 index 000000000000..b177b3c194d7 --- /dev/null +++ b/nixos/tests/openresty-lua.nix @@ -0,0 +1,55 @@ +import ./make-test-python.nix ({ pkgs, lib, ... }: + let + lualibs = [ + pkgs.lua.pkgs.markdown + ]; + + getPath = lib: type: "${lib}/share/lua/${pkgs.lua.luaversion}/?.${type}"; + getLuaPath = lib: getPath lib "lua"; + luaPath = lib.concatStringsSep ";" (map getLuaPath lualibs); + in + { + name = "openresty-lua"; + meta = with pkgs.lib.maintainers; { + maintainers = [ bbigras ]; + }; + + nodes = { + webserver = { pkgs, lib, ... }: { + services.nginx = { + enable = true; + package = pkgs.openresty; + + commonHttpConfig = '' + lua_package_path '${luaPath};;'; + ''; + + virtualHosts."default" = { + default = true; + locations."/" = { + extraConfig = '' + default_type text/html; + access_by_lua ' + local markdown = require "markdown" + markdown("source") + '; + ''; + }; + }; + }; + }; + }; + + testScript = { nodes, ... }: + '' + url = "http://localhost" + + webserver.wait_for_unit("nginx") + webserver.wait_for_open_port(80) + + http_code = webserver.succeed( + f"curl -w '%{{http_code}}' --head --fail {url}" + ) + assert http_code.split("\n")[-1] == "200" + ''; + }) diff --git a/pkgs/servers/http/nginx/generic.nix b/pkgs/servers/http/nginx/generic.nix index ecbf8071d611..7465589d636e 100644 --- a/pkgs/servers/http/nginx/generic.nix +++ b/pkgs/servers/http/nginx/generic.nix @@ -21,6 +21,7 @@ , preConfigure ? "" , postInstall ? null , meta ? null +, passthru ? { tests = {}; } }: with lib; @@ -146,7 +147,7 @@ stdenv.mkDerivation { inherit (nixosTests) nginx nginx-auth nginx-etag nginx-pubhtml nginx-sandbox nginx-sso; variants = lib.recurseIntoAttrs nixosTests.nginx-variants; acme-integration = nixosTests.acme; - }; + } // passthru.tests; }; meta = if meta != null then meta else { diff --git a/pkgs/servers/http/openresty/default.nix b/pkgs/servers/http/openresty/default.nix index 3c30b2c3ed0a..5c852de5b64a 100644 --- a/pkgs/servers/http/openresty/default.nix +++ b/pkgs/servers/http/openresty/default.nix @@ -3,6 +3,7 @@ , lib , fetchurl , postgresql +, nixosTests , ... }@args: @@ -42,6 +43,10 @@ callPackage ../nginx/generic.nix args rec { ln -s $out/nginx/html $out/html ''; + passthru.tests = { + inherit (nixosTests) openresty-lua; + }; + meta = { description = "A fast web application server built on Nginx"; homepage = "https://openresty.org"; From ad59805c550dc12d3cc2460a5589c6e211bf4a71 Mon Sep 17 00:00:00 2001 From: Tomas Antonio Lopez Date: Mon, 18 Oct 2021 14:51:18 +0900 Subject: [PATCH 05/36] jquake: 1.6.1 -> 1.6.2 --- pkgs/applications/misc/jquake/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/jquake/default.nix b/pkgs/applications/misc/jquake/default.nix index 2a3f1aec4136..5a5aa4011fda 100644 --- a/pkgs/applications/misc/jquake/default.nix +++ b/pkgs/applications/misc/jquake/default.nix @@ -4,11 +4,11 @@ stdenv.mkDerivation rec { pname = "jquake"; - version = "1.6.1"; + version = "1.6.2"; src = fetchurl { url = "https://fleneindre.github.io/downloads/JQuake_${version}_linux.zip"; - sha256 = "0nw6xjc3i1b8rk15arc5d0ji2bycc40rz044qd03vzxvh0h8yvgl"; + sha256 = "1k12yw9fwq1z3gg0d38dxs4mmyn912zfcm6zsbjkv27q6lvhvwng"; }; nativeBuildInputs = [ unzip copyDesktopItems ]; From 4b1f166fbfac5622b88ccbe546f0ea2117832929 Mon Sep 17 00:00:00 2001 From: John Rinehart Date: Sat, 23 Oct 2021 14:24:22 +0300 Subject: [PATCH 06/36] postman: 9.0.5 -> 9.1.1 --- pkgs/development/web/postman/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/web/postman/default.nix b/pkgs/development/web/postman/default.nix index 0ec3754bffdc..16f268297999 100644 --- a/pkgs/development/web/postman/default.nix +++ b/pkgs/development/web/postman/default.nix @@ -7,11 +7,11 @@ stdenv.mkDerivation rec { pname = "postman"; - version = "9.0.5"; + version = "9.1.1"; src = fetchurl { url = "https://dl.pstmn.io/download/version/${version}/linux64"; - sha256 = "1z28v5vrjld99ydai66k8hw01x54647324ax459bvblw989lzp7v"; + sha256 = "QqlA/8fEOwucs+nU6ahDh3GB64PdhY8JFWPiyEBxGsE="; name = "${pname}.tar.gz"; }; From ad57da7e1e41d27fb63d1108d86ebed48781ad1f Mon Sep 17 00:00:00 2001 From: Philipp Date: Sat, 23 Oct 2021 23:52:28 +0200 Subject: [PATCH 07/36] wine{Unstable,Staging}: 6.19 -> 6.20 --- pkgs/misc/emulators/wine/sources.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/misc/emulators/wine/sources.nix b/pkgs/misc/emulators/wine/sources.nix index 7b87c4acbff0..3c7d5c29770f 100644 --- a/pkgs/misc/emulators/wine/sources.nix +++ b/pkgs/misc/emulators/wine/sources.nix @@ -44,9 +44,9 @@ in rec { unstable = fetchurl rec { # NOTE: Don't forget to change the SHA256 for staging as well. - version = "6.19"; + version = "6.20"; url = "https://dl.winehq.org/wine/source/6.x/wine-${version}.tar.xz"; - sha256 = "sha256-QYLi2WJ3BMw3b0b8MQlYDqkHd5b0T17oPgjj6Wvwq2Y="; + sha256 = "0wc4a8slb3k859sdw9wwy92zc4pq7xw1kbq4frnxbzbvkiz26a20"; inherit (stable) gecko32 gecko64; ## see http://wiki.winehq.org/Mono @@ -65,7 +65,7 @@ in rec { staging = fetchFromGitHub rec { # https://github.com/wine-staging/wine-staging/releases inherit (unstable) version; - sha256 = "sha256-1Ng+kFFnqEndlCvI0eG1YmyqPdcolD3cVJ2KU5GU7Z4="; + sha256 = "12fvfn77rsqwdprkxiylq09jc81lq34bm8p1zhhn85q6yawpjlbn"; owner = "wine-staging"; repo = "wine-staging"; rev = "v${version}"; From 23960334d7e3635908345cb407c62c680aeb0bd1 Mon Sep 17 00:00:00 2001 From: Ivan Petkov Date: Sat, 23 Oct 2021 17:57:18 -0700 Subject: [PATCH 08/36] taskwarrior: 2.6.0 -> 2.6.1 --- pkgs/applications/misc/taskwarrior/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/taskwarrior/default.nix b/pkgs/applications/misc/taskwarrior/default.nix index b229a56a8ca0..8290a868ef07 100644 --- a/pkgs/applications/misc/taskwarrior/default.nix +++ b/pkgs/applications/misc/taskwarrior/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "taskwarrior"; - version = "2.6.0"; + version = "2.6.1"; src = fetchFromGitHub { owner = "GothenburgBitFactory"; repo = "taskwarrior"; rev = "v${version}"; - sha256 = "sha256-2wVjRecfIlNFAxXFaiKfxy9zArDIYDTfDdrnSM7H8fM="; + sha256 = "sha256-jMZzo2cegoapEHTvfD6ThU1IsXru3iOcpyDbZxkSXzQ="; fetchSubmodules = true; }; From 713a69a199c62a14dec2e86df1619282065247db Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Sat, 23 Oct 2021 17:49:10 -0300 Subject: [PATCH 09/36] treewide: rename perlPackages.libintl_perl -> perlPackages.libintl-perl The other package managers call this package libintl-perl, and it is also the original name. --- pkgs/development/libraries/libguestfs/default.nix | 2 +- pkgs/servers/mail/sympa/default.nix | 2 +- pkgs/servers/openxpki/default.nix | 2 +- pkgs/tools/misc/fntsample/default.nix | 2 +- pkgs/top-level/perl-packages.nix | 9 +++++---- 5 files changed, 9 insertions(+), 8 deletions(-) diff --git a/pkgs/development/libraries/libguestfs/default.nix b/pkgs/development/libraries/libguestfs/default.nix index ebb431ae199a..1ad302e439f8 100644 --- a/pkgs/development/libraries/libguestfs/default.nix +++ b/pkgs/development/libraries/libguestfs/default.nix @@ -22,7 +22,7 @@ stdenv.mkDerivation rec { strictDeps = true; nativeBuildInputs = [ autoreconfHook bison cdrkit cpio flex getopt gperf makeWrapper pkg-config qemu - ] ++ (with perlPackages; [ perl libintl_perl GetoptLong SysVirt ]) + ] ++ (with perlPackages; [ perl libintl-perl GetoptLong SysVirt ]) ++ (with ocamlPackages; [ ocaml findlib ]); buildInputs = [ ncurses jansson diff --git a/pkgs/servers/mail/sympa/default.nix b/pkgs/servers/mail/sympa/default.nix index 5272b389b2b3..8387f2eb9cf6 100644 --- a/pkgs/servers/mail/sympa/default.nix +++ b/pkgs/servers/mail/sympa/default.nix @@ -24,7 +24,7 @@ let IO IOStringy LWP - libintl_perl + libintl-perl MHonArc MIMECharset diff --git a/pkgs/servers/openxpki/default.nix b/pkgs/servers/openxpki/default.nix index bdf12a1f923c..1477e07ee441 100644 --- a/pkgs/servers/openxpki/default.nix +++ b/pkgs/servers/openxpki/default.nix @@ -15,7 +15,7 @@ perlPackages.buildPerlPackage { buildInputs = [ perl openssl gettext python3Packages.sphinx ]; propagatedBuildInputs = with perlPackages; [ # dependencies from Makefile.PL - libintl_perl ConfigVersioned LWP ClassAccessorChained IOSocketSSL ClassStd + libintl-perl ConfigVersioned LWP ClassAccessorChained IOSocketSSL ClassStd CGISession ConfigStd ConfigMerge Connector CryptCBC CryptOpenSSLAES CryptPKCS10 DBDMock DataPassword DataSerializer DateTimeFormatDateParse IOPrompt IPCShareLite JSON LogLog4perl LWPProtocolConnect LWPProtocolHttps MailRFC822Address diff --git a/pkgs/tools/misc/fntsample/default.nix b/pkgs/tools/misc/fntsample/default.nix index 4f67d564e452..a124d0808415 100644 --- a/pkgs/tools/misc/fntsample/default.nix +++ b/pkgs/tools/misc/fntsample/default.nix @@ -61,7 +61,7 @@ stdenv.mkDerivation rec { ExporterTiny ListMoreUtils PDFAPI2 - libintl_perl + libintl-perl ]; in '' for cmd in pdfoutline pdf-extract-outline; do diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index 96203b0be038..2cc19753271a 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -852,7 +852,7 @@ let sha256 = "ee146cd75d6300837e6ca559bb0bde247d42123c96b2c5d4b2800f38d3e3d1ab"; }; buildInputs = [ CaptureTiny TestDeep TestDir TestException TestFile TestFileContents TestMockModule TestMockObject TestNoWarnings TestWarn ]; - propagatedBuildInputs = [ Clone ConfigGitLike DBI DateTime EncodeLocale HashMerge IOPager IPCRun3 IPCSystemSimple ListMoreUtils PathClass PerlIOutf8_strict PodParser StringFormatter StringShellQuote TemplateTiny Throwable TypeTiny URIdb libintl_perl ]; + propagatedBuildInputs = [ Clone ConfigGitLike DBI DateTime EncodeLocale HashMerge IOPager IPCRun3 IPCSystemSimple ListMoreUtils PathClass PerlIOutf8_strict PodParser StringFormatter StringShellQuote TemplateTiny Throwable TypeTiny URIdb libintl-perl ]; doCheck = false; # Can't find home directory. meta = { homepage = "https://sqitch.org/"; @@ -11760,7 +11760,7 @@ let }; }; - libintl_perl = buildPerlPackage { + libintl-perl = buildPerlPackage { pname = "libintl-perl"; version = "1.32"; src = fetchurl { @@ -18612,7 +18612,7 @@ let url = "mirror://cpan/authors/id/K/KR/KRYDE/podlinkcheck-15.tar.gz"; sha256 = "4e3bebec1bf82dbf850a94ae26a253644cf5806ec41afc74e43e1710a37321db"; }; - propagatedBuildInputs = [ FileFindIterator FileHomeDir IPCRun PodParser constant-defer libintl_perl ]; + propagatedBuildInputs = [ FileFindIterator FileHomeDir IPCRun PodParser constant-defer libintl-perl ]; meta = { homepage = "http://user42.tuxfamily.org/podlinkcheck/index.html"; description = "Check POD L<> link references"; @@ -25222,7 +25222,8 @@ let EmailMIMEModifier = self.EmailMIME; ExtUtilsCommand = self.ExtUtilsMakeMaker; IOstringy = self.IOStringy; - libintlperl = self.libintl_perl; + libintl_perl = self.libintl-perl; + libintlperl = self.libintl-perl; LWPProtocolconnect = self.LWPProtocolConnect; LWPProtocolhttps = self.LWPProtocolHttps; LWPUserAgent = self.LWP; From 4a225de252a81ab6fba0e4462ea3a86111f6b0c2 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Sun, 24 Oct 2021 11:25:29 +0530 Subject: [PATCH 10/36] fclones: 0.16.1 -> 0.17.0 --- pkgs/tools/misc/fclones/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/fclones/default.nix b/pkgs/tools/misc/fclones/default.nix index 7e993c35c46e..52ff0cc9021c 100644 --- a/pkgs/tools/misc/fclones/default.nix +++ b/pkgs/tools/misc/fclones/default.nix @@ -8,16 +8,16 @@ rustPlatform.buildRustPackage rec { pname = "fclones"; - version = "0.16.1"; + version = "0.17.0"; src = fetchFromGitHub { owner = "pkolaczk"; repo = pname; rev = "v${version}"; - sha256 = "sha256-7rwiqjjXB1+R+/kauGjiJOX/UtMmQW3U3xGL/rsSiQ0="; + sha256 = "sha256-JygW1Ri9BA4Qssu6MlQCCjnAok9OD2pcGdavOyHxbIo="; }; - cargoSha256 = "sha256-g4z+05jiVaH3KCPVwJmvQbi0OCYtuafyZyVZDRRyPRA="; + cargoSha256 = "sha256-sDHsj0qxKW5JJCI9H0WytgugtEmLaLU2EIgCcXdfQH0="; buildInputs = lib.optionals stdenv.isDarwin [ AppKit From df6e8bbd4241385da76d9dc66f15b0da2ca7497f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 24 Oct 2021 09:41:39 +0200 Subject: [PATCH 11/36] python3Packages.venstarcolortouch: 0.14 -> 0.15 --- pkgs/development/python-modules/venstarcolortouch/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/venstarcolortouch/default.nix b/pkgs/development/python-modules/venstarcolortouch/default.nix index 85634d168498..f2ac0266ce19 100644 --- a/pkgs/development/python-modules/venstarcolortouch/default.nix +++ b/pkgs/development/python-modules/venstarcolortouch/default.nix @@ -6,11 +6,11 @@ buildPythonPackage rec { pname = "venstarcolortouch"; - version = "0.14"; + version = "0.15"; src = fetchPypi { inherit pname version; - sha256 = "sha256-wrsu1SffD4/RvDiE6yABfZN/oSDH8Ao/RJK7yL2QKy8="; + sha256 = "sha256-7JUqXHk/yL+/EvfQoGLaKmPPy4DkljT9olqK0a/Nmkk="; }; propagatedBuildInputs = [ From d49f61442e52fd2a077c29315d009948f5340683 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 24 Oct 2021 09:46:54 +0200 Subject: [PATCH 12/36] python3Packages.mypy-boto3-s3: 1.19.1 -> 1.19.2 --- pkgs/development/python-modules/mypy-boto3-s3/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/mypy-boto3-s3/default.nix b/pkgs/development/python-modules/mypy-boto3-s3/default.nix index df4c9b43a73a..64c4874fe480 100644 --- a/pkgs/development/python-modules/mypy-boto3-s3/default.nix +++ b/pkgs/development/python-modules/mypy-boto3-s3/default.nix @@ -8,13 +8,13 @@ buildPythonPackage rec { pname = "mypy-boto3-s3"; - version = "1.19.1"; + version = "1.19.2"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "sha256-Ov3JVCYa+3VU26VYtPYcqwSUMdDowSk8GWGt4PX/DKk="; + sha256 = "sha256-wRJ5pY3zrWDEAm30xvBfiMpCxQKHWgcEemNiQ+v0+9o="; }; propagatedBuildInputs = [ From b3157a9ea5c52d79c01d1ae02f839141b17f4689 Mon Sep 17 00:00:00 2001 From: Ashish SHUKLA Date: Sun, 24 Oct 2021 13:21:59 +0530 Subject: [PATCH 13/36] notmuch: 0.33.2 -> 0.34 --- pkgs/applications/networking/mailreaders/notmuch/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/mailreaders/notmuch/default.nix b/pkgs/applications/networking/mailreaders/notmuch/default.nix index 5e6dc6c6bb65..a618a696d0fe 100644 --- a/pkgs/applications/networking/mailreaders/notmuch/default.nix +++ b/pkgs/applications/networking/mailreaders/notmuch/default.nix @@ -11,11 +11,11 @@ stdenv.mkDerivation rec { pname = "notmuch"; - version = "0.33.2"; + version = "0.34"; src = fetchurl { url = "https://notmuchmail.org/releases/notmuch-${version}.tar.xz"; - hash = "sha256:1bic1f2va136aygfy53bsgziwiidcpb7qf1v05mlza2jmgv94j14"; + sha256 = "1dk16xa9q7adp1jaswxvw4p92f4h5mg0zkrh3zv8gqxn88amisc3"; }; nativeBuildInputs = [ From ddef047f0970805b6887eb83e78c3fc569962800 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 24 Oct 2021 10:08:30 +0200 Subject: [PATCH 14/36] python3Packages.bidict: 0.21.3 -> 0.21.4 --- pkgs/development/python-modules/bidict/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/bidict/default.nix b/pkgs/development/python-modules/bidict/default.nix index 8e32a0830035..4b5ebc912b24 100644 --- a/pkgs/development/python-modules/bidict/default.nix +++ b/pkgs/development/python-modules/bidict/default.nix @@ -13,13 +13,13 @@ buildPythonPackage rec { pname = "bidict"; - version = "0.21.3"; + version = "0.21.4"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "sha256-1QvYH65140GY/8lJeaDrCTn/mts+8yvMk6kT2LPj7R0="; + sha256 = "sha256-QshP++b43omK9gc7S+nqfM7c1400dKqETFTknVoHn28="; }; propagatedBuildInputs = [ From 350f01dc8a9d40bea30c938a090e136696df3b85 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 24 Oct 2021 11:24:16 +0200 Subject: [PATCH 15/36] python3Packages.aioymaps: 1.2.0 -> 1.2.1 --- pkgs/development/python-modules/aioymaps/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aioymaps/default.nix b/pkgs/development/python-modules/aioymaps/default.nix index 01765f6eedff..69aef58a1b8f 100644 --- a/pkgs/development/python-modules/aioymaps/default.nix +++ b/pkgs/development/python-modules/aioymaps/default.nix @@ -7,13 +7,13 @@ buildPythonPackage rec { pname = "aioymaps"; - version = "1.2.0"; + version = "1.2.1"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "sha256-YkSoxYf/Ti/gc1BFSYR24P3OzDrmcGWKhcOcrGpkRjU="; + sha256 = "sha256-8U8I2pqvvm87IW1hhR4CGyIWdM/jsRPRP6u2yYGXdBw="; }; propagatedBuildInputs = [ From b54d520ae51f198c6dab295f8e618b366de2e463 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sun, 24 Oct 2021 12:03:26 +0200 Subject: [PATCH 16/36] yuzu-{ea,mainline}: {1874,679} -> {2156,788} --- pkgs/misc/emulators/yuzu/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/misc/emulators/yuzu/default.nix b/pkgs/misc/emulators/yuzu/default.nix index 0e4fe692ae32..76a874d1c846 100644 --- a/pkgs/misc/emulators/yuzu/default.nix +++ b/pkgs/misc/emulators/yuzu/default.nix @@ -4,25 +4,25 @@ let in { mainline = libsForQt5.callPackage ./base.nix rec { pname = "yuzu-mainline"; - version = "679"; + version = "788"; branchName = branch; src = fetchFromGitHub { owner = "yuzu-emu"; repo = "yuzu-mainline"; rev = "mainline-0-${version}"; - sha256 = "1wkxkgfff5nn30mn2pqcrlsr7fja6bgaallsx1ainlcbamfyspcz"; + sha256 = "0vgj1jvbc1ylrzvbl7njdwpajhmp8l39i2k6hgh4az34ry4iaayy"; fetchSubmodules = true; }; }; early-access = libsForQt5.callPackage ./base.nix rec { pname = "yuzu-ea"; - version = "1874"; + version = "2156"; branchName = branch; src = fetchFromGitHub { owner = "pineappleEA"; repo = "pineapple-src"; rev = "EA-${version}"; - sha256 = "0ryrz7dl1sg30vvd7wrf05pjj8swah86055fn7qm6mr2bfslww0h"; + sha256 = "1x8x808x3i8jr9zghx01vakb6q6hkwnarawr9arxvqnd9x79j8ga"; }; }; }.${branch} From e869697963f0df2ca366e43ee6653facb6d153a0 Mon Sep 17 00:00:00 2001 From: Arijit Basu Date: Sun, 24 Oct 2021 12:06:07 +0530 Subject: [PATCH 17/36] xplr: 0.14.7 -> 0.15.2 --- pkgs/applications/misc/xplr/default.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/pkgs/applications/misc/xplr/default.nix b/pkgs/applications/misc/xplr/default.nix index 9ac39d722b56..856f48437f51 100644 --- a/pkgs/applications/misc/xplr/default.nix +++ b/pkgs/applications/misc/xplr/default.nix @@ -1,17 +1,19 @@ -{ lib, stdenv, rustPlatform, fetchCrate, libiconv }: +{ lib, stdenv, rustPlatform, fetchFromGitHub, libiconv }: rustPlatform.buildRustPackage rec { pname = "xplr"; - version = "0.14.7"; + version = "0.15.2"; - src = fetchCrate { - inherit pname version; - sha256 = "sha256-rGU9Jf+MHDs3pnuddqxLaWc8YqL+Ka7Rex+fTuU62sM="; + src = fetchFromGitHub { + owner = "sayanarijit"; + repo = pname; + rev = "v${version}"; + sha256 = "1znb6n9xbzbi9sif76xlwnqrzkh50g9yz6k36m0hm5iacd1fapab"; }; buildInputs = lib.optional stdenv.isDarwin libiconv; - cargoSha256 = "sha256-GwepsY7PcWjKZpJ7H4D9vtXwd2XGFgG1c+QvinMAG4Q="; + cargoSha256 = "0gbhkpha02ymr861av0fmyz6h007ajwkqcajq8hrnfzjk8rii47m"; meta = with lib; { description = "A hackable, minimal, fast TUI file explorer"; From e4fafc019a48703f6f2c8fb023c42071bd8e6264 Mon Sep 17 00:00:00 2001 From: Mrinal Purohit Date: Sun, 24 Oct 2021 17:39:21 +0530 Subject: [PATCH 18/36] cryptpad: 4.9.0 -> 4.11.0 --- .../web-apps/cryptpad/bower-packages.nix | 12 ++++---- .../cryptpad/node-packages-generated.nix | 28 +++++++++---------- .../web-apps/cryptpad/node-packages.json | 2 +- 3 files changed, 20 insertions(+), 22 deletions(-) diff --git a/pkgs/servers/web-apps/cryptpad/bower-packages.nix b/pkgs/servers/web-apps/cryptpad/bower-packages.nix index 83c707472931..c10623f3b00b 100644 --- a/pkgs/servers/web-apps/cryptpad/bower-packages.nix +++ b/pkgs/servers/web-apps/cryptpad/bower-packages.nix @@ -5,7 +5,7 @@ buildEnv { name = "bower-env"; ignoreCollisions = true; paths = [ (fetchbower "tweetnacl" "0.12.2" "0.12.2" "1lfzbfrdaly3zyzbcp1p53yhxlrx56k8x04q924kg7l52gblm65g") (fetchbower "components-font-awesome" "4.7.0" "^4.6.3" "1w27im6ayjrbgjqa0i49ml5d3wy4ld40h9b29hz9myv77bpx4lg1") (fetchbower "ckeditor" "4.14.0" "4.14.0" "0lw9q0k8c0jlxvf35vrccab9c3c8rgpc6x66czj9si8yy2lyliyp") - (fetchbower "codemirror" "5.61.1" "^5.19.0" "1abm1fcps86y2qm033wa96pd6ixf9w01vlhly5i51j0j94arnz4g") + (fetchbower "codemirror" "5.63.3" "^5.19.0" "09di53sfsgpd328fvz1qjlmybk5mmnb2p9r38xw329bi9b21rq0r") (fetchbower "requirejs" "2.3.5" "2.3.5" "05lyvgz914h2w08r24rk0vkk3yxmqrvlg7j3i5av9ffkg9lpzsli") (fetchbower "marked" "1.1.0" "1.1.0" "1sdgqw9iki9c1pfm4c5h6c956mchbip2jywjrcmrlb75k53flsjz") (fetchbower "rangy" "rangy-release#1.3.0" "rangy-release#~1.3.0" "13x3wci003p8jyv2ncir0k23bxckx99b3555r0zvgmlwycg7w0zv") @@ -13,19 +13,18 @@ buildEnv { name = "bower-env"; ignoreCollisions = true; paths = [ (fetchbower "secure-fabric.js" "secure-v1.7.9" "secure-v1.7.9" "1l56mk7hbnsm9cdg5zdcmg95p7a9w96dq0bbl8fp11vs0awjil7a") (fetchbower "hyperjson" "1.4.0" "~1.4.0" "1n68ls3x4lyhg1yy8i4q3xkgh5xqpyakf45sny4x91mkr68x4bd9") (fetchbower "chainpad-crypto" "0.2.6" "^0.2.0" "0h6ibv6gcym7mm080swdw4l6l159xjmxgqnahyxw3aydha5cj1z0") - (fetchbower "chainpad-listmap" "0.10.2" "^0.10.0" "03j3qws0icam4c0yqrz7f6maf1dxhlc56hc6csr2d9dx0wshd57s") + (fetchbower "chainpad-listmap" "1.0.0" "^1.0.0" "0qzqblw67y1p69xc9n734srfhjviwwb2jbqxgxs0rf4vdyspwvcb") (fetchbower "chainpad" "5.2.4" "^5.2.0" "1f4nap0r8w50qpmjdfhhjhpz5xcl0n4zaxxnav1qaxi5j6dyg8h6") (fetchbower "file-saver" "1.3.1" "1.3.1" "065nzkvdiicxnw06z1sjz1sbp9nyis8z839hv6ng1fk25dc5kvkg") (fetchbower "alertifyjs" "1.0.11" "1.0.11" "0v7323bzq90k35shm3h6azj4wd9la3kbi1va1pw4qyvndkwma69l") (fetchbower "scrypt-async" "1.2.0" "1.2.0" "0d076ax708p9b8hcmk4f82j925nlnm0hmp0ni45ql37g7iirfpyv") (fetchbower "require-css" "0.1.10" "0.1.10" "106gz9i76v71q9zx2pnqkkj342m630lvssnw54023a0ljc0gqcwq") - (fetchbower "less" "3.7.1" "3.7.1" "1n7ps4xlbrc9m63b3q62mg3p6i7d5hwchhpjshb0drzj5crvz556") (fetchbower "bootstrap" "4.6.0" "^v4.0.0" "1pp2n88pkms25p7mbna7vxxl5mkpdn8nvnfzwcwpp6b0871njmr6") (fetchbower "diff-dom" "2.1.1" "2.1.1" "0nrn6xqlhp0p5ixjxdk8qg3939crkggh1l8swd20d7bsz186l5f1") (fetchbower "nthen" "0.1.7" "0.1.7" "03yap5ildigaw4rwxmxs37pcwhq415iham8w39zd56ka98gpfxa5") (fetchbower "open-sans-fontface" "1.4.2" "^1.4.2" "0ksav1fcq640fmdz49ra4prwsrrfj35y2p4shx1jh1j7zxd044nf") (fetchbower "bootstrap-tokenfield" "0.12.1" "0.12.1" "1dh791s6ih8bf9ihck9n39h68c273jb3lg4mqk94bvqraz45fvwx") - (fetchbower "localforage" "1.9.0" "^1.5.2" "18ds5427gaschld5afwi128hqy8kysa1b1ckbrzbmqz8xnlshmc2") + (fetchbower "localforage" "1.10.0" "^1.5.2" "019rh006v2w5x63mgk78qhw59kf8czbkwdvfngmac8fs6gz88lc8") (fetchbower "html2canvas" "0.4.1" "^0.4.1" "0yg7y90nav068q0i5afc2c221zkddpf28hi0hwc46cawx4180c69") (fetchbower "croppie" "2.6.5" "^2.5.0" "1j1v5620zi13ad42r358i4ay891abwn6nz357484kgq2bgjj6ccx") (fetchbower "sortablejs" "1.14.0" "^1.6.0" "104d688lrbwxi3hnfr4q169850ffyfv1s8qnycqxhx0zfh3887m0") @@ -34,7 +33,6 @@ buildEnv { name = "bower-env"; ignoreCollisions = true; paths = [ (fetchbower "requirejs-plugins" "1.0.3" "^1.0.3" "00s3sdz1ykygx5shldwhhhybwgw7c99vkqd94i5i5x0gl97ifxf5") (fetchbower "dragula.js" "3.7.2" "3.7.2" "0dbkmrl8bcxiplprmmp9fj96ri5nahb2ql8cc7zwawncv0drvlh0") (fetchbower "MathJax" "3.0.5" "3.0.5" "087a9av15qj43m8pr3b9g59ncmydhmg40m6dfzsac62ykianh2a0") - (fetchbower "chainpad-netflux" "0.12.9" "^0.12.0" "1b2jkfl354gs9iy05i6db9g0hnngacxd2wdv59lc0icbmx62fpvi") - (fetchbower "netflux-websocket" "0.1.21" "^0.1.20" "13ia8cqipq1jnyzzxwf9yy91gzwnwb2g5kzb6l8id5gdr415q5yn") - (fetchbower "es6-promise" "3.3.1" "^3.2.2" "0ai6z5admfs84fdx6663ips49kqgz4x68ays78cic0xfb7pp6vcz") + (fetchbower "chainpad-netflux" "1.0.0" "^1.0.0" "08rpc73x1vyvd6zkb7w0m1smzjhq3b7cwb30nlmg93x873zjlsl6") + (fetchbower "netflux-websocket" "1.0.0" "^1.0.0" "10hgc5ra3ll7qc2r8aal6p03gx6dgz06l2b54lh995pvf901wzi6") ]; } diff --git a/pkgs/servers/web-apps/cryptpad/node-packages-generated.nix b/pkgs/servers/web-apps/cryptpad/node-packages-generated.nix index cbc12d113cfb..7321022c7ebf 100644 --- a/pkgs/servers/web-apps/cryptpad/node-packages-generated.nix +++ b/pkgs/servers/web-apps/cryptpad/node-packages-generated.nix @@ -346,22 +346,22 @@ let sha512 = "KI1+qOZu5DcW6wayYHSzR/tXKCDC5Om4s1z2QJjDULzLcmf3DvzS7oluY4HCTrc+9FiKmWUgeNLg7W3uIQvxtQ=="; }; }; - "mime-db-1.49.0" = { + "mime-db-1.50.0" = { name = "mime-db"; packageName = "mime-db"; - version = "1.49.0"; + version = "1.50.0"; src = fetchurl { - url = "https://registry.npmjs.org/mime-db/-/mime-db-1.49.0.tgz"; - sha512 = "CIc8j9URtOVApSFCQIF+VBkX1RwXp/oMMOrqdyXSBXq5RWNEsRfyj1kiRnQgmNXmHxPoFIxOroKA3zcU9P+nAA=="; + url = "https://registry.npmjs.org/mime-db/-/mime-db-1.50.0.tgz"; + sha512 = "9tMZCDlYHqeERXEHO9f/hKfNXhre5dK2eE/krIvUjZbS2KPcqGDfNShIWS1uW9XOTKQKqK6qbeOci18rbfW77A=="; }; }; - "mime-types-2.1.32" = { + "mime-types-2.1.33" = { name = "mime-types"; packageName = "mime-types"; - version = "2.1.32"; + version = "2.1.33"; src = fetchurl { - url = "https://registry.npmjs.org/mime-types/-/mime-types-2.1.32.tgz"; - sha512 = "hJGaVS4G4c9TSMYh2n6SQAGrC4RnfU+daP8G7cSCmaqNjiOoUY0VHCMS42pxnQmVF1GWwFhbHWn3RIxCqTmZ9A=="; + url = "https://registry.npmjs.org/mime-types/-/mime-types-2.1.33.tgz"; + sha512 = "plLElXp7pRDd0bNZHw+nMd52vRYjLwQjygaNg7ddJ2uJtTlmnTCjWuPKxVu6//AdaRuME84SvLW91sIkBqGT0g=="; }; }; "ms-2.0.0" = { @@ -656,14 +656,14 @@ let }; in { - "cryptpad-git+https://github.com/xwiki-labs/cryptpad.git#4.9.0" = nodeEnv.buildNodePackage { + "cryptpad-git+https://github.com/xwiki-labs/cryptpad.git#4.11.0" = nodeEnv.buildNodePackage { name = "cryptpad"; packageName = "cryptpad"; - version = "4.9.0"; + version = "4.11.0"; src = fetchgit { url = "https://github.com/xwiki-labs/cryptpad.git"; - rev = "b1281fb4abd14e9758d58df4801e0a00eda7bc44"; - sha256 = "ed2d0e2520645fccdada7fa5f25bb878c0ee0e61d6c81a98c18906c12750578c"; + rev = "390e38acf63a9d7ae581eaa926ea678a519fcc14"; + sha256 = "d75f0568fd146da6512646d9516138f94b0bbbd9a4691eef11d370bf5810176a"; }; dependencies = [ sources."@mcrowe/minibloom-0.2.0" @@ -708,8 +708,8 @@ in sources."merge-descriptors-1.0.1" sources."methods-1.1.2" sources."mime-1.4.1" - sources."mime-db-1.49.0" - sources."mime-types-2.1.32" + sources."mime-db-1.50.0" + sources."mime-types-2.1.33" sources."ms-2.0.0" sources."negotiator-0.6.2" sources."netflux-websocket-0.1.21" diff --git a/pkgs/servers/web-apps/cryptpad/node-packages.json b/pkgs/servers/web-apps/cryptpad/node-packages.json index fde63614a46a..fc6c498f438e 100644 --- a/pkgs/servers/web-apps/cryptpad/node-packages.json +++ b/pkgs/servers/web-apps/cryptpad/node-packages.json @@ -1,3 +1,3 @@ [ - { "cryptpad": "git+https://github.com/xwiki-labs/cryptpad.git#4.9.0" } + { "cryptpad": "git+https://github.com/xwiki-labs/cryptpad.git#4.11.0" } ] From 7cfe1ab75b0996cf87457b9bb50ae66d4dea4a8b Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Sun, 19 Sep 2021 22:58:37 +0200 Subject: [PATCH 19/36] b2sum: switch to fetchFromGitHub --- pkgs/tools/security/b2sum/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/security/b2sum/default.nix b/pkgs/tools/security/b2sum/default.nix index 393043df6758..bf415e7554e6 100644 --- a/pkgs/tools/security/b2sum/default.nix +++ b/pkgs/tools/security/b2sum/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchzip, openmp ? null }: +{ lib, stdenv, fetchFromGitHub, openmp ? null }: with lib; @@ -6,9 +6,11 @@ stdenv.mkDerivation { pname = "b2sum"; version = "unstable-2018-06-11"; - src = fetchzip { - url = "https://github.com/BLAKE2/BLAKE2/archive/320c325437539ae91091ce62efec1913cd8093c2.tar.gz"; - sha256 = "0agmc515avdpr64bsgv87wby2idm0d3wbndxzkhdfjgzhgv0rb8k"; + src = fetchFromGitHub { + owner = "BLAKE2"; + repo = "BLAKE2"; + rev = "320c325437539ae91091ce62efec1913cd8093c2"; + sha256 = "E60M9oP/Sdfg/L3ZxUcDtUXhFz9oP72IybdtVUJh9Sk="; }; sourceRoot = "source/b2sum"; From 11031d1c0c716fe6927af41a048511884d453f81 Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Sun, 19 Sep 2021 22:58:52 +0200 Subject: [PATCH 20/36] daemonize: switch to fetchFromGitHub --- pkgs/tools/system/daemonize/default.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/pkgs/tools/system/daemonize/default.nix b/pkgs/tools/system/daemonize/default.nix index b79da1986d73..b3cf2a4356f6 100644 --- a/pkgs/tools/system/daemonize/default.nix +++ b/pkgs/tools/system/daemonize/default.nix @@ -1,18 +1,20 @@ -{ lib, stdenv, fetchurl }: +{ lib, stdenv, fetchFromGitHub }: stdenv.mkDerivation rec { pname = "daemonize"; version = "1.7.8"; - src = fetchurl { - url = "https://github.com/bmc/daemonize/archive/release-${version}.tar.gz"; - sha256 = "0q2c3i3si3k7wfhl6fyckkmkc81yp67pz52p3ggis79p4nczri10"; + src = fetchFromGitHub { + owner = "bmc"; + repo = "daemonize"; + rev = "release-${version}"; + sha256 = "1e6LZXf/lK7sB2CbXwOg7LOi0Q8IBQNAa4d7rX0Ej3A="; }; meta = with lib; { description = "Runs a command as a Unix daemon"; - homepage = "http://software.clapper.org/daemonize/"; - license = licenses.bsd3; + homepage = "http://software.clapper.org/daemonize/"; + license = licenses.bsd3; platforms = with platforms; linux ++ freebsd ++ darwin; }; } From ac3c391fa344472191e0bb7c0ac616975ae27a1a Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Sun, 19 Sep 2021 22:59:04 +0200 Subject: [PATCH 21/36] symlinks: switch to fetchFromGitHub --- pkgs/tools/system/symlinks/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/system/symlinks/default.nix b/pkgs/tools/system/symlinks/default.nix index ad275a2d4479..8d1213c0afef 100644 --- a/pkgs/tools/system/symlinks/default.nix +++ b/pkgs/tools/system/symlinks/default.nix @@ -1,12 +1,14 @@ -{ fetchurl, lib, stdenv }: +{ fetchFromGitHub, lib, stdenv }: stdenv.mkDerivation rec { pname = "symlinks"; version = "1.4.3"; - src = fetchurl { - url = "https://github.com/brandt/symlinks/archive/v${version}.tar.gz"; - sha256 = "1cihrd3dap52z1msdhhgda7b7wy1l5ysfvyba8yxb3zjk0l5n417"; + src = fetchFromGitHub { + owner = "brandt"; + repo = "symlinks"; + rev = "v${version}"; + sha256 = "EMWd7T/k4v1uvXe2QxhyPoQKUpKIUANE9AOwX461FgU="; }; buildFlags = [ "CC=${stdenv.cc}/bin/cc" ]; From ed5653470c9391c089a9e376eb1f81f554ba8a3a Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Sun, 19 Sep 2021 22:59:16 +0200 Subject: [PATCH 22/36] cconv: switch to fetchFromGitHub --- pkgs/tools/text/cconv/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/text/cconv/default.nix b/pkgs/tools/text/cconv/default.nix index e918d620c678..de8405aed43b 100644 --- a/pkgs/tools/text/cconv/default.nix +++ b/pkgs/tools/text/cconv/default.nix @@ -1,12 +1,14 @@ -{ lib, stdenv, fetchurl, autoreconfHook, libiconv }: +{ lib, stdenv, fetchFromGitHub, autoreconfHook, libiconv }: stdenv.mkDerivation rec { pname = "cconv"; version = "0.6.3"; - src = fetchurl { - url = "https://github.com/xiaoyjy/cconv/archive/v${version}.tar.gz"; - sha256 = "82f46a94829f5a8157d6f686e302ff5710108931973e133d6e19593061b81d84"; + src = fetchFromGitHub { + owner = "xiaoyjy"; + repo = "cconv"; + rev = "v${version}"; + sha256 = "RAFl/+I+usUfeG/l17F3ltThK7G4+TekyQGwzQIgeH8="; }; nativeBuildInputs = [ autoreconfHook ]; From 4b951f0a6fbd656a546f69e2ced3a58eeade8868 Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Sun, 19 Sep 2021 22:59:30 +0200 Subject: [PATCH 23/36] qshowdiff: switch to fetchFromGitHub --- pkgs/tools/text/qshowdiff/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/text/qshowdiff/default.nix b/pkgs/tools/text/qshowdiff/default.nix index 251427f03c5b..8396e39e6d1c 100644 --- a/pkgs/tools/text/qshowdiff/default.nix +++ b/pkgs/tools/text/qshowdiff/default.nix @@ -1,12 +1,14 @@ -{lib, stdenv, fetchurl, qt4, perl, pkg-config }: +{ lib, stdenv, fetchFromGitHub, qt4, perl, pkg-config }: stdenv.mkDerivation rec { pname = "qshowdiff"; version = "1.2"; - src = fetchurl { - url = "https://github.com/danfis/qshowdiff/archive/v${version}.tar.gz"; - sha256 = "027959xbzvi5c2w9y1x122sr5i26k9mvp43banz2wln6gd860n1a"; + src = fetchFromGitHub { + owner = "danfis"; + repo = "qshowdiff"; + rev = "v${version}"; + sha256 = "g3AWQ6/LSF59ztzdgNuLi+8d6fFTPiC9z0yXMdPdB5U="; }; nativeBuildInputs = [ pkg-config ]; From 4ff280efd727d34de76607740655b55f00cb24a0 Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Sun, 19 Sep 2021 22:59:45 +0200 Subject: [PATCH 24/36] odpdown: switch to fetchFromGitHub --- pkgs/tools/typesetting/odpdown/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/typesetting/odpdown/default.nix b/pkgs/tools/typesetting/odpdown/default.nix index 7b20d230b9f7..85dcece956fb 100644 --- a/pkgs/tools/typesetting/odpdown/default.nix +++ b/pkgs/tools/typesetting/odpdown/default.nix @@ -1,13 +1,15 @@ -{ lib, fetchurl, pythonPackages, libreoffice }: +{ lib, fetchFromGitHub, pythonPackages, libreoffice }: pythonPackages.buildPythonApplication rec { pname = "odpdown"; version = "0.4.1"; - src = fetchurl { - url = "https://github.com/thorstenb/odpdown/archive/v${version}.tar.gz"; - sha256 = "005eecc73c65b9d4c09532547940718a7b308cd565f62a213dfa040827d4d565"; + src = fetchFromGitHub { + owner = "thorstenb"; + repo = "odpdown"; + rev = "v${version}"; + sha256 = "r2qbgD9PAalbypt+vjp2YcYggUGPQMEG2FDxMtohqG4="; }; propagatedBuildInputs = with pythonPackages; [ libreoffice lpod lxml mistune pillow pygments ]; From 432653874ca68c7f6579a1d758e92741753c0252 Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Sun, 19 Sep 2021 22:59:57 +0200 Subject: [PATCH 25/36] bgs: switch to fetchFromGitHub --- pkgs/tools/X11/bgs/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/X11/bgs/default.nix b/pkgs/tools/X11/bgs/default.nix index fc6f7752a3a4..f0150e931551 100644 --- a/pkgs/tools/X11/bgs/default.nix +++ b/pkgs/tools/X11/bgs/default.nix @@ -1,13 +1,15 @@ -{lib, stdenv, fetchurl, pkg-config, libX11, libXinerama, imlib2}: +{ lib, stdenv, fetchFromGitHub, pkg-config, libX11, libXinerama, imlib2 }: stdenv.mkDerivation rec { pname = "bgs"; version = "0.8"; - src = fetchurl { - url = "https://github.com/Gottox/bgs/archive/v${version}.tar.gz"; - sha256 = "1rw9ingkkpvvr2dixx126ziim67a54r8k49918h1mbph0fjj08n5"; + src = fetchFromGitHub { + owner = "Gottox"; + repo = "bgs"; + rev = "v${version}"; + sha256 = "V8GP+xLSiCvaYZt8Bi3/3KlTBaGnMYQUeNCHwH6Ejzo="; }; nativeBuildInputs = [ pkg-config ]; From 54ecf6b486e8829f9cc15fef8da47a540f08166c Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Sun, 19 Sep 2021 23:00:12 +0200 Subject: [PATCH 26/36] wmutils-core: switch to fetchFromGitHub --- pkgs/tools/X11/wmutils-core/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/X11/wmutils-core/default.nix b/pkgs/tools/X11/wmutils-core/default.nix index 9250a10064ff..01c84c869aa5 100644 --- a/pkgs/tools/X11/wmutils-core/default.nix +++ b/pkgs/tools/X11/wmutils-core/default.nix @@ -1,12 +1,14 @@ -{ lib, stdenv, fetchurl, libxcb, xcbutil, xcb-util-cursor }: +{ lib, stdenv, fetchFromGitHub, libxcb, xcbutil, xcb-util-cursor }: stdenv.mkDerivation rec { pname = "wmutils-core"; version = "1.5"; - src = fetchurl { - url = "https://github.com/wmutils/core/archive/v${version}.tar.gz"; - sha256 = "0wk39aq2lrnc0wjs8pv3cigw3lwy2qzaw0v61bwknd5wabm25bvj"; + src = fetchFromGitHub { + owner = "wmutils"; + repo = "core"; + rev = "v${version}"; + sha256 = "XPVH7vXlpmUsvNyGKMxLSZnWLnH/J5nGkXizcVqDwzM="; }; buildInputs = [ libxcb xcbutil xcb-util-cursor ]; From a58c4b60caf41c8990fd034b4994c68dfc7ff15c Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Sun, 19 Sep 2021 23:00:55 +0200 Subject: [PATCH 27/36] xinput_calibrator: switch to fetchFromGitHub --- pkgs/tools/X11/xinput_calibrator/default.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/X11/xinput_calibrator/default.nix b/pkgs/tools/X11/xinput_calibrator/default.nix index 2f74db17c372..2e5a4eca2910 100644 --- a/pkgs/tools/X11/xinput_calibrator/default.nix +++ b/pkgs/tools/X11/xinput_calibrator/default.nix @@ -1,11 +1,14 @@ -{ lib, stdenv, fetchurl, libXi, xorgproto, autoconf, automake, libtool, m4, xlibsWrapper, pkg-config }: +{ lib, stdenv, fetchFromGitHub, libXi, xorgproto, autoconf, automake, libtool, m4, xlibsWrapper, pkg-config }: stdenv.mkDerivation rec { pname = "xinput_calibrator"; version = "0.7.5"; - src = fetchurl { - url = "https://github.com/tias/${pname}/archive/v${version}.tar.gz"; - sha256 = "d8edbf84523d60f52311d086a1e3ad0f3536f448360063dd8029bf6290aa65e9"; + + src = fetchFromGitHub { + owner = "tias"; + repo = "xinput_calibrator"; + rev = "v${version}"; + sha256 = "5ZkNw+CKNUcPt1PY5PLzB/OT2wcf5n3UcaQlmMcwRVE="; }; preConfigure = "./autogen.sh --with-gui=X11"; From ed8e11e6a55f2cfed7fa8f683f974527adf65129 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Sun, 24 Oct 2021 16:26:21 +0200 Subject: [PATCH 28/36] python3Packages.hwi: make compatible with libusb1 2.x --- pkgs/development/python-modules/hwi/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/hwi/default.nix b/pkgs/development/python-modules/hwi/default.nix index 7b6daf1fad05..d4d091c36f8b 100644 --- a/pkgs/development/python-modules/hwi/default.nix +++ b/pkgs/development/python-modules/hwi/default.nix @@ -31,6 +31,12 @@ buildPythonPackage rec { typing-extensions ]; + # make compatible with libusb1 2.x + postPatch = '' + substituteInPlace setup.py \ + --replace 'libusb1>=1.7,<2.0' 'libusb1>=1.7' + ''; + # tests require to clone quite a few firmwares doCheck = false; From 3efb07b9cca50661c84e9242d70ed2eb571da43c Mon Sep 17 00:00:00 2001 From: fedx-sudo Date: Mon, 18 Oct 2021 16:53:44 -0600 Subject: [PATCH 29/36] quickemu: init at 2.2.6 quickemu: init at 2.2.6 quickemu: init at 2.2.6 Added quickemu to nixpkgs quickemu: init at 2.2.6 quickemu: init at 2.2.6 remove bad merge files quickemu: init at 2.2.6 quickemu: init at 2.2.6 quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. quickemu: init at 2.2.6 refactor default.nix for better readability/efficancy. Update pkgs/development/quickemu/default.nix Co-authored-by: Bruno Bigras Update pkgs/development/quickemu/default.nix Co-authored-by: Michele Guerini Rocco quickemu: init at 2.2.6 quickemu: init at 2.2.6 Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro Update pkgs/development/quickemu/default.nix Co-authored-by: Sandro quickemu: init at 2.2.6 --- pkgs/development/quickemu/default.nix | 72 +++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 74 insertions(+) create mode 100644 pkgs/development/quickemu/default.nix diff --git a/pkgs/development/quickemu/default.nix b/pkgs/development/quickemu/default.nix new file mode 100644 index 000000000000..fc3a09b4c7df --- /dev/null +++ b/pkgs/development/quickemu/default.nix @@ -0,0 +1,72 @@ +{ lib +, fetchFromGitHub +, stdenv +, makeWrapper +, qemu +, gnugrep +, lsb-release +, jq +, procps +, python3 +, cdrtools +, usbutils +, util-linux +, spicy +, swtpm +, wget +, xdg-user-dirs +, xrandr +, zsync +}: +let + runtimePaths = [ + qemu + gnugrep + jq + lsb-release + procps + python3 + cdrtools + usbutils + util-linux + spicy + swtpm + wget + xdg-user-dirs + xrandr + zsync + ]; +in + +stdenv.mkDerivation rec { + pname = "quickemu"; + version = "2.2.6"; + + src = fetchFromGitHub { + owner = "wimpysworld"; + repo = pname; + rev = version; + sha256 = "sha256-gextBOWxJafwdWzkp89thhRgcy1XBTDh2VyseHQM1G0="; + }; + + nativeBuildInputs = [ makeWrapper ]; + + installPhase = '' + runHook preInstall + + install -Dm755 -t "$out/bin" quickemu quickget macrecovery + + for f in quickget macrecovery quickemu; do + wrapProgram $out/bin/$f --prefix PATH : "${lib.makeBinPath runtimePaths}" + done + + runHook postInstall + ''; + + meta = with lib; { + description = "Quickly create and run optimised Windows, macOS and Linux desktop virtual machines"; + homepage = "https://github.com/wimpysworld/quickemu"; + license = licenses.mit; + maintainers = with maintainers; [ fedx-sudo ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f96308642168..ec15f29380d3 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -164,6 +164,8 @@ with pkgs; addOpenGLRunpath = callPackage ../build-support/add-opengl-runpath { }; + quickemu = callPackage ../development/quickemu { }; + aether = callPackage ../applications/networking/aether { }; alda = callPackage ../development/interpreters/alda { }; From 3b9284cf2c4d4ba93aec138f3421ff03dcc04682 Mon Sep 17 00:00:00 2001 From: fedx-sudo Date: Sun, 24 Oct 2021 08:56:58 -0600 Subject: [PATCH 30/36] maintainers: add fedx-sudo --- maintainers/maintainer-list.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 4618badb1dd9..c3bf5ec9e3a0 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -3720,6 +3720,13 @@ githubId = 541748; name = "Felipe Espinoza"; }; + fedx-sudo = { + email = "fedx-sudo@pm.me"; + github = "Fedx-sudo"; + githubId = 66258975; + name = "Fedx sudo"; + matrix = "fedx:matrix.org"; + }; fehnomenal = { email = "fehnomenal@fehn.systems"; github = "fehnomenal"; From cd2b95a439283b593179129c8e9868bc56b0be2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Merlin=20G=C3=B6ttlinger?= Date: Sun, 24 Oct 2021 17:42:40 +0200 Subject: [PATCH 31/36] icesl: 2.1.10 -> 2.4.1 (#142739) Co-authored-by: Sandro --- pkgs/applications/misc/icesl/default.nix | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/pkgs/applications/misc/icesl/default.nix b/pkgs/applications/misc/icesl/default.nix index 5c50ac245381..ae049699121e 100644 --- a/pkgs/applications/misc/icesl/default.nix +++ b/pkgs/applications/misc/icesl/default.nix @@ -1,22 +1,27 @@ -{ stdenv, lib, fetchzip, freeglut, libXmu, libXi, libX11, libICE, libGLU, libGL, libSM, libXext, dialog, makeWrapper }: +{ stdenv, lib, fetchzip, freeglut, libXmu, libXi, libX11, libICE, libGLU, libGL, libSM +, libXext, glibc, lua, luabind, glfw, libgccjit, dialog, makeWrapper +}: let - lpath = lib.makeLibraryPath [ libXmu libXi libX11 freeglut libICE libGLU libGL libSM libXext ]; + lpath = lib.makeLibraryPath [ libXmu libXi libX11 freeglut libICE libGLU libGL libSM libXext glibc lua glfw luabind libgccjit ]; in stdenv.mkDerivation rec { pname = "iceSL"; - version = "2.1.10"; + version = "2.4.1"; src = if stdenv.hostPlatform.system == "x86_64-linux" then fetchzip { - url = "https://gforge.inria.fr/frs/download.php/file/37268/icesl${version}-amd64.zip"; - sha256 = "0dv3mq6wy46xk9blzzmgbdxpsjdaxid3zadfrysxlhmgl7zb2cn2"; + url = "https://icesl.loria.fr/assets/other/download.php?build=${version}&os=amd64"; + extension = "zip"; + sha256 = "0rrnkqkhlsjclif5cjbf17qz64vs95ja49xarxjvq54wb4jhbs4l"; } else if stdenv.hostPlatform.system == "i686-linux" then fetchzip { - url = "https://gforge.inria.fr/frs/download.php/file/37267/icesl${version}-i386.zip"; - sha256 = "0sl54fsb2gz6dy0bwdscpdq1ab6ph5b7zald3bwzgkqsvna7p1jr"; + url = "https://icesl.loria.fr/assets/other/download.php?build=${version}&os=i386"; + extension = "zip"; + sha256 = "0n2yyxzw0arkc70f0qli4n5chdlh9vc7aqizk4v7825mcglhwlyh"; } else throw "Unsupported architecture"; nativeBuildInputs = [ makeWrapper ]; installPhase = '' cp -r ./ $out + rm $out/bin/*.so mkdir $out/oldbin mv $out/bin/IceSL-slicer $out/oldbin/IceSL-slicer runHook postInstall @@ -31,7 +36,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "GPU-accelerated procedural modeler and slicer for 3D printing"; - homepage = "http://shapeforge.loria.fr/icesl/index.html"; + homepage = "https://icesl.loria.fr/"; license = licenses.inria-icesl; platforms = [ "i686-linux" "x86_64-linux" ]; maintainers = with maintainers; [ mgttlinger ]; From d1542854f66cd4c38be0abbf7f80e5d02ca26e0c Mon Sep 17 00:00:00 2001 From: Kreyren Date: Sun, 24 Oct 2021 17:45:53 +0200 Subject: [PATCH 32/36] vscode: quote variables (#142735) --- pkgs/applications/editors/vscode/generic.nix | 28 ++++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/pkgs/applications/editors/vscode/generic.nix b/pkgs/applications/editors/vscode/generic.nix index 7a3f34828ee2..8924b669c4a8 100644 --- a/pkgs/applications/editors/vscode/generic.nix +++ b/pkgs/applications/editors/vscode/generic.nix @@ -81,25 +81,25 @@ let installPhase = '' runHook preInstall '' + (if stdenv.isDarwin then '' - mkdir -p "$out/Applications/${longName}.app" $out/bin + mkdir -p "$out/Applications/${longName}.app" "$out/bin" cp -r ./* "$out/Applications/${longName}.app" - ln -s "$out/Applications/${longName}.app/Contents/Resources/app/bin/${sourceExecutableName}" $out/bin/${executableName} + ln -s "$out/Applications/${longName}.app/Contents/Resources/app/bin/${sourceExecutableName}" "$out/bin/${executableName}" '' else '' - mkdir -p $out/lib/vscode $out/bin - cp -r ./* $out/lib/vscode + mkdir -p "$out/lib/vscode" "$out/bin" + cp -r ./* "$out/lib/vscode" - ln -s $out/lib/vscode/bin/${sourceExecutableName} $out/bin/${executableName} + ln -s "$out/lib/vscode/bin/${sourceExecutableName}" "$out/bin/${executableName}" - mkdir -p $out/share/applications - ln -s $desktopItem/share/applications/${executableName}.desktop $out/share/applications/${executableName}.desktop - ln -s $urlHandlerDesktopItem/share/applications/${executableName}-url-handler.desktop $out/share/applications/${executableName}-url-handler.desktop + mkdir -p "$out/share/applications" + ln -s "$desktopItem/share/applications/${executableName}.desktop" "$out/share/applications/${executableName}.desktop" + ln -s "$urlHandlerDesktopItem/share/applications/${executableName}-url-handler.desktop" "$out/share/applications/${executableName}-url-handler.desktop" - mkdir -p $out/share/pixmaps - cp $out/lib/vscode/resources/app/resources/linux/code.png $out/share/pixmaps/code.png + mkdir -p "$out/share/pixmaps" + cp "$out/lib/vscode/resources/app/resources/linux/code.png" "$out/share/pixmaps/code.png" # Override the previously determined VSCODE_PATH with the one we know to be correct - sed -i "/ELECTRON=/iVSCODE_PATH='$out/lib/vscode'" $out/bin/${executableName} - grep -q "VSCODE_PATH='$out/lib/vscode'" $out/bin/${executableName} # check if sed succeeded + sed -i "/ELECTRON=/iVSCODE_PATH='$out/lib/vscode'" "$out/bin/${executableName}" + grep -q "VSCODE_PATH='$out/lib/vscode'" "$out/bin/${executableName}" # check if sed succeeded '') + '' runHook postInstall ''; @@ -162,9 +162,9 @@ let # restore desktop item icons extraInstallCommands = '' - mkdir -p $out/share/applications + mkdir -p "$out/share/applications" for item in ${unwrapped}/share/applications/*.desktop; do - ln -s $item $out/share/applications/ + ln -s "$item" "$out/share/applications/" done ''; From 5274c92d723e80c90ff5de9c2b4e0c178d3bc62f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Merlin=20G=C3=B6ttlinger?= Date: Sun, 24 Oct 2021 18:27:07 +0200 Subject: [PATCH 33/36] urbackup-client: init at 2.4.11 (#140504) Co-authored-by: Ryan Burns <52847440+r-burns@users.noreply.github.com> --- .../backup/urbackup-client/default.nix | 23 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 25 insertions(+) create mode 100644 pkgs/applications/backup/urbackup-client/default.nix diff --git a/pkgs/applications/backup/urbackup-client/default.nix b/pkgs/applications/backup/urbackup-client/default.nix new file mode 100644 index 000000000000..16ae8fcf3e89 --- /dev/null +++ b/pkgs/applications/backup/urbackup-client/default.nix @@ -0,0 +1,23 @@ +{ stdenv, lib, fetchzip, wxGTK30, zlib, zstd }: + +stdenv.mkDerivation rec { + pname = "urbackup-client"; + version = "2.4.11"; + + src = fetchzip { + url = "https://hndl.urbackup.org/Client/${version}/urbackup-client-${version}.tar.gz"; + sha256 = "0cciy9v1pxj9qaklpbhp2d5rdbkmfm74vhpqx6b4phww0f10wvzh"; + }; + + configureFlags = [ "--enable-embedded-cryptopp" ]; + buildInputs = [ wxGTK30 zlib zstd ]; + + meta = with lib; { + description = "An easy to setup Open Source client/server backup system"; + longDescription = "An easy to setup Open Source client/server backup system, that through a combination of image and file backups accomplishes both data safety and a fast restoration time"; + homepage = "https://www.urbackup.org/index.html"; + license = licenses.agpl3; + platforms = platforms.linux; + maintainers = [ maintainers.mgttlinger ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 625619de61f0..6275823fe58c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12951,6 +12951,8 @@ with pkgs; icu = icu67; }; + urbackup-client = callPackage ../applications/backup/urbackup-client { }; + vlang = callPackage ../development/compilers/vlang { }; vala-lint = callPackage ../development/tools/vala-lint { }; From c7788a8fecb1c719e2665a513e54cda847eb1239 Mon Sep 17 00:00:00 2001 From: rembo10 <801525+rembo10@users.noreply.github.com> Date: Sun, 24 Oct 2021 22:01:35 +0530 Subject: [PATCH 34/36] barman: 2.12 -> 2.15 (#142098) Co-authored-by: rembo10 Co-authored-by: Sandro --- pkgs/tools/misc/barman/default.nix | 43 ++++++++++++++++++------------ pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 27 insertions(+), 18 deletions(-) diff --git a/pkgs/tools/misc/barman/default.nix b/pkgs/tools/misc/barman/default.nix index ef84981a9d95..048fbeba6ffb 100644 --- a/pkgs/tools/misc/barman/default.nix +++ b/pkgs/tools/misc/barman/default.nix @@ -1,29 +1,38 @@ -{ buildPythonApplication, fetchurl, lib -, python-dateutil, argcomplete, argh, psycopg2, boto3 +{ fetchFromGitHub +, lib +, python3Packages }: - -buildPythonApplication rec { +python3Packages.buildPythonApplication rec { pname = "barman"; - version = "2.12"; + version = "2.15"; - outputs = [ "out" "man" ]; - src = fetchurl { - url = "mirror://sourceforge/pgbarman/${version}/barman-${version}.tar.gz"; - sha256 = "Ts8I6tlP2GRp90OIIKXy+cRWWvUO3Sm86zq2dtVP5YE="; + src = fetchFromGitHub { + owner = "EnterpriseDB"; + repo = pname; + rev = "release/${version}"; + sha256 = "127cqndg0405rad9jzba1mfhpqmyfa3kx16w345kd4n822w17ak9"; }; - propagatedBuildInputs = [ python-dateutil argh psycopg2 boto3 argcomplete ]; + checkInputs = with python3Packages; [ + mock + pytestCheckHook + ]; - # Tests are not present in tarball - checkPhase = '' - $out/bin/barman --help > /dev/null - ''; + propagatedBuildInputs = with python3Packages; [ + argcomplete + argh + azure-identity + azure-storage-blob + boto3 + psycopg2 + python-dateutil + ]; meta = with lib; { - homepage = "https://www.2ndquadrant.com/en/resources/barman/"; - description = "Backup and Disaster Recovery Manager for PostgreSQL"; + homepage = "https://www.pgbarman.org/"; + description = "Backup and Recovery Manager for PostgreSQL"; maintainers = with maintainers; [ freezeboy ]; - license = licenses.gpl2; + license = licenses.gpl3Plus; platforms = platforms.unix; }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 38296fc95369..5170b6bbdd42 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1432,7 +1432,7 @@ with pkgs; automirror = callPackage ../tools/misc/automirror { }; - barman = python3Packages.callPackage ../tools/misc/barman { }; + barman = callPackage ../tools/misc/barman { }; base16-universal-manager = callPackage ../applications/misc/base16-universal-manager { }; From 763293b0d922366fbaab5250e943bd8690d20ca0 Mon Sep 17 00:00:00 2001 From: Mrinal Date: Sun, 24 Oct 2021 22:13:06 +0530 Subject: [PATCH 35/36] altair-graphql-client: 4.0.2 -> 4.1.0 (#142753) Co-authored-by: Sandro --- pkgs/development/tools/altair-graphql-client/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/altair-graphql-client/default.nix b/pkgs/development/tools/altair-graphql-client/default.nix index 46ef678b5ba2..febd5515f7c1 100644 --- a/pkgs/development/tools/altair-graphql-client/default.nix +++ b/pkgs/development/tools/altair-graphql-client/default.nix @@ -2,12 +2,12 @@ let pname = "altair"; - version = "4.0.2"; + version = "4.1.0"; name = "${pname}-v${version}"; src = fetchurl { url = "https://github.com/imolorhe/altair/releases/download/v${version}/altair_${version}_x86_64_linux.AppImage"; - sha256 = "sha256-HCoK+ljcTmyBZSCDe6u2x2urqrQfi3DIlXfCqGWvl3E="; + sha256 = "sha256-YuG7H+7FXYGbNNhM5vxps72dqltcj3bA325e7ZbW8aI="; }; appimageContents = appimageTools.extract { inherit name src; }; From 278c53b884dddef077dc29b2a6adcbf85de06524 Mon Sep 17 00:00:00 2001 From: reimeri Date: Sun, 24 Oct 2021 19:43:17 +0300 Subject: [PATCH 36/36] unison-ucm: M2g -> M2j (#142751) Co-authored-by: Sandro --- pkgs/development/compilers/unison/default.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/pkgs/development/compilers/unison/default.nix b/pkgs/development/compilers/unison/default.nix index d409ec8a276f..025fc8c3fa7d 100644 --- a/pkgs/development/compilers/unison/default.nix +++ b/pkgs/development/compilers/unison/default.nix @@ -6,18 +6,18 @@ stdenv.mkDerivation rec { pname = "unison-code-manager"; - milestone_id = "M2g"; + milestone_id = "M2j"; version = "1.0.${milestone_id}-alpha"; src = if (stdenv.isDarwin) then fetchurl { url = "https://github.com/unisonweb/unison/releases/download/release/${milestone_id}/ucm-macos.tar.gz"; - sha256 = "1ib9pdzrfpzbi35fpwm9ym621nlydplvzgbhnyd86dbwbv3i9sga"; + sha256 = "0lrj37mfqzwg9n757ymjb440jx51kj1s8g6qv9vis9pxckmy0m08"; } else fetchurl { url = "https://github.com/unisonweb/unison/releases/download/release/${milestone_id}/ucm-linux.tar.gz"; - sha256 = "004jx7q657mkcrvilk4lfkp8xcpl2bjflpn9m2p7jzlrlk97v9nj"; + sha256 = "0qvin1rlkjwijchsijq3vbnn4injawchh2w97kyq7i3idh8ccl59"; }; # The tarball is just the prebuilt binary, in the archive root. @@ -31,7 +31,10 @@ stdenv.mkDerivation rec { installPhase = '' mkdir -p $out/bin mv ucm $out/bin - wrapProgram $out/bin/ucm --prefix PATH ":" "${lib.makeBinPath [ less ]}"; + mv ui $out/ui + wrapProgram $out/bin/ucm \ + --prefix PATH ":" "${lib.makeBinPath [ less ]}" \ + --set UCM_WEB_UI "$out/ui" ''; meta = with lib; {