Merge staging-next into staging

authored by github-actions[bot] and committed by GitHub 7aea2e99 9387bb89

+792 -1169
+29
doc/hooks/haredo.section.md
··· 1 + # `haredo` {#haredo-hook} 2 + 3 + This hook uses [the `haredo` command runner](https://sr.ht/~autumnull/haredo/) to build, check, and install the package. It overrides `buildPhase`, `checkPhase`, and `installPhase` by default. 4 + 5 + The hook builds its targets in parallel if [`config.enableParallelBuilding`](#var-stdenv-enableParallelBuilding) is set to `true`. 6 + 7 + ## `buildPhase` {#haredo-hook-buildPhase} 8 + 9 + This phase attempts to build the default target. 10 + 11 + []{#haredo-hook-haredoBuildTargets} Targets can be explicitly set by adding a string to the `haredoBuildTargets` list. 12 + 13 + []{#haredo-hook-dontUseHaredoBuild} This behavior can be disabled by setting `dontUseHaredoBuild` to `true`. 14 + 15 + ## `checkPhase` {#haredo-hook-checkPhase} 16 + 17 + This phase searches for the `check.do` or `test.do` targets, running them if they exist. 18 + 19 + []{#haredo-hook-haredoCheckTargets} Targets can be explicitly set by adding a string to the `haredoCheckTargets` list. 20 + 21 + []{#haredo-hook-dontUseHaredoCheck} This behavior can be disabled by setting `dontUseHaredoCheck` to `true`. 22 + 23 + ## `installPhase` {#haredo-hook-installPhase} 24 + 25 + This phase attempts to build the `install.do` target, if it exists. 26 + 27 + []{#haredo-hook-haredoInstallTargets} Targets can be explicitly set by adding a string to the `haredoInstallTargets` list. 28 + 29 + []{#haredo-hook-dontUseHaredoInstall} This behavior can be disabled by setting `dontUseHaredoInstall` to `true`.
+1
doc/hooks/index.md
··· 15 15 gdk-pixbuf.section.md 16 16 ghc.section.md 17 17 gnome.section.md 18 + haredo.section.md 18 19 installShellFiles.section.md 19 20 libiconv.section.md 20 21 libxml2.section.md
-7
maintainers/maintainer-list.nix
··· 10889 10889 githubId = 8211181; 10890 10890 name = "Kevin Kandlbinder"; 10891 10891 }; 10892 - kfears = { 10893 - email = "kfearsoff@gmail.com"; 10894 - github = "KFearsoff"; 10895 - githubId = 66781795; 10896 - matrix = "@kfears:matrix.org"; 10897 - name = "KFears"; 10898 - }; 10899 10892 kfollesdal = { 10900 10893 email = "kfollesdal@gmail.com"; 10901 10894 github = "kfollesdal";
+12 -8
nixos/doc/manual/installation/installing.chapter.md
··· 496 496 Retype new password: *** 497 497 ``` 498 498 499 + If you have a user account declared in your `configuration.nix` and plan to log in using this user, set a password before rebooting, e.g. for the `alice` user: 500 + 501 + ```ShellSession 502 + # nixos-enter --root /mnt -c 'passwd alice' 503 + ``` 504 + 499 505 ::: {.note} 500 506 For unattended installations, it is possible to use 501 507 `nixos-install --no-root-passwd` in order to disable the password ··· 515 521 menu. This allows you to easily roll back to a previous 516 522 configuration if something goes wrong. 517 523 518 - You should log in and change the `root` password with `passwd`. 524 + Use your declared user account to log in. 525 + If you didn’t declare one, you should still be able to log in using the `root` user. 519 526 520 - You'll probably want to create some user accounts as well, which can 521 - be done with `useradd`: 522 - 523 - ```ShellSession 524 - $ useradd -c 'Eelco Dolstra' -m eelco 525 - $ passwd eelco 526 - ``` 527 + ::: {.note} 528 + Some graphical display managers such as SDDM do not allow `root` login by default, so you might need to switch to TTY. 529 + Refer to [](#sec-user-management) for details on declaring user accounts. 530 + ::: 527 531 528 532 You may also want to install some software. This will be covered in 529 533 [](#sec-package-management).
+2 -2
nixos/modules/services/networking/firewall.nix
··· 186 186 ''; 187 187 }; 188 188 189 - lib.filterForward = lib.mkOption { 189 + filterForward = lib.mkOption { 190 190 type = lib.types.bool; 191 191 default = false; 192 192 description = '' ··· 263 263 264 264 assertions = [ 265 265 { 266 - assertion = cfg.lib.filterForward -> config.networking.nftables.enable; 266 + assertion = cfg.filterForward -> config.networking.nftables.enable; 267 267 message = "filterForward only works with the nftables based firewall"; 268 268 } 269 269 {
+1 -1
nixos/modules/services/networking/shairport-sync.nix
··· 82 82 createHome = true; 83 83 home = "/var/lib/shairport-sync"; 84 84 group = cfg.group; 85 - extraGroups = [ "audio" ] ++ optional config.hardware.pulseaudio.enable "pulse"; 85 + extraGroups = [ "audio" ] ++ optional (config.hardware.pulseaudio.enable || config.services.pipewire.pulse.enable) "pulse"; 86 86 }; 87 87 groups.${cfg.group} = {}; 88 88 };
+1 -1
nixos/tests/grafana/provision/default.nix
··· 162 162 name = "grafana-provision"; 163 163 164 164 meta = with maintainers; { 165 - maintainers = [ kfears willibutz ]; 165 + maintainers = [ willibutz ]; 166 166 }; 167 167 168 168 inherit nodes;
-49
pkgs/applications/audio/aumix/default.nix
··· 1 - { lib 2 - , stdenv 3 - , fetchurl 4 - , fetchpatch 5 - , gettext 6 - , ncurses 7 - , gtkGUI ? false 8 - , pkg-config 9 - , gtk2 10 - }: 11 - 12 - stdenv.mkDerivation rec { 13 - pname = "aumix"; 14 - version = "2.9.1"; 15 - 16 - src = fetchurl { 17 - url = "http://www.jpj.net/~trevor/aumix/releases/aumix-${version}.tar.bz2"; 18 - sha256 = "0a8fwyxnc5qdxff8sl2sfsbnvgh6pkij4yafiln0fxgg6bal7knj"; 19 - }; 20 - 21 - patches = [ 22 - # Pull Gentoo fix for -fno-common toolchains. Upstream does not 23 - # seem to have the contacts 24 - (fetchpatch { 25 - name = "fno-common.patch"; 26 - url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/media-sound/aumix/files/aumix-2.9.1-fno-common.patch?id=496c9ec7355f06f6d1d19be780a6981503e6df1f"; 27 - sha256 = "0qwylhx1hawsmx1pc7ykrjq9phksc73dq9rss6ggq15n3ggnc95y"; 28 - }) 29 - ]; 30 - 31 - nativeBuildInputs = lib.optionals gtkGUI [ pkg-config ]; 32 - 33 - buildInputs = [ gettext ncurses ] 34 - ++ lib.optionals gtkGUI [ gtk2 ]; 35 - 36 - configureFlags = lib.optionals (!gtkGUI) ["--without-gtk"]; 37 - 38 - meta = with lib; { 39 - description = "Audio mixer for X and the console"; 40 - longDescription = '' 41 - Aumix adjusts an audio mixer from X, the console, a terminal, 42 - the command line or a script. 43 - ''; 44 - homepage = "http://www.jpj.net/~trevor/aumix.html"; 45 - license = licenses.gpl2Plus; 46 - maintainers = [ ]; 47 - platforms = platforms.linux; 48 - }; 49 - }
-67
pkgs/applications/audio/gmpc/default.nix
··· 1 - { lib 2 - , stdenv 3 - , fetchurl 4 - , libtool 5 - , intltool 6 - , pkg-config 7 - , glib 8 - , gtk2 9 - , curl 10 - , libmpdclient 11 - , libsoup 12 - , gob2 13 - , vala 14 - , libunique 15 - , libSM 16 - , libICE 17 - , sqlite 18 - , hicolor-icon-theme 19 - , wrapGAppsHook3 20 - }: 21 - 22 - stdenv.mkDerivation rec { 23 - pname = "gmpc"; 24 - version = "11.8.16"; 25 - 26 - libmpd = stdenv.mkDerivation { 27 - pname = "libmpd"; 28 - version = "11.8.17"; 29 - src = fetchurl { 30 - url = "https://download.sarine.nl/Programs/gmpc/${lib.versions.majorMinor version}/libmpd-${version}.tar.gz"; 31 - sha256 = "10vspwsgr8pwf3qp2bviw6b2l8prgdiswgv7qiqiyr0h1mmk487y"; 32 - }; 33 - patches = [ ./libmpd-11.8.17-remove-strndup.patch ]; 34 - 35 - nativeBuildInputs = [ pkg-config ]; 36 - buildInputs = [ glib ]; 37 - }; 38 - 39 - src = fetchurl { 40 - url = "http://download.sarine.nl/Programs/gmpc/11.8/gmpc-11.8.16.tar.gz"; 41 - sha256 = "0b3bnxf98i5lhjyljvgxgx9xmb6p46cn3a9cccrng14nagri9556"; 42 - }; 43 - 44 - nativeBuildInputs = [ pkg-config libtool intltool gob2 vala wrapGAppsHook3 ]; 45 - buildInputs = [ 46 - glib 47 - gtk2 48 - curl 49 - libmpdclient 50 - libsoup 51 - libunique 52 - libmpd 53 - libSM 54 - libICE 55 - sqlite 56 - hicolor-icon-theme 57 - ]; 58 - 59 - meta = with lib; { 60 - homepage = "https://gmpclient.org"; 61 - description = "GTK2 frontend for Music Player Daemon"; 62 - license = licenses.gpl2; 63 - maintainers = [ ]; 64 - platforms = platforms.linux; 65 - }; 66 - } 67 - # TODO: what is this libmpd derivation embedded above?
-15
pkgs/applications/audio/gmpc/libmpd-11.8.17-remove-strndup.patch
··· 1 - diff --git a/src/libmpd-internal.h b/src/libmpd-internal.h 2 - index c84c3a4..51be441 100644 3 - --- a/src/libmpd-internal.h 4 - +++ b/src/libmpd-internal.h 5 - @@ -206,10 +206,6 @@ int mpd_unlock_conn(MpdObj *mi); 6 - MpdData * mpd_misc_sort_tag_list(MpdData *data); 7 - 8 - 9 - -#ifndef HAVE_STRNDUP 10 - -char * strndup (const char *s, size_t n); 11 - -#endif 12 - - 13 - int mpd_server_get_allowed_commands(MpdObj *mi); 14 - typedef enum _MpdSearchType { 15 - MPD_SEARCH_TYPE_NONE,
-40
pkgs/applications/audio/mhwaveedit/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, makeWrapper, SDL, alsa-lib, autoreconfHook, gtk2, libjack2, ladspaH 2 - , ladspaPlugins, libsamplerate, libsndfile, pkg-config, libpulseaudio, lame 3 - , vorbis-tools }: 4 - 5 - stdenv.mkDerivation rec { 6 - pname = "mhwaveedit"; 7 - version = "1.4.24"; 8 - 9 - src = fetchFromGitHub { 10 - owner = "magnush"; 11 - repo = "mhwaveedit"; 12 - rev = "v${version}"; 13 - sha256 = "037pbq23kh8hsih994x2sv483imglwcrqrx6m8visq9c46fi0j1y"; 14 - }; 15 - 16 - nativeBuildInputs = [ autoreconfHook makeWrapper pkg-config ]; 17 - 18 - preAutoreconf = "(cd docgen && sh gendocs.sh)"; 19 - 20 - buildInputs = [ 21 - SDL alsa-lib gtk2 libjack2 ladspaH libsamplerate libsndfile libpulseaudio 22 - ]; 23 - 24 - configureFlags = [ "--with-default-ladspa-path=${ladspaPlugins}/lib/ladspa" ]; 25 - 26 - postInstall = '' 27 - wrapProgram $out/bin/mhwaveedit \ 28 - --prefix PATH : ${lame}/bin/ \ 29 - --prefix PATH : ${vorbis-tools}/bin/ 30 - ''; 31 - 32 - meta = with lib; { 33 - description = "Graphical program for editing, playing and recording sound files"; 34 - mainProgram = "mhwaveedit"; 35 - homepage = "https://github.com/magnush/mhwaveedit"; 36 - license = licenses.gpl2Plus; 37 - platforms = platforms.linux; 38 - maintainers = [ ]; 39 - }; 40 - }
-46
pkgs/applications/audio/mp3info/default.nix
··· 1 - { fetchurl, lib, stdenv, ncurses, pkg-config, gtk2 }: 2 - 3 - stdenv.mkDerivation rec { 4 - pname = "mp3info"; 5 - version = "0.8.5a"; 6 - 7 - src = fetchurl { 8 - url = "ftp://ftp.ibiblio.org/pub/linux/apps/sound/mp3-utils/${pname}/${pname}-${version}.tgz"; 9 - sha256 = "042f1czcs9n2sbqvg4rsvfwlqib2gk976mfa2kxlfjghx5laqf04"; 10 - }; 11 - 12 - nativeBuildInputs = [ pkg-config ]; 13 - buildInputs = [ ncurses gtk2 ]; 14 - 15 - hardeningDisable = [ "format" ]; 16 - 17 - configurePhase = 18 - '' sed -i Makefile \ 19 - -e "s|^prefix=.*$|prefix=$out|g ; 20 - s|/bin/rm|rm|g ; 21 - s|/usr/bin/install|install|g" 22 - ''; 23 - 24 - preInstall = 25 - '' mkdir -p "$out/bin" 26 - mkdir -p "$out/man/man1" 27 - ''; 28 - 29 - meta = { 30 - description = "MP3 technical info viewer and ID3 1.x tag editor"; 31 - 32 - longDescription = 33 - '' MP3Info is a little utility used to read and modify the ID3 tags of 34 - MP3 files. MP3Info can also display various techincal aspects of an 35 - MP3 file including playing time, bit-rate, sampling frequency and 36 - other attributes in a pre-defined or user-specifiable output format. 37 - ''; 38 - 39 - homepage = "http://www.ibiblio.org/mp3info/"; 40 - 41 - license = lib.licenses.gpl2Plus; 42 - 43 - maintainers = [ ]; 44 - platforms = lib.platforms.linux; 45 - }; 46 - }
+3 -5
pkgs/applications/editors/emacs/elisp-packages/elpa-devel-packages.nix
··· 26 26 27 27 self: let 28 28 29 - markBroken = pkg: pkg.override { 30 - elpaBuild = args: self.elpaBuild (args // { 31 - meta = (args.meta or {}) // { broken = true; }; 32 - }); 33 - }; 29 + inherit (import ./lib-override-helper.nix pkgs) 30 + markBroken 31 + ; 34 32 35 33 # Use custom elpa url fetcher with fallback/uncompress 36 34 fetchurl = buildPackages.callPackage ./fetchelpa.nix { };
+3 -5
pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix
··· 26 26 27 27 self: let 28 28 29 - markBroken = pkg: pkg.override { 30 - elpaBuild = args: self.elpaBuild (args // { 31 - meta = (args.meta or {}) // { broken = true; }; 32 - }); 33 - }; 29 + inherit (import ./lib-override-helper.nix pkgs) 30 + markBroken 31 + ; 34 32 35 33 # Use custom elpa url fetcher with fallback/uncompress 36 34 fetchurl = buildPackages.callPackage ./fetchelpa.nix { };
+28
pkgs/applications/editors/emacs/elisp-packages/lib-override-helper.nix
··· 1 + pkgs: 2 + 3 + rec { 4 + buildWithGit = 5 + pkg: 6 + pkg.overrideAttrs (previousAttrs: { 7 + nativeBuildInputs = previousAttrs.nativeBuildInputs or [ ] ++ [ pkgs.git ]; 8 + }); 9 + 10 + dontConfigure = pkg: pkg.overrideAttrs { dontConfigure = true; }; 11 + 12 + externalSrc = 13 + pkg: epkg: 14 + pkg.overrideAttrs (previousAttrs: { 15 + inherit (epkg) src version; 16 + propagatedUserEnvPkgs = previousAttrs.propagatedUserEnvPkgs or [ ] ++ [ epkg ]; 17 + }); 18 + 19 + fix-rtags = pkg: dontConfigure (externalSrc pkg pkgs.rtags); 20 + 21 + markBroken = 22 + pkg: 23 + pkg.overrideAttrs (previousAttrs: { 24 + meta = previousAttrs.meta or { } // { 25 + broken = true; 26 + }; 27 + }); 28 + }
+10 -10
pkgs/applications/editors/emacs/elisp-packages/manual-packages/mu4e/package.nix
··· 1 - { elpaBuild, mu }: 1 + { 2 + lib, 3 + elpaBuild, 4 + mu, 5 + }: 2 6 3 - let 7 + elpaBuild { 4 8 pname = "mu4e"; 5 9 version = mu.mu4e.version; 6 - in 7 - elpaBuild { 8 - inherit pname version; 9 10 10 11 src = mu.mu4e; 11 12 ··· 15 16 16 17 # prepare a multi-file package tar archive according to info 17 18 # "(elisp) Multi-file Packages" for elpaBuild to install 18 - postUnpack = '' 19 - pushd mu-*-mu4e 20 - local content_directory=${pname}-${version} 19 + postBuild = '' 20 + local content_directory=$pname-$version 21 21 mkdir $content_directory 22 22 cp --verbose share/emacs/site-lisp/mu4e/*.el $content_directory/ 23 23 rm --verbose --force $content_directory/mu4e-autoloads.el 24 24 cp --verbose share/info/* $content_directory/ 25 25 src=$PWD/$content_directory.tar 26 26 tar --create --verbose --file=$src $content_directory 27 - popd 28 27 ''; 29 28 30 29 ignoreCompilationError = false; 31 30 32 - meta = mu.meta // { 31 + meta = removeAttrs mu.meta [ "mainProgram" ] // { 33 32 description = "Full-featured e-mail client"; 33 + maintainers = mu.meta.maintainers ++ (with lib.maintainers; [ linj ]); 34 34 }; 35 35 }
+7 -29
pkgs/applications/editors/emacs/elisp-packages/melpa-packages.nix
··· 30 30 31 31 { lib, pkgs }: variant: self: 32 32 let 33 - dontConfigure = pkg: 34 - pkg.override (args: { 35 - melpaBuild = drv: args.melpaBuild (drv // { 36 - dontConfigure = true; 37 - }); 38 - }); 39 - 40 - markBroken = pkg: 41 - pkg.override (args: { 42 - melpaBuild = drv: args.melpaBuild (drv // { 43 - meta = (drv.meta or { }) // { broken = true; }; 44 - }); 45 - }); 46 - 47 - externalSrc = pkg: epkg: 48 - pkg.override (args: { 49 - melpaBuild = drv: args.melpaBuild (drv // { 50 - inherit (epkg) src version; 51 - 52 - propagatedUserEnvPkgs = [ epkg ]; 53 - }); 54 - }); 55 - 56 - buildWithGit = pkg: pkg.overrideAttrs (attrs: { 57 - nativeBuildInputs = 58 - (attrs.nativeBuildInputs or [ ]) ++ [ pkgs.git ]; 59 - }); 60 - 61 - fix-rtags = pkg: dontConfigure (externalSrc pkg pkgs.rtags); 33 + inherit (import ./lib-override-helper.nix pkgs) 34 + buildWithGit 35 + dontConfigure 36 + externalSrc 37 + fix-rtags 38 + markBroken 39 + ; 62 40 63 41 generateMelpa = lib.makeOverridable ({ archiveJson ? defaultArchive 64 42 }:
-26
pkgs/applications/editors/l3afpad/default.nix
··· 1 - { lib, stdenv, intltool, pkg-config, gtk3, fetchFromGitHub 2 - , autoreconfHook, wrapGAppsHook3 }: 3 - 4 - stdenv.mkDerivation rec { 5 - version = "unstable-2022-02-14"; 6 - pname = "l3afpad"; 7 - 8 - src = fetchFromGitHub { 9 - owner = "stevenhoneyman"; 10 - repo = pname; 11 - rev = "16f22222116b78b7f6a6fd83289937cdaabed624"; 12 - sha256 = "sha256-ly2w9jmRlprm/PnyC0LYjrxBVK+J0DLiSpzuTUMZpWA="; 13 - }; 14 - 15 - nativeBuildInputs = [ pkg-config autoreconfHook wrapGAppsHook3 intltool ]; 16 - buildInputs = [ gtk3 ]; 17 - 18 - meta = with lib; { 19 - description = "Simple text editor forked from Leafpad using GTK+ 3.x"; 20 - homepage = "https://github.com/stevenhoneyman/l3afpad"; 21 - platforms = platforms.linux; 22 - maintainers = [ ]; 23 - license = licenses.gpl2; 24 - mainProgram = "l3afpad"; 25 - }; 26 - }
-39
pkgs/applications/misc/gmtp/default.nix
··· 1 - { lib, stdenv, fetchurl, pkg-config, libmtp, libid3tag, flac, libvorbis, gtk3 2 - , gsettings-desktop-schemas, wrapGAppsHook3 3 - }: 4 - 5 - let version = "1.3.11"; in 6 - 7 - stdenv.mkDerivation { 8 - pname = "gmtp"; 9 - inherit version; 10 - 11 - src = fetchurl { 12 - url = "mirror://sourceforge/gmtp/gMTP-${version}/gmtp-${version}.tar.gz"; 13 - sha256 = "04q6byyq002fhzkc2rkkahwh5b6272xakaj4m3vwm8la8jf0r0ss"; 14 - }; 15 - 16 - nativeBuildInputs = [ pkg-config wrapGAppsHook3 ]; 17 - buildInputs = [ libmtp libid3tag flac libvorbis gtk3 gsettings-desktop-schemas ]; 18 - 19 - enableParallelBuilding = true; 20 - 21 - # Workaround build failure on -fno-common toolchains: 22 - # ld: gmtp-preferences.o:src/main.h:72: multiple definition of 23 - # `scrolledwindowMain'; gmtp-about.o:src/main.h:72: first defined here 24 - # TODO: can be removed when 1.4.0 is released. 25 - env.NIX_CFLAGS_COMPILE = "-fcommon"; 26 - 27 - preFixup = '' 28 - gappsWrapperArgs+=(--add-flags "--datapath $out/share"); 29 - ''; 30 - 31 - meta = { 32 - description = "Simple MP3 and Media player client for UNIX and UNIX like systems"; 33 - mainProgram = "gmtp"; 34 - homepage = "https://gmtp.sourceforge.io"; 35 - platforms = lib.platforms.linux; 36 - maintainers = [ ]; 37 - license = lib.licenses.bsd3; 38 - }; 39 - }
+3 -4
pkgs/applications/misc/goldendict-ng/default.nix
··· 30 30 31 31 stdenv.mkDerivation (finalAttrs: { 32 32 pname = "goldendict-ng"; 33 - version = "24.05.05"; 33 + version = "24.09.0"; 34 34 35 35 src = fetchFromGitHub { 36 36 owner = "xiaoyifang"; 37 37 repo = "goldendict-ng"; 38 - rev = "v${finalAttrs.version}-LiXia.ecd1138c"; 39 - hash = "sha256-C/0FUFLE3R+tZyCL88BiSFOHPTanILD/fIIQ/OQBSfk="; 38 + rev = "v${finalAttrs.version}-Release.316ec900"; 39 + hash = "sha256-LriKJLjqEuD0v8yjoE35O+V6oUX2jhWGFguqlXaDlQA="; 40 40 }; 41 41 42 42 nativeBuildInputs = [ pkg-config cmake wrapQtAppsHook wrapGAppsHook3 ]; ··· 47 47 qtwebengine 48 48 qt5compat 49 49 qtmultimedia 50 - qtspeech 51 50 qtwayland 52 51 libvorbis 53 52 tomlplusplus
+38 -39
pkgs/applications/networking/protonvpn-gui/default.nix
··· 1 - { lib 2 - , buildPythonApplication 3 - , fetchFromGitHub 4 - , gobject-introspection 5 - , setuptools 6 - , wrapGAppsHook3 7 - , dbus-python 8 - , packaging 9 - , proton-core 10 - , proton-keyring-linux 11 - , proton-keyring-linux-secretservice 12 - , proton-vpn-api-core 13 - , proton-vpn-connection 14 - , proton-vpn-killswitch 15 - , proton-vpn-killswitch-network-manager 16 - , proton-vpn-logger 17 - , proton-vpn-network-manager 18 - , proton-vpn-network-manager-openvpn 19 - , proton-vpn-session 20 - , pycairo 21 - , pygobject3 22 - , pytest-cov-stub 23 - , pytestCheckHook 24 - , withIndicator ? true 25 - , libappindicator-gtk3 26 - , libayatana-appindicator 1 + { 2 + lib, 3 + buildPythonApplication, 4 + fetchFromGitHub, 5 + gobject-introspection, 6 + setuptools, 7 + wrapGAppsHook3, 8 + dbus-python, 9 + packaging, 10 + proton-core, 11 + proton-keyring-linux, 12 + proton-keyring-linux-secretservice, 13 + proton-vpn-api-core, 14 + proton-vpn-connection, 15 + proton-vpn-killswitch, 16 + proton-vpn-killswitch-network-manager, 17 + proton-vpn-logger, 18 + proton-vpn-network-manager, 19 + proton-vpn-network-manager-openvpn, 20 + proton-vpn-network-manager-wireguard, 21 + proton-vpn-session, 22 + pycairo, 23 + pygobject3, 24 + withIndicator ? true, 25 + libappindicator-gtk3, 26 + libayatana-appindicator, 27 27 }: 28 28 29 29 buildPythonApplication rec { 30 30 pname = "protonvpn-gui"; 31 - version = "4.3.0"; 31 + version = "4.4.4"; 32 32 pyproject = true; 33 33 34 34 src = fetchFromGitHub { 35 35 owner = "ProtonVPN"; 36 36 repo = "proton-vpn-gtk-app"; 37 37 rev = "refs/tags/v${version}"; 38 - hash = "sha256-H4m4u9zksab47W5aIsQZPQTPEYiXbmrVCnT67b+A5Tc="; 38 + hash = "sha256-e581FgXrk1cfjsl/UaG9M+3VBYXcV0mggeLeEW9s9KM="; 39 39 }; 40 40 41 41 nativeBuildInputs = [ 42 42 # Needed for the NM namespace 43 43 gobject-introspection 44 - setuptools 45 44 wrapGAppsHook3 46 45 ]; 47 46 ··· 52 51 libayatana-appindicator 53 52 ]; 54 53 55 - propagatedBuildInputs = [ 54 + build-system = [ 55 + setuptools 56 + ]; 57 + 58 + dependencies = [ 56 59 dbus-python 57 60 packaging 58 61 proton-core ··· 65 68 proton-vpn-logger 66 69 proton-vpn-network-manager 67 70 proton-vpn-network-manager-openvpn 71 + proton-vpn-network-manager-wireguard 68 72 proton-vpn-session 69 73 pycairo 70 74 pygobject3 ··· 76 80 install -Dm 644 ${src}/rpmbuild/SOURCES/proton-vpn-logo.svg $out/share/pixmaps 77 81 ''; 78 82 79 - nativeCheckInputs = [ 80 - pytest-cov-stub 81 - pytestCheckHook 82 - ]; 83 - 84 83 preCheck = '' 85 84 # Needed for Permission denied: '/homeless-shelter' 86 85 export HOME=$(mktemp -d) ··· 89 88 # Gets a segmentation fault after the widgets test 90 89 doCheck = false; 91 90 92 - meta = with lib; { 91 + meta = { 93 92 description = "Proton VPN GTK app for Linux"; 94 93 homepage = "https://github.com/ProtonVPN/proton-vpn-gtk-app"; 95 - license = licenses.gpl3Plus; 96 - platforms = platforms.linux; 94 + license = lib.licenses.gpl3Plus; 95 + platforms = lib.platforms.linux; 97 96 mainProgram = "protonvpn-app"; 98 - maintainers = [ ]; 97 + maintainers = with lib.maintainers; [ sebtm ]; 99 98 }; 100 99 }
+21 -19
pkgs/applications/networking/protonvpn-gui/legacy.nix
··· 1 - { lib 2 - , buildPythonApplication 3 - , fetchFromGitHub 4 - , setuptools 5 - , wrapGAppsHook3 6 - , gdk-pixbuf 7 - , glib-networking 8 - , gobject-introspection 9 - , imagemagick 10 - , librsvg 11 - , pango 12 - , python3 13 - , webkitgtk 14 - # Python libs 15 - , protonvpn-nm-lib 16 - , psutil 17 - # Optionals 18 - , withIndicator ? true 19 - , libappindicator-gtk3 }: 1 + { 2 + lib, 3 + buildPythonApplication, 4 + fetchFromGitHub, 5 + setuptools, 6 + wrapGAppsHook3, 7 + gdk-pixbuf, 8 + glib-networking, 9 + gobject-introspection, 10 + imagemagick, 11 + librsvg, 12 + pango, 13 + python3, 14 + webkitgtk, 15 + # Python libs 16 + protonvpn-nm-lib, 17 + psutil, 18 + # Optionals 19 + withIndicator ? true, 20 + libappindicator-gtk3, 21 + }: 20 22 21 23 buildPythonApplication rec { 22 24 pname = "protonvpn-gui";
+3 -3
pkgs/applications/networking/seaweedfs/default.nix
··· 7 7 8 8 buildGoModule rec { 9 9 pname = "seaweedfs"; 10 - version = "3.72"; 10 + version = "3.73"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "seaweedfs"; 14 14 repo = "seaweedfs"; 15 15 rev = version; 16 - hash = "sha256-5ANhRknN8EOUw+Ifsd2zCKDpDeoWJzUuwGMDMkZOwls="; 16 + hash = "sha256-5CgkpL0nBLKojKPSfkYxh8F5Ub+yWhfmOsKC5qQ4QaE="; 17 17 }; 18 18 19 - vendorHash = "sha256-3CrWrv8kXnbZUcaI2CG/x7MUWlR14OLbjen5FbljTEI="; 19 + vendorHash = "sha256-rj5BbbT3/IBtPZ1MqbwC9TNp+N9ec90Anear2AWBZZU="; 20 20 21 21 subPackages = [ "weed" ]; 22 22
-39
pkgs/applications/video/gnome-mplayer/default.nix
··· 1 - {lib, stdenv, substituteAll, fetchFromGitHub, pkg-config, gettext, glib, gtk3, gmtk, dbus, dbus-glib 2 - , libnotify, libpulseaudio, mplayer, wrapGAppsHook3 }: 3 - 4 - stdenv.mkDerivation rec { 5 - pname = "gnome-mplayer"; 6 - version = "1.0.9"; 7 - 8 - src = fetchFromGitHub { 9 - owner = "kdekorte"; 10 - repo = "gnome-mplayer"; 11 - rev = "v${version}"; 12 - sha256 = "0qvy9fllvg1mad6y1j79iaqa6khs0q2cb0z62yfg4srbr07fi8xr"; 13 - }; 14 - 15 - nativeBuildInputs = [ pkg-config gettext wrapGAppsHook3 ]; 16 - buildInputs = [ glib gtk3 gmtk dbus dbus-glib libnotify libpulseaudio ]; 17 - 18 - patches = [ 19 - (substituteAll { 20 - src = ./fix-paths.patch; 21 - mencoder = "${mplayer}/bin/mencoder"; 22 - mplayer = "${mplayer}/bin/mplayer"; 23 - }) 24 - ]; 25 - 26 - # Workaround build failure on -fno-common toolchains: 27 - # ld: mpris-interface.o:src/playlist.h:32: multiple definition of 28 - # `plclose'; gui.o:src/playlist.h:32: first defined here 29 - env.NIX_CFLAGS_COMPILE = "-fcommon"; 30 - 31 - meta = with lib; { 32 - description = "Gnome MPlayer, a simple GUI for MPlayer"; 33 - mainProgram = "gnome-mplayer"; 34 - homepage = "https://sites.google.com/site/kdekorte2/gnomemplayer"; 35 - license = licenses.gpl2; 36 - maintainers = [ ]; 37 - platforms = platforms.linux; 38 - }; 39 - }
-87
pkgs/applications/video/gnome-mplayer/fix-paths.patch
··· 1 - --- a/src/gui.c 2 - +++ b/src/gui.c 3 - @@ -7470,7 +7470,7 @@ 4 - filename = g_strdup_printf("%s/00000001.jpg", dirname); 5 - g_free(basepath); 6 - // run mplayer and try to get the first frame and convert it to a jpeg 7 - - av[ac++] = g_strdup_printf("mplayer"); 8 - + av[ac++] = g_strdup_printf("@mplayer@"); 9 - av[ac++] = g_strdup_printf("-vo"); 10 - av[ac++] = g_strdup_printf("jpeg:outdir=%s", dirname); 11 - av[ac++] = g_strdup_printf("-ao"); 12 - --- a/src/property_page_common.c 13 - +++ b/src/property_page_common.c 14 - @@ -80,7 +80,7 @@ 15 - MetaData *ret; 16 - ret = g_new0(MetaData, 1); 17 - 18 - - av[ac++] = g_strdup_printf("mplayer"); 19 - + av[ac++] = g_strdup_printf("@mplayer@"); 20 - av[ac++] = g_strdup_printf("-vo"); 21 - av[ac++] = g_strdup_printf("null"); 22 - av[ac++] = g_strdup_printf("-ao"); 23 - --- a/src/support.c 24 - +++ b/src/support.c 25 - @@ -566,7 +566,7 @@ 26 - } else { 27 - playlist = FALSE; 28 - if (mplayer_bin == NULL || !g_file_test(mplayer_bin, G_FILE_TEST_EXISTS)) { 29 - - av[ac++] = g_strdup_printf("mplayer"); 30 - + av[ac++] = g_strdup_printf("@mplayer@"); 31 - } else { 32 - av[ac++] = g_strdup_printf("%s", mplayer_bin); 33 - } 34 - @@ -728,7 +728,7 @@ 35 - playlist = FALSE; 36 - // run mplayer and try to get the first frame and convert it to a jpeg 37 - if (mplayer_bin == NULL || !g_file_test(mplayer_bin, G_FILE_TEST_EXISTS)) { 38 - - av[ac++] = g_strdup_printf("mplayer"); 39 - + av[ac++] = g_strdup_printf("@mplayer@"); 40 - } else { 41 - av[ac++] = g_strdup_printf("%s", mplayer_bin); 42 - } 43 - @@ -825,7 +825,7 @@ 44 - playlist = FALSE; 45 - 46 - if (mplayer_bin == NULL || !g_file_test(mplayer_bin, G_FILE_TEST_EXISTS)) { 47 - - av[ac++] = g_strdup_printf("mplayer"); 48 - + av[ac++] = g_strdup_printf("@mplayer@"); 49 - } else { 50 - av[ac++] = g_strdup_printf("%s", mplayer_bin); 51 - } 52 - @@ -1251,7 +1251,7 @@ 53 - gm_log(verbose, G_LOG_LEVEL_INFO, "getting file metadata for %s", name); 54 - 55 - if (mplayer_bin == NULL || !g_file_test(mplayer_bin, G_FILE_TEST_EXISTS)) { 56 - - av[ac++] = g_strdup_printf("mplayer"); 57 - + av[ac++] = g_strdup_printf("@mplayer@"); 58 - } else { 59 - av[ac++] = g_strdup_printf("%s", mplayer_bin); 60 - } 61 - @@ -1532,7 +1532,7 @@ 62 - return 0; 63 - 64 - if (mplayer_bin == NULL || !g_file_test(mplayer_bin, G_FILE_TEST_EXISTS)) { 65 - - av[ac++] = g_strdup_printf("mplayer"); 66 - + av[ac++] = g_strdup_printf("@mplayer@"); 67 - } else { 68 - av[ac++] = g_strdup_printf("%s", mplayer_bin); 69 - } 70 - @@ -1597,7 +1597,7 @@ 71 - 72 - if (control_id == 0) { 73 - ac = 0; 74 - - av[ac++] = g_strdup_printf("mencoder"); 75 - + av[ac++] = g_strdup_printf("@mencoder@"); 76 - av[ac++] = g_strdup_printf("-ovc"); 77 - av[ac++] = g_strdup_printf("copy"); 78 - av[ac++] = g_strdup_printf("-oac"); 79 - @@ -2830,7 +2830,7 @@ 80 - gboolean ret = TRUE; 81 - 82 - if (mplayer_bin == NULL || !g_file_test(mplayer_bin, G_FILE_TEST_EXISTS)) { 83 - - av[ac++] = g_strdup_printf("mplayer"); 84 - + av[ac++] = g_strdup_printf("@mplayer@"); 85 - } else { 86 - av[ac++] = g_strdup_printf("%s", mplayer_bin); 87 - }
+1
pkgs/applications/video/mpv/scripts/default.nix
··· 114 114 mpv-discord = callPackage ./mpv-discord.nix { }; 115 115 mpv-notify-send = callPackage ./mpv-notify-send.nix { }; 116 116 mpv-osc-modern = callPackage ./mpv-osc-modern.nix { }; 117 + mpv-osc-tethys = callPackage ./mpv-osc-tethys.nix { }; 117 118 mpv-playlistmanager = callPackage ./mpv-playlistmanager.nix { }; 118 119 mpv-slicing = callPackage ./mpv-slicing.nix { }; 119 120 mpv-webm = callPackage ./mpv-webm.nix { };
+26
pkgs/applications/video/mpv/scripts/mpv-osc-tethys.nix
··· 1 + { 2 + lib, 3 + buildLua, 4 + fetchFromGitHub, 5 + }: 6 + buildLua (finalAttrs: { 7 + pname = "mpv-osc-tethys"; 8 + version = "0-unstable-2024-08-19"; 9 + 10 + scriptPath = "osc_tethys.lua"; 11 + extraScripts = [ "mpv_thumbnail_script_server.lua" ]; 12 + 13 + src = fetchFromGitHub { 14 + owner = "Zren"; 15 + repo = "mpv-osc-tethys"; 16 + rev = "c4167f88a0e9944738419e90a71f1f80fba39ccb"; 17 + hash = "sha256-eAY+ZUuOxPJiNCuL7lqMBU4iURCMz12LQdfaYj4WFQc="; 18 + }; 19 + 20 + meta = { 21 + description = "OSC UI replacement for MPV with icons from the bomi video player"; 22 + homepage = "https://github.com/Zren/mpv-osc-tethys"; 23 + license = lib.licenses.unfree; # no license specified 24 + maintainers = with lib.maintainers; [ luftmensch-luftmensch ]; 25 + }; 26 + })
-1
pkgs/by-name/bc/bcachefs-tools/package.nix
··· 130 130 license = lib.licenses.gpl2Only; 131 131 maintainers = with lib.maintainers; [ 132 132 davidak 133 - johnrtitor 134 133 Madouura 135 134 ]; 136 135 platforms = lib.platforms.linux;
+35
pkgs/by-name/fa/fabric-ai/package.nix
··· 1 + { 2 + lib, 3 + buildGoModule, 4 + fetchFromGitHub, 5 + nix-update-script, 6 + }: 7 + 8 + buildGoModule rec { 9 + pname = "fabric-ai"; 10 + version = "1.4.14"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "danielmiessler"; 14 + repo = "fabric"; 15 + rev = "v${version}"; 16 + hash = "sha256-syQVGtEFCC7ZVcs6ZIJgH0EXItclV2rPO7xTfsG2g7Q="; 17 + }; 18 + 19 + vendorHash = "sha256-CHgeHumWtNt8SrbzzCWqBdLxTmmyDD2bfLkriPeez2E="; 20 + 21 + ldflags = [ 22 + "-s" 23 + "-w" 24 + ]; 25 + 26 + passthru.updateScript = nix-update-script { }; 27 + 28 + meta = { 29 + description = "Fabric is an open-source framework for augmenting humans using AI. It provides a modular framework for solving specific problems using a crowdsourced set of AI prompts that can be used anywhere"; 30 + homepage = "https://github.com/danielmiessler/fabric"; 31 + license = lib.licenses.mit; 32 + maintainers = with lib.maintainers; [ jaredmontoya ]; 33 + mainProgram = "fabric"; 34 + }; 35 + }
-86
pkgs/by-name/gn/gnome-dictionary/package.nix
··· 1 - { stdenv 2 - , lib 3 - , fetchurl 4 - , fetchpatch 5 - , meson 6 - , ninja 7 - , pkg-config 8 - , desktop-file-utils 9 - , appstream-glib 10 - , libxslt 11 - , libxml2 12 - , gettext 13 - , itstool 14 - , wrapGAppsHook3 15 - , docbook_xsl 16 - , docbook_xml_dtd_43 17 - , gnome 18 - , adwaita-icon-theme 19 - , gtk3 20 - , glib 21 - , gsettings-desktop-schemas 22 - }: 23 - 24 - stdenv.mkDerivation rec { 25 - pname = "gnome-dictionary"; 26 - version = "40.0"; 27 - 28 - src = fetchurl { 29 - url = "mirror://gnome/sources/gnome-dictionary/${lib.versions.major version}/gnome-dictionary-${version}.tar.xz"; 30 - hash = "sha256-LmUMKkzqjMTQLUpYPEVsu8nRhx6RjH3E3ggd7R2DDbU="; 31 - }; 32 - 33 - patches = [ 34 - # Fix test dependencies with meson 0.57, can be removed on next bump 35 - # We need to explicitly depend on the generated files. 36 - (fetchpatch { 37 - url = "https://gitlab.gnome.org/Archive/gnome-dictionary/-/commit/87c026cfe4acbcfc62d15950f88a71d8d9678c7e.patch"; 38 - hash = "sha256-tKesWeOK3OqOxrXm4dZvCZHHdTD7AQbYDjtYDCsLd3A="; 39 - }) 40 - # Fix build with meson 0.61, can be removed on next bump 41 - # data/appdata/meson.build:3:5: ERROR: Function does not take positional arguments. 42 - (fetchpatch { 43 - url = "https://gitlab.gnome.org/Archive/gnome-dictionary/-/commit/cf3f8a67cd6f3059c555ed9cf0f5fba10abb7f68.patch"; 44 - hash = "sha256-cIRM6ACqsnEo2JWYvr6EBye5o0BudugZMShCe1U5hz8="; 45 - }) 46 - ]; 47 - 48 - nativeBuildInputs = [ 49 - meson 50 - ninja 51 - pkg-config 52 - wrapGAppsHook3 53 - libxml2 54 - gettext 55 - itstool 56 - desktop-file-utils 57 - appstream-glib 58 - libxslt 59 - docbook_xsl 60 - docbook_xml_dtd_43 61 - ]; 62 - 63 - buildInputs = [ 64 - gtk3 65 - glib 66 - gsettings-desktop-schemas 67 - adwaita-icon-theme 68 - ]; 69 - 70 - doCheck = true; 71 - 72 - passthru = { 73 - updateScript = gnome.updateScript { 74 - packageName = "gnome-dictionary"; 75 - }; 76 - }; 77 - 78 - meta = with lib; { 79 - homepage = "https://gitlab.gnome.org/Archive/gnome-dictionary"; 80 - description = "Dictionary is the GNOME application to look up definitions"; 81 - mainProgram = "gnome-dictionary"; 82 - maintainers = [ ]; 83 - license = licenses.gpl2; 84 - platforms = platforms.unix; 85 - }; 86 - }
+72
pkgs/by-name/ht/hterm/package.nix
··· 1 + { 2 + stdenv, 3 + lib, 4 + fetchurl, 5 + cairo, 6 + pango, 7 + libpng, 8 + expat, 9 + fontconfig, 10 + gtk2, 11 + xorg, 12 + autoPatchelfHook, 13 + }: 14 + stdenv.mkDerivation (finalAttrs: { 15 + pname = "hterm"; 16 + version = "0.8.9"; 17 + 18 + src = 19 + let 20 + versionWithoutDots = builtins.replaceStrings [ "." ] [ "" ] finalAttrs.version; 21 + in 22 + if stdenv.targetPlatform.is64bit then 23 + fetchurl { 24 + url = "https://www.der-hammer.info/terminal/hterm${versionWithoutDots}-linux-64.tgz"; 25 + hash = "sha256-DY+X7FaU1UBbNf/Kgy4TzBZiocQ4/TpJW3KLW1iu0M0="; 26 + } 27 + else 28 + fetchurl { 29 + url = "https://www.der-hammer.info/terminal/hterm${versionWithoutDots}-linux-32.tgz"; 30 + hash = "sha256-7wJFCpeXNMX94tk0QVc0T22cbv3ODIswFge5Cs0JhI8="; 31 + }; 32 + sourceRoot = "."; 33 + 34 + nativeBuildInputs = [ autoPatchelfHook ]; 35 + 36 + buildInputs = [ 37 + cairo 38 + pango 39 + libpng 40 + expat 41 + fontconfig.lib 42 + gtk2 43 + xorg.libSM 44 + ]; 45 + 46 + installPhase = '' 47 + runHook preInstall 48 + install -m755 -D hterm $out/bin/hterm 49 + install -m644 -D desktop/hterm.png $out/share/pixmaps/hterm.png 50 + install -m644 -D desktop/hterm.desktop $out/share/applications/hterm.desktop 51 + runHook postInstall 52 + ''; 53 + 54 + passthru = { 55 + updateScript = ./update.sh; 56 + }; 57 + 58 + meta = { 59 + homepage = "https://www.der-hammer.info/pages/terminal.html"; 60 + changelog = "https://www.der-hammer.info/terminal/CHANGELOG.txt"; 61 + description = "A terminal program for serial communication"; 62 + # See https://www.der-hammer.info/terminal/LICENSE.txt 63 + license = lib.licenses.unfree; 64 + sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; 65 + platforms = [ 66 + "x86_64-linux" 67 + "i686-linux" 68 + ]; 69 + maintainers = with lib.maintainers; [ zebreus ]; 70 + mainProgram = "hterm"; 71 + }; 72 + })
+18
pkgs/by-name/ht/hterm/update.sh
··· 1 + #!/usr/bin/env nix-shell 2 + #!nix-shell -i bash -p common-updater-scripts curl 3 + # shellcheck shell=bash 4 + 5 + set -eu -o pipefail 6 + 7 + # The first valid version in the changelog should always be the latest version. 8 + version="$(curl https://www.der-hammer.info/terminal/CHANGELOG.txt | grep -m1 -Po '[0-9]+\.[0-9]+\.[0-9]+')" 9 + 10 + function update_hash_for_system() { 11 + local system="$1" 12 + # Reset the version number so the second architecture update doesn't get ignored. 13 + update-source-version hterm 0 "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" --system="$system" 14 + update-source-version hterm "$version" --system="$system" 15 + } 16 + 17 + update_hash_for_system x86_64-linux 18 + update_hash_for_system i686-linux
+35
pkgs/by-name/ka/kak-tree-sitter-unwrapped/package.nix
··· 1 + { 2 + lib, 3 + rustPlatform, 4 + fetchFromSourcehut, 5 + nix-update-script, 6 + testers, 7 + kak-tree-sitter-unwrapped, 8 + }: 9 + 10 + rustPlatform.buildRustPackage rec { 11 + pname = "kak-tree-sitter-unwrapped"; 12 + version = "1.1.2"; 13 + 14 + src = fetchFromSourcehut { 15 + owner = "~hadronized"; 16 + repo = "kak-tree-sitter"; 17 + rev = "kak-tree-sitter-v${version}"; 18 + hash = "sha256-wBWfSyR8LGtug/mCD0bJ4lbdN3trIA/03AnCxZoEOSA="; 19 + }; 20 + 21 + cargoHash = "sha256-v0DNcWPoHdquOlyPoPLoFulz66yCPR1W1Z3uuTjli5k="; 22 + 23 + passthru = { 24 + updateScript = nix-update-script { }; 25 + tests.version = testers.testVersion { package = kak-tree-sitter-unwrapped; }; 26 + }; 27 + 28 + meta = { 29 + homepage = "https://git.sr.ht/~hadronized/kak-tree-sitter"; 30 + description = "Server that interfaces tree-sitter with kakoune"; 31 + mainProgram = "kak-tree-sitter"; 32 + license = with lib.licenses; [ bsd3 ]; 33 + maintainers = with lib.maintainers; [ lelgenio ]; 34 + }; 35 + }
+27
pkgs/by-name/ka/kak-tree-sitter/package.nix
··· 1 + { 2 + lib, 3 + makeWrapper, 4 + symlinkJoin, 5 + tinycc, 6 + kak-tree-sitter-unwrapped, 7 + }: 8 + 9 + symlinkJoin rec { 10 + pname = lib.replaceStrings [ "-unwrapped" ] [ "" ] kak-tree-sitter-unwrapped.pname; 11 + inherit (kak-tree-sitter-unwrapped) version; 12 + name = "${pname}-${version}"; 13 + 14 + paths = [ kak-tree-sitter-unwrapped ]; 15 + nativeBuildInputs = [ makeWrapper ]; 16 + 17 + # Tree-Sitter grammars are C programs that need to be compiled 18 + # Use tinycc as cc to reduce closure size 19 + postBuild = '' 20 + mkdir -p $out/libexec/tinycc/bin 21 + ln -s ${lib.getExe tinycc} $out/libexec/tinycc/bin/cc 22 + wrapProgram "$out/bin/ktsctl" \ 23 + --suffix PATH : $out/libexec/tinycc/bin 24 + ''; 25 + 26 + inherit (kak-tree-sitter-unwrapped) meta; 27 + }
+1
pkgs/by-name/ol/ollama/package.nix
··· 141 141 buildInputs = 142 142 lib.optionals enableRocm (rocmLibs ++ [ libdrm ]) 143 143 ++ lib.optionals enableCuda [ 144 + cudaToolkit 144 145 cudaPackages.cuda_cudart 145 146 cudaPackages.cuda_cccl 146 147 cudaPackages.libcublas
+26
pkgs/by-name/pr/prometheus-elasticsearch-exporter/package.nix
··· 1 + { 2 + lib, 3 + buildGoModule, 4 + fetchFromGitHub, 5 + }: 6 + buildGoModule rec { 7 + pname = "elasticsearch_exporter"; 8 + version = "1.7.0"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "prometheus-community"; 12 + repo = "elasticsearch_exporter"; 13 + rev = "v${version}"; 14 + hash = "sha256-a70huy6J0Ob9LkLuCSVZqJChTo/4cPufbkq1v/QcKE4="; 15 + }; 16 + 17 + vendorHash = "sha256-5uQfeDRi7EMcUCkXdbNlSe1IUpv6e5ueXtZ4C5SWAmw="; 18 + 19 + meta = with lib; { 20 + description = "Elasticsearch stats exporter for Prometheus"; 21 + mainProgram = "elasticsearch_exporter"; 22 + homepage = "https://github.com/prometheus-community/elasticsearch_exporter"; 23 + license = licenses.asl20; 24 + maintainers = teams.deshaw.members; 25 + }; 26 + }
+3 -3
pkgs/by-name/py/pytr/package.nix
··· 8 8 9 9 python3Packages.buildPythonApplication rec { 10 10 pname = "pytr"; 11 - version = "0.2.2"; 11 + version = "0.2.4"; 12 12 pyproject = true; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "pytr-org"; 16 16 repo = "pytr"; 17 - rev = "refs/tags/${version}"; 18 - hash = "sha256-0ekUpkuyT0TB2YQi7CUMwosLI2tR0owJE2XQBaiy8Iw="; 17 + rev = "refs/tags/v${version}"; 18 + hash = "sha256-ejXedAfbZJzfCSkW9X1yH+I03+kjIs/xiSkyJk7FEO0="; 19 19 }; 20 20 21 21 build-system = with python3Packages; [
+3 -3
pkgs/by-name/re/regal/package.nix
··· 2 2 3 3 buildGoModule rec { 4 4 name = "regal"; 5 - version = "0.25.0"; 5 + version = "0.26.2"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "StyraInc"; 9 9 repo = "regal"; 10 10 rev = "v${version}"; 11 - hash = "sha256-yhlkvvNkZtpVx2uZVvXjr3eqBFXHDJ5qyO6k5EPNfww="; 11 + hash = "sha256-QfxgfwBGAib+mqT2v/8/rhl5Ufjwjf9BouCTYqs6wlw="; 12 12 }; 13 13 14 - vendorHash = "sha256-gZYQEJAlm8qslHGfUsA8np43zdiPDYyhKm8HZIBR3ys="; 14 + vendorHash = "sha256-5ImRjMPl+qc2iQEXg9OzKphPpRXhjYvu+1q1ol3M8Yg="; 15 15 16 16 meta = with lib; { 17 17 description = "Linter and language server for Rego";
+28
pkgs/by-name/sp/spacectl/package.nix
··· 1 + { 2 + lib, 3 + buildGoModule, 4 + fetchFromGitHub, 5 + }: 6 + 7 + buildGoModule rec { 8 + pname = "spacectl"; 9 + version = "1.0.1"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "spacelift-io"; 13 + repo = "spacectl"; 14 + rev = "v${version}"; 15 + hash = "sha256-w49nsPzEWfYeYxWNOl4VrWdQvL3zGafLxL5kUH4YaqM="; 16 + }; 17 + 18 + vendorHash = "sha256-hVAQaM8Xank+l283D1Tq9TA/yiOiLGO7/3IyZkXj15Q="; 19 + 20 + meta = { 21 + homepage = "https://github.com/spacelift-io/spacectl"; 22 + description = "Spacelift client and CLI"; 23 + changelog = "https://github.com/spacelift-io/spacectl/releases/tag/v${version}"; 24 + license = lib.licenses.mit; 25 + maintainers = with lib.maintainers; [ kashw2 ]; 26 + mainProgram = "spacectl"; 27 + }; 28 + }
+8 -6
pkgs/by-name/sp/spotube/package.nix
··· 9 9 makeWrapper, 10 10 undmg, 11 11 wrapGAppsHook3, 12 + 13 + glib-networking, 12 14 gtk3, 13 - libsoup_3, 14 - webkitgtk_4_1, 15 - 16 15 libappindicator, 17 16 libnotify, 17 + libsoup_3, 18 18 mpv-unwrapped, 19 19 xdg-user-dirs, 20 + webkitgtk_4_1, 20 21 }: 21 22 22 23 let 23 24 pname = "spotube"; 24 - version = "3.8.0"; 25 + version = "3.8.1"; 25 26 26 27 meta = { 27 28 description = "Open source, cross-platform Spotify client compatible across multiple platforms"; ··· 55 56 56 57 src = fetchArtifact { 57 58 filename = "Spotube-macos-universal.dmg"; 58 - hash = "sha256-qQDbGRnia8JAclm2AgT2FCxhYS6WoNuDWIMbG76pDB0="; 59 + hash = "sha256-NbKFvg50n/GByVU6/vNLmTTV9bhIhl3AxlwAcG60KVY="; 59 60 }; 60 61 61 62 sourceRoot = "."; ··· 79 80 80 81 src = fetchArtifact { 81 82 filename = "Spotube-linux-x86_64.deb"; 82 - hash = "sha256-xgwHRaFeQ182kRhUzCEvMx56WyPnHu8aCDyQ5wzVKRw="; 83 + hash = "sha256-R/yHXx29T/7NNc1L1AmevzXp1k98qnmvOEd3cfSlJuA="; 83 84 }; 84 85 85 86 nativeBuildInputs = [ ··· 90 91 ]; 91 92 92 93 buildInputs = [ 94 + glib-networking 93 95 gtk3 94 96 libappindicator 95 97 libnotify
-70
pkgs/by-name/vi/vinagre/package.nix
··· 1 - { 2 - lib, 3 - stdenv, 4 - fetchurl, 5 - fetchpatch, 6 - pkg-config, 7 - gtk3, 8 - gnome, 9 - adwaita-icon-theme, 10 - vte, 11 - libxml2, 12 - gtk-vnc, 13 - intltool, 14 - libsecret, 15 - itstool, 16 - wrapGAppsHook3, 17 - librsvg, 18 - }: 19 - 20 - stdenv.mkDerivation rec { 21 - pname = "vinagre"; 22 - version = "3.22.0"; 23 - 24 - src = fetchurl { 25 - url = "mirror://gnome/sources/vinagre/${lib.versions.majorMinor version}/vinagre-${version}.tar.xz"; 26 - hash = "sha256-zRzbrMolyNHev4R0VRVe55jD5nogkD34sijU7OVQXoI="; 27 - }; 28 - 29 - patches = [ 30 - # Pull fix pending upstream inclusion for -fno-common toolchain support: 31 - # https://gitlab.gnome.org/Archive/vinagre/-/merge_requests/8 32 - (fetchpatch { 33 - name = "fno-common.patch"; 34 - url = "https://gitlab.gnome.org/Archive/vinagre/-/commit/c51662cf4338516773d64776c3c92796917ff2bd.diff"; 35 - hash = "sha256-KEdNcOMOFzu6BDRNQDqAic0PX6DunSZ4Nr9JOFJjyH4="; 36 - }) 37 - ]; 38 - 39 - nativeBuildInputs = [ 40 - pkg-config 41 - intltool 42 - itstool 43 - wrapGAppsHook3 44 - ]; 45 - 46 - buildInputs = [ 47 - gtk3 48 - vte 49 - libxml2 50 - gtk-vnc 51 - libsecret 52 - adwaita-icon-theme 53 - librsvg 54 - ]; 55 - 56 - env.NIX_CFLAGS_COMPILE = "-Wno-format-nonliteral"; 57 - 58 - passthru = { 59 - updateScript = gnome.updateScript { packageName = "vinagre"; }; 60 - }; 61 - 62 - meta = with lib; { 63 - description = "Remote desktop viewer for GNOME"; 64 - mainProgram = "vinagre"; 65 - homepage = "https://gitlab.gnome.org/Archive/vinagre"; 66 - license = licenses.gpl2Plus; 67 - maintainers = [ ]; 68 - platforms = platforms.unix; 69 - }; 70 - }
+19 -5
pkgs/development/libraries/ayatana-ido/default.nix pkgs/by-name/ay/ayatana-ido/package.nix
··· 1 - { lib, stdenv, fetchFromGitHub 2 - , pkg-config, cmake 3 - , gtk3 1 + { 2 + cmake, 3 + fetchFromGitHub, 4 + glib, 5 + gtk3, 6 + lib, 7 + pkg-config, 8 + stdenv, 4 9 }: 5 10 6 11 stdenv.mkDerivation rec { ··· 14 19 sha256 = "sha256-WEPW9BstDv2k/5dTEDQza3eOQ9bd6CEVvmd817sEPAs="; 15 20 }; 16 21 17 - nativeBuildInputs = [ pkg-config cmake ]; 22 + nativeBuildInputs = [ 23 + cmake 24 + glib # for glib-mkenums 25 + pkg-config 26 + ]; 18 27 19 28 buildInputs = [ gtk3 ]; 20 29 30 + strictDeps = true; 31 + 21 32 meta = with lib; { 22 33 description = "Ayatana Display Indicator Objects"; 23 34 homepage = "https://github.com/AyatanaIndicators/ayatana-ido"; 24 35 changelog = "https://github.com/AyatanaIndicators/ayatana-ido/blob/${version}/ChangeLog"; 25 - license = [ licenses.lgpl3Plus licenses.lgpl21Plus ]; 36 + license = [ 37 + licenses.lgpl3Plus 38 + licenses.lgpl21Plus 39 + ]; 26 40 maintainers = [ maintainers.nickhu ]; 27 41 platforms = platforms.linux; 28 42 };
-32
pkgs/development/libraries/gmtk/default.nix
··· 1 - {lib, stdenv, substituteAll, fetchFromGitHub, libtool, pkg-config, intltool, glib, gtk3 2 - , libpulseaudio, mplayer, gnome_mplayer }: 3 - 4 - stdenv.mkDerivation rec { 5 - pname = "gmtk"; 6 - version = "1.0.9"; 7 - 8 - src = fetchFromGitHub { 9 - owner = "kdekorte"; 10 - repo = "gmtk"; 11 - rev = "v${version}"; 12 - sha256 = "1zb5m1y1gckal3140gvx31572a6xpccwfmdwa1w5lx2wdq1pwk1i"; 13 - }; 14 - 15 - nativeBuildInputs = [ libtool pkg-config intltool ]; 16 - buildInputs = [ glib gtk3 libpulseaudio ]; 17 - 18 - patches = [ 19 - (substituteAll { 20 - src = ./fix-paths.patch; 21 - mplayer = "${mplayer}/bin/mplayer"; 22 - }) 23 - ]; 24 - 25 - meta = with lib; { 26 - description = "Common functions for gnome-mplayer and gecko-mediaplayer"; 27 - homepage = "https://sites.google.com/site/kdekorte2/gnomemplayer"; 28 - license = licenses.gpl2; 29 - maintainers = gnome_mplayer.meta.maintainers; 30 - platforms = platforms.linux; 31 - }; 32 - }
-20
pkgs/development/libraries/gmtk/fix-paths.patch
··· 1 - --- a/src/gmtk_media_player.c 2 - +++ b/src/gmtk_media_player.c 3 - @@ -2449,7 +2449,7 @@ 4 - player->minimum_mplayer = detect_mplayer_features(player); 5 - 6 - if (player->mplayer_binary == NULL || !g_file_test(player->mplayer_binary, G_FILE_TEST_EXISTS)) { 7 - - argv[argn++] = g_strdup_printf("mplayer"); 8 - + argv[argn++] = g_strdup_printf("@mplayer@"); 9 - } else { 10 - argv[argn++] = g_strdup_printf("%s", player->mplayer_binary); 11 - } 12 - @@ -4135,7 +4135,7 @@ 13 - return ret; 14 - 15 - if (player->mplayer_binary == NULL || !g_file_test(player->mplayer_binary, G_FILE_TEST_EXISTS)) { 16 - - av[ac++] = g_strdup_printf("mplayer"); 17 - + av[ac++] = g_strdup_printf("@mplayer@"); 18 - } else { 19 - av[ac++] = g_strdup_printf("%s", player->mplayer_binary); 20 - }
+16 -5
pkgs/development/libraries/libayatana-indicator/default.nix pkgs/by-name/li/libayatana-indicator/package.nix
··· 1 - { stdenv, fetchFromGitHub, lib 2 - , pkg-config, cmake 3 - , gtk3 4 - , ayatana-ido 1 + { 2 + ayatana-ido, 3 + cmake, 4 + fetchFromGitHub, 5 + glib, 6 + gtk3, 7 + lib, 8 + pkg-config, 9 + stdenv, 5 10 }: 6 11 7 12 stdenv.mkDerivation rec { ··· 15 20 sha256 = "sha256-OsguZ+jl274uPSCTFHq/ZwUE3yHR7MlUPHCpfmn1F7A="; 16 21 }; 17 22 18 - nativeBuildInputs = [ pkg-config cmake ]; 23 + nativeBuildInputs = [ 24 + cmake 25 + glib # for glib-mkenums 26 + pkg-config 27 + ]; 19 28 20 29 buildInputs = [ gtk3 ]; 21 30 22 31 propagatedBuildInputs = [ ayatana-ido ]; 32 + 33 + strictDeps = true; 23 34 24 35 meta = with lib; { 25 36 description = "Ayatana Indicators Shared Library";
+12 -11
pkgs/development/python-modules/proton-core/default.nix
··· 9 9 python-gnupg, 10 10 requests, 11 11 pytestCheckHook, 12 + pyotp, 13 + pytest-cov-stub, 12 14 }: 13 15 14 16 buildPythonPackage rec { 15 17 pname = "proton-core"; 16 - version = "0.1.16"; 18 + version = "0.2.0"; 17 19 pyproject = true; 18 20 19 21 src = fetchFromGitHub { 20 22 owner = "ProtonVPN"; 21 23 repo = "python-proton-core"; 22 24 rev = "refs/tags/v${version}"; 23 - hash = "sha256-072XuHvgWludlFwp/tqLpuAU89vzifFhwQ01FuiCoL8="; 25 + hash = "sha256-IiKmtgcCSe2q3qaNuUSaC/D/vSQzVq7w8VN2Xq81+tQ="; 24 26 }; 25 27 26 - nativeBuildInputs = [ setuptools ]; 28 + build-system = [ setuptools ]; 27 29 28 - propagatedBuildInputs = [ 30 + dependencies = [ 29 31 bcrypt 30 32 aiohttp 31 33 pyopenssl ··· 33 35 requests 34 36 ]; 35 37 36 - postPatch = '' 37 - substituteInPlace setup.cfg \ 38 - --replace "--cov=proton --cov-report html --cov-report term" "" 39 - ''; 40 - 41 38 pythonImportsCheck = [ "proton" ]; 42 39 43 - nativeCheckInputs = [ pytestCheckHook ]; 40 + nativeCheckInputs = [ 41 + pytestCheckHook 42 + pytest-cov-stub 43 + pyotp 44 + ]; 44 45 45 46 disabledTestPaths = [ 46 47 # Single test, requires internet connection ··· 68 69 description = "Core logic used by the other Proton components"; 69 70 homepage = "https://github.com/ProtonVPN/python-proton-core"; 70 71 license = lib.licenses.gpl3Only; 71 - maintainers = [ ]; 72 + maintainers = with lib.maintainers; [ sebtm ]; 72 73 }; 73 74 }
+10 -11
pkgs/development/python-modules/proton-keyring-linux-secretservice/default.nix
··· 5 5 setuptools, 6 6 proton-keyring-linux, 7 7 pytestCheckHook, 8 + pytest-cov-stub, 8 9 }: 9 10 10 11 buildPythonPackage rec { ··· 19 20 hash = "sha256-IZPT2bL/1YD2TH/djwIQHUE1RRbYMTkQDacjjoqDQWo="; 20 21 }; 21 22 22 - nativeBuildInputs = [ setuptools ]; 23 + build-system = [ setuptools ]; 23 24 24 - propagatedBuildInputs = [ proton-keyring-linux ]; 25 - 26 - postPatch = '' 27 - substituteInPlace setup.cfg \ 28 - --replace "--cov=proton.keyring_linux.secretservice --cov-report html --cov-report term" "" 29 - ''; 25 + dependencies = [ proton-keyring-linux ]; 30 26 31 27 pythonImportsCheck = [ "proton.keyring_linux" ]; 32 28 33 - nativeCheckInputs = [ pytestCheckHook ]; 29 + nativeCheckInputs = [ 30 + pytestCheckHook 31 + pytest-cov-stub 32 + ]; 34 33 35 - meta = with lib; { 34 + meta = { 36 35 description = "ProtonVPN component to access Linux's keyring secret service API"; 37 36 homepage = "https://github.com/ProtonVPN/python-proton-keyring-linux-secretservice"; 38 - license = licenses.gpl3Only; 39 - maintainers = [ ]; 37 + license = lib.licenses.gpl3Only; 38 + maintainers = with lib.maintainers; [ sebtm ]; 40 39 }; 41 40 }
+10 -11
pkgs/development/python-modules/proton-keyring-linux/default.nix
··· 6 6 keyring, 7 7 proton-core, 8 8 pytestCheckHook, 9 + pytest-cov-stub, 9 10 }: 10 11 11 12 buildPythonPackage rec { ··· 20 21 hash = "sha256-c2wdbd8Hkz2hF9zYMy4/V/W6uZRItz7tWqLJqTsJoHU="; 21 22 }; 22 23 23 - nativeBuildInputs = [ setuptools ]; 24 + build-system = [ setuptools ]; 24 25 25 - propagatedBuildInputs = [ 26 + dependencies = [ 26 27 keyring 27 28 proton-core 28 29 ]; 29 30 30 - postPatch = '' 31 - substituteInPlace setup.cfg \ 32 - --replace "--cov=proton.keyring_linux.core --cov-report html --cov-report term" "" 33 - ''; 34 - 35 31 pythonImportsCheck = [ "proton.keyring_linux.core" ]; 36 32 37 - nativeCheckInputs = [ pytestCheckHook ]; 33 + nativeCheckInputs = [ 34 + pytestCheckHook 35 + pytest-cov-stub 36 + ]; 38 37 39 - meta = with lib; { 38 + meta = { 40 39 description = "ProtonVPN core component to access Linux's keyring"; 41 40 homepage = "https://github.com/ProtonVPN/python-proton-keyring-linux"; 42 - license = licenses.gpl3Only; 43 - maintainers = [ ]; 41 + license = lib.licenses.gpl3Only; 42 + maintainers = with lib.maintainers; [ sebtm ]; 44 43 }; 45 44 }
+24 -14
pkgs/development/python-modules/proton-vpn-api-core/default.nix
··· 11 11 sentry-sdk, 12 12 distro, 13 13 pytestCheckHook, 14 + pytest-cov-stub, 14 15 }: 15 16 16 17 buildPythonPackage rec { 17 18 pname = "proton-vpn-api-core"; 18 - version = "0.22.3"; 19 + version = "0.32.2"; 19 20 pyproject = true; 20 21 21 22 src = fetchFromGitHub { 22 23 owner = "ProtonVPN"; 23 24 repo = "python-proton-vpn-api-core"; 24 - rev = "refs/tags/v${version}"; 25 - hash = "sha256-BGei6tw6VTKkHmaIWa2VJfKOL5cRUbauOQ7zp1RY9Bo="; 25 + rev = "v${version}"; 26 + hash = "sha256-n4TZkp2ZMSJ1w1wQUMsAhX8kmWu59udlsXXEhIM83mI="; 26 27 }; 27 28 28 - nativeBuildInputs = [ setuptools ]; 29 + build-system = [ setuptools ]; 29 30 30 - propagatedBuildInputs = [ 31 + dependencies = [ 31 32 distro 32 33 proton-core 33 34 proton-vpn-connection ··· 37 38 sentry-sdk 38 39 ]; 39 40 40 - postPatch = '' 41 - substituteInPlace setup.cfg \ 42 - --replace-fail "--cov=proton/vpn/core/ --cov-report html --cov-report term" "" 43 - ''; 44 - 45 41 pythonImportsCheck = [ "proton.vpn.core" ]; 46 42 47 - nativeCheckInputs = [ pytestCheckHook ]; 43 + nativeCheckInputs = [ 44 + pytestCheckHook 45 + pytest-cov-stub 46 + ]; 48 47 49 48 preCheck = '' 50 49 # Needed for Permission denied: '/homeless-shelter' 51 50 export HOME=$(mktemp -d) 52 51 ''; 53 52 54 - meta = with lib; { 53 + disabledTests = [ 54 + # Permission denied: '/run' 55 + "test_ensure_configuration_file_is_created" 56 + "test_ovpnconfig_with_settings" 57 + "test_wireguard_config_content_generation" 58 + "test_wireguard_with_non_certificate" 59 + "test_ensure_generate_is_returning_expected_content" 60 + "test_ensure_same_configuration_file_in_case_of_duplicate" 61 + "test_ensure_configuration_file_is_deleted" 62 + ]; 63 + 64 + meta = { 55 65 description = "Acts as a facade to the other Proton VPN components, exposing a uniform API to the available Proton VPN services"; 56 66 homepage = "https://github.com/ProtonVPN/python-proton-vpn-api-core"; 57 - license = licenses.gpl3Only; 58 - maintainers = [ ]; 67 + license = lib.licenses.gpl3Only; 68 + maintainers = with lib.maintainers; [ sebtm ]; 59 69 }; 60 70 }
+10 -11
pkgs/development/python-modules/proton-vpn-connection/default.nix
··· 8 8 proton-vpn-logger, 9 9 jinja2, 10 10 pytestCheckHook, 11 + pytest-cov-stub, 11 12 }: 12 13 13 14 buildPythonPackage rec { ··· 22 23 hash = "sha256-Ze/te0G0tDzyZPGVVqvuJlZoHWJqJ36LnHO+Cy5nxx8="; 23 24 }; 24 25 25 - nativeBuildInputs = [ setuptools ]; 26 + build-system = [ setuptools ]; 26 27 27 - propagatedBuildInputs = [ 28 + dependencies = [ 28 29 jinja2 29 30 proton-core 30 31 proton-vpn-killswitch 31 32 proton-vpn-logger 32 33 ]; 33 34 34 - postPatch = '' 35 - substituteInPlace setup.cfg \ 36 - --replace-fail "--cov=proton.vpn.connection --cov-report html --cov-report term" "" 37 - ''; 38 - 39 35 pythonImportsCheck = [ "proton.vpn.connection" ]; 40 36 41 - nativeCheckInputs = [ pytestCheckHook ]; 37 + nativeCheckInputs = [ 38 + pytestCheckHook 39 + pytest-cov-stub 40 + ]; 42 41 43 42 disabledTests = [ 44 43 # Permission denied: '/run' ··· 59 58 "test_ovpnconfig_with_malformed_server_and_credentials" 60 59 ]; 61 60 62 - meta = with lib; { 61 + meta = { 63 62 description = "Defines the interface that VPN connection backends should implement"; 64 63 homepage = "https://github.com/ProtonVPN/python-proton-vpn-connection"; 65 - license = licenses.gpl3Only; 66 - maintainers = [ ]; 64 + license = lib.licenses.gpl3Only; 65 + maintainers = with lib.maintainers; [ sebtm ]; 67 66 }; 68 67 }
+67
pkgs/development/python-modules/proton-vpn-killswitch-network-manager-wireguard/default.nix
··· 1 + { 2 + lib, 3 + buildPythonPackage, 4 + fetchFromGitHub, 5 + gobject-introspection, 6 + setuptools, 7 + networkmanager, 8 + proton-vpn-api-core, 9 + proton-vpn-killswitch, 10 + proton-vpn-logger, 11 + pycairo, 12 + pygobject3, 13 + pytestCheckHook, 14 + iproute2, 15 + pytest-cov-stub, 16 + }: 17 + 18 + buildPythonPackage rec { 19 + pname = "proton-vpn-killswitch-network-manager-wireguard"; 20 + version = "0.1.4"; 21 + pyproject = true; 22 + 23 + src = fetchFromGitHub { 24 + owner = "ProtonVPN"; 25 + repo = "python-proton-vpn-killswitch-network-manager-wireguard"; 26 + rev = "v${version}"; 27 + hash = "sha256-4sYD2X1U066FMjrtbTb31wvkCDWAw+eXod+pi0gGsCQ="; 28 + }; 29 + 30 + nativeBuildInputs = [ 31 + # Solves ImportError: cannot import name NM, introspection typelib not found 32 + gobject-introspection 33 + ]; 34 + 35 + build-system = [ 36 + setuptools 37 + ]; 38 + 39 + dependencies = [ 40 + # Needed here for the NM namespace 41 + networkmanager 42 + proton-vpn-api-core 43 + proton-vpn-killswitch 44 + proton-vpn-logger 45 + pycairo 46 + pygobject3 47 + ]; 48 + 49 + postPatch = '' 50 + substituteInPlace proton/vpn/killswitch/backend/linux/wireguard/killswitch_connection_handler.py \ 51 + --replace '/usr/sbin/ip' '${iproute2}/bin/ip' 52 + ''; 53 + 54 + pythonImportsCheck = [ "proton.vpn.killswitch.backend.linux.wireguard" ]; 55 + 56 + nativeCheckInputs = [ 57 + pytestCheckHook 58 + pytest-cov-stub 59 + ]; 60 + 61 + meta = { 62 + description = "Implementation of the proton-vpn-killswitch interface using Network Manager with wireguard-protocol"; 63 + homepage = "https://github.com/ProtonVPN/proton-vpn-killswitch-network-manager-wireguard"; 64 + license = lib.licenses.gpl3Only; 65 + maintainers = with lib.maintainers; [ sebtm ]; 66 + }; 67 + }
+16 -12
pkgs/development/python-modules/proton-vpn-killswitch-network-manager/default.nix
··· 5 5 gobject-introspection, 6 6 setuptools, 7 7 networkmanager, 8 + proton-vpn-api-core, 8 9 proton-vpn-killswitch, 9 10 proton-vpn-logger, 10 11 pycairo, 11 12 pygobject3, 12 13 pytestCheckHook, 14 + pytest-cov-stub, 13 15 }: 14 16 15 17 buildPythonPackage rec { 16 18 pname = "proton-vpn-killswitch-network-manager"; 17 - version = "0.4.3"; 19 + version = "0.5.4"; 18 20 pyproject = true; 19 21 20 22 src = fetchFromGitHub { 21 23 owner = "ProtonVPN"; 22 24 repo = "python-proton-vpn-killswitch-network-manager"; 23 25 rev = "refs/tags/v${version}"; 24 - hash = "sha256-kN41b6OZ2YXoBsmNZD3NrX4uJChSmm6DVP+5LYwiZMw="; 26 + hash = "sha256-iUm+hpqgI4jG+1Cd9F6pBjodxHpq9/2ovXRT877biXQ="; 25 27 }; 26 28 27 29 nativeBuildInputs = [ 28 30 # Solves ImportError: cannot import name NM, introspection typelib not found 29 31 gobject-introspection 32 + ]; 33 + 34 + build-system = [ 30 35 setuptools 31 36 ]; 32 37 33 - propagatedBuildInputs = [ 38 + dependencies = [ 34 39 # Needed here for the NM namespace 35 40 networkmanager 41 + proton-vpn-api-core 36 42 proton-vpn-killswitch 37 43 proton-vpn-logger 38 44 pycairo 39 45 pygobject3 40 46 ]; 41 47 42 - postPatch = '' 43 - substituteInPlace setup.cfg \ 44 - --replace "--cov=proton.vpn.killswitch.backend.linux.networkmanager --cov-report=html --cov-report=term" "" 45 - ''; 46 - 47 48 pythonImportsCheck = [ "proton.vpn.killswitch.backend.linux.networkmanager" ]; 48 49 49 - nativeCheckInputs = [ pytestCheckHook ]; 50 + nativeCheckInputs = [ 51 + pytestCheckHook 52 + pytest-cov-stub 53 + ]; 50 54 51 - meta = with lib; { 55 + meta = { 52 56 description = "Implementation of the proton-vpn-killswitch interface using Network Manager"; 53 57 homepage = "https://github.com/ProtonVPN/python-proton-vpn-killswitch-network-manager"; 54 - license = licenses.gpl3Only; 55 - maintainers = [ ]; 58 + license = lib.licenses.gpl3Only; 59 + maintainers = with lib.maintainers; [ sebtm ]; 56 60 }; 57 61 }
+10 -11
pkgs/development/python-modules/proton-vpn-killswitch/default.nix
··· 5 5 setuptools, 6 6 proton-core, 7 7 pytestCheckHook, 8 + pytest-cov-stub, 8 9 }: 9 10 10 11 buildPythonPackage rec { ··· 19 20 hash = "sha256-XZqjAhxgIiATJd3JcW2WWUMC1b6+cfZRhXlIPyMUFH8="; 20 21 }; 21 22 22 - nativeBuildInputs = [ setuptools ]; 23 + build-system = [ setuptools ]; 23 24 24 - propagatedBuildInputs = [ proton-core ]; 25 - 26 - postPatch = '' 27 - substituteInPlace setup.cfg \ 28 - --replace "--cov=proton --cov-report=html --cov-report=term" "" 29 - ''; 25 + dependencies = [ proton-core ]; 30 26 31 27 pythonImportsCheck = [ "proton.vpn.killswitch.interface" ]; 32 28 33 - nativeCheckInputs = [ pytestCheckHook ]; 29 + nativeCheckInputs = [ 30 + pytestCheckHook 31 + pytest-cov-stub 32 + ]; 34 33 35 - meta = with lib; { 34 + meta = { 36 35 description = "Defines the ProtonVPN kill switch interface"; 37 36 homepage = "https://github.com/ProtonVPN/python-proton-vpn-killswitch"; 38 - license = licenses.gpl3Only; 39 - maintainers = [ ]; 37 + license = lib.licenses.gpl3Only; 38 + maintainers = with lib.maintainers; [ sebtm ]; 40 39 }; 41 40 }
+12 -11
pkgs/development/python-modules/proton-vpn-logger/default.nix
··· 5 5 setuptools, 6 6 proton-core, 7 7 pytestCheckHook, 8 + pytest-cov-stub, 8 9 }: 9 10 10 11 buildPythonPackage rec { ··· 19 20 hash = "sha256-/LfMjyTs/EusgnKEQugsdJzqDZBvaAhbsTUVLDCRw0I="; 20 21 }; 21 22 22 - nativeBuildInputs = [ setuptools ]; 23 + build-system = [ 24 + setuptools 25 + ]; 23 26 24 - propagatedBuildInputs = [ proton-core ]; 25 - 26 - postPatch = '' 27 - substituteInPlace setup.cfg \ 28 - --replace-fail "--cov=proton/vpn/logging/ --cov-report html --cov-report term" "" 29 - ''; 27 + dependencies = [ proton-core ]; 30 28 31 29 pythonImportsCheck = [ "proton.vpn.logging" ]; 32 30 33 - nativeCheckInputs = [ pytestCheckHook ]; 31 + nativeCheckInputs = [ 32 + pytestCheckHook 33 + pytest-cov-stub 34 + ]; 34 35 35 36 preCheck = '' 36 37 # Needed for Permission denied: '/homeless-shelter' 37 38 export HOME=$(mktemp -d) 38 39 ''; 39 40 40 - meta = with lib; { 41 + meta = { 41 42 description = "General purpose logging package for the entire ProtonVPN Linux client"; 42 43 homepage = "https://github.com/ProtonVPN/python-proton-vpn-logger"; 43 - license = licenses.gpl3Only; 44 - maintainers = [ ]; 44 + license = lib.licenses.gpl3Only; 45 + maintainers = with lib.maintainers; [ sebtm ]; 45 46 }; 46 47 }
+14 -12
pkgs/development/python-modules/proton-vpn-network-manager-openvpn/default.nix
··· 7 7 proton-core, 8 8 proton-vpn-network-manager, 9 9 pytestCheckHook, 10 + pytest-cov-stub, 10 11 }: 11 12 12 13 buildPythonPackage rec { 13 14 pname = "proton-vpn-network-manager-openvpn"; 14 - version = "0.0.7"; 15 + version = "0.1.0"; 15 16 pyproject = true; 16 17 17 18 src = fetchFromGitHub { 18 19 owner = "ProtonVPN"; 19 20 repo = "python-proton-vpn-network-manager-openvpn"; 20 21 rev = "refs/tags/v${version}"; 21 - hash = "sha256-AHG4jEEv1ihpboQwz6FmNtlqCE83qyOeGzBDHQcvD6o="; 22 + hash = "sha256-eDBcpuz37crfAFX6oysB4FCkSmVLyfLJ0R2L0cZgjRo="; 22 23 }; 23 24 24 25 nativeBuildInputs = [ 25 26 # Solves Namespace NM not available 26 27 gobject-introspection 28 + ]; 29 + 30 + build-system = [ 27 31 setuptools 28 32 ]; 29 33 30 - propagatedBuildInputs = [ 34 + dependencies = [ 31 35 proton-core 32 36 proton-vpn-network-manager 33 37 ]; 34 38 35 - postPatch = '' 36 - substituteInPlace setup.cfg \ 37 - --replace "--cov=proton.vpn.backend.linux.networkmanager.protocol.openvpn --cov-report html --cov-report term" "" 38 - ''; 39 - 40 39 pythonImportsCheck = [ "proton.vpn.backend.linux.networkmanager.protocol" ]; 41 40 42 - nativeCheckInputs = [ pytestCheckHook ]; 41 + nativeCheckInputs = [ 42 + pytestCheckHook 43 + pytest-cov-stub 44 + ]; 43 45 44 - meta = with lib; { 46 + meta = { 45 47 description = "Adds support for the OpenVPN protocol using NetworkManager"; 46 48 homepage = "https://github.com/ProtonVPN/python-proton-vpn-network-manager-openvpn"; 47 - license = licenses.gpl3Only; 48 - maintainers = [ ]; 49 + license = lib.licenses.gpl3Only; 50 + maintainers = with lib.maintainers; [ sebtm ]; 49 51 }; 50 52 }
+57
pkgs/development/python-modules/proton-vpn-network-manager-wireguard/default.nix
··· 1 + { 2 + lib, 3 + buildPythonPackage, 4 + fetchFromGitHub, 5 + gobject-introspection, 6 + setuptools, 7 + proton-core, 8 + proton-vpn-killswitch-network-manager-wireguard, 9 + proton-vpn-network-manager, 10 + pytestCheckHook, 11 + pytest-cov-stub, 12 + }: 13 + 14 + buildPythonPackage rec { 15 + pname = "proton-vpn-network-manager-wireguard"; 16 + version = "0.4.1"; 17 + pyproject = true; 18 + 19 + src = fetchFromGitHub { 20 + owner = "ProtonVPN"; 21 + repo = "python-proton-vpn-network-manager-wireguard"; 22 + rev = "v${version}"; 23 + hash = "sha256-DZXixcm2VwXhbN4buABlkybDgXIg/mbeUVHOpdoj0Kw="; 24 + }; 25 + 26 + nativeBuildInputs = [ 27 + # Solves Namespace NM not available 28 + gobject-introspection 29 + ]; 30 + 31 + build-system = [ 32 + setuptools 33 + ]; 34 + 35 + dependencies = [ 36 + proton-core 37 + proton-vpn-killswitch-network-manager-wireguard 38 + proton-vpn-network-manager 39 + ]; 40 + 41 + preCheck = '' 42 + # Needed for Permission denied: '/homeless-shelter' 43 + export HOME=$(mktemp -d) 44 + ''; 45 + 46 + nativeCheckInputs = [ 47 + pytestCheckHook 48 + pytest-cov-stub 49 + ]; 50 + 51 + meta = { 52 + description = "Adds support for the Wireguard protocol using NetworkManager"; 53 + homepage = "https://github.com/ProtonVPN/python-proton-vpn-network-manager-wireguard"; 54 + license = lib.licenses.gpl3Only; 55 + maintainers = with lib.maintainers; [ sebtm ]; 56 + }; 57 + }
+14 -12
pkgs/development/python-modules/proton-vpn-network-manager/default.nix
··· 6 6 setuptools, 7 7 networkmanager, 8 8 proton-core, 9 + proton-vpn-api-core, 9 10 proton-vpn-connection, 10 11 pycairo, 11 12 pygobject3, 12 13 pytest-asyncio, 13 14 pytestCheckHook, 15 + pytest-cov-stub, 14 16 }: 15 17 16 18 buildPythonPackage rec { 17 19 pname = "proton-vpn-network-manager"; 18 - version = "0.4.2"; 20 + version = "0.5.2"; 19 21 pyproject = true; 20 22 21 23 src = fetchFromGitHub { 22 24 owner = "ProtonVPN"; 23 25 repo = "python-proton-vpn-network-manager"; 24 26 rev = "refs/tags/v${version}"; 25 - hash = "sha256-zw6fzay1zCBIrouDg2EMhaxDLKIYV5TKYK5lQ3v8W6o="; 27 + hash = "sha256-hTJE9sUjPMsE9d0fIA/OhoasumtfsWuFwn0aTm10PN4="; 26 28 }; 27 29 28 30 nativeBuildInputs = [ 29 31 # Needed to recognize the NM namespace 30 32 gobject-introspection 33 + ]; 34 + 35 + build-system = [ 31 36 setuptools 32 37 ]; 33 38 34 - propagatedBuildInputs = [ 39 + dependencies = [ 35 40 # Needed here for the NM namespace 36 41 networkmanager 37 42 proton-core 43 + proton-vpn-api-core 38 44 proton-vpn-connection 39 45 pycairo 40 46 pygobject3 41 47 ]; 42 48 43 - postPatch = '' 44 - substituteInPlace setup.cfg \ 45 - --replace-fail "--cov=proton/vpn/backend/linux/networkmanager --cov-report html --cov-report term" "" 46 - ''; 47 - 48 49 pythonImportsCheck = [ "proton.vpn.backend.linux.networkmanager" ]; 49 50 50 51 nativeCheckInputs = [ 52 + pytestCheckHook 53 + pytest-cov-stub 51 54 pytest-asyncio 52 - pytestCheckHook 53 55 ]; 54 56 55 - meta = with lib; { 57 + meta = { 56 58 description = "Provides the necessary functionality for other ProtonVPN components to interact with NetworkManager"; 57 59 homepage = "https://github.com/ProtonVPN/python-proton-vpn-network-manager"; 58 - license = licenses.gpl3Only; 59 - maintainers = [ ]; 60 + license = lib.licenses.gpl3Only; 61 + maintainers = with lib.maintainers; [ sebtm ]; 60 62 }; 61 63 }
+7 -8
pkgs/development/python-modules/proton-vpn-session/default.nix
··· 13 13 pytest-asyncio, 14 14 requests, 15 15 pytestCheckHook, 16 + pytest-cov-stub, 16 17 }: 17 18 18 19 buildPythonPackage rec { ··· 27 28 hash = "sha256-/5ju/2bxhqK6JWchkxFe3amBKHtO98GCVQWIrUsn+nQ="; 28 29 }; 29 30 30 - nativeBuildInputs = [ setuptools ]; 31 + build-system = [ 32 + setuptools 33 + ]; 31 34 32 - propagatedBuildInputs = [ 35 + dependencies = [ 33 36 cryptography 34 37 distro 35 38 proton-core ··· 37 40 pynacl 38 41 ]; 39 42 40 - postPatch = '' 41 - substituteInPlace setup.cfg \ 42 - --replace-fail "--cov=proton.vpn.session --cov-report term" "" 43 - ''; 44 - 45 43 pythonImportsCheck = [ "proton.vpn.session" ]; 46 44 47 45 postInstall = '' ··· 55 53 pytest-asyncio 56 54 requests 57 55 pytestCheckHook 56 + pytest-cov-stub 58 57 ]; 59 58 60 59 meta = { 61 60 description = "Provides utility classes to manage VPN sessions"; 62 61 homepage = "https://github.com/ProtonVPN/python-proton-vpn-session"; 63 62 license = lib.licenses.gpl3Only; 64 - maintainers = [ ]; 63 + maintainers = with lib.maintainers; [ sebtm ]; 65 64 }; 66 65 }
-60
pkgs/development/tools/misc/gtkperf/bench.patch
··· 1 - --- gtkperf/src/callbacks.c 2005-10-30 11:33:42.000000000 +0000 2 - +++ gtkperf-patched/src/callbacks.c 2008-05-23 23:41:17.000000000 +0100 3 - @@ -219,6 +219,13 @@ 4 - } 5 - 6 - 7 - +void 8 - +on_cmdline_test(char *optarg) 9 - +{ 10 - + appdata->test_type = atoi(optarg); 11 - +} 12 - + 13 - + 14 - /* Initialize appdata */ 15 - void 16 - setup_appdata(AppData * appdata_in) 17 - @@ -398,7 +405,7 @@ 18 - appdata->pixbuf_drawing = gdk_pixbuf_new_from_file (filename, NULL); 19 - 20 - gtk_combo_box_set_active (GTK_COMBO_BOX (appdata->combobox_testtype), 21 - - 0); 22 - + appdata->test_type); 23 - 24 - /* create end mark to info textview */ 25 - GtkTextIter iter; 26 - --- gtkperf/src/callbacks.h 2005-10-30 10:21:23.000000000 +0000 27 - +++ gtkperf-patched/src/callbacks.h 2008-05-23 23:22:30.000000000 +0100 28 - @@ -13,6 +13,7 @@ 29 - void on_cmdline_run_all (); 30 - void on_cmdline_help () ; 31 - void on_cmdline_count (char *optarg) ; 32 - +void on_cmdline_test (char *optarg) ; 33 - void on_window_main_show (AppData * data); 34 - 35 - gboolean 36 - --- gtkperf/src/main.c 2005-10-30 11:26:42.000000000 +0000 37 - +++ gtkperf-patched/src/main.c 2008-05-23 23:44:02.000000000 +0100 38 - @@ -65,9 +65,10 @@ 39 - {"help", 0, 0, 0}, 40 - {"automatic", 0, 0, 0}, 41 - {"count", 1, 0, 0}, 42 - + {"test", 1, 0, 0}, 43 - {0, 0, 0, 0} 44 - }; 45 - - c = getopt_long (argc, argv, "hac:", 46 - + c = getopt_long (argc, argv, "hac:t:", 47 - long_options, &option_index); 48 - if (c == -1) 49 - break; 50 - @@ -104,6 +105,10 @@ 51 - on_cmdline_count(optarg); 52 - break; 53 - 54 - + case 't': 55 - + on_cmdline_test(optarg); 56 - + break; 57 - + 58 - default: 59 - case 'h': 60 - on_cmdline_help ();
-26
pkgs/development/tools/misc/gtkperf/default.nix
··· 1 - { lib, stdenv, fetchurl, gtk2, pkg-config, libintl }: 2 - 3 - stdenv.mkDerivation rec { 4 - pname = "gtkperf"; 5 - version = "0.40.0"; 6 - src = fetchurl { 7 - url = "mirror://sourceforge/${pname}/${pname}_${lib.versions.majorMinor version}.tar.gz"; 8 - sha256 = "0yxj3ap3yfi76vqg6xjvgc16nfi9arm9kp87s35ywf10fd73814p"; 9 - }; 10 - 11 - hardeningDisable = [ "format" ]; 12 - 13 - nativeBuildInputs = [ pkg-config ]; 14 - buildInputs = [ gtk2 libintl ]; 15 - 16 - # https://openbenchmarking.org/innhold/7e9780c11550d09aa67bdba71248facbe2d781db 17 - patches = [ ./bench.patch ]; 18 - 19 - meta = with lib; { 20 - description = "Application designed to test GTK performance"; 21 - mainProgram = "gtkperf"; 22 - homepage = "https://gtkperf.sourceforge.net/"; 23 - license = with licenses; [ gpl2 ]; 24 - maintainers = [ ]; 25 - }; 26 - }
-44
pkgs/games/gnome-hexgl/default.nix
··· 1 - { lib, stdenv 2 - , fetchFromGitHub 3 - , ninja 4 - , meson 5 - , pkg-config 6 - , gthree 7 - , gsound 8 - , libepoxy 9 - , gtk3 10 - }: 11 - 12 - stdenv.mkDerivation rec { 13 - pname = "gnome-hexgl"; 14 - version = "unstable-2020-07-24"; 15 - 16 - src = fetchFromGitHub { 17 - owner = "alexlarsson"; 18 - repo = "gnome-hexgl"; 19 - rev = "f47a351055a235730795341dcd6b2397cc4bfa0c"; 20 - sha256 = "yZWGymaSUfnCP8VAEdDH64w0muSnRK/XPi1/IqTrE4k="; 21 - }; 22 - 23 - nativeBuildInputs = [ 24 - ninja 25 - meson 26 - pkg-config 27 - ]; 28 - 29 - buildInputs = [ 30 - gthree 31 - gsound 32 - libepoxy 33 - gtk3 34 - ]; 35 - 36 - meta = with lib; { 37 - description = "Gthree port of HexGL"; 38 - mainProgram = "gnome-hexgl"; 39 - homepage = "https://github.com/alexlarsson/gnome-hexgl"; 40 - license = licenses.mit; 41 - maintainers = [ ]; 42 - platforms = platforms.unix; 43 - }; 44 - }
+7
pkgs/os-specific/linux/kernel/common-config.nix
··· 460 460 # Enable AMD secure display when available 461 461 DRM_AMD_SECURE_DISPLAY = whenAtLeast "5.13" yes; 462 462 463 + # Enable AMD image signal processor 464 + DRM_AMD_ISP = whenAtLeast "6.11" yes; 465 + 463 466 # Enable new firmware (and by extension NVK) for compatible hardware on Nouveau 464 467 DRM_NOUVEAU_GSP_DEFAULT = whenAtLeast "6.8" yes; 465 468 ··· 736 739 # Enable stack smashing protections in schedule() 737 740 # See: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v4.8&id=0d9e26329b0c9263d4d9e0422d80a0e73268c52f 738 741 SCHED_STACK_END_CHECK = yes; 742 + 743 + # Enable separate slab buckets for user controlled allocations 744 + # See: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=67f2df3b82d091ed095d0e47e1f3a9d3e18e4e41 745 + SLAB_BUCKETS = whenAtLeast "6.11" yes; 739 746 } // lib.optionalAttrs stdenv.hostPlatform.isx86_64 { 740 747 # Enable Intel SGX 741 748 X86_SGX = whenAtLeast "5.11" yes;
+4
pkgs/os-specific/linux/kernel/kernels-org.json
··· 38 38 "6.10": { 39 39 "version": "6.10.10", 40 40 "hash": "sha256:1kcvh1g3p1sj4q34ylcmm43824f97z4k695lcxnzp7pbnlsyg1z6" 41 + }, 42 + "6.11": { 43 + "version": "6.11", 44 + "hash": "sha256:0bnbvadm4wvnwzcq319gsgl03ijvvljn7mj8qw87ihpb4p0cdljm" 41 45 } 42 46 }
+1 -1
pkgs/os-specific/linux/kernel/perf/default.nix
··· 63 63 64 64 # Fix 6.10.0 holding pkg-config completely wrong. 65 65 # Patches from perf-tools-next, should be in 6.11 or hopefully backported. 66 - patches = lib.optionals (lib.versionAtLeast kernel.version "6.10") [ 66 + patches = lib.optionals (lib.versions.majorMinor kernel.version == "6.10") [ 67 67 (fetchpatch { 68 68 url = "https://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools-next.git/patch/?id=0f0e1f44569061e3dc590cd0b8cb74d8fd53706b"; 69 69 hash = "sha256-9u/zhbsDgwOr4T4k9td/WJYRuSHIfbtfS+oNx8nbOlM=";
pkgs/servers/http/envoy/0001-nixpkgs-use-system-Python.patch pkgs/by-name/en/envoy/0001-nixpkgs-use-system-Python.patch
pkgs/servers/http/envoy/0002-nixpkgs-use-system-Go.patch pkgs/by-name/en/envoy/0002-nixpkgs-use-system-Go.patch
pkgs/servers/http/envoy/0003-nixpkgs-use-system-C-C-toolchains.patch pkgs/by-name/en/envoy/0003-nixpkgs-use-system-C-C-toolchains.patch
+5 -5
pkgs/servers/http/envoy/default.nix pkgs/by-name/en/envoy/package.nix
··· 25 25 # However, the version string is more useful for end-users. 26 26 # These are contained in a attrset of their own to make it obvious that 27 27 # people should update both. 28 - version = "1.31.0"; 29 - rev = "7b8baff1758f0a584dcc3cb657b5032000bcb3d7"; 30 - hash = "sha256-pKERyXABcpMpKMRRvqJavp2jYGXTxwFLDPERqDT6jnY="; 28 + version = "1.31.1"; 29 + rev = "1f44388cee449c9dae8ae34c0b4f09036bcbf560"; 30 + hash = "sha256-XvlF3hMS2PH87HgFwKoFzxHDYgRjZmxn02L1aLwYOrY="; 31 31 }; 32 32 33 33 # these need to be updated for any changes to fetchAttrs 34 34 depsHash = 35 35 { 36 - x86_64-linux = "sha256-33yu2oxP2zgKs01qn6RIyZx6zHJ1NuCNxolgk0/uWpM="; 37 - aarch64-linux = "sha256-ox7CJPqNbwucMDORQvx8SFs4oXR/WKixwJ6uK+l4NJc="; 36 + x86_64-linux = "sha256-9KXZdSvRfi5mWOSotG//+ljsx64I4bYwzbeQFuCIwDE="; 37 + aarch64-linux = "sha256-knrCfUYUL+bYuHSNrNeX3SwoGDf2rLYNXuukEmj4BjA="; 38 38 } 39 39 .${stdenv.system} or (throw "unsupported system ${stdenv.system}"); 40 40 in
-47
pkgs/tools/misc/xprite-editor/default.nix
··· 1 - { lib, stdenv 2 - , fetchFromGitHub 3 - , rustPlatform 4 - , gtk3 5 - , AppKit 6 - , pkg-config 7 - , python3 8 - }: 9 - 10 - rustPlatform.buildRustPackage rec { 11 - pname = "xprite-editor-unstable"; 12 - version = "2019-09-22"; 13 - 14 - src = fetchFromGitHub { 15 - owner = "rickyhan"; 16 - repo = "xprite-editor"; 17 - rev = "7f899dff982642927024540e4bafd74e4ea5e52a"; 18 - sha256 = "1k6k8y8gg1vdmyjz27q689q9rliw0rrnzwlpjcd4vlc6swaq9ahx"; 19 - fetchSubmodules = true; 20 - # Rename unicode file name which leads to different checksums on HFS+ 21 - # vs. other filesystems because of unicode normalization. 22 - postFetch = '' 23 - mv $out/config/palettes/Sweet\ Guaran*.hex $out/config/palettes/Sweet\ Guarana.hex 24 - ''; 25 - }; 26 - 27 - buildInputs = lib.optionals stdenv.isLinux [ gtk3 ] 28 - ++ lib.optionals stdenv.isDarwin [ AppKit ]; 29 - 30 - nativeBuildInputs = lib.optionals stdenv.isLinux [ pkg-config python3 ]; 31 - 32 - cargoHash = "sha256-k53nSYBIJJHPivz6IvF5t0eZVkTvj1ZT3RyHdoy5MXw="; 33 - 34 - cargoBuildFlags = [ "--bin" "xprite-native" ]; 35 - 36 - meta = with lib; { 37 - # error[E0034]: multiple applicable items in scope 38 - # multiple `clamp` found 39 - # https://github.com/NixOS/nixpkgs/issues/146949 40 - broken = true; 41 - homepage = "https://github.com/rickyhan/xprite-editor"; 42 - description = "Pixel art editor"; 43 - license = licenses.gpl3; 44 - maintainers = [ ]; 45 - platforms = platforms.linux ++ platforms.darwin; 46 - }; 47 - }
+1 -1
pkgs/tools/networking/openvpn3/default.nix
··· 117 117 description = "OpenVPN 3 Linux client"; 118 118 license = licenses.agpl3Plus; 119 119 homepage = "https://github.com/OpenVPN/openvpn3-linux/"; 120 - maintainers = with maintainers; [ shamilton kfears ]; 120 + maintainers = with maintainers; [ shamilton ]; 121 121 platforms = platforms.linux; 122 122 }; 123 123 }
-51
pkgs/tools/system/psensor/default.nix
··· 1 - { stdenv 2 - , lib 3 - , fetchurl 4 - , pkg-config 5 - , lm_sensors 6 - , libgtop 7 - , libatasmart 8 - , gtk3 9 - , libnotify 10 - , udisks2 11 - , libXNVCtrl 12 - , wrapGAppsHook3 13 - , libappindicator 14 - }: 15 - 16 - stdenv.mkDerivation rec { 17 - pname = "psensor"; 18 - 19 - version = "1.2.1"; 20 - 21 - src = fetchurl { 22 - url = "https://wpitchoune.net/psensor/files/psensor-${version}.tar.gz"; 23 - sha256 = "1ark901va79gfq5p8h8dqypjgm3f8crmj37520q3slwz2rfphkq8"; 24 - }; 25 - 26 - nativeBuildInputs = [ pkg-config wrapGAppsHook3 ]; 27 - 28 - buildInputs = [ 29 - lm_sensors 30 - libgtop 31 - libatasmart 32 - gtk3 33 - libnotify 34 - udisks2 35 - libappindicator 36 - ]; 37 - 38 - preConfigure = '' 39 - NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${libXNVCtrl}/include -Wno-error" 40 - NIX_LDFLAGS="$NIX_LDFLAGS -L${libXNVCtrl}/lib" 41 - ''; 42 - 43 - meta = with lib; { 44 - description = "Graphical hardware monitoring application for Linux"; 45 - homepage = "https://wpitchoune.net/psensor/"; 46 - license = licenses.mit; 47 - platforms = platforms.linux; 48 - maintainers = [ ]; 49 - mainProgram = "psensor"; 50 - }; 51 - }
+16
pkgs/top-level/aliases.nix
··· 138 138 atomPackages = throw "'atomPackages' has been removed because 'atom' is discontinued and deprecated. Consider using 'pulsar', a maintained fork"; # Added 2023-10-01 139 139 audaciousQt5 = throw "'audaciousQt5' has been removed, since audacious is built with Qt 6 now"; # Added 2024-07-06 140 140 auditBlasHook = throw "'auditBlasHook' has been removed since it never worked"; # Added 2024-04-02 141 + aumix = throw "'aumix' has been removed due to lack of maintenance upstream. Consider using 'pamixer' for CLI or 'pavucontrol' for GUI"; # Added 2024-09-14 141 142 authy = throw "'authy' has been removed since it reached end of life"; # Added 2024-04-19 142 143 avldrums-lv2 = x42-avldrums; # Added 2020-03-29 143 144 avrlibcCross = avrlibc; # Added 2024-09-06 ··· 527 528 gfortran48 = throw "'gfortran48' has been removed from nixpkgs"; # Added 2024-09-10 528 529 gfortran49 = throw "'gfortran49' has been removed from nixpkgs"; # Added 2024-09-11 529 530 ghostwriter = libsForQt5.kdeGear.ghostwriter; # Added 2023-03-18 531 + gmpc = throw "'gmpc' has been removed due to lack of maintenance upstream. Consider using 'plattenalbum' instead"; # Added 2024-09-14 532 + gmtk = throw "'gmtk' has been removed due to lack of maintenance upstream"; # Added 2024-09-14 533 + gmtp = throw "'gmtp' has been removed due to lack of maintenance upstream. Consider using 'gnome-music' instead"; # Added 2024-09-14 530 534 go-dependency-manager = throw "'go-dependency-manager' is unmaintained and the go community now uses 'go.mod' mostly instead"; # Added 2023-10-04 531 535 gotktrix = throw "'gotktrix' has been removed, as it was broken and unmaintained"; # Added 2023-12-06 532 536 git-backup = throw "git-backup has been removed, as it has been abandoned upstream. Consider using git-backup-go instead."; ··· 569 573 gnatcoll-xref = gnatPackages.gnatcoll-xref; # Added 2024-02-25 570 574 gnatcoll-db2ada = gnatPackages.gnatcoll-db2ada; # Added 2024-02-25 571 575 gnatinspect = gnatPackages.gnatinspect; # Added 2024-02-25 576 + gnome-dictionary = throw "'gnome-dictionary' has been removed as it has been archived upstream. Consider using 'wordbook' instead"; # Added 2024-09-14 572 577 gnome-firmware-updater = gnome-firmware; # added 2022-04-14 578 + gnome-hexgl = throw "'gnome-hexgl' has been removed due to lack of maintenance upstream"; # Added 2024-09-14 573 579 gnome-passwordsafe = gnome-secrets; # added 2022-01-30 580 + gnome_mplayer = throw "'gnome_mplayer' has been removed due to lack of maintenance upstream. Consider using 'celluloid' instead"; # Added 2024-09-14 574 581 gnome-mpv = throw "'gnome-mpv' has been renamed to/replaced by 'celluloid'"; # Converted to throw 2023-09-10 575 582 gnome-resources = resources; # added 2023-12-10 576 583 gnome_user_docs = throw "'gnome_user_docs' has been renamed to/replaced by 'gnome-user-docs'"; # Converted to throw 2023-09-10 ··· 647 654 grub = throw "grub1 was removed after not being maintained upstream for a decade. Please switch to another bootloader"; # Added 2023-04-11 648 655 gtetrinet = throw "'gtetrinet' has been removed because it depends on GNOME 2 libraries"; # Added 2024-06-27 649 656 gtkcord4 = dissent; # Added 2024-03-10 657 + gtkperf = throw "'gtkperf' has been removed due to lack of maintenance upstream"; # Added 2024-09-14 650 658 gtkpod = throw "'gtkpod' was removed due to one of its dependencies, 'anjuta' being unmaintained"; # Added 2024-01-16 651 659 guardian-agent = throw "'guardian-agent' has been removed, as it hasn't been maintained upstream in years and accumulated many vulnerabilities"; # Added 2024-06-09 652 660 guile-disarchive = disarchive; # Added 2023-10-27 ··· 770 778 771 779 ### L ### 772 780 781 + l3afpad = throw "'l3afpad' has been removed due to lack of maintenance upstream. Consider using 'xfce.mousepad' instead"; # Added 2024-09-14 773 782 larynx = piper-tts; # Added 2023-05-09 774 783 LASzip = laszip; # Added 2024-06-12 775 784 LASzip2 = laszip_2; # Added 2024-06-12 ··· 861 870 linuxPackages_6_8 = linuxKernel.packages.linux_6_8; 862 871 linuxPackages_6_9 = linuxKernel.packages.linux_6_9; 863 872 linuxPackages_6_10 = linuxKernel.packages.linux_6_10; 873 + linuxPackages_6_11 = linuxKernel.packages.linux_6_11; 864 874 linuxPackages_rpi0 = linuxKernel.packages.linux_rpi1; 865 875 linuxPackages_rpi02w = linuxKernel.packages.linux_rpi3; 866 876 linuxPackages_rpi1 = linuxKernel.packages.linux_rpi1; ··· 890 900 linux_6_8 = linuxKernel.kernels.linux_6_8; 891 901 linux_6_9 = linuxKernel.kernels.linux_6_9; 892 902 linux_6_10 = linuxKernel.kernels.linux_6_10; 903 + linux_6_11 = linuxKernel.kernels.linux_6_11; 893 904 linux_rpi0 = linuxKernel.kernels.linux_rpi1; 894 905 linux_rpi02w = linuxKernel.kernels.linux_rpi3; 895 906 linux_rpi1 = linuxKernel.kernels.linux_rpi1; ··· 985 996 mdt = md-tui; # Added 2024-09-03 986 997 meme = meme-image-generator; # Added 2021-04-21 987 998 mess = throw "'mess' has been renamed to/replaced by 'mame'"; # Converted to throw 2023-09-10 999 + mhwaveedit = throw "'mkwaveedit' has been removed due to lack of maintenance upstream. Consider using 'audacity' or 'tenacity' instead"; 988 1000 microcodeAmd = microcode-amd; # Added 2024-09-08 989 1001 microcodeIntel = microcode-intel; # Added 2024-09-08 990 1002 microsoft_gsl = microsoft-gsl; # Added 2023-05-26 ··· 1023 1035 moz-phab = mozphab; # Added 2022-08-09 1024 1036 mozart-binary = throw "'mozart-binary' has been renamed to/replaced by 'mozart2-binary'"; # Converted to throw 2023-09-10 1025 1037 mozart = throw "'mozart' has been renamed to/replaced by 'mozart2-binary'"; # Converted to throw 2023-09-10 1038 + mp3info = throw "'mp3info' has been removed due to lack of maintenance upstream. Consider using 'eartag' or 'tagger' instead"; # Added 2024-09-14 1026 1039 mpc_cli = mpc-cli; # moved from top-level 2022-01-24 1027 1040 mpd_clientlib = libmpdclient; # Added 2021-02-11 1028 1041 mpdevil = plattenalbum; # Added 2024-05-22 ··· 1284 1297 protonup = protonup-ng; # Added 2022-11-06 1285 1298 proxmark3-rrg = proxmark3; # Added 2023-07-25 1286 1299 proxmark3-unstable = throw "removed in favor of rfidresearchgroup fork"; # Added 2023-07-25 1300 + psensor = throw "'psensor' has been removed due to lack of maintenance upstream. Consider using 'mission-center', 'resources' or 'monitorets' instead"; # Added 2024-09-14 1287 1301 pyls-black = throw "pyls-black has been removed from nixpkgs. Use python-lsp-black instead."; # Added 2023-01-09 1288 1302 pyls-mypy = throw "pyls-mypy has been removed from nixpkgs. Use pylsp-mypy instead."; # Added 2023-01-09 1289 1303 pygmentex = throw "'pygmentex' has been renamed to/replaced by 'texlive.bin.pygmentex'"; # Converted to throw 2023-09-10 ··· 1612 1626 vikunja-frontend = throw "'vikunja-frontend' has been replaced by 'vikunja'"; # Added 2024-02-19 1613 1627 vimHugeX = vim-full; # Added 2022-12-04 1614 1628 vim_configurable = vim-full; # Added 2022-12-04 1629 + vinagre = throw "'vinagre' has been removed as it has been archived upstream. Consider using 'gnome-connections' or 'remmina' instead"; # Added 2024-09-14 1615 1630 vinegar = throw "'vinegar' was removed due to being blocked by Roblox, rendering the package useless"; # Added 2024-08-23 1616 1631 virtmanager = throw "'virtmanager' has been renamed to/replaced by 'virt-manager'"; # Converted to throw 2023-09-10 1617 1632 virtmanager-qt = throw "'virtmanager-qt' has been renamed to/replaced by 'virt-manager-qt'"; # Converted to throw 2023-09-10 ··· 1675 1690 xmlada = gnatPackages.xmlada; # Added 2024-02-25 1676 1691 xmr-stak = throw "xmr-stak has been removed from nixpkgs because it was broken"; # Added 2024-07-15 1677 1692 xonsh-unwrapped = python3Packages.xonsh; # Added 2024-06-18 1693 + xprite-editor = throw "'xprite-editor' has been removed due to lack of maintenance upstream. Consider using 'pablodraw' or 'aseprite' instead"; # Added 2024-09-14 1678 1694 xtrt = throw "xtrt has been removed due to being abandoned"; # Added 2023-05-25 1679 1695 xulrunner = firefox-unwrapped; # Added 2023-11-03 1680 1696 xvfb_run = xvfb-run; # Added 2021-05-07
+1 -37
pkgs/top-level/all-packages.nix
··· 8429 8429 8430 8430 gtkgnutella = callPackage ../tools/networking/p2p/gtk-gnutella { }; 8431 8431 8432 - gtkperf = callPackage ../development/tools/misc/gtkperf { }; 8433 - 8434 8432 gtkradiant = callPackage ../applications/misc/gtkradiant { }; 8435 8433 8436 8434 gtk-frdp = callPackage ../development/libraries/gtk-frdp { }; ··· 9779 9777 ldns = callPackage ../development/libraries/ldns { }; 9780 9778 9781 9779 leafpad = callPackage ../applications/editors/leafpad { }; 9782 - 9783 - l3afpad = callPackage ../applications/editors/l3afpad { }; 9784 9780 9785 9781 leanblueprint = with python3Packages; toPythonApplication leanblueprint; 9786 9782 ··· 11670 11666 11671 11667 psudohash = callPackage ../tools/security/psudohash { }; 11672 11668 11673 - psensor = callPackage ../tools/system/psensor { 11674 - libXNVCtrl = linuxPackages.nvidia_x11.settings.libXNVCtrl; 11675 - }; 11676 - 11677 11669 pubs = callPackage ../tools/misc/pubs { }; 11678 11670 11679 11671 pulldown-cmark = callPackage ../tools/typesetting/pulldown-cmark { }; ··· 14217 14209 inherit (darwin.apple_sdk.frameworks) Security; 14218 14210 }; 14219 14211 14220 - xprite-editor = callPackage ../tools/misc/xprite-editor { 14221 - inherit (darwin.apple_sdk.frameworks) AppKit; 14222 - }; 14223 - 14224 14212 xq-xml = callPackage ../tools/text/xml/xq { }; 14225 14213 14226 14214 xsecurelock = callPackage ../tools/X11/xsecurelock { }; ··· 19357 19345 inherit (darwin.apple_sdk.frameworks) CoreAudio AudioToolbox; 19358 19346 }; 19359 19347 19360 - ayatana-ido = callPackage ../development/libraries/ayatana-ido { }; 19361 - 19362 19348 ayatana-webmail = callPackage ../applications/networking/mailreaders/ayatana-webmail { }; 19363 19349 19364 19350 azmq = callPackage ../development/libraries/azmq { }; ··· 21534 21520 libindicator-gtk3 = libindicator.override { gtkVersion = "3"; }; 21535 21521 libindicator = callPackage ../development/libraries/libindicator { }; 21536 21522 21537 - libayatana-indicator = callPackage ../development/libraries/libayatana-indicator { }; 21538 - 21539 21523 libinotify-kqueue = callPackage ../development/libraries/libinotify-kqueue { }; 21540 21524 21541 21525 libiodbc = callPackage ../development/libraries/libiodbc { ··· 24742 24726 24743 24727 engelsystem = callPackage ../servers/web-apps/engelsystem { }; 24744 24728 24745 - envoy = callPackage ../servers/http/envoy { 24729 + envoy = callPackage ../by-name/en/envoy/package.nix { 24746 24730 jdk = openjdk11_headless; 24747 24731 gn = gn1924; 24748 24732 }; ··· 28807 28791 28808 28792 armcord = callPackage ../applications/networking/instant-messengers/armcord { }; 28809 28793 28810 - aumix = callPackage ../applications/audio/aumix { 28811 - gtkGUI = false; 28812 - }; 28813 - 28814 28794 autopanosiftc = callPackage ../applications/graphics/autopanosiftc { }; 28815 28795 28816 28796 ausweisapp = qt6Packages.callPackage ../applications/misc/ausweisapp { }; ··· 30287 30267 30288 30268 glowing-bear = callPackage ../applications/networking/irc/glowing-bear { }; 30289 30269 30290 - gmtk = callPackage ../development/libraries/gmtk { }; 30291 - 30292 30270 gmu = callPackage ../applications/audio/gmu { }; 30293 30271 30294 30272 gnaural = callPackage ../applications/audio/gnaural { }; 30295 - 30296 - gnome_mplayer = callPackage ../applications/video/gnome-mplayer { }; 30297 30273 30298 30274 gnumeric = callPackage ../applications/office/gnumeric { }; 30299 30275 ··· 30337 30313 gigedit = callPackage ../applications/audio/gigedit { }; 30338 30314 30339 30315 gqview = callPackage ../applications/graphics/gqview { }; 30340 - 30341 - gmpc = callPackage ../applications/audio/gmpc { }; 30342 - 30343 - gmtp = callPackage ../applications/misc/gmtp { }; 30344 30316 30345 30317 gnomecast = callPackage ../applications/video/gnomecast { }; 30346 30318 ··· 31592 31564 31593 31565 metersLv2 = callPackage ../applications/audio/meters_lv2 { }; 31594 31566 31595 - mhwaveedit = callPackage ../applications/audio/mhwaveedit { 31596 - autoreconfHook = buildPackages.autoreconfHook269; 31597 - }; 31598 - 31599 31567 michabo = libsForQt5.callPackage ../applications/misc/michabo { }; 31600 31568 31601 31569 mid2key = callPackage ../applications/audio/mid2key { }; ··· 31751 31719 easytag = callPackage ../applications/audio/easytag { }; 31752 31720 31753 31721 mp3gain = callPackage ../applications/audio/mp3gain { }; 31754 - 31755 - mp3info = callPackage ../applications/audio/mp3info { }; 31756 31722 31757 31723 mp3splt = callPackage ../applications/audio/mp3splt { }; 31758 31724 ··· 35016 34982 fteqcc; 35017 34983 35018 34984 gamepad-tool = callPackage ../games/gamepad-tool { }; 35019 - 35020 - gnome-hexgl = callPackage ../games/gnome-hexgl { }; 35021 34985 35022 34986 gotypist = callPackage ../games/gotypist { }; 35023 34987
+10 -1
pkgs/top-level/linux-kernels.nix
··· 194 194 ]; 195 195 }; 196 196 197 + linux_6_11 = callPackage ../os-specific/linux/kernel/mainline.nix { 198 + branch = "6.11"; 199 + kernelPatches = [ 200 + kernelPatches.bridge_stp_helper 201 + kernelPatches.request_key_helper 202 + ]; 203 + }; 204 + 197 205 linux_testing = let 198 206 testing = callPackage ../os-specific/linux/kernel/mainline.nix { 199 207 # A special branch that tracks the kernel under the release process ··· 629 637 linux_6_1 = recurseIntoAttrs (packagesFor kernels.linux_6_1); 630 638 linux_6_6 = recurseIntoAttrs (packagesFor kernels.linux_6_6); 631 639 linux_6_10 = recurseIntoAttrs (packagesFor kernels.linux_6_10); 640 + linux_6_11 = recurseIntoAttrs (packagesFor kernels.linux_6_11); 632 641 } // lib.optionalAttrs config.allowAliases { 633 642 linux_4_9 = throw "linux 4.9 was removed because it will reach its end of life within 22.11"; # Added 2022-11-08 634 643 linux_4_14 = throw "linux 4.14 was removed because it will reach its end of life within 23.11"; # Added 2023-10-11 ··· 697 706 packageAliases = { 698 707 linux_default = packages.linux_6_6; 699 708 # Update this when adding the newest kernel major version! 700 - linux_latest = packages.linux_6_10; 709 + linux_latest = packages.linux_6_11; 701 710 linux_mptcp = throw "'linux_mptcp' has been moved to https://github.com/teto/mptcp-flake"; 702 711 linux_rt_default = packages.linux_rt_5_15; 703 712 linux_rt_latest = packages.linux_rt_6_6;
+4
pkgs/top-level/python-packages.nix
··· 10625 10625 10626 10626 proton-vpn-killswitch-network-manager = callPackage ../development/python-modules/proton-vpn-killswitch-network-manager { }; 10627 10627 10628 + proton-vpn-killswitch-network-manager-wireguard = callPackage ../development/python-modules/proton-vpn-killswitch-network-manager-wireguard { }; 10629 + 10628 10630 proton-vpn-logger = callPackage ../development/python-modules/proton-vpn-logger { }; 10629 10631 10630 10632 proton-vpn-network-manager = callPackage ../development/python-modules/proton-vpn-network-manager { }; 10631 10633 10632 10634 proton-vpn-network-manager-openvpn = callPackage ../development/python-modules/proton-vpn-network-manager-openvpn { }; 10635 + 10636 + proton-vpn-network-manager-wireguard = callPackage ../development/python-modules/proton-vpn-network-manager-wireguard { }; 10633 10637 10634 10638 proton-vpn-session = callPackage ../development/python-modules/proton-vpn-session { }; 10635 10639