From 5148813e179418be1a0317a3920c612e2e4d9f22 Mon Sep 17 00:00:00 2001 From: Pamplemousse Date: Wed, 26 Jan 2022 21:55:25 +0100 Subject: [PATCH 01/30] modules/taskserver: Minor update * documentation - update link - minor consistency update * make tests pass --- nixos/modules/services/misc/taskserver/default.nix | 11 ++++++----- nixos/modules/services/misc/taskserver/doc.xml | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/nixos/modules/services/misc/taskserver/default.nix b/nixos/modules/services/misc/taskserver/default.nix index a894caed1a3..ff63c41e193 100644 --- a/nixos/modules/services/misc/taskserver/default.nix +++ b/nixos/modules/services/misc/taskserver/default.nix @@ -106,7 +106,7 @@ let certtool = "${pkgs.gnutls.bin}/bin/certtool"; - nixos-taskserver = pkgs.pythonPackages.buildPythonApplication { + nixos-taskserver = with pkgs.python2.pkgs; buildPythonApplication { name = "nixos-taskserver"; src = pkgs.runCommand "nixos-taskserver-src" { preferLocalBuild = true; } '' @@ -129,7 +129,7 @@ let EOF ''; - propagatedBuildInputs = [ pkgs.pythonPackages.click ]; + propagatedBuildInputs = [ click ]; }; in { @@ -138,12 +138,13 @@ in { enable = mkOption { type = types.bool; default = false; - description = '' + description = let + url = "https://nixos.org/manual/nixos/stable/index.html#module-services-taskserver"; + in '' Whether to enable the Taskwarrior server. More instructions about NixOS in conjuction with Taskserver can be - found in the NixOS manual at - . + found in the NixOS manual. ''; }; diff --git a/nixos/modules/services/misc/taskserver/doc.xml b/nixos/modules/services/misc/taskserver/doc.xml index 5656bb85b37..f6ead7c3785 100644 --- a/nixos/modules/services/misc/taskserver/doc.xml +++ b/nixos/modules/services/misc/taskserver/doc.xml @@ -1,7 +1,7 @@ + xml:id="module-services-taskserver"> Taskserver Taskserver is the server component of From 0fe995af20b97c1c71ef92f07cf065a5601958f6 Mon Sep 17 00:00:00 2001 From: Zhong Jianxin Date: Wed, 16 Feb 2022 17:12:31 +0800 Subject: [PATCH 02/30] rtmidi-python: fix build on darwin --- .../python-modules/rtmidi-python/default.nix | 19 +++++++++++++++++-- pkgs/top-level/python-packages.nix | 4 +++- 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/rtmidi-python/default.nix b/pkgs/development/python-modules/rtmidi-python/default.nix index e1565fa6c30..02bb45fd6bc 100644 --- a/pkgs/development/python-modules/rtmidi-python/default.nix +++ b/pkgs/development/python-modules/rtmidi-python/default.nix @@ -1,4 +1,13 @@ -{ lib, buildPythonPackage, fetchPypi, cython, alsa-lib }: +{ lib +, stdenv +, buildPythonPackage +, fetchPypi +, cython +, alsa-lib +, CoreAudio +, CoreMIDI +, CoreServices +}: buildPythonPackage rec { pname = "rtmidi-python"; @@ -14,7 +23,13 @@ buildPythonPackage rec { ''; nativeBuildInputs = [ cython ]; - buildInputs = [ alsa-lib ]; + buildInputs = lib.optionals stdenv.isLinux [ + alsa-lib + ] ++ lib.optionals stdenv.isDarwin [ + CoreAudio + CoreMIDI + CoreServices + ]; setupPyBuildFlags = [ "--from-cython" ]; diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 65704adecf1..894c218f94b 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -8777,7 +8777,9 @@ in { rstcheck = callPackage ../development/python-modules/rstcheck { }; - rtmidi-python = callPackage ../development/python-modules/rtmidi-python { }; + rtmidi-python = callPackage ../development/python-modules/rtmidi-python { + inherit (pkgs.darwin.apple_sdk.frameworks) CoreAudio CoreMIDI CoreServices; + }; rtoml = callPackage ../development/python-modules/rtoml { }; From 83fdcef7384a016ac7fbf9e4d41bb7fca85cb514 Mon Sep 17 00:00:00 2001 From: Zhong Jianxin Date: Wed, 16 Feb 2022 17:19:37 +0800 Subject: [PATCH 03/30] python-rtmidi: fix build on darwin --- .../python-modules/python-rtmidi/default.nix | 26 ++++++++++++++++--- pkgs/top-level/python-packages.nix | 4 ++- 2 files changed, 26 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/python-rtmidi/default.nix b/pkgs/development/python-modules/python-rtmidi/default.nix index 335a085277a..58d6a1e72f5 100644 --- a/pkgs/development/python-modules/python-rtmidi/default.nix +++ b/pkgs/development/python-modules/python-rtmidi/default.nix @@ -1,5 +1,17 @@ -{ lib, buildPythonPackage, fetchPypi, isPy27 -, pkg-config, alsa-lib, libjack2, tox, flake8, alabaster +{ lib +, stdenv +, buildPythonPackage +, fetchPypi +, isPy27 +, pkg-config +, alsa-lib +, libjack2 +, tox +, flake8 +, alabaster +, CoreAudio +, CoreMIDI +, CoreServices }: buildPythonPackage rec { @@ -13,7 +25,15 @@ buildPythonPackage rec { }; nativeBuildInputs = [ pkg-config ]; - buildInputs = [ alsa-lib libjack2 ]; + buildInputs = [ + libjack2 + ] ++ lib.optionals stdenv.isLinux [ + alsa-lib + ] ++ lib.optionals stdenv.isDarwin [ + CoreAudio + CoreMIDI + CoreServices + ]; checkInputs = [ tox flake8 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 894c218f94b..d64a8e40d71 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -8135,7 +8135,9 @@ in { python-registry = callPackage ../development/python-modules/python-registry { }; - python-rtmidi = callPackage ../development/python-modules/python-rtmidi { }; + python-rtmidi = callPackage ../development/python-modules/python-rtmidi { + inherit (pkgs.darwin.apple_sdk.frameworks) CoreAudio CoreMIDI CoreServices; + }; python-sat = callPackage ../development/python-modules/python-sat { }; From d32cb7a09980ebda0fbc1b01ceea1d68a95e9e21 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 17 Feb 2022 06:35:07 +0000 Subject: [PATCH 04/30] python310Packages.xml2rfc: 3.12.1 -> 3.12.2 --- pkgs/development/python-modules/xml2rfc/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/xml2rfc/default.nix b/pkgs/development/python-modules/xml2rfc/default.nix index 5ba54f20317..49693353204 100644 --- a/pkgs/development/python-modules/xml2rfc/default.nix +++ b/pkgs/development/python-modules/xml2rfc/default.nix @@ -22,13 +22,13 @@ buildPythonPackage rec { pname = "xml2rfc"; - version = "3.12.1"; + version = "3.12.2"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "sha256-xIStWb03CygnqB92AXf0uxMLw7pLhSE3mLQ8l1J6dZM="; + sha256 = "sha256-CsxelHZbg25oBRM3P5UYlbWgsnR/L/w8vSFgHK1FKKI="; }; propagatedBuildInputs = [ From bd482cb65c549b23964efdeede6a820467d9c23c Mon Sep 17 00:00:00 2001 From: FliegendeWurst <2012gdwu+github@posteo.de> Date: Sun, 30 Jan 2022 18:06:36 +0100 Subject: [PATCH 05/30] libcef: add update script --- pkgs/development/libraries/libcef/default.nix | 2 ++ pkgs/development/libraries/libcef/update.sh | 27 +++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100755 pkgs/development/libraries/libcef/update.sh diff --git a/pkgs/development/libraries/libcef/default.nix b/pkgs/development/libraries/libcef/default.nix index d2ac5ef214c..c6f2ba7f722 100644 --- a/pkgs/development/libraries/libcef/default.nix +++ b/pkgs/development/libraries/libcef/default.nix @@ -102,6 +102,8 @@ stdenv.mkDerivation rec { cp -r ../include $out/ ''; + passthru.updateScript = ./update.sh; + meta = with lib; { description = "Simple framework for embedding Chromium-based browsers in other applications"; homepage = "https://cef-builds.spotifycdn.com/index.html"; diff --git a/pkgs/development/libraries/libcef/update.sh b/pkgs/development/libraries/libcef/update.sh new file mode 100755 index 00000000000..545f7c70205 --- /dev/null +++ b/pkgs/development/libraries/libcef/update.sh @@ -0,0 +1,27 @@ +#!/usr/bin/env nix-shell +#!nix-shell -i bash -p curl gnused jq + +set -x -eu -o pipefail + +cd $(dirname "${BASH_SOURCE[0]}") + +VERSION_JSON=$(curl --silent https://cef-builds.spotifycdn.com/index.json | jq '[.linux64.versions[] | select (.channel == "stable")][0]') + +CEF_VERSION=$(echo ${VERSION_JSON} | jq -r '.cef_version' | cut -d'+' -f1) +GIT_REVISION=$(echo ${VERSION_JSON} | jq -r '.cef_version' | cut -d'+' -f2 | cut -c 2-) +CHROMIUM_VERSION=$(echo ${VERSION_JSON} | jq -r '.chromium_version') + +SHA256_LINUX64=$(nix-prefetch-url --quiet https://cef-builds.spotifycdn.com/cef_binary_${CEF_VERSION}+g${GIT_REVISION}+chromium-${CHROMIUM_VERSION}_linux64_minimal.tar.bz2) +SHA256_LINUX32=$(nix-prefetch-url --quiet https://cef-builds.spotifycdn.com/cef_binary_${CEF_VERSION}+g${GIT_REVISION}+chromium-${CHROMIUM_VERSION}_linux32_minimal.tar.bz2) +SHA256_LINUXARM64=$(nix-prefetch-url --quiet https://cef-builds.spotifycdn.com/cef_binary_${CEF_VERSION}+g${GIT_REVISION}+chromium-${CHROMIUM_VERSION}_linuxarm64_minimal.tar.bz2) + +setKV () { + sed -i "s|$1 = \".*\"|$1 = \"${2:-}\"|" ./default.nix +} + +setKV version ${CEF_VERSION} +setKV gitRevision ${GIT_REVISION} +setKV chromiumVersion ${CHROMIUM_VERSION} +setKV 'platforms."aarch64-linux".sha256' ${SHA256_LINUXARM64} +setKV 'platforms."i686-linux".sha256' ${SHA256_LINUX32} +setKV 'platforms."x86_64-linux".sha256' ${SHA256_LINUX64} From 972547089f4b56ec0edefb3b6d30405e9e501fbb Mon Sep 17 00:00:00 2001 From: FliegendeWurst <2012gdwu+github@posteo.de> Date: Mon, 31 Jan 2022 09:44:56 +0100 Subject: [PATCH 06/30] libcef: add test that obs-studio builds --- pkgs/development/libraries/libcef/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/libraries/libcef/default.nix b/pkgs/development/libraries/libcef/default.nix index c6f2ba7f722..62d67f0edba 100644 --- a/pkgs/development/libraries/libcef/default.nix +++ b/pkgs/development/libraries/libcef/default.nix @@ -26,6 +26,7 @@ , at-spi2-core , cups , libxshmfence +, obs-studio }: let @@ -102,6 +103,9 @@ stdenv.mkDerivation rec { cp -r ../include $out/ ''; + passthru.tests = { + inherit obs-studio; # frequently breaks on CEF updates + }; passthru.updateScript = ./update.sh; meta = with lib; { From 4b55264c8584b4bddb31961867db3d4ef174ebce Mon Sep 17 00:00:00 2001 From: FliegendeWurst <2012gdwu+github@posteo.de> Date: Fri, 18 Feb 2022 09:59:31 +0100 Subject: [PATCH 07/30] libcef: 96.0.18 -> 98.1.21 --- pkgs/development/libraries/libcef/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/development/libraries/libcef/default.nix b/pkgs/development/libraries/libcef/default.nix index 62d67f0edba..7dfafe6bd06 100644 --- a/pkgs/development/libraries/libcef/default.nix +++ b/pkgs/development/libraries/libcef/default.nix @@ -60,27 +60,27 @@ let "aarch64-linux" = { platformStr = "linuxarm64"; projectArch = "arm64"; - sha256 = "01ny1k10dklsqrrqmxqd9433413wmpk4ddsmkjp9dzv52dvpcl08"; }; "i686-linux" = { platformStr = "linux32"; projectArch = "x86"; - sha256 = "000j6pc336c43xczl1rs5zf8nsf17y76f1kpy14gqgpwyzl8my0w"; }; "x86_64-linux" = { platformStr = "linux64"; projectArch = "x86_64"; - sha256 = "1ydjckld89dkpy5zrvk7jjpz70mnlmbm8yinkfpzgcwbkcakk6k7"; }; }; + platforms."aarch64-linux".sha256 = "0m12adzcs6xsmgnqsdc5g0xs6xmjbj560x4d9rnv9fpf1p7jv2fa"; + platforms."i686-linux".sha256 = "00cy5kxx8hpifkwhn9qbfch7ng3crx0zb6ypllzip6qms956mama"; + platforms."x86_64-linux".sha256 = "1f1hxx4xl0wljyrgj0m3zq47yz2cyqd52qigrkpcvavr1d2sx6m3"; platformInfo = builtins.getAttr stdenv.targetPlatform.system platforms; in stdenv.mkDerivation rec { pname = "cef-binary"; - version = "96.0.18"; - gitRevision = "fe551e4"; - chromiumVersion = "96.0.4664.110"; + version = "98.1.21"; + gitRevision = "9782362"; + chromiumVersion = "98.0.4758.102"; src = fetchurl { url = "https://cef-builds.spotifycdn.com/cef_binary_${version}+g${gitRevision}+chromium-${chromiumVersion}_${platformInfo.platformStr}_minimal.tar.bz2"; From 649e456f2083858e80efcda31e7d40883e580efa Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 19 Feb 2022 21:35:47 +0000 Subject: [PATCH 08/30] natscli: 0.0.28 -> 0.0.29 --- pkgs/tools/system/natscli/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/system/natscli/default.nix b/pkgs/tools/system/natscli/default.nix index 97a690690ac..ad10f0c6c9b 100644 --- a/pkgs/tools/system/natscli/default.nix +++ b/pkgs/tools/system/natscli/default.nix @@ -5,16 +5,16 @@ buildGoModule rec { pname = "natscli"; - version = "0.0.28"; + version = "0.0.29"; src = fetchFromGitHub { owner = "nats-io"; repo = pname; rev = "v${version}"; - sha256 = "sha256-w0a2BzfRKf55hFgdaDLsR2YeC5Jqa2uynlRN2oGPX8g="; + sha256 = "sha256-q1T+bDOOPs4eLnRWkYG6VY0AwfG/W2boSY5DZhMv+ZI="; }; - vendorSha256 = "sha256-kt6KflivmsG6prxWXtODcXSP2sNn4daH8ruZMxYLk3g="; + vendorSha256 = "sha256-YTvgofZoWGDZL/ujjZ9RqAgv6UH2caZBrV9/uav3KVw="; meta = with lib; { description = "NATS Command Line Interface"; From 9fb8a2923b6692cce543ab138fe202daa41afbb3 Mon Sep 17 00:00:00 2001 From: tu-maurice Date: Sat, 19 Feb 2022 23:29:53 +0100 Subject: [PATCH 09/30] cinnamon.xapps: 2.2.5 -> 2.2.8 --- pkgs/desktops/cinnamon/xapps/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/desktops/cinnamon/xapps/default.nix b/pkgs/desktops/cinnamon/xapps/default.nix index dfde8773ec0..7927026166a 100644 --- a/pkgs/desktops/cinnamon/xapps/default.nix +++ b/pkgs/desktops/cinnamon/xapps/default.nix @@ -22,7 +22,7 @@ stdenv.mkDerivation rec { pname = "xapps"; - version = "2.2.5"; + version = "2.2.8"; outputs = [ "out" "dev" ]; @@ -30,7 +30,7 @@ stdenv.mkDerivation rec { owner = "linuxmint"; repo = pname; rev = version; - hash = "sha256-Ev+gTl9jY1HLbXKnCsVVSsY8ZrHyzsIkp+JTaXOTm6I="; + hash = "sha256-70troRGklu5xGjBIrGvshcOX/UT96hIEFXyo4yj2GT4="; }; # TODO: https://github.com/NixOS/nixpkgs/issues/36468 From c9effadcfccc7e0b6fe28da124c2c82f89abf216 Mon Sep 17 00:00:00 2001 From: tu-maurice Date: Sat, 19 Feb 2022 23:31:23 +0100 Subject: [PATCH 10/30] cinnamon.xviewer: 3.2.2 -> 3.2.4 --- pkgs/desktops/cinnamon/xviewer/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/desktops/cinnamon/xviewer/default.nix b/pkgs/desktops/cinnamon/xviewer/default.nix index e8fb0f1f5c9..5f5720c253b 100644 --- a/pkgs/desktops/cinnamon/xviewer/default.nix +++ b/pkgs/desktops/cinnamon/xviewer/default.nix @@ -26,13 +26,13 @@ stdenv.mkDerivation rec { pname = "xviewer"; - version = "3.2.2"; + version = "3.2.4"; src = fetchFromGitHub { owner = "linuxmint"; repo = pname; rev = version; - sha256 = "sha256-FFRms4yh7TQ/O3ee7igeIslimSWLhue3BE1xCrJ3NQ4="; + sha256 = "sha256-OyHSBXtJ/TExl06NLUAaIZq4u0+fI3YGQ37HRZeNP+0="; }; nativeBuildInputs = [ From 482a0f3bb65b3adcf9b674c93819bc9654732027 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 19 Feb 2022 23:59:02 +0100 Subject: [PATCH 11/30] python3Packages.awesomeversion: 22.1.0 -> 22.2.0 --- .../python-modules/awesomeversion/default.nix | 21 ++++++++++++------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/awesomeversion/default.nix b/pkgs/development/python-modules/awesomeversion/default.nix index 84a3aec05b3..f74a6af8475 100644 --- a/pkgs/development/python-modules/awesomeversion/default.nix +++ b/pkgs/development/python-modules/awesomeversion/default.nix @@ -1,14 +1,15 @@ { lib , buildPythonPackage , fetchFromGitHub +, poetry-core , pytestCheckHook , pythonOlder }: buildPythonPackage rec { pname = "awesomeversion"; - version = "22.1.0"; - format = "setuptools"; + version = "22.2.0"; + format = "pyproject"; disabled = pythonOlder "3.8"; @@ -16,19 +17,23 @@ buildPythonPackage rec { owner = "ludeeus"; repo = pname; rev = version; - sha256 = "sha256-eoY920c8mgunvZd0M/vR7+bMCPFqqCm3F/fq0vo6K/0="; + sha256 = "sha256-FlJrk/PH3nBLakQfS+ruDwAPH/oo16JcfrtVRFgbUXY="; }; - postPatch = '' - # Upstream doesn't set a version - substituteInPlace setup.py \ - --replace "main" ${version} - ''; + nativeBuildInputs = [ + poetry-core + ]; checkInputs = [ pytestCheckHook ]; + postPatch = '' + # Upstream doesn't set a version + substituteInPlace pyproject.toml \ + --replace 'version = "0"' 'version = "${version}"' + ''; + pythonImportsCheck = [ "awesomeversion" ]; From 8c023415b9696df1361d338fea00ee4cce7af73a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 20 Feb 2022 14:54:56 +0100 Subject: [PATCH 12/30] python3Packages.newversion: init at 1.8.2 --- .../python-modules/newversion/default.nix | 49 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 51 insertions(+) create mode 100644 pkgs/development/python-modules/newversion/default.nix diff --git a/pkgs/development/python-modules/newversion/default.nix b/pkgs/development/python-modules/newversion/default.nix new file mode 100644 index 00000000000..f340dc3a1b3 --- /dev/null +++ b/pkgs/development/python-modules/newversion/default.nix @@ -0,0 +1,49 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, packaging +, poetry-core +, pytestCheckHook +, pythonOlder +, typing-extensions +}: + +buildPythonPackage rec { + pname = "newversion"; + version = "1.8.2"; + format = "pyproject"; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "vemel"; + repo = pname; + rev = version; + hash = "sha256-27HWMzSzyAbiOW7OUhlupRWIVJG6DrpXObXmxlCsmxU="; + }; + + nativeBuildInputs = [ + poetry-core + ]; + + propagatedBuildInputs = [ + packaging + ] ++ lib.optionals (pythonOlder "3.8") [ + typing-extensions + ]; + + checkInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "newversion" + ]; + + meta = with lib; { + description = "PEP 440 version manager"; + homepage = "https://github.com/vemel/newversion"; + license = with licenses; [ mit ]; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 65704adecf1..0af58162926 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5416,6 +5416,8 @@ in { nevow = callPackage ../development/python-modules/nevow { }; + newversion = callPackage ../development/python-modules/newversion { }; + nexia = callPackage ../development/python-modules/nexia { }; nextcloudmonitor = callPackage ../development/python-modules/nextcloudmonitor { }; From 712344f0f925b7c312969086050b9f44a720cbb0 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 20 Feb 2022 14:55:19 +0100 Subject: [PATCH 13/30] python310Packages.mypy-boto3-builder: 6.3.2 -> 7.1.2 --- .../mypy-boto3-builder/default.nix | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/mypy-boto3-builder/default.nix b/pkgs/development/python-modules/mypy-boto3-builder/default.nix index b47c6701a00..4bb37145637 100644 --- a/pkgs/development/python-modules/mypy-boto3-builder/default.nix +++ b/pkgs/development/python-modules/mypy-boto3-builder/default.nix @@ -7,6 +7,7 @@ , jinja2 , md-toc , mdformat +, newversion , poetry-core , pyparsing , pytestCheckHook @@ -15,16 +16,16 @@ buildPythonPackage rec { pname = "mypy-boto3-builder"; - version = "6.3.2"; + version = "7.1.2"; format = "pyproject"; - disabled = pythonOlder "3.8"; + disabled = pythonOlder "3.10"; src = fetchFromGitHub { owner = "vemel"; repo = "mypy_boto3_builder"; rev = version; - sha256 = "1krsh8pmxigpzz21gvsy7qnpnwfkyyjbz92bqp9iflf7kklfhb79"; + hash = "sha256-p81Dk6Kv0MzHvexhM8Su5/yIpB+ZGBFqOtm0D18l26s="; }; nativeBuildInputs = [ @@ -38,6 +39,7 @@ buildPythonPackage rec { jinja2 md-toc mdformat + newversion pyparsing ]; @@ -45,12 +47,14 @@ buildPythonPackage rec { pytestCheckHook ]; - disabledTests = [ - # Should be fixed with 5.x - "test_get_types" + pythonImportsCheck = [ + "mypy_boto3_builder" ]; - pythonImportsCheck = [ "mypy_boto3_builder" ]; + disabledTests = [ + # Tests require network access + "TestBotocoreChangelogChangelog" + ]; meta = with lib; { description = "Type annotations builder for boto3"; From 5cd89f9173c313c85d17c00cb9393b638b664710 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 20 Feb 2022 15:25:29 +0100 Subject: [PATCH 14/30] python3Packages.dsinternals: init at 1.2.4 --- .../python-modules/dsinternals/default.nix | 47 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 49 insertions(+) create mode 100644 pkgs/development/python-modules/dsinternals/default.nix diff --git a/pkgs/development/python-modules/dsinternals/default.nix b/pkgs/development/python-modules/dsinternals/default.nix new file mode 100644 index 00000000000..53d5e5acc9f --- /dev/null +++ b/pkgs/development/python-modules/dsinternals/default.nix @@ -0,0 +1,47 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, pycryptodomex +, pyopenssl +, pytestCheckHook +, pythonOlder +}: + +buildPythonPackage rec { + pname = "dsinternals"; + version = "1.2.4"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "p0dalirius"; + repo = "pydsinternals"; + rev = version; + hash = "sha256-C1ar9c4F4WI5ICX7PJe8FzVwK8bxZds+kMBpttEp9Ko="; + }; + + propagatedBuildInputs = [ + pyopenssl + pycryptodomex + ]; + + checkInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "dsinternals" + ]; + + pytestFlagsArray = [ + "tests/*.py" + ]; + + meta = with lib; { + description = "Module to interact with Windows Active Directory"; + homepage = "https://github.com/p0dalirius/pydsinternals"; + license = licenses.gpl2Only; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 65704adecf1..3ddfc7b794c 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2462,6 +2462,8 @@ in { ds4drv = callPackage ../development/python-modules/ds4drv { }; + dsinternals = callPackage ../development/python-modules/dsinternals { }; + dsmr-parser = callPackage ../development/python-modules/dsmr-parser { }; dtlssocket = callPackage ../development/python-modules/dtlssocket { }; From 8b1182587217019753d6bedc7df766ee641b802f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 20 Feb 2022 15:26:01 +0100 Subject: [PATCH 15/30] certipy: unstable-2021-11-08 -> 2.0 --- pkgs/tools/security/certipy/default.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/security/certipy/default.nix b/pkgs/tools/security/certipy/default.nix index 9e3d4573df2..536a1a502ad 100644 --- a/pkgs/tools/security/certipy/default.nix +++ b/pkgs/tools/security/certipy/default.nix @@ -5,22 +5,23 @@ python3.pkgs.buildPythonApplication rec { pname = "certipy"; - version = "unstable-2021-11-08"; + version = "2.0"; src = fetchFromGitHub { owner = "ly4k"; repo = "Certipy"; - rev = "c2f5581505c54f3bf9fe4e6f07c17fa9ef501cab"; - sha256 = "0m2n30prqd9d02kmryk8vry4cabcad1892qr8a02qfg6r98x8q3q"; + rev = version; + hash = "sha256-xN0DrLrxWNCEy3HodA1pOJHYhDyA1sMRVIfefbXq45E="; }; propagatedBuildInputs = with python3.pkgs; [ asn1crypto - pycryptodome + dnspython + dsinternals impacket ldap3 pyasn1 - dnspython + pycryptodome ]; # Project has no tests From 22fc52a4b11be91ec8791c3e4427c4823d776d7c Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Sun, 20 Feb 2022 22:51:36 +0800 Subject: [PATCH 16/30] bird2: 2.0.8 -> 2.0.9 --- pkgs/servers/bird/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/bird/default.nix b/pkgs/servers/bird/default.nix index 9da7d7e948e..f87ff8c664d 100644 --- a/pkgs/servers/bird/default.nix +++ b/pkgs/servers/bird/default.nix @@ -60,7 +60,7 @@ in }; bird2 = generic { - version = "2.0.8"; - sha256 = "1xp7f0im1v8pqqx3xqyfkd1nsxk8vnbqgrdrwnwhg8r5xs1xxlhr"; + version = "2.0.9"; + sha256 = "sha256-dnhrvN7TBh4bsiGwEfLMACIewGPenNoASn2bBhoJbV4="; }; } From 8c6ba1fe12deea33701028240426284b9343deb4 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 20 Feb 2022 15:11:41 +0000 Subject: [PATCH 17/30] svgbob: 0.6.3 -> 0.6.4 --- pkgs/tools/graphics/svgbob/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/graphics/svgbob/default.nix b/pkgs/tools/graphics/svgbob/default.nix index 9afb6682ba5..d5429b072e8 100644 --- a/pkgs/tools/graphics/svgbob/default.nix +++ b/pkgs/tools/graphics/svgbob/default.nix @@ -2,15 +2,15 @@ rustPlatform.buildRustPackage rec { pname = "svgbob"; - version = "0.6.3"; + version = "0.6.4"; src = fetchCrate { inherit version; crateName = "svgbob_cli"; - sha256 = "sha256-yYRBV0s19J0M02wenGayy7Ebx6wDhiLiGmb+os29u9I="; + sha256 = "sha256-IPv6ZHgFJdH0hH9y1bQ+BHCS9EjX0Et2yuKwiYUW9gs="; }; - cargoSha256 = "sha256-R4W+Oe7Ks2D9qE1IpV6/AMMMwZnCfJ5DzxFAMpV2rFE="; + cargoSha256 = "sha256-mSeVrBQIoJ/uvxzLj15sreQHU2PAa3Xihdok89XpXeQ="; meta = with lib; { description = "Convert your ascii diagram scribbles into happy little SVG"; From 74a1747887fa611d31294311dff076aa35071755 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sun, 20 Feb 2022 15:12:00 +0000 Subject: [PATCH 18/30] svgbob: 0.6.4 -> 0.6.5 --- pkgs/tools/graphics/svgbob/default.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/graphics/svgbob/default.nix b/pkgs/tools/graphics/svgbob/default.nix index d5429b072e8..52ef4230fd3 100644 --- a/pkgs/tools/graphics/svgbob/default.nix +++ b/pkgs/tools/graphics/svgbob/default.nix @@ -2,15 +2,19 @@ rustPlatform.buildRustPackage rec { pname = "svgbob"; - version = "0.6.4"; + version = "0.6.5"; src = fetchCrate { inherit version; crateName = "svgbob_cli"; - sha256 = "sha256-IPv6ZHgFJdH0hH9y1bQ+BHCS9EjX0Et2yuKwiYUW9gs="; + sha256 = "sha256-EsOq081wfnuFT0OKqLyi3R105brZwuHJwzEx00c2LGg="; }; - cargoSha256 = "sha256-mSeVrBQIoJ/uvxzLj15sreQHU2PAa3Xihdok89XpXeQ="; + cargoSha256 = "sha256-sBU3GoqUH9cS1Kn0MCysCG9kQsWQqteVui1AHW9bfs0="; + + postInstall = '' + mv $out/bin/svgbob_cli $out/bin/svgbob + ''; meta = with lib; { description = "Convert your ascii diagram scribbles into happy little SVG"; From be840f035a8a7a2af5d725c15155db8871221a3a Mon Sep 17 00:00:00 2001 From: Lein Matsumaru Date: Sun, 20 Feb 2022 17:12:31 +0000 Subject: [PATCH 19/30] exploitdb: 2022-02-17 -> 2022-02-19 --- pkgs/tools/security/exploitdb/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/security/exploitdb/default.nix b/pkgs/tools/security/exploitdb/default.nix index c6c48b515e3..fc92019292d 100644 --- a/pkgs/tools/security/exploitdb/default.nix +++ b/pkgs/tools/security/exploitdb/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "exploitdb"; - version = "2022-02-17"; + version = "2022-02-19"; src = fetchFromGitHub { owner = "offensive-security"; repo = pname; rev = version; - sha256 = "sha256-qmddjXZq4SLsAMEIMtpkXURfTUEDjXnkFGXLt/zrk9s="; + sha256 = "sha256-cHAvExbZqqLGPRsa578Po1G3uX2EIcx/visOB0RgNQc="; }; nativeBuildInputs = [ makeWrapper ]; From 8b7f1265c2213ed6dbd92f84670f7ab0c539d435 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 20 Feb 2022 17:15:09 +0000 Subject: [PATCH 20/30] mdbook-graphviz: 0.1.3 -> 0.1.4 --- pkgs/tools/text/mdbook-graphviz/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/text/mdbook-graphviz/default.nix b/pkgs/tools/text/mdbook-graphviz/default.nix index d61daf262d9..353c2b99ee9 100644 --- a/pkgs/tools/text/mdbook-graphviz/default.nix +++ b/pkgs/tools/text/mdbook-graphviz/default.nix @@ -2,16 +2,16 @@ rustPlatform.buildRustPackage rec { pname = "mdbook-graphviz"; - version = "0.1.3"; + version = "0.1.4"; src = fetchFromGitHub { owner = "dylanowen"; repo = pname; rev = "v${version}"; - sha256 = "sha256-yY8ZdRNP0G9dwrwUtNZIaodIlEK4GRgZQ5D1GpLhDGg="; + sha256 = "sha256-HTHGb23wc10iAWXX/TNMXjTLWm+OSf1WWW1+/aQRcsk="; }; - cargoSha256 = "sha256-d8/xa2Aq6g0Kvqq11kzVTp1oooN6dPowpKW0uenBevw="; + cargoSha256 = "sha256-7z/4brKY9vpic8mv1b4P/8DE+VyColYnPPoPmY9891M="; buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ]; From f9cdab729d89429f48ea91c333c65fa9f7f3bfc7 Mon Sep 17 00:00:00 2001 From: FliegendeWurst <2012gdwu+github@posteo.de> Date: Sun, 20 Feb 2022 16:33:53 +0100 Subject: [PATCH 21/30] readline5, readline62: drop --- pkgs/development/libraries/readline/5.x.nix | 21 ------ pkgs/development/libraries/readline/6.2.nix | 64 ------------------- .../libraries/readline/clang.patch | 13 ---- .../libraries/readline/no-arch_only.patch | 14 ---- .../readline/readline-6.2-patches.nix | 9 --- .../libraries/readline/shobj-darwin.patch | 11 ---- pkgs/top-level/aliases.nix | 2 + pkgs/top-level/all-packages.nix | 4 -- 8 files changed, 2 insertions(+), 136 deletions(-) delete mode 100644 pkgs/development/libraries/readline/5.x.nix delete mode 100644 pkgs/development/libraries/readline/6.2.nix delete mode 100644 pkgs/development/libraries/readline/clang.patch delete mode 100644 pkgs/development/libraries/readline/no-arch_only.patch delete mode 100644 pkgs/development/libraries/readline/readline-6.2-patches.nix delete mode 100644 pkgs/development/libraries/readline/shobj-darwin.patch diff --git a/pkgs/development/libraries/readline/5.x.nix b/pkgs/development/libraries/readline/5.x.nix deleted file mode 100644 index 98decdca968..00000000000 --- a/pkgs/development/libraries/readline/5.x.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ lib, stdenv, fetchurl, ncurses }: - -stdenv.mkDerivation rec { - pname = "readline"; - version = "5.2"; - - src = fetchurl { - url = "mirror://gnu/readline/readline-${version}.tar.gz"; - sha256 = "0icz4hqqq8mlkwrpczyaha94kns0am9z0mh3a2913kg2msb8vs0j"; - }; - - propagatedBuildInputs = [ncurses]; - - patches = lib.optional stdenv.isDarwin ./shobj-darwin.patch; - - meta = with lib; { - branch = "5"; - platforms = platforms.unix; - license = licenses.gpl2; - }; -} diff --git a/pkgs/development/libraries/readline/6.2.nix b/pkgs/development/libraries/readline/6.2.nix deleted file mode 100644 index 13c53937a7c..00000000000 --- a/pkgs/development/libraries/readline/6.2.nix +++ /dev/null @@ -1,64 +0,0 @@ -{ fetchurl, lib, stdenv, ncurses -}: - -stdenv.mkDerivation (rec { - pname = "readline"; - version = "6.2"; - - src = fetchurl { - url = "mirror://gnu/readline/readline-${version}.tar.gz"; - sha256 = "10ckm2bd2rkxhvdmj7nmbsylmihw0abwcsnxf8y27305183rd9kr"; - }; - - propagatedBuildInputs = [ncurses]; - - patchFlags = [ "-p0" ]; - patches = - [ ./link-against-ncurses.patch - ./no-arch_only.patch - ./clang.patch - ] - ++ - (let - patch = nr: sha256: - fetchurl { - url = "mirror://gnu/readline/readline-${version}-patches/readline62-${nr}"; - inherit sha256; - }; - in - import ./readline-6.2-patches.nix patch); - - meta = { - description = "Library for interactive line editing"; - - longDescription = '' - The GNU Readline library provides a set of functions for use by - applications that allow users to edit command lines as they are - typed in. Both Emacs and vi editing modes are available. The - Readline library includes additional functions to maintain a - list of previously-entered command lines, to recall and perhaps - reedit those lines, and perform csh-like history expansion on - previous commands. - - The history facilities are also placed into a separate library, - the History library, as part of the build process. The History - library may be used without Readline in applications which - desire its capabilities. - ''; - - homepage = "https://savannah.gnu.org/projects/readline/"; - - license = lib.licenses.gpl3Plus; - - maintainers = [ ]; - branch = "6.2"; - platforms = lib.platforms.unix; - }; -} - -// - -# Don't run the native `strip' when cross-compiling. -(if stdenv.hostPlatform != stdenv.buildPlatform - then { dontStrip = true; } - else { })) diff --git a/pkgs/development/libraries/readline/clang.patch b/pkgs/development/libraries/readline/clang.patch deleted file mode 100644 index 42bb0be09c3..00000000000 --- a/pkgs/development/libraries/readline/clang.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/support/shobj-conf b/support/shobj-conf -index 5a63e80..4b2a741 100644 ---- support/shobj-conf -+++ support/shobj-conf -@@ -189,7 +189,7 @@ darwin*|macosx*) - darwin[789]*|darwin10*) SHOBJ_LDFLAGS='' - SHLIB_XLDFLAGS='-dynamiclib -arch_only `/usr/bin/arch` -install_name $(libdir)/$@ -current_version $(SHLIB_MAJOR)$(SHLIB_MINOR) -compatibility_version $(SHLIB_MAJOR) -v' - ;; -- *) SHOBJ_LDFLAGS='-dynamic' -+ *) SHOBJ_LDFLAGS='-dynamiclib' - SHLIB_XLDFLAGS='-arch_only `/usr/bin/arch` -install_name $(libdir)/$@ -current_version $(SHLIB_MAJOR)$(SHLIB_MINOR) -compatibility_version $(SHLIB_MAJOR) -v' - ;; - esac diff --git a/pkgs/development/libraries/readline/no-arch_only.patch b/pkgs/development/libraries/readline/no-arch_only.patch deleted file mode 100644 index b23eab5d9d7..00000000000 --- a/pkgs/development/libraries/readline/no-arch_only.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -ru -x '*~' readline-6.2-orig/support/shobj-conf readline-6.2/support/shobj-conf ---- support/shobj-conf 2009-10-28 14:20:21.000000000 +0100 -+++ support/shobj-conf 2014-07-01 13:03:28.000000000 +0200 -@@ -168,8 +168,8 @@ - SHLIB_LIBVERSION='$(SHLIB_MAJOR)$(SHLIB_MINOR).$(SHLIB_LIBSUFF)' - SHLIB_LIBSUFF='dylib' - -- SHOBJ_LDFLAGS='-dynamiclib -dynamic -undefined dynamic_lookup -arch_only `/usr/bin/arch`' -- SHLIB_XLDFLAGS='-dynamiclib -arch_only `/usr/bin/arch` -install_name $(libdir)/$@ -current_version $(SHLIB_MAJOR)$(SHLIB_MINOR) -compatibility_version $(SHLIB_MAJOR) -v' -+ SHOBJ_LDFLAGS='-dynamiclib -dynamic -undefined dynamic_lookup' -+ SHLIB_XLDFLAGS='-dynamiclib -install_name $(libdir)/$@ -current_version $(SHLIB_MAJOR)$(SHLIB_MINOR) -compatibility_version $(SHLIB_MAJOR) -v' - - SHLIB_LIBS='-lncurses' # see if -lcurses works on MacOS X 10.1 - ;; diff --git a/pkgs/development/libraries/readline/readline-6.2-patches.nix b/pkgs/development/libraries/readline/readline-6.2-patches.nix deleted file mode 100644 index 9fdcb3743b7..00000000000 --- a/pkgs/development/libraries/readline/readline-6.2-patches.nix +++ /dev/null @@ -1,9 +0,0 @@ -# Automatically generated by `update-patch-set.sh'; do not edit. - -patch: [ -(patch "001" "1qxl74f4n0hv4a807byrgbk4ixd8m50apj3922q2ss9pfi0nra1q") -(patch "002" "1m670g2xzib6r81315q9r24nh9brmxkpq07acch1fwxmih94jqqy") -(patch "003" "0x13c9wir4r44v2vdg96y0ahn8kl3wcmb5y0xn15yvid6pzk28fb") -(patch "004" "0xjlkxfssfsd6jwbqhfjs4hybcps0b9zgz8v86vbhnzag4j39g89") -(patch "005" "1x61bjl3wgs1gwla9b3y1hh12m1j5qlbis22258mljjl9mg900pg") -] diff --git a/pkgs/development/libraries/readline/shobj-darwin.patch b/pkgs/development/libraries/readline/shobj-darwin.patch deleted file mode 100644 index a9199ca3e89..00000000000 --- a/pkgs/development/libraries/readline/shobj-darwin.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/support/shobj-conf.orig 2006-04-11 06:15:43.000000000 -0700 -+++ b/support/shobj-conf 2007-11-08 01:15:43.000000000 -0800 -@@ -171,7 +171,7 @@ - SHLIB_LIBSUFF='dylib' - - case "${host_os}" in -- darwin[78]*) SHOBJ_LDFLAGS='' -+ darwin[789]*) SHOBJ_LDFLAGS='' - SHLIB_XLDFLAGS='-dynamiclib -arch_only `/usr/bin/arch` -install_name $(libdir)/$@ -current_version $(SHLIB_MAJOR)$(SHLIB_MINOR) -compatibility_version $(SHLIB_MAJOR) -v' - ;; - *) SHOBJ_LDFLAGS='-dynamic' diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index afce83f9c5e..60d50704ab0 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -1009,6 +1009,8 @@ mapAliases ({ rdf4store = throw "rdf4store has been removed from nixpkgs."; # Added 2019-12-21 rdiff_backup = rdiff-backup; # Added 2014-11-23 rdmd = dtools; # Added 2017-08-19 + readline5 = throw "readline-5 is no longer supported in nixpkgs, please use 'readline' for main supported version"; # Added 2022-02-20 + readline62 = throw "readline-6.2 is no longer supported in nixpkgs, please use 'readline' for main supported version"; # Added 2022-02-20 readline80 = throw "readline-8.0 is no longer supported in nixpkgs, please use 'readline' for main supported version or 'readline81' for most recent version"; # Added 2021-04-22 recordmydesktop = throw "recordmydesktop has been removed from nixpkgs, as it's unmaintained and uses deprecated libraries"; # Added 2019-12-10 redkite = throw "redkite was archived by upstream"; # Added 2021-04-12 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 87c2377eb77..4c5923c83a6 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -19719,10 +19719,6 @@ with pkgs; readline = readline6; readline6 = readline63; - readline5 = callPackage ../development/libraries/readline/5.x.nix { }; - - readline62 = callPackage ../development/libraries/readline/6.2.nix { }; - readline63 = callPackage ../development/libraries/readline/6.3.nix { }; readline70 = callPackage ../development/libraries/readline/7.0.nix { }; From bd76a1edbc5d1681cfd8efbfbfc090aaf362f238 Mon Sep 17 00:00:00 2001 From: FliegendeWurst <2012gdwu+github@posteo.de> Date: Sun, 20 Feb 2022 16:45:26 +0100 Subject: [PATCH 22/30] phantomjs: drop --- pkgs/development/tools/phantomjs/default.nix | 71 -------------------- pkgs/top-level/aliases.nix | 2 + pkgs/top-level/all-packages.nix | 2 - 3 files changed, 2 insertions(+), 73 deletions(-) delete mode 100644 pkgs/development/tools/phantomjs/default.nix diff --git a/pkgs/development/tools/phantomjs/default.nix b/pkgs/development/tools/phantomjs/default.nix deleted file mode 100644 index 5b7e77ee0b5..00000000000 --- a/pkgs/development/tools/phantomjs/default.nix +++ /dev/null @@ -1,71 +0,0 @@ -{ stdenv, lib, fetchurl, freetype, fontconfig, openssl, unzip }: - -let - platforms = [ "i686-linux" "x86_64-linux" "x86_64-darwin" ]; -in - -stdenv.mkDerivation rec { - pname = "phantomjs"; - version = "1.9.8"; - - # I chose to use the binary build for now. - # The source version is quite nasty to compile - # because it has bundled a lot of external libraries (like QT and Webkit) - # and no easy/nice way to use the system versions of these - - src = if stdenv.hostPlatform.system == "i686-linux" then - fetchurl { - url = "https://bitbucket.org/ariya/phantomjs/downloads/${pname}-${version}-linux-i686.tar.bz2"; - sha256 = "11fzmssz9pqf3arh4f36w06sl2nyz8l9h8iyxyd7w5aqnq5la0j1"; - } - else - if stdenv.hostPlatform.system == "x86_64-linux" then - fetchurl { - url = "https://bitbucket.org/ariya/phantomjs/downloads/${pname}-${version}-linux-x86_64.tar.bz2"; - sha256 = "0fhnqxxsxhy125fmif1lwgnlhfx908spy7fx9mng4w72320n5nd1"; - } - else # x86_64-darwin - fetchurl { - url = "https://bitbucket.org/ariya/phantomjs/downloads/${pname}-${version}-macosx.zip"; - sha256 = "0j0aq8dgzmb210xdrh0v3d4nblskl3zsckl8bzf1a603wcx085cg"; - }; - - nativeBuildInputs = lib.optional stdenv.isDarwin unzip; - - buildPhase = lib.optionalString (!stdenv.isDarwin) '' - patchelf \ - --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ - --set-rpath "${lib.makeLibraryPath [ freetype fontconfig stdenv.cc.cc stdenv.cc.cc openssl ]}" \ - bin/phantomjs - ''; - - dontPatchELF = true; - dontStrip = true; - - installPhase = '' - mkdir -p $out/share/doc/phantomjs - cp -a bin $out - cp -a ChangeLog examples LICENSE.BSD README.md third-party.txt $out/share/doc/phantomjs - ''; - - meta = { - description = "Headless WebKit with JavaScript API"; - longDescription = '' - PhantomJS is a headless WebKit with JavaScript API. - It has fast and native support for various web standards: - DOM handling, CSS selector, JSON, Canvas, and SVG. - - PhantomJS is an optimal solution for: - - Headless Website Testing - - Screen Capture - - Page Automation - - Network Monitoring - ''; - - homepage = "https://phantomjs.org/"; - license = lib.licenses.bsd3; - - maintainers = [ lib.maintainers.bluescreen303 ]; - inherit platforms; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index afce83f9c5e..0e73597347c 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -849,6 +849,8 @@ mapAliases ({ pgp-tools = signing-party; # Added 2017-03-26 pg_tmp = ephemeralpg; # Added 2018-01-16 + phantomjs = throw "phantomjs 1.9.8 has been dropped due to lack of maintenance and security issues"; # Added 2022-02-20 + # Obsolete PHP version aliases php73 = throw "php73 has been dropped due to the lack of maintanence from upstream for future releases."; # Added 2021-06-03 php73Packages = php73; # Added 2021-06-03 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 87c2377eb77..8769ffb0fd6 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15357,8 +15357,6 @@ with pkgs; pgcli = pkgs.python3Packages.pgcli; - phantomjs = callPackage ../development/tools/phantomjs { }; - phantomjs2 = libsForQt514.callPackage ../development/tools/phantomjs2 { }; picotool = callPackage ../development/tools/picotool { }; From dae6f96a4178bfe3d4bd8782d553ac9e487abc3c Mon Sep 17 00:00:00 2001 From: Calvin Beck Date: Sat, 19 Feb 2022 23:17:29 -0500 Subject: [PATCH 23/30] haskellPackages.git-annex: Add shellPath for the git-annex-shell. Git annex provides a login shell for restricted access: https://git-annex.branchable.com/git-annex-shell/ This was not exposed with `passthru.shellPath` before, so you could not set a user's shell to `haskellPackages.git-annex` declaratively before this change. --- pkgs/development/haskell-modules/configuration-common.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 4cf5867c657..b95f53758fd 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -92,6 +92,12 @@ self: super: { rm -r $out/doc/?ndroid* ''; }; + + # Git annex provides a restricted login shell. Setting + # passthru.shellPath here allows a user's login shell to be set to + # `git-annex-shell` by making `shell = haskellPackages.git-annex`. + # https://git-annex.branchable.com/git-annex-shell/ + passthru.shellPath = "/bin/git-annex-shell"; }) super.git-annex; # Fix test trying to access /home directory From 3efa108f6eaaf2109ec5e83b139a74743fa1d4d2 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 20 Feb 2022 21:50:10 +0100 Subject: [PATCH 24/30] checkov: 2.0.873 -> 2.0.875 --- pkgs/development/tools/analysis/checkov/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/analysis/checkov/default.nix b/pkgs/development/tools/analysis/checkov/default.nix index 6224a10ca7c..79efb55f081 100644 --- a/pkgs/development/tools/analysis/checkov/default.nix +++ b/pkgs/development/tools/analysis/checkov/default.nix @@ -32,13 +32,13 @@ with py.pkgs; buildPythonApplication rec { pname = "checkov"; - version = "2.0.873"; + version = "2.0.875"; src = fetchFromGitHub { owner = "bridgecrewio"; repo = pname; rev = version; - hash = "sha256-81gNvfaFqTEGReOP7LgcN5OLU3xeO62r/45b5lEEgow="; + hash = "sha256-ZM554FZayuxxf9dgbGcvfPoXm5rWjjZoNySnKpxRO/w="; }; nativeBuildInputs = with py.pkgs; [ From 6a3c746e3bca67bc3f589493d364c8970c7162b8 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 20 Feb 2022 21:57:54 +0100 Subject: [PATCH 25/30] python3Packages.aiohttp-wsgi: 0.9.1 -> 0.10.0 --- .../python-modules/aiohttp-wsgi/default.nix | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/aiohttp-wsgi/default.nix b/pkgs/development/python-modules/aiohttp-wsgi/default.nix index 1e476345320..1f01a7b57e5 100644 --- a/pkgs/development/python-modules/aiohttp-wsgi/default.nix +++ b/pkgs/development/python-modules/aiohttp-wsgi/default.nix @@ -8,14 +8,14 @@ buildPythonPackage rec { pname = "aiohttp-wsgi"; - version = "0.9.1"; + version = "0.10.0"; disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "etianen"; repo = pname; - rev = version; - sha256 = "sha256-lQ0mAUqsOmozUIMd6nwRATaq8C5SUFGoyQu1v0RBnas="; + rev = "v${version}"; + sha256 = "sha256-3Q00FidZWV1KueuHyHKQf1PsDJGOaRW6v/kBy7lzD4Q="; }; propagatedBuildInputs = [ @@ -26,12 +26,6 @@ buildPythonPackage rec { pytestCheckHook ]; - disabledTests = [ - # makes http request to another server - # https://github.com/etianen/aiohttp-wsgi/issues/32 - "testEnviron" - ]; - pythonImportsCheck = [ "aiohttp_wsgi" ]; meta = with lib; { From 064a1d87c339abb68d62dc7e5840da481e8ef9dc Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 20 Feb 2022 22:09:14 +0100 Subject: [PATCH 26/30] python3Packages.georss-wa-dfes-client: 0.3 -> 0.4 --- .../python-modules/georss-wa-dfes-client/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/georss-wa-dfes-client/default.nix b/pkgs/development/python-modules/georss-wa-dfes-client/default.nix index ff6c3a13ea7..74c1a999498 100644 --- a/pkgs/development/python-modules/georss-wa-dfes-client/default.nix +++ b/pkgs/development/python-modules/georss-wa-dfes-client/default.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { pname = "georss-wa-dfes-client"; - version = "0.3"; + version = "0.4"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -17,7 +17,7 @@ buildPythonPackage rec { owner = "exxamalte"; repo = "python-georss-wa-dfes-client"; rev = "v${version}"; - hash = "sha256-R7so5EYsKGrOdEXVZ44A+kgTA3pIW6W/R4hzw+Yx0wU="; + hash = "sha256-s7qGTlWFdOtw0eMK7idld7HPOxO8CjODCmUi0WmRLdI="; }; propagatedBuildInputs = [ From 4d2375326ea15abadb7cbd1b2be3a494da7deb67 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 20 Feb 2022 22:12:08 +0100 Subject: [PATCH 27/30] python3Packages.georss-qld-bushfire-alert-client: 0.5 -> 0.6 --- .../georss-qld-bushfire-alert-client/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/georss-qld-bushfire-alert-client/default.nix b/pkgs/development/python-modules/georss-qld-bushfire-alert-client/default.nix index e7ecd23b3c6..fb4b0e753ab 100644 --- a/pkgs/development/python-modules/georss-qld-bushfire-alert-client/default.nix +++ b/pkgs/development/python-modules/georss-qld-bushfire-alert-client/default.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { pname = "georss-qld-bushfire-alert-client"; - version = "0.5"; + version = "0.6"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -17,7 +17,7 @@ buildPythonPackage rec { owner = "exxamalte"; repo = "python-georss-qld-bushfire-alert-client"; rev = "v${version}"; - hash = "sha256-G7rIoG48MTWngtXCT5xzcjntzsYxtVWVhXflLsWY/dk="; + hash = "sha256-7KVR0hdLwyCj7MYJoRvQ6wTeJQAmCUarYxJXEFaN8Pc="; }; propagatedBuildInputs = [ From aa418a0101119facbbfab2072ca3f3ba7e6bfb1f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 20 Feb 2022 22:17:46 +0100 Subject: [PATCH 28/30] python3Packages.pyskyqremote: 0.3.1 -> 0.3.2 --- pkgs/development/python-modules/pyskyqremote/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyskyqremote/default.nix b/pkgs/development/python-modules/pyskyqremote/default.nix index caaae0b2b52..a971751c9ea 100644 --- a/pkgs/development/python-modules/pyskyqremote/default.nix +++ b/pkgs/development/python-modules/pyskyqremote/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "pyskyqremote"; - version = "0.3.1"; + version = "0.3.2"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "RogerSelwyn"; repo = "skyq_remote"; rev = version; - sha256 = "sha256-yPdyO78QdaLPBJQSeUP48uDr0Zhrj9nPxWbhKAMw0ww="; + sha256 = "sha256-R/HmkVbVKbO54lDSw1tLYs2mXi/XqZX9GGXozv+96iI="; }; propagatedBuildInputs = [ From 5ab8c97a90c3579a47b3cf4ef24f0e16f014d86e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 20 Feb 2022 22:22:36 +0100 Subject: [PATCH 29/30] python3Packages.rki-covid-parser: 1.3.1 -> 1.3.2 --- pkgs/development/python-modules/rki-covid-parser/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/rki-covid-parser/default.nix b/pkgs/development/python-modules/rki-covid-parser/default.nix index ec201fcd9f5..83b8d9319f2 100644 --- a/pkgs/development/python-modules/rki-covid-parser/default.nix +++ b/pkgs/development/python-modules/rki-covid-parser/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "rki-covid-parser"; - version = "1.3.1"; + version = "1.3.2"; format = "pyproject"; disabled = pythonOlder "3.6"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "thebino"; repo = pname; rev = "v${version}"; - sha256 = "UTLWBbNjvRuBwc5JD8l+izJu5vODLwS16ExdxUPT14A="; + sha256 = "sha256-lJFeGg34L+hmH/ZhTx7FGir/9dK/rviaGveOl2HgNlM="; }; propagatedBuildInputs = [ From d81f048ef4ce360ba2d11d3d7c94398be134b380 Mon Sep 17 00:00:00 2001 From: zowoq <59103226+zowoq@users.noreply.github.com> Date: Mon, 21 Feb 2022 06:50:02 +1000 Subject: [PATCH 30/30] jless: 0.7.1 -> 0.7.2 https://github.com/PaulJuliusMartinez/jless/releases/tag/v0.7.2 --- pkgs/development/tools/jless/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/jless/default.nix b/pkgs/development/tools/jless/default.nix index 1bb45925ed0..f18f3f556c5 100644 --- a/pkgs/development/tools/jless/default.nix +++ b/pkgs/development/tools/jless/default.nix @@ -2,16 +2,16 @@ rustPlatform.buildRustPackage rec { pname = "jless"; - version = "0.7.1"; + version = "0.7.2"; src = fetchFromGitHub { owner = "PaulJuliusMartinez"; repo = "jless"; rev = "v${version}"; - sha256 = "sha256-gBqyo/N/qF6HCTUrSKNVLiL1fc/JTfip1kNpNCBzRT8="; + sha256 = "sha256-IK+EllkctdhIYuzj7eLjadxKoutICPeSXAjLMFiRjmo="; }; - cargoSha256 = "sha256-PbX61RVbrI2kTuyXK+LhQdJDvNo3KjIQH5eBbL6iUBM="; + cargoSha256 = "sha256-CAyKWwtMq5UOODVRrpVHrhlep2wqG434dMGeYV2FSZY="; meta = with lib; { description = "A command-line pager for JSON data";