From be1d3742e8a019eddc2c2fb99e7670fda16ea8fb Mon Sep 17 00:00:00 2001 From: Victor Hugo Borja Date: Thu, 29 Sep 2022 12:35:25 -0500 Subject: [PATCH 01/79] google-cloud-sdk: Fix default component arches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When a google-cloud-sdk component does not specify architectures on components.json we should fallback to all supported arches. Previously there was a bug where `allArches` were incorrectly taken from the `attrValues arches` (nixOS architectures) instead of the GCS ones using `attrNames arches`. Also added arm to the list of supported architectures. No changes needed on components.json since it looks urls and hashes were already there. Co-authored-by: Fabián Heredia Montiel --- pkgs/tools/admin/google-cloud-sdk/components.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/admin/google-cloud-sdk/components.nix b/pkgs/tools/admin/google-cloud-sdk/components.nix index 99069fe4fd9..4a57b99e2ba 100644 --- a/pkgs/tools/admin/google-cloud-sdk/components.nix +++ b/pkgs/tools/admin/google-cloud-sdk/components.nix @@ -11,7 +11,7 @@ let arches = { x86 = "i686"; x86_64 = "x86_64"; - # TODO arm + arm = "aarch64"; }; # Mapping from GCS component operating systems to Nix operating systems @@ -30,8 +30,8 @@ let in "${arch'}-${os'}"; - # All architectures that are supported - allArches = builtins.attrValues arches; + # All architectures that are supported by GCS + allArches = builtins.attrNames arches; # A description of all available google-cloud-sdk components. # It's a JSON file with a list of components, along with some metadata From 7e780b307986e447cca19d55201132a4708a0140 Mon Sep 17 00:00:00 2001 From: Solene Rapenne Date: Tue, 4 Oct 2022 22:37:17 +0200 Subject: [PATCH 02/79] musikcube: add srapenne as maintainer --- pkgs/applications/audio/musikcube/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/audio/musikcube/default.nix b/pkgs/applications/audio/musikcube/default.nix index b19e22eeeba..28f9edf9c5b 100644 --- a/pkgs/applications/audio/musikcube/default.nix +++ b/pkgs/applications/audio/musikcube/default.nix @@ -84,7 +84,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A fully functional terminal-based music player, library, and streaming audio server"; homepage = "https://musikcube.com/"; - maintainers = [ maintainers.aanderse ]; + maintainers = [ maintainers.aanderse maintainers.srapenne ]; license = licenses.bsd3; platforms = platforms.all; }; From a68a20c73a0e2bf8a9f851a5948ce5fa0c2bf278 Mon Sep 17 00:00:00 2001 From: Solene Rapenne Date: Tue, 4 Oct 2022 22:37:42 +0200 Subject: [PATCH 03/79] kakoune: add srapenne as maintainer --- pkgs/applications/editors/kakoune/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/editors/kakoune/default.nix b/pkgs/applications/editors/kakoune/default.nix index 9beab9fa4be..26788ddb067 100644 --- a/pkgs/applications/editors/kakoune/default.nix +++ b/pkgs/applications/editors/kakoune/default.nix @@ -38,7 +38,7 @@ stdenv.mkDerivation rec { description = "A vim inspired text editor"; license = licenses.publicDomain; mainProgram = "kak"; - maintainers = with maintainers; [ vrthra ]; + maintainers = with maintainers; [ vrthra srapenne ]; platforms = platforms.unix; }; } From 0b6a5ffd9b7245cdcea2032503534c3a4764d96d Mon Sep 17 00:00:00 2001 From: Solene Rapenne Date: Tue, 4 Oct 2022 22:37:55 +0200 Subject: [PATCH 04/79] yacreader: add srapenne as maintainer --- pkgs/applications/graphics/yacreader/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/graphics/yacreader/default.nix b/pkgs/applications/graphics/yacreader/default.nix index 990e279c590..b95e25033b7 100644 --- a/pkgs/applications/graphics/yacreader/default.nix +++ b/pkgs/applications/graphics/yacreader/default.nix @@ -22,5 +22,6 @@ mkDerivation rec { description = "A comic reader for cross-platform reading and managing your digital comic collection"; homepage = "http://www.yacreader.com"; license = lib.licenses.gpl3; + maintainers = with maintainers; [ srapenne ]; }; } From ef60a5042fa2474c93072199f07754fd9d259b54 Mon Sep 17 00:00:00 2001 From: Solene Rapenne Date: Tue, 4 Oct 2022 22:38:06 +0200 Subject: [PATCH 05/79] keepassxc: add srapenne as maintainer --- pkgs/applications/misc/keepassx/community.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/misc/keepassx/community.nix b/pkgs/applications/misc/keepassx/community.nix index fdac7cede17..c7040e1c96c 100644 --- a/pkgs/applications/misc/keepassx/community.nix +++ b/pkgs/applications/misc/keepassx/community.nix @@ -124,7 +124,7 @@ stdenv.mkDerivation rec { ''; homepage = "https://keepassxc.org/"; license = licenses.gpl2Plus; - maintainers = with maintainers; [ jonafato turion ]; + maintainers = with maintainers; [ jonafato turion srapenne ]; platforms = platforms.linux ++ platforms.darwin; broken = stdenv.isDarwin; # see to https://github.com/NixOS/nixpkgs/issues/172165 }; From 9973855a442d46ff0b14743301161aa2040f4402 Mon Sep 17 00:00:00 2001 From: Solene Rapenne Date: Tue, 4 Oct 2022 22:38:15 +0200 Subject: [PATCH 06/79] claws-mail: add srapenne as maintainer --- pkgs/applications/networking/mailreaders/claws-mail/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/networking/mailreaders/claws-mail/default.nix b/pkgs/applications/networking/mailreaders/claws-mail/default.nix index 5a580cf0f70..a40e998618a 100644 --- a/pkgs/applications/networking/mailreaders/claws-mail/default.nix +++ b/pkgs/applications/networking/mailreaders/claws-mail/default.nix @@ -163,6 +163,6 @@ in stdenv.mkDerivation rec { homepage = "https://www.claws-mail.org/"; license = licenses.gpl3Plus; platforms = platforms.linux; - maintainers = with maintainers; [ fpletz globin orivej oxzi ajs124 ]; + maintainers = with maintainers; [ fpletz globin orivej oxzi ajs124 srapenne ]; }; } From 7fee5950abe1a3c90b433326e0696dd0b9f8613a Mon Sep 17 00:00:00 2001 From: Solene Rapenne Date: Tue, 4 Oct 2022 22:38:22 +0200 Subject: [PATCH 07/79] tig: add srapenne as maintainer --- .../version-management/git-and-tools/tig/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/version-management/git-and-tools/tig/default.nix b/pkgs/applications/version-management/git-and-tools/tig/default.nix index f4416dcc134..344a10cf2ec 100644 --- a/pkgs/applications/version-management/git-and-tools/tig/default.nix +++ b/pkgs/applications/version-management/git-and-tools/tig/default.nix @@ -49,7 +49,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://jonas.github.io/tig/"; description = "Text-mode interface for git"; - maintainers = with maintainers; [ bjornfor domenkozar qknight globin ma27 ]; + maintainers = with maintainers; [ bjornfor domenkozar qknight globin ma27 srapenne ]; license = licenses.gpl2Plus; platforms = platforms.unix; }; From 8ed6c97f372650599824631ede7efbf018f60753 Mon Sep 17 00:00:00 2001 From: Solene Rapenne Date: Tue, 4 Oct 2022 22:38:32 +0200 Subject: [PATCH 08/79] deltachat: add srapenne as maintainer --- pkgs/development/python-modules/deltachat/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/deltachat/default.nix b/pkgs/development/python-modules/deltachat/default.nix index a342538d4ac..9a4d924b71f 100644 --- a/pkgs/development/python-modules/deltachat/default.nix +++ b/pkgs/development/python-modules/deltachat/default.nix @@ -57,6 +57,6 @@ buildPythonPackage rec { homepage = "https://github.com/deltachat/deltachat-core-rust/tree/master/python"; changelog = "https://github.com/deltachat/deltachat-core-rust/blob/${version}/python/CHANGELOG"; license = licenses.mpl20; - maintainers = with maintainers; [ dotlambda ]; + maintainers = with maintainers; [ dotlambda srapenne ]; }; } From 5a08000cad3e9ee1a0c66f94be0eff5355c6679a Mon Sep 17 00:00:00 2001 From: Solene Rapenne Date: Tue, 4 Oct 2022 22:38:42 +0200 Subject: [PATCH 09/79] pngquant: add srapenne as maintainer --- pkgs/tools/graphics/pngquant/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/graphics/pngquant/default.nix b/pkgs/tools/graphics/pngquant/default.nix index 5faab72d8fb..908ad26fa6a 100644 --- a/pkgs/tools/graphics/pngquant/default.nix +++ b/pkgs/tools/graphics/pngquant/default.nix @@ -27,6 +27,6 @@ stdenv.mkDerivation rec { changelog = "https://github.com/kornelski/pngquant/raw/${version}/CHANGELOG"; platforms = platforms.unix; license = with licenses; [ gpl3Plus hpnd bsd2 ]; - maintainers = [ ]; + maintainers = [ maintainers.srapenne ]; }; } From ab53d889c088351b3372994c112f2c552803384c Mon Sep 17 00:00:00 2001 From: Solene Rapenne Date: Tue, 4 Oct 2022 22:38:48 +0200 Subject: [PATCH 10/79] rlwrap: add srapenne as maintainer --- pkgs/tools/misc/rlwrap/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/misc/rlwrap/default.nix b/pkgs/tools/misc/rlwrap/default.nix index 7766237753f..3a050cf781e 100644 --- a/pkgs/tools/misc/rlwrap/default.nix +++ b/pkgs/tools/misc/rlwrap/default.nix @@ -25,6 +25,6 @@ stdenv.mkDerivation rec { homepage = "https://github.com/hanslub42/rlwrap"; license = licenses.gpl2Plus; platforms = platforms.unix; - maintainers = with maintainers; [ SuperSandro2000 ]; + maintainers = with maintainers; [ SuperSandro2000 srapenne ]; }; } From 7d3c04e5095a1b5ceec581ee65b03b32ff0285a5 Mon Sep 17 00:00:00 2001 From: Solene Rapenne Date: Tue, 4 Oct 2022 22:38:54 +0200 Subject: [PATCH 11/79] tmux: add srapenne as maintainer --- pkgs/tools/misc/tmux/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/misc/tmux/default.nix b/pkgs/tools/misc/tmux/default.nix index 44cbe713f09..0602f9d19d8 100644 --- a/pkgs/tools/misc/tmux/default.nix +++ b/pkgs/tools/misc/tmux/default.nix @@ -77,6 +77,6 @@ stdenv.mkDerivation rec { changelog = "https://github.com/tmux/tmux/raw/${version}/CHANGES"; license = lib.licenses.bsd3; platforms = lib.platforms.unix; - maintainers = with lib.maintainers; [ thammers fpletz SuperSandro2000 ]; + maintainers = with lib.maintainers; [ thammers fpletz SuperSandro2000 srapenne ]; }; } From 9b55c3361ab75e9415cd87f050d088ad0051bc59 Mon Sep 17 00:00:00 2001 From: Solene Rapenne Date: Tue, 4 Oct 2022 22:39:04 +0200 Subject: [PATCH 12/79] bwm-ng: add srapenne as maintainer --- pkgs/tools/networking/bwm-ng/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/networking/bwm-ng/default.nix b/pkgs/tools/networking/bwm-ng/default.nix index cfe0d4176a6..397fb30490a 100644 --- a/pkgs/tools/networking/bwm-ng/default.nix +++ b/pkgs/tools/networking/bwm-ng/default.nix @@ -39,7 +39,7 @@ stdenv.mkDerivation rec { homepage = "http://www.gropp.org/?id=projects&sub=bwm-ng"; license = licenses.gpl2Plus; platforms = platforms.unix; - maintainers = with maintainers; [ ]; + maintainers = with maintainers; [ srapenne ]; longDescription = '' bwm-ng supports: - /proc/net/dev, netstat, getifaddr, sysctl, kstat, /proc/diskstats /proc/partitions, IOKit, From f92a85b01a6387a4d38568d714084a0f3518b44f Mon Sep 17 00:00:00 2001 From: Thiago Kenji Okada Date: Wed, 5 Oct 2022 09:19:05 +0100 Subject: [PATCH 13/79] funcparserlib: 1.0.0a0 -> 1.0.0 --- .../python-modules/funcparserlib/default.nix | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/pkgs/development/python-modules/funcparserlib/default.nix b/pkgs/development/python-modules/funcparserlib/default.nix index ba535146cf2..0eab273848e 100644 --- a/pkgs/development/python-modules/funcparserlib/default.nix +++ b/pkgs/development/python-modules/funcparserlib/default.nix @@ -1,7 +1,6 @@ { lib , buildPythonPackage , fetchFromGitHub -, fetchpatch , poetry-core , python , pytestCheckHook @@ -11,7 +10,7 @@ buildPythonPackage rec { pname = "funcparserlib"; - version = "1.0.0a0"; + version = "1.0.0"; format = "pyproject"; disabled = pythonOlder "3.6"; @@ -20,7 +19,7 @@ buildPythonPackage rec { owner = "vlasovskikh"; repo = pname; rev = version; - sha256 = "sha256-YfcboKjyc5ASzrp0duu2R6psf51MGZIeZ0owo5QNSnU="; + sha256 = "sha256-moWaOzyF/yhDQCLEp7bc0j8wNv7FM7cvvpCwon3j+gI="; }; nativeBuildInputs = [ @@ -32,15 +31,6 @@ buildPythonPackage rec { six ]; - patches = [ - # Support for poetry-core, https://github.com/vlasovskikh/funcparserlib/pull/73 - (fetchpatch { - name = "support-poetry-core.patch"; - url = "https://github.com/vlasovskikh/funcparserlib/commit/61ed558fc146b7a30879919325dfa8aae77be556.patch"; - sha256 = "sha256-tqdR3r4/t7RWBYZeAabaN7oYf6VxkVVz006XICX9rYI="; - }) - ]; - pythonImportsCheck = [ "funcparserlib" ]; From e265a79d176d309032a0957dca02c1dc46d45b11 Mon Sep 17 00:00:00 2001 From: Thiago Kenji Okada Date: Wed, 5 Oct 2022 09:23:50 +0100 Subject: [PATCH 14/79] hy: 1.0a4 -> 0.24.0 Not a downgrade, upstream returned to 0.* version numbers: https://github.com/hylang/hy/releases/tag/0.24.0 --- .../development/python-modules/hy/default.nix | 24 ++++++++++--------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/pkgs/development/python-modules/hy/default.nix b/pkgs/development/python-modules/hy/default.nix index a962f86854f..c25417ecef0 100644 --- a/pkgs/development/python-modules/hy/default.nix +++ b/pkgs/development/python-modules/hy/default.nix @@ -16,7 +16,7 @@ buildPythonPackage rec { pname = "hy"; - version = "1.0a4"; + version = "0.24.0"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -25,7 +25,7 @@ buildPythonPackage rec { owner = "hylang"; repo = pname; rev = version; - sha256 = "sha256-MBzp3jqBg/kH233wcgYYHc+Yg9GuOaBsXIfjFDihD1E="; + sha256 = "sha256-PmnYOniYqNHGTxpWuAc+zBhOsgRgMMbERHq81KpHheg="; }; # https://github.com/hylang/hy/blob/1.0a4/get_version.py#L9-L10 @@ -34,24 +34,26 @@ buildPythonPackage rec { propagatedBuildInputs = [ colorama funcparserlib - rply # TODO: remove on the next release - ] - ++ lib.optionals (pythonOlder "3.9") [ + ] ++ + lib.optionals (pythonOlder "3.9") [ astor - ] + ] ++ # for backwards compatibility with removed pkgs/development/interpreters/hy # See: https://github.com/NixOS/nixpkgs/issues/171428 - ++ (hyDefinedPythonPackages python.pkgs); + (hyDefinedPythonPackages python.pkgs); checkInputs = [ pytestCheckHook ]; + preCheck = '' + # For test_bin_hy + export PATH="$out/bin:$PATH" + ''; + disabledTests = [ - # Don't test the binary - "test_bin_hy" - "test_hystartup" - "est_hy2py_import" + "test_circular_macro_require" + "test_macro_require" ]; pythonImportsCheck = [ "hy" ]; From 24407ae3e78300ea9d866190b1ec31421ccf1472 Mon Sep 17 00:00:00 2001 From: Thomas Gerbet Date: Thu, 6 Oct 2022 14:17:38 +0200 Subject: [PATCH 15/79] spark_3_2: 3.2.1 -> 3.2.2 https://spark.apache.org/releases/spark-release-3-2-2.html Fixes CVE-2022-33891. --- pkgs/applications/networking/cluster/spark/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/cluster/spark/default.nix b/pkgs/applications/networking/cluster/spark/default.nix index 2a9046d94a0..e30a1214c3a 100644 --- a/pkgs/applications/networking/cluster/spark/default.nix +++ b/pkgs/applications/networking/cluster/spark/default.nix @@ -74,8 +74,8 @@ in { spark_3_2 = spark rec { pname = "spark"; - version = "3.2.1"; - sha256 = "0kxdqczwmj6pray0h8h1qhygni9m82jzznw5fbv9hrxrkq1v182d"; + version = "3.2.2"; + sha256 = "sha256-yKoTyD/IqvsJQs0jB67h1zqwYaLuikdoa5fYIXtvhz0="; }; spark_3_1 = spark rec { pname = "spark"; From a7aa87ae68c49663b9e0e11ca48b47efb1de721d Mon Sep 17 00:00:00 2001 From: Solene Rapenne Date: Thu, 6 Oct 2022 18:15:16 +0200 Subject: [PATCH 16/79] yacreader: use lib for maintainer --- pkgs/applications/graphics/yacreader/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/graphics/yacreader/default.nix b/pkgs/applications/graphics/yacreader/default.nix index b95e25033b7..09e44f58db6 100644 --- a/pkgs/applications/graphics/yacreader/default.nix +++ b/pkgs/applications/graphics/yacreader/default.nix @@ -22,6 +22,6 @@ mkDerivation rec { description = "A comic reader for cross-platform reading and managing your digital comic collection"; homepage = "http://www.yacreader.com"; license = lib.licenses.gpl3; - maintainers = with maintainers; [ srapenne ]; + maintainers = with lib.maintainers; [ srapenne ]; }; } From 3f1785e1a930a5a3fe7fc1f92abd26c6c3280743 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sol=C3=A8ne=20Rapenne?= Date: Thu, 6 Oct 2022 18:45:49 +0200 Subject: [PATCH 17/79] musikcube: use with maintainers Co-authored-by: Martin Weinelt --- pkgs/applications/audio/musikcube/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/audio/musikcube/default.nix b/pkgs/applications/audio/musikcube/default.nix index 28f9edf9c5b..6b47d1f3c84 100644 --- a/pkgs/applications/audio/musikcube/default.nix +++ b/pkgs/applications/audio/musikcube/default.nix @@ -84,7 +84,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A fully functional terminal-based music player, library, and streaming audio server"; homepage = "https://musikcube.com/"; - maintainers = [ maintainers.aanderse maintainers.srapenne ]; + maintainers = with maintainers; [ aanderse srapenne ]; license = licenses.bsd3; platforms = platforms.all; }; From 277b92d0e9baf4f7e9db868243cb9459c80f1b3c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Oct 2022 09:43:28 +0200 Subject: [PATCH 18/79] python310Packages.marshmallow-dataclass: 8.5.8 -> 8.5.9 --- .../python-modules/marshmallow-dataclass/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/marshmallow-dataclass/default.nix b/pkgs/development/python-modules/marshmallow-dataclass/default.nix index 32a490822d2..9ebb16b8330 100644 --- a/pkgs/development/python-modules/marshmallow-dataclass/default.nix +++ b/pkgs/development/python-modules/marshmallow-dataclass/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "marshmallow-dataclass"; - version = "8.5.8"; + version = "8.5.9"; format = "setuptools"; disabled = pythonOlder "3.6"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "lovasoa"; repo = "marshmallow_dataclass"; rev = "v${version}"; - sha256 = "sha256-3kd/V3U3+/HfUmzwkp3/ChwSjknQ8rIYnTUsRH3WoP4="; + sha256 = "sha256-gA5GxE2as/P5yT3ymvXmLQfG2GyZE7Fj+zBaT88O4vY="; }; propagatedBuildInputs = [ From 450d420811f6474cb16126889fd2f385924d35f1 Mon Sep 17 00:00:00 2001 From: Thiago Kenji Okada Date: Fri, 7 Oct 2022 10:10:24 +0100 Subject: [PATCH 19/79] hy: fix passthru.withPackages In the previous version it was adding the extra packages as `propagatedBuildInputs`. This meant that this package would be rebuild for no reason (it is not like the package will actually depend on the extra inputs) and also cause the strange side-effect of creating a hy package without its console entry-points (e.g.: no `$out/bin` contents). Now we are reusing the `python.withPackages` that will avoid the unnecessary rebuild, fixing both issues. --- pkgs/development/python-modules/hy/default.nix | 15 +++++---------- pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/pkgs/development/python-modules/hy/default.nix b/pkgs/development/python-modules/hy/default.nix index c25417ecef0..c40ba37cec6 100644 --- a/pkgs/development/python-modules/hy/default.nix +++ b/pkgs/development/python-modules/hy/default.nix @@ -10,8 +10,6 @@ , pythonOlder , rply , testers -, toPythonApplication -, hyDefinedPythonPackages ? python-packages: [ ] /* Packages like with python.withPackages */ }: buildPythonPackage rec { @@ -37,10 +35,7 @@ buildPythonPackage rec { ] ++ lib.optionals (pythonOlder "3.9") [ astor - ] ++ - # for backwards compatibility with removed pkgs/development/interpreters/hy - # See: https://github.com/NixOS/nixpkgs/issues/171428 - (hyDefinedPythonPackages python.pkgs); + ]; checkInputs = [ pytestCheckHook @@ -63,10 +58,10 @@ buildPythonPackage rec { package = hy; command = "hy -v"; }; - # also for backwards compatibility with removed pkgs/development/interpreters/hy - withPackages = python-packages: (toPythonApplication hy).override { - hyDefinedPythonPackages = python-packages; - }; + # For backwards compatibility with removed pkgs/development/interpreters/hy + # Example usage: + # hy.withPackages (ps: with ps; [ hyrule requests ]) + withPackages = python-packages: python.withPackages (ps: (python-packages ps) ++ [ ps.hy ]); }; meta = with lib; { diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 46799a97345..0b8db8b1809 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -37099,7 +37099,7 @@ with pkgs; simplenote = callPackage ../applications/misc/simplenote { }; - hy = python3Packages.hy.withPackages (python-packages: [ ]); + hy = with python3Packages; toPythonApplication hy; wmic-bin = callPackage ../servers/monitoring/plugins/wmic-bin.nix { }; From a0bec14d9a3ca7253d1d23c7b4d1ea979c5a9bfb Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Oct 2022 12:17:38 +0200 Subject: [PATCH 20/79] python310Packages.lektor: 3.3.4 -> 3.4.0b2 --- .../python-modules/lektor/default.nix | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/lektor/default.nix b/pkgs/development/python-modules/lektor/default.nix index 0749a547064..74fecc7f0e5 100644 --- a/pkgs/development/python-modules/lektor/default.nix +++ b/pkgs/development/python-modules/lektor/default.nix @@ -2,10 +2,12 @@ , babel , buildPythonPackage , click +, deprecated , exifread , fetchFromGitHub , filetype , flask +, importlib-metadata , inifile , jinja2 , marshmallow @@ -21,13 +23,14 @@ , python-slugify , requests , setuptools +, typing-inspect , watchdog , werkzeug }: buildPythonPackage rec { pname = "lektor"; - version = "3.3.5"; + version = "3.4.0b2"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -36,12 +39,13 @@ buildPythonPackage rec { owner = "lektor"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-i3SuvRREuq0EENDtXjQegdmz30RmH1HVqBwdjq/mkTM="; + hash = "sha256-5w3tT0celHgjmLlsM3sdBdYlXx57z3kMePVGSQkOP7M="; }; propagatedBuildInputs = [ babel click + deprecated exifread filetype flask @@ -55,8 +59,11 @@ buildPythonPackage rec { python-slugify requests setuptools + typing-inspect watchdog werkzeug + ] ++ lib.optionals (pythonOlder "3.8") [ + importlib-metadata ]; checkInputs = [ @@ -65,6 +72,11 @@ buildPythonPackage rec { pytestCheckHook ]; + postPatch = '' + substituteInPlace setup.cfg \ + --replace "typing.inspect < 0.8.0" "typing.inspect" + ''; + pythonImportsCheck = [ "lektor" ]; From 58bd31cfa171b07c97f5f87f96a52a4bea187319 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Oct 2022 13:33:13 +0200 Subject: [PATCH 21/79] python310Packages.sentry-sdk: 1.9.9 -> 1.9.10 --- pkgs/development/python-modules/sentry-sdk/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/sentry-sdk/default.nix b/pkgs/development/python-modules/sentry-sdk/default.nix index 70635de5e4f..cd052afdacb 100644 --- a/pkgs/development/python-modules/sentry-sdk/default.nix +++ b/pkgs/development/python-modules/sentry-sdk/default.nix @@ -46,7 +46,7 @@ buildPythonPackage rec { pname = "sentry-sdk"; - version = "1.9.9"; + version = "1.9.10"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -55,7 +55,7 @@ buildPythonPackage rec { owner = "getsentry"; repo = "sentry-python"; rev = version; - hash = "sha256-DIiShIiTHmJdOtf1WYi4ofJdZnsg13VczVvGW+ngE+I="; + hash = "sha256-ZrteALD+HsqUwkFDPih8adxNP5TO5JqdPFI8oMBphY4="; }; propagatedBuildInputs = [ From dbbb1e5ee438cabbbc8f76beb2dc0928956394eb Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Oct 2022 16:51:58 +0200 Subject: [PATCH 22/79] python310Packages.pyreadstat: enable tests - add pythonImportsCheck - use module name --- .../python-modules/pyreadstat/default.nix | 43 +++++++++++++++---- pkgs/top-level/python-packages.nix | 4 +- 2 files changed, 37 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/pyreadstat/default.nix b/pkgs/development/python-modules/pyreadstat/default.nix index 499aa97db8c..4992d260471 100644 --- a/pkgs/development/python-modules/pyreadstat/default.nix +++ b/pkgs/development/python-modules/pyreadstat/default.nix @@ -1,14 +1,26 @@ -{ lib, buildPythonPackage, fetchFromGitHub, cython, zlib, pandas, readstat }: +{ lib +, buildPythonPackage +, cython +, fetchFromGitHub +, pandas +, python +, pythonOlder +, readstat +, zlib +}: buildPythonPackage rec { pname = "pyreadstat"; version = "1.1.9"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "Roche"; repo = "pyreadstat"; rev = "v${version}"; - sha256 = "16aa16ybh3ikmlxsg8zm19x9k6r4gpd0sxqagv318w76jjyw1nrs"; + hash = "sha256-OtvAvZTmcBTGfgp3Ddp9JJuZegr1o6c7rTMOuLwJSpk="; }; nativeBuildInputs = [ @@ -24,11 +36,26 @@ buildPythonPackage rec { pandas ]; - meta = { - homepage = "https://github.com/Roche/pyreadstat"; - description = "Python package to read SAS, SPSS and Stata files into pandas data frames using the readstat C library"; - license = lib.licenses.asl20; - maintainers = with lib.maintainers; [ swflint ]; - }; + pythonImportsCheck = [ + "pyreadstat" + ]; + preCheck = '' + export HOME=$(mktemp -d); + ''; + + checkPhase = '' + runHook preCheck + + ${python.interpreter} tests/test_basic.py + + runHook postCheck + ''; + + meta = with lib; { + description = "Python package to read SAS, SPSS and Stata files into pandas data frames using the readstat C library"; + homepage = "https://github.com/Roche/pyreadstat"; + license = licenses.asl20; + maintainers = with maintainers; [ swflint ]; + }; } diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 75cbf33b249..f964503b719 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -8413,6 +8413,8 @@ in { pyramid_multiauth = callPackage ../development/python-modules/pyramid_multiauth { }; + pyreadstat = callPackage ../development/python-modules/pyreadstat { }; + pyrealsense2 = toPythonModule (pkgs.librealsense.override { enablePython = true; pythonPackages = self; @@ -9564,8 +9566,6 @@ in { readme_renderer = callPackage ../development/python-modules/readme_renderer { }; - readstats = callPackage ../development/python-modules/pyreadstat { }; - readthedocs-sphinx-ext = callPackage ../development/python-modules/readthedocs-sphinx-ext { }; rebulk = callPackage ../development/python-modules/rebulk { }; From 7e3eb4a0f93864b3dc5bbc48a45c1d1b3ece422a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Oct 2022 16:54:44 +0200 Subject: [PATCH 23/79] python310Packages.pandas-stubs: 1.2.0.39 -> 1.5.0.221003 --- .../python-modules/pandas-stubs/default.nix | 109 +++++++++++++++--- 1 file changed, 93 insertions(+), 16 deletions(-) diff --git a/pkgs/development/python-modules/pandas-stubs/default.nix b/pkgs/development/python-modules/pandas-stubs/default.nix index c5684769776..a719f98e9d1 100644 --- a/pkgs/development/python-modules/pandas-stubs/default.nix +++ b/pkgs/development/python-modules/pandas-stubs/default.nix @@ -1,39 +1,116 @@ { lib , buildPythonPackage -, isPy27 , fetchFromGitHub +, jinja2 +, matplotlib +, openpyxl +, pandas +, poetry-core +, scipy +, sqlalchemy +, tabulate +, pyarrow +, pyreadstat +, tables +, pytestCheckHook +, pythonOlder +, types-pytz , typing-extensions -, mypy +, xarray }: buildPythonPackage rec { pname = "pandas-stubs"; - version = "1.2.0.39"; + version = "1.5.0.221003"; + format = "pyproject"; - disabled = isPy27; + disabled = pythonOlder "3.8"; - # Use GitHub source since PyPi source does not include tests src = fetchFromGitHub { - owner = "VirtusLab"; + owner = "pandas-dev"; repo = pname; - rev = "2bd932777d1050ea8f86c527266a4cd205aa15b1"; - sha256 = "m2McU53NNvRwnWKN9GL8dW1eCGKbTi0471szRQwZu1Q="; + rev = "v${version}"; + sha256 = "sha256-RV0pOTPtlwBmYs3nu8+lNwVpl/VC/VzcXKOQMg9C3qk="; }; - propagatedBuildInputs = [ - typing-extensions + nativeBuildInputs = [ + poetry-core ]; - pythonImportsCheck = [ "pandas" ]; - checkInputs = [ mypy ]; - checkPhase = '' - mypy --config-file mypy.ini third_party/3/pandas tests/snippets - ''; + propagatedBuildInputs = [ + pandas + types-pytz + ]; + + checkInputs = [ + jinja2 + matplotlib + openpyxl + scipy + sqlalchemy + tabulate + pyarrow + tables + pyreadstat + pytestCheckHook + typing-extensions + xarray + ]; + + disabledTests = [ + # AttributeErrors, missing dependencies, error and warning checks + "test_data_error" + "test_specification_error" + "test_setting_with_copy_error" + "test_setting_with_copy_warning" + "test_numexpr_clobbering_error" + "test_undefined_variable_error" + "test_indexing_error" + "test_pyperclip_exception" + "test_css_warning" + "test_possible_data_loss_error" + "test_closed_file_error" + "test_incompatibility_warning" + "test_attribute_conflict_warning" + "test_database_error" + "test_possible_precision_loss" + "test_value_label_type_mismatch" + "test_invalid_column_name" + "test_categorical_conversion_warning" + "test_join" + "test_isetframe" + "test_reset_index_150_changes" + "test_compare_150_changes" + "test_quantile_150_changes" + "test_resample_150_changes" + "test_index_astype" + "test_orc" + "test_orc_path" + "test_orc_buffer" + "test_orc_columns" + "test_orc_bytes" + "test_clipboard" + "test_clipboard_iterator" + "test_arrow_dtype" + "test_aggregate_series_combinations" + "test_aggregate_frame_combinations" + "test_types_rank" + "test_reset_index" + "test_types_assert_series_equal" + "test_show_version" + "test_dummies" + "test_from_dummies_args" + "test_rolling_step_method" + ]; + + pythonImportsCheck = [ + "pandas" + ]; meta = with lib; { description = "Type annotations for Pandas"; homepage = "https://github.com/VirtusLab/pandas-stubs"; license = licenses.mit; - maintainers = [ maintainers.malo ]; + maintainers = with maintainers; [ malo ]; }; } From df475f8b7207c7cc612ea3a470be7436875c40d6 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Oct 2022 16:56:39 +0200 Subject: [PATCH 24/79] python310Packages.openai: 0.23.0 -> 0.23.1 --- .../python-modules/openai/default.nix | 57 +++++++++++++------ 1 file changed, 39 insertions(+), 18 deletions(-) diff --git a/pkgs/development/python-modules/openai/default.nix b/pkgs/development/python-modules/openai/default.nix index 15d3b79e0bb..b6c539150cc 100644 --- a/pkgs/development/python-modules/openai/default.nix +++ b/pkgs/development/python-modules/openai/default.nix @@ -1,36 +1,35 @@ { lib , buildPythonPackage , fetchFromGitHub -, pythonOlder - -# Python dependencies +, matplotlib , numpy , openpyxl , pandas , pandas-stubs +, plotly +, pytest-mock +, pytestCheckHook +, pythonOlder , requests , scikit-learn , tenacity , tqdm +, typing-extensions , wandb - -# Check dependencies -, pytest-mock -, pytestCheckHook }: buildPythonPackage rec { pname = "openai"; - version = "0.23.0"; + version = "0.23.1"; + format = "setuptools"; disabled = pythonOlder "3.7.1"; - # Use GitHub source since PyPi source does not include tests src = fetchFromGitHub { owner = "openai"; repo = "openai-python"; rev = "v${version}"; - sha256 = "sha256-VH1XR2FocRX5AYpCruAKwQUXjXqvdJsVwKdtot5Bo+Y="; + hash = "sha256-4RdER6ecvHGXTLZ1GnBNI1hIETI8O/t+kuOXiQhMigs="; }; propagatedBuildInputs = [ @@ -39,18 +38,40 @@ buildPythonPackage rec { pandas pandas-stubs requests - scikit-learn - tenacity tqdm - wandb + typing-extensions + ]; + + passthru.optional-dependencies = { + wandb = [ + wandb + ]; + embeddings = [ + matplotlib + plotly + scikit-learn + tenacity + ]; + }; + + pythonImportsCheck = [ + "openai" + ]; + + checkInputs = [ + pytestCheckHook + pytest-mock + ]; + + pytestFlagsArray = [ + "openai/tests" ]; - pythonImportsCheck = [ "openai" ]; - checkInputs = [ pytestCheckHook pytest-mock ]; - pytestFlagsArray = [ "openai/tests" ]; OPENAI_API_KEY = "sk-foo"; + disabledTestPaths = [ - "openai/tests/test_endpoints.py" # requires a real API key + # Requires a real API key + "openai/tests/test_endpoints.py" "openai/tests/test_file_cli.py" ]; @@ -58,6 +79,6 @@ buildPythonPackage rec { description = "Python client library for the OpenAI API"; homepage = "https://github.com/openai/openai-python"; license = licenses.mit; - maintainers = [ maintainers.malo ]; + maintainers = with maintainers; [ malo ]; }; } From 00eb66b55c7dbdb78578c31c30e749cb536703b6 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Oct 2022 17:10:28 +0200 Subject: [PATCH 25/79] python310Packages.dissect-cstruct: init at 3.2 --- .../dissect-cstruct/default.nix | 45 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 47 insertions(+) create mode 100644 pkgs/development/python-modules/dissect-cstruct/default.nix diff --git a/pkgs/development/python-modules/dissect-cstruct/default.nix b/pkgs/development/python-modules/dissect-cstruct/default.nix new file mode 100644 index 00000000000..5cf571e0200 --- /dev/null +++ b/pkgs/development/python-modules/dissect-cstruct/default.nix @@ -0,0 +1,45 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, setuptools +, setuptools-scm +, pytestCheckHook +, pythonOlder +}: + +buildPythonPackage rec { + pname = "dissect-cstruct"; + version = "3.2"; + format = "pyproject"; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "fox-it"; + repo = "dissect.cstruct"; + rev = version; + hash = "sha256-iP00EcEkUWoYi+SCo/gY9LSVtCSQZ3g2wMs4Z8m+X2M="; + }; + + SETUPTOOLS_SCM_PRETEND_VERSION = version; + + nativeBuildInputs = [ + setuptools + setuptools-scm + ]; + + checkInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "dissect.cstruct" + ]; + + meta = with lib; { + description = "Dissect module implementing a parser for C-like structures"; + homepage = "https://github.com/fox-it/dissect.cstruct"; + license = licenses.agpl3Only; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 75cbf33b249..1df315a3663 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2477,6 +2477,8 @@ in { diskcache = callPackage ../development/python-modules/diskcache { }; + dissect-cstruct = callPackage ../development/python-modules/dissect-cstruct { }; + dissononce = callPackage ../development/python-modules/dissononce { }; distlib = callPackage ../development/python-modules/distlib { }; From 6d289907ab5030cdf13fff969ac8e98200bc3525 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Oct 2022 17:16:44 +0200 Subject: [PATCH 26/79] python310Packages.dissect-clfs: init at 1.1 --- .../python-modules/dissect-clfs/default.nix | 50 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 52 insertions(+) create mode 100644 pkgs/development/python-modules/dissect-clfs/default.nix diff --git a/pkgs/development/python-modules/dissect-clfs/default.nix b/pkgs/development/python-modules/dissect-clfs/default.nix new file mode 100644 index 00000000000..2265792f880 --- /dev/null +++ b/pkgs/development/python-modules/dissect-clfs/default.nix @@ -0,0 +1,50 @@ +{ lib +, buildPythonPackage +, dissect-cstruct +, fetchFromGitHub +, setuptools +, setuptools-scm +, pytestCheckHook +, pythonOlder +}: + +buildPythonPackage rec { + pname = "dissect-clfs"; + version = "1.1"; + format = "pyproject"; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "fox-it"; + repo = "dissect.clfs"; + rev = version; + hash = "sha256-5rG8YiVBU4ETLgQoFnMaeXHttIB26+OhIdYjKDKmPBc="; + }; + + SETUPTOOLS_SCM_PRETEND_VERSION = version; + + nativeBuildInputs = [ + setuptools + setuptools-scm + ]; + + propagatedBuildInputs = [ + dissect-cstruct + ]; + + checkInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "dissect.clfs" + ]; + + meta = with lib; { + description = "Dissect module implementing a parser for the CLFS (Common Log File System) file system"; + homepage = "https://github.com/fox-it/dissect.clfs"; + license = licenses.agpl3Only; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 1df315a3663..1d2a9b43015 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2477,6 +2477,8 @@ in { diskcache = callPackage ../development/python-modules/diskcache { }; + dissect-clfs = callPackage ../development/python-modules/dissect-clfs { }; + dissect-cstruct = callPackage ../development/python-modules/dissect-cstruct { }; dissononce = callPackage ../development/python-modules/dissononce { }; From 6cc8d0b2add5e2adc0701473e0b1473e63217e9c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Oct 2022 17:21:03 +0200 Subject: [PATCH 27/79] python310Packages.dissect-util: init at 3.2 --- .../python-modules/dissect-util/default.nix | 45 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 47 insertions(+) create mode 100644 pkgs/development/python-modules/dissect-util/default.nix diff --git a/pkgs/development/python-modules/dissect-util/default.nix b/pkgs/development/python-modules/dissect-util/default.nix new file mode 100644 index 00000000000..f6021d9ae98 --- /dev/null +++ b/pkgs/development/python-modules/dissect-util/default.nix @@ -0,0 +1,45 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, setuptools +, setuptools-scm +, pytestCheckHook +, pythonOlder +}: + +buildPythonPackage rec { + pname = "dissect-util"; + version = "3.2"; + format = "pyproject"; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "fox-it"; + repo = "dissect.util"; + rev = version; + hash = "sha256-vit+SQ368limLvdVP/0eVINiEAY/dzD/simHFw489Ck="; + }; + + SETUPTOOLS_SCM_PRETEND_VERSION = version; + + nativeBuildInputs = [ + setuptools + setuptools-scm + ]; + + checkInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "dissect.util" + ]; + + meta = with lib; { + description = "Dissect module implementing various utility functions for the other Dissect modules"; + homepage = "https://github.com/fox-it/dissect.util"; + license = licenses.agpl3Only; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 1d2a9b43015..0e171bcaadf 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2481,6 +2481,8 @@ in { dissect-cstruct = callPackage ../development/python-modules/dissect-cstruct { }; + dissect-util = callPackage ../development/python-modules/dissect-util { }; + dissononce = callPackage ../development/python-modules/dissononce { }; distlib = callPackage ../development/python-modules/distlib { }; From 72023476869b9245b9e4f0a558414cce6087341d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Oct 2022 17:24:57 +0200 Subject: [PATCH 28/79] python310Packages.dissect-volume: init at 3.1 --- .../python-modules/dissect-volume/default.nix | 52 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 54 insertions(+) create mode 100644 pkgs/development/python-modules/dissect-volume/default.nix diff --git a/pkgs/development/python-modules/dissect-volume/default.nix b/pkgs/development/python-modules/dissect-volume/default.nix new file mode 100644 index 00000000000..8e409a846cc --- /dev/null +++ b/pkgs/development/python-modules/dissect-volume/default.nix @@ -0,0 +1,52 @@ +{ lib +, buildPythonPackage +, dissect-cstruct +, dissect-util +, fetchFromGitHub +, setuptools +, setuptools-scm +, pytestCheckHook +, pythonOlder +}: + +buildPythonPackage rec { + pname = "dissect-volume"; + version = "3.1"; + format = "pyproject"; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "fox-it"; + repo = "dissect.volume"; + rev = version; + hash = "sha256-9SbluaB2wV4gOCry5c7ZLABMwhGfnYg7dTPdKMXYSZM="; + }; + + SETUPTOOLS_SCM_PRETEND_VERSION = version; + + nativeBuildInputs = [ + setuptools + setuptools-scm + ]; + + propagatedBuildInputs = [ + dissect-cstruct + dissect-util + ]; + + checkInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "dissect.volume" + ]; + + meta = with lib; { + description = "Dissect module implementing various utility functions for the other Dissect modules"; + homepage = "https://github.com/fox-it/dissect.volume"; + license = licenses.agpl3Only; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 0e171bcaadf..527e42913f0 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2483,6 +2483,8 @@ in { dissect-util = callPackage ../development/python-modules/dissect-util { }; + dissect-volume = callPackage ../development/python-modules/dissect-volume { }; + dissononce = callPackage ../development/python-modules/dissononce { }; distlib = callPackage ../development/python-modules/distlib { }; From 126ab80f3051ec509959dd75c0ee7de26cfad023 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Oct 2022 17:28:29 +0200 Subject: [PATCH 29/79] python310Packages.dissect-cim: init at 3.2 --- .../python-modules/dissect-cim/default.nix | 52 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 54 insertions(+) create mode 100644 pkgs/development/python-modules/dissect-cim/default.nix diff --git a/pkgs/development/python-modules/dissect-cim/default.nix b/pkgs/development/python-modules/dissect-cim/default.nix new file mode 100644 index 00000000000..a7b81524227 --- /dev/null +++ b/pkgs/development/python-modules/dissect-cim/default.nix @@ -0,0 +1,52 @@ +{ lib +, buildPythonPackage +, dissect-cstruct +, dissect-util +, fetchFromGitHub +, setuptools +, setuptools-scm +, pytestCheckHook +, pythonOlder +}: + +buildPythonPackage rec { + pname = "dissect-cim"; + version = "3.2"; + format = "pyproject"; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "fox-it"; + repo = "dissect.cim"; + rev = version; + hash = "sha256-rWlAYndqqZ6l/iwk1u2gG0mtQHvAMYUUEWo23hLykXI="; + }; + + SETUPTOOLS_SCM_PRETEND_VERSION = version; + + nativeBuildInputs = [ + setuptools + setuptools-scm + ]; + + propagatedBuildInputs = [ + dissect-cstruct + dissect-util + ]; + + checkInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "dissect.cim" + ]; + + meta = with lib; { + description = "Dissect module implementing a parser for the Windows Common Information Model (CIM) database"; + homepage = "https://github.com/fox-it/dissect.cim"; + license = licenses.agpl3Only; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 527e42913f0..0ab7b8a58eb 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2477,6 +2477,8 @@ in { diskcache = callPackage ../development/python-modules/diskcache { }; + dissect-cim = callPackage ../development/python-modules/dissect-cim { }; + dissect-clfs = callPackage ../development/python-modules/dissect-clfs { }; dissect-cstruct = callPackage ../development/python-modules/dissect-cstruct { }; From 6cd6aede87a6f96bea90f004a846d50163c30e18 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Oct 2022 17:33:56 +0200 Subject: [PATCH 30/79] python310Packages.dissect-etl: init at 3.1 --- .../python-modules/dissect-etl/default.nix | 52 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 54 insertions(+) create mode 100644 pkgs/development/python-modules/dissect-etl/default.nix diff --git a/pkgs/development/python-modules/dissect-etl/default.nix b/pkgs/development/python-modules/dissect-etl/default.nix new file mode 100644 index 00000000000..fba8a126d1a --- /dev/null +++ b/pkgs/development/python-modules/dissect-etl/default.nix @@ -0,0 +1,52 @@ +{ lib +, buildPythonPackage +, dissect-cstruct +, dissect-util +, fetchFromGitHub +, setuptools +, setuptools-scm +, pytestCheckHook +, pythonOlder +}: + +buildPythonPackage rec { + pname = "dissect-etl"; + version = "3.1"; + format = "pyproject"; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "fox-it"; + repo = "dissect.etl"; + rev = version; + hash = "sha256-EqEYw2MpNjdw8nXkxe76R5y99Y+rsK42qfTpT/kxtZ0="; + }; + + SETUPTOOLS_SCM_PRETEND_VERSION = version; + + nativeBuildInputs = [ + setuptools + setuptools-scm + ]; + + propagatedBuildInputs = [ + dissect-cstruct + dissect-util + ]; + + checkInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "dissect.etl" + ]; + + meta = with lib; { + description = "Dissect module implementing a parser for Event Trace Log (ETL) files"; + homepage = "https://github.com/fox-it/dissect.etl"; + license = licenses.agpl3Only; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 0ab7b8a58eb..0c61c01b253 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2483,6 +2483,8 @@ in { dissect-cstruct = callPackage ../development/python-modules/dissect-cstruct { }; + dissect-etl = callPackage ../development/python-modules/dissect-etl { }; + dissect-util = callPackage ../development/python-modules/dissect-util { }; dissect-volume = callPackage ../development/python-modules/dissect-volume { }; From d4fecc383e009bfc62ecfa17bbb7843ff623b19b Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Oct 2022 20:25:59 +0200 Subject: [PATCH 31/79] python310Packages.dissect-evidence: init at 3.1 --- .../dissect-evidence/default.nix | 52 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 54 insertions(+) create mode 100644 pkgs/development/python-modules/dissect-evidence/default.nix diff --git a/pkgs/development/python-modules/dissect-evidence/default.nix b/pkgs/development/python-modules/dissect-evidence/default.nix new file mode 100644 index 00000000000..4548ecd6d90 --- /dev/null +++ b/pkgs/development/python-modules/dissect-evidence/default.nix @@ -0,0 +1,52 @@ +{ lib +, buildPythonPackage +, dissect-cstruct +, dissect-util +, fetchFromGitHub +, setuptools +, setuptools-scm +, pytestCheckHook +, pythonOlder +}: + +buildPythonPackage rec { + pname = "dissect-evidence"; + version = "3.1"; + format = "pyproject"; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "fox-it"; + repo = "dissect.evidence"; + rev = version; + hash = "sha256-X0WMv96Wo3vDZ6HYGdWfn7OKhFuT5Qjzkyj4HzMqCiM="; + }; + + SETUPTOOLS_SCM_PRETEND_VERSION = version; + + nativeBuildInputs = [ + setuptools + setuptools-scm + ]; + + propagatedBuildInputs = [ + dissect-cstruct + dissect-util + ]; + + checkInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "dissect.evidence" + ]; + + meta = with lib; { + description = "Dissect module implementing a parsers for various forensic evidence file containers"; + homepage = "https://github.com/fox-it/dissect.evidence"; + license = licenses.agpl3Only; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 0c61c01b253..2c98dbd3dcd 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2485,6 +2485,8 @@ in { dissect-etl = callPackage ../development/python-modules/dissect-etl { }; + dissect-evidence = callPackage ../development/python-modules/dissect-evidence { }; + dissect-util = callPackage ../development/python-modules/dissect-util { }; dissect-volume = callPackage ../development/python-modules/dissect-volume { }; From 0b49fc77333cd4f69dc0e25a3b41caab2f08c892 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Oct 2022 20:29:26 +0200 Subject: [PATCH 32/79] python310Packages.dissect-eventlog: init at 3.1 --- .../dissect-eventlog/default.nix | 52 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 54 insertions(+) create mode 100644 pkgs/development/python-modules/dissect-eventlog/default.nix diff --git a/pkgs/development/python-modules/dissect-eventlog/default.nix b/pkgs/development/python-modules/dissect-eventlog/default.nix new file mode 100644 index 00000000000..d5b8b87a227 --- /dev/null +++ b/pkgs/development/python-modules/dissect-eventlog/default.nix @@ -0,0 +1,52 @@ +{ lib +, buildPythonPackage +, dissect-cstruct +, dissect-util +, fetchFromGitHub +, setuptools +, setuptools-scm +, pytestCheckHook +, pythonOlder +}: + +buildPythonPackage rec { + pname = "dissect-eventlog"; + version = "3.1"; + format = "pyproject"; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "fox-it"; + repo = "dissect.eventlog"; + rev = version; + hash = "sha256-cLIsK2/pL9nNOitoTZprqAio1BOo3/Uqfbl8uL/1tG4="; + }; + + SETUPTOOLS_SCM_PRETEND_VERSION = version; + + nativeBuildInputs = [ + setuptools + setuptools-scm + ]; + + propagatedBuildInputs = [ + dissect-cstruct + dissect-util + ]; + + checkInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "dissect.eventlog" + ]; + + meta = with lib; { + description = "Dissect module implementing parsers for the Windows EVT, EVTX and WEVT log file formats"; + homepage = "https://github.com/fox-it/dissect.eventlog"; + license = licenses.agpl3Only; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 2c98dbd3dcd..76ade98801a 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2485,6 +2485,8 @@ in { dissect-etl = callPackage ../development/python-modules/dissect-etl { }; + dissect-eventlog = callPackage ../development/python-modules/dissect-eventlog { }; + dissect-evidence = callPackage ../development/python-modules/dissect-evidence { }; dissect-util = callPackage ../development/python-modules/dissect-util { }; From 4b15d1a30c4c03adf4ee70db47e71212232c801e Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 7 Oct 2022 18:35:49 +0000 Subject: [PATCH 33/79] gatekeeper: 3.9.0 -> 3.9.1 --- pkgs/applications/networking/cluster/gatekeeper/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/cluster/gatekeeper/default.nix b/pkgs/applications/networking/cluster/gatekeeper/default.nix index 8dbe5f4659f..192f37228a7 100644 --- a/pkgs/applications/networking/cluster/gatekeeper/default.nix +++ b/pkgs/applications/networking/cluster/gatekeeper/default.nix @@ -6,13 +6,13 @@ buildGoModule rec { pname = "gatekeeper"; - version = "3.9.0"; + version = "3.9.1"; src = fetchFromGitHub { owner = "open-policy-agent"; repo = "gatekeeper"; rev = "v${version}"; - sha256 = "sha256-hZ8PBJ+6G0A5tVrJfxy2rODxOxQarQg6mxG3sQCqjfY="; + sha256 = "sha256-XZASej26Mn4tq9c4nvjQNhQZWtu3L6jIgMNhyYyh5IE="; }; vendorSha256 = null; From c79d57a94bffa2289f3cb1e7deba65b28374d1c0 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Oct 2022 20:40:09 +0200 Subject: [PATCH 34/79] python310Packages.dissect-ffs: init at 3.1 --- .../python-modules/dissect-ffs/default.nix | 52 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 54 insertions(+) create mode 100644 pkgs/development/python-modules/dissect-ffs/default.nix diff --git a/pkgs/development/python-modules/dissect-ffs/default.nix b/pkgs/development/python-modules/dissect-ffs/default.nix new file mode 100644 index 00000000000..a4898bfce98 --- /dev/null +++ b/pkgs/development/python-modules/dissect-ffs/default.nix @@ -0,0 +1,52 @@ +{ lib +, buildPythonPackage +, dissect-cstruct +, dissect-util +, fetchFromGitHub +, setuptools +, setuptools-scm +, pytestCheckHook +, pythonOlder +}: + +buildPythonPackage rec { + pname = "dissect-ffs"; + version = "3.1"; + format = "pyproject"; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "fox-it"; + repo = "dissect.ffs"; + rev = version; + hash = "sha256-JI0i0pvOOChWCDB8rynDuf0txvPQT7z2JJ1EsE4VNLw="; + }; + + SETUPTOOLS_SCM_PRETEND_VERSION = version; + + nativeBuildInputs = [ + setuptools + setuptools-scm + ]; + + propagatedBuildInputs = [ + dissect-cstruct + dissect-util + ]; + + checkInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "dissect.ffs" + ]; + + meta = with lib; { + description = "Dissect module implementing a parser for the FFS file system"; + homepage = "https://github.com/fox-it/dissect.ffs"; + license = licenses.agpl3Only; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 76ade98801a..01f900b01fa 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2483,6 +2483,8 @@ in { dissect-cstruct = callPackage ../development/python-modules/dissect-cstruct { }; + dissect-ffs = callPackage ../development/python-modules/dissect-ffs { }; + dissect-etl = callPackage ../development/python-modules/dissect-etl { }; dissect-eventlog = callPackage ../development/python-modules/dissect-eventlog { }; From f02656d900b3a1815a0d07395612cd14c9769d1b Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Oct 2022 20:43:44 +0200 Subject: [PATCH 35/79] python310Packages.dissect-xfs: init at 3.1 --- .../python-modules/dissect-xfs/default.nix | 52 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 54 insertions(+) create mode 100644 pkgs/development/python-modules/dissect-xfs/default.nix diff --git a/pkgs/development/python-modules/dissect-xfs/default.nix b/pkgs/development/python-modules/dissect-xfs/default.nix new file mode 100644 index 00000000000..97eb2ed157a --- /dev/null +++ b/pkgs/development/python-modules/dissect-xfs/default.nix @@ -0,0 +1,52 @@ +{ lib +, buildPythonPackage +, dissect-cstruct +, dissect-util +, fetchFromGitHub +, setuptools +, setuptools-scm +, pytestCheckHook +, pythonOlder +}: + +buildPythonPackage rec { + pname = "dissect-xfs"; + version = "3.1"; + format = "pyproject"; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "fox-it"; + repo = "dissect.xfs"; + rev = version; + hash = "sha256-Tg4su78Na6IAQhi7aOY8QNs3tnYOYvdnNQV6rn8QpSE="; + }; + + SETUPTOOLS_SCM_PRETEND_VERSION = version; + + nativeBuildInputs = [ + setuptools + setuptools-scm + ]; + + propagatedBuildInputs = [ + dissect-cstruct + dissect-util + ]; + + checkInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "dissect.xfs" + ]; + + meta = with lib; { + description = "Dissect module implementing a parser for the XFS file system"; + homepage = "https://github.com/fox-it/dissect.xfs"; + license = licenses.agpl3Only; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 01f900b01fa..678a5d852fa 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2495,6 +2495,8 @@ in { dissect-volume = callPackage ../development/python-modules/dissect-volume { }; + dissect-xfs = callPackage ../development/python-modules/dissect-xfs { }; + dissononce = callPackage ../development/python-modules/dissononce { }; distlib = callPackage ../development/python-modules/distlib { }; From ef7c7149be755162f1fd8b1645b8f0e24aa1f8c7 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Oct 2022 20:55:50 +0200 Subject: [PATCH 36/79] python310Packages.dissect-vmfs: init at 3.1 --- .../python-modules/dissect-vmfs/default.nix | 52 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 54 insertions(+) create mode 100644 pkgs/development/python-modules/dissect-vmfs/default.nix diff --git a/pkgs/development/python-modules/dissect-vmfs/default.nix b/pkgs/development/python-modules/dissect-vmfs/default.nix new file mode 100644 index 00000000000..9789f264de3 --- /dev/null +++ b/pkgs/development/python-modules/dissect-vmfs/default.nix @@ -0,0 +1,52 @@ +{ lib +, buildPythonPackage +, dissect-cstruct +, dissect-util +, fetchFromGitHub +, setuptools +, setuptools-scm +, pytestCheckHook +, pythonOlder +}: + +buildPythonPackage rec { + pname = "dissect-vmfs"; + version = "3.1"; + format = "pyproject"; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "fox-it"; + repo = "dissect.vmfs"; + rev = version; + hash = "sha256-JVJvuH+ZTlGOnmTSB/nnBuMrc/VtkKVrLDRYnukDXBA="; + }; + + SETUPTOOLS_SCM_PRETEND_VERSION = version; + + nativeBuildInputs = [ + setuptools + setuptools-scm + ]; + + propagatedBuildInputs = [ + dissect-cstruct + dissect-util + ]; + + checkInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "dissect.vmfs" + ]; + + meta = with lib; { + description = "Dissect module implementing a parser for the VMFS file system"; + homepage = "https://github.com/fox-it/dissect.vmfs"; + license = licenses.agpl3Only; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 678a5d852fa..7b79641ef62 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2493,6 +2493,8 @@ in { dissect-util = callPackage ../development/python-modules/dissect-util { }; + dissect-vmfs = callPackage ../development/python-modules/dissect-vmfs { }; + dissect-volume = callPackage ../development/python-modules/dissect-volume { }; dissect-xfs = callPackage ../development/python-modules/dissect-xfs { }; From 3e2353ce2e79dbbc3bd38afaec35614e14a8f57b Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Oct 2022 20:58:55 +0200 Subject: [PATCH 37/79] python310Packages.dissect-extfs: init at 3.1 --- .../python-modules/dissect-extfs/default.nix | 52 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 54 insertions(+) create mode 100644 pkgs/development/python-modules/dissect-extfs/default.nix diff --git a/pkgs/development/python-modules/dissect-extfs/default.nix b/pkgs/development/python-modules/dissect-extfs/default.nix new file mode 100644 index 00000000000..54ac3280bf5 --- /dev/null +++ b/pkgs/development/python-modules/dissect-extfs/default.nix @@ -0,0 +1,52 @@ +{ lib +, buildPythonPackage +, dissect-cstruct +, dissect-util +, fetchFromGitHub +, setuptools +, setuptools-scm +, pytestCheckHook +, pythonOlder +}: + +buildPythonPackage rec { + pname = "dissect-extfs"; + version = "3.1"; + format = "pyproject"; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "fox-it"; + repo = "dissect.extfs"; + rev = version; + hash = "sha256-i52hlTh0uJJcprA6oVlFQ3v6BpOtSnQAQ0p6BHt56Ac="; + }; + + SETUPTOOLS_SCM_PRETEND_VERSION = version; + + nativeBuildInputs = [ + setuptools + setuptools-scm + ]; + + propagatedBuildInputs = [ + dissect-cstruct + dissect-util + ]; + + checkInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "dissect.extfs" + ]; + + meta = with lib; { + description = "Dissect module implementing a parser for the ExtFS file system"; + homepage = "https://github.com/fox-it/dissect.extfs"; + license = licenses.agpl3Only; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 7b79641ef62..b8f2009e568 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2491,6 +2491,8 @@ in { dissect-evidence = callPackage ../development/python-modules/dissect-evidence { }; + dissect-extfs = callPackage ../development/python-modules/dissect-extfs { }; + dissect-util = callPackage ../development/python-modules/dissect-util { }; dissect-vmfs = callPackage ../development/python-modules/dissect-vmfs { }; From 67fb68dc28e39c150f0f25a71bf02c3f0721c489 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 7 Oct 2022 19:10:27 +0000 Subject: [PATCH 38/79] imgproxy: 3.7.2 -> 3.8.0 --- pkgs/servers/imgproxy/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/imgproxy/default.nix b/pkgs/servers/imgproxy/default.nix index 7ff6003e29d..14ab5e03c70 100644 --- a/pkgs/servers/imgproxy/default.nix +++ b/pkgs/servers/imgproxy/default.nix @@ -3,16 +3,16 @@ buildGoModule rec { pname = "imgproxy"; - version = "3.7.2"; + version = "3.8.0"; src = fetchFromGitHub { owner = pname; repo = pname; - sha256 = "sha256-ggQOVBYdTmrkThzJSYjxk6Y9znq4dHvSX6ATjyhoHsw="; + sha256 = "sha256-T82z6rqS4mCXo0844xe4VZzI5AScn0dPWvu9q8nO2uQ="; rev = "v${version}"; }; - vendorSha256 = "sha256-LrUdOkapPwR9vtecQM0vn/B5fppMUW3luxT7pPelvvU="; + vendorSha256 = "sha256-QwmrxG3DMXdw/MQKChlP/icc9s5x85vbrRKoael4Bc4="; nativeBuildInputs = [ pkg-config ]; From 2d0a7da097131b9c0cbb80ea610d83052a0c734a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Oct 2022 21:42:12 +0200 Subject: [PATCH 39/79] python310Packages.dissect-fat: init at 3.1 --- .../python-modules/dissect-fat/default.nix | 50 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 52 insertions(+) create mode 100644 pkgs/development/python-modules/dissect-fat/default.nix diff --git a/pkgs/development/python-modules/dissect-fat/default.nix b/pkgs/development/python-modules/dissect-fat/default.nix new file mode 100644 index 00000000000..91958b8c71c --- /dev/null +++ b/pkgs/development/python-modules/dissect-fat/default.nix @@ -0,0 +1,50 @@ +{ lib +, buildPythonPackage +, dissect-cstruct +, dissect-util +, fetchFromGitHub +, setuptools +, setuptools-scm +, pythonOlder +}: + +buildPythonPackage rec { + pname = "dissect-fat"; + version = "3.1"; + format = "pyproject"; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "fox-it"; + repo = "dissect.fat"; + rev = version; + hash = "sha256-GBeacQtNA1onh67Svqo5R43gap/Lzpm+20TXcUMmU5k="; + }; + + SETUPTOOLS_SCM_PRETEND_VERSION = version; + + nativeBuildInputs = [ + setuptools + setuptools-scm + ]; + + propagatedBuildInputs = [ + dissect-cstruct + dissect-util + ]; + + # dissect.fat.exceptions.InvalidBPB: Invalid BS_jmpBoot + doCheck = false; + + pythonImportsCheck = [ + "dissect.fat" + ]; + + meta = with lib; { + description = "Dissect module implementing a parser for the FAT file system"; + homepage = "https://github.com/fox-it/dissect.fat"; + license = licenses.agpl3Only; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index b8f2009e568..c793d3f8844 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2483,6 +2483,8 @@ in { dissect-cstruct = callPackage ../development/python-modules/dissect-cstruct { }; + dissect-fat = callPackage ../development/python-modules/dissect-fat { }; + dissect-ffs = callPackage ../development/python-modules/dissect-ffs { }; dissect-etl = callPackage ../development/python-modules/dissect-etl { }; From 6ff6cd4dab1921506e89729c31cc7bf6f43baf92 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Oct 2022 22:08:08 +0200 Subject: [PATCH 40/79] python310Packages.dissect-ntfs: init at 3.1 --- .../python-modules/dissect-ntfs/default.nix | 57 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 59 insertions(+) create mode 100644 pkgs/development/python-modules/dissect-ntfs/default.nix diff --git a/pkgs/development/python-modules/dissect-ntfs/default.nix b/pkgs/development/python-modules/dissect-ntfs/default.nix new file mode 100644 index 00000000000..b8abeb1313a --- /dev/null +++ b/pkgs/development/python-modules/dissect-ntfs/default.nix @@ -0,0 +1,57 @@ +{ lib +, buildPythonPackage +, dissect-cstruct +, dissect-util +, fetchFromGitHub +, setuptools +, setuptools-scm +, pytestCheckHook +, pythonOlder +}: + +buildPythonPackage rec { + pname = "dissect-ntfs"; + version = "3.1"; + format = "pyproject"; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "fox-it"; + repo = "dissect.ntfs"; + rev = version; + hash = "sha256-hZz/v6qLZnbsZkS/cBU/to4XmZNgUJQwCaPkY2ebl4Q="; + }; + + SETUPTOOLS_SCM_PRETEND_VERSION = version; + + nativeBuildInputs = [ + setuptools + setuptools-scm + ]; + + propagatedBuildInputs = [ + dissect-cstruct + dissect-util + ]; + + checkInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "dissect.ntfs" + ]; + + disabledTestPaths = [ + # Test is very time consuming + "tests/test_index.py" + ]; + + meta = with lib; { + description = "Dissect module implementing a parser for the NTFS file system"; + homepage = "https://github.com/fox-it/dissect.ntfs"; + license = licenses.agpl3Only; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index c793d3f8844..e9dc1f60b73 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2495,6 +2495,8 @@ in { dissect-extfs = callPackage ../development/python-modules/dissect-extfs { }; + dissect-ntfs = callPackage ../development/python-modules/dissect-ntfs { }; + dissect-util = callPackage ../development/python-modules/dissect-util { }; dissect-vmfs = callPackage ../development/python-modules/dissect-vmfs { }; From f9e1399e8d30814bec512362931e4881ed8197ce Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Oct 2022 22:11:17 +0200 Subject: [PATCH 41/79] python310Packages.dissect-esedb: init at 3.1 --- .../python-modules/dissect-esedb/default.nix | 52 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 54 insertions(+) create mode 100644 pkgs/development/python-modules/dissect-esedb/default.nix diff --git a/pkgs/development/python-modules/dissect-esedb/default.nix b/pkgs/development/python-modules/dissect-esedb/default.nix new file mode 100644 index 00000000000..04fe7abdbcb --- /dev/null +++ b/pkgs/development/python-modules/dissect-esedb/default.nix @@ -0,0 +1,52 @@ +{ lib +, buildPythonPackage +, dissect-cstruct +, dissect-util +, fetchFromGitHub +, pytestCheckHook +, pythonOlder +, setuptools +, setuptools-scm +}: + +buildPythonPackage rec { + pname = "dissect-esedb"; + version = "3.1"; + format = "pyproject"; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "fox-it"; + repo = "dissect.esedb"; + rev = version; + hash = "sha256-I9YVDlHJGSMdVw6ZkUQ35rBcVjcBkE+XEwloHV0ltSA="; + }; + + SETUPTOOLS_SCM_PRETEND_VERSION = version; + + nativeBuildInputs = [ + setuptools + setuptools-scm + ]; + + propagatedBuildInputs = [ + dissect-cstruct + dissect-util + ]; + + checkInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "dissect.esedb" + ]; + + meta = with lib; { + description = "Dissect module implementing a parser for Microsofts Extensible Storage Engine Database (ESEDB)"; + homepage = "https://github.com/fox-it/dissect.esedb"; + license = licenses.agpl3Only; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index e9dc1f60b73..9b897e762c9 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2487,6 +2487,8 @@ in { dissect-ffs = callPackage ../development/python-modules/dissect-ffs { }; + dissect-esedb = callPackage ../development/python-modules/dissect-esedb { }; + dissect-etl = callPackage ../development/python-modules/dissect-etl { }; dissect-eventlog = callPackage ../development/python-modules/dissect-eventlog { }; From d061a07d427d58c8141a064dd0302937a2e12b42 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Oct 2022 22:13:43 +0200 Subject: [PATCH 42/79] python310Packages.dissect-hypervisor: init at 3.1 --- .../dissect-hypervisor/default.nix | 61 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 63 insertions(+) create mode 100644 pkgs/development/python-modules/dissect-hypervisor/default.nix diff --git a/pkgs/development/python-modules/dissect-hypervisor/default.nix b/pkgs/development/python-modules/dissect-hypervisor/default.nix new file mode 100644 index 00000000000..f6937e923b3 --- /dev/null +++ b/pkgs/development/python-modules/dissect-hypervisor/default.nix @@ -0,0 +1,61 @@ +{ lib +, buildPythonPackage +, dissect-cstruct +, dissect-util +, fetchFromGitHub +, pycryptodome +, pytestCheckHook +, pythonOlder +, rich +, setuptools +, setuptools-scm +}: + +buildPythonPackage rec { + pname = "dissect-hypervisor"; + version = "3.1"; + format = "pyproject"; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "fox-it"; + repo = "dissect.hypervisor"; + rev = version; + hash = "sha256-7DSxszTBPRTbONaNc4EBWftMZHVo8ZD/4wK/SLBuVEI="; + }; + + SETUPTOOLS_SCM_PRETEND_VERSION = version; + + nativeBuildInputs = [ + setuptools + setuptools-scm + ]; + + propagatedBuildInputs = [ + dissect-cstruct + dissect-util + ]; + + passthru.optional-dependencies = { + full = [ + pycryptodome + rich + ]; + }; + + checkInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "dissect.hypervisor" + ]; + + meta = with lib; { + description = "Dissect module implementing parsers for various hypervisor disk, backup and configuration files"; + homepage = "https://github.com/fox-it/dissect.hypervisor"; + license = licenses.agpl3Only; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 9b897e762c9..7ac4fc5d764 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2497,6 +2497,8 @@ in { dissect-extfs = callPackage ../development/python-modules/dissect-extfs { }; + dissect-hypervisor = callPackage ../development/python-modules/dissect-hypervisor { }; + dissect-ntfs = callPackage ../development/python-modules/dissect-ntfs { }; dissect-util = callPackage ../development/python-modules/dissect-util { }; From 62f245f18e47c1c9e244832588c3c07761d82b21 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Oct 2022 22:16:29 +0200 Subject: [PATCH 43/79] python310Packages.dissect-ole: init at 3.1 --- .../python-modules/dissect-ole/default.nix | 50 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 52 insertions(+) create mode 100644 pkgs/development/python-modules/dissect-ole/default.nix diff --git a/pkgs/development/python-modules/dissect-ole/default.nix b/pkgs/development/python-modules/dissect-ole/default.nix new file mode 100644 index 00000000000..60f39dde8bd --- /dev/null +++ b/pkgs/development/python-modules/dissect-ole/default.nix @@ -0,0 +1,50 @@ +{ lib +, buildPythonPackage +, dissect-cstruct +, dissect-util +, fetchFromGitHub +, setuptools +, setuptools-scm +, pythonOlder +}: + +buildPythonPackage rec { + pname = "dissect-ole"; + version = "3.1"; + format = "pyproject"; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "fox-it"; + repo = "dissect.ole"; + rev = version; + hash = "sha256-qnrbS+gdzBV/mQ08fQzpvevkDtrJ1qXpteW0lxJ+ZUI="; + }; + + SETUPTOOLS_SCM_PRETEND_VERSION = version; + + nativeBuildInputs = [ + setuptools + setuptools-scm + ]; + + propagatedBuildInputs = [ + dissect-cstruct + dissect-util + ]; + + # Module has no tests + doCheck = false; + + pythonImportsCheck = [ + "dissect.ole" + ]; + + meta = with lib; { + description = "Dissect module implementing a parser for the Object Linking & Embedding (OLE) format"; + homepage = "https://github.com/fox-it/dissect.ole"; + license = licenses.agpl3Only; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 7ac4fc5d764..da0796756dd 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2501,6 +2501,8 @@ in { dissect-ntfs = callPackage ../development/python-modules/dissect-ntfs { }; + dissect-ole = callPackage ../development/python-modules/dissect-ole { }; + dissect-util = callPackage ../development/python-modules/dissect-util { }; dissect-vmfs = callPackage ../development/python-modules/dissect-vmfs { }; From 113ee1205f755ffa15591f8c26fc617bab4b0bd8 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Oct 2022 22:18:33 +0200 Subject: [PATCH 44/79] python310Packages.dissect-regf: init at 3.1 --- .../python-modules/dissect-regf/default.nix | 52 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 54 insertions(+) create mode 100644 pkgs/development/python-modules/dissect-regf/default.nix diff --git a/pkgs/development/python-modules/dissect-regf/default.nix b/pkgs/development/python-modules/dissect-regf/default.nix new file mode 100644 index 00000000000..8c5ecc583da --- /dev/null +++ b/pkgs/development/python-modules/dissect-regf/default.nix @@ -0,0 +1,52 @@ +{ lib +, buildPythonPackage +, dissect-cstruct +, dissect-util +, fetchFromGitHub +, setuptools +, setuptools-scm +, pytestCheckHook +, pythonOlder +}: + +buildPythonPackage rec { + pname = "dissect-regf"; + version = "3.1"; + format = "pyproject"; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "fox-it"; + repo = "dissect.regf"; + rev = version; + hash = "sha256-88qG90jza0EVP5dgz09ZA8Z+zFwqanOODlUgsvkMxGo="; + }; + + SETUPTOOLS_SCM_PRETEND_VERSION = version; + + nativeBuildInputs = [ + setuptools + setuptools-scm + ]; + + propagatedBuildInputs = [ + dissect-cstruct + dissect-util + ]; + + checkInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "dissect.regf" + ]; + + meta = with lib; { + description = "Dissect module implementing a parser for Windows registry file format"; + homepage = "https://github.com/fox-it/dissect.regf"; + license = licenses.agpl3Only; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index da0796756dd..2c34bf05254 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2503,6 +2503,8 @@ in { dissect-ole = callPackage ../development/python-modules/dissect-ole { }; + dissect-regf = callPackage ../development/python-modules/dissect-regf { }; + dissect-util = callPackage ../development/python-modules/dissect-util { }; dissect-vmfs = callPackage ../development/python-modules/dissect-vmfs { }; From 8dd36fad3023a3db3ecae6b017b77beeccb0cab5 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Oct 2022 22:21:26 +0200 Subject: [PATCH 45/79] python310Packages.dissect-shellitem: init at 3.1 --- .../dissect-shellitem/default.nix | 52 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 54 insertions(+) create mode 100644 pkgs/development/python-modules/dissect-shellitem/default.nix diff --git a/pkgs/development/python-modules/dissect-shellitem/default.nix b/pkgs/development/python-modules/dissect-shellitem/default.nix new file mode 100644 index 00000000000..3fd88649ae2 --- /dev/null +++ b/pkgs/development/python-modules/dissect-shellitem/default.nix @@ -0,0 +1,52 @@ +{ lib +, buildPythonPackage +, dissect-cstruct +, dissect-util +, fetchFromGitHub +, setuptools +, setuptools-scm +, pytestCheckHook +, pythonOlder +}: + +buildPythonPackage rec { + pname = "dissect-shellitem"; + version = "3.1"; + format = "pyproject"; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "fox-it"; + repo = "dissect.shellitem"; + rev = version; + hash = "sha256-HVnfHsD1V+4kWt9qOClsKuIZMpX4VKrr/5eD7KRq5ww="; + }; + + SETUPTOOLS_SCM_PRETEND_VERSION = version; + + nativeBuildInputs = [ + setuptools + setuptools-scm + ]; + + propagatedBuildInputs = [ + dissect-cstruct + dissect-util + ]; + + checkInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "dissect.shellitem" + ]; + + meta = with lib; { + description = "Dissect module implementing a parser for the Shellitem structures"; + homepage = "https://github.com/fox-it/dissect.shellitem"; + license = licenses.agpl3Only; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 2c34bf05254..38558231390 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2505,6 +2505,8 @@ in { dissect-regf = callPackage ../development/python-modules/dissect-regf { }; + dissect-shellitem = callPackage ../development/python-modules/dissect-shellitem { }; + dissect-util = callPackage ../development/python-modules/dissect-util { }; dissect-vmfs = callPackage ../development/python-modules/dissect-vmfs { }; From e899352e76fa93d3acf69f2e305d6f8f320478f2 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Oct 2022 22:23:54 +0200 Subject: [PATCH 46/79] python310Packages.dissect-sql: init at 3.1 --- .../python-modules/dissect-sql/default.nix | 52 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 54 insertions(+) create mode 100644 pkgs/development/python-modules/dissect-sql/default.nix diff --git a/pkgs/development/python-modules/dissect-sql/default.nix b/pkgs/development/python-modules/dissect-sql/default.nix new file mode 100644 index 00000000000..816fe7e612f --- /dev/null +++ b/pkgs/development/python-modules/dissect-sql/default.nix @@ -0,0 +1,52 @@ +{ lib +, buildPythonPackage +, dissect-cstruct +, dissect-util +, fetchFromGitHub +, pytestCheckHook +, pythonOlder +, setuptools +, setuptools-scm +}: + +buildPythonPackage rec { + pname = "dissect-sql"; + version = "3.1"; + format = "pyproject"; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "fox-it"; + repo = "dissect.sql"; + rev = version; + hash = "sha256-uKCCwTFLQSos+L0qc1pFlF3O4FV13up0qFqDYdTZJBk="; + }; + + SETUPTOOLS_SCM_PRETEND_VERSION = version; + + nativeBuildInputs = [ + setuptools + setuptools-scm + ]; + + propagatedBuildInputs = [ + dissect-cstruct + dissect-util + ]; + + checkInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "dissect.sql" + ]; + + meta = with lib; { + description = "Dissect module implementing a parsers for the SQLite database file format"; + homepage = "https://github.com/fox-it/dissect.sql"; + license = licenses.agpl3Only; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 38558231390..e049ef7bcc3 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2507,6 +2507,8 @@ in { dissect-shellitem = callPackage ../development/python-modules/dissect-shellitem { }; + dissect-sql = callPackage ../development/python-modules/dissect-sql { }; + dissect-util = callPackage ../development/python-modules/dissect-util { }; dissect-vmfs = callPackage ../development/python-modules/dissect-vmfs { }; From ffcb18c2edc0024b479dd4972067553b49bf1d62 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Oct 2022 22:28:15 +0200 Subject: [PATCH 47/79] python310Packages.flow-record: init at 3.5 --- .../python-modules/flow-record/default.nix | 68 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 70 insertions(+) create mode 100644 pkgs/development/python-modules/flow-record/default.nix diff --git a/pkgs/development/python-modules/flow-record/default.nix b/pkgs/development/python-modules/flow-record/default.nix new file mode 100644 index 00000000000..cf75588e20b --- /dev/null +++ b/pkgs/development/python-modules/flow-record/default.nix @@ -0,0 +1,68 @@ +{ lib +, buildPythonPackage +, elasticsearch +, fetchFromGitHub +, lz4 +, msgpack +, pytestCheckHook +, pythonOlder +, setuptools +, setuptools-scm +, zstandard +}: + +buildPythonPackage rec { + pname = "flow-record"; + version = "3.5"; + format = "pyproject"; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "fox-it"; + repo = "flow.record"; + rev = version; + hash = "sha256-hULz5pIqCKujVH3SpzFgzNM9R7WTtqAmuNOxG7VlUd0="; + }; + + SETUPTOOLS_SCM_PRETEND_VERSION = version; + + nativeBuildInputs = [ + setuptools + setuptools-scm + ]; + + propagatedBuildInputs = [ + msgpack + ]; + + passthru.optional-dependencies = { + compression = [ + lz4 + zstandard + ]; + elastic = [ + elasticsearch + ]; + }; + + checkInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "flow.record" + ]; + + disabledTestPaths = [ + # Test requires rdump + "tests/test_rdump.py" + ]; + + meta = with lib; { + description = "Library for defining and creating structured data"; + homepage = "https://github.com/fox-it/flow.record"; + license = licenses.agpl3Only; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index e049ef7bcc3..70a01777552 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3510,6 +3510,8 @@ in { flit-core = callPackage ../development/python-modules/flit-core { }; + flow-record = callPackage ../development/python-modules/flow-record { }; + flower = callPackage ../development/python-modules/flower { }; flowlogs_reader = callPackage ../development/python-modules/flowlogs_reader { }; From df8017a8f58ae965f245ee1cdd83eb45616a7c15 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Oct 2022 22:34:56 +0200 Subject: [PATCH 48/79] python310Packages.dissect-target: init at 3.1 --- .../python-modules/dissect-target/default.nix | 110 ++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 112 insertions(+) create mode 100644 pkgs/development/python-modules/dissect-target/default.nix diff --git a/pkgs/development/python-modules/dissect-target/default.nix b/pkgs/development/python-modules/dissect-target/default.nix new file mode 100644 index 00000000000..84f75fad709 --- /dev/null +++ b/pkgs/development/python-modules/dissect-target/default.nix @@ -0,0 +1,110 @@ +{ lib +, asn1crypto +, buildPythonPackage +, defusedxml +, dissect-cim +, dissect-clfs +, dissect-cstruct +, dissect-esedb +, dissect-etl +, dissect-eventlog +, dissect-evidence +, dissect-extfs +, dissect-fat +, dissect-ffs +, dissect-hypervisor +, dissect-ntfs +, dissect-regf +, dissect-sql +, dissect-util +, dissect-volume +, dissect-xfs +, fetchFromGitHub +, flow-record +, fusepy +, ipython +, pytestCheckHook +, pythonOlder +, pyyaml +, setuptools +, setuptools-scm +, structlog +, yara-python +, zstandard +}: + +buildPythonPackage rec { + pname = "dissect-target"; + version = "3.1"; + format = "pyproject"; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "fox-it"; + repo = "dissect.target"; + rev = version; + hash = "sha256-vZzdwkfUMGkrRN0zvDukS5c0RokEyXWgqZENPWF1yXE="; + }; + + SETUPTOOLS_SCM_PRETEND_VERSION = version; + + nativeBuildInputs = [ + setuptools + setuptools-scm + ]; + + propagatedBuildInputs = [ + dissect-cstruct + dissect-eventlog + dissect-evidence + dissect-hypervisor + dissect-ntfs + dissect-regf + dissect-util + dissect-volume + flow-record + structlog + ]; + + passthru.optional-dependencies = { + full = [ + asn1crypto + defusedxml + dissect-cim + dissect-clfs + dissect-esedb + dissect-etl + dissect-extfs + dissect-fat + dissect-ffs + dissect-sql + dissect-xfs + fusepy + ipython + pyyaml + yara-python + zstandard + ]; + }; + + checkInputs = [ + pytestCheckHook + ] ++ passthru.optional-dependencies.full; + + pythonImportsCheck = [ + "dissect.target" + ]; + + disabledTests = [ + # Test requires rdump + "test_exec_target_command" + ]; + + meta = with lib; { + description = "Dissect module that provides a programming API and command line tools"; + homepage = "https://github.com/fox-it/dissect.target"; + license = licenses.agpl3Only; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 70a01777552..a78f65e0052 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2509,6 +2509,8 @@ in { dissect-sql = callPackage ../development/python-modules/dissect-sql { }; + dissect-target = callPackage ../development/python-modules/dissect-target { }; + dissect-util = callPackage ../development/python-modules/dissect-util { }; dissect-vmfs = callPackage ../development/python-modules/dissect-vmfs { }; From f92115294813f37802d4c7c0844f57bf6488cf00 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Oct 2022 22:43:48 +0200 Subject: [PATCH 49/79] python310Packages.dissect-target: 3.1 -> 3.3 --- pkgs/development/python-modules/dissect-target/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/dissect-target/default.nix b/pkgs/development/python-modules/dissect-target/default.nix index 84f75fad709..04fc69f5125 100644 --- a/pkgs/development/python-modules/dissect-target/default.nix +++ b/pkgs/development/python-modules/dissect-target/default.nix @@ -35,7 +35,7 @@ buildPythonPackage rec { pname = "dissect-target"; - version = "3.1"; + version = "3.3"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -44,7 +44,7 @@ buildPythonPackage rec { owner = "fox-it"; repo = "dissect.target"; rev = version; - hash = "sha256-vZzdwkfUMGkrRN0zvDukS5c0RokEyXWgqZENPWF1yXE="; + hash = "sha256-EWUYN2OsYeDo3C+QgjAVq9NXiVk1KWGILwtT0cI0tB0="; }; SETUPTOOLS_SCM_PRETEND_VERSION = version; From 88585ff9a09fdd09db154cec971cac2616904f5e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Oct 2022 22:45:14 +0200 Subject: [PATCH 50/79] python310Packages.dissect-hypervisor: 3.1 -> 3.2 --- .../development/python-modules/dissect-hypervisor/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/dissect-hypervisor/default.nix b/pkgs/development/python-modules/dissect-hypervisor/default.nix index f6937e923b3..2106cf780c1 100644 --- a/pkgs/development/python-modules/dissect-hypervisor/default.nix +++ b/pkgs/development/python-modules/dissect-hypervisor/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "dissect-hypervisor"; - version = "3.1"; + version = "3.2"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -22,7 +22,7 @@ buildPythonPackage rec { owner = "fox-it"; repo = "dissect.hypervisor"; rev = version; - hash = "sha256-7DSxszTBPRTbONaNc4EBWftMZHVo8ZD/4wK/SLBuVEI="; + hash = "sha256-yc9QfzvWX8jsRVZYglZZuMfxsYUoPr5gf407DABjQcU="; }; SETUPTOOLS_SCM_PRETEND_VERSION = version; From b549f5d1d1787c808cd59d7c8018e4388b4ffbb6 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Oct 2022 22:47:28 +0200 Subject: [PATCH 51/79] python310Packages.dissect-esedb: 3.1 -> 3.2 --- pkgs/development/python-modules/dissect-esedb/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/dissect-esedb/default.nix b/pkgs/development/python-modules/dissect-esedb/default.nix index 04fe7abdbcb..a2d1cad5d4e 100644 --- a/pkgs/development/python-modules/dissect-esedb/default.nix +++ b/pkgs/development/python-modules/dissect-esedb/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "dissect-esedb"; - version = "3.1"; + version = "3.2"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -20,7 +20,7 @@ buildPythonPackage rec { owner = "fox-it"; repo = "dissect.esedb"; rev = version; - hash = "sha256-I9YVDlHJGSMdVw6ZkUQ35rBcVjcBkE+XEwloHV0ltSA="; + hash = "sha256-DLu6FCWqeESFlsIB21jN/IKCwSKlBoibildv07/hPcw="; }; SETUPTOOLS_SCM_PRETEND_VERSION = version; From 73ed51181f9cbc06b6ab04e0238e9f9395454068 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Oct 2022 22:53:56 +0200 Subject: [PATCH 52/79] python310Packages.dissect: init at 3.3 --- .../python-modules/dissect/default.nix | 88 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 90 insertions(+) create mode 100644 pkgs/development/python-modules/dissect/default.nix diff --git a/pkgs/development/python-modules/dissect/default.nix b/pkgs/development/python-modules/dissect/default.nix new file mode 100644 index 00000000000..ab6921f6934 --- /dev/null +++ b/pkgs/development/python-modules/dissect/default.nix @@ -0,0 +1,88 @@ +{ lib +, buildPythonPackage +, dissect-cim +, dissect-clfs +, dissect-cstruct +, dissect-esedb +, dissect-etl +, dissect-eventlog +, dissect-evidence +, dissect-extfs +, dissect-fat +, dissect-ffs +, dissect-hypervisor +, dissect-ntfs +, dissect-ole +, dissect-regf +, dissect-shellitem +, dissect-sql +, dissect-target +, dissect-util +, dissect-vmfs +, dissect-volume +, dissect-xfs +, fetchFromGitHub +, pythonOlder +, setuptools +, setuptools-scm +}: + +buildPythonPackage rec { + pname = "dissect"; + version = "3.2"; + format = "pyproject"; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "fox-it"; + repo = "dissect"; + rev = version; + hash = "sha256-DtiaBKQtz6CgU1csfGhCw0LJLoiKwyH6N6b7/elpJkU="; + }; + + SETUPTOOLS_SCM_PRETEND_VERSION = version; + + nativeBuildInputs = [ + setuptools + setuptools-scm + ]; + + propagatedBuildInputs = [ + dissect-cim + dissect-clfs + dissect-cstruct + dissect-esedb + dissect-etl + dissect-eventlog + dissect-evidence + dissect-extfs + dissect-fat + dissect-ffs + dissect-hypervisor + dissect-ntfs + dissect-ole + dissect-regf + dissect-shellitem + dissect-sql + dissect-target + dissect-util + dissect-vmfs + dissect-volume + dissect-xfs + ] ++ dissect-target.optional-dependencies.full; + + # Module has no tests + doCheck = false; + + pythonImportsCheck = [ + "dissect" + ]; + + meta = with lib; { + description = "Dissect meta module"; + homepage = "https://github.com/fox-it/dissect"; + license = licenses.agpl3Only; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index a78f65e0052..77e7a2a1143 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2477,6 +2477,8 @@ in { diskcache = callPackage ../development/python-modules/diskcache { }; + dissect = callPackage ../development/python-modules/dissect { }; + dissect-cim = callPackage ../development/python-modules/dissect-cim { }; dissect-clfs = callPackage ../development/python-modules/dissect-clfs { }; From 9769c4bd2e2514befec4515b97815af14a42e10f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Oct 2022 23:01:57 +0200 Subject: [PATCH 53/79] python310Packages.acquire: init at 3.2 --- .../python-modules/acquire/default.nix | 70 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + pkgs/top-level/python-packages.nix | 2 + 3 files changed, 74 insertions(+) create mode 100644 pkgs/development/python-modules/acquire/default.nix diff --git a/pkgs/development/python-modules/acquire/default.nix b/pkgs/development/python-modules/acquire/default.nix new file mode 100644 index 00000000000..0b69bc68b04 --- /dev/null +++ b/pkgs/development/python-modules/acquire/default.nix @@ -0,0 +1,70 @@ +{ lib +, buildPythonPackage +, defusedxml +, dissect-cstruct +, dissect-target +, fetchFromGitHub +, minio +, pycryptodome +, pytestCheckHook +, pythonOlder +, requests +, requests-toolbelt +, rich +, setuptools +, setuptools-scm +}: + +buildPythonPackage rec { + pname = "acquire"; + version = "3.2"; + format = "pyproject"; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "fox-it"; + repo = "acquire"; + rev = version; + hash = "sha256-YwmrdqWG5qD621+jQMVyTM0Uy0yXCVPv9zfVhZ+ohg0="; + }; + + SETUPTOOLS_SCM_PRETEND_VERSION = version; + + nativeBuildInputs = [ + setuptools + setuptools-scm + ]; + + propagatedBuildInputs = [ + defusedxml + dissect-cstruct + dissect-target + ]; + + passthru.optional-dependencies = { + full = [ + dissect-target + minio + pycryptodome + requests + requests-toolbelt + rich + ] ++ dissect-target.optional-dependencies.full; + }; + + checkInputs = [ + pytestCheckHook + ] ++ passthru.optional-dependencies.full; + + pythonImportsCheck = [ + "acquire" + ]; + + meta = with lib; { + description = "Tool to quickly gather forensic artifacts from disk images or a live system"; + homepage = "https://github.com/fox-it/acquire"; + license = licenses.agpl3Only; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 995d9cb280c..30d4dbfa41e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1106,6 +1106,8 @@ with pkgs; acpica-tools = callPackage ../tools/system/acpica-tools { }; + acquire = with python3Packages; toPythonApplication acquire; + act = callPackage ../development/tools/misc/act { }; actdiag = with python3.pkgs; toPythonApplication actdiag; diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 77e7a2a1143..442f650e5fd 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -171,6 +171,8 @@ in { acoustics = callPackage ../development/python-modules/acoustics { }; + acquire = callPackage ../development/python-modules/acquire { }; + actdiag = callPackage ../development/python-modules/actdiag { }; adafruit-io = callPackage ../development/python-modules/adafruit-io { }; From 416ecfeee846942e27765551bc82e65db16d2b68 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Oct 2022 23:15:40 +0200 Subject: [PATCH 54/79] python310Packages.sensor-state-data: 2.9.0 -> 2.9.1 --- pkgs/development/python-modules/sensor-state-data/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/sensor-state-data/default.nix b/pkgs/development/python-modules/sensor-state-data/default.nix index fe6b2be16ea..ea26d5b86f2 100644 --- a/pkgs/development/python-modules/sensor-state-data/default.nix +++ b/pkgs/development/python-modules/sensor-state-data/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "sensor-state-data"; - version = "2.9.0"; + version = "2.9.1"; format = "pyproject"; disabled = pythonOlder "3.9"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "Bluetooth-Devices"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-g5h+ZBQyosnt+hlbJF1DaX0HKTJoEtJ/JSGpto5ZXLs="; + hash = "sha256-bBLBDdwVUCh8VA/6w/5DmJNvayaWHNIe1kRhnOQ2Llc="; }; nativeBuildInputs = [ From 13525c0955f727dd9cefb8a565cd89a456fbe113 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Oct 2022 23:22:21 +0200 Subject: [PATCH 55/79] pyupgrade: 2.38.1 -> 3.0.0 --- pkgs/development/python-modules/pyupgrade/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyupgrade/default.nix b/pkgs/development/python-modules/pyupgrade/default.nix index 9bb458151a8..634bb0a6a50 100644 --- a/pkgs/development/python-modules/pyupgrade/default.nix +++ b/pkgs/development/python-modules/pyupgrade/default.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { pname = "pyupgrade"; - version = "2.38.1"; + version = "3.0.0"; format = "setuptools"; disabled = pythonOlder "3.6"; @@ -17,7 +17,7 @@ buildPythonPackage rec { owner = "asottile"; repo = pname; rev = "v${version}"; - sha256 = "sha256-OWV8SdxvAYxkBj/3pPXgnEZ5RS3R+wBWJVMkqcQirEU="; + sha256 = "sha256-x85bu0dnhYwQU1l7mPH6lr9p6aO7AHG0wLvI/6MYe88="; }; checkInputs = [ From eb5258213edb874d9f31ee1b5a8069d94dc0bfcf Mon Sep 17 00:00:00 2001 From: Grigory Shipunov Date: Sat, 8 Oct 2022 00:25:48 +0200 Subject: [PATCH 56/79] maintainers: add oxapentane --- maintainers/maintainer-list.nix | 9 +++++++++ maintainers/team-list.nix | 1 + 2 files changed, 10 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 697cb475dc1..d9d7970c751 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -10181,6 +10181,15 @@ fingerprint = "F90F FD6D 585C 2BA1 F13D E8A9 7571 654C F88E 31C2"; }]; }; + oxapentane = { + email = "blame@oxapentane.com"; + github = "oxapentane"; + githubId = 1297357; + name = "Grigory Shipunov"; + keys = [{ + fingerprint = "DD09 98E6 CDF2 9453 7FC6 04F9 91FA 5E5B F9AA 901C"; + }]; + }; oxij = { email = "oxij@oxij.org"; github = "oxij"; diff --git a/maintainers/team-list.nix b/maintainers/team-list.nix index a8e66897a68..35e184b4399 100644 --- a/maintainers/team-list.nix +++ b/maintainers/team-list.nix @@ -110,6 +110,7 @@ with lib.maintainers; { astro SuperSandro2000 revol-xut + oxapentane ]; scope = "Maintain packages used in the C3D2 hackspace"; shortName = "c3d2"; From fc7905c977bd9422a5f59674938ab54139c26ba0 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 7 Oct 2022 23:17:19 +0000 Subject: [PATCH 57/79] open-policy-agent: 0.44.0 -> 0.45.0 --- pkgs/development/tools/open-policy-agent/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/open-policy-agent/default.nix b/pkgs/development/tools/open-policy-agent/default.nix index f9def6885e7..b7f94177c58 100644 --- a/pkgs/development/tools/open-policy-agent/default.nix +++ b/pkgs/development/tools/open-policy-agent/default.nix @@ -11,13 +11,13 @@ assert enableWasmEval && stdenv.isDarwin -> builtins.throw "building with wasm o buildGoModule rec { pname = "open-policy-agent"; - version = "0.44.0"; + version = "0.45.0"; src = fetchFromGitHub { owner = "open-policy-agent"; repo = "opa"; rev = "v${version}"; - sha256 = "sha256-N5OVGffUJXbRN3eJ5LQHWpyYxuA1/JEsro/yi+qHF14="; + sha256 = "sha256-7w5HOZr1cei7AvMdHdVzjB3ZQGWCOgm/g9UhuO3vSJI="; }; vendorSha256 = null; From 846c75400ecf5e43c333496844443891ac31a826 Mon Sep 17 00:00:00 2001 From: Grigory Shipunov Date: Sat, 8 Oct 2022 02:27:18 +0200 Subject: [PATCH 58/79] suwidgets: init at unstable-2022-04-03 --- pkgs/applications/radio/suwidgets/default.nix | 51 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 53 insertions(+) create mode 100644 pkgs/applications/radio/suwidgets/default.nix diff --git a/pkgs/applications/radio/suwidgets/default.nix b/pkgs/applications/radio/suwidgets/default.nix new file mode 100644 index 00000000000..05f6cf12d6c --- /dev/null +++ b/pkgs/applications/radio/suwidgets/default.nix @@ -0,0 +1,51 @@ +{ lib +, stdenv +, fetchFromGitHub +, qmake +, qtbase +, pkg-config +, sigutils +, fftwSinglePrec +}: + +stdenv.mkDerivation rec { + pname = "suwidgets"; + version = "unstable-2022-04-03"; + + src = fetchFromGitHub { + owner = "BatchDrake"; + repo = "SuWidgets"; + rev = "826b3eeae5b682dc063f53b427caa9c7c48131ea"; + sha256 = "sha256-cyFLsP+8GbALdlgEnVX4201Qq/KAxb/Vv+sJqbFpvUk="; + }; + + dontWrapQtApps = true; + + postPatch = '' + substituteInPlace SuWidgets.pri \ + --replace "PKGCONFIG += sigutils fftw3" "PKGCONFIG += sigutils fftw3f" + ''; + + nativeBuildInputs = [ + qmake + pkg-config + ]; + + buildInputs = [ + qtbase + sigutils + fftwSinglePrec + ]; + + qmakeFlags = [ + "SuWidgetsLib.pro" + ]; + + meta = with lib; { + description = "Sigutils-related widgets"; + homepage = "https://github.com/BatchDrake/SuWidgets"; + license = licenses.gpl3; + platforms = platforms.all; + maintainers = with maintainers; [ polygon oxapentane ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d965021201e..8adfd937446 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -22051,6 +22051,8 @@ with pkgs; splat = callPackage ../applications/radio/splat { }; + suwidgets = libsForQt5.callPackage ../applications/radio/suwidgets { }; + sratom = callPackage ../development/libraries/audio/sratom { }; srm = callPackage ../tools/security/srm { }; From e53592866269bf2bddc2bd13e82759e432b9776a Mon Sep 17 00:00:00 2001 From: Grigory Shipunov Date: Sat, 8 Oct 2022 02:28:24 +0200 Subject: [PATCH 59/79] sigutils: init at unstable-2022-07-05 --- pkgs/applications/radio/sigutils/default.nix | 40 ++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 42 insertions(+) create mode 100644 pkgs/applications/radio/sigutils/default.nix diff --git a/pkgs/applications/radio/sigutils/default.nix b/pkgs/applications/radio/sigutils/default.nix new file mode 100644 index 00000000000..8b384af0227 --- /dev/null +++ b/pkgs/applications/radio/sigutils/default.nix @@ -0,0 +1,40 @@ +{ lib +, stdenv +, fetchFromGitHub +, cmake +, pkg-config +, fftwSinglePrec +, libsndfile +, volk +}: + +stdenv.mkDerivation rec { + pname = "sigutils"; + version = "unstable-2022-07-05"; + + src = fetchFromGitHub { + owner = "BatchDrake"; + repo = "sigutils"; + rev = "1d7559d427aadd253dd825eef26bf15e54860c5f"; + sha256 = "sha256-wvd6sixwGmR9R4x+swLVqXre4Dqnj10jZIXUfaJcmBw="; + }; + + nativeBuildInputs = [ + cmake + pkg-config + ]; + + buildInputs = [ + fftwSinglePrec + libsndfile + volk + ]; + + meta = with lib; { + description = "Small signal processing utility library"; + homepage = "https://github.com/BatchDrake/sigutils"; + license = licenses.gpl3; + platforms = platforms.all; + maintainers = with maintainers; [ polygon oxapentane ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8adfd937446..2e552b3bf56 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -21819,6 +21819,8 @@ with pkgs; inherit (darwin.apple_sdk.frameworks) AppKit; }; + sigutils = callPackage ../applications/radio/sigutils { }; + sblim-sfcc = callPackage ../development/libraries/sblim-sfcc {}; selinux-sandbox = callPackage ../os-specific/linux/selinux-sandbox { }; From 49584052fedc12ce54c988402978aced61acfbf0 Mon Sep 17 00:00:00 2001 From: Grigory Shipunov Date: Sat, 8 Oct 2022 02:29:07 +0200 Subject: [PATCH 60/79] suscan: init at unstable-2022-07-05 --- pkgs/applications/radio/suscan/default.nix | 50 ++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 52 insertions(+) create mode 100644 pkgs/applications/radio/suscan/default.nix diff --git a/pkgs/applications/radio/suscan/default.nix b/pkgs/applications/radio/suscan/default.nix new file mode 100644 index 00000000000..d2b13784a72 --- /dev/null +++ b/pkgs/applications/radio/suscan/default.nix @@ -0,0 +1,50 @@ +{ lib +, stdenv +, fetchFromGitHub +, cmake +, pkg-config +, fftwSinglePrec +, libsndfile +, sigutils +, soapysdr-with-plugins +, libxml2 +, volk +}: + +stdenv.mkDerivation rec { + pname = "suscan"; + version = "unstable-2022-07-05"; + + src = fetchFromGitHub { + owner = "BatchDrake"; + repo = "suscan"; + rev = "37dad542b97aff24654f0bb80fb8e85af7cb84ab"; + sha256 = "sha256-h1ogtYjkqiHb1/NAJfJ0HQIvGnZM2K/PSP5nqLXUf9M="; + }; + + postPatch = '' + sed -i 's/fftw3 >= 3.0/fftw3f >= 3.0/' suscan.pc.in + ''; + + nativeBuildInputs = [ + cmake + pkg-config + ]; + + buildInputs = [ + fftwSinglePrec + libsndfile + sigutils + soapysdr-with-plugins + libxml2 + volk + ]; + + meta = with lib; { + description = "Channel scanner based on sigutils library"; + homepage = "https://github.com/BatchDrake/suscan"; + license = licenses.gpl3; + platforms = platforms.all; + maintainers = with maintainers; [ polygon oxapentane ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 2e552b3bf56..47c234f6004 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -22053,6 +22053,8 @@ with pkgs; splat = callPackage ../applications/radio/splat { }; + suscan = callPackage ../applications/radio/suscan { }; + suwidgets = libsForQt5.callPackage ../applications/radio/suwidgets { }; sratom = callPackage ../development/libraries/audio/sratom { }; From b9e2097a74316083c1a21e472ba0cc57fc269e30 Mon Sep 17 00:00:00 2001 From: Grigory Shipunov Date: Sat, 8 Oct 2022 02:29:46 +0200 Subject: [PATCH 61/79] sigdigger: init at 0.3.0 --- pkgs/applications/radio/sigdigger/default.nix | 59 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 61 insertions(+) create mode 100644 pkgs/applications/radio/sigdigger/default.nix diff --git a/pkgs/applications/radio/sigdigger/default.nix b/pkgs/applications/radio/sigdigger/default.nix new file mode 100644 index 00000000000..4273d148ce2 --- /dev/null +++ b/pkgs/applications/radio/sigdigger/default.nix @@ -0,0 +1,59 @@ +{ lib +, stdenv +, fetchFromGitHub +, qmake +, qtbase +, pkg-config +, sigutils +, fftwSinglePrec +, suwidgets +, wrapQtAppsHook +, suscan +, libsndfile +, soapysdr-with-plugins +, libxml2 +, volk +}: + +stdenv.mkDerivation rec { + pname = "sigdigger"; + version = "0.3.0"; + + src = fetchFromGitHub { + owner = "BatchDrake"; + repo = "SigDigger"; + rev = "v${version}"; + sha256 = "sha256-dS+Fc0iQz7GIlGaR556Ur/EQh3Uzhqm9uBW42IuEqoE="; + }; + + nativeBuildInputs = [ + qmake + pkg-config + wrapQtAppsHook + ]; + + buildInputs = [ + qtbase + sigutils + fftwSinglePrec + suwidgets + suscan + libsndfile + libxml2 + volk + soapysdr-with-plugins + ]; + + qmakeFlags = [ + "SUWIDGETS_PREFIX=${suwidgets}" + "SigDigger.pro" + ]; + + meta = with lib; { + description = "Qt-based digital signal analyzer, using Suscan core and Sigutils DSP library"; + homepage = "https://github.com/BatchDrake/SigDigger"; + license = licenses.gpl3; + platforms = platforms.all; + maintainers = with maintainers; [ polygon oxapentane ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 47c234f6004..8a38f163d6b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -21819,6 +21819,8 @@ with pkgs; inherit (darwin.apple_sdk.frameworks) AppKit; }; + sigdigger = libsForQt5.callPackage ../applications/radio/sigdigger { }; + sigutils = callPackage ../applications/radio/sigutils { }; sblim-sfcc = callPackage ../development/libraries/sblim-sfcc {}; From 308b23503e2495926552b0bc0e8587a8c0fe31d5 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 8 Oct 2022 05:04:31 +0000 Subject: [PATCH 62/79] python310Packages.json-stream: 1.4.3 -> 1.5.1 --- pkgs/development/python-modules/json-stream/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/json-stream/default.nix b/pkgs/development/python-modules/json-stream/default.nix index 022b25d9db5..bcfbe82ac94 100644 --- a/pkgs/development/python-modules/json-stream/default.nix +++ b/pkgs/development/python-modules/json-stream/default.nix @@ -9,14 +9,14 @@ buildPythonPackage rec { pname = "json-stream"; - version = "1.4.3"; + version = "1.5.1"; format = "pyproject"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-6VWAaTjzVDss01aFI53Lg0oNuus5u4TRF/co9DHOhLU="; + hash = "sha256-htajifmbXtivUwsORzBzJA68nJCACcL75kiBysVYCxY="; }; nativeBuildInputs = [ From c845ce135c728023448c00fe7c9439c40e03c26b Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 8 Oct 2022 06:18:12 +0000 Subject: [PATCH 63/79] python310Packages.ledgerblue: 0.1.42 -> 0.1.43 --- pkgs/development/python-modules/ledgerblue/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/ledgerblue/default.nix b/pkgs/development/python-modules/ledgerblue/default.nix index b52a8e5b4c8..7480045f700 100644 --- a/pkgs/development/python-modules/ledgerblue/default.nix +++ b/pkgs/development/python-modules/ledgerblue/default.nix @@ -15,14 +15,14 @@ buildPythonPackage rec { pname = "ledgerblue"; - version = "0.1.42"; + version = "0.1.43"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-UNquetZ1sCLO9T5p5b3jTSu+52xuc5XdyHNKsvvPdck="; + hash = "sha256-t0mdw8cBGUZ33BWOSeEHyFAGga/Tf1F/gATFSfCpAJQ="; }; propagatedBuildInputs = [ From e596b04c5707086804f1e692e135f5ebfb22f448 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 8 Oct 2022 07:00:05 +0000 Subject: [PATCH 64/79] python310Packages.msal: 1.19.0 -> 1.20.0 --- pkgs/development/python-modules/msal/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/msal/default.nix b/pkgs/development/python-modules/msal/default.nix index f50818f5587..8b8b9d0f874 100644 --- a/pkgs/development/python-modules/msal/default.nix +++ b/pkgs/development/python-modules/msal/default.nix @@ -8,14 +8,14 @@ buildPythonPackage rec { pname = "msal"; - version = "1.19.0"; + version = "1.20.0"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-ZeMp1py/5Iuz3TI2se+OTMkfhpY3YGwYTiJ+htKwYp0="; + hash = "sha256-eDRM1MkdYTSlk7Xj5FVB5mbje3R/+KYxbDZo3R5qtrI="; }; propagatedBuildInputs = [ From e979c208469c4fff8aef01a1aeefdf07c3c7b0e9 Mon Sep 17 00:00:00 2001 From: xrelkd <46590321+xrelkd@users.noreply.github.com> Date: Sat, 8 Oct 2022 15:17:41 +0800 Subject: [PATCH 65/79] eksctl: 0.113.0 -> 0.114.0 --- pkgs/tools/admin/eksctl/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/admin/eksctl/default.nix b/pkgs/tools/admin/eksctl/default.nix index d324920a3f3..f62f1c4c687 100644 --- a/pkgs/tools/admin/eksctl/default.nix +++ b/pkgs/tools/admin/eksctl/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "eksctl"; - version = "0.113.0"; + version = "0.114.0"; src = fetchFromGitHub { owner = "weaveworks"; repo = pname; rev = version; - sha256 = "sha256-sHknZg34FHhYcf4l2oPQG6RGpybF0lC4n816YoVPeGk="; + sha256 = "sha256-m1R6g9KgbbdlBg7p1gVWpSu02azaqg7bQsFQ4gQB2hM="; }; - vendorSha256 = "sha256-z/3aUSuAZSVsQ67JgUy6z3T91vKHlBjjQS4oSljl/nk="; + vendorSha256 = "sha256-glMu2GwMWsuIjLjCwskH90wn690tosLTCThd4LUZobo="; doCheck = false; From 06a23eade308f16dcb0d0b9c5e45a52b7add40a0 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 8 Oct 2022 08:37:24 +0000 Subject: [PATCH 66/79] ergo: 4.0.103 -> 4.0.104 --- pkgs/applications/blockchains/ergo/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/blockchains/ergo/default.nix b/pkgs/applications/blockchains/ergo/default.nix index 3f1e7e8b99b..3c54844863f 100644 --- a/pkgs/applications/blockchains/ergo/default.nix +++ b/pkgs/applications/blockchains/ergo/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "ergo"; - version = "4.0.103"; + version = "4.0.104"; src = fetchurl { url = "https://github.com/ergoplatform/ergo/releases/download/v${version}/ergo-${version}.jar"; - sha256 = "sha256-9vGPHNq76BSdqN1z0KzDOzeMOHAUKnA3Jpx+I5+FOFM="; + sha256 = "sha256-h6OVeDifYIKyIkwbN/pmJWge4/YGL6cnQQ/sI14LsHQ="; }; nativeBuildInputs = [ makeWrapper ]; From 6c2364b16041edc71dc64a38b4318ed28229a55f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 8 Oct 2022 10:38:15 +0200 Subject: [PATCH 67/79] python310Packages.web3: 5.30.0 -> 5.31.1 --- .../python-modules/web3/default.nix | 32 ++++++++++--------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/pkgs/development/python-modules/web3/default.nix b/pkgs/development/python-modules/web3/default.nix index a8b5f077b9e..b07bc9cee9d 100644 --- a/pkgs/development/python-modules/web3/default.nix +++ b/pkgs/development/python-modules/web3/default.nix @@ -20,36 +20,32 @@ # , py-geth , pytestCheckHook , pythonOlder +, pythonRelaxDepsHook }: buildPythonPackage rec { pname = "web3"; - version = "5.30.0"; - disabled = pythonOlder "3.6"; + version = "5.31.1"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "ethereum"; repo = "web3.py"; rev = "v${version}"; - sha256 = "sha256-HajumvOG18r7TslkmCfI0iiLsEddevGrRZQFWICGeYE="; + hash = "sha256-YsAbPI9Y6z+snKZ9NsA0YSpB38n+ra4+Ei6COYFe8v4="; }; - postPatch = '' - substituteInPlace setup.py \ - --replace "eth-account>=0.5.7,<0.6.0" "eth-account>=0.5.7,<0.7" \ - --replace "eth-utils>=1.9.5,<2.0.0" "eth-utils>=1.9.5,<3" \ - --replace "eth-rlp<0.3" "eth-rlp<0.4" \ - --replace "websockets>=9.1,<10" "websockets>=9.1,<11" \ - --replace "eth-abi>=2.0.0b6,<3.0.0" "eth-abi>=2.0.0b6,<4" \ - --replace "eth-typing>=2.0.0,<3.0.0" "eth-typing>=2.0.0,<4" - ''; + nativeBuildInputs = [ + pythonRelaxDepsHook + ]; propagatedBuildInputs = [ aiohttp eth-abi eth-account eth-hash - eth-hash.optional-dependencies.pycryptodome eth-rlp eth-typing eth-utils @@ -60,7 +56,11 @@ buildPythonPackage rec { protobuf requests websockets - ] ++ lib.optional (pythonOlder "3.8") [ typing-extensions ]; + ] ++ lib.optional (pythonOlder "3.8") [ + typing-extensions + ] ++ eth-hash.optional-dependencies.pycryptodome; + + pythonRelaxDeps = true; # TODO: package eth-tester #checkInputs = [ @@ -72,7 +72,9 @@ buildPythonPackage rec { doCheck = false; - pythonImportsCheck = [ "web3" ]; + pythonImportsCheck = [ + "web3" + ]; meta = with lib; { description = "Web3 library for interactions"; From 43d10b6690b80eb1aa900398513191b7e5fbafdd Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 8 Oct 2022 10:47:05 +0200 Subject: [PATCH 68/79] python310Packages.cairo-lang: use pythonRelaxDepsHook --- .../python-modules/cairo-lang/default.nix | 79 +++++++++++-------- 1 file changed, 48 insertions(+), 31 deletions(-) diff --git a/pkgs/development/python-modules/cairo-lang/default.nix b/pkgs/development/python-modules/cairo-lang/default.nix index 00a9361c27f..ec11772fb50 100644 --- a/pkgs/development/python-modules/cairo-lang/default.nix +++ b/pkgs/development/python-modules/cairo-lang/default.nix @@ -1,35 +1,40 @@ { lib -, fetchzip -, buildPythonPackage -, setuptools -, ecdsa -, fastecdsa -, sympy -, frozendict -, marshmallow -, marshmallow-enum -, marshmallow-dataclass -, marshmallow-oneofschema -, pipdeptree -, eth-hash -, web3 , aiohttp +, buildPythonPackage , cachetools +, ecdsa +, eth-hash +, fastecdsa +, fetchzip +, frozendict +, gmp +, lark +, marshmallow +, marshmallow-dataclass +, marshmallow-enum +, marshmallow-oneofschema , mpmath , numpy +, pipdeptree , prometheus-client -, typeguard -, lark -, pyyaml -, pytest-asyncio , pytest +, pytest-asyncio , pytestCheckHook -, gmp +, pythonOlder +, pythonRelaxDepsHook +, pyyaml +, setuptools +, sympy +, typeguard +, web3 }: buildPythonPackage rec { pname = "cairo-lang"; version = "0.10.0"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchzip { url = "https://github.com/starkware-libs/cairo-lang/releases/download/v${version}/cairo-lang-${version}.zip"; @@ -37,13 +42,9 @@ buildPythonPackage rec { }; # TODO: remove a substantial part when https://github.com/starkware-libs/cairo-lang/pull/88/files is merged. - # TODO: pytest and pytest-asyncio must be removed as they are check inputs in fact. postPatch = '' substituteInPlace requirements.txt \ - --replace 'frozendict==1.2' 'frozendict>=1.2' \ - --replace 'lark-parser' 'lark' \ - --replace 'pytest-asyncio' ''' \ - --replace "pytest" ''' + --replace "lark-parser" "lark" substituteInPlace starkware/cairo/lang/compiler/parser_transformer.py \ --replace 'value, meta' 'meta, value' \ @@ -52,7 +53,13 @@ buildPythonPackage rec { --replace 'standard' 'basic' ''; - buildInputs = [ gmp ]; + nativeBuildInputs = [ + pythonRelaxDepsHook + ]; + + buildInputs = [ + gmp + ]; propagatedBuildInputs = [ aiohttp @@ -74,23 +81,33 @@ buildPythonPackage rec { lark web3 eth-hash - eth-hash.optional-dependencies.pycryptodome pyyaml - ]; + ] ++ eth-hash.optional-dependencies.pycryptodome; checkInputs = [ + pytest-asyncio pytestCheckHook ]; + pythonRelaxDeps = [ + "frozendict" + ]; + + pythonRemoveDeps = [ + # TODO: pytest and pytest-asyncio must be removed as they are check inputs + "pytest" + "pytest-asyncio" + ]; + # There seems to be no test included in the ZIP release… # Cloning from GitHub is harder because they use a custom CMake setup # TODO(raitobezarius): upstream was pinged out of band about it. doCheck = false; - meta = { - homepage = "https://github.com/starkware/cairo-lang"; + meta = with lib; { description = "Tooling for Cairo language"; - license = lib.licenses.mit; - maintainers = with lib.maintainers; [ raitobezarius ]; + homepage = "https://github.com/starkware/cairo-lang"; + license = licenses.mit; + maintainers = with maintainers; [ raitobezarius ]; }; } From d14aa797be489dda1a8e997b5bb1643d75115e6f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 8 Oct 2022 10:50:28 +0200 Subject: [PATCH 69/79] python310Packages.hahomematic: 2022.10.1 -> 2022.10.2 --- pkgs/development/python-modules/hahomematic/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/hahomematic/default.nix b/pkgs/development/python-modules/hahomematic/default.nix index 775a3543293..593b9004b82 100644 --- a/pkgs/development/python-modules/hahomematic/default.nix +++ b/pkgs/development/python-modules/hahomematic/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { pname = "hahomematic"; - version = "2022.10.1"; + version = "2022.10.2"; format = "pyproject"; disabled = pythonOlder "3.9"; @@ -24,7 +24,7 @@ buildPythonPackage rec { owner = "danielperna84"; repo = pname; rev = "refs/tags/${version}"; - sha256 = "sha256-wqAms2jG19midKz7yZUT3kFEVMSBUvNujBjzwKN5BsU="; + sha256 = "sha256-WQbTs29cbCm8i7cAlCkyBaBjwOKFawY9Xyj0fPhZQUk="; }; nativeBuildInputs = [ From 82ed11aef0426c05040d758181ec6cd5b334b018 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 8 Oct 2022 10:52:44 +0200 Subject: [PATCH 70/79] python310Packages.plugwise: 0.24.0 -> 0.24.1 --- pkgs/development/python-modules/plugwise/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/plugwise/default.nix b/pkgs/development/python-modules/plugwise/default.nix index b9a522a9cb6..d65f3d1f7dc 100644 --- a/pkgs/development/python-modules/plugwise/default.nix +++ b/pkgs/development/python-modules/plugwise/default.nix @@ -21,7 +21,7 @@ buildPythonPackage rec { pname = "plugwise"; - version = "0.24.0"; + version = "0.24.1"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -30,7 +30,7 @@ buildPythonPackage rec { owner = pname; repo = "python-plugwise"; rev = "refs/tags/v${version}"; - sha256 = "sha256-WoXBUUe/2XX+CgoZB1o2sj2FIoWS6ECikJWrUSreJUY="; + sha256 = "sha256-LUvhSk1iZSw1K6oMaIj5bSH0/f0vfQbprwAPe6vdf08="; }; propagatedBuildInputs = [ From 6c8cf1e3686669ef23c4d62e622b744889889a78 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 8 Oct 2022 11:04:12 +0200 Subject: [PATCH 71/79] python310Packages.types-retry: init at 0.9.9 --- .../python-modules/types-retry/default.nix | 29 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 31 insertions(+) create mode 100644 pkgs/development/python-modules/types-retry/default.nix diff --git a/pkgs/development/python-modules/types-retry/default.nix b/pkgs/development/python-modules/types-retry/default.nix new file mode 100644 index 00000000000..53323d950cb --- /dev/null +++ b/pkgs/development/python-modules/types-retry/default.nix @@ -0,0 +1,29 @@ +{ lib +, buildPythonPackage +, fetchPypi +}: + +buildPythonPackage rec { + pname = "types-retry"; + version = "0.9.9"; + format = "setuptools"; + + src = fetchPypi { + inherit pname version; + hash = "sha256-sQh7J0aAtULHllSehIiJjQsizYmYjvEBbvVtQ2f/T0E="; + }; + + # Modules doesn't have tests + doCheck = false; + + pythonImportsCheck = [ + "retry-stubs" + ]; + + meta = with lib; { + description = "Typing stubs for retry"; + homepage = "https://github.com/python/typeshed"; + license = licenses.asl20; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 75cbf33b249..870cd0027eb 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -11380,6 +11380,8 @@ in { types-redis = callPackage ../development/python-modules/types-redis { }; + types-retry = callPackage ../development/python-modules/types-retry { }; + types-requests = callPackage ../development/python-modules/types-requests { }; types-setuptools = callPackage ../development/python-modules/types-setuptools { }; From 148f8a027b640f87ad956344e05d125bb58edb86 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 8 Oct 2022 11:30:43 +0200 Subject: [PATCH 72/79] python310Packages.types-python-dateutil: init at 2.8.19 --- .../types-python-dateutil/default.nix | 29 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 31 insertions(+) create mode 100644 pkgs/development/python-modules/types-python-dateutil/default.nix diff --git a/pkgs/development/python-modules/types-python-dateutil/default.nix b/pkgs/development/python-modules/types-python-dateutil/default.nix new file mode 100644 index 00000000000..d177013f7f5 --- /dev/null +++ b/pkgs/development/python-modules/types-python-dateutil/default.nix @@ -0,0 +1,29 @@ +{ lib +, buildPythonPackage +, fetchPypi +}: + +buildPythonPackage rec { + pname = "types-python-dateutil"; + version = "2.8.19"; + format = "setuptools"; + + src = fetchPypi { + inherit pname version; + hash = "sha256-v9PrOcclOupLojsQ9psBfTCwE2YrtL5KtIsgu9dj8wk="; + }; + + # Modules doesn't have tests + doCheck = false; + + pythonImportsCheck = [ + "dateutil-stubs" + ]; + + meta = with lib; { + description = "Typing stubs for python-dateutil"; + homepage = "https://github.com/python/typeshed"; + license = licenses.asl20; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 870cd0027eb..8bd29ba2856 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -11374,6 +11374,8 @@ in { types-protobuf = callPackage ../development/python-modules/types-protobuf { }; + types-python-dateutil = callPackage ../development/python-modules/types-python-dateutil { }; + types-pytz = callPackage ../development/python-modules/types-pytz { }; types-pyyaml = callPackage ../development/python-modules/types-pyyaml { }; From 412cb9861b28040122cddea10e55869836c95b66 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 8 Oct 2022 11:32:03 +0200 Subject: [PATCH 73/79] python310Packages.pyquil: 3.3.1 -> 3.3.2 --- pkgs/development/python-modules/pyquil/default.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pyquil/default.nix b/pkgs/development/python-modules/pyquil/default.nix index 71d73e9a29f..7fa842230f4 100644 --- a/pkgs/development/python-modules/pyquil/default.nix +++ b/pkgs/development/python-modules/pyquil/default.nix @@ -14,15 +14,17 @@ , pytestCheckHook , pythonOlder , qcs-api-client -, retry , respx +, retry , rpcq , scipy +, types-python-dateutil +, types-retry }: buildPythonPackage rec { pname = "pyquil"; - version = "3.3.1"; + version = "3.3.2"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -31,7 +33,7 @@ buildPythonPackage rec { owner = "rigetti"; repo = pname; rev = "v${version}"; - sha256 = "sha256-eBEv0rpM0IOaMHWjXDgF0yFK+NNr49cI8fxVi0sfbXs="; + hash = "sha256-Ur7dRxmnaAWXHk7c6NC3lBw59RRgh9vwAHFW00fViD4="; }; nativeBuildInputs = [ @@ -46,6 +48,8 @@ buildPythonPackage rec { retry rpcq scipy + types-python-dateutil + types-retry ] ++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ]; From 552ab32c71114a19e84b68ddaefc0e787bc227d7 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 8 Oct 2022 05:58:00 +0000 Subject: [PATCH 74/79] cg3: 1.3.7 -> 1.3.9 --- pkgs/development/interpreters/cg3/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/interpreters/cg3/default.nix b/pkgs/development/interpreters/cg3/default.nix index 7f7a38185f9..8aa0d412c1c 100644 --- a/pkgs/development/interpreters/cg3/default.nix +++ b/pkgs/development/interpreters/cg3/default.nix @@ -10,13 +10,13 @@ let cg3 = stdenv.mkDerivation rec { pname = "cg3"; - version = "1.3.7"; + version = "1.3.9"; src = fetchFromGitHub { owner = "GrammarSoft"; repo = "${pname}"; rev = "v${version}"; - sha256 = "Ena3dGoZsXOIY6mbvnfI0H7QqRifoxWIBKQrK3yQSmY="; + sha256 = "sha256-TiEhhk90w5GibGZ4yalIf+4qLA8NoU6+GIPN6QNTz2A="; }; nativeBuildInputs = [ From c266918b2336eecf5001163f32e02d0ca7ac8300 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 8 Oct 2022 09:17:01 +0000 Subject: [PATCH 75/79] flex-ndax: 0.2-20220427 -> 0.2-20221007.1 --- pkgs/applications/radio/flex-ndax/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/radio/flex-ndax/default.nix b/pkgs/applications/radio/flex-ndax/default.nix index 6900e1eb4ed..477953ab26f 100644 --- a/pkgs/applications/radio/flex-ndax/default.nix +++ b/pkgs/applications/radio/flex-ndax/default.nix @@ -2,18 +2,18 @@ buildGoModule rec { pname = "flex-ndax"; - version = "0.2-20220427"; + version = "0.2-20221007.1"; src = fetchFromGitHub { owner = "kc2g-flex-tools"; repo = "nDAX"; rev = "v${version}"; - hash = "sha256-KmvTLfGC6xzXcWYAzmBYiYSF65lqMdsdMQjUEk3siqc="; + hash = "sha256-QldbiJnCjWrlXEPvyAqV5Xwz9YvsnVobVy/E/OB0A1k="; }; buildInputs = [ libpulseaudio ]; - vendorSha256 = "sha256-u/5LiVo/ZOefprEKr/L1+3+OfYb0a4wq+CWoUjYNvzg="; + vendorSha256 = "sha256-eHy8oFYicVONQr31LQQ9b5auzeBoIzbszw2buKaBQbQ="; meta = with lib; { broken = stdenv.isDarwin; From 85c0e1bb3d2512ed035a97f0d50c7be5e18b78e9 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 8 Oct 2022 09:16:47 +0000 Subject: [PATCH 76/79] flex-ncat: 0.1-20220505.0 -> 0.1-20221007.1 --- pkgs/applications/radio/flex-ncat/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/radio/flex-ncat/default.nix b/pkgs/applications/radio/flex-ncat/default.nix index 24c2e08f552..e06b241905d 100644 --- a/pkgs/applications/radio/flex-ncat/default.nix +++ b/pkgs/applications/radio/flex-ncat/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "flex-ncat"; - version = "0.1-20220505.0"; + version = "0.1-20221007.1"; src = fetchFromGitHub { owner = "kc2g-flex-tools"; repo = "nCAT"; rev = "v${version}"; - hash = "sha256-Jqoqy+W5sKfg7U/F2OpK1jAVM8rm1Tbr4RHG/mMVE0g="; + hash = "sha256-9rxI3wsqjhaH7DD1Go/8s0r6jXaE15Z9PPtbsnsfrM0="; }; - vendorSha256 = "sha256-mWZRaPbmSPBUhTCWSkU33zOOq79ylEbnjPG3gLkWeQY="; + vendorSha256 = "sha256-lnJtFixgv4ke4Knavb+XKFPzHCiAPhNtfZS3SRVvY2g="; meta = with lib; { homepage = "https://github.com/kc2g-flex-tools/nCAT"; From 3ffe9266e521f0b540cbb1b69a4d00ee8d6e87b3 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 3 Oct 2022 03:46:05 +0000 Subject: [PATCH 77/79] yacreader: 9.9.1 -> 9.9.2 --- pkgs/applications/graphics/yacreader/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/graphics/yacreader/default.nix b/pkgs/applications/graphics/yacreader/default.nix index 09e44f58db6..44733d8bead 100644 --- a/pkgs/applications/graphics/yacreader/default.nix +++ b/pkgs/applications/graphics/yacreader/default.nix @@ -5,13 +5,13 @@ mkDerivation rec { pname = "yacreader"; - version = "9.9.1"; + version = "9.9.2"; src = fetchFromGitHub { owner = "YACReader"; repo = pname; rev = version; - sha256 = "sha256-D+ZmFMg9ZixZNUAMjPHwz7gcwKjG49lm5hTEqftbIrY="; + sha256 = "sha256-rurJkCIuHTWxIGb+TTHp8sQS26/5W/sdtWFxyeqVx54="; }; nativeBuildInputs = [ qmake pkg-config ]; From 8d05bf52e08b3f9bd937df302d159fb5d6914199 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 3 Oct 2022 02:19:05 +0000 Subject: [PATCH 78/79] tytools: 0.9.7 -> 0.9.8 --- pkgs/development/embedded/tytools/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/embedded/tytools/default.nix b/pkgs/development/embedded/tytools/default.nix index 23bab058c59..1669ec239ac 100644 --- a/pkgs/development/embedded/tytools/default.nix +++ b/pkgs/development/embedded/tytools/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "tytools"; - version = "0.9.7"; + version = "0.9.8"; src = fetchFromGitHub { owner = "Koromix"; repo = pname; rev = "v${version}"; - sha256 = "sha256-iF2XyWSBBCO23iY/ni+QlpgtOuWKN2JTMTz+9OLEadk="; + sha256 = "sha256-MKhh0ooDZI1Ks8vVuPRiHhpOqStetGaAhE2ulvBstxA="; }; nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ]; From bdcdd675da8c819aaa081e569a8b20ccf3ee596c Mon Sep 17 00:00:00 2001 From: Brendan Reis Date: Sat, 8 Oct 2022 07:46:54 -0400 Subject: [PATCH 79/79] exact-audio-copy: init at 1.6.0 (#194019) --- maintainers/maintainer-list.nix | 6 ++ .../audio/exact-audio-copy/default.nix | 86 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 3 files changed, 94 insertions(+) create mode 100644 pkgs/applications/audio/exact-audio-copy/default.nix diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index d9d7970c751..0ddf2fa033d 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -1922,6 +1922,12 @@ githubId = 2506621; name = "Brayden Willenborg"; }; + brendanreis = { + email = "brendanreis@gmail.com"; + name = "Brendan Reis"; + github = "brendanreis"; + githubId = 10686906; + }; brian-dawn = { email = "brian.t.dawn@gmail.com"; github = "brian-dawn"; diff --git a/pkgs/applications/audio/exact-audio-copy/default.nix b/pkgs/applications/audio/exact-audio-copy/default.nix new file mode 100644 index 00000000000..bd5e55bc210 --- /dev/null +++ b/pkgs/applications/audio/exact-audio-copy/default.nix @@ -0,0 +1,86 @@ +{ lib +, stdenv +, fetchurl +, makeDesktopItem +, imagemagick +, p7zip +, wine +, writeShellScriptBin +, symlinkJoin +, use64 ? false +}: + +let + pname = "exact-audio-copy"; + version = "1.6.0"; + + eac_exe = fetchurl { + url = "http://www.exactaudiocopy.de/eac-${lib.versions.majorMinor version}.exe"; + sha256 = "8291d33104ebab2619ba8d85744083e241330a286f5bd7d54c7b0eb08f2b84c1"; + }; + + cygwin_dll = fetchurl { + url = "https://cygwin.com/snapshots/x86/cygwin1-20220301.dll.xz"; + sha256 = "0zxn0r5q69fhciy0mrplhxj1hxwy3sq4k1wdy6n6kyassm4zyz1x"; + }; + + patched_eac = stdenv.mkDerivation { + pname = "patched_eac"; + inherit version; + + nativeBuildInputs = [ + imagemagick + p7zip + ]; + + buildCommand = '' + mkdir -p $out + _tmp=$(mktemp -d) + cd $_tmp + 7z x -aoa ${eac_exe} + chmod -R 755 . + cp ${cygwin_dll} cygwin1.dll.xz + xz --decompress cygwin1.dll.xz + mv cygwin1.dll CDRDAO/ + cp -r * $out + 7z x EAC.exe + convert .rsrc/1033/ICON/29.ico -thumbnail 128x128 -alpha on -background none -flatten "$out/eac.ico.128.png" + ''; + }; + + wrapper = writeShellScriptBin pname '' + export WINEPREFIX="''${EXACT_AUDIO_COPY_HOME:-"''${XDG_DATA_HOME:-"''${HOME}/.local/share"}/exact-audio-copy"}/wine" + export WINEARCH=${if use64 then "win64" else "win32"} + export WINEDLLOVERRIDES="mscoree=" # disable mono + export WINEDEBUG=-all + if [ ! -d "$WINEPREFIX" ] ; then + mkdir -p "$WINEPREFIX" + ${wine}/bin/wineboot -u + fi + + exec ${wine}/bin/wine ${patched_eac}/EAC.exe "$@" + ''; + + desktopItem = makeDesktopItem { + name = pname; + exec = pname; + comment = "Audio Grabber for CDs"; + desktopName = "Exact Audio Copy"; + categories = [ "Audio" "AudioVideo" ]; + icon = "${patched_eac}/eac.ico.128.png"; + }; +in +symlinkJoin { + name = "${pname}-${version}"; + + paths = [ wrapper desktopItem ]; + + meta = with lib; { + description = "A precise CD audio grabber for creating perfect quality rips using CD and DVD drives"; + homepage = "https://www.exactaudiocopy.de/"; + changelog = "https://www.exactaudiocopy.de/en/index.php/resources/whats-new/whats-new/"; + license = licenses.unfree; + maintainers = [ maintainers.brendanreis ]; + platforms = wine.meta.platforms; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9c9fdadd755..31e774dcad0 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6293,6 +6293,8 @@ with pkgs; inherit (darwin.apple_sdk.frameworks) Security; }; + exactaudiocopy = callPackage ../applications/audio/exact-audio-copy { }; + exempi = callPackage ../development/libraries/exempi { stdenv = if stdenv.isDarwin then stdenv else if stdenv.isi686 then gcc6Stdenv