From fa01afcf7f4d98dc7953fb3ac22f68108d4a57d7 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Sun, 12 Jun 2022 08:26:50 +0200 Subject: [PATCH 01/22] doc: Promote config Options Reference to sub-chapter section It was hidden in the insecure packages section. - Lift it out. - Add an id --- doc/using/configuration.chapter.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/doc/using/configuration.chapter.md b/doc/using/configuration.chapter.md index 842450ebf47..2445aa32f2a 100644 --- a/doc/using/configuration.chapter.md +++ b/doc/using/configuration.chapter.md @@ -164,14 +164,6 @@ There are several ways to tweak how Nix handles a package which has been marked Note that `permittedInsecurePackages` is only checked if `allowInsecurePredicate` is not specified. -### `config` Options Reference - -The following attributes can be passed in [`config`](#chap-packageconfig). - -```{=docbook} - -``` - ## Modify packages via `packageOverrides` {#sec-modify-via-packageOverrides} You can define a function called `packageOverrides` in your local `~/.config/nixpkgs/config.nix` to override Nix packages. It must be a function that takes pkgs as an argument and returns a modified set of packages. @@ -184,6 +176,15 @@ You can define a function called `packageOverrides` in your local `~/.config/nix } ``` +## `config` Options Reference {#sec-config-options-reference} + +The following attributes can be passed in [`config`](#chap-packageconfig). + +```{=docbook} + +``` + + ## Declarative Package Management {#sec-declarative-package-management} ### Build an environment {#sec-building-environment} From 02bd9fccc35e6eb1c90a565246685a64bb48691c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 13 Jun 2022 11:44:13 +0200 Subject: [PATCH 02/22] python310Packages.pyroute2-core: 0.6.11 -> 0.6.12 --- pkgs/development/python-modules/pyroute2-core/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyroute2-core/default.nix b/pkgs/development/python-modules/pyroute2-core/default.nix index 096085a2710..085e0059a9d 100644 --- a/pkgs/development/python-modules/pyroute2-core/default.nix +++ b/pkgs/development/python-modules/pyroute2-core/default.nix @@ -7,7 +7,7 @@ buildPythonPackage rec { pname = "pyroute2-core"; - version = "0.6.11"; + version = "0.6.12"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -15,7 +15,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "pyroute2.core"; inherit version; - hash = "sha256-9Odxls1lje7pUCu0UkhfQIgbL2dOZQkiV1J/kgfgxGw="; + hash = "sha256-uzb8nlAOHNtNq205/sJPoJtvMoo7uCFfrRQas/rv8p8="; }; # pyroute2 sub-modules have no tests From 5fb659f697125a6e3ba50f033821348087d45dbd Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 13 Jun 2022 11:44:18 +0200 Subject: [PATCH 03/22] python310Packages.pyroute2-ethtool: 0.6.11 -> 0.6.12 --- pkgs/development/python-modules/pyroute2-ethtool/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyroute2-ethtool/default.nix b/pkgs/development/python-modules/pyroute2-ethtool/default.nix index ba0f2a054e1..93699e161b8 100644 --- a/pkgs/development/python-modules/pyroute2-ethtool/default.nix +++ b/pkgs/development/python-modules/pyroute2-ethtool/default.nix @@ -7,7 +7,7 @@ buildPythonPackage rec { pname = "pyroute2-ethtool"; - version = "0.6.11"; + version = "0.6.12"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -15,7 +15,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "pyroute2.ethtool"; inherit version; - hash = "sha256-3xFsK50WtnRS8ImEWU4Hke9Ndp1Asm4wPEBfQT1rYXU="; + hash = "sha256-MwIRm/DezL7yCN682Yckxd23+iri2V6HCokF4G36apU="; }; propagatedBuildInputs = [ From 3341e2c570534a734882187a94d53ca6032ad996 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 13 Jun 2022 11:44:23 +0200 Subject: [PATCH 04/22] python310Packages.pyroute2-ipdb: 0.6.11 -> 0.6.12 --- pkgs/development/python-modules/pyroute2-ipdb/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyroute2-ipdb/default.nix b/pkgs/development/python-modules/pyroute2-ipdb/default.nix index 944b1ab4cfc..0c11d6f85ce 100644 --- a/pkgs/development/python-modules/pyroute2-ipdb/default.nix +++ b/pkgs/development/python-modules/pyroute2-ipdb/default.nix @@ -7,7 +7,7 @@ buildPythonPackage rec { pname = "pyroute2-ipdb"; - version = "0.6.11"; + version = "0.6.12"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -15,7 +15,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "pyroute2.ipdb"; inherit version; - hash = "sha256-UTP5LuZbBukfDpQPJ+N5ZFtKGFJppZfpsISnsm9eabs="; + hash = "sha256-hKh5SFFMdhECeMyA3Quzqp7h+iQMMmCYBJEuLEq5dVs="; }; propagatedBuildInputs = [ From 002a5c995517125cff49539591461bd52d4355a6 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 13 Jun 2022 11:44:28 +0200 Subject: [PATCH 05/22] python310Packages.pyroute2-ndb: 0.6.11 -> 0.6.12 --- pkgs/development/python-modules/pyroute2-ndb/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyroute2-ndb/default.nix b/pkgs/development/python-modules/pyroute2-ndb/default.nix index 9bf7414c79f..6965dfaf8a5 100644 --- a/pkgs/development/python-modules/pyroute2-ndb/default.nix +++ b/pkgs/development/python-modules/pyroute2-ndb/default.nix @@ -7,7 +7,7 @@ buildPythonPackage rec { pname = "pyroute2-ndb"; - version = "0.6.11"; + version = "0.6.12"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -15,7 +15,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "pyroute2.ndb"; inherit version; - hash = "sha256-jz956VgO9Z9ZPlMQobB34wd04Og/XV7IP+J58htdk+Y="; + hash = "sha256-Oc+uaqftRH6Dw3Sa2G1rZ3Mx2u81ErKIyz8xhnA1QgI="; }; propagatedBuildInputs = [ From f6301f1ac5d4bfcaaba0bffcaf5fa6b205b7e60c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 13 Jun 2022 11:44:33 +0200 Subject: [PATCH 06/22] python310Packages.pyroute2-nftables: 0.6.11 -> 0.6.12 --- pkgs/development/python-modules/pyroute2-nftables/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyroute2-nftables/default.nix b/pkgs/development/python-modules/pyroute2-nftables/default.nix index a251c34a8b2..19850bb9f2f 100644 --- a/pkgs/development/python-modules/pyroute2-nftables/default.nix +++ b/pkgs/development/python-modules/pyroute2-nftables/default.nix @@ -6,12 +6,12 @@ buildPythonPackage rec { pname = "pyroute2-nftables"; - version = "0.6.11"; + version = "0.6.12"; src = fetchPypi { pname = "pyroute2.nftables"; inherit version; - sha256 = "sha256-2SHAH4HBcXknCa2rdHk1s+ju+IN5ndcLPD8dgSGagqU="; + sha256 = "sha256-jy04M73r49LxfbHAuDgSaoFWmkc0O/jPJwdDlW8YCSc="; }; propagatedBuildInputs = [ From d85e4c28730447a78c44a7c25d68207346892502 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 13 Jun 2022 11:44:39 +0200 Subject: [PATCH 07/22] python310Packages.pyroute2-nslink: 0.6.11 -> 0.6.12 --- pkgs/development/python-modules/pyroute2-nslink/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyroute2-nslink/default.nix b/pkgs/development/python-modules/pyroute2-nslink/default.nix index af4d6a7a01d..7213556ea95 100644 --- a/pkgs/development/python-modules/pyroute2-nslink/default.nix +++ b/pkgs/development/python-modules/pyroute2-nslink/default.nix @@ -7,7 +7,7 @@ buildPythonPackage rec { pname = "pyroute2-nslink"; - version = "0.6.11"; + version = "0.6.12"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -15,7 +15,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "pyroute2.nslink"; inherit version; - hash = "sha256-R94n1UEceOMmXXbCCkgq6N2JLnp2eqAW4qweIpNI2CI="; + hash = "sha256-c66rD7CyHdyYACIiq1Nfu6rmUsIL9YmFp4Z1gxOFik4="; }; propagatedBuildInputs = [ From 985d6dd96e943ecd6a9fe1155b3362bb98f8be54 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 13 Jun 2022 11:44:44 +0200 Subject: [PATCH 08/22] python310Packages.pyroute2-protocols: 0.6.11 -> 0.6.12 --- .../development/python-modules/pyroute2-protocols/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyroute2-protocols/default.nix b/pkgs/development/python-modules/pyroute2-protocols/default.nix index 9cf62994c3a..700abb2266d 100644 --- a/pkgs/development/python-modules/pyroute2-protocols/default.nix +++ b/pkgs/development/python-modules/pyroute2-protocols/default.nix @@ -7,7 +7,7 @@ buildPythonPackage rec { pname = "pyroute2-protocols"; - version = "0.6.11"; + version = "0.6.12"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -15,7 +15,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "pyroute2.protocols"; inherit version; - hash = "sha256-AnmW9ILlcZh2mwO5fbhY4ZazWSAy2wHJgLp5Anlmxk4="; + hash = "sha256-j83UNlQVjxIyKhOqDsx6yhvMZEfAh54gRjniacCpSxY="; }; propagatedBuildInputs = [ From 0d462f55f3f9e4472e47b29a940b86a25cd33728 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 13 Jun 2022 11:44:49 +0200 Subject: [PATCH 09/22] python310Packages.pyroute2: 0.6.11 -> 0.6.12 --- pkgs/development/python-modules/pyroute2/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyroute2/default.nix b/pkgs/development/python-modules/pyroute2/default.nix index a95356d5819..96835a1be1f 100644 --- a/pkgs/development/python-modules/pyroute2/default.nix +++ b/pkgs/development/python-modules/pyroute2/default.nix @@ -15,14 +15,14 @@ buildPythonPackage rec { pname = "pyroute2"; - version = "0.6.11"; + version = "0.6.12"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-E2NGvmbVUuRUHQZ52/+say4SN9/TnuGpUGL4UCRJF70="; + hash = "sha256-cnUvmx9R+4oUGgf6LpbMlAadVh/EYcNX1ep88gtPTn4="; }; propagatedBuildInputs = [ From 1210f3c24c796bda2889849975081930a225fa26 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 13 Jun 2022 11:44:55 +0200 Subject: [PATCH 10/22] python310Packages.pyroute2-ipset: 0.6.11 -> 0.6.12 --- pkgs/development/python-modules/pyroute2-ipset/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyroute2-ipset/default.nix b/pkgs/development/python-modules/pyroute2-ipset/default.nix index 967b232cd23..6b21283aa90 100644 --- a/pkgs/development/python-modules/pyroute2-ipset/default.nix +++ b/pkgs/development/python-modules/pyroute2-ipset/default.nix @@ -7,7 +7,7 @@ buildPythonPackage rec { pname = "pyroute2-ipset"; - version = "0.6.11"; + version = "0.6.12"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -15,7 +15,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "pyroute2.ipset"; inherit version; - hash = "sha256-uIfclrm1tujUickd5R4uyDHvPExyC2M9mpm5NLF1rts="; + hash = "sha256-nvj7b6HF/XhzqmFg6aOQKMFDEFwAcyOnoJXi/coNvG4="; }; propagatedBuildInputs = [ From 6ca8a3944f8f80d3850d2fac95e7bc0bd07104b4 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 13 Jun 2022 19:18:21 +0200 Subject: [PATCH 11/22] checksec: 2.5.0 -> 2.6.0 --- pkgs/os-specific/linux/checksec/default.nix | 64 ++++++++++++++------- 1 file changed, 42 insertions(+), 22 deletions(-) diff --git a/pkgs/os-specific/linux/checksec/default.nix b/pkgs/os-specific/linux/checksec/default.nix index fada305c372..1bdd4cf5f67 100644 --- a/pkgs/os-specific/linux/checksec/default.nix +++ b/pkgs/os-specific/linux/checksec/default.nix @@ -1,39 +1,59 @@ -{ lib, stdenv, fetchFromGitHub, makeWrapper, file, findutils -, binutils-unwrapped, glibc, coreutils, sysctl, openssl +{ lib +, stdenv +, fetchFromGitHub +, makeWrapper +, file +, findutils +, binutils-unwrapped +, glibc +, coreutils +, sysctl +, openssl }: stdenv.mkDerivation rec { pname = "checksec"; - version = "2.5.0"; + version = "2.6.0"; src = fetchFromGitHub { owner = "slimm609"; repo = "checksec.sh"; rev = version; - sha256 = "sha256-GxWXocz+GCEssRrIQP6E9hjVIhVh2EmZrefELxQlV1Q="; + hash = "sha256-BWtchWXukIDSLJkFX8M/NZBvfi7vUE2j4yFfS0KEZDo="; }; - patches = [ ./0001-attempt-to-modprobe-config-before-checking-kernel.patch ]; - nativeBuildInputs = [ makeWrapper ]; + patches = [ + ./0001-attempt-to-modprobe-config-before-checking-kernel.patch + ]; - installPhase = let - path = lib.makeBinPath [ - findutils file binutils-unwrapped sysctl openssl - ]; - in '' - mkdir -p $out/bin - install checksec $out/bin - substituteInPlace $out/bin/checksec --replace /lib/libc.so.6 ${glibc.out}/lib/libc.so.6 - substituteInPlace $out/bin/checksec --replace "/usr/bin/id -" "${coreutils}/bin/id -" - wrapProgram $out/bin/checksec \ - --prefix PATH : ${path} - ''; + nativeBuildInputs = [ + makeWrapper + ]; + + installPhase = + let + path = lib.makeBinPath [ + findutils + file + binutils-unwrapped + sysctl + openssl + ]; + in + '' + mkdir -p $out/bin + install checksec $out/bin + substituteInPlace $out/bin/checksec --replace /lib/libc.so.6 ${glibc.out}/lib/libc.so.6 + substituteInPlace $out/bin/checksec --replace "/usr/bin/id -" "${coreutils}/bin/id -" + wrapProgram $out/bin/checksec \ + --prefix PATH : ${path} + ''; meta = with lib; { - description = "A tool for checking security bits on executables"; - homepage = "https://www.trapkit.de/tools/checksec/"; - license = licenses.bsd3; - platforms = platforms.linux; + description = "Tool for checking security bits on executables"; + homepage = "https://www.trapkit.de/tools/checksec/"; + license = licenses.bsd3; + platforms = platforms.linux; maintainers = with maintainers; [ thoughtpolice globin ]; }; } From d7fa12bd189895b0510a9087b2e89899fd07892f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 13 Jun 2022 20:10:50 +0200 Subject: [PATCH 12/22] hash-slinger: 3.1 -> 3.2 --- pkgs/tools/security/hash-slinger/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/security/hash-slinger/default.nix b/pkgs/tools/security/hash-slinger/default.nix index e51d93e9d7f..d639c1aa211 100644 --- a/pkgs/tools/security/hash-slinger/default.nix +++ b/pkgs/tools/security/hash-slinger/default.nix @@ -8,13 +8,13 @@ stdenv.mkDerivation rec { pname = "hash-slinger"; - version = "3.1"; + version = "3.2"; src = fetchFromGitHub { owner = "letoams"; repo = pname; rev = version; - sha256 = "sha256-mhMUdZt846QjwRIh2m/4EE+93fUcCKc2FFeoFpzKYvk="; + sha256 = "sha256-PfOEGqPMGLixoqHENZnxOv9nK+dYMqe6P0k+ZiJMik0="; }; pythonPath = with python3.pkgs; [ From 09757c2b254a67568858ac3ef6b5538f1cb413d8 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 13 Jun 2022 20:18:12 +0200 Subject: [PATCH 13/22] haveged: 1.9.17 -> 1.9.18 --- pkgs/tools/security/haveged/default.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/security/haveged/default.nix b/pkgs/tools/security/haveged/default.nix index 2386bb90d1a..c28ae465e0e 100644 --- a/pkgs/tools/security/haveged/default.nix +++ b/pkgs/tools/security/haveged/default.nix @@ -1,14 +1,17 @@ -{ lib, stdenv, fetchFromGitHub }: +{ lib +, stdenv +, fetchFromGitHub +}: stdenv.mkDerivation rec { pname = "haveged"; - version = "1.9.17"; + version = "1.9.18"; src = fetchFromGitHub { owner = "jirka-h"; repo = "haveged"; rev = "v${version}"; - sha256 = "sha256-uVl+TZVMsf+9aRATQndYMK4l4JfOBvstd1O2nTHyMYU="; + hash = "sha256-fyL/J2A13ap582j4gdC8u63Ah67Old+BaO/CLyEeN/g="; }; strictDeps = true; From 0631bf9509f1afcf02edba3ef51326093229ee23 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Mon, 13 Jun 2022 23:49:21 +0200 Subject: [PATCH 14/22] =?UTF-8?q?liblouis:=203.21.0=20=E2=86=92=203.22.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit http://liblouis.org/liblouis/2022/06/07/liblouis-release-3.22.0.html CVE-2022-26981 Also correct license. --- .../libraries/liblouis/default.nix | 22 +++++++------------ 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/pkgs/development/libraries/liblouis/default.nix b/pkgs/development/libraries/liblouis/default.nix index 6f630eedf5b..32e58c9be0b 100644 --- a/pkgs/development/libraries/liblouis/default.nix +++ b/pkgs/development/libraries/liblouis/default.nix @@ -1,7 +1,6 @@ { fetchFromGitHub , lib , stdenv -, fetchpatch , autoreconfHook , pkg-config , gettext @@ -14,25 +13,17 @@ stdenv.mkDerivation rec { pname = "liblouis"; - version = "3.21.0"; + version = "3.22.0"; + + outputs = [ "out" "dev" "man" "info" "doc" ]; src = fetchFromGitHub { owner = "liblouis"; repo = "liblouis"; rev = "v${version}"; - sha256 = "sha256-Hfn0dfXihtUfO3R+qJaetrPwupcIwblvi1DQdHCF1s8="; + sha256 = "sha256-EI/uaHXe0NlqdEw764q0SjerThYEVLRogUlmrsZwXnY="; }; - patches = [ - (fetchpatch { - name = "parenthesize-memcpy-calls-clang.patch"; - url = "https://github.com/liblouis/liblouis/commit/528f38938e9f539a251d9de92ad1c1b90401c4d0.patch"; - sha256 = "0hlhqsvd5wflg70bd7bmssnchk8znzbr93in0zpspzbyap6xz112"; - }) - ]; - - outputs = [ "out" "dev" "man" "info" "doc" ]; - nativeBuildInputs = [ autoreconfHook pkg-config @@ -71,7 +62,10 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Open-source braille translator and back-translator"; homepage = "http://liblouis.org/"; - license = licenses.lgpl21; + license = with licenses; [ + lgpl21Plus # library + gpl3Plus # tools + ]; maintainers = with maintainers; [ jtojnar ]; platforms = platforms.unix; }; From 2e4aac819f8418be158f8a1f6708b2efe636ef21 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 13 Jun 2022 23:53:32 +0200 Subject: [PATCH 15/22] ldapmonitor: init at 1.3 --- pkgs/tools/security/ldapmonitor/default.nix | 40 +++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 42 insertions(+) create mode 100644 pkgs/tools/security/ldapmonitor/default.nix diff --git a/pkgs/tools/security/ldapmonitor/default.nix b/pkgs/tools/security/ldapmonitor/default.nix new file mode 100644 index 00000000000..83035de4d20 --- /dev/null +++ b/pkgs/tools/security/ldapmonitor/default.nix @@ -0,0 +1,40 @@ +{ lib +, fetchFromGitHub +, python3 +}: + +python3.pkgs.buildPythonApplication rec { + pname = "ldapmonitor"; + version = "1.3"; + format = "other"; + + src = fetchFromGitHub { + owner = "p0dalirius"; + repo = pname; + rev = version; + hash = "sha256-lwTXvrnOVodCUQtR8FmCXiPuZ1Wx1ySfDKghpLXNuI4="; + }; + + sourceRoot = "${src.name}/python"; + + propagatedBuildInputs = with python3.pkgs; [ + impacket + ldap + ldap3 + ]; + + installPhase = '' + runHook preInstall + + install -vD pyLDAPmonitor.py $out/bin/ldapmonitor + + runHook postInstall + ''; + + meta = with lib; { + description = "Tool to monitor creation, deletion and changes to LDAP objects"; + homepage = "https://github.com/p0dalirius/LDAPmonitor"; + license = with licenses; [ gpl3Only ]; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 50f97085e47..ae72b3c5d7b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7934,6 +7934,8 @@ with pkgs; lcdf-typetools = callPackage ../tools/misc/lcdf-typetools { }; + ldapmonitor = callPackage ../tools/security/ldapmonitor { }; + ldapvi = callPackage ../tools/misc/ldapvi { }; ldeep = python3Packages.callPackage ../tools/security/ldeep { }; From de77c035c47c1cefc5b252e27b911cffb12e1240 Mon Sep 17 00:00:00 2001 From: Nicolas Benes Date: Tue, 14 Jun 2022 01:08:54 +0200 Subject: [PATCH 16/22] tor-browser-bundle-bin: 11.0.13 -> 11.0.14 --- .../networking/browsers/tor-browser-bundle-bin/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/browsers/tor-browser-bundle-bin/default.nix b/pkgs/applications/networking/browsers/tor-browser-bundle-bin/default.nix index 1023928e4b2..30c9d843578 100644 --- a/pkgs/applications/networking/browsers/tor-browser-bundle-bin/default.nix +++ b/pkgs/applications/networking/browsers/tor-browser-bundle-bin/default.nix @@ -87,7 +87,7 @@ let fteLibPath = makeLibraryPath [ stdenv.cc.cc gmp ]; # Upstream source - version = "11.0.13"; + version = "11.0.14"; lang = "en-US"; @@ -98,7 +98,7 @@ let "https://tor.eff.org/dist/torbrowser/${version}/tor-browser-linux64-${version}_${lang}.tar.xz" "https://tor.calyxinstitute.org/dist/torbrowser/${version}/tor-browser-linux64-${version}_${lang}.tar.xz" ]; - sha256 = "03pzwzgikc43pm0lga61jdzg46fanmvd1wsnb2xkq0y1ny8gsqfz"; + sha256 = "19lsxdxbdismjrv2kmvm10cmr1x5klc2khlmrybycdw2vx7r41mn"; }; i686-linux = fetchurl { @@ -107,7 +107,7 @@ let "https://tor.eff.org/dist/torbrowser/${version}/tor-browser-linux32-${version}_${lang}.tar.xz" "https://tor.calyxinstitute.org/dist/torbrowser/${version}/tor-browser-linux32-${version}_${lang}.tar.xz" ]; - sha256 = "0j8h2g404sagzjxnwf55n8hpvmwk52qhml98nyliajf1xg8v8k19"; + sha256 = "0hkj4vn5jk3z32mdgzzwmhj5xa4mv5p1nnwqhlsbc3g5b5q8bc7q"; }; }; in From f6a39b8d7fef428d553668677069f9c466ea3a1a Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 14 Jun 2022 03:16:17 +0000 Subject: [PATCH 17/22] python310Packages.atom: 0.8.0 -> 0.8.1 --- pkgs/development/python-modules/atom/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/atom/default.nix b/pkgs/development/python-modules/atom/default.nix index 88cfc818e3b..aead82a488d 100644 --- a/pkgs/development/python-modules/atom/default.nix +++ b/pkgs/development/python-modules/atom/default.nix @@ -9,14 +9,14 @@ buildPythonPackage rec { pname = "atom"; - version = "0.8.0"; + version = "0.8.1"; format = "pyproject"; src = fetchFromGitHub { owner = "nucleic"; repo = pname; - rev = version; - hash = "sha256-Xby3QopKw7teShMi80RMG8YdhOOvfQb5vwOuFEUTxHQ="; + rev = "refs/tags/${version}"; + hash = "sha256-odthydKmgbOXYT8YAIn5MlFfH/BD8MMkuRYaiI8OZD4="; }; SETUPTOOLS_SCM_PRETEND_VERSION = version; From 06393550ccb0c8b03cc984d46ab46743cf629e8f Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 14 Jun 2022 03:28:35 +0000 Subject: [PATCH 18/22] python310Packages.peaqevcore: 1.0.11 -> 1.0.14 --- pkgs/development/python-modules/peaqevcore/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/peaqevcore/default.nix b/pkgs/development/python-modules/peaqevcore/default.nix index 0e3ada8d8be..41d910279e5 100644 --- a/pkgs/development/python-modules/peaqevcore/default.nix +++ b/pkgs/development/python-modules/peaqevcore/default.nix @@ -6,14 +6,14 @@ buildPythonPackage rec { pname = "peaqevcore"; - version = "1.0.11"; + version = "1.0.14"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-cY2+H6FiojUEOHuA+wuIubtJKjNQlgten1edWgkoLb0="; + hash = "sha256-zHVi950iUultt66amL22d/7INglJtSOHvWCPUSaw5h4="; }; postPatch = '' From 452ec5da7ac4787585ab39deebb294b923ec263b Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 14 Jun 2022 04:04:38 +0000 Subject: [PATCH 19/22] python310Packages.ghapi: 0.1.20 -> 0.1.21 --- pkgs/development/python-modules/ghapi/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/ghapi/default.nix b/pkgs/development/python-modules/ghapi/default.nix index 3c648b4a456..002dbeaa0c8 100644 --- a/pkgs/development/python-modules/ghapi/default.nix +++ b/pkgs/development/python-modules/ghapi/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "ghapi"; - version = "0.1.20"; + version = "0.1.21"; format = "setuptools"; disabled = pythonOlder "3.8"; @@ -17,8 +17,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "fastai"; repo = "ghapi"; - rev = version; - sha256 = "sha256-Pry+qCHCt+c+uwkLaoTVUY1KblESj6kcNtMfGwK1rfk="; + rev = "refs/tags/${version}"; + sha256 = "sha256-6VcsIcRhIHByd1aPZLIJ+g4o1einHpyJuSamwh1Ag5M="; }; propagatedBuildInputs = [ From bb77639d025689f4dcab1b09dd54cc8c3f0aa71a Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 14 Jun 2022 05:38:58 +0000 Subject: [PATCH 20/22] python310Packages.social-auth-core: 4.2.0 -> 4.3.0 --- .../development/python-modules/social-auth-core/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/social-auth-core/default.nix b/pkgs/development/python-modules/social-auth-core/default.nix index 667c4ec4245..664878411b0 100644 --- a/pkgs/development/python-modules/social-auth-core/default.nix +++ b/pkgs/development/python-modules/social-auth-core/default.nix @@ -16,13 +16,13 @@ buildPythonPackage rec { pname = "social-auth-core"; - version = "4.2.0"; + version = "4.3.0"; src = fetchFromGitHub { owner = "python-social-auth"; repo = "social-core"; - rev = version; - sha256 = "sha256-kaL6sfAyQlzxszCEbhW7sns/mcOv0U+QgplmUd6oegQ="; + rev = "refs/tags/${version}"; + sha256 = "sha256-P9IWnu1/PWVNl/tZZ4bqz0WnruKu/jXASZBoaWXWeYI="; }; # Disable checking the code coverage From 76d82cd78a9ac5a766ec74ff3a0c589692242848 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 14 Jun 2022 08:51:45 +0200 Subject: [PATCH 21/22] python310Packages.social-auth-core: handle optional dependencies --- .../social-auth-core/default.nix | 76 ++++++++++++------- 1 file changed, 48 insertions(+), 28 deletions(-) diff --git a/pkgs/development/python-modules/social-auth-core/default.nix b/pkgs/development/python-modules/social-auth-core/default.nix index 664878411b0..b00e5044c64 100644 --- a/pkgs/development/python-modules/social-auth-core/default.nix +++ b/pkgs/development/python-modules/social-auth-core/default.nix @@ -1,30 +1,65 @@ { lib , buildPythonPackage -, fetchFromGitHub -, requests -, oauthlib -, requests-oauthlib -, pyjwt , cryptography , defusedxml -, python3-openid -, python-jose -, python3-saml -, pytestCheckHook +, fetchFromGitHub , httpretty +, lxml +, oauthlib +, pyjwt +, pytestCheckHook +, python-jose +, python3-openid +, python3-saml +, pythonOlder +, requests +, requests-oauthlib }: buildPythonPackage rec { pname = "social-auth-core"; version = "4.3.0"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "python-social-auth"; repo = "social-core"; rev = "refs/tags/${version}"; - sha256 = "sha256-P9IWnu1/PWVNl/tZZ4bqz0WnruKu/jXASZBoaWXWeYI="; + hash = "sha256-P9IWnu1/PWVNl/tZZ4bqz0WnruKu/jXASZBoaWXWeYI="; }; + propagatedBuildInputs = [ + cryptography + defusedxml + oauthlib + pyjwt + python3-openid + requests + requests-oauthlib + ]; + + passthru.optional-dependencies = { + openidconnect = [ + python-jose + ]; + saml = [ + lxml + python3-saml + ]; + azuread = [ + cryptography + ]; + }; + + checkInputs = [ + pytestCheckHook + httpretty + ] ++ passthru.optional-dependencies.openidconnect + ++ passthru.optional-dependencies.saml + ++ passthru.optional-dependencies.azuread; + # Disable checking the code coverage prePatch = '' substituteInPlace social_core/tests/requirements.txt \ @@ -35,28 +70,13 @@ buildPythonPackage rec { --replace "{posargs:-v --cov=social_core}" "{posargs:-v}" ''; - propagatedBuildInputs = [ - requests - oauthlib - requests-oauthlib - pyjwt - cryptography - defusedxml - python3-openid - python-jose - python3-saml + pythonImportsCheck = [ + "social_core" ]; - checkInputs = [ - pytestCheckHook - httpretty - ]; - - pythonImportsCheck = [ "social_core" ]; - meta = with lib; { + description = "Module for social authentication/registration mechanisms"; homepage = "https://github.com/python-social-auth/social-core"; - description = "Python Social Auth - Core"; license = licenses.bsd3; maintainers = with maintainers; [ n0emis ]; }; From 822b8e59e60d6b6522161a9bfbca8dc673beb5a4 Mon Sep 17 00:00:00 2001 From: kilianar Date: Tue, 14 Jun 2022 10:18:13 +0200 Subject: [PATCH 22/22] homebank: 5.5.4 -> 5.5.5 --- pkgs/applications/office/homebank/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/office/homebank/default.nix b/pkgs/applications/office/homebank/default.nix index 7e6910a3ab4..c7f1f605f24 100644 --- a/pkgs/applications/office/homebank/default.nix +++ b/pkgs/applications/office/homebank/default.nix @@ -3,10 +3,10 @@ stdenv.mkDerivation rec { pname = "homebank"; - version = "5.5.4"; + version = "5.5.5"; src = fetchurl { url = "http://homebank.free.fr/public/homebank-${version}.tar.gz"; - sha256 = "sha256-DQZpvKCZNArlwhPqE8srkyg7/IoOTPelkCwYKTZuV2U="; + sha256 = "sha256-vs4F7LUjkhR0JKoeWheTiXd7gr9Gir69c+twsq+cnmc="; }; nativeBuildInputs = [ pkg-config wrapGAppsHook ];