From 6f0523e4847da9a801d96d698bf331f48863e444 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Sat, 25 Feb 2023 01:10:09 +0100 Subject: [PATCH 01/59] nixos/documentation: Link Devhelp files While Devhelp now supports finding API documentation in `/share/doc` and the new `gi-docgen` toolchain places it there, older projects using gtk-doc (e.g. GLib) still install it to `/share/gtk-doc` and/or `/share/devhelp/books`. For people using the major DEs this is not problem since they have `/share` in `pathsToLink` but we want to be explicit and make it work for everyone. --- nixos/modules/misc/documentation.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/nixos/modules/misc/documentation.nix b/nixos/modules/misc/documentation.nix index ecc40ad6adef..916fc366ecea 100644 --- a/nixos/modules/misc/documentation.nix +++ b/nixos/modules/misc/documentation.nix @@ -350,7 +350,13 @@ in }) (mkIf cfg.doc.enable { - environment.pathsToLink = [ "/share/doc" ]; + environment.pathsToLink = [ + "/share/doc" + + # Legacy paths used by gtk-doc & adjacent tools. + "/share/gtk-doc" + "/share/devhelp" + ]; environment.extraOutputsToInstall = [ "doc" ] ++ optional cfg.dev.enable "devdoc"; }) From 0b3aa5bd5ccde47da9d59fee4b3d2c11fa3137d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Tue, 17 Sep 2024 15:14:21 +0200 Subject: [PATCH 02/59] electron: fix "Incomplete regular expression for hostnames" in update script --- pkgs/development/tools/electron/update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/tools/electron/update.py b/pkgs/development/tools/electron/update.py index 022306a2bacf..540489cc18e2 100755 --- a/pkgs/development/tools/electron/update.py +++ b/pkgs/development/tools/electron/update.py @@ -399,7 +399,7 @@ def repo_from_dep(dep: dict) -> Optional[Repo]: if search_object: return GitHubRepo(search_object.group(1), search_object.group(2), rev) - if re.match(r"https://.+.googlesource.com", url): + if re.match(r"https://.+\.googlesource.com", url): return GitilesRepo(url, rev) return GitRepo(url, rev) From a9c9441997fcb49f7d6ee5e03a0bc79b3a9e0bc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Tue, 17 Sep 2024 15:17:59 +0200 Subject: [PATCH 03/59] fetch-yarn-deps: fix "Incomplete URL substring sanitization" 'https://codeload.github.com' may be followed by an arbitrary host name. --- pkgs/build-support/node/fetch-yarn-deps/fixup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/build-support/node/fetch-yarn-deps/fixup.js b/pkgs/build-support/node/fetch-yarn-deps/fixup.js index a359cd58a916..0b87393b1fff 100755 --- a/pkgs/build-support/node/fetch-yarn-deps/fixup.js +++ b/pkgs/build-support/node/fetch-yarn-deps/fixup.js @@ -23,7 +23,7 @@ const fixupYarnLock = async (lockContents, verbose) => { } const [ url, hash ] = pkg.resolved.split("#", 2) - if (hash || url.startsWith("https://codeload.github.com")) { + if (hash || url.startsWith("https://codeload.github.com/")) { if (verbose) console.log(`Removing integrity for git dependency ${dep}`) delete pkg.integrity } From 60550330ceaf6457c8a243d0e3bfc4048ec37805 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Tue, 17 Sep 2024 15:23:13 +0200 Subject: [PATCH 04/59] yarn2nix: fix "Incomplete URL substring sanitization" 'https://codeload.github.com' may be followed by an arbitrary host name. --- .../tools/yarn2nix-moretea/yarn2nix/lib/fixPkgAddMissingSha1.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/tools/yarn2nix-moretea/yarn2nix/lib/fixPkgAddMissingSha1.js b/pkgs/development/tools/yarn2nix-moretea/yarn2nix/lib/fixPkgAddMissingSha1.js index 3a5867a3d22c..c917005fd43c 100644 --- a/pkgs/development/tools/yarn2nix-moretea/yarn2nix/lib/fixPkgAddMissingSha1.js +++ b/pkgs/development/tools/yarn2nix-moretea/yarn2nix/lib/fixPkgAddMissingSha1.js @@ -46,7 +46,7 @@ async function fixPkgAddMissingSha1(pkg) { const [url, sha1] = pkg.resolved.split("#", 2); - if (sha1 || url.startsWith("https://codeload.github.com")) { + if (sha1 || url.startsWith("https://codeload.github.com/")) { return pkg; } From 1c4d950be62611eef1634f90695f52d576abc1ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Tue, 17 Sep 2024 15:23:26 +0200 Subject: [PATCH 05/59] maubot: fix "Incomplete URL substring sanitization" in plugins update script The string 'github.com' may be at an arbitrary position in the sanitized [domain name]. --- pkgs/tools/networking/maubot/plugins/update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/networking/maubot/plugins/update.py b/pkgs/tools/networking/maubot/plugins/update.py index d787f1f25095..e0c7c717e5c4 100755 --- a/pkgs/tools/networking/maubot/plugins/update.py +++ b/pkgs/tools/networking/maubot/plugins/update.py @@ -73,7 +73,7 @@ def process_repo(path: str, official: bool): 'description': desc, 'homepage': origurl, } - if domain.endswith('github.com'): + if domain == 'github.com': owner, repo = query.split('/') ret['github'] = { 'owner': owner, From 8b8fd74b2329c919d60a75aa6167b0e5b077f507 Mon Sep 17 00:00:00 2001 From: Dietmar Winkler Date: Wed, 25 Sep 2024 20:12:20 +0200 Subject: [PATCH 06/59] vokoscreen-ng: 4.0.0 -> 4.2.0 --- pkgs/applications/video/vokoscreen-ng/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/video/vokoscreen-ng/default.nix b/pkgs/applications/video/vokoscreen-ng/default.nix index d105849dba35..29b6c2c712d3 100644 --- a/pkgs/applications/video/vokoscreen-ng/default.nix +++ b/pkgs/applications/video/vokoscreen-ng/default.nix @@ -17,13 +17,13 @@ stdenv.mkDerivation rec { pname = "vokoscreen-ng"; - version = "4.0.0"; + version = "4.2.0"; src = fetchFromGitHub { owner = "vkohaupt"; repo = "vokoscreenNG"; rev = version; - hash = "sha256-Y6+R18Gf3ShqhsmZ4Okx02fSOOyilS6iKU5FW9wpxvY="; + hash = "sha256-PLgKOdSx0Kdobex5KaeCxWcindHEN9p4+xaVN/gr7Pk="; }; qmakeFlags = [ "src/vokoscreenNG.pro" ]; @@ -48,6 +48,10 @@ stdenv.mkDerivation rec { --replace lrelease-qt5 lrelease ''; + preBuild = '' + lrelease src/language/*.ts + ''; + postInstall = '' mkdir -p $out/bin $out/share/applications $out/share/icons cp ./vokoscreenNG $out/bin/ From 1555c004881637a1c6973a3a244ac42f9a4badce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=B6gler?= Date: Fri, 15 Nov 2024 12:45:47 +0100 Subject: [PATCH 07/59] texlive.combine: fix requiredTexPackages --- pkgs/tools/typesetting/tex/texlive/build-tex-env.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/typesetting/tex/texlive/build-tex-env.nix b/pkgs/tools/typesetting/tex/texlive/build-tex-env.nix index ed0f0fd39377..f72a0bdf3c88 100644 --- a/pkgs/tools/typesetting/tex/texlive/build-tex-env.nix +++ b/pkgs/tools/typesetting/tex/texlive/build-tex-env.nix @@ -203,7 +203,7 @@ let # This is set primarily to help find-tarballs.nix to do its job requiredTeXPackages = builtins.filter lib.isDerivation (pkgList.bin ++ pkgList.nonbin ++ lib.optionals (! __fromCombineWrapper) - (lib.concatMap (n: (pkgList.otherOutputs.${n} or [ ] ++ pkgList.specifiedOutputs.${n} or [ ]))) pkgList.nonEnvOutputs); + (lib.concatMap (n: (pkgList.otherOutputs.${n} or [ ] ++ pkgList.specifiedOutputs.${n} or [ ])) pkgList.nonEnvOutputs)); # useful for inclusion in the `fonts.packages` nixos option or for use in devshells fonts = "${texmfroot}/texmf-dist/fonts"; # support variants attrs, (prev: attrs) From 088f1e641b8c14eb451591ce6d0ae29c3d8fd666 Mon Sep 17 00:00:00 2001 From: Arne Keller <2012gdwu+github@posteo.de> Date: Sun, 17 Nov 2024 22:27:50 +0100 Subject: [PATCH 08/59] workflows/check-nix-format: reminder to rebase --- .github/workflows/check-nix-format.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/check-nix-format.yml b/.github/workflows/check-nix-format.yml index 16574d28cc73..81bc083b3c64 100644 --- a/.github/workflows/check-nix-format.yml +++ b/.github/workflows/check-nix-format.yml @@ -85,6 +85,7 @@ jobs: echo "Some new/changed Nix files are not properly formatted" echo "Please go to the Nixpkgs root directory, run \`nix-shell\`, then:" echo "nixfmt ${unformattedFiles[*]@Q}" + echo "Make sure your branch is up to date with master, rebase if not." echo "If you're having trouble, please ping @NixOS/nix-formatting" exit 1 fi From b2aa67fb819036d3c796fd5c2e343733356a522d Mon Sep 17 00:00:00 2001 From: Chuang Zhu Date: Tue, 19 Nov 2024 21:37:47 +0800 Subject: [PATCH 09/59] iio-oscilloscope: init at 0.17 --- pkgs/by-name/ii/iio-oscilloscope/package.nix | 70 ++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 pkgs/by-name/ii/iio-oscilloscope/package.nix diff --git a/pkgs/by-name/ii/iio-oscilloscope/package.nix b/pkgs/by-name/ii/iio-oscilloscope/package.nix new file mode 100644 index 000000000000..15a6d16e1973 --- /dev/null +++ b/pkgs/by-name/ii/iio-oscilloscope/package.nix @@ -0,0 +1,70 @@ +{ + lib, + stdenv, + fetchFromGitHub, + cmake, + pkg-config, + wrapGAppsHook3, + libiio, + glib, + gtk3, + gtkdatabox, + matio, + fftw, + libxml2, + curl, + jansson, + enable9361 ? true, + libad9361, +# enable9166 ? true, +# libad9166, +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "iio-oscilloscope"; + version = "0.17"; + + src = fetchFromGitHub { + owner = "analogdevicesinc"; + repo = finalAttrs.pname; + rev = "v${finalAttrs.version}-master"; + hash = "sha256-wCeOLAkrytrBaXzUbNu8z2Ayz44M+b+mbyaRoWHpZYU="; + }; + + postPatch = '' + # error: 'idx' may be used uninitialized + substituteInPlace plugins/lidar.c --replace-fail "int i, j, idx;" "int i, j, idx = 0;" + ''; + + nativeBuildInputs = [ + cmake + pkg-config + wrapGAppsHook3 + ]; + + buildInputs = [ + libiio + glib + gtk3 + gtkdatabox + matio + fftw + libxml2 + curl + jansson + ] ++ lib.optional enable9361 libad9361; + + cmakeFlags = [ + "-DCMAKE_POLKIT_PREFIX=${placeholder "out"}" + ]; + + meta = { + description = "GTK+ based oscilloscope application for interfacing with various IIO devices"; + homepage = "https://wiki.analog.com/resources/tools-software/linux-software/iio_oscilloscope"; + mainProgram = "osc"; + license = lib.licenses.gpl2Only; + changelog = "https://github.com/analogdevicesinc/iio-oscilloscope/releases/tag/v${finalAttrs.version}-master"; + maintainers = with lib.maintainers; [ chuangzhu ]; + platforms = lib.platforms.linux; + }; +}) From 2dd36e9886dbca73e59d1a913e1a0e3620edab81 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 22 Nov 2024 00:54:29 +0000 Subject: [PATCH 10/59] limine: 8.0.14 -> 8.4.0 --- pkgs/by-name/li/limine/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/li/limine/package.nix b/pkgs/by-name/li/limine/package.nix index e51f057fca01..13fe4282c703 100644 --- a/pkgs/by-name/li/limine/package.nix +++ b/pkgs/by-name/li/limine/package.nix @@ -18,7 +18,7 @@ let llvmPackages = llvmPackages_18; stdenv = llvmPackages.stdenv; - version = "8.0.14"; + version = "8.4.0"; hasI686 = (if targets == [ ] then stdenv.hostPlatform.isx86_32 else (builtins.elem "i686" targets)) @@ -64,7 +64,7 @@ stdenv.mkDerivation { # Packaging that in Nix is very cumbersome. src = fetchurl { url = "https://github.com/limine-bootloader/limine/releases/download/v${version}/limine-${version}.tar.gz"; - hash = "sha256-tj8wFUFveGp10Ls4xWIqqdY6fUHWy3jxsVeJRTz7/9Q="; + hash = "sha256-MSKUXfwnLw/tVAfhUoKYNGUeMYb7Ka4UWAtx9R1eSR8="; }; hardeningDisable = [ From 919d4b8e15fe62928c4df309c533ea250ee9ccd4 Mon Sep 17 00:00:00 2001 From: Ryota Date: Wed, 20 Nov 2024 01:33:30 +0000 Subject: [PATCH 11/59] maintainers: add rytswd --- maintainers/maintainer-list.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index ca295a1f79d0..3c01ff78e847 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -19408,6 +19408,13 @@ name = "Maxwell Beck"; keys = [ { fingerprint = "D260 79E3 C2BC 2E43 905B D057 BB3E FA30 3760 A0DB"; } ]; }; + rytswd = { + email = "rytswd@gmail.com"; + github = "rytswd"; + githubId = 23435099; + name = "Ryota"; + keys = [ { fingerprint = "537E 712F 0EC3 91C2 B47F 56E2 EB5D 1A84 5333 43BB"; } ]; + }; ryze = { name = "Ryze"; github = "ryze312"; From d9b684cda479a18325f40c51006838dd00f79ea3 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Wed, 11 Sep 2024 23:38:24 -0400 Subject: [PATCH 12/59] rucola: init at 0.4.1 Co-authored-by: Alexis Hildebrandt Co-authored-by: Aleksana --- pkgs/by-name/ru/rucola/package.nix | 56 ++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 pkgs/by-name/ru/rucola/package.nix diff --git a/pkgs/by-name/ru/rucola/package.nix b/pkgs/by-name/ru/rucola/package.nix new file mode 100644 index 000000000000..f39186d6118c --- /dev/null +++ b/pkgs/by-name/ru/rucola/package.nix @@ -0,0 +1,56 @@ +{ + lib, + rustPlatform, + fetchFromGitHub, + pkg-config, + oniguruma, + stdenv, + apple-sdk_11, + darwinMinVersionHook, +}: + +rustPlatform.buildRustPackage rec { + pname = "rucola"; + version = "0.4.1"; + + src = fetchFromGitHub { + owner = "Linus-Mussmaecher"; + repo = "rucola"; + rev = "v${version}"; + hash = "sha256-FeQPf9sCEqypvB8VrGa1nnXmxlqo6K4fpLkJakbysvI="; + }; + + cargoHash = "sha256-5TvJ8h/kmXG9G7dl5/gIYhVgvmqmm24BmOJzdKVJ+uY="; + + nativeBuildInputs = [ + pkg-config + ]; + + buildInputs = + [ + oniguruma + ] + ++ lib.optionals stdenv.hostPlatform.isDarwin [ + apple-sdk_11 + (darwinMinVersionHook "10.13") + ]; + + env = { + RUSTONIG_SYSTEM_LIBONIG = true; + }; + + # Fails on Darwin + checkFlags = lib.optionals stdenv.hostPlatform.isDarwin [ + "--skip=io::file_tracker::tests::test_watcher_rename" + ]; + + meta = { + description = "Terminal-based markdown note manager"; + homepage = "https://github.com/Linus-Mussmaecher/rucola"; + changelog = "https://github.com/Linus-Mussmaecher/rucola/blob/${src.rev}/CHANGELOG.md"; + license = lib.licenses.gpl3Plus; + maintainers = with lib.maintainers; [ donovanglover ]; + mainProgram = "rucola"; + platforms = lib.platforms.linux ++ lib.platforms.darwin; + }; +} From 2d04db6ed96192877a84903498d41326cfe65030 Mon Sep 17 00:00:00 2001 From: Ryota Date: Wed, 20 Nov 2024 01:40:41 +0000 Subject: [PATCH 13/59] kubernetes-kcp: init at 0.26.0 Update pkgs/applications/networking/cluster/kcp/default.nix Co-authored-by: Aleksana Update pkgs/applications/networking/cluster/kcp/default.nix Co-authored-by: Aleksana Update pkgs/applications/networking/cluster/kcp/default.nix Co-authored-by: Aleksana Move package to pkgs/by-name/ku/kubernetes-kcp Fix format error --- pkgs/by-name/ku/kubernetes-kcp/package.nix | 68 ++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 pkgs/by-name/ku/kubernetes-kcp/package.nix diff --git a/pkgs/by-name/ku/kubernetes-kcp/package.nix b/pkgs/by-name/ku/kubernetes-kcp/package.nix new file mode 100644 index 000000000000..7a5ff9afea4b --- /dev/null +++ b/pkgs/by-name/ku/kubernetes-kcp/package.nix @@ -0,0 +1,68 @@ +{ + lib, + stdenv, + buildGoModule, + fetchFromGitHub, + installShellFiles, + testers, +}: + +buildGoModule rec { + pname = "kubernetes-kcp"; + version = "0.26.0"; + + src = fetchFromGitHub { + owner = "kcp-dev"; + repo = "kcp"; + rev = "refs/tags/v${version}"; + hash = "sha256-ZEgDeILo2weSAZgBsfR2EQyzym/I/+3P99b47E5Tfrw="; + }; + vendorHash = "sha256-IONbTih48LKAiEPFNFdBkJDMI2sjHWxiqVbEJCskyio="; + + subPackages = [ "cmd/kcp" ]; + + # TODO: The upstream has the additional version information pulled from go.mod + # dependencies. + ldflags = [ + "-X k8s.io/client-go/pkg/version.gitCommit=unknown" + "-X k8s.io/client-go/pkg/version.gitTreeState=clean" + "-X k8s.io/client-go/pkg/version.gitVersion=v${version}" + # "-X k8s.io/client-go/pkg/version.gitMajor=${KUBE_MAJOR_VERSION}" + # "-X k8s.io/client-go/pkg/version.gitMinor=${KUBE_MINOR_VERSION}" + "-X k8s.io/client-go/pkg/version.buildDate=unknown" + "-X k8s.io/component-base/version.gitCommit=unknown" + "-X k8s.io/component-base/version.gitTreeState=clean" + "-X k8s.io/component-base/version.gitVersion=v${version}" + # "-X k8s.io/component-base/version.gitMajor=${KUBE_MAJOR_VERSION}" + # "-X k8s.io/component-base/version.gitMinor=${KUBE_MINOR_VERSION}" + "-X k8s.io/component-base/version.buildDate=unknown" + ]; + + # TODO: Check if this is necessary. + # __darwinAllowLocalNetworking = true; + + nativeBuildInputs = [ installShellFiles ]; + postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' + $out/bin/kcp completion bash > kcp.bash + $out/bin/kcp completion zsh > kcp.zsh + $out/bin/kcp completion fish > kcp.fish + installShellCompletion kcp.{bash,zsh,fish} + ''; + + passthru.tests.version = testers.testVersion { + command = "kcp --version"; + # NOTE: Once the go.mod version is pulled in, the version info here needs + # to be also updated. + version = "v${version}"; + }; + + meta = { + homepage = "https://kcp.io"; + description = "Kubernetes-like control planes for form-factors and use-cases beyond Kubernetes and container workloads"; + mainProgram = "kcp"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ + rytswd + ]; + }; +} From 814a5c0285b8411356782f561f12f43757db357d Mon Sep 17 00:00:00 2001 From: Savyasachee Jha Date: Thu, 14 Nov 2024 12:46:46 +0530 Subject: [PATCH 14/59] firefly-iii: 6.1.21 -> 6.1.24 --- pkgs/by-name/fi/firefly-iii/package.nix | 34 ++++++++++--------------- 1 file changed, 14 insertions(+), 20 deletions(-) diff --git a/pkgs/by-name/fi/firefly-iii/package.nix b/pkgs/by-name/fi/firefly-iii/package.nix index d3510ce80282..054b87dfce33 100644 --- a/pkgs/by-name/fi/firefly-iii/package.nix +++ b/pkgs/by-name/fi/firefly-iii/package.nix @@ -10,31 +10,25 @@ , dataDir ? "/var/lib/firefly-iii" }: -let +stdenvNoCC.mkDerivation (finalAttrs: { pname = "firefly-iii"; - version = "6.1.21"; - phpPackage = php83; - npmDepsHash = "sha256-N4o7FKdya6bGakNKNq2QUV8HKRfuov5ahvbjR/rsimU="; + version = "6.1.24"; src = fetchFromGitHub { owner = "firefly-iii"; repo = "firefly-iii"; - rev = "v${version}"; - hash = "sha256-jadxzUhOb3G/DwJk8IV4IcwjmxgrrriVMVwj1cYFHEA="; + rev = "v${finalAttrs.version}"; + hash = "sha256-ZB0yaGHL1AI67i2ixUzuWyiBjXJNlDV4APBahDuNObI="; }; -in -stdenvNoCC.mkDerivation (finalAttrs: { - inherit pname src version; - - buildInputs = [ phpPackage ]; + buildInputs = [ php83 ]; nativeBuildInputs = [ nodejs nodejs.python buildPackages.npmHooks.npmConfigHook - phpPackage.composerHooks.composerInstallHook - phpPackage.packages.composer-local-repo-plugin + php83.composerHooks.composerInstallHook + php83.packages.composer-local-repo-plugin ]; composerNoDev = true; @@ -43,15 +37,15 @@ stdenvNoCC.mkDerivation (finalAttrs: { composerStrictValidation = true; strictDeps = true; - vendorHash = "sha256-d5WwrVOVG9ZRZEsG2iKcbp2fk27laHvcJPJUwY3YgDg="; + vendorHash = "sha256-6sOmW+CFuNEBVHpZwh/wjrIINPdcPJUvosmdLaCvZlw="; npmDeps = fetchNpmDeps { - inherit src; - name = "${pname}-npm-deps"; - hash = npmDepsHash; + inherit (finalAttrs) src; + name = "${finalAttrs.pname}-npm-deps"; + hash = "sha256-W3lV0LbmOPfIwStNf4IwBVorSFHIlpyuIk+17/V/Y2Y="; }; - composerRepository = phpPackage.mkComposerRepository { + composerRepository = php83.mkComposerRepository { inherit (finalAttrs) pname src @@ -70,7 +64,7 @@ stdenvNoCC.mkDerivation (finalAttrs: { ''; passthru = { - inherit phpPackage; + phpPackage = php83; tests = nixosTests.firefly-iii; updateScript = nix-update-script { }; }; @@ -83,7 +77,7 @@ stdenvNoCC.mkDerivation (finalAttrs: { ''; meta = { - changelog = "https://github.com/firefly-iii/firefly-iii/releases/tag/v${version}"; + changelog = "https://github.com/firefly-iii/firefly-iii/releases/tag/v${finalAttrs.version}"; description = "Firefly III: a personal finances manager"; homepage = "https://github.com/firefly-iii/firefly-iii"; license = lib.licenses.agpl3Only; From 0c7f7224aa3e28e5a32db1bc2aecac8877ea86ca Mon Sep 17 00:00:00 2001 From: Savyasachee Jha Date: Thu, 14 Nov 2024 12:47:31 +0530 Subject: [PATCH 15/59] nixos/firefly-iii: Changes to clear cache more consistently upon updates and other minor updates to align with new RFC formatter. --- .../modules/services/web-apps/firefly-iii.nix | 281 ++++++++++-------- 1 file changed, 159 insertions(+), 122 deletions(-) diff --git a/nixos/modules/services/web-apps/firefly-iii.nix b/nixos/modules/services/web-apps/firefly-iii.nix index 338f04909320..bc1fcdfc9c0f 100644 --- a/nixos/modules/services/web-apps/firefly-iii.nix +++ b/nixos/modules/services/web-apps/firefly-iii.nix @@ -1,12 +1,11 @@ -{ pkgs, config, lib, ... }: +{ + pkgs, + config, + lib, + ... +}: let - inherit (lib) optionalString mkDefault mkIf mkOption mkEnableOption literalExpression; - inherit (lib.types) nullOr attrsOf oneOf str int bool path package enum submodule; - inherit (lib.strings) concatLines removePrefix toShellVars removeSuffix hasSuffix; - inherit (lib.attrsets) mapAttrsToList attrValues genAttrs filterAttrs mapAttrs' nameValuePair; - inherit (builtins) isInt isString toString typeOf; - cfg = config.services.firefly-iii; user = cfg.user; @@ -17,23 +16,22 @@ let artisan = "${cfg.package}/artisan"; - env-file-values = mapAttrs' (n: v: nameValuePair (removeSuffix "_FILE" n) v) - (filterAttrs (n: v: hasSuffix "_FILE" n) cfg.settings); - env-nonfile-values = filterAttrs (n: v: ! hasSuffix "_FILE" n) cfg.settings; - - fileenv-func = '' - set -a - ${toShellVars env-nonfile-values} - ${concatLines (mapAttrsToList (n: v: "${n}=\"$(< ${v})\"") env-file-values)} - set +a - ''; + env-file-values = lib.attrsets.mapAttrs' ( + n: v: lib.attrsets.nameValuePair (lib.strings.removeSuffix "_FILE" n) v + ) (lib.attrsets.filterAttrs (n: v: lib.strings.hasSuffix "_FILE" n) cfg.settings); + env-nonfile-values = lib.attrsets.filterAttrs (n: v: !lib.strings.hasSuffix "_FILE" n) cfg.settings; firefly-iii-maintenance = pkgs.writeShellScript "firefly-iii-maintenance.sh" '' - ${fileenv-func} - - ${optionalString (cfg.settings.DB_CONNECTION == "sqlite") - "touch ${cfg.dataDir}/storage/database/database.sqlite"} - ${artisan} cache:clear + set -a + ${lib.strings.toShellVars env-nonfile-values} + ${lib.strings.concatLines ( + lib.attrsets.mapAttrsToList (n: v: "${n}=\"$(< ${v})\"") env-file-values + )} + set +a + ${lib.optionalString ( + cfg.settings.DB_CONNECTION == "sqlite" + ) "touch ${cfg.dataDir}/storage/database/database.sqlite"} + rm ${cfg.dataDir}/cache/*.php ${artisan} package:discover ${artisan} firefly-iii:upgrade-database ${artisan} firefly-iii:laravel-passport-keys @@ -47,7 +45,7 @@ let User = user; Group = group; StateDirectory = "firefly-iii"; - ReadWritePaths = [cfg.dataDir]; + ReadWritePaths = [ cfg.dataDir ]; WorkingDirectory = cfg.package; PrivateTmp = true; PrivateDevices = true; @@ -79,20 +77,21 @@ let PrivateUsers = true; }; -in { +in +{ options.services.firefly-iii = { - enable = mkEnableOption "Firefly III: A free and open source personal finance manager"; + enable = lib.mkEnableOption "Firefly III: A free and open source personal finance manager"; - user = mkOption { - type = str; + user = lib.mkOption { + type = lib.types.str; default = defaultUser; description = "User account under which firefly-iii runs."; }; - group = mkOption { - type = str; + group = lib.mkOption { + type = lib.types.str; default = if cfg.enableNginx then "nginx" else defaultGroup; defaultText = "If `services.firefly-iii.enableNginx` is true then `nginx` else ${defaultGroup}"; description = '' @@ -101,31 +100,26 @@ in { ''; }; - dataDir = mkOption { - type = path; + dataDir = lib.mkOption { + type = lib.types.path; default = "/var/lib/firefly-iii"; description = '' The place where firefly-iii stores its state. ''; }; - package = mkOption { - type = package; - default = pkgs.firefly-iii; - defaultText = literalExpression "pkgs.firefly-iii"; - description = '' - The firefly-iii package served by php-fpm and the webserver of choice. - This option can be used to point the webserver to the correct root. It - may also be used to set the package to a different version, say a - development version. - ''; - apply = firefly-iii : firefly-iii.override (prev: { - dataDir = cfg.dataDir; - }); - }; + package = + lib.mkPackageOption pkgs "firefly-iii" { } + // lib.mkOption { + apply = + firefly-iii: + firefly-iii.override (prev: { + dataDir = cfg.dataDir; + }); + }; - enableNginx = mkOption { - type = bool; + enableNginx = lib.mkOption { + type = lib.types.bool; default = false; description = '' Whether to enable nginx or not. If enabled, an nginx virtual host will @@ -135,8 +129,8 @@ in { ''; }; - virtualHost = mkOption { - type = str; + virtualHost = lib.mkOption { + type = lib.types.str; default = "localhost"; description = '' The hostname at which you wish firefly-iii to be served. If you have @@ -145,24 +139,33 @@ in { ''; }; - poolConfig = mkOption { - type = attrsOf (oneOf [ str int bool ]); - default = { - "pm" = "dynamic"; - "pm.max_children" = 32; - "pm.start_servers" = 2; - "pm.min_spare_servers" = 2; - "pm.max_spare_servers" = 4; - "pm.max_requests" = 500; - }; + poolConfig = lib.mkOption { + type = lib.types.attrsOf ( + lib.types.oneOf [ + lib.types.str + lib.types.int + lib.types.bool + ] + ); + default = { }; + defaultText = '' + { + "pm" = "dynamic"; + "pm.max_children" = 32; + "pm.start_servers" = 2; + "pm.min_spare_servers" = 2; + "pm.max_spare_servers" = 4; + "pm.max_requests" = 500; + } + ''; description = '' Options for the Firefly III PHP pool. See the documentation on php-fpm.conf for details on configuration directives. ''; }; - settings = mkOption { - default = {}; + settings = lib.mkOption { + default = { }; description = '' Options for firefly-iii configuration. Refer to for @@ -172,7 +175,7 @@ in { APP_URL will be the same as `services.firefly-iii.virtualHost` if the former is unset in `services.firefly-iii.settings`. ''; - example = literalExpression '' + example = lib.literalExpression '' { APP_ENV = "production"; APP_KEY_FILE = "/var/secrets/firefly-iii-app-key.txt"; @@ -185,11 +188,21 @@ in { DB_PASSWORD_FILE = "/var/secrets/firefly-iii-mysql-password.txt; } ''; - type = submodule { - freeformType = attrsOf (oneOf [str int bool]); + type = lib.types.submodule { + freeformType = lib.types.attrsOf ( + lib.types.oneOf [ + lib.types.str + lib.types.int + lib.types.bool + ] + ); options = { - DB_CONNECTION = mkOption { - type = enum [ "sqlite" "pgsql" "mysql" ]; + DB_CONNECTION = lib.mkOption { + type = lib.types.enum [ + "sqlite" + "pgsql" + "mysql" + ]; default = "sqlite"; example = "pgsql"; description = '' @@ -197,8 +210,12 @@ in { "mysql" or "pgsql". ''; }; - APP_ENV = mkOption { - type = enum [ "local" "production" "testing" ]; + APP_ENV = lib.mkOption { + type = lib.types.enum [ + "local" + "production" + "testing" + ]; default = "local"; example = "production"; description = '' @@ -206,11 +223,15 @@ in { Possible values are "local", "production" and "testing" ''; }; - DB_PORT = mkOption { - type = nullOr int; - default = if cfg.settings.DB_CONNECTION == "pgsql" then 5432 - else if cfg.settings.DB_CONNECTION == "mysql" then 3306 - else null; + DB_PORT = lib.mkOption { + type = lib.types.nullOr lib.types.int; + default = + if cfg.settings.DB_CONNECTION == "pgsql" then + 5432 + else if cfg.settings.DB_CONNECTION == "mysql" then + 3306 + else + null; defaultText = '' `null` if DB_CONNECTION is "sqlite", `3306` if "mysql", `5432` if "pgsql" ''; @@ -219,10 +240,9 @@ in { this value to be filled. ''; }; - DB_HOST = mkOption { - type = str; - default = if cfg.settings.DB_CONNECTION == "pgsql" then "/run/postgresql" - else "localhost"; + DB_HOST = lib.mkOption { + type = lib.types.str; + default = if cfg.settings.DB_CONNECTION == "pgsql" then "/run/postgresql" else "localhost"; defaultText = '' "localhost" if DB_CONNECTION is "sqlite" or "mysql", "/run/postgresql" if "pgsql". ''; @@ -234,18 +254,21 @@ in { This option does not affect "sqlite". ''; }; - APP_KEY_FILE = mkOption { - type = path; + APP_KEY_FILE = lib.mkOption { + type = lib.types.path; description = '' The path to your appkey. The file should contain a 32 character random app key. This may be set using `echo "base64:$(head -c 32 /dev/urandom | base64)" > /path/to/key-file`. ''; }; - APP_URL = mkOption { - type = str; - default = if cfg.virtualHost == "localhost" then "http://${cfg.virtualHost}" - else "https://${cfg.virtualHost}"; + APP_URL = lib.mkOption { + type = lib.types.str; + default = + if cfg.virtualHost == "localhost" then + "http://${cfg.virtualHost}" + else + "https://${cfg.virtualHost}"; defaultText = '' http(s)://''${config.services.firefly-iii.virtualHost} ''; @@ -261,7 +284,7 @@ in { }; }; - config = mkIf cfg.enable { + config = lib.mkIf cfg.enable { services.phpfpm.pools.firefly-iii = { inherit user group; @@ -270,15 +293,23 @@ in { log_errors = on ''; settings = { - "listen.mode" = "0660"; - "listen.owner" = user; - "listen.group" = group; - "clear_env" = "no"; + "listen.mode" = lib.mkDefault "0660"; + "listen.owner" = lib.mkDefault user; + "listen.group" = lib.mkDefault group; + "pm" = lib.mkDefault "dynamic"; + "pm.max_children" = lib.mkDefault 32; + "pm.start_servers" = lib.mkDefault 2; + "pm.min_spare_servers" = lib.mkDefault 2; + "pm.max_spare_servers" = lib.mkDefault 4; + "pm.max_requests" = lib.mkDefault 500; } // cfg.poolConfig; }; systemd.services.firefly-iii-setup = { - after = [ "postgresql.service" "mysql.service" ]; + after = [ + "postgresql.service" + "mysql.service" + ]; requiredBy = [ "phpfpm-firefly-iii.service" ]; before = [ "phpfpm-firefly-iii.service" ]; serviceConfig = { @@ -290,7 +321,11 @@ in { }; systemd.services.firefly-iii-cron = { - after = [ "firefly-iii-setup.service" "postgresql.service" "mysql.service" ]; + after = [ + "firefly-iii-setup.service" + "postgresql.service" + "mysql.service" + ]; wants = [ "firefly-iii-setup.service" ]; description = "Daily Firefly III cron job"; serviceConfig = { @@ -309,11 +344,11 @@ in { restartTriggers = [ cfg.package ]; }; - services.nginx = mkIf cfg.enableNginx { + services.nginx = lib.mkIf cfg.enableNginx { enable = true; - recommendedTlsSettings = mkDefault true; - recommendedOptimisation = mkDefault true; - recommendedGzipSettings = mkDefault true; + recommendedTlsSettings = lib.mkDefault true; + recommendedOptimisation = lib.mkDefault true; + recommendedGzipSettings = lib.mkDefault true; virtualHosts.${cfg.virtualHost} = { root = "${cfg.package}/public"; locations = { @@ -336,34 +371,38 @@ in { }; }; - systemd.tmpfiles.settings."10-firefly-iii" = genAttrs [ - "${cfg.dataDir}/storage" - "${cfg.dataDir}/storage/app" - "${cfg.dataDir}/storage/database" - "${cfg.dataDir}/storage/export" - "${cfg.dataDir}/storage/framework" - "${cfg.dataDir}/storage/framework/cache" - "${cfg.dataDir}/storage/framework/sessions" - "${cfg.dataDir}/storage/framework/views" - "${cfg.dataDir}/storage/logs" - "${cfg.dataDir}/storage/upload" - "${cfg.dataDir}/cache" - ] (n: { - d = { - group = group; - mode = "0700"; - user = user; + systemd.tmpfiles.settings."10-firefly-iii" = + lib.attrsets.genAttrs + [ + "${cfg.dataDir}/storage" + "${cfg.dataDir}/storage/app" + "${cfg.dataDir}/storage/database" + "${cfg.dataDir}/storage/export" + "${cfg.dataDir}/storage/framework" + "${cfg.dataDir}/storage/framework/cache" + "${cfg.dataDir}/storage/framework/sessions" + "${cfg.dataDir}/storage/framework/views" + "${cfg.dataDir}/storage/logs" + "${cfg.dataDir}/storage/upload" + "${cfg.dataDir}/cache" + ] + (n: { + d = { + group = group; + mode = "0700"; + user = user; + }; + }) + // { + "${cfg.dataDir}".d = { + group = group; + mode = "0710"; + user = user; + }; }; - }) // { - "${cfg.dataDir}".d = { - group = group; - mode = "0710"; - user = user; - }; - }; users = { - users = mkIf (user == defaultUser) { + users = lib.mkIf (user == defaultUser) { ${defaultUser} = { description = "Firefly-iii service user"; inherit group; @@ -371,9 +410,7 @@ in { home = cfg.dataDir; }; }; - groups = mkIf (group == defaultGroup) { - ${defaultGroup} = {}; - }; + groups = lib.mkIf (group == defaultGroup) { ${defaultGroup} = { }; }; }; }; } From fcc06517a0702cd0e1404e5f88e85f0ab85ccf15 Mon Sep 17 00:00:00 2001 From: Savyasachee Jha Date: Thu, 14 Nov 2024 12:49:12 +0530 Subject: [PATCH 16/59] firefly-iii-data-importer: 1.5.6 -> 1.5.7 --- .../fi/firefly-iii-data-importer/package.nix | 22 ++++++++----------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/pkgs/by-name/fi/firefly-iii-data-importer/package.nix b/pkgs/by-name/fi/firefly-iii-data-importer/package.nix index 106069c1e7ff..8917db34db95 100644 --- a/pkgs/by-name/fi/firefly-iii-data-importer/package.nix +++ b/pkgs/by-name/fi/firefly-iii-data-importer/package.nix @@ -11,20 +11,16 @@ dataDir ? "/var/lib/firefly-iii-data-importer", }: -let +stdenvNoCC.mkDerivation (finalAttrs: { pname = "firefly-iii-data-importer"; - version = "1.5.6"; + version = "1.5.7"; src = fetchFromGitHub { owner = "firefly-iii"; repo = "data-importer"; - rev = "v${version}"; - hash = "sha256-IIlcOGulcBJsYz7Yx3YWV/c6yvb8+82AvFghQ05dUcI="; + rev = "v${finalAttrs.version}"; + hash = "sha256-CKDAPpDTTrBXPhfSQiBl/M42hOQi2KwpWDtEnlDwpuU="; }; -in - -stdenvNoCC.mkDerivation (finalAttrs: { - inherit pname src version; buildInputs = [ php83 ]; @@ -42,12 +38,12 @@ stdenvNoCC.mkDerivation (finalAttrs: { composerStrictValidation = true; strictDeps = true; - vendorHash = "sha256-j1rCcHt5E1aFwgnOKZZccaGPs5JfpBtN05edeSvId94="; + vendorHash = "sha256-larFTf64oPJi+XLMK6ZuLEN4P/CkGLojUJDE/gvu8UU="; npmDeps = fetchNpmDeps { - inherit src; - name = "${pname}-npm-deps"; - hash = "sha256-mdBQubfV5Bgk9NxsWokTS6zA4r3gggWVSwhrfKPUi5s="; + inherit (finalAttrs) src; + name = "${finalAttrs.pname}-npm-deps"; + hash = "sha256-0xY9F/Bok2RQ1YWRr5fnENk3zB1WubnpT0Ldy+i618g="; }; composerRepository = php83.mkComposerRepository { @@ -82,7 +78,7 @@ stdenvNoCC.mkDerivation (finalAttrs: { ''; meta = { - changelog = "https://github.com/firefly-iii/data-importer/releases/tag/v${version}"; + changelog = "https://github.com/firefly-iii/data-importer/releases/tag/v${finalAttrs.version}"; description = "Firefly III Data Importer can import data into Firefly III."; homepage = "https://github.com/firefly-iii/data-importer"; license = lib.licenses.agpl3Only; From 167c90ca01bafc3df57011ef099d3779f2ab6478 Mon Sep 17 00:00:00 2001 From: Savyasachee Jha Date: Thu, 14 Nov 2024 12:49:42 +0530 Subject: [PATCH 17/59] nixos/firefly-iii-data-importer: Changes to clear cache more consistently upon updates --- nixos/modules/services/web-apps/firefly-iii-data-importer.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/web-apps/firefly-iii-data-importer.nix b/nixos/modules/services/web-apps/firefly-iii-data-importer.nix index 5d1712a506d8..cbf089ce2fb7 100644 --- a/nixos/modules/services/web-apps/firefly-iii-data-importer.nix +++ b/nixos/modules/services/web-apps/firefly-iii-data-importer.nix @@ -29,7 +29,7 @@ let )} set +a ${artisan} package:discover - ${artisan} cache:clear + rm ${cfg.dataDir}/cache/*.php ${artisan} config:cache ''; From e9e23cd28c80c3d7eb8b0ad2b9a59af28248e1cc Mon Sep 17 00:00:00 2001 From: MakiseKurisu Date: Tue, 26 Nov 2024 00:04:31 +0800 Subject: [PATCH 18/59] nixos/aria2: allow fine tuning download file permissions --- nixos/modules/services/networking/aria2.nix | 31 ++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/aria2.nix b/nixos/modules/services/networking/aria2.nix index f0d5c5c8a21e..e0a41491e61c 100644 --- a/nixos/modules/services/networking/aria2.nix +++ b/nixos/modules/services/networking/aria2.nix @@ -64,6 +64,34 @@ in Read https://aria2.github.io/manual/en/html/aria2c.html#rpc-auth to know how this option value is used. ''; }; + downloadDirPermission = lib.mkOption { + type = lib.types.str; + default = "0770"; + description = '' + The permission for `settings.dir`. + + The default is 0770, which denies access for users not in the `aria2` + group. + + You may want to adjust `serviceUMask` as well, which further restricts + the file permission for newly created files (i.e. the downloads). + ''; + }; + serviceUMask = lib.mkOption { + type = lib.types.str; + default = "0022"; + example = "0002"; + description = '' + The file mode creation mask for Aria2 service. + + The default is 0022 for compatibility reason, as this is the default + used by systemd. However, this results in file permission 0644 for new + files, and denies `aria2` group member from modifying the file. + + You may want to set this value to `0002` so you can manage the file + more easily. + ''; + }; settings = lib.mkOption { description = '' Generates the `aria2.conf` file. Refer to [the documentation][0] for @@ -141,7 +169,7 @@ in systemd.tmpfiles.rules = [ "d '${homeDir}' 0770 aria2 aria2 - -" - "d '${config.services.aria2.settings.dir}' 0770 aria2 aria2 - -" + "d '${config.services.aria2.settings.dir}' ${config.services.aria2.downloadDirPermission} aria2 aria2 - -" ]; systemd.services.aria2 = { @@ -165,6 +193,7 @@ in User = "aria2"; Group = "aria2"; LoadCredential = "rpcSecretFile:${cfg.rpcSecretFile}"; + UMask = cfg.serviceUMask; }; }; }; From 393d40b4d2a150177bcc8987b2d3c5bedc292473 Mon Sep 17 00:00:00 2001 From: Alex James Date: Thu, 28 Nov 2024 16:44:23 -0600 Subject: [PATCH 19/59] binwalk: fix `checkPhase` on Darwin --- pkgs/by-name/bi/binwalk/package.nix | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/pkgs/by-name/bi/binwalk/package.nix b/pkgs/by-name/bi/binwalk/package.nix index bc94436bd1bd..dbbed1d7d712 100644 --- a/pkgs/by-name/bi/binwalk/package.nix +++ b/pkgs/by-name/bi/binwalk/package.nix @@ -5,6 +5,7 @@ pkg-config, fontconfig, bzip2, + stdenv, }: rustPlatform.buildRustPackage rec { @@ -30,12 +31,27 @@ rustPlatform.buildRustPackage rec { ]; # skip broken tests - checkFlags = [ - "--skip=binwalk::Binwalk" - "--skip=binwalk::Binwalk::analyze" - "--skip=binwalk::Binwalk::extract" - "--skip=binwalk::Binwalk::scan" - ]; + checkFlags = + [ + "--skip=binwalk::Binwalk" + "--skip=binwalk::Binwalk::scan" + ] + ++ lib.optionals stdenv.hostPlatform.isLinux [ + "--skip=binwalk::Binwalk::analyze" + "--skip=binwalk::Binwalk::extract" + ] + ++ lib.optionals stdenv.hostPlatform.isDarwin [ + "--skip=extractors::common::Chroot::append_to_file" + "--skip=extractors::common::Chroot::carve_file" + "--skip=extractors::common::Chroot::create_block_device" + "--skip=extractors::common::Chroot::create_character_device" + "--skip=extractors::common::Chroot::create_directory" + "--skip=extractors::common::Chroot::create_fifo" + "--skip=extractors::common::Chroot::create_file" + "--skip=extractors::common::Chroot::create_socket" + "--skip=extractors::common::Chroot::create_symlink" + "--skip=extractors::common::Chroot::make_executable" + ]; meta = { description = "Firmware Analysis Tool"; From a59fd8c0893d281b1579fde1dadf01774165cc08 Mon Sep 17 00:00:00 2001 From: FliegendeWurst <2012gdwu+github@posteo.de> Date: Mon, 25 Nov 2024 20:32:12 +0100 Subject: [PATCH 20/59] quilt: enable strictDeps --- pkgs/by-name/qu/quilt/package.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/by-name/qu/quilt/package.nix b/pkgs/by-name/qu/quilt/package.nix index 4b7cfb59cf7d..477b4d14bb45 100644 --- a/pkgs/by-name/qu/quilt/package.nix +++ b/pkgs/by-name/qu/quilt/package.nix @@ -42,6 +42,14 @@ stdenv.mkDerivation rec { unixtools.getopt ]; + strictDeps = true; + + configureFlags = [ + # configure only looks in $PATH by default, + # which does not include buildInputs if strictDeps is true + "--with-perl=${lib.getExe perl}" + ]; + postInstall = '' wrapProgram $out/bin/quilt --prefix PATH : ${lib.makeBinPath buildInputs} ''; From 463095e1f61daa8a000b33fb3bbcc38207274afd Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Thu, 28 Nov 2024 22:08:15 +0100 Subject: [PATCH 21/59] bitscope.*: fix fhsenv version --- pkgs/applications/science/electronics/bitscope/common.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/science/electronics/bitscope/common.nix b/pkgs/applications/science/electronics/bitscope/common.nix index 6a024748daf2..7ea5e4b57a0d 100644 --- a/pkgs/applications/science/electronics/bitscope/common.nix +++ b/pkgs/applications/science/electronics/bitscope/common.nix @@ -57,6 +57,7 @@ let ''; }); in buildFHSEnv { - name = "${attrs.toolName}-${attrs.version}"; + pname = attrs.toolName; + inherit (attrs) version; runScript = "${pkg.outPath}/bin/${attrs.toolName}"; } // { inherit (pkg) meta name; } From 39ae3fa19892c9a2d39cf89daae8078e0ff091b2 Mon Sep 17 00:00:00 2001 From: polygon Date: Fri, 29 Nov 2024 20:16:07 +0100 Subject: [PATCH 22/59] bitwig-studio: 5.2.5 -> 5.2.7 --- pkgs/applications/audio/bitwig-studio/bitwig-studio5.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/audio/bitwig-studio/bitwig-studio5.nix b/pkgs/applications/audio/bitwig-studio/bitwig-studio5.nix index 5e189db20f0c..6853b44e8e51 100644 --- a/pkgs/applications/audio/bitwig-studio/bitwig-studio5.nix +++ b/pkgs/applications/audio/bitwig-studio/bitwig-studio5.nix @@ -29,12 +29,12 @@ stdenv.mkDerivation rec { pname = "bitwig-studio"; - version = "5.2.5"; + version = "5.2.7"; src = fetchurl { name = "bitwig-studio-${version}.deb"; url = "https://www.bitwig.com/dl/Bitwig%20Studio/${version}/installer_linux/"; - hash = "sha256-x6Uw6o+a3nArMm1Ev5ytGtLDGQ3r872WqlC022zT8Hk="; + hash = "sha256-Tyi7qYhTQ5i6fRHhrmz4yHXSdicd4P4iuF9FRKRhkMI="; }; nativeBuildInputs = [ dpkg makeWrapper wrapGAppsHook3 ]; From 7de65171332bc1f3b375e3e0aa88b58ebbfbb454 Mon Sep 17 00:00:00 2001 From: Sefa Eyeoglu Date: Fri, 29 Nov 2024 21:11:06 +0100 Subject: [PATCH 23/59] orca-slicer: remove FLATPAK option Currently, this breaks building, as this option requires wxGTK3 with webkit2gtk-4.1 support. As there is no release yet with support for that and backporting https://github.com/wxWidgets/wxWidgets/pull/23633 is difficult, let's revert to the previous (vendored) build behavior. Previously introduced in 0a92232f3f151072f99beb0c59946af09b120faf Signed-off-by: Sefa Eyeoglu --- pkgs/by-name/or/orca-slicer/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/or/orca-slicer/package.nix b/pkgs/by-name/or/orca-slicer/package.nix index 6bf780911104..d6d8c4a93847 100644 --- a/pkgs/by-name/or/orca-slicer/package.nix +++ b/pkgs/by-name/or/orca-slicer/package.nix @@ -28,6 +28,8 @@ bambu-studio.overrideAttrs ( ) ''; + cmakeFlags = lib.remove "-DFLATPAK=1" previousAttrs.cmakeFlags or [ ]; + # needed to prevent collisions between the LICENSE.txt files of # bambu-studio and orca-slicer. postInstall = '' From 9d0f1281e43442a40307a25a3b947bc5abfa997b Mon Sep 17 00:00:00 2001 From: polygon Date: Fri, 29 Nov 2024 20:16:46 +0100 Subject: [PATCH 24/59] bitwig-studio: Add wrapper to fix onset and beat detection --- .../audio/bitwig-studio/bitwig-studio5.nix | 2 +- .../audio/bitwig-studio/bitwig-wrapper.nix | 44 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 6 ++- 3 files changed, 50 insertions(+), 2 deletions(-) create mode 100644 pkgs/applications/audio/bitwig-studio/bitwig-wrapper.nix diff --git a/pkgs/applications/audio/bitwig-studio/bitwig-studio5.nix b/pkgs/applications/audio/bitwig-studio/bitwig-studio5.nix index 6853b44e8e51..3e31c770d183 100644 --- a/pkgs/applications/audio/bitwig-studio/bitwig-studio5.nix +++ b/pkgs/applications/audio/bitwig-studio/bitwig-studio5.nix @@ -28,7 +28,7 @@ }: stdenv.mkDerivation rec { - pname = "bitwig-studio"; + pname = "bitwig-studio-unwrapped"; version = "5.2.7"; src = fetchurl { diff --git a/pkgs/applications/audio/bitwig-studio/bitwig-wrapper.nix b/pkgs/applications/audio/bitwig-studio/bitwig-wrapper.nix new file mode 100644 index 000000000000..b07cf40a2908 --- /dev/null +++ b/pkgs/applications/audio/bitwig-studio/bitwig-wrapper.nix @@ -0,0 +1,44 @@ +{ + stdenv, + bubblewrap, + mktemp, + writeShellScript, + bitwig-studio-unwrapped, +}: +stdenv.mkDerivation { + inherit (bitwig-studio-unwrapped) version; + + pname = "bitwig-studio"; + + dontUnpack = true; + dontConfigure = true; + dontBuild = true; + dontPatchELF = true; + dontStrip = true; + + installPhase = + let + wrapper = writeShellScript "bitwig-studio" '' + set -e + + echo "Creating temporary directory" + TMPDIR=$(${mktemp}/bin/mktemp --directory) + echo "Temporary directory: $TMPDIR" + echo "Copying default Vamp Plugin settings" + cp -r ${bitwig-studio-unwrapped}/libexec/resources/VampTransforms $TMPDIR + echo "Changing permissions to be writable" + chmod -R u+w $TMPDIR/VampTransforms + + echo "Starting Bitwig Studio in Bubblewrap Environment" + ${bubblewrap}/bin/bwrap --bind / / --bind $TMPDIR/VampTransforms ${bitwig-studio-unwrapped}/libexec/resources/VampTransforms ${bitwig-studio-unwrapped}/bin/bitwig-studio || true + + echo "Bitwig exited, removing temporary directory" + rm -rf $TMPDIR + ''; + in + '' + mkdir -p $out/bin + cp ${wrapper} $out/bin/bitwig-studio + cp -r ${bitwig-studio-unwrapped}/share $out + ''; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e90d1208feff..db0b23044589 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -13405,10 +13405,14 @@ with pkgs; bitwig-studio4 = callPackage ../applications/audio/bitwig-studio/bitwig-studio4.nix { libjpeg = libjpeg8; }; - bitwig-studio5 = callPackage ../applications/audio/bitwig-studio/bitwig-studio5.nix { + bitwig-studio5-unwrapped = callPackage ../applications/audio/bitwig-studio/bitwig-studio5.nix { libjpeg = libjpeg8; }; + bitwig-studio5 = callPackage ../applications/audio/bitwig-studio/bitwig-wrapper.nix { + bitwig-studio-unwrapped = bitwig-studio5-unwrapped; + }; + bitwig-studio = bitwig-studio5; blackbox = callPackage ../applications/version-management/blackbox { From a4ca6063fc26a6a08b0cca51f2f79aec4b60a242 Mon Sep 17 00:00:00 2001 From: Ashish SHUKLA Date: Sat, 30 Nov 2024 10:36:33 +0000 Subject: [PATCH 25/59] weechat: 4.4.3 -> 4.4.4 Changes: https://github.com/weechat/weechat/releases/tag/v4.4.4 --- pkgs/applications/networking/irc/weechat/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/irc/weechat/default.nix b/pkgs/applications/networking/irc/weechat/default.nix index 513c257c9b9f..800d5e41bb3f 100644 --- a/pkgs/applications/networking/irc/weechat/default.nix +++ b/pkgs/applications/networking/irc/weechat/default.nix @@ -36,14 +36,14 @@ let in assert lib.all (p: p.enabled -> ! (builtins.elem null p.buildInputs)) plugins; stdenv.mkDerivation rec { - version = "4.4.3"; + version = "4.4.4"; pname = "weechat"; hardeningEnable = [ "pie" ]; src = fetchurl { url = "https://weechat.org/files/src/weechat-${version}.tar.xz"; - hash = "sha256-KVYS+NwkryjJGCV9MBTrUzQqXQd9Xj2aPq3zA72P6/o="; + hash = "sha256-qPS7dow9asPqHrTm3Hp7su4ZtzSnLMWOBjR22ujz0Hc="; }; # Why is this needed? https://github.com/weechat/weechat/issues/2031 From 5bd4f7e74925527f8ddb5cc40e5fb44620d84090 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Wed, 27 Nov 2024 16:47:44 +0100 Subject: [PATCH 26/59] python312Packages.tensorflow: rename generated wheel from tensorflow_cpu to tensorflow --- .../python-modules/tensorflow/bin.nix | 148 ++++++++++-------- 1 file changed, 86 insertions(+), 62 deletions(-) diff --git a/pkgs/development/python-modules/tensorflow/bin.nix b/pkgs/development/python-modules/tensorflow/bin.nix index 7a5127582a64..cb709c98b720 100644 --- a/pkgs/development/python-modules/tensorflow/bin.nix +++ b/pkgs/development/python-modules/tensorflow/bin.nix @@ -54,7 +54,7 @@ let isCudaJetson = cudaSupport && cudaPackages.cudaFlags.isJetsonBuild; isCudaX64 = cudaSupport && stdenv.hostPlatform.isx86_64; in -buildPythonPackage { +buildPythonPackage rec { pname = "tensorflow" + lib.optionalString cudaSupport "-gpu"; version = packages."${"version" + lib.optionalString isCudaJetson "_jetson"}"; format = "wheel"; @@ -141,73 +141,97 @@ buildPythonPackage { popd ''; - # Note that we need to run *after* the fixup phase because the - # libraries are loaded at runtime. If we run in preFixup then - # patchelf --shrink-rpath will remove the cuda libraries. postFixup = - let - # rpaths we only need to add if CUDA is enabled. - cudapaths = lib.optionals cudaSupport [ - cudatoolkit.out - cudatoolkit.lib - cudnn - ]; + # When using the cpu-only wheel, the final package will be named `tensorflow_cpu`. + # Then, in each package requiring `tensorflow`, our pythonRuntimeDepsCheck will fail with: + # importlib.metadata.PackageNotFoundError: No package metadata was found for tensorflow + # Hence, we manually rename the package to `tensorflow`. + lib.optionalString ((builtins.match ".*tensorflow_cpu.*" src.url) != null) '' + ( + cd $out/${python.sitePackages} - libpaths = [ - (lib.getLib stdenv.cc.cc) - zlib - ]; + dest="tensorflow-${version}.dist-info" - rpath = lib.makeLibraryPath (libpaths ++ cudapaths); - in - lib.optionalString stdenv.hostPlatform.isLinux '' - # This is an array containing all the directories in the tensorflow2 - # package that contain .so files. - # - # TODO: Create this list programmatically, and remove paths that aren't - # actually needed. - rrPathArr=( - "$out/${python.sitePackages}/tensorflow/" - "$out/${python.sitePackages}/tensorflow/core/kernels" - "$out/${python.sitePackages}/tensorflow/compiler/mlir/stablehlo/" - "$out/${python.sitePackages}/tensorflow/compiler/tf2tensorrt/" - "$out/${python.sitePackages}/tensorflow/compiler/tf2xla/ops/" - "$out/${python.sitePackages}/tensorflow/include/external/ml_dtypes/" - "$out/${python.sitePackages}/tensorflow/lite/experimental/microfrontend/python/ops/" - "$out/${python.sitePackages}/tensorflow/lite/python/analyzer_wrapper/" - "$out/${python.sitePackages}/tensorflow/lite/python/interpreter_wrapper/" - "$out/${python.sitePackages}/tensorflow/lite/python/metrics/" - "$out/${python.sitePackages}/tensorflow/lite/python/optimize/" - "$out/${python.sitePackages}/tensorflow/python/" - "$out/${python.sitePackages}/tensorflow/python/autograph/impl/testing" - "$out/${python.sitePackages}/tensorflow/python/client" - "$out/${python.sitePackages}/tensorflow/python/data/experimental/service" - "$out/${python.sitePackages}/tensorflow/python/framework" - "$out/${python.sitePackages}/tensorflow/python/grappler" - "$out/${python.sitePackages}/tensorflow/python/lib/core" - "$out/${python.sitePackages}/tensorflow/python/lib/io" - "$out/${python.sitePackages}/tensorflow/python/platform" - "$out/${python.sitePackages}/tensorflow/python/profiler/internal" - "$out/${python.sitePackages}/tensorflow/python/saved_model" - "$out/${python.sitePackages}/tensorflow/python/util" - "$out/${python.sitePackages}/tensorflow/tsl/python/lib/core" - "$out/${python.sitePackages}/tensorflow.libs/" - "${rpath}" + mv tensorflow_cpu-${version}.dist-info "$dest" + + ( + cd "$dest" + + substituteInPlace METADATA \ + --replace-fail "tensorflow_cpu" "tensorflow" + substituteInPlace RECORD \ + --replace-fail "tensorflow_cpu" "tensorflow" + ) ) + '' + # Note that we need to run *after* the fixup phase because the + # libraries are loaded at runtime. If we run in preFixup then + # patchelf --shrink-rpath will remove the cuda libraries. + + ( + let + # rpaths we only need to add if CUDA is enabled. + cudapaths = lib.optionals cudaSupport [ + cudatoolkit.out + cudatoolkit.lib + cudnn + ]; - # The the bash array into a colon-separated list of RPATHs. - rrPath=$(IFS=$':'; echo "''${rrPathArr[*]}") - echo "about to run patchelf with the following rpath: $rrPath" + libpaths = [ + (lib.getLib stdenv.cc.cc) + zlib + ]; - find $out -type f \( -name '*.so' -or -name '*.so.*' \) | while read lib; do - echo "about to patchelf $lib..." - chmod a+rx "$lib" - patchelf --set-rpath "$rrPath" "$lib" - ${lib.optionalString cudaSupport '' - addDriverRunpath "$lib" - ''} - done - ''; + rpath = lib.makeLibraryPath (libpaths ++ cudapaths); + in + lib.optionalString stdenv.hostPlatform.isLinux '' + # This is an array containing all the directories in the tensorflow2 + # package that contain .so files. + # + # TODO: Create this list programmatically, and remove paths that aren't + # actually needed. + rrPathArr=( + "$out/${python.sitePackages}/tensorflow/" + "$out/${python.sitePackages}/tensorflow/core/kernels" + "$out/${python.sitePackages}/tensorflow/compiler/mlir/stablehlo/" + "$out/${python.sitePackages}/tensorflow/compiler/tf2tensorrt/" + "$out/${python.sitePackages}/tensorflow/compiler/tf2xla/ops/" + "$out/${python.sitePackages}/tensorflow/include/external/ml_dtypes/" + "$out/${python.sitePackages}/tensorflow/lite/experimental/microfrontend/python/ops/" + "$out/${python.sitePackages}/tensorflow/lite/python/analyzer_wrapper/" + "$out/${python.sitePackages}/tensorflow/lite/python/interpreter_wrapper/" + "$out/${python.sitePackages}/tensorflow/lite/python/metrics/" + "$out/${python.sitePackages}/tensorflow/lite/python/optimize/" + "$out/${python.sitePackages}/tensorflow/python/" + "$out/${python.sitePackages}/tensorflow/python/autograph/impl/testing" + "$out/${python.sitePackages}/tensorflow/python/client" + "$out/${python.sitePackages}/tensorflow/python/data/experimental/service" + "$out/${python.sitePackages}/tensorflow/python/framework" + "$out/${python.sitePackages}/tensorflow/python/grappler" + "$out/${python.sitePackages}/tensorflow/python/lib/core" + "$out/${python.sitePackages}/tensorflow/python/lib/io" + "$out/${python.sitePackages}/tensorflow/python/platform" + "$out/${python.sitePackages}/tensorflow/python/profiler/internal" + "$out/${python.sitePackages}/tensorflow/python/saved_model" + "$out/${python.sitePackages}/tensorflow/python/util" + "$out/${python.sitePackages}/tensorflow/tsl/python/lib/core" + "$out/${python.sitePackages}/tensorflow.libs/" + "${rpath}" + ) + + # The the bash array into a colon-separated list of RPATHs. + rrPath=$(IFS=$':'; echo "''${rrPathArr[*]}") + echo "about to run patchelf with the following rpath: $rrPath" + + find $out -type f \( -name '*.so' -or -name '*.so.*' \) | while read lib; do + echo "about to patchelf $lib..." + chmod a+rx "$lib" + patchelf --set-rpath "$rrPath" "$lib" + ${lib.optionalString cudaSupport '' + addDriverRunpath "$lib" + ''} + done + '' + ); # Upstream has a pip hack that results in bin/tensorboard being in both tensorflow # and the propagated input tensorboard, which causes environment collisions. From 747acc25bf0d25234bc4c3bdefee02ed686b3518 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 30 Nov 2024 10:14:58 +0100 Subject: [PATCH 27/59] python312Packages.azure-kusto-data: refactor --- .../azure-kusto-data/default.nix | 63 ++++++++++++------- 1 file changed, 40 insertions(+), 23 deletions(-) diff --git a/pkgs/development/python-modules/azure-kusto-data/default.nix b/pkgs/development/python-modules/azure-kusto-data/default.nix index a4ead5a9be5a..869e972a0161 100644 --- a/pkgs/development/python-modules/azure-kusto-data/default.nix +++ b/pkgs/development/python-modules/azure-kusto-data/default.nix @@ -1,17 +1,20 @@ { lib, - buildPythonPackage, - fetchPypi, - setuptools, - python-dateutil, - requests, - azure-identity, - msal, - ijson, - azure-core, - asgiref, aiohttp, + asgiref, + azure-core, + azure-identity, + buildPythonPackage, + fetchFromGitHub, + ijson, + msal, pandas, + pytest-asyncio, + pytestCheckHook, + python-dateutil, + pythonOlder, + requests, + setuptools, }: buildPythonPackage rec { @@ -19,40 +22,54 @@ buildPythonPackage rec { version = "4.6.1"; pyproject = true; - src = fetchPypi { - inherit pname version; - hash = "sha256-tfOnb6rFjTzg4af26gK5gk1185mejAiaDvetE/r4L0Q="; + disabled = pythonOlder "3.10"; + + src = fetchFromGitHub { + owner = "Azure"; + repo = "azure-kusto-python"; + rev = "refs/tags/v${version}"; + hash = "sha256-rm8G3/WAUlK1/80uk3uiTqDA5hUIr+VVZEmPe0mYBjI="; }; + sourceRoot = "${src.name}/${pname}"; + build-system = [ setuptools ]; dependencies = [ + azure-core + azure-identity + ijson + msal python-dateutil requests - azure-identity - msal - ijson - azure-core ]; optional-dependencies = { - pandas = [ pandas ]; aio = [ aiohttp asgiref ]; + pandas = [ pandas ]; }; - # Tests require secret connection strings - # and a network connection. - doCheck = false; + nativeCheckInputs = [ + pytest-asyncio + pytestCheckHook + ] ++ lib.flatten (builtins.attrValues optional-dependencies); pythonImportsCheck = [ "azure.kusto.data" ]; + disabledTestPaths = [ + # Tests require network access + "tests/aio/test_async_token_providers.py" + "tests/test_token_providers.py" + "tests/test_e2e_data.py" + ]; + meta = { - changelog = "https://github.com/Azure/azure-kusto-python/releases/tag/v${version}"; description = "Kusto Data Client"; - homepage = "https://github.com/Azure/azure-kusto-python"; + homepage = "https://pypi.org/project/azure-kusto-data/"; + changelog = "https://github.com/Azure/azure-kusto-python/releases/tag/v${version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ pyrox0 ]; }; From b7396ef667e66f0612f8391e15ff7f4a3c95dd2f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 30 Nov 2024 10:24:03 +0100 Subject: [PATCH 28/59] python312Packages.azure-kusto-ingest: refactor --- .../azure-kusto-ingest/default.nix | 35 +++++++++++++------ 1 file changed, 25 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/azure-kusto-ingest/default.nix b/pkgs/development/python-modules/azure-kusto-ingest/default.nix index d5572fbbf56e..9dff851fd88e 100644 --- a/pkgs/development/python-modules/azure-kusto-ingest/default.nix +++ b/pkgs/development/python-modules/azure-kusto-ingest/default.nix @@ -1,13 +1,18 @@ { lib, - buildPythonPackage, - fetchFromGitHub, - setuptools, + aiohttp, azure-kusto-data, azure-storage-blob, azure-storage-queue, - tenacity, + buildPythonPackage, + fetchFromGitHub, pandas, + pytest-asyncio, + pytestCheckHook, + pythonOlder, + responses, + setuptools, + tenacity, }: buildPythonPackage rec { @@ -15,6 +20,8 @@ buildPythonPackage rec { version = "4.6.1"; pyproject = true; + disabled = pythonOlder "3.10"; + src = fetchFromGitHub { owner = "Azure"; repo = "azure-kusto-python"; @@ -22,7 +29,7 @@ buildPythonPackage rec { hash = "sha256-rm8G3/WAUlK1/80uk3uiTqDA5hUIr+VVZEmPe0mYBjI="; }; - sourceRoot = "${src.name}/azure-kusto-ingest"; + sourceRoot = "${src.name}/${pname}"; build-system = [ setuptools ]; @@ -37,16 +44,24 @@ buildPythonPackage rec { pandas = [ pandas ]; }; - # Tests require secret connection strings - # and a network connection. - doCheck = false; + nativeCheckInputs = [ + aiohttp + pytest-asyncio + pytestCheckHook + responses + ] ++ lib.flatten (builtins.attrValues optional-dependencies); pythonImportsCheck = [ "azure.kusto.ingest" ]; + disabledTestPaths = [ + # Tests require network access + "tests/test_e2e_ingest.py" + ]; + meta = { + description = "Module for Kusto Ingest"; + homepage = "https://github.com/Azure/azure-kusto-python/tree/master/azure-kusto-ingest"; changelog = "https://github.com/Azure/azure-kusto-python/releases/tag/v${version}"; - description = "Kusto Ingest Client"; - homepage = "https://github.com/Azure/azure-kusto-python"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ pyrox0 ]; }; From f02092f1875bed51c9562b529385ce1393665e9f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 30 Nov 2024 10:40:29 +0100 Subject: [PATCH 29/59] python312Packages.cache: init at 1.0.3 Module for caching https://github.com/jneen/python-cache --- .../python-modules/cache/default.nix | 40 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 42 insertions(+) create mode 100644 pkgs/development/python-modules/cache/default.nix diff --git a/pkgs/development/python-modules/cache/default.nix b/pkgs/development/python-modules/cache/default.nix new file mode 100644 index 000000000000..678b394b5a67 --- /dev/null +++ b/pkgs/development/python-modules/cache/default.nix @@ -0,0 +1,40 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + setuptools, + pytestCheckHook, +}: + +buildPythonPackage rec { + pname = "cache"; + version = "1.0.3"; + pyproject = true; + + src = fetchFromGitHub { + owner = "jneen"; + repo = "python-cache"; + rev = "refs/tags/v${version}"; + hash = "sha256-vfVNo2B9fnjyjgR7cGrcsi9srWcTs3s8fhmvNF8okN0="; + }; + + build-system = [ setuptools ]; + + nativeCheckInputs = [ pytestCheckHook ]; + + pythonImportsCheck = [ "cache" ]; + + disabledTests = [ + # Tests are out-dated + "test_arguments" + "test_hash_arguments" + ]; + + meta = { + description = "Module for caching"; + homepage = "https://github.com/jneen/python-cache"; + changelog = "https://github.com/jneen/python-cache/releases/tag/v${version}"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 033bb020cc06..e3a86b7e7a0e 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1974,6 +1974,8 @@ self: super: with self; { bz2file = callPackage ../development/python-modules/bz2file { }; + cache = callPackage ../development/python-modules/cache { }; + cachecontrol = callPackage ../development/python-modules/cachecontrol { }; cached-ipaddress = callPackage ../development/python-modules/cached-ipaddress { }; From 7c5423a666f990637aa42a15862458204784ff85 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 30 Nov 2024 13:04:35 +0100 Subject: [PATCH 30/59] python312Packages.msticpy: init at 2.14.0 Microsoft Threat Intelligence Security Tools https://github.com/microsoft/msticpy --- .../python-modules/msticpy/default.nix | 122 ++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 124 insertions(+) create mode 100644 pkgs/development/python-modules/msticpy/default.nix diff --git a/pkgs/development/python-modules/msticpy/default.nix b/pkgs/development/python-modules/msticpy/default.nix new file mode 100644 index 000000000000..737a54b83f26 --- /dev/null +++ b/pkgs/development/python-modules/msticpy/default.nix @@ -0,0 +1,122 @@ +{ + lib, + attrs, + azure-common, + azure-core, + azure-identity, + azure-keyvault-secrets, + azure-kusto-data, + azure-mgmt-keyvault, + azure-mgmt-subscription, + azure-monitor-query, + beautifulsoup4, + bokeh, + buildPythonPackage, + cache, + cryptography, + deprecated, + dnspython, + fetchFromGitHub, + folium, + geoip2, + html5lib, + httpx, + importlib-resources, + ipython, + ipywidgets, + keyring, + lxml, + markdown, + msal-extensions, + msal, + msrest, + msrestazure, + nest-asyncio, + networkx, + packaging, + pandas, + pydantic, + pygments, + pyjwt, + pythonOlder, + pyyaml, + setuptools, + tldextract, + tqdm, + typing-extensions, + urllib3, +}: + +buildPythonPackage rec { + pname = "msticpy"; + version = "2.14.0"; + pyproject = true; + + disabled = pythonOlder "3.8"; + + src = fetchFromGitHub { + owner = "microsoft"; + repo = "msticpy"; + rev = "refs/tags/v${version}"; + hash = "sha256-9qTcXcgUxjSLbsWT7O9ilYuRRPPyN0v9NzUkbd4cIn0="; + }; + + pythonRelaxDeps = [ "bokeh" ]; + + build-system = [ setuptools ]; + + dependencies = [ + attrs + azure-common + azure-core + azure-identity + azure-keyvault-secrets + azure-kusto-data + azure-mgmt-keyvault + azure-mgmt-subscription + azure-monitor-query + beautifulsoup4 + bokeh + cryptography + deprecated + dnspython + folium + geoip2 + html5lib + httpx + importlib-resources + ipython + ipywidgets + keyring + lxml + msal + msal-extensions + msrest + msrestazure + nest-asyncio + networkx + packaging + pandas + pydantic + pygments + pyjwt + pyyaml + tldextract + tqdm + typing-extensions + urllib3 + ]; + + # Test requires network access + doCheck = false; + + pythonImportsCheck = [ "msticpy" ]; + + meta = { + description = "Microsoft Threat Intelligence Security Tools"; + homepage = "https://github.com/microsoft/msticpy"; + changelog = "https://github.com/microsoft/msticpy/releases/tag/v${version}"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index e3a86b7e7a0e..ff07eb3d8e42 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -8443,6 +8443,8 @@ self: super: with self; { mss = callPackage ../development/python-modules/mss { }; + msticpy = callPackage ../development/python-modules/msticpy { }; + msrestazure = callPackage ../development/python-modules/msrestazure { }; msrest = callPackage ../development/python-modules/msrest { }; From 808f48405db5ca23f1b2b3b65dd95216ddff1569 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 30 Nov 2024 13:27:52 +0100 Subject: [PATCH 31/59] ggshield: 1.33.0 -> 1.34.0 Diff: https://github.com/GitGuardian/ggshield/compare/refs/tags/v1.33.0...v1.34.0 Changelog: https://github.com/GitGuardian/ggshield/blob/1.34.0/CHANGELOG.md --- pkgs/tools/security/ggshield/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/security/ggshield/default.nix b/pkgs/tools/security/ggshield/default.nix index b05329f614ad..93c16cf75cac 100644 --- a/pkgs/tools/security/ggshield/default.nix +++ b/pkgs/tools/security/ggshield/default.nix @@ -7,19 +7,19 @@ python3.pkgs.buildPythonApplication rec { pname = "ggshield"; - version = "1.33.0"; + version = "1.34.0"; pyproject = true; src = fetchFromGitHub { owner = "GitGuardian"; repo = "ggshield"; rev = "refs/tags/v${version}"; - hash = "sha256-qvvCBJ56wC56p6tOCb5hh+J7Y/Hec/YgDKNmDbbWNig="; + hash = "sha256-RNQD862m1p8ooFbV8k7yDW9GzP5vPQ8hgerMpvDdXAs="; }; pythonRelaxDeps = true; - build-system = with python3.pkgs; [ setuptools ]; + build-system = with python3.pkgs; [ pdm-backend ]; dependencies = with python3.pkgs; [ From 0c8cd8c1d39f8182b1d7ecb3dd4157eecc53743d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 30 Nov 2024 13:31:26 +0100 Subject: [PATCH 32/59] python312Packages.aiortm: 0.9.36 -> 0.9.37 Diff: https://github.com/MartinHjelmare/aiortm/compare/refs/tags/v0.9.36...v0.9.37 Changelog: https://github.com/MartinHjelmare/aiortm/blob/v0.9.37/CHANGELOG.md --- pkgs/development/python-modules/aiortm/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aiortm/default.nix b/pkgs/development/python-modules/aiortm/default.nix index 60e2776135f1..c3af4da59226 100644 --- a/pkgs/development/python-modules/aiortm/default.nix +++ b/pkgs/development/python-modules/aiortm/default.nix @@ -19,7 +19,7 @@ buildPythonPackage rec { pname = "aiortm"; - version = "0.9.36"; + version = "0.9.37"; pyproject = true; disabled = pythonOlder "3.12"; @@ -28,7 +28,7 @@ buildPythonPackage rec { owner = "MartinHjelmare"; repo = "aiortm"; rev = "refs/tags/v${version}"; - hash = "sha256-oeFJ1xfFV6PDCuQwmUfSJBU1nOdLWW6ChBH2GQ6NiXE="; + hash = "sha256-ZjpuUjUNcAw9G911q3koYB17iFhsylA+RuqpOGUSAEQ="; }; pythonRelaxDeps = [ "typer" ]; From efc0501a3059b9755629d37be2c4dc429e51dcf8 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 30 Nov 2024 13:32:08 +0100 Subject: [PATCH 33/59] python312Packages.cyclopts: 3.1.1 -> 3.1.2 Diff: https://github.com/BrianPugh/cyclopts/compare/refs/tags/v3.1.1...v3.1.2 Changelog: https://github.com/BrianPugh/cyclopts/releases/tag/v3.1.2 --- pkgs/development/python-modules/cyclopts/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/cyclopts/default.nix b/pkgs/development/python-modules/cyclopts/default.nix index c38f63749099..7948762c3e21 100644 --- a/pkgs/development/python-modules/cyclopts/default.nix +++ b/pkgs/development/python-modules/cyclopts/default.nix @@ -19,7 +19,7 @@ buildPythonPackage rec { pname = "cyclopts"; - version = "3.1.1"; + version = "3.1.2"; pyproject = true; disabled = pythonOlder "3.8"; @@ -28,7 +28,7 @@ buildPythonPackage rec { owner = "BrianPugh"; repo = "cyclopts"; rev = "refs/tags/v${version}"; - hash = "sha256-iTNxD9PehYYcWlZTfIMGoon2goPac/UvCaxTrbHy+5s="; + hash = "sha256-5LJSo7DlzId0gd8Egv+JAbLk59tSl2HbwjyGm0qy5nI="; }; build-system = [ From e06fd9023948122439d7e39866c77bb5d29b5a22 Mon Sep 17 00:00:00 2001 From: pascal Date: Sat, 30 Nov 2024 14:30:15 +0100 Subject: [PATCH 34/59] privatebin: fix description typo --- nixos/modules/services/web-apps/privatebin.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/services/web-apps/privatebin.nix b/nixos/modules/services/web-apps/privatebin.nix index 6f6f9c27e389..4315664dabc2 100644 --- a/nixos/modules/services/web-apps/privatebin.nix +++ b/nixos/modules/services/web-apps/privatebin.nix @@ -74,8 +74,8 @@ in default = false; description = '' Whether to enable nginx or not. If enabled, an nginx virtual host will - be created for access to firefly-iii. If not enabled, then you may use - `''${config.services.firefly-iii.package}` as your document root in + be created for access to privatebin. If not enabled, then you may use + `''${config.services.privatebin.package}` as your document root in whichever webserver you wish to setup. ''; }; From d043843aae602d041a35d55b89abd4b72cf98b92 Mon Sep 17 00:00:00 2001 From: Norbert Melzer Date: Sat, 30 Nov 2024 15:33:11 +0100 Subject: [PATCH 35/59] nix-janitor: 0.3.1 -> 0.3.2 --- pkgs/by-name/ni/nix-janitor/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ni/nix-janitor/package.nix b/pkgs/by-name/ni/nix-janitor/package.nix index d62d8853751a..3b1f24d3b8a6 100644 --- a/pkgs/by-name/ni/nix-janitor/package.nix +++ b/pkgs/by-name/ni/nix-janitor/package.nix @@ -8,16 +8,16 @@ rustPlatform.buildRustPackage rec { pname = "nix-janitor"; - version = "0.3.1"; + version = "0.3.2"; src = fetchFromGitHub { owner = "nobbz"; repo = "nix-janitor"; rev = "refs/tags/${version}"; - hash = "sha256-xoVByI17rt2SCY3ULg12S8QsoXGhQWZlOpPpK2mfcPY="; + hash = "sha256-MRhTkxPl0tlObbXO7/0cD2pbd9/uQCeRKV3DStGvZMQ="; }; - cargoHash = "sha256-QG2hHM4KBSU6+droew2WnOFxWRTpk9griIPMD8MLSbw="; + cargoHash = "sha256-XFO4ec++lT04JpwqGtD3kWX4vmgmeBPSULxZENddYm0="; nativeBuildInputs = [ installShellFiles ]; From 635d9c8692154caae3bce37147c028f716e12a64 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sat, 30 Nov 2024 17:17:54 +0100 Subject: [PATCH 36/59] codeium: format --- pkgs/by-name/co/codeium/package.nix | 43 +++++++++++++++++++---------- 1 file changed, 29 insertions(+), 14 deletions(-) diff --git a/pkgs/by-name/co/codeium/package.nix b/pkgs/by-name/co/codeium/package.nix index 0338be017d7f..58b93108c275 100644 --- a/pkgs/by-name/co/codeium/package.nix +++ b/pkgs/by-name/co/codeium/package.nix @@ -1,23 +1,33 @@ -{ stdenv, lib, fetchurl, gzip, autoPatchelfHook }: +{ + stdenv, + lib, + fetchurl, + gzip, + autoPatchelfHook, +}: let inherit (stdenv.hostPlatform) system; throwSystem = throw "Unsupported system: ${system}"; - plat = { - x86_64-linux = "linux_x64"; - aarch64-linux = "linux_arm"; - x86_64-darwin = "macos_x64"; - aarch64-darwin = "macos_arm"; + plat = + { + x86_64-linux = "linux_x64"; + aarch64-linux = "linux_arm"; + x86_64-darwin = "macos_x64"; + aarch64-darwin = "macos_arm"; - }.${system} or throwSystem; + } + .${system} or throwSystem; - hash = { - x86_64-linux = "sha256-fxwFomtgkOCtZCmXjxlCqa+9hxBiVNbM2IFdAGQ8Nlw="; - aarch64-linux = "sha256-hTxpszPXVU2FpB690tfZzrV9tUH/EqfjyEZQ8gPFmas="; - x86_64-darwin = "sha256-RiSCz4xNMFDdsAttovjXys7MeXRQgmi6YOi2LwvRoGE="; - aarch64-darwin = "sha256-G3j3Ds5ycGs0n5+KcaRa2MG86/1LdcZhgNdgeRIyfa4="; - }.${system} or throwSystem; + hash = + { + x86_64-linux = "sha256-fxwFomtgkOCtZCmXjxlCqa+9hxBiVNbM2IFdAGQ8Nlw="; + aarch64-linux = "sha256-hTxpszPXVU2FpB690tfZzrV9tUH/EqfjyEZQ8gPFmas="; + x86_64-darwin = "sha256-RiSCz4xNMFDdsAttovjXys7MeXRQgmi6YOi2LwvRoGE="; + aarch64-darwin = "sha256-G3j3Ds5ycGs0n5+KcaRa2MG86/1LdcZhgNdgeRIyfa4="; + } + .${system} or throwSystem; bin = "$out/bin/codeium_language_server"; @@ -63,7 +73,12 @@ stdenv.mkDerivation (finalAttrs: { license = lib.licenses.unfree; maintainers = with lib.maintainers; [ anpin ]; mainProgram = "codeium"; - platforms = [ "aarch64-darwin" "aarch64-linux" "x86_64-linux" "x86_64-darwin" ]; + platforms = [ + "aarch64-darwin" + "aarch64-linux" + "x86_64-linux" + "x86_64-darwin" + ]; sourceProvenance = [ lib.sourceTypes.binaryNativeCode ]; }; }) From 76ba7a02ba23fa824e43761f27e8f86aee10b478 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sat, 30 Nov 2024 17:20:19 +0100 Subject: [PATCH 37/59] codeium: correct meta.mainProgram --- pkgs/by-name/co/codeium/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/co/codeium/package.nix b/pkgs/by-name/co/codeium/package.nix index 58b93108c275..1b51938dd97a 100644 --- a/pkgs/by-name/co/codeium/package.nix +++ b/pkgs/by-name/co/codeium/package.nix @@ -72,7 +72,7 @@ stdenv.mkDerivation (finalAttrs: { changelog = homepage; license = lib.licenses.unfree; maintainers = with lib.maintainers; [ anpin ]; - mainProgram = "codeium"; + mainProgram = "codeium_language_server"; platforms = [ "aarch64-darwin" "aarch64-linux" From b7f742a5107bc3421bc104ea7b15ca866a26357f Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sat, 30 Nov 2024 17:20:26 +0100 Subject: [PATCH 38/59] codeium: add versionCheckHook --- pkgs/by-name/co/codeium/package.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/by-name/co/codeium/package.nix b/pkgs/by-name/co/codeium/package.nix index 1b51938dd97a..349f68debabd 100644 --- a/pkgs/by-name/co/codeium/package.nix +++ b/pkgs/by-name/co/codeium/package.nix @@ -4,6 +4,7 @@ fetchurl, gzip, autoPatchelfHook, + versionCheckHook, }: let @@ -55,6 +56,13 @@ stdenv.mkDerivation (finalAttrs: { runHook postInstall ''; + nativeInstallCheckInputs = [ + versionCheckHook + ]; + versionCheckProgram = "${placeholder "out"}/bin/codeium_language_server"; + versionCheckProgramArg = [ "--version" ]; + doInstallCheck = true; + passthru.updateScript = ./update.sh; meta = rec { From 15c2105904e42d9be91a62f1f3a51469ac948609 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sat, 30 Nov 2024 17:21:09 +0100 Subject: [PATCH 39/59] vimPlugins.codeium-nvim: minor checkPhase refactoring --- pkgs/applications/editors/vim/plugins/overrides.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/editors/vim/plugins/overrides.nix b/pkgs/applications/editors/vim/plugins/overrides.nix index a8d88b9d20ad..8b83ca39cfb2 100644 --- a/pkgs/applications/editors/vim/plugins/overrides.nix +++ b/pkgs/applications/editors/vim/plugins/overrides.nix @@ -496,15 +496,18 @@ in ''; doCheck = true; - checkInputs = [ jq ]; + checkInputs = [ + jq + codeium' + ]; checkPhase = '' runHook preCheck expected_codeium_version=$(jq -r '.version' lua/codeium/versions.json) - actual_codeium_version=$(${codeium'}/bin/codeium_language_server --version) + actual_codeium_version=$(codeium_language_server --version) expected_codeium_stamp=$(jq -r '.stamp' lua/codeium/versions.json) - actual_codeium_stamp=$(${codeium'}/bin/codeium_language_server --stamp | grep STABLE_BUILD_SCM_REVISION | cut -d' ' -f2) + actual_codeium_stamp=$(codeium_language_server --stamp | grep STABLE_BUILD_SCM_REVISION | cut -d' ' -f2) if [ "$actual_codeium_stamp" != "$expected_codeium_stamp" ]; then echo " From 1a2fdaae29feb78a483413fb959da93a4a37c03b Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 30 Nov 2024 17:44:53 +0100 Subject: [PATCH 40/59] mqtt-exporter: init at 1.5.0 Generic MQTT Prometheus exporter for IoT https://github.com/kpetremann/mqtt-exporter --- pkgs/by-name/mq/mqtt-exporter/package.nix | 43 +++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 pkgs/by-name/mq/mqtt-exporter/package.nix diff --git a/pkgs/by-name/mq/mqtt-exporter/package.nix b/pkgs/by-name/mq/mqtt-exporter/package.nix new file mode 100644 index 000000000000..0f0bc14ef29b --- /dev/null +++ b/pkgs/by-name/mq/mqtt-exporter/package.nix @@ -0,0 +1,43 @@ +{ + lib, + python3, + fetchFromGitHub, +}: + +python3.pkgs.buildPythonApplication rec { + pname = "mqtt-exporter"; + version = "1.5.0"; + pyproject = true; + + src = fetchFromGitHub { + owner = "kpetremann"; + repo = "mqtt-exporter"; + rev = "refs/tags/v${version}"; + hash = "sha256-3gUAiujfBXJpVailx8cMmSJS7l69XpE4UGK/aebcQqY="; + }; + + pythonRelaxDeps = [ "prometheus-client" ]; + + build-system = with python3.pkgs; [ setuptools ]; + + dependencies = with python3.pkgs; [ + paho-mqtt_2 + prometheus-client + ]; + + nativeCheckInputs = with python3.pkgs; [ + pytest-mock + pytestCheckHook + ]; + + pythonImportsCheck = [ "mqtt_exporter" ]; + + meta = { + description = "Generic MQTT Prometheus exporter for IoT"; + homepage = "https://github.com/kpetremann/mqtt-exporter"; + changelog = "https://github.com/kpetremann/mqtt-exporter/releases/tag/v${version}"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ fab ]; + mainProgram = "mqtt-exporter"; + }; +} From 07af3c17686048d1fbdfe2ef145379ac4b0df473 Mon Sep 17 00:00:00 2001 From: K900 Date: Sat, 30 Nov 2024 21:41:35 +0300 Subject: [PATCH 41/59] fetchurl: clean up KDE mirrors Use download.kde.org as recommended by upstream, keep funet as fallback. --- pkgs/build-support/fetchurl/mirrors.nix | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/pkgs/build-support/fetchurl/mirrors.nix b/pkgs/build-support/fetchurl/mirrors.nix index abc4813da11d..ea6ee11b23b3 100644 --- a/pkgs/build-support/fetchurl/mirrors.nix +++ b/pkgs/build-support/fetchurl/mirrors.nix @@ -123,14 +123,8 @@ "ftp://ftp.sunet.se/mirror/imagemagick.org/ftp/" # also contains older versions removed from most mirrors ]; - # Mirrors from https://download.kde.org/ls-lR.mirrorlist kde = [ - "https://cdn.download.kde.org/" - "https://download.kde.org/download.php?url=" - "https://ftp.gwdg.de/pub/linux/kde/" - "https://mirrors.ocf.berkeley.edu/kde/" - "https://mirrors.mit.edu/kde/" - "https://mirrors.ustc.edu.cn/kde/" + "https://download.kde.org/" "https://ftp.funet.fi/pub/mirrors/ftp.kde.org/pub/kde/" ]; From 9a56705f9407bae2fac36969aa83713bfa650d0b Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Thu, 28 Nov 2024 21:11:36 -0300 Subject: [PATCH 42/59] various: remove AndersonTorres from maintainers As a short note, I am relinquishing the maintenance of many packages, because it is too much to me to handle right now. --- pkgs/applications/terminal-emulators/st/mcaimi-st.nix | 2 +- pkgs/applications/video/openshot-qt/default.nix | 2 +- pkgs/applications/window-managers/hyprwm/hypr/default.nix | 2 +- pkgs/by-name/al/alsa-tools/package.nix | 2 +- pkgs/by-name/al/alsa-utils/package.nix | 2 +- pkgs/by-name/ap/apt-offline/package.nix | 2 +- pkgs/by-name/ap/apt/package.nix | 2 +- pkgs/by-name/au/audit/package.nix | 2 +- pkgs/by-name/bl/bluez-tools/package.nix | 2 +- pkgs/by-name/ce/cereal_1_3_0/package.nix | 2 +- pkgs/by-name/ce/cereal_1_3_2/package.nix | 2 +- pkgs/by-name/ci/cimg/package.nix | 4 +--- pkgs/by-name/dd/ddsmt/package.nix | 2 +- pkgs/by-name/el/elvish/package.nix | 2 +- pkgs/by-name/fl/flam3/package.nix | 2 +- pkgs/by-name/fl/fleng/package.nix | 2 +- pkgs/by-name/fm/fm-go/package.nix | 2 +- pkgs/by-name/gr/grim/package.nix | 2 +- pkgs/by-name/gt/gtklp/package.nix | 2 +- pkgs/by-name/gu/guile-commonmark/package.nix | 2 +- pkgs/by-name/gu/guile-reader/package.nix | 2 +- pkgs/by-name/gu/guile-sqlite3/package.nix | 2 +- pkgs/by-name/ja/jasper/package.nix | 2 +- pkgs/by-name/kc/kconfig-frontends/package.nix | 2 +- pkgs/by-name/ki/kid3/package.nix | 2 +- pkgs/by-name/le/less/package.nix | 1 - pkgs/by-name/li/libast/package.nix | 2 +- pkgs/by-name/nv/nv-codec-headers/package.nix | 2 +- pkgs/by-name/nw/nwg-drawer/package.nix | 2 +- pkgs/by-name/on/onscripter-en/package.nix | 2 +- pkgs/by-name/re/refind/package.nix | 2 +- pkgs/by-name/re/resorter/package.nix | 2 +- pkgs/by-name/re/revup/package.nix | 2 +- pkgs/by-name/sc/scons/package.nix | 2 +- pkgs/by-name/sd/SDL2_mixer/package.nix | 2 +- pkgs/by-name/so/so/package.nix | 1 - pkgs/by-name/so/sov/package.nix | 2 +- pkgs/by-name/sw/swayest-workstyle/package.nix | 2 +- pkgs/by-name/ti/tinyalsa/package.nix | 2 +- pkgs/by-name/vk/vkd3d-proton/package.nix | 2 +- pkgs/by-name/vk/vkd3d/package.nix | 2 +- pkgs/by-name/wb/wbg/package.nix | 2 +- pkgs/by-name/wt/wtfis/package.nix | 2 +- pkgs/by-name/xp/xpointerbarrier/package.nix | 1 - pkgs/development/libraries/libopenshot-audio/default.nix | 2 +- pkgs/development/libraries/libopenshot/default.nix | 2 +- pkgs/development/libraries/libunique/3.x.nix | 2 +- pkgs/development/libraries/wxSVG/default.nix | 2 +- pkgs/development/python-modules/cython/default.nix | 2 +- pkgs/development/python-modules/docutils/default.nix | 2 +- pkgs/development/python-modules/dotty-dict/default.nix | 2 +- pkgs/development/python-modules/gistyc/default.nix | 2 +- pkgs/development/python-modules/hid/default.nix | 2 +- .../development/python-modules/importlib-metadata/default.nix | 1 - pkgs/development/python-modules/localimport/default.nix | 2 +- pkgs/development/python-modules/m2r/default.nix | 2 +- pkgs/development/python-modules/nodepy-runtime/default.nix | 2 +- pkgs/development/python-modules/yapf/default.nix | 1 - pkgs/top-level/perl-packages.nix | 2 +- 59 files changed, 54 insertions(+), 61 deletions(-) diff --git a/pkgs/applications/terminal-emulators/st/mcaimi-st.nix b/pkgs/applications/terminal-emulators/st/mcaimi-st.nix index 7ff35a5cb77c..e13163df0cec 100644 --- a/pkgs/applications/terminal-emulators/st/mcaimi-st.nix +++ b/pkgs/applications/terminal-emulators/st/mcaimi-st.nix @@ -44,7 +44,7 @@ stdenv.mkDerivation rec { description = "Suckless Terminal fork"; mainProgram = "st"; license = licenses.mit; - maintainers = with maintainers; [ AndersonTorres ]; + maintainers = with maintainers; [ ]; platforms = platforms.linux; }; } diff --git a/pkgs/applications/video/openshot-qt/default.nix b/pkgs/applications/video/openshot-qt/default.nix index ec6e309e9b82..1f1da89340c7 100644 --- a/pkgs/applications/video/openshot-qt/default.nix +++ b/pkgs/applications/video/openshot-qt/default.nix @@ -90,7 +90,7 @@ mkDerivationWith python3.pkgs.buildPythonApplication { ''; license = with lib.licenses; [ gpl3Plus ]; mainProgram = "openshot-qt"; - maintainers = with lib.maintainers; [ AndersonTorres ]; + maintainers = with lib.maintainers; [ ]; platforms = lib.platforms.unix; }; } diff --git a/pkgs/applications/window-managers/hyprwm/hypr/default.nix b/pkgs/applications/window-managers/hyprwm/hypr/default.nix index b24c905478e4..1eb311d4e159 100644 --- a/pkgs/applications/window-managers/hyprwm/hypr/default.nix +++ b/pkgs/applications/window-managers/hyprwm/hypr/default.nix @@ -74,7 +74,7 @@ stdenv.mkDerivation (finalAttrs: { inherit (finalAttrs.src.meta) homepage; description = "Tiling X11 window manager written in modern C++"; license = licenses.bsd3; - maintainers = with maintainers; [ AndersonTorres ]; + maintainers = with maintainers; [ ]; inherit (libX11.meta) platforms; mainProgram = "Hypr"; }; diff --git a/pkgs/by-name/al/alsa-tools/package.nix b/pkgs/by-name/al/alsa-tools/package.nix index 31e949c07cef..54028d12ecf6 100644 --- a/pkgs/by-name/al/alsa-tools/package.nix +++ b/pkgs/by-name/al/alsa-tools/package.nix @@ -108,7 +108,7 @@ stdenv.mkDerivation (finalAttrs: { homepage = "http://www.alsa-project.org/"; description = "ALSA Tools"; license = lib.licenses.gpl2Plus; - maintainers = [ lib.maintainers.AndersonTorres ]; + maintainers = [ ]; platforms = lib.platforms.linux; }; }) diff --git a/pkgs/by-name/al/alsa-utils/package.nix b/pkgs/by-name/al/alsa-utils/package.nix index b8086e08394e..74c24e18d0c3 100644 --- a/pkgs/by-name/al/alsa-utils/package.nix +++ b/pkgs/by-name/al/alsa-utils/package.nix @@ -65,6 +65,6 @@ stdenv.mkDerivation rec { license = licenses.gpl2; platforms = platforms.linux; - maintainers = [ maintainers.AndersonTorres ]; + maintainers = [ ]; }; } diff --git a/pkgs/by-name/ap/apt-offline/package.nix b/pkgs/by-name/ap/apt-offline/package.nix index ba34dec6c0f8..bfd61098211c 100644 --- a/pkgs/by-name/ap/apt-offline/package.nix +++ b/pkgs/by-name/ap/apt-offline/package.nix @@ -48,7 +48,7 @@ python3Packages.buildPythonApplication { description = "Offline APT package manager"; license = with lib.licenses; [ gpl3Plus ]; mainProgram = "apt-offline"; - maintainers = with lib.maintainers; [ AndersonTorres ]; + maintainers = with lib.maintainers; [ ]; }; } # TODO: verify GUI and pkexec diff --git a/pkgs/by-name/ap/apt/package.nix b/pkgs/by-name/ap/apt/package.nix index ba1b532bd7d9..7e1dcdde387f 100644 --- a/pkgs/by-name/ap/apt/package.nix +++ b/pkgs/by-name/ap/apt/package.nix @@ -92,7 +92,7 @@ stdenv.mkDerivation (finalAttrs: { changelog = "https://salsa.debian.org/apt-team/apt/-/raw/${finalAttrs.version}/debian/changelog"; license = with lib.licenses; [ gpl2Plus ]; mainProgram = "apt"; - maintainers = with lib.maintainers; [ AndersonTorres ]; + maintainers = with lib.maintainers; [ ]; platforms = lib.platforms.linux; }; }) diff --git a/pkgs/by-name/au/audit/package.nix b/pkgs/by-name/au/audit/package.nix index e3a6eaa694b3..4a1ecf3ce17a 100644 --- a/pkgs/by-name/au/audit/package.nix +++ b/pkgs/by-name/au/audit/package.nix @@ -84,7 +84,7 @@ stdenv.mkDerivation (finalAttrs: { description = "Audit Library"; changelog = "https://github.com/linux-audit/audit-userspace/releases/tag/v${finalAttrs.version}"; license = lib.licenses.gpl2Plus; - maintainers = with lib.maintainers; [ AndersonTorres ]; + maintainers = with lib.maintainers; [ ]; platforms = lib.platforms.linux; }; }) diff --git a/pkgs/by-name/bl/bluez-tools/package.nix b/pkgs/by-name/bl/bluez-tools/package.nix index ae79bdc01fbb..d6fa89154d93 100644 --- a/pkgs/by-name/bl/bluez-tools/package.nix +++ b/pkgs/by-name/bl/bluez-tools/package.nix @@ -38,7 +38,7 @@ stdenv.mkDerivation (finalAttrs: { description = "Set of tools to manage bluetooth devices for linux"; license = with lib.licenses; [ gpl2Plus ]; mainProgram = "bt-agent"; - maintainers = with lib.maintainers; [ AndersonTorres ]; + maintainers = with lib.maintainers; [ ]; platforms = lib.platforms.linux; }; }) diff --git a/pkgs/by-name/ce/cereal_1_3_0/package.nix b/pkgs/by-name/ce/cereal_1_3_0/package.nix index d15e06d8598c..9cd1e04d8f4d 100644 --- a/pkgs/by-name/ce/cereal_1_3_0/package.nix +++ b/pkgs/by-name/ce/cereal_1_3_0/package.nix @@ -33,7 +33,7 @@ stdenv.mkDerivation (finalAttrs: { description = "Header-only C++11 serialization library"; changelog = "https://github.com/USCiLab/cereal/releases/tag/v${finalAttrs.version}"; license = lib.licenses.bsd3; - maintainers = with lib.maintainers; [ AndersonTorres ]; + maintainers = with lib.maintainers; [ ]; platforms = lib.platforms.all; }; }) diff --git a/pkgs/by-name/ce/cereal_1_3_2/package.nix b/pkgs/by-name/ce/cereal_1_3_2/package.nix index a8aced27cb26..adf796cfe5b4 100644 --- a/pkgs/by-name/ce/cereal_1_3_2/package.nix +++ b/pkgs/by-name/ce/cereal_1_3_2/package.nix @@ -24,7 +24,7 @@ stdenv.mkDerivation (finalAttrs: { description = "Header-only C++11 serialization library"; changelog = "https://github.com/USCiLab/cereal/releases/tag/v${finalAttrs.version}"; license = lib.licenses.bsd3; - maintainers = with lib.maintainers; [ AndersonTorres ]; + maintainers = with lib.maintainers; [ ]; platforms = lib.platforms.all; }; }) diff --git a/pkgs/by-name/ci/cimg/package.nix b/pkgs/by-name/ci/cimg/package.nix index 6b55ca755120..a5112b210720 100644 --- a/pkgs/by-name/ci/cimg/package.nix +++ b/pkgs/by-name/ci/cimg/package.nix @@ -45,9 +45,7 @@ stdenv.mkDerivation (finalAttrs: { processing applications. ''; license = lib.licenses.cecill-c; - maintainers = [ - lib.maintainers.AndersonTorres - ]; + maintainers = [ ]; platforms = lib.platforms.unix; }; }) diff --git a/pkgs/by-name/dd/ddsmt/package.nix b/pkgs/by-name/dd/ddsmt/package.nix index cdb981498bb2..a4a4a3999168 100644 --- a/pkgs/by-name/dd/ddsmt/package.nix +++ b/pkgs/by-name/dd/ddsmt/package.nix @@ -30,6 +30,6 @@ python3Packages.buildPythonApplication { description = "Delta debugger for SMT benchmarks in SMT-LIB v2"; homepage = "https://ddsmt.readthedocs.io/"; license = with lib.licenses; [ gpl3Plus ]; - maintainers = with lib.maintainers; [ AndersonTorres ]; + maintainers = with lib.maintainers; [ ]; }; } diff --git a/pkgs/by-name/el/elvish/package.nix b/pkgs/by-name/el/elvish/package.nix index 77e8b949b4b4..36d2214a2a13 100644 --- a/pkgs/by-name/el/elvish/package.nix +++ b/pkgs/by-name/el/elvish/package.nix @@ -49,6 +49,6 @@ buildGoModule { status, it is already suitable for most daily interactive use. ''; license = lib.licenses.bsd2; - maintainers = with lib.maintainers; [ AndersonTorres ]; + maintainers = with lib.maintainers; [ ]; }; } diff --git a/pkgs/by-name/fl/flam3/package.nix b/pkgs/by-name/fl/flam3/package.nix index 4eb0bc67c3f0..121485b081e8 100644 --- a/pkgs/by-name/fl/flam3/package.nix +++ b/pkgs/by-name/fl/flam3/package.nix @@ -36,7 +36,7 @@ stdenv.mkDerivation rec { is specified by a long string of numbers - a genetic code of sorts. ''; license = licenses.gpl3Plus; - maintainers = with maintainers; [ AndersonTorres ]; + maintainers = with maintainers; [ ]; platforms = platforms.unix; }; } diff --git a/pkgs/by-name/fl/fleng/package.nix b/pkgs/by-name/fl/fleng/package.nix index 0c2c8359f65a..38cb24d4ea7c 100644 --- a/pkgs/by-name/fl/fleng/package.nix +++ b/pkgs/by-name/fl/fleng/package.nix @@ -18,7 +18,7 @@ stdenv.mkDerivation (finalAttrs: { homepage = "http://www.call-with-current-continuation.org/fleng/fleng.html"; description = "Low level concurrent logic programming language descended from Prolog"; license = lib.licenses.publicDomain; - maintainers = with lib.maintainers; [ AndersonTorres ]; + maintainers = with lib.maintainers; [ ]; platforms = lib.platforms.unix; }; }) diff --git a/pkgs/by-name/fm/fm-go/package.nix b/pkgs/by-name/fm/fm-go/package.nix index e0bda5a43b17..27c4867426fb 100644 --- a/pkgs/by-name/fm/fm-go/package.nix +++ b/pkgs/by-name/fm/fm-go/package.nix @@ -23,7 +23,7 @@ let changelog = "https://github.com/mistakenelf/fm/releases/tag/${finalAttrs.src.rev}"; license = with lib.licenses; [ mit ]; mainProgram = "fm"; - maintainers = with lib.maintainers; [ AndersonTorres ]; + maintainers = with lib.maintainers; [ ]; }; }; in diff --git a/pkgs/by-name/gr/grim/package.nix b/pkgs/by-name/gr/grim/package.nix index 72abbb46c7b0..c728f5f19aa2 100644 --- a/pkgs/by-name/gr/grim/package.nix +++ b/pkgs/by-name/gr/grim/package.nix @@ -50,7 +50,7 @@ stdenv.mkDerivation (finalAttrs: { description = "Grab images from a Wayland compositor"; license = lib.licenses.mit; mainProgram = "grim"; - maintainers = with lib.maintainers; [ AndersonTorres ]; + maintainers = with lib.maintainers; [ ]; platforms = lib.platforms.linux; }; }) diff --git a/pkgs/by-name/gt/gtklp/package.nix b/pkgs/by-name/gt/gtklp/package.nix index dab4fac45844..29b019292e62 100644 --- a/pkgs/by-name/gt/gtklp/package.nix +++ b/pkgs/by-name/gt/gtklp/package.nix @@ -65,7 +65,7 @@ stdenv.mkDerivation (finalAttrs: { description = "GTK-based graphical frontend for CUPS"; license = with lib.licenses; [ gpl2Only ]; mainProgram = "gtklp"; - maintainers = with lib.maintainers; [ AndersonTorres ]; + maintainers = with lib.maintainers; [ ]; platforms = lib.platforms.unix; }; }) diff --git a/pkgs/by-name/gu/guile-commonmark/package.nix b/pkgs/by-name/gu/guile-commonmark/package.nix index c103635d37af..aa5b2ee5ce7f 100644 --- a/pkgs/by-name/gu/guile-commonmark/package.nix +++ b/pkgs/by-name/gu/guile-commonmark/package.nix @@ -38,7 +38,7 @@ stdenv.mkDerivation { homepage = "https://github.com/OrangeShark/guile-commonmark"; description = "Implementation of CommonMark for Guile"; license = licenses.lgpl3Plus; - maintainers = with maintainers; [ AndersonTorres ]; + maintainers = with maintainers; [ ]; platforms = guile.meta.platforms; }; } diff --git a/pkgs/by-name/gu/guile-reader/package.nix b/pkgs/by-name/gu/guile-reader/package.nix index 2a9d20f9aefa..17c9cfe9da8c 100644 --- a/pkgs/by-name/gu/guile-reader/package.nix +++ b/pkgs/by-name/gu/guile-reader/package.nix @@ -48,7 +48,7 @@ stdenv.mkDerivation rec { R5RS-derived document syntax. ''; license = licenses.lgpl3Plus; - maintainers = with maintainers; [ AndersonTorres ]; + maintainers = with maintainers; [ ]; platforms = guile.meta.platforms; }; } diff --git a/pkgs/by-name/gu/guile-sqlite3/package.nix b/pkgs/by-name/gu/guile-sqlite3/package.nix index 5c90db74be3a..1e7e737f1725 100644 --- a/pkgs/by-name/gu/guile-sqlite3/package.nix +++ b/pkgs/by-name/gu/guile-sqlite3/package.nix @@ -45,7 +45,7 @@ stdenv.mkDerivation (finalAttrs: { homepage = "https://notabug.org/guile-sqlite3/guile-sqlite3"; description = "Guile bindings for the SQLite3 database engine"; license = lib.licenses.gpl3Plus; - maintainers = with lib.maintainers; [ AndersonTorres ]; + maintainers = with lib.maintainers; [ ]; inherit (guile.meta) platforms; }; }) diff --git a/pkgs/by-name/ja/jasper/package.nix b/pkgs/by-name/ja/jasper/package.nix index ad364086efa9..b8e4fc2f9c4d 100644 --- a/pkgs/by-name/ja/jasper/package.nix +++ b/pkgs/by-name/ja/jasper/package.nix @@ -88,7 +88,7 @@ stdenv.mkDerivation (finalAttrs: { ''; license = with lib.licenses; [ mit ]; mainProgram = "jasper"; - maintainers = with lib.maintainers; [ AndersonTorres ]; + maintainers = with lib.maintainers; [ ]; platforms = lib.platforms.unix; }; }) diff --git a/pkgs/by-name/kc/kconfig-frontends/package.nix b/pkgs/by-name/kc/kconfig-frontends/package.nix index 954ca475a75d..b2c74e330f87 100644 --- a/pkgs/by-name/kc/kconfig-frontends/package.nix +++ b/pkgs/by-name/kc/kconfig-frontends/package.nix @@ -60,7 +60,7 @@ stdenv.mkDerivation (finalAttrs: { ''; homepage = "https://bitbucket.org/nuttx/tools/"; license = lib.licenses.gpl2Plus; - maintainers = with lib.maintainers; [ AndersonTorres ]; + maintainers = with lib.maintainers; [ ]; platforms = lib.platforms.unix; }; }) diff --git a/pkgs/by-name/ki/kid3/package.nix b/pkgs/by-name/ki/kid3/package.nix index 7f314d6bb2e3..ca7416a60167 100644 --- a/pkgs/by-name/ki/kid3/package.nix +++ b/pkgs/by-name/ki/kid3/package.nix @@ -136,7 +136,7 @@ stdenv.mkDerivation (finalAttrs: { "kid3" else "kid3-cli"; - maintainers = with lib.maintainers; [ AndersonTorres ]; + maintainers = with lib.maintainers; [ ]; platforms = lib.platforms.linux; }; }) diff --git a/pkgs/by-name/le/less/package.nix b/pkgs/by-name/le/less/package.nix index 452944aa9a75..758e65fd4daf 100644 --- a/pkgs/by-name/le/less/package.nix +++ b/pkgs/by-name/le/less/package.nix @@ -66,7 +66,6 @@ stdenv.mkDerivation (finalAttrs: { license = lib.licenses.gpl3Plus; mainProgram = "less"; maintainers = with lib.maintainers; [ - AndersonTorres # not active dtzWill ]; diff --git a/pkgs/by-name/li/libast/package.nix b/pkgs/by-name/li/libast/package.nix index 49db79aaf978..ae6f6e17445f 100644 --- a/pkgs/by-name/li/libast/package.nix +++ b/pkgs/by-name/li/libast/package.nix @@ -26,7 +26,7 @@ stdenv.mkDerivation rec { description = "Library of Assorted Spiffy Things"; mainProgram = "libast-config"; license = licenses.bsd2; - maintainers = [ maintainers.AndersonTorres ]; + maintainers = [ ]; platforms = platforms.unix; }; } diff --git a/pkgs/by-name/nv/nv-codec-headers/package.nix b/pkgs/by-name/nv/nv-codec-headers/package.nix index c1183935b91c..39179db9034f 100644 --- a/pkgs/by-name/nv/nv-codec-headers/package.nix +++ b/pkgs/by-name/nv/nv-codec-headers/package.nix @@ -32,7 +32,7 @@ stdenvNoCC.mkDerivation { homepage = "https://ffmpeg.org/"; downloadPage = "https://git.videolan.org/?p=ffmpeg/nv-codec-headers.git"; license = with lib.licenses; [ mit ]; - maintainers = with lib.maintainers; [ AndersonTorres ]; + maintainers = with lib.maintainers; [ ]; platforms = lib.platforms.all; }; } diff --git a/pkgs/by-name/nw/nwg-drawer/package.nix b/pkgs/by-name/nw/nwg-drawer/package.nix index e7ab93f870a7..b38554acbf87 100644 --- a/pkgs/by-name/nw/nwg-drawer/package.nix +++ b/pkgs/by-name/nw/nwg-drawer/package.nix @@ -59,7 +59,7 @@ buildGoModule { changelog = "https://github.com/nwg-piotr/nwg-drawer/releases/tag/${src.rev}"; license = with lib.licenses; [ mit ]; mainProgram = "nwg-drawer"; - maintainers = with lib.maintainers; [ AndersonTorres ]; + maintainers = with lib.maintainers; [ ]; platforms = with lib.platforms; linux; }; } diff --git a/pkgs/by-name/on/onscripter-en/package.nix b/pkgs/by-name/on/onscripter-en/package.nix index 64c7cd931fa2..87d350dbd8f1 100644 --- a/pkgs/by-name/on/onscripter-en/package.nix +++ b/pkgs/by-name/on/onscripter-en/package.nix @@ -60,7 +60,7 @@ stdenv.mkDerivation (finalAttrs: { description = "Japanese visual novel scripting engine"; license = lib.licenses.gpl2Plus; mainProgram = "onscripter-en"; - maintainers = with lib.maintainers; [ AndersonTorres ]; + maintainers = with lib.maintainers; [ ]; platforms = lib.platforms.unix; broken = stdenv.hostPlatform.isDarwin; }; diff --git a/pkgs/by-name/re/refind/package.nix b/pkgs/by-name/re/refind/package.nix index 2958d3be85fd..0b011096fdf1 100644 --- a/pkgs/by-name/re/refind/package.nix +++ b/pkgs/by-name/re/refind/package.nix @@ -146,7 +146,7 @@ stdenv.mkDerivation rec { Linux kernels that provide EFI stub support. ''; homepage = "http://refind.sourceforge.net/"; - maintainers = with maintainers; [ AndersonTorres chewblacka ]; + maintainers = with maintainers; [ chewblacka ]; platforms = [ "i686-linux" "x86_64-linux" "aarch64-linux" ]; license = licenses.gpl3Plus; }; diff --git a/pkgs/by-name/re/resorter/package.nix b/pkgs/by-name/re/resorter/package.nix index c717ff495462..a575e12b1505 100644 --- a/pkgs/by-name/re/resorter/package.nix +++ b/pkgs/by-name/re/resorter/package.nix @@ -40,7 +40,7 @@ stdenv.mkDerivation (finalAttrs: { homepage = "https://github.com/hiAndrewQuinn/resorter"; license = with lib.licenses; [ cc0 ]; mainProgram = "resorter"; - maintainers = with lib.maintainers; [ AndersonTorres ]; + maintainers = with lib.maintainers; [ ]; platforms = lib.platforms.all; }; }) diff --git a/pkgs/by-name/re/revup/package.nix b/pkgs/by-name/re/revup/package.nix index 4fb1e309b201..fe47f2c58437 100644 --- a/pkgs/by-name/re/revup/package.nix +++ b/pkgs/by-name/re/revup/package.nix @@ -70,7 +70,7 @@ let ''; license = lib.licenses.mit; mainProgram = "revup"; - maintainers = with lib.maintainers; [ AndersonTorres ]; + maintainers = with lib.maintainers; [ ]; }; }; in diff --git a/pkgs/by-name/sc/scons/package.nix b/pkgs/by-name/sc/scons/package.nix index f2b6790d1aad..06d97f81b185 100644 --- a/pkgs/by-name/sc/scons/package.nix +++ b/pkgs/by-name/sc/scons/package.nix @@ -45,6 +45,6 @@ python3Packages.buildPythonApplication rec { ''; homepage = "https://scons.org/"; license = lib.licenses.mit; - maintainers = with lib.maintainers; [ AndersonTorres ]; + maintainers = with lib.maintainers; [ ]; }; } diff --git a/pkgs/by-name/sd/SDL2_mixer/package.nix b/pkgs/by-name/sd/SDL2_mixer/package.nix index bd2894f5583d..27f9bc993371 100644 --- a/pkgs/by-name/sd/SDL2_mixer/package.nix +++ b/pkgs/by-name/sd/SDL2_mixer/package.nix @@ -80,7 +80,7 @@ stdenv.mkDerivation (finalAttrs: { description = "SDL multi-channel audio mixer library"; license = lib.licenses.zlib; maintainers = lib.teams.sdl.members - ++ (with lib.maintainers; [ AndersonTorres ]); + ++ (with lib.maintainers; [ ]); platforms = lib.platforms.unix; }; }) diff --git a/pkgs/by-name/so/so/package.nix b/pkgs/by-name/so/so/package.nix index 12c978a9b3aa..a5493b3c76b3 100644 --- a/pkgs/by-name/so/so/package.nix +++ b/pkgs/by-name/so/so/package.nix @@ -59,7 +59,6 @@ let mainProgram = "so"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ - AndersonTorres unsolvedcypher ]; }; diff --git a/pkgs/by-name/so/sov/package.nix b/pkgs/by-name/so/sov/package.nix index e01b1c8f9446..747c39e7cadb 100644 --- a/pkgs/by-name/so/sov/package.nix +++ b/pkgs/by-name/so/sov/package.nix @@ -61,7 +61,7 @@ stdenv.mkDerivation (finalAttrs: { description = "Workspace overview app for sway"; license = lib.licenses.gpl3Only; mainProgram = "sov"; - maintainers = with lib.maintainers; [ AndersonTorres ]; + maintainers = with lib.maintainers; [ ]; inherit (wayland.meta) platforms; # sys/timerfd.h header inexistent broken = stdenv.isDarwin; diff --git a/pkgs/by-name/sw/swayest-workstyle/package.nix b/pkgs/by-name/sw/swayest-workstyle/package.nix index 31e847452874..c42f0007ed27 100644 --- a/pkgs/by-name/sw/swayest-workstyle/package.nix +++ b/pkgs/by-name/sw/swayest-workstyle/package.nix @@ -27,7 +27,7 @@ rustPlatform.buildRustPackage { homepage = "https://github.com/Lyr-7D1h/swayest_workstyle"; license = lib.licenses.mit; mainProgram = "sworkstyle"; - maintainers = with lib.maintainers; [ AndersonTorres ]; + maintainers = with lib.maintainers; [ ]; platforms = lib.platforms.linux; }; } diff --git a/pkgs/by-name/ti/tinyalsa/package.nix b/pkgs/by-name/ti/tinyalsa/package.nix index cae778227c73..e8a388dbef67 100644 --- a/pkgs/by-name/ti/tinyalsa/package.nix +++ b/pkgs/by-name/ti/tinyalsa/package.nix @@ -31,7 +31,7 @@ stdenv.mkDerivation rec { homepage = "https://github.com/tinyalsa/tinyalsa"; description = "Tiny library to interface with ALSA in the Linux kernel"; license = licenses.mit; - maintainers = with maintainers; [ AndersonTorres ]; + maintainers = with maintainers; [ ]; platforms = with platforms; linux; }; } diff --git a/pkgs/by-name/vk/vkd3d-proton/package.nix b/pkgs/by-name/vk/vkd3d-proton/package.nix index f7897b2af283..d5e274cea8cd 100644 --- a/pkgs/by-name/vk/vkd3d-proton/package.nix +++ b/pkgs/by-name/vk/vkd3d-proton/package.nix @@ -44,7 +44,7 @@ stdenv.mkDerivation (finalAttrs: { homepage = "https://github.com/HansKristian-Work/vkd3d-proton"; description = "A fork of VKD3D, which aims to implement the full Direct3D 12 API on top of Vulkan"; license = with lib.licenses; [ lgpl21Plus ]; - maintainers = with lib.maintainers; [ AndersonTorres ]; + maintainers = with lib.maintainers; [ ]; inherit (wine.meta) platforms; }; }) diff --git a/pkgs/by-name/vk/vkd3d/package.nix b/pkgs/by-name/vk/vkd3d/package.nix index b7835e8a9409..458973500d8d 100644 --- a/pkgs/by-name/vk/vkd3d/package.nix +++ b/pkgs/by-name/vk/vkd3d/package.nix @@ -57,7 +57,7 @@ stdenv.mkDerivation (finalAttrs: { ''; license = with lib.licenses; [ lgpl21Plus ]; mainProgram = "vkd3d-compiler"; - maintainers = with lib.maintainers; [ AndersonTorres ]; + maintainers = with lib.maintainers; [ ]; inherit (wine.meta) platforms; }; }) diff --git a/pkgs/by-name/wb/wbg/package.nix b/pkgs/by-name/wb/wbg/package.nix index f4f82a79c289..65ce5cfff483 100644 --- a/pkgs/by-name/wb/wbg/package.nix +++ b/pkgs/by-name/wb/wbg/package.nix @@ -59,7 +59,7 @@ stdenv.mkDerivation rec { homepage = "https://codeberg.org/dnkl/wbg"; changelog = "https://codeberg.org/dnkl/wbg/releases/tag/${version}"; license = licenses.isc; - maintainers = with maintainers; [ AndersonTorres ]; + maintainers = with maintainers; [ ]; platforms = with platforms; linux; mainProgram = "wbg"; }; diff --git a/pkgs/by-name/wt/wtfis/package.nix b/pkgs/by-name/wt/wtfis/package.nix index a4ab234b1b53..80e500ba726e 100644 --- a/pkgs/by-name/wt/wtfis/package.nix +++ b/pkgs/by-name/wt/wtfis/package.nix @@ -39,6 +39,6 @@ in python3.pkgs.buildPythonApplication { description = "Passive hostname, domain and IP lookup tool for non-robots"; mainProgram = "wtfis"; license = lib.licenses.mit; - maintainers = [ lib.maintainers.AndersonTorres ]; + maintainers = [ ]; }; } diff --git a/pkgs/by-name/xp/xpointerbarrier/package.nix b/pkgs/by-name/xp/xpointerbarrier/package.nix index 06dc1c64b790..425018ceb1b1 100644 --- a/pkgs/by-name/xp/xpointerbarrier/package.nix +++ b/pkgs/by-name/xp/xpointerbarrier/package.nix @@ -38,7 +38,6 @@ stdenv.mkDerivation (finalAttrs: { description = "Create X11 pointer barriers around your working area"; license = licenses.mit; maintainers = with maintainers; [ - AndersonTorres xzfc ]; platforms = platforms.linux; diff --git a/pkgs/development/libraries/libopenshot-audio/default.nix b/pkgs/development/libraries/libopenshot-audio/default.nix index 2d8cec21b189..9dfa5e09eddb 100644 --- a/pkgs/development/libraries/libopenshot-audio/default.nix +++ b/pkgs/development/libraries/libopenshot-audio/default.nix @@ -71,7 +71,7 @@ stdenv.mkDerivation (finalAttrs: { JUCE library. ''; license = with lib.licenses; [ gpl3Plus ]; - maintainers = with lib.maintainers; [ AndersonTorres ]; + maintainers = with lib.maintainers; [ ]; platforms = lib.platforms.unix; }; }) diff --git a/pkgs/development/libraries/libopenshot/default.nix b/pkgs/development/libraries/libopenshot/default.nix index 231b0cd109aa..564ad3ac911a 100644 --- a/pkgs/development/libraries/libopenshot/default.nix +++ b/pkgs/development/libraries/libopenshot/default.nix @@ -81,7 +81,7 @@ stdenv.mkDerivation (finalAttrs: { to the world. API currently supports C++, Python, and Ruby. ''; license = with lib.licenses; [ gpl3Plus ]; - maintainers = with lib.maintainers; [ AndersonTorres ]; + maintainers = with lib.maintainers; [ ]; platforms = lib.platforms.unix; }; }) diff --git a/pkgs/development/libraries/libunique/3.x.nix b/pkgs/development/libraries/libunique/3.x.nix index ffc46599cab0..e5e6b21c1b99 100644 --- a/pkgs/development/libraries/libunique/3.x.nix +++ b/pkgs/development/libraries/libunique/3.x.nix @@ -23,7 +23,7 @@ stdenv.mkDerivation rec { homepage = "https://gitlab.gnome.org/Archive/unique"; description = "Library for writing single instance applications"; license = lib.licenses.lgpl21; - maintainers = [ lib.maintainers.AndersonTorres ]; + maintainers = [ ]; platforms = lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/wxSVG/default.nix b/pkgs/development/libraries/wxSVG/default.nix index 5182cc2ff955..a1a08d3eb1d7 100644 --- a/pkgs/development/libraries/wxSVG/default.nix +++ b/pkgs/development/libraries/wxSVG/default.nix @@ -53,7 +53,7 @@ stdenv.mkDerivation rec { Graphics (SVG) files with the wxWidgets toolkit. ''; license = licenses.gpl2Plus; - maintainers = [ maintainers.AndersonTorres ]; + maintainers = [ ]; inherit (wxGTK.meta) platforms; }; } diff --git a/pkgs/development/python-modules/cython/default.nix b/pkgs/development/python-modules/cython/default.nix index 2ce92a1786b7..5e006f8fa183 100644 --- a/pkgs/development/python-modules/cython/default.nix +++ b/pkgs/development/python-modules/cython/default.nix @@ -118,7 +118,7 @@ buildPythonPackage rec { changelog = "https://github.com/cython/cython/blob/${version}/CHANGES.rst"; license = lib.licenses.asl20; mainProgram = "cython"; - maintainers = with lib.maintainers; [ AndersonTorres ]; + maintainers = with lib.maintainers; [ ]; }; } # TODO: investigate recursive loop when doCheck is true diff --git a/pkgs/development/python-modules/docutils/default.nix b/pkgs/development/python-modules/docutils/default.nix index 695d351f03ca..260befeb00f4 100644 --- a/pkgs/development/python-modules/docutils/default.nix +++ b/pkgs/development/python-modules/docutils/default.nix @@ -58,7 +58,7 @@ let psfl gpl3Plus ]; - maintainers = with maintainers; [ AndersonTorres ]; + maintainers = with maintainers; [ ]; }; }; in diff --git a/pkgs/development/python-modules/dotty-dict/default.nix b/pkgs/development/python-modules/dotty-dict/default.nix index 166f3cac9705..b3384fe03f5c 100644 --- a/pkgs/development/python-modules/dotty-dict/default.nix +++ b/pkgs/development/python-modules/dotty-dict/default.nix @@ -22,6 +22,6 @@ buildPythonPackage rec { description = "Dictionary wrapper for quick access to deeply nested keys"; homepage = "https://dotty-dict.readthedocs.io"; license = licenses.mit; - maintainers = with maintainers; [ AndersonTorres ]; + maintainers = with maintainers; [ ]; }; } diff --git a/pkgs/development/python-modules/gistyc/default.nix b/pkgs/development/python-modules/gistyc/default.nix index eaa216ee63c6..e8a0631f7e1a 100644 --- a/pkgs/development/python-modules/gistyc/default.nix +++ b/pkgs/development/python-modules/gistyc/default.nix @@ -37,6 +37,6 @@ buildPythonPackage rec { blocks. ''; license = licenses.gpl3Plus; - maintainers = with maintainers; [ AndersonTorres ]; + maintainers = with maintainers; [ ]; }; } diff --git a/pkgs/development/python-modules/hid/default.nix b/pkgs/development/python-modules/hid/default.nix index e1232bc85934..f8d0535409a5 100644 --- a/pkgs/development/python-modules/hid/default.nix +++ b/pkgs/development/python-modules/hid/default.nix @@ -34,6 +34,6 @@ buildPythonPackage rec { description = "hidapi bindings in ctypes"; homepage = "https://github.com/apmorton/pyhidapi"; license = with licenses; [ mit ]; - maintainers = with maintainers; [ AndersonTorres ]; + maintainers = with maintainers; [ ]; }; } diff --git a/pkgs/development/python-modules/importlib-metadata/default.nix b/pkgs/development/python-modules/importlib-metadata/default.nix index 2d6164d53d8c..c4272412d087 100644 --- a/pkgs/development/python-modules/importlib-metadata/default.nix +++ b/pkgs/development/python-modules/importlib-metadata/default.nix @@ -51,7 +51,6 @@ buildPythonPackage rec { license = licenses.asl20; maintainers = with maintainers; [ fab - AndersonTorres ]; }; } diff --git a/pkgs/development/python-modules/localimport/default.nix b/pkgs/development/python-modules/localimport/default.nix index 3c8e0f07223f..c267b0c81725 100644 --- a/pkgs/development/python-modules/localimport/default.nix +++ b/pkgs/development/python-modules/localimport/default.nix @@ -20,6 +20,6 @@ buildPythonPackage rec { homepage = "https://github.com/NiklasRosenstein/py-localimport"; description = "Isolated import of Python modules"; license = licenses.mit; - maintainers = with maintainers; [ AndersonTorres ]; + maintainers = with maintainers; [ ]; }; } diff --git a/pkgs/development/python-modules/m2r/default.nix b/pkgs/development/python-modules/m2r/default.nix index 9fc1cf12fb4a..c4629efa8751 100644 --- a/pkgs/development/python-modules/m2r/default.nix +++ b/pkgs/development/python-modules/m2r/default.nix @@ -43,7 +43,7 @@ buildPythonPackage rec { homepage = "https://github.com/miyakogi/m2r"; description = "Markdown to reStructuredText converter"; license = licenses.mit; - maintainers = with maintainers; [ AndersonTorres ]; + maintainers = with maintainers; [ ]; # https://github.com/miyakogi/m2r/issues/66 broken = versionAtLeast mistune.version "2"; }; diff --git a/pkgs/development/python-modules/nodepy-runtime/default.nix b/pkgs/development/python-modules/nodepy-runtime/default.nix index ed76a6c56c95..57c68dccc6e1 100644 --- a/pkgs/development/python-modules/nodepy-runtime/default.nix +++ b/pkgs/development/python-modules/nodepy-runtime/default.nix @@ -42,6 +42,6 @@ buildPythonPackage rec { extra. ''; license = licenses.mit; - maintainers = with maintainers; [ AndersonTorres ]; + maintainers = with maintainers; [ ]; }; } diff --git a/pkgs/development/python-modules/yapf/default.nix b/pkgs/development/python-modules/yapf/default.nix index 38e62c57eef8..dfe624106627 100644 --- a/pkgs/development/python-modules/yapf/default.nix +++ b/pkgs/development/python-modules/yapf/default.nix @@ -59,7 +59,6 @@ buildPythonPackage rec { license = lib.licenses.asl20; mainProgram = "yapf"; maintainers = with lib.maintainers; [ - AndersonTorres siddharthist ]; }; diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index f339c7c80c24..6c243b3879b3 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -5975,7 +5975,7 @@ with self; { description = "Hexadecial Dumper"; homepage = "https://github.com/neilb/Data-HexDump"; license = with lib.licenses; [ artistic1 gpl1Plus ]; - maintainers = with maintainers; [ AndersonTorres ]; + maintainers = with maintainers; [ ]; mainProgram = "hexdump"; }; }; From 0396be8262c4507b83eb9dbc1b101621ca4fa7b7 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 22 Sep 2024 20:14:51 -0300 Subject: [PATCH 43/59] ophis: refactor - get rid of python3Packages.callPackage - get rid of rec - fix version format --- pkgs/development/compilers/ophis/default.nix | 66 ++++++++++++-------- pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 40 insertions(+), 28 deletions(-) diff --git a/pkgs/development/compilers/ophis/default.nix b/pkgs/development/compilers/ophis/default.nix index e1945c9b2802..43febd6002bf 100644 --- a/pkgs/development/compilers/ophis/default.nix +++ b/pkgs/development/compilers/ophis/default.nix @@ -1,30 +1,42 @@ -{ lib, buildPythonApplication, fetchFromGitHub }: +{ + lib, + fetchFromGitHub, + python3Packages, + unstableGitUpdater, +}: -buildPythonApplication rec { - pname = "ophis"; - version = "unstable-2019-04-13"; +let + self = python3Packages.buildPythonApplication { + pname = "ophis"; + version = "0-unstable-2019-04-13"; - src = fetchFromGitHub { - owner = "michaelcmartin"; - repo = "Ophis"; - rev = "99f074da278d4ec80689c0e22e20c5552ea12512"; - sha256 = "2x8vwLTSngqQqmVrVh/mM4peATgaRqOSwrfm5XCkg/g="; + src = fetchFromGitHub { + owner = "michaelcmartin"; + repo = "Ophis"; + rev = "99f074da278d4ec80689c0e22e20c5552ea12512"; + hash = "sha256-2x8vwLTSngqQqmVrVh/mM4peATgaRqOSwrfm5XCkg/g="; + }; + + sourceRoot = "${self.src.name}/src"; + + passthru = { + updateScript = unstableGitUpdater { }; + }; + + meta = { + homepage = "http://michaelcmartin.github.io/Ophis/"; + description = "Cross-assembler for the 6502 series of microprocessors"; + longDescription = '' + Ophis is an assembler for the 6502 microprocessor - the famous chip used + in the vast majority of the classic 8-bit computers and consoles. Its + primary design goals are code readability and output flexibility - Ophis + has successfully been used to create programs for the Nintendo + Entertainment System, the Atari 2600, and the Commodore 64. + ''; + license = lib.licenses.mit; + mainProgram = "ophis"; + maintainers = with lib.maintainers; [ AndersonTorres ]; + }; }; - - sourceRoot = "${src.name}/src"; - - meta = with lib; { - homepage = "http://michaelcmartin.github.io/Ophis/"; - description = "Cross-assembler for the 6502 series of microprocessors"; - mainProgram = "ophis"; - longDescription = '' - Ophis is an assembler for the 6502 microprocessor - the famous chip used - in the vast majority of the classic 8-bit computers and consoles. Its - primary design goals are code readability and output flexibility - Ophis - has successfully been used to create programs for the Nintendo - Entertainment System, the Atari 2600, and the Commodore 64. - ''; - license = licenses.mit; - maintainers = with maintainers; [ AndersonTorres ]; - }; -} +in +self diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 7e806f98b32b..bd0998b9b288 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4647,7 +4647,7 @@ with pkgs; ophcrack-cli = ophcrack.override { enableGui = false; }; - ophis = python3Packages.callPackage ../development/compilers/ophis { }; + ophis = callPackage ../development/compilers/ophis { }; open-interpreter = with python3Packages; toPythonApplication open-interpreter; From ad8bd9ff48ed55b162eb6922e298da82ecb1b3fb Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Thu, 21 Nov 2024 20:23:32 -0300 Subject: [PATCH 44/59] ophis: migrate to by-name --- .../ophis/default.nix => by-name/op/ophis/package.nix} | 0 pkgs/top-level/all-packages.nix | 2 -- 2 files changed, 2 deletions(-) rename pkgs/{development/compilers/ophis/default.nix => by-name/op/ophis/package.nix} (100%) diff --git a/pkgs/development/compilers/ophis/default.nix b/pkgs/by-name/op/ophis/package.nix similarity index 100% rename from pkgs/development/compilers/ophis/default.nix rename to pkgs/by-name/op/ophis/package.nix diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index bd0998b9b288..5084d597fa8b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4647,8 +4647,6 @@ with pkgs; ophcrack-cli = ophcrack.override { enableGui = false; }; - ophis = callPackage ../development/compilers/ophis { }; - open-interpreter = with python3Packages; toPythonApplication open-interpreter; openhantek6022 = libsForQt5.callPackage ../applications/science/electronics/openhantek6022 { }; From 39878626c4aef03346c27e8d1083e2aa484de027 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sat, 30 Nov 2024 16:30:38 -0300 Subject: [PATCH 45/59] ophis: remove AndersonTorres from maintainers --- pkgs/by-name/op/ophis/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/op/ophis/package.nix b/pkgs/by-name/op/ophis/package.nix index 43febd6002bf..745bf1d3fc16 100644 --- a/pkgs/by-name/op/ophis/package.nix +++ b/pkgs/by-name/op/ophis/package.nix @@ -35,7 +35,7 @@ let ''; license = lib.licenses.mit; mainProgram = "ophis"; - maintainers = with lib.maintainers; [ AndersonTorres ]; + maintainers = with lib.maintainers; [ ]; }; }; in From 0b9965801d9f4373e06771f7e9a325b58f7b4e34 Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 22 Sep 2024 20:32:03 -0300 Subject: [PATCH 46/59] ophis: 0-unstable-2019-04-13 -> 2.2-unstable-2024-07-28 --- pkgs/by-name/op/ophis/package.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/op/ophis/package.nix b/pkgs/by-name/op/ophis/package.nix index 745bf1d3fc16..a3f93a76da3f 100644 --- a/pkgs/by-name/op/ophis/package.nix +++ b/pkgs/by-name/op/ophis/package.nix @@ -8,16 +8,17 @@ let self = python3Packages.buildPythonApplication { pname = "ophis"; - version = "0-unstable-2019-04-13"; + version = "2.2-unstable-2024-07-28"; + pyproject = true; src = fetchFromGitHub { owner = "michaelcmartin"; repo = "Ophis"; - rev = "99f074da278d4ec80689c0e22e20c5552ea12512"; - hash = "sha256-2x8vwLTSngqQqmVrVh/mM4peATgaRqOSwrfm5XCkg/g="; + rev = "6a5e5a586832e828b598e8162457e673a6c38275"; + hash = "sha256-cxgSgAypS02AO9vjYjNWDY/cx7kxLt1Bdw8HGgGGBhU="; }; - sourceRoot = "${self.src.name}/src"; + build-system = [ python3Packages.setuptools ]; passthru = { updateScript = unstableGitUpdater { }; From c231b5367faa303aff4c48962b0043d401b209d1 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 30 Nov 2024 20:16:11 +0000 Subject: [PATCH 47/59] broot: 1.44.1 -> 1.44.2 --- pkgs/tools/misc/broot/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/broot/default.nix b/pkgs/tools/misc/broot/default.nix index c162829b6ec9..38fc65a74d6c 100644 --- a/pkgs/tools/misc/broot/default.nix +++ b/pkgs/tools/misc/broot/default.nix @@ -19,16 +19,16 @@ rustPlatform.buildRustPackage rec { pname = "broot"; - version = "1.44.1"; + version = "1.44.2"; src = fetchFromGitHub { owner = "Canop"; repo = pname; rev = "v${version}"; - hash = "sha256-Qyc4R5hvSal82/qywriH7agluu6miAC4Y7UUM3VATCo="; + hash = "sha256-rMAGnC1CcHYPLh199a+aKgVdm/xheUQIRSvF+HqeZQE="; }; - cargoHash = "sha256-fsmwjr7EpzR/KKrGWoTeCOI7jmrlTYtjIksc205kRs8="; + cargoHash = "sha256-DVH7dKJEkyBnjNtLK/xfO+Hlw+rr3wTKqyooj5JM2is="; nativeBuildInputs = [ installShellFiles From 2c1373ba934e92ad9b2aa816a9d845146286f006 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 30 Nov 2024 22:34:11 +0000 Subject: [PATCH 48/59] simdutf: 5.6.0 -> 5.6.3 --- pkgs/by-name/si/simdutf/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/si/simdutf/package.nix b/pkgs/by-name/si/simdutf/package.nix index 4aba0ae8d75b..5bec4d0ca1d9 100644 --- a/pkgs/by-name/si/simdutf/package.nix +++ b/pkgs/by-name/si/simdutf/package.nix @@ -7,13 +7,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "simdutf"; - version = "5.6.0"; + version = "5.6.3"; src = fetchFromGitHub { owner = "simdutf"; repo = "simdutf"; rev = "v${finalAttrs.version}"; - hash = "sha256-DJCr+QoCmN0wJiXH+mv4g/zJYFfgJDGw0l6pzPriBVs="; + hash = "sha256-V5Z1EZRm5FaNFz1GSgTYD3ONF4CSE594FLa1e/DETms="; }; # Fix build on darwin From f86d5a84e025e599e7d40cb92e4534b24e24d79e Mon Sep 17 00:00:00 2001 From: seth Date: Sat, 30 Nov 2024 19:04:45 -0500 Subject: [PATCH 49/59] frog-protocols: don't use pulled commit Upstream appears to have force pushed the previous commit away --- pkgs/by-name/fr/frog-protocols/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/fr/frog-protocols/package.nix b/pkgs/by-name/fr/frog-protocols/package.nix index e9bc5e87fe79..0219d0461ff5 100644 --- a/pkgs/by-name/fr/frog-protocols/package.nix +++ b/pkgs/by-name/fr/frog-protocols/package.nix @@ -15,8 +15,8 @@ stdenv.mkDerivation (finalAttrs: { src = fetchFromGitHub { owner = "misyltoad"; repo = "frog-protocols"; - rev = "17be81da707722b4f907c5287def442351b219b0"; - hash = "sha256-N8a+o5I7CRoONCvjMHVmPkJTVncczuFVRHEtMFzMzss="; + rev = "38db7e30e62a988f701a2751447e0adffd68bb3f"; + hash = "sha256-daWGw6mRmiz6f81JkMacPipXppRxbjL6gS1VqYlfec8="; }; nativeBuildInputs = [ From 116a52786c2731c53d04590085cc154ebee35d92 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 1 Dec 2024 01:49:40 +0000 Subject: [PATCH 50/59] python312Packages.qdrant-client: 1.11.3 -> 1.12.1 --- pkgs/development/python-modules/qdrant-client/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/qdrant-client/default.nix b/pkgs/development/python-modules/qdrant-client/default.nix index a42bdab7c1ab..abab537c6d4c 100644 --- a/pkgs/development/python-modules/qdrant-client/default.nix +++ b/pkgs/development/python-modules/qdrant-client/default.nix @@ -18,7 +18,7 @@ buildPythonPackage rec { pname = "qdrant-client"; - version = "1.11.3"; + version = "1.12.1"; pyproject = true; disabled = pythonOlder "3.7"; @@ -27,7 +27,7 @@ buildPythonPackage rec { owner = "qdrant"; repo = "qdrant-client"; rev = "refs/tags/v${version}"; - hash = "sha256-1tBlWwD2GaphwupWUWRYwYrqGV9cTfG4k1L9N5mub/Q="; + hash = "sha256-rElbGIXnhkHaAvtneEMhyyhySFlT4UT/vhhIlRD3xT0="; }; build-system = [ poetry-core ]; From b9d9802d721aba96d43022c9aaa5e884f08ab79b Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 1 Dec 2024 02:10:49 +0000 Subject: [PATCH 51/59] youtrack: 2024.3.47197 -> 2024.3.52635 --- pkgs/by-name/yo/youtrack/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/yo/youtrack/package.nix b/pkgs/by-name/yo/youtrack/package.nix index 358e51f8ab64..430e5d94d5c8 100644 --- a/pkgs/by-name/yo/youtrack/package.nix +++ b/pkgs/by-name/yo/youtrack/package.nix @@ -2,11 +2,11 @@ stdenvNoCC.mkDerivation (finalAttrs: { pname = "youtrack"; - version = "2024.3.47197"; + version = "2024.3.52635"; src = fetchzip { url = "https://download.jetbrains.com/charisma/youtrack-${finalAttrs.version}.zip"; - hash = "sha256-/XTZERUPA7AEvWQsnjDXDVVkmiEn+0D8qgQkOzTJFaA="; + hash = "sha256-aCNKlZmOdIJsyYrh6c6dg21X3H+r6nThrw1HUg8iTqk="; }; nativeBuildInputs = [ makeBinaryWrapper ]; From 767b0e3398fb899d0c88a9f7aecf30dd1cad3166 Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Sat, 30 Nov 2024 22:50:34 +0100 Subject: [PATCH 52/59] influxdb-cxx: 0.7.2 -> 0.7.3 Also remove the patch, which is included in the new version. --- pkgs/by-name/in/influxdb-cxx/package.nix | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/pkgs/by-name/in/influxdb-cxx/package.nix b/pkgs/by-name/in/influxdb-cxx/package.nix index 1869990db5e6..4859df6adf79 100644 --- a/pkgs/by-name/in/influxdb-cxx/package.nix +++ b/pkgs/by-name/in/influxdb-cxx/package.nix @@ -2,23 +2,15 @@ stdenv.mkDerivation (finalAttrs: { pname = "influxdb-cxx"; - version = "0.7.2"; + version = "0.7.3"; src = fetchFromGitHub { owner = "offa"; repo = "influxdb-cxx"; rev = "v${finalAttrs.version}"; - hash = "sha256-DFslPrbgqS3JGx62oWlsC+AN5J2CsFjGcDaDRCadw7E="; + hash = "sha256-UlCmaw2mWAL5PuNXXGQa602Qxlf5BCr7ZIiShffG74o="; }; - patches = [ - # Fix unclosed test case tag - (fetchpatch { - url = "https://github.com/offa/influxdb-cxx/commit/b31f94982fd1d50e89ce04f66c694bec108bf470.patch"; - hash = "sha256-oSdpNlWV744VpzfiWzp0ziNKaReLTlyfJ+SF2qyH+TU="; - }) - ]; - postPatch = '' substituteInPlace CMakeLists.txt --replace "-Werror" "" ''; From 0a644d62935fd8c0e6d9244c2ee2e8f6c2b6158c Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 29 Nov 2024 19:43:51 +0000 Subject: [PATCH 53/59] libcpr: 1.11.0 -> 1.11.1 --- pkgs/by-name/li/libcpr/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/li/libcpr/package.nix b/pkgs/by-name/li/libcpr/package.nix index abbf0dcb6e6e..69852a3b150f 100644 --- a/pkgs/by-name/li/libcpr/package.nix +++ b/pkgs/by-name/li/libcpr/package.nix @@ -8,7 +8,7 @@ }: let - version = "1.11.0"; + version = "1.11.1"; in stdenv.mkDerivation { pname = "libcpr"; @@ -23,7 +23,7 @@ stdenv.mkDerivation { owner = "libcpr"; repo = "cpr"; rev = version; - hash = "sha256-jWyss0krj8MVFqU1LAig+4UbXO5pdcWIT+hCs9DxemM="; + hash = "sha256-RIRqkb2Id3cyz35LM4bYftMv1NGyDyFP4fL4L5mHV8A="; }; nativeBuildInputs = [ cmake ]; From 34712a63c5a3dccf6e9c66cbf2f072bc652645fe Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 1 Dec 2024 08:09:54 +0000 Subject: [PATCH 54/59] darklua: 0.13.1 -> 0.14.1 --- pkgs/by-name/da/darklua/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/da/darklua/package.nix b/pkgs/by-name/da/darklua/package.nix index fd31987ff364..14c417aa0825 100644 --- a/pkgs/by-name/da/darklua/package.nix +++ b/pkgs/by-name/da/darklua/package.nix @@ -8,16 +8,16 @@ rustPlatform.buildRustPackage rec { pname = "darklua"; - version = "0.13.1"; + version = "0.14.1"; src = fetchFromGitHub { owner = "seaofvoices"; repo = "darklua"; rev = "v${version}"; - hash = "sha256-cabYENU4U+KisfXbiXcWojQM/nwzcVvM3QpYWOX7NtQ="; + hash = "sha256-Q0kNt+4Nu7zVniiTRzGu7pNfWiXkxGaYkzgelaECn9U="; }; - cargoHash = "sha256-fYx+SQdQMnNSygr0/Y4zEPtqfQPZYmQUq3ndi1HlXuE="; + cargoHash = "sha256-G3XvfDQjx1wbALnTQbSHOvBWc5JTKzwJFwNABtK12sM="; buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ darwin.apple_sdk.frameworks.CoreServices From 6c6eb45a8de717bec85905f91ec61fc6384f7752 Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Fri, 26 Jul 2024 04:13:16 +0200 Subject: [PATCH 55/59] hardinfo2: init at 2.2.4 --- pkgs/by-name/ha/hardinfo2/package.nix | 95 +++++++++++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 pkgs/by-name/ha/hardinfo2/package.nix diff --git a/pkgs/by-name/ha/hardinfo2/package.nix b/pkgs/by-name/ha/hardinfo2/package.nix new file mode 100644 index 000000000000..205894201b05 --- /dev/null +++ b/pkgs/by-name/ha/hardinfo2/package.nix @@ -0,0 +1,95 @@ +{ + lib, + stdenv, + fetchFromGitHub, + + cmake, + pkg-config, + libsForQt5, + wrapGAppsHook4, + + gtk3, + json-glib, + lerc, + libdatrie, + libepoxy, + libnghttp2, + libpsl, + libselinux, + libsepol, + libsoup_3, + libsysprof-capture, + libthai, + libxkbcommon, + pcre2, + sqlite, + util-linux, + libXdmcp, + libXtst, +}: + +stdenv.mkDerivation (finalAtrs: { + pname = "hardinfo2"; + version = "2.2.4"; + + src = fetchFromGitHub { + owner = "hardinfo2"; + repo = "hardinfo2"; + rev = "refs/tags/release-${finalAtrs.version}"; + hash = "sha256-UgVryuUkD9o2SvwA9VbX/kCaAo3+Osf6FxlYyaRX1Ag="; + }; + + nativeBuildInputs = [ + cmake + pkg-config + wrapGAppsHook4 + libsForQt5.wrapQtAppsHook + ]; + + preFixup = '' + makeWrapperArgs+=("''${qtWrapperArgs[@]}") + ''; + + dontWrapQtApps = true; + + buildInputs = [ + gtk3 + json-glib + lerc + libdatrie + libepoxy + libnghttp2 + libpsl + libselinux + libsepol + libsoup_3 + libsysprof-capture + libthai + libxkbcommon + pcre2 + sqlite + util-linux + libXdmcp + libXtst + ]; + + hardeningDisable = [ "fortify" ]; + + cmakeFlags = [ + (lib.cmakeFeature "CMAKE_INSTALL_DATAROOTDIR" "${placeholder "out"}/share") + (lib.cmakeFeature "CMAKE_INSTALL_SERVICEDIR" "${placeholder "out"}/lib") + ]; + + meta = { + homepage = "http://www.hardinfo2.org"; + description = "System information and benchmarks for Linux systems"; + license = with lib.licenses; [ + gpl2Plus + gpl3Plus + lgpl2Plus + ]; + maintainers = with lib.maintainers; [ sigmanificient ]; + platforms = lib.platforms.linux; + mainProgram = "hardinfo"; + }; +}) From e61a2da3885cf5846476b643152cedc86516d802 Mon Sep 17 00:00:00 2001 From: Victor Engmark Date: Fri, 9 Jun 2023 10:29:14 +1200 Subject: [PATCH 56/59] nixos-rebuild: Fix ShellCheck issue ShellCheck recommends splitting this into `mkdir` + `chmod`, but based on the discussion with @bjornfor in #357447 it's probably better to keep the atomic directory creation and the probable intent of the original code. --- pkgs/os-specific/linux/nixos-rebuild/nixos-rebuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/nixos-rebuild/nixos-rebuild.sh b/pkgs/os-specific/linux/nixos-rebuild/nixos-rebuild.sh index 43d5653156cb..9e4fde59172c 100755 --- a/pkgs/os-specific/linux/nixos-rebuild/nixos-rebuild.sh +++ b/pkgs/os-specific/linux/nixos-rebuild/nixos-rebuild.sh @@ -141,7 +141,7 @@ while [ "$#" -gt 0 ]; do fi if [ "$1" != system ]; then profile="/nix/var/nix/profiles/system-profiles/$1" - mkdir -p -m 0755 "$(dirname "$profile")" + (umask 022 && mkdir -p "$(dirname "$profile")") fi shift 1 ;; From ee0dd6764b7134207dce2081ae1f12f3cde271bc Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sun, 1 Dec 2024 10:01:57 +0100 Subject: [PATCH 57/59] open-webui: 0.4.6 -> 0.4.7 Diff: https://github.com/open-webui/open-webui/compare/v0.4.6..v0.4.7 Changelog: https://github.com/open-webui/open-webui/releases/tag/v0.4.7 --- pkgs/by-name/op/open-webui/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/op/open-webui/package.nix b/pkgs/by-name/op/open-webui/package.nix index f60494cc1234..ba449c3bb7dd 100644 --- a/pkgs/by-name/op/open-webui/package.nix +++ b/pkgs/by-name/op/open-webui/package.nix @@ -7,19 +7,19 @@ }: let pname = "open-webui"; - version = "0.4.6"; + version = "0.4.7"; src = fetchFromGitHub { owner = "open-webui"; repo = "open-webui"; rev = "refs/tags/v${version}"; - hash = "sha256-Zzytv2OLy3RENNWzRjjDh7xnJyX+H9/dh1Xj2HIsn6I="; + hash = "sha256-LQFedDcECmS142tGH9+/7ic+wKTeMuysK2fjGmvYPYQ="; }; frontend = buildNpmPackage { inherit pname version src; - npmDepsHash = "sha256-36GdyqKcqhOYi1kRwXe0YTOtwbVUcEvLPPYy/A0IgE0="; + npmDepsHash = "sha256-KeHMt51QvF5qfHKQpEbM0ukGm34xo3TFcXKeZ3CrmHM="; # Disabling `pyodide:fetch` as it downloads packages during `buildPhase` # Until this is solved, running python packages from the browser will not work. From 3ddb98b6905710edc430754fe10431406fe763ab Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 1 Dec 2024 09:31:20 +0000 Subject: [PATCH 58/59] ariang: 1.3.7 -> 1.3.8 --- pkgs/by-name/ar/ariang/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ar/ariang/package.nix b/pkgs/by-name/ar/ariang/package.nix index 0427a823c7b8..4afff3dcd063 100644 --- a/pkgs/by-name/ar/ariang/package.nix +++ b/pkgs/by-name/ar/ariang/package.nix @@ -6,16 +6,16 @@ buildNpmPackage rec { pname = "ariang"; - version = "1.3.7"; + version = "1.3.8"; src = fetchFromGitHub { owner = "mayswind"; repo = "AriaNg"; rev = version; - hash = "sha256-p9EwlmI/xO3dX5ZpbDVVxajQySGYcJj5G57F84zYAD0="; + hash = "sha256-B7gyBVryRn1SwUIqzxc1MYDS8l/mxMfJtE1/ZrBjC1E="; }; - npmDepsHash = "sha256-xX8hD303CWlpsYoCfwHWgOuEFSp1A+M1S53H+4pyAUQ="; + npmDepsHash = "sha256-DmACToIdXfAqiXe13vevWrpWDY1YgRWVaTfdlk5uhPg="; makeCacheWritable = true; From 8a59b79070d9b71fdfb2531fe053a57126ec9889 Mon Sep 17 00:00:00 2001 From: nicoo Date: Sun, 1 Dec 2024 10:07:46 +0000 Subject: [PATCH 59/59] lib.filesystem.packagesFromDirectoryRecursive: refactor (#359941) No functional changes. - Centralize the logic classifying files/directories of interest, instead of being spread between `directoryEntryIsPackage` and `directoryEntryToAttrPair`. - Replace a composition of `mapAttrs'` and `filterAttrs` with `concatMapAttrs`. - Simplify future improvements, such as creating nested scopes for subdirs, or ignoring unsupported files. --- lib/filesystem.nix | 73 +++++++++++++++++----------------------------- 1 file changed, 27 insertions(+), 46 deletions(-) diff --git a/lib/filesystem.nix b/lib/filesystem.nix index 5a78bcca4ebd..f9fd4a981b2d 100644 --- a/lib/filesystem.nix +++ b/lib/filesystem.nix @@ -18,7 +18,10 @@ let ; inherit (lib.filesystem) + pathIsDirectory + pathIsRegularFile pathType + packagesFromDirectoryRecursive ; inherit (lib.strings) @@ -360,52 +363,30 @@ in directory, ... }: + assert pathIsDirectory directory; let - # Determine if a directory entry from `readDir` indicates a package or - # directory of packages. - directoryEntryIsPackage = basename: type: - type == "directory" || hasSuffix ".nix" basename; - - # List directory entries that indicate packages in the given `path`. - packageDirectoryEntries = path: - filterAttrs directoryEntryIsPackage (readDir path); - - # Transform a directory entry (a `basename` and `type` pair) into a - # package. - directoryEntryToAttrPair = subdirectory: basename: type: - let - path = subdirectory + "/${basename}"; - in - if type == "regular" - then - { - name = removeSuffix ".nix" basename; - value = callPackage path { }; - } - else - if type == "directory" - then - { - name = basename; - value = packagesFromDirectory path; - } - else - throw - '' - lib.filesystem.packagesFromDirectoryRecursive: Unsupported file type ${type} at path ${toString subdirectory} - ''; - - # Transform a directory into a package (if there's a `package.nix`) or - # set of packages (otherwise). - packagesFromDirectory = path: - let - defaultPackagePath = path + "/package.nix"; - in - if pathExists defaultPackagePath - then callPackage defaultPackagePath { } - else mapAttrs' - (directoryEntryToAttrPair path) - (packageDirectoryEntries path); + inherit (lib.path) append; + defaultPath = append directory "package.nix"; in - packagesFromDirectory directory; + if pathIsRegularFile defaultPath then + # if `${directory}/package.nix` exists, call it directly + callPackage defaultPath {} + else lib.concatMapAttrs (name: type: + # otherwise, for each directory entry + let path = append directory name; in + if type == "directory" then { + # recurse into directories + "${name}" = packagesFromDirectoryRecursive { + inherit callPackage; + directory = path; + }; + } else if type == "regular" && hasSuffix ".nix" name then { + # call .nix files + "${lib.removeSuffix ".nix" name}" = callPackage path {}; + } else if type == "regular" then { + # ignore non-nix files + } else throw '' + lib.filesystem.packagesFromDirectoryRecursive: Unsupported file type ${type} at path ${toString path} + '' + ) (builtins.readDir directory); }