From 83de56a2ba32eff63ebafad3c041b89e6e4955cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Mancilla?= Date: Mon, 22 Nov 2021 17:46:25 -0300 Subject: [PATCH 01/34] pympress: 1.6.3 -> 1.7.0 --- pkgs/applications/office/pympress/default.nix | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/pkgs/applications/office/pympress/default.nix b/pkgs/applications/office/pympress/default.nix index 2a97de6ca5b..9727625f710 100644 --- a/pkgs/applications/office/pympress/default.nix +++ b/pkgs/applications/office/pympress/default.nix @@ -1,6 +1,5 @@ { lib , stdenv -, fetchpatch , python3Packages , wrapGAppsHook , gtk3 @@ -13,22 +12,13 @@ python3Packages.buildPythonApplication rec { pname = "pympress"; - version = "1.6.3"; + version = "1.7.0"; src = python3Packages.fetchPypi { inherit pname version; - sha256 = "sha256-f+OjE0x/3yfJYHCLB+on7TT7MJ2vNu87SHRi67qFDCM="; + sha256 = "sha256-AxH0PyAWYEEIqQAx9gG2eYyXMijLZGZqXkRhld32ieE="; }; - patches = [ - # Should not be needed once v1.6.4 is released - (fetchpatch { - name = "fix-setuptools-version-parsing.patch"; - url = "https://github.com/Cimbali/pympress/commit/474514d71396ac065e210fd846e07ed1139602d0.diff"; - sha256 = "sha256-eiw54sjMrXrNrhtkAXxiSTatzoA0NDA03L+HpTDax58="; - }) - ]; - nativeBuildInputs = [ wrapGAppsHook ]; From d9d632ebfcd953f1b6caf6642f7b26e8ffdde135 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 7 Dec 2021 01:12:35 +0000 Subject: [PATCH 02/34] rust-bindgen: 0.59.1 -> 0.59.2 --- pkgs/development/tools/rust/bindgen/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/rust/bindgen/default.nix b/pkgs/development/tools/rust/bindgen/default.nix index 57d5c1e64d2..2c69ad9876e 100644 --- a/pkgs/development/tools/rust/bindgen/default.nix +++ b/pkgs/development/tools/rust/bindgen/default.nix @@ -5,7 +5,7 @@ rustPlatform.buildRustPackage rec { pname = "rust-bindgen"; - version = "0.59.1"; + version = "0.59.2"; RUSTFLAGS = "--cap-lints warn"; # probably OK to remove after update @@ -13,10 +13,10 @@ rustPlatform.buildRustPackage rec { owner = "rust-lang"; repo = pname; rev = "v${version}"; - sha256 = "sha256-nCww9sr6kF7nCQeIGtOXddxD3dR/SJ0rqAc+RlZnUkQ="; + sha256 = "sha256-bJYdyf5uZgWe7fQ80/3QsRV0qyExYn6P9UET3tzwPFs="; }; - cargoSha256 = "sha256-3EXYC/mwzVxo/ginvF1WFtS7ABE/ybyuKb58uMqfTDs="; + cargoSha256 = "sha256-zhENlrqj611RkKDvpDtDFWc58wfQVamkJnpe2nvRieE="; #for substituteAll libclang = llvmPackages_latest.libclang.lib; From 0f2fb3b302e66c5a92f86744a4f0ccee0540b855 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 7 Dec 2021 04:32:06 +0000 Subject: [PATCH 03/34] i2pd: 2.39.0 -> 2.40.0 --- pkgs/tools/networking/i2pd/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/networking/i2pd/default.nix b/pkgs/tools/networking/i2pd/default.nix index a4534d1fc8b..7c034a03e2e 100644 --- a/pkgs/tools/networking/i2pd/default.nix +++ b/pkgs/tools/networking/i2pd/default.nix @@ -9,13 +9,13 @@ assert upnpSupport -> miniupnpc != null; stdenv.mkDerivation rec { pname = "i2pd"; - version = "2.39.0"; + version = "2.40.0"; src = fetchFromGitHub { owner = "PurpleI2P"; repo = pname; rev = version; - sha256 = "sha256-j8kHuX5Ca90ODjmF94HpGvjSpocDSuSxfVmvbIYRAKo="; + sha256 = "sha256-Cld5TP2YoLzm73q7uP/pwqEeUsT5uMPAUx9HABOVeZA="; }; buildInputs = with lib; [ boost zlib openssl ] From fb791ce5d309f7cccae3aeea83a70ce4ef396313 Mon Sep 17 00:00:00 2001 From: Jan Christoph Ebersbach Date: Tue, 7 Dec 2021 13:55:20 +0100 Subject: [PATCH 04/34] fluxcd: 0.23.0 -> 0.24.0 --- .../networking/cluster/fluxcd/default.nix | 23 +++++++++---------- .../patches/disable-tests-ssh_key.patch | 12 ++++------ 2 files changed, 16 insertions(+), 19 deletions(-) diff --git a/pkgs/applications/networking/cluster/fluxcd/default.nix b/pkgs/applications/networking/cluster/fluxcd/default.nix index 3ff2621e29f..2c8ecbebdc1 100644 --- a/pkgs/applications/networking/cluster/fluxcd/default.nix +++ b/pkgs/applications/networking/cluster/fluxcd/default.nix @@ -1,18 +1,18 @@ { lib, buildGoModule, fetchFromGitHub, fetchzip, installShellFiles }: let - version = "0.23.0"; - sha256 = "15j4r43hy3slyahx4am7lj7jns4x3axrcbr9qwiznmk8qbvrzrdy"; - manifestsSha256 = "10rh0q1la5dq6n9y1yvw9ilj5lhzx8vh1zi2lznfjsvc5niwx7wf"; + version = "0.24.0"; + sha256 = "025dynxkfqrnpqrvdq39394biky2ra1mfjirrigamngchifav3b3"; + manifestsSha256 = "0sbbvv40c66qdrhlvas42qcdmpgg1mb8zzcdrfr5yrkqwxnzis7x"; manifests = fetchzip { - url = "https://github.com/fluxcd/flux2/releases/download/v${version}/manifests.tar.gz"; + url = + "https://github.com/fluxcd/flux2/releases/download/v${version}/manifests.tar.gz"; sha256 = manifestsSha256; stripRoot = false; }; -in -buildGoModule rec { +in buildGoModule rec { pname = "fluxcd"; inherit version; @@ -23,15 +23,13 @@ buildGoModule rec { inherit sha256; }; - vendorSha256 = "sha256-vFm9ai+VWOPLRckKJ7gfD/0iQ8b4o5HNQE4cekb0vA0="; + vendorSha256 = "0w1qzsri3dkyzwfh6s13np52j3xzxxhk02pqgfh7297djwbppnbs"; postUnpack = '' cp -r ${manifests} source/cmd/flux/manifests ''; - patches = [ - ./patches/disable-tests-ssh_key.patch - ]; + patches = [ ./patches/disable-tests-ssh_key.patch ]; ldflags = [ "-s" "-w" "-X main.VERSION=${version}" ]; @@ -39,7 +37,7 @@ buildGoModule rec { # Required to workaround test error: # panic: mkdir /homeless-shelter: permission denied - HOME="$TMPDIR"; + HOME = "$TMPDIR"; nativeBuildInputs = [ installShellFiles ]; @@ -58,7 +56,8 @@ buildGoModule rec { passthru.updateScript = ./update.sh; meta = with lib; { - description = "Open and extensible continuous delivery solution for Kubernetes"; + description = + "Open and extensible continuous delivery solution for Kubernetes"; longDescription = '' Flux is a tool for keeping Kubernetes clusters in sync with sources of configuration (like Git repositories), and automating diff --git a/pkgs/applications/networking/cluster/fluxcd/patches/disable-tests-ssh_key.patch b/pkgs/applications/networking/cluster/fluxcd/patches/disable-tests-ssh_key.patch index 5e28589c69c..3229cf333b4 100644 --- a/pkgs/applications/networking/cluster/fluxcd/patches/disable-tests-ssh_key.patch +++ b/pkgs/applications/networking/cluster/fluxcd/patches/disable-tests-ssh_key.patch @@ -1,19 +1,17 @@ -diff --git a/cmd/flux/create_secret_git_test.go b/cmd/flux/create_secret_git_test.go -index afa34ba..0d22cce 100644 ---- a/cmd/flux/create_secret_git_test.go -+++ b/cmd/flux/create_secret_git_test.go -@@ -20,16 +20,6 @@ func TestCreateGitSecret(t *testing.T) { +--- flux/cmd/flux/create_secret_git_test.go.orig 2021-12-07 13:46:21.196278468 +0100 ++++ flux/cmd/flux/create_secret_git_test.go 2021-12-07 13:49:51.668566955 +0100 +@@ -20,16 +20,6 @@ args: "create secret git podinfo-auth --url=https://github.com/stefanprodan/podinfo --username=my-username --password=my-password --namespace=my-namespace --export", assert: assertGoldenFile("./testdata/create_secret/git/secret-git-basic.yaml"), }, - { - name: "ssh key", -- args: "create secret git podinfo-auth --url=ssh://git@github.com/stefanprodan/podinfo --private-key-file=./testdata/create_secret/git/rsa.private --namespace=my-namespace --export", +- args: "create secret git podinfo-auth --url=ssh://git@github.com/stefanprodan/podinfo --private-key-file=./testdata/create_secret/git/ecdsa.private --namespace=my-namespace --export", - assert: assertGoldenFile("testdata/create_secret/git/git-ssh-secret.yaml"), - }, - { - name: "ssh key with password", -- args: "create secret git podinfo-auth --url=ssh://git@github.com/stefanprodan/podinfo --private-key-file=./testdata/create_secret/git/rsa-password.private --password=password --namespace=my-namespace --export", +- args: "create secret git podinfo-auth --url=ssh://git@github.com/stefanprodan/podinfo --private-key-file=./testdata/create_secret/git/ecdsa-password.private --password=password --namespace=my-namespace --export", - assert: assertGoldenFile("testdata/create_secret/git/git-ssh-secret-password.yaml"), - }, } From 231b2661d0c6fd160d3d44fe54c4e55b5f6fd8bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Tue, 7 Dec 2021 22:34:27 +0100 Subject: [PATCH 05/34] qt5.qtwebengine: fix duplicated version --- pkgs/development/libraries/qt-5/5.15/srcs.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/qt-5/5.15/srcs.nix b/pkgs/development/libraries/qt-5/5.15/srcs.nix index 1fe00d7e539..21b4f55a3d5 100644 --- a/pkgs/development/libraries/qt-5/5.15/srcs.nix +++ b/pkgs/development/libraries/qt-5/5.15/srcs.nix @@ -42,7 +42,7 @@ lib.mapAttrs mk (lib.importJSON ./srcs-generated.json) rev = "v${branchName}-lts"; in { - version = "${branchName}-${lib.substring 0 7 rev}"; + version = branchName; src = fetchgit { url = "https://github.com/qt/qtwebengine.git"; From 23d62decbb39fd4cde5c3903083e7f0523191703 Mon Sep 17 00:00:00 2001 From: Izorkin Date: Wed, 8 Dec 2021 16:44:16 +0300 Subject: [PATCH 06/34] nixos/tests/wsdd: fix test --- nixos/tests/samba-wsdd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/tests/samba-wsdd.nix b/nixos/tests/samba-wsdd.nix index e7dd17c089a..0e3185b0c68 100644 --- a/nixos/tests/samba-wsdd.nix +++ b/nixos/tests/samba-wsdd.nix @@ -38,7 +38,7 @@ import ./make-test-python.nix ({ pkgs, ... }: server_wsdd.wait_for_unit("samba-wsdd") client_wsdd.wait_until_succeeds( - "echo list | ${pkgs.libressl.nc}/bin/nc -U /run/wsdd/wsdd.sock | grep -i SERVER-WSDD" + "echo list | ${pkgs.libressl.nc}/bin/nc -N -U /run/wsdd/wsdd.sock | grep -i SERVER-WSDD" ) ''; }) From ef734fcbc8b30d76752e71fe101a6c704004c52e Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 8 Dec 2021 14:22:09 +0000 Subject: [PATCH 07/34] owncloud-client: 2.9.1.5500 -> 2.9.2.6206 --- pkgs/applications/networking/owncloud-client/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/owncloud-client/default.nix b/pkgs/applications/networking/owncloud-client/default.nix index 15688d383b3..e3919430c8f 100644 --- a/pkgs/applications/networking/owncloud-client/default.nix +++ b/pkgs/applications/networking/owncloud-client/default.nix @@ -2,11 +2,11 @@ mkDerivation rec { pname = "owncloud-client"; - version = "2.9.1.5500"; + version = "2.9.2.6206"; src = fetchurl { url = "https://download.owncloud.com/desktop/ownCloud/stable/${version}/source/ownCloud-${version}.tar.xz"; - sha256 = "0h4dclxr6kmhmx318wvxz36lhyqw84q0mg4c6di6p230mp8b1l4v"; + sha256 = "sha256-i6TmJFEuH4A1jTyoKiJoVU7yC+AXZIH4miYSk3XzVEo="; }; nativeBuildInputs = [ pkg-config cmake extra-cmake-modules ]; From 18914a93553f357e0cf987f557678c58f022dd4c Mon Sep 17 00:00:00 2001 From: Maximilian Huber Date: Wed, 8 Dec 2021 15:34:15 +0100 Subject: [PATCH 08/34] mindustry: 126.1 -> 126.2 Signed-off-by: Maximilian Huber --- pkgs/games/mindustry/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/games/mindustry/default.nix b/pkgs/games/mindustry/default.nix index 09507954670..d28f2b1d1e7 100644 --- a/pkgs/games/mindustry/default.nix +++ b/pkgs/games/mindustry/default.nix @@ -29,20 +29,20 @@ let # Note: when raising the version, ensure that all SNAPSHOT versions in # build.gradle are replaced by a fixed version # (the current one at the time of release) (see postPatch). - version = "126.1"; + version = "126.2"; buildVersion = makeBuildVersion version; Mindustry = fetchFromGitHub { owner = "Anuken"; repo = "Mindustry"; rev = "v${version}"; - sha256 = "cyg4TofSSFLv8pM3zzvc0FxXMiTm+OIchBJF9PDQrkg="; + sha256 = "URmjmfzQAVVl6erbh3+FVFdN7vGTNwYKPtcrwtt9vkg="; }; Arc = fetchFromGitHub { owner = "Anuken"; repo = "Arc"; rev = "v${version}"; - sha256 = "uBIm82mt1etBB/HrNY6XGa7mmBfwd1E3RtqN8Rk5qeY="; + sha256 = "pUUak5P9t4RmSdT+/oH/8oo6l7rjIN08XDJ06TcUn8I="; }; soloud = fetchFromGitHub { owner = "Anuken"; @@ -113,7 +113,7 @@ let ''; outputHashAlgo = "sha256"; outputHashMode = "recursive"; - outputHash = "Mw8LZ1iW6vn4RkBBs8SWHp6mo2Bhj7tMZjLbyuJUqSI="; + outputHash = "+7vSwQT6LwHgKE9DubISznq4G4DgvlnD7WaF1KywBzU="; }; in From a6196bc8b20472cd49fc55ca43c7be9dcc7cb624 Mon Sep 17 00:00:00 2001 From: Will Date: Wed, 8 Dec 2021 16:57:00 +0000 Subject: [PATCH 09/34] couchdb3: add vm.args and fix pkgs.couchdb reference --- nixos/modules/services/databases/couchdb.nix | 16 +++++++++++++--- nixos/tests/couchdb.nix | 3 +++ 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/nixos/modules/services/databases/couchdb.nix b/nixos/modules/services/databases/couchdb.nix index 16dd64f2373..266bc82b696 100644 --- a/nixos/modules/services/databases/couchdb.nix +++ b/nixos/modules/services/databases/couchdb.nix @@ -43,8 +43,8 @@ in { package = mkOption { type = types.package; - default = pkgs.couchdb; - defaultText = literalExpression "pkgs.couchdb"; + default = pkgs.couchdb3; + defaultText = literalExpression "pkgs.couchdb3"; description = '' CouchDB package to use. ''; @@ -150,6 +150,14 @@ in { ''; }; + argsFile = mkOption { + type = types.path; + default = "${cfg.package}/etc/vm.args"; + description = '' + vm.args configuration. Overrides Couchdb's Erlang VM parameters file. + ''; + }; + configFile = mkOption { type = types.path; description = '' @@ -186,12 +194,14 @@ in { ''; environment = { - # we are actually specifying 4 configuration files: + # we are actually specifying 5 configuration files: # 1. the preinstalled default.ini # 2. the module configuration # 3. the extraConfig from the module options # 4. the locally writable config file, which couchdb itself writes to ERL_FLAGS= ''-couch_ini ${cfg.package}/etc/default.ini ${configFile} ${pkgs.writeText "couchdb-extra.ini" cfg.extraConfig} ${cfg.configFile}''; + # 5. the vm.args file + COUCHDB_ARGS_FILE=''${cfg.argsFile}''; }; serviceConfig = { diff --git a/nixos/tests/couchdb.nix b/nixos/tests/couchdb.nix index 049532481b1..453f5dcd66e 100644 --- a/nixos/tests/couchdb.nix +++ b/nixos/tests/couchdb.nix @@ -56,5 +56,8 @@ with lib; couchdb3.succeed( "${curlJqCheck testlogin "GET" "_all_dbs" ". | length" "0"}" ) + couchdb3.succeed( + "${curlJqCheck testlogin "GET" "_node/couchdb@127.0.0.1" ".couchdb" "Welcome"}" + ) ''; }) From d2113c56d8d98320f09cbeae41793e782198fe2b Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 10 Dec 2021 18:02:46 +0000 Subject: [PATCH 10/34] grisbi: 2.0.4 -> 2.0.5 --- pkgs/applications/office/grisbi/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/office/grisbi/default.nix b/pkgs/applications/office/grisbi/default.nix index 49344becf03..ff0d75711cf 100644 --- a/pkgs/applications/office/grisbi/default.nix +++ b/pkgs/applications/office/grisbi/default.nix @@ -12,11 +12,11 @@ stdenv.mkDerivation rec { pname = "grisbi"; - version = "2.0.4"; + version = "2.0.5"; src = fetchurl { url = "mirror://sourceforge/grisbi/${pname}-${version}.tar.bz2"; - sha256 = "sha256-4ykG310He1aFaUNo5fClaM3QWFBzKERGihYfqaxR1Vo="; + sha256 = "sha256-vTrbq/xLTfwF7/YtKzZFiiSw8A0HzzWin2ry8gPHej8="; }; nativeBuildInputs = [ pkg-config wrapGAppsHook ]; From d2007e001f71d7e8747f14dfff4d4174dfdb19c0 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 7 Dec 2021 09:33:01 +0000 Subject: [PATCH 11/34] kustomize: 4.4.0 -> 4.4.1 --- pkgs/development/tools/kustomize/default.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/pkgs/development/tools/kustomize/default.nix b/pkgs/development/tools/kustomize/default.nix index 81635a257f0..f82c20dccf8 100644 --- a/pkgs/development/tools/kustomize/default.nix +++ b/pkgs/development/tools/kustomize/default.nix @@ -2,9 +2,9 @@ buildGoModule rec { pname = "kustomize"; - version = "4.4.0"; + version = "4.4.1"; # rev is the commit of the tag, mainly for kustomize version command output - rev = "9e8e7a7fe99ec9fbf801463e8607928322fc5245"; + rev = "b2d65ddc98e09187a8e38adc27c30bab078c1dbf"; ldflags = let t = "sigs.k8s.io/kustomize/api/provenance"; in [ @@ -17,16 +17,15 @@ buildGoModule rec { owner = "kubernetes-sigs"; repo = pname; rev = "kustomize/v${version}"; - sha256 = "sha256-dHCUuKEUJ4xKMfeR629y/cdM7ZBgP3GxUSKGQYj9Ahg="; + sha256 = "sha256-gq5SrI1f6ctGIL0Arf8HQMfgnlglwWlsn1r27Ug70gs="; }; - # TODO: Remove once https://github.com/kubernetes-sigs/kustomize/pull/3708 got merged. - doCheck = false; + doCheck = true; # avoid finding test and development commands sourceRoot = "source/kustomize"; - vendorSha256 = "sha256-jP3Jf8QtdNnCrXO3JfyQNCfMwz9d3UaKVTh8DSbx6vA="; + vendorSha256 = "sha256-2GbRk7A8VwGONmL74cc2TA+MLyJrSSOQPLaded5s90k="; meta = with lib; { description = "Customization of kubernetes YAML configurations"; From 6991dae81a04f6d35ce57c2b52d236b98c909e03 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 11 Dec 2021 05:50:40 +0000 Subject: [PATCH 12/34] fn-cli: 0.6.8 -> 0.6.11 --- pkgs/applications/networking/cluster/fn-cli/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/cluster/fn-cli/default.nix b/pkgs/applications/networking/cluster/fn-cli/default.nix index 95e16797cf4..cb15d47e02d 100644 --- a/pkgs/applications/networking/cluster/fn-cli/default.nix +++ b/pkgs/applications/networking/cluster/fn-cli/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "fn"; - version = "0.6.8"; + version = "0.6.11"; src = fetchFromGitHub { owner = "fnproject"; repo = "cli"; rev = version; - sha256 = "sha256-8b1VyukVMTXLAnvYcjXgTdPtMq3YxJgTpxe25Kj+Wpw="; + sha256 = "sha256-mBPRsLBIwahKm2RR22pNXxJhdLaWHCKx0TKc4H4YIVY="; }; vendorSha256 = null; From fc3f1aa6793cc3493c244100f542ec5f15da442a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sat, 11 Dec 2021 11:57:47 +0100 Subject: [PATCH 13/34] dpkg: switch to ubuntu version The ubuntu version now supports zstd compression, which was not yet added to upstream. This is a problem when we want to unpack newer archives from ubuntu because they switched to zstd by default. Upstream discussions: https://www.mail-archive.com/debian-dpkg-bugs@lists.debian.org/msg18552.html --- pkgs/tools/package-management/dpkg/default.nix | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/pkgs/tools/package-management/dpkg/default.nix b/pkgs/tools/package-management/dpkg/default.nix index a4e9ef41fc9..ad55c6b88b4 100644 --- a/pkgs/tools/package-management/dpkg/default.nix +++ b/pkgs/tools/package-management/dpkg/default.nix @@ -1,12 +1,14 @@ -{ lib, stdenv, fetchurl, perl, zlib, bzip2, xz, makeWrapper, coreutils }: +{ lib, stdenv, fetchurl, perl, zlib, bzip2, xz, zstd +, makeWrapper, coreutils, autoreconfHook, pkg-config +}: stdenv.mkDerivation rec { pname = "dpkg"; - version = "1.20.9"; + version = "1.20.9ubuntu2"; src = fetchurl { - url = "mirror://debian/pool/main/d/dpkg/dpkg_${version}.tar.xz"; - sha256 = "sha256-XOJCgw8hO1Yg8I5sQYOtse9Nydoo0xmIonyHxx/lNM4="; + url = "mirror://ubuntu/pool/main/d/dpkg/dpkg_${version}.tar.xz"; + sha256 = "sha256-BuCofGpi9R0cyhvkZqu9IxupqZvZhbE2J/B4wgUqMQw="; }; configureFlags = [ @@ -17,6 +19,8 @@ stdenv.mkDerivation rec { (lib.optionalString stdenv.isDarwin "--disable-start-stop-daemon") ]; + enableParallelBuilding = true; + preConfigure = '' # Nice: dpkg has a circular dependency on itself. Its configure # script calls scripts/dpkg-architecture, which calls "dpkg" in @@ -49,8 +53,8 @@ stdenv.mkDerivation rec { --replace '"diff"' \"${coreutils}/bin/diff\" ''; - buildInputs = [ perl zlib bzip2 xz ]; - nativeBuildInputs = [ makeWrapper perl ]; + buildInputs = [ perl zlib bzip2 xz zstd ]; + nativeBuildInputs = [ makeWrapper perl autoreconfHook pkg-config ]; postInstall = '' From d4a5bdc26474ed380d69b6f1e12aaf04c54579ab Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 12 Dec 2021 15:59:16 +0000 Subject: [PATCH 14/34] seaview: 5.0.4 -> 5.0.5 --- pkgs/applications/science/biology/seaview/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/science/biology/seaview/default.nix b/pkgs/applications/science/biology/seaview/default.nix index 27d83f3bf89..9cfa7cb933b 100644 --- a/pkgs/applications/science/biology/seaview/default.nix +++ b/pkgs/applications/science/biology/seaview/default.nix @@ -1,12 +1,12 @@ { lib, stdenv, fetchurl, coreutils, fltk, libjpeg }: stdenv.mkDerivation rec { - version = "5.0.4"; + version = "5.0.5"; pname = "seaview"; src = fetchurl { url = "ftp://pbil.univ-lyon1.fr/pub/mol_phylogeny/seaview/archive/seaview_${version}.tar.gz"; - sha256 = "09yp8467h49qnj7gg0mbcdha4ai3bn6vgs00gb76dd6h3pzfflz1"; + sha256 = "sha256-zo9emLpHiDv6kekbx55NOibxWN2Zg7XngzGkUqSx+PI="; }; buildInputs = [ fltk libjpeg ]; From 9b3da2131dd5e2f66fd17ad5eeb4628b7ac6d549 Mon Sep 17 00:00:00 2001 From: xfnw Date: Sun, 12 Dec 2021 23:16:16 +0000 Subject: [PATCH 15/34] catgirl: 1.9a -> 2.0 --- pkgs/applications/networking/irc/catgirl/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/irc/catgirl/default.nix b/pkgs/applications/networking/irc/catgirl/default.nix index d807e3bd030..68ada703f8d 100644 --- a/pkgs/applications/networking/irc/catgirl/default.nix +++ b/pkgs/applications/networking/irc/catgirl/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "catgirl"; - version = "1.9a"; + version = "2.0"; src = fetchurl { url = "https://git.causal.agency/catgirl/snapshot/${pname}-${version}.tar.gz"; - sha256 = "sha256-MEm5mrrWfNp+mBHFjGSOGvvfvBJ+Ho/K+mPUxzJDkV0="; + sha256 = "sha256-rk6nvfyaFxJ/7JN92L5tDraTngffVb6u/U7dbNjK9jI="; }; # catgirl's configure script uses pkg-config --variable exec_prefix openssl From 54724599d1a8c4ce98b7d50562af9853225439cc Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 12 Dec 2021 02:31:27 +0000 Subject: [PATCH 16/34] arb: 2.20.0 -> 2.21.1 --- pkgs/development/libraries/arb/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/arb/default.nix b/pkgs/development/libraries/arb/default.nix index 393639ea558..e47dcd8e0ba 100644 --- a/pkgs/development/libraries/arb/default.nix +++ b/pkgs/development/libraries/arb/default.nix @@ -9,13 +9,13 @@ stdenv.mkDerivation rec { pname = "arb"; - version = "2.20.0"; + version = "2.21.1"; src = fetchFromGitHub { owner = "fredrik-johansson"; repo = pname; rev = version; - sha256 = "sha256-HOIbdkVV7NKowIGhDdn/S8unIRV469OnRHiuiCGaWgk="; + sha256 = "sha256-OBY2gKVnvrZLVrv+d6rXQLo026mrGB9eyNV4LESgrNI="; }; buildInputs = [ mpir gmp mpfr flint ]; From 9b350497703afe913b806ed24aaf8d3d3efb2986 Mon Sep 17 00:00:00 2001 From: Mauricio Collares Date: Mon, 13 Dec 2021 11:16:21 -0300 Subject: [PATCH 17/34] sage: import arb 2.21.0 test fixes --- pkgs/applications/science/math/sage/sage-src.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/applications/science/math/sage/sage-src.nix b/pkgs/applications/science/math/sage/sage-src.nix index 4a912e002d9..1678567b77f 100644 --- a/pkgs/applications/science/math/sage/sage-src.nix +++ b/pkgs/applications/science/math/sage/sage-src.nix @@ -125,6 +125,14 @@ stdenv.mkDerivation rec { sha256 = "sha256-3eJPfWfCrCAQ5filIn7FbzjRQeO9QyTIVl/HyRuqFtE="; }) + # https://trac.sagemath.org/ticket/32567 + (fetchSageDiff { + base = "9.5.beta2"; + name = "arb-2.21.0-update.patch"; + rev = "eb3304dd521a3d5a9334e747a08e234bbf16b4eb"; + sha256 = "sha256-XDkaY4VQGyESXI6zuD7nCNzyQOl/fmBFvAESH9+RRvk="; + }) + # https://trac.sagemath.org/ticket/32797 (fetchSageDiff { base = "9.5.beta7"; From 1d423fd0f787d1691b2c06a9cc8d02f0361db026 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 13 Dec 2021 14:56:13 +0000 Subject: [PATCH 18/34] python38Packages.google-cloud-vision: 2.6.2 -> 2.6.3 --- .../python-modules/google-cloud-vision/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/google-cloud-vision/default.nix b/pkgs/development/python-modules/google-cloud-vision/default.nix index 77b85bad00c..c67f910321a 100644 --- a/pkgs/development/python-modules/google-cloud-vision/default.nix +++ b/pkgs/development/python-modules/google-cloud-vision/default.nix @@ -11,11 +11,11 @@ buildPythonPackage rec { pname = "google-cloud-vision"; - version = "2.6.2"; + version = "2.6.3"; src = fetchPypi { inherit pname version; - sha256 = "542a300f4b79ed9574cdeb4eb47cf8899f0915041e8bf0058e8192a620087d30"; + sha256 = "54b7f63c746ab95a504bd6b9b1d806192483976a3452a1a59a7faa0eaaa03491"; }; propagatedBuildInputs = [ libcst google-api-core proto-plus]; From b94a1f842a267892ddbeab454ff9615424074abe Mon Sep 17 00:00:00 2001 From: talyz Date: Mon, 13 Dec 2021 16:21:50 +0100 Subject: [PATCH 19/34] keycloak: 15.0.2 -> 15.1.0 --- pkgs/servers/keycloak/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/keycloak/default.nix b/pkgs/servers/keycloak/default.nix index cd8373f0842..ef168272fe7 100644 --- a/pkgs/servers/keycloak/default.nix +++ b/pkgs/servers/keycloak/default.nix @@ -18,11 +18,11 @@ let in stdenv.mkDerivation rec { pname = "keycloak"; - version = "15.0.2"; + version = "15.1.0"; src = fetchzip { url = "https://github.com/keycloak/keycloak/releases/download/${version}/keycloak-${version}.zip"; - sha256 = "sha256-GlnSsvAYBjRTtabMVrpWUH0EWEdLIe6ud+HIXJqTsqY="; + sha256 = "0s8nvp1ca30569k1a7glbn2zvvchz35s2r8d08fbs5zjngnz3276"; }; nativeBuildInputs = [ makeWrapper ]; From cc8ab71ee920e50241af7c908800968f80b44d30 Mon Sep 17 00:00:00 2001 From: Jonas Heinrich Date: Mon, 13 Dec 2021 17:26:36 +0100 Subject: [PATCH 20/34] nixos/dokuwiki: add passthru test --- pkgs/servers/web-apps/dokuwiki/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/servers/web-apps/dokuwiki/default.nix b/pkgs/servers/web-apps/dokuwiki/default.nix index 1f117346928..7126c5b096e 100644 --- a/pkgs/servers/web-apps/dokuwiki/default.nix +++ b/pkgs/servers/web-apps/dokuwiki/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchFromGitHub, writeText }: +{ lib, stdenv, fetchFromGitHub, writeText, nixosTests }: stdenv.mkDerivation rec { pname = "dokuwiki"; @@ -45,6 +45,10 @@ stdenv.mkDerivation rec { cp ${phpPluginsLocalConfig} $out/share/dokuwiki/conf/plugins.local.php ''; + passthru.tests = { + inherit (nixosTests) dokuwiki; + }; + meta = with lib; { description = "Simple to use and highly versatile Open Source wiki software that doesn't require a database"; license = licenses.gpl2; From cec49712475969f1ad362ebe2355e4128527e852 Mon Sep 17 00:00:00 2001 From: Marek Fajkus Date: Mon, 13 Dec 2021 17:33:42 +0100 Subject: [PATCH 21/34] sublime*: use `curl` instead of `curl.out` in libPath --- pkgs/applications/version-management/sublime-merge/common.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/version-management/sublime-merge/common.nix b/pkgs/applications/version-management/sublime-merge/common.nix index deb79cfdf9c..28c7350ae39 100644 --- a/pkgs/applications/version-management/sublime-merge/common.nix +++ b/pkgs/applications/version-management/sublime-merge/common.nix @@ -17,7 +17,7 @@ let archSha256 = sha256; arch = "x64"; - libPath = lib.makeLibraryPath [ xorg.libX11 glib gtk3 cairo pango curl.out ]; + libPath = lib.makeLibraryPath [ xorg.libX11 glib gtk3 cairo pango curl ]; redirects = [ "/usr/bin/pkexec=${pkexecPath}" "/bin/true=${coreutils}/bin/true" ]; in let binaryPackage = stdenv.mkDerivation { From 38f27865b13cb4971cf2f6212b37bba1ad04a147 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 13 Dec 2021 16:36:28 +0000 Subject: [PATCH 22/34] logseq: 0.5.2 -> 0.5.3 --- pkgs/applications/misc/logseq/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/logseq/default.nix b/pkgs/applications/misc/logseq/default.nix index 55d815400fa..35e3a8eeb63 100644 --- a/pkgs/applications/misc/logseq/default.nix +++ b/pkgs/applications/misc/logseq/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "logseq"; - version = "0.5.2"; + version = "0.5.3"; src = fetchurl { url = "https://github.com/logseq/logseq/releases/download/${version}/logseq-linux-x64-${version}.AppImage"; - sha256 = "ZlyteVTwP5oM32G+yUzCOmu6b/b19RVLmlEvyOz5hu0="; + sha256 = "xHjT2QbZBfPc0i+tsY/hXo+oY8djJiMnM7GraHVvUHs="; name = "${pname}-${version}.AppImage"; }; From a6d02a52140017e5d10ad702620cdc6829b2ee91 Mon Sep 17 00:00:00 2001 From: Evgeny Zemtsov Date: Thu, 9 Dec 2021 18:19:59 +0100 Subject: [PATCH 23/34] buildDotnetModule: support optional nupkg packing --- doc/languages-frameworks/dotnet.section.md | 6 +++++- .../build-dotnet-module/default.nix | 17 ++++++++++++++++- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/doc/languages-frameworks/dotnet.section.md b/doc/languages-frameworks/dotnet.section.md index f3d9fb87573..b7907014cf4 100644 --- a/doc/languages-frameworks/dotnet.section.md +++ b/doc/languages-frameworks/dotnet.section.md @@ -73,6 +73,7 @@ To package Dotnet applications, you can use `buildDotnetModule`. This has simila * `projectFile` has to be used for specifying the dotnet project file relative to the source root. These usually have `.sln` or `.csproj` file extensions. This can be an array of multiple projects as well. * `nugetDeps` has to be used to specify the NuGet dependency file. Unfortunately, these cannot be deterministically fetched without a lockfile. This file should be generated using `nuget-to-nix` tool, which is available in nixpkgs. +* `packNupkg` is used to pack project as a `nupkg`, and installs it to `$out/share`. If set to `true`, the derivation can be used as a dependency for another dotnet project by adding it to `projectReferences`. * `executables` is used to specify which executables get wrapped to `$out/bin`, relative to `$out/lib/$pname`. If this is unset, all executables generated will get installed. If you do not want to install any, set this to `[]`. * `runtimeDeps` is used to wrap libraries into `LD_LIBRARY_PATH`. This is how dotnet usually handles runtime dependencies. * `buildType` is used to change the type of build. Possible values are `Release`, `Debug`, etc. By default, this is set to `Release`. @@ -83,8 +84,9 @@ To package Dotnet applications, you can use `buildDotnetModule`. This has simila * `disabledTests` is used to disable running specific unit tests. This gets passed as: `dotnet test --filter "FullyQualifiedName!={}"`, to ensure compatibility with all unit test frameworks. * `dotnetRestoreFlags` can be used to pass flags to `dotnet restore`. * `dotnetBuildFlags` can be used to pass flags to `dotnet build`. -* `dotnetTestFlags` can be used to pass flags to `dotnet test`. +* `dotnetTestFlags` can be used to pass flags to `dotnet test`. Used only if `doCheck` is set to `true`. * `dotnetInstallFlags` can be used to pass flags to `dotnet install`. +* `dotnetPackFlags` can be used to pass flags to `dotnet pack`. Used only if `packNupkg` is set to `true`. * `dotnetFlags` can be used to pass flags to all of the above phases. Here is an example `default.nix`, using some of the previously discussed arguments: @@ -107,6 +109,8 @@ buildDotnetModule rec { executables = [ "foo" ]; # This wraps "$out/lib/$pname/foo" to `$out/bin/foo`. executables = []; # Don't install any executables. + packNupkg = true; # This packs the project as "foo-0.1.nupkg" at `$out/share`. + runtimeDeps = [ ffmpeg ]; # This will wrap ffmpeg's library path into `LD_LIBRARY_PATH`. } ``` diff --git a/pkgs/build-support/build-dotnet-module/default.nix b/pkgs/build-support/build-dotnet-module/default.nix index 5178e08a9c7..637924b056a 100644 --- a/pkgs/build-support/build-dotnet-module/default.nix +++ b/pkgs/build-support/build-dotnet-module/default.nix @@ -14,6 +14,8 @@ , dotnetTestFlags ? [] # Flags to pass to `dotnet install`. , dotnetInstallFlags ? [] +# Flags to pass to `dotnet pack`. +, dotnetPackFlags ? [] # Flags to pass to dotnet in all phases. , dotnetFlags ? [] @@ -21,6 +23,8 @@ # Unfortunately, dotnet has no method for doing this automatically. # If unset, all executables in the projects root will get installed. This may cause bloat! , executables ? null +# Packs a project as a `nupkg`, and installs it to `$out/share`. If set to `true`, the derivation can be used as a dependency for another dotnet project by adding it to `projectReferences`. +, packNupkg ? false # The packages project file, which contains instructions on how to compile it. This can be an array of multiple project files as well. , projectFile ? null # The NuGet dependency file. This locks all NuGet dependency versions, as otherwise they cannot be deterministically fetched. @@ -167,7 +171,18 @@ let "''${dotnetInstallFlags[@]}" \ "''${dotnetFlags[@]}" done - '' + (if executables != null then '' + '' + (lib.optionalString packNupkg '' + for project in ''${projectFile[@]}; do + dotnet pack "$project" \ + -p:ContinuousIntegrationBuild=true \ + -p:Deterministic=true \ + --output $out/share \ + --configuration "$buildType" \ + --no-build \ + "''${dotnetPackFlags[@]}" \ + "''${dotnetFlags[@]}" + done + '') + (if executables != null then '' for executable in $executables; do execPath="$out/lib/${args.pname}/$executable" From 06477cccf74328cad4b77152d5426b1efed392ca Mon Sep 17 00:00:00 2001 From: Evgeny Zemtsov Date: Thu, 9 Dec 2021 20:17:12 +0100 Subject: [PATCH 24/34] buildDotnetModule: support local project references --- doc/languages-frameworks/dotnet.section.md | 15 ++++++++++++++- .../build-support/build-dotnet-module/default.nix | 12 ++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/doc/languages-frameworks/dotnet.section.md b/doc/languages-frameworks/dotnet.section.md index b7907014cf4..94d97a970db 100644 --- a/doc/languages-frameworks/dotnet.section.md +++ b/doc/languages-frameworks/dotnet.section.md @@ -74,6 +74,16 @@ To package Dotnet applications, you can use `buildDotnetModule`. This has simila * `projectFile` has to be used for specifying the dotnet project file relative to the source root. These usually have `.sln` or `.csproj` file extensions. This can be an array of multiple projects as well. * `nugetDeps` has to be used to specify the NuGet dependency file. Unfortunately, these cannot be deterministically fetched without a lockfile. This file should be generated using `nuget-to-nix` tool, which is available in nixpkgs. * `packNupkg` is used to pack project as a `nupkg`, and installs it to `$out/share`. If set to `true`, the derivation can be used as a dependency for another dotnet project by adding it to `projectReferences`. +* `projectReferences` can be used to resolve `ProjectReference` project items. Referenced projects can be packed with `buildDotnetModule` by setting the `packNupkg = true` attribute and passing a list of derivations to `projectReferences`. Since we are sharing referenced projects as NuGets they must be added to csproj/fsproj files as `PackageReference` as well. + For example, your project has a local dependency: + ```xml + + ``` + To enable discovery through `projectReferences` you would need to add: + ```xml + + + ``` * `executables` is used to specify which executables get wrapped to `$out/bin`, relative to `$out/lib/$pname`. If this is unset, all executables generated will get installed. If you do not want to install any, set this to `[]`. * `runtimeDeps` is used to wrap libraries into `LD_LIBRARY_PATH`. This is how dotnet usually handles runtime dependencies. * `buildType` is used to change the type of build. Possible values are `Release`, `Debug`, etc. By default, this is set to `Release`. @@ -93,7 +103,9 @@ Here is an example `default.nix`, using some of the previously discussed argumen ```nix { lib, buildDotnetModule, dotnetCorePackages, ffmpeg }: -buildDotnetModule rec { +let + referencedProject = import ../../bar { ... }; +in buildDotnetModule rec { pname = "someDotnetApplication"; version = "0.1"; @@ -101,6 +113,7 @@ buildDotnetModule rec { projectFile = "src/project.sln"; nugetDeps = ./deps.nix; # File generated with `nuget-to-nix path/to/src > deps.nix`. + projectReferences = [ referencedProject ]; # `referencedProject` must contain `nupkg` in the folder structure. dotnet-sdk = dotnetCorePackages.sdk_3_1; dotnet-runtime = dotnetCorePackages.net_5_0; diff --git a/pkgs/build-support/build-dotnet-module/default.nix b/pkgs/build-support/build-dotnet-module/default.nix index 637924b056a..7e56e70bf8b 100644 --- a/pkgs/build-support/build-dotnet-module/default.nix +++ b/pkgs/build-support/build-dotnet-module/default.nix @@ -30,6 +30,15 @@ # The NuGet dependency file. This locks all NuGet dependency versions, as otherwise they cannot be deterministically fetched. # This can be generated using the `nuget-to-nix` tool. , nugetDeps ? null +# A list of derivations containing nupkg packages for local project references. +# Referenced derivations can be built with `buildDotnetModule` with `packNupkg=true` flag. +# Since we are sharing them as nugets they must be added to csproj/fsproj files as `PackageReference` as well. +# For example, your project has a local dependency: +# +# To enable discovery through `projectReferences` you would need to add a line: +# +# +, projectReferences ? [] # Libraries that need to be available at runtime should be passed through this. # These get wrapped into `LD_LIBRARY_PATH`. , runtimeDeps ? [] @@ -64,6 +73,7 @@ let inherit sha256; }; }); + _localDeps = linkFarmFromDrvs "${name}-local-nuget-deps" projectReferences; nuget-source = stdenvNoCC.mkDerivation rec { name = "${args.pname}-nuget-source"; @@ -76,6 +86,8 @@ let nuget sources Add -Name nixos -Source "$out/lib" nuget init "${_nugetDeps}" "$out/lib" + ${lib.optionalString (projectReferences != []) + "nuget init \"${_localDeps}\" \"$out/lib\""} # Generates a list of all unique licenses' spdx ids. find "$out/lib" -name "*.nuspec" -exec sh -c \ From d1292f8bfabaa509fbbfbac4d78678e177a323a7 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 13 Dec 2021 21:05:11 +0000 Subject: [PATCH 25/34] python38Packages.faraday-plugins: 1.5.7 -> 1.5.8 --- pkgs/development/python-modules/faraday-plugins/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/faraday-plugins/default.nix b/pkgs/development/python-modules/faraday-plugins/default.nix index 3aae84e2a24..ec55bff8326 100644 --- a/pkgs/development/python-modules/faraday-plugins/default.nix +++ b/pkgs/development/python-modules/faraday-plugins/default.nix @@ -16,14 +16,14 @@ buildPythonPackage rec { pname = "faraday-plugins"; - version = "1.5.7"; + version = "1.5.8"; format = "setuptools"; src = fetchFromGitHub { owner = "infobyte"; repo = "faraday_plugins"; rev = "v${version}"; - sha256 = "sha256-EW9p5r7RwWohNGwbITtDrEd1FYLtOwWXhVWFgPCG+Po="; + sha256 = "1r415g2f0cid8nr3y27ipx9hvwzh70l5wp0d7nv25qblc7g38mms"; }; propagatedBuildInputs = [ From d7b6075cdc540a628611f0f696f10227f373ac8b Mon Sep 17 00:00:00 2001 From: Tim Zook Date: Sun, 12 Dec 2021 13:56:58 -0600 Subject: [PATCH 26/34] sublime4: add libcurl to application library path See https://github.com/NixOS/nixpkgs/issues/146635 --- pkgs/applications/editors/sublime/4/common.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/editors/sublime/4/common.nix b/pkgs/applications/editors/sublime/4/common.nix index 13eabde14e6..81eaa442425 100644 --- a/pkgs/applications/editors/sublime/4/common.nix +++ b/pkgs/applications/editors/sublime/4/common.nix @@ -23,7 +23,7 @@ let "x86_64-linux" = "x64"; }.${stdenv.hostPlatform.system}; - libPath = lib.makeLibraryPath [ xorg.libX11 xorg.libXtst glib libglvnd openssl gtk3 cairo pango ]; + libPath = lib.makeLibraryPath [ xorg.libX11 xorg.libXtst glib libglvnd openssl gtk3 cairo pango curl ]; in let binaryPackage = stdenv.mkDerivation { pname = "${pname}-bin"; From d2d9d4c862b37eb85358d9bc8c1b869e131cd341 Mon Sep 17 00:00:00 2001 From: Joerie de Gram Date: Tue, 14 Dec 2021 00:12:23 +0100 Subject: [PATCH 27/34] apache-jena: 4.2.0 -> 4.3.1; apache-jena-fuseki: 4.2.0 -> 4.3.1 Fixes CVE-2021-44228. See #150288. --- pkgs/servers/nosql/apache-jena/binary.nix | 6 +++--- pkgs/servers/nosql/apache-jena/fuseki-binary.nix | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/servers/nosql/apache-jena/binary.nix b/pkgs/servers/nosql/apache-jena/binary.nix index 2ceb4afc0cd..0a86d1438c3 100644 --- a/pkgs/servers/nosql/apache-jena/binary.nix +++ b/pkgs/servers/nosql/apache-jena/binary.nix @@ -3,10 +3,10 @@ let s = # Generated upstream information rec { baseName="apache-jena"; - version = "4.2.0"; + version = "4.3.1"; name="${baseName}-${version}"; - url="http://archive.apache.org/dist/jena/binaries/apache-jena-${version}.tar.gz"; - sha256 = "1yiqlsp1g2fladal8mj164b9s0qsl5csllg54p7x7w63wf7gixnq"; + url="https://dlcdn.apache.org/jena/binaries/apache-jena-${version}.tar.gz"; + sha256 = "02asp88smayn68hc019fwp0si9mc79vxn8py7qhx3qzwjk6j9p71"; }; buildInputs = [ makeWrapper diff --git a/pkgs/servers/nosql/apache-jena/fuseki-binary.nix b/pkgs/servers/nosql/apache-jena/fuseki-binary.nix index 9be009f3b1f..849827c075d 100644 --- a/pkgs/servers/nosql/apache-jena/fuseki-binary.nix +++ b/pkgs/servers/nosql/apache-jena/fuseki-binary.nix @@ -3,10 +3,10 @@ let s = # Generated upstream information rec { baseName="apache-jena-fuseki"; - version = "4.2.0"; + version = "4.3.1"; name="${baseName}-${version}"; - url="http://archive.apache.org/dist/jena/binaries/apache-jena-fuseki-${version}.tar.gz"; - sha256 = "1x3va4yqmxh55lhr6ms85ks9v0lqkl3y41h0bpjdycp8j96lsy3h"; + url="https://dlcdn.apache.org/jena/binaries/apache-jena-fuseki-${version}.tar.gz"; + sha256 = "1r0vfa7d55lzw22yfx46mxxmz8x8pkr666vggqw2m1rzzj52z9nx"; }; buildInputs = [ makeWrapper From d7df903f68b7c4ea8ca7bddf5239d77e8ed972d1 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 14 Dec 2021 02:10:28 +0000 Subject: [PATCH 28/34] python38Packages.faraday-agent-parameters-types: 1.0.2 -> 1.0.3 --- .../python-modules/faraday-agent-parameters-types/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/faraday-agent-parameters-types/default.nix b/pkgs/development/python-modules/faraday-agent-parameters-types/default.nix index 427c6d5c48d..544cb93bca4 100644 --- a/pkgs/development/python-modules/faraday-agent-parameters-types/default.nix +++ b/pkgs/development/python-modules/faraday-agent-parameters-types/default.nix @@ -7,12 +7,12 @@ buildPythonPackage rec { pname = "faraday-agent-parameters-types"; - version = "1.0.2"; + version = "1.0.3"; src = fetchPypi { pname = "faraday_agent_parameters_types"; inherit version; - sha256 = "sha256-zH/ZkqL+kL3J1o7dhB4WYy2tbofFZm+kxEGn5+nRgjc="; + sha256 = "6155669db477c3330c0850814eabe231bbbadf9d2ec57b4f734994f76eaee0e7"; }; propagatedBuildInputs = [ From a70b1eb630989571388019a9c7b2714eafaedc1b Mon Sep 17 00:00:00 2001 From: pennae Date: Tue, 14 Dec 2021 03:41:09 +0100 Subject: [PATCH 29/34] nixos/lib/make-options-doc: fix with nix 2.3 --- nixos/lib/make-options-doc/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/lib/make-options-doc/default.nix b/nixos/lib/make-options-doc/default.nix index 493006c92e7..44bc25be923 100644 --- a/nixos/lib/make-options-doc/default.nix +++ b/nixos/lib/make-options-doc/default.nix @@ -118,8 +118,9 @@ in rec { # The actual generation of the xml file is done in nix purely for the convenience # of not having to generate the xml some other way optionsXML = pkgs.runCommand "options.xml" {} '' + export NIX_STORE_DIR=$TMPDIR/store + export NIX_STATE_DIR=$TMPDIR/state ${pkgs.nix}/bin/nix-instantiate \ - --store dummy:// \ --eval --xml --strict ${./optionsJSONtoXML.nix} \ --argstr file ${optionsJSON}/share/doc/nixos/options.json \ > "$out" From 7747c15593096b991953c65c8003a0e7cb00fefe Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Mon, 22 Nov 2021 23:38:50 +0800 Subject: [PATCH 30/34] v2ray-geoip: init at 202112090029 --- pkgs/data/misc/v2ray-geoip/default.nix | 28 ++++++++++++++++++++++++++ pkgs/data/misc/v2ray-geoip/update.sh | 6 ++++++ pkgs/top-level/all-packages.nix | 2 ++ 3 files changed, 36 insertions(+) create mode 100644 pkgs/data/misc/v2ray-geoip/default.nix create mode 100755 pkgs/data/misc/v2ray-geoip/update.sh diff --git a/pkgs/data/misc/v2ray-geoip/default.nix b/pkgs/data/misc/v2ray-geoip/default.nix new file mode 100644 index 00000000000..7187dec537a --- /dev/null +++ b/pkgs/data/misc/v2ray-geoip/default.nix @@ -0,0 +1,28 @@ +{ lib, stdenv, fetchFromGitHub }: + +stdenv.mkDerivation rec { + pname = "v2ray-geoip"; + version = "202112090029"; + + src = fetchFromGitHub { + owner = "v2fly"; + repo = "geoip"; + rev = "97f4acb31d926ae31bb3cdc5c8948d8dcdddca79"; + sha256 = "sha256-kYMp/D7xVpBTu35YXq45bR2XebpVOW57UAc7H/6px/U="; + }; + + installPhase = '' + runHook preInstall + install -m 0644 geoip.dat -D $out/share/v2ray/geoip.dat + runHook postInstall + ''; + + passthru.updateScript = ./update.sh; + + meta = with lib; { + description = "GeoIP for V2Ray"; + homepage = "https://github.com/v2fly/geoip"; + license = licenses.cc-by-sa-40; + maintainers = with maintainers; [ nickcao ]; + }; +} diff --git a/pkgs/data/misc/v2ray-geoip/update.sh b/pkgs/data/misc/v2ray-geoip/update.sh new file mode 100755 index 00000000000..e39012e30a5 --- /dev/null +++ b/pkgs/data/misc/v2ray-geoip/update.sh @@ -0,0 +1,6 @@ +#! /usr/bin/env nix-shell +#! nix-shell -i bash -p common-updater-scripts curl jq +set -euo pipefail + +COMMIT=$(curl "https://api.github.com/repos/v2fly/geoip/commits/release?per_page=1") +update-source-version v2ray-geoip "$(echo $COMMIT | jq -r .commit.message)" --file=pkgs/data/misc/v2ray-geoip/default.nix --rev="$(echo $COMMIT | jq -r .sha)" diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 0940dc15be8..ad90577a7e5 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10454,6 +10454,8 @@ with pkgs; v2ray-domain-list-community = callPackage ../data/misc/v2ray-domain-list-community { }; + v2ray-geoip = callPackage ../data/misc/v2ray-geoip { }; + vacuum = callPackage ../applications/networking/instant-messengers/vacuum {}; vampire = callPackage ../applications/science/logic/vampire {}; From f42e1dd9e41d72bead00b776822f81556221ddbd Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Tue, 7 Dec 2021 08:51:00 +0100 Subject: [PATCH 31/34] ocamlPackages.pa_bench: remove at 113.00.00 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is a legacy package for OCaml ≤ 4.02 --- .../ocaml-modules/pa_bench/default.nix | 25 ------------------- pkgs/top-level/ocaml-packages.nix | 2 -- 2 files changed, 27 deletions(-) delete mode 100644 pkgs/development/ocaml-modules/pa_bench/default.nix diff --git a/pkgs/development/ocaml-modules/pa_bench/default.nix b/pkgs/development/ocaml-modules/pa_bench/default.nix deleted file mode 100644 index 61f118ce1d0..00000000000 --- a/pkgs/development/ocaml-modules/pa_bench/default.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ lib, buildOcaml, fetchFromGitHub, type_conv, pa_ounit }: - -buildOcaml rec { - pname = "pa_bench"; - version = "113.00.00"; - - minimumSupportedOcamlVersion = "4.00"; - - src = fetchFromGitHub { - owner = "janestreet"; - repo = "pa_bench"; - rev = version; - sha256 = "sha256-WaXB3lgNPHy/z6D7uHxfD5W4HYuTZ+ieRbxxHlPao7c="; - }; - - buildInputs = [ pa_ounit ]; - propagatedBuildInputs = [ type_conv ]; - - meta = with lib; { - homepage = "https://github.com/janestreet/pa_bench"; - description = "Syntax extension for inline benchmarks"; - license = licenses.asl20; - maintainers = [ maintainers.ericbmerritt ]; - }; -} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 39fd58dcd77..9724056a10c 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -1128,8 +1128,6 @@ let pa_ounit = callPackage ../development/ocaml-modules/pa_ounit { }; - pa_bench = callPackage ../development/ocaml-modules/pa_bench { }; - parany = callPackage ../development/ocaml-modules/parany { }; pipebang = callPackage ../development/ocaml-modules/pipebang { }; From 293e9224cc445afed62fab90078beca2a40e42ff Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Tue, 7 Dec 2021 08:51:05 +0100 Subject: [PATCH 32/34] ocamlPackages.pa_ounit: remove at 113.00.00 --- .../ocaml-modules/pa_ounit/default.nix | 26 ------------------- pkgs/top-level/ocaml-packages.nix | 2 -- 2 files changed, 28 deletions(-) delete mode 100644 pkgs/development/ocaml-modules/pa_ounit/default.nix diff --git a/pkgs/development/ocaml-modules/pa_ounit/default.nix b/pkgs/development/ocaml-modules/pa_ounit/default.nix deleted file mode 100644 index b007b241f37..00000000000 --- a/pkgs/development/ocaml-modules/pa_ounit/default.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ lib, buildOcaml, ocaml, fetchFromGitHub, ounit }: - -if lib.versionAtLeast ocaml.version "4.06" -then throw "pa_ounit is not available for OCaml ${ocaml.version}" -else - -buildOcaml rec { - pname = "pa_ounit"; - version = "113.00.00"; - - src = fetchFromGitHub { - owner = "janestreet"; - repo = "pa_ounit"; - rev = version; - sha256 = "sha256-zzXN+mSJtlnQ3e1QoEukCiyfDEoe8cBdkAQ3U1dkvEk="; - }; - - propagatedBuildInputs = [ ounit ]; - - meta = with lib; { - homepage = "https://github.com/janestreet/pa_ounit"; - description = "OCaml inline testing"; - license = licenses.asl20; - maintainers = [ maintainers.ericbmerritt ]; - }; -} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 9724056a10c..b80eb3f0e55 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -1126,8 +1126,6 @@ let ocurl = callPackage ../development/ocaml-modules/ocurl { }; - pa_ounit = callPackage ../development/ocaml-modules/pa_ounit { }; - parany = callPackage ../development/ocaml-modules/parany { }; pipebang = callPackage ../development/ocaml-modules/pipebang { }; From b83b5dc1ecc6cc2652d62e431b7df143b60798b1 Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Sun, 5 Dec 2021 23:47:34 +0100 Subject: [PATCH 33/34] vice: 3.1 -> 3.5 --- pkgs/misc/emulators/vice/default.nix | 69 +++++++++++++++++++++------- 1 file changed, 53 insertions(+), 16 deletions(-) diff --git a/pkgs/misc/emulators/vice/default.nix b/pkgs/misc/emulators/vice/default.nix index ba9d538b663..00819e3b35c 100644 --- a/pkgs/misc/emulators/vice/default.nix +++ b/pkgs/misc/emulators/vice/default.nix @@ -1,20 +1,63 @@ -{ lib, stdenv, fetchurl, bison, flex, perl, libpng, giflib, libjpeg, alsa-lib, readline, libGLU, libGL, libXaw -, pkg-config, gtk2, SDL, autoreconfHook, makeDesktopItem +{ lib +, stdenv +, fetchurl +, bison +, flex +, perl +, libpng +, giflib +, libjpeg +, alsa-lib +, readline +, libGLU +, libGL +, libXaw +, pkg-config +, gtk2 +, SDL +, SDL_image +, autoreconfHook +, makeDesktopItem +, dos2unix +, xa +, file }: stdenv.mkDerivation rec { pname = "vice"; - version = "3.1"; + version = "3.5"; src = fetchurl { url = "mirror://sourceforge/vice-emu/vice-${version}.tar.gz"; - sha256 = "0h0jbml02s2a36hr78dxv1zshmfhxp1wadpcdl09aq416fb1bf1y"; + sha256 = "sha256-Vrl4+q64solgMr1gTQPDUBACGH7vHKWM7O1A8Rpl3A4="; }; - buildInputs = [ bison flex perl libpng giflib libjpeg alsa-lib readline libGLU libGL - pkg-config gtk2 SDL autoreconfHook libXaw ]; + nativeBuildInputs = [ + autoreconfHook + bison + dos2unix + file + flex + pkg-config + ]; + + buildInputs = [ + alsa-lib + giflib + gtk2 + libGL + libGLU + libXaw + libjpeg + libpng + perl + readline + SDL + SDL_image + xa + ]; dontDisableStatic = true; - configureFlags = [ "--enable-fullscreen --enable-gnomeui" ]; + configureFlags = [ "--enable-fullscreen" "--enable-gnomeui" "--disable-pdf-docs" ]; desktopItem = makeDesktopItem { name = "vice"; @@ -28,16 +71,10 @@ stdenv.mkDerivation rec { preBuild = '' for i in src/resid src/resid-dtv do - mkdir -pv $i/src - ln -sv ../../wrap-u-ar.sh $i/src + mkdir -pv $i/src + ln -sv ../../wrap-u-ar.sh $i/src done ''; - patchPhase = '' - # Disable font-cache update - sed -i -e "s|install: install-data-am|install-no: install-data-am|" data/fonts/Makefile.am - ''; - - #NIX_LDFLAGS = "-lX11 -L${libX11}/lib"; postInstall = '' mkdir -p $out/share/applications @@ -46,7 +83,7 @@ stdenv.mkDerivation rec { meta = { description = "Commodore 64, 128 and other emulators"; - homepage = "http://www.viceteam.org"; + homepage = "https://vice-emu.sourceforge.io/"; license = lib.licenses.gpl2Plus; maintainers = [ lib.maintainers.sander ]; platforms = lib.platforms.linux; From 768b496015b73ad387b3c86a50446f82451b61b0 Mon Sep 17 00:00:00 2001 From: Josh Cooper Date: Tue, 14 Dec 2021 18:23:47 +0900 Subject: [PATCH 34/34] zathura: add mainProgram --- pkgs/applications/misc/zathura/wrapper.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/misc/zathura/wrapper.nix b/pkgs/applications/misc/zathura/wrapper.nix index 49f78729a31..ccbde19d2aa 100644 --- a/pkgs/applications/misc/zathura/wrapper.nix +++ b/pkgs/applications/misc/zathura/wrapper.nix @@ -33,5 +33,6 @@ symlinkJoin { license = licenses.zlib; platforms = platforms.unix; maintainers = with maintainers; [ smironov globin TethysSvensson ]; + mainProgram = "zathura"; }; }