lol

Merge master into staging-next

authored by

github-actions[bot] and committed by
GitHub
15bfb025 cd4ded4f

+812 -340
+34 -17
nixos/modules/services/networking/envoy.nix
··· 6 6 cfg = config.services.envoy; 7 7 format = pkgs.formats.json { }; 8 8 conf = format.generate "envoy.json" cfg.settings; 9 - validateConfig = file: 9 + validateConfig = required: file: 10 10 pkgs.runCommand "validate-envoy-conf" { } '' 11 - ${pkgs.envoy}/bin/envoy --log-level error --mode validate -c "${file}" 11 + ${cfg.package}/bin/envoy --log-level error --mode validate -c "${file}" ${lib.optionalString (!required) "|| true"} 12 12 cp "${file}" "$out" 13 13 ''; 14 - 15 14 in 16 15 17 16 { 18 17 options.services.envoy = { 19 18 enable = mkEnableOption (lib.mdDoc "Envoy reverse proxy"); 20 19 20 + package = mkPackageOptionMD pkgs "envoy" { }; 21 + 22 + requireValidConfig = mkOption { 23 + type = types.bool; 24 + default = true; 25 + description = lib.mdDoc '' 26 + Whether a failure during config validation at build time is fatal. 27 + When the config can't be checked during build time, for example when it includes 28 + other files, disable this option. 29 + ''; 30 + }; 31 + 21 32 settings = mkOption { 22 33 type = format.type; 23 34 default = { }; ··· 46 57 }; 47 58 48 59 config = mkIf cfg.enable { 49 - environment.systemPackages = [ pkgs.envoy ]; 60 + environment.systemPackages = [ cfg.package ]; 50 61 systemd.services.envoy = { 51 62 description = "Envoy reverse proxy"; 52 63 after = [ "network-online.target" ]; 53 64 requires = [ "network-online.target" ]; 54 65 wantedBy = [ "multi-user.target" ]; 55 66 serviceConfig = { 56 - ExecStart = "${pkgs.envoy}/bin/envoy -c ${validateConfig conf}"; 67 + ExecStart = "${cfg.package}/bin/envoy -c ${validateConfig cfg.requireValidConfig conf}"; 68 + CacheDirectory = [ "envoy" ]; 69 + LogsDirectory = [ "envoy" ]; 70 + Restart = "no"; 71 + # Hardening 72 + AmbientCapabilities = [ "CAP_NET_BIND_SERVICE" ]; 73 + CapabilityBoundingSet = [ "CAP_NET_BIND_SERVICE" ]; 74 + DeviceAllow = [ "" ]; 75 + DevicePolicy = "closed"; 57 76 DynamicUser = true; 58 - Restart = "no"; 59 - CacheDirectory = "envoy"; 60 - LogsDirectory = "envoy"; 61 - AmbientCapabilities = "CAP_NET_BIND_SERVICE"; 62 - CapabilityBoundingSet = "CAP_NET_BIND_SERVICE"; 63 - RestrictAddressFamilies = "AF_UNIX AF_INET AF_INET6 AF_NETLINK AF_XDP"; 64 - SystemCallArchitectures = "native"; 65 77 LockPersonality = true; 66 - RestrictNamespaces = true; 67 - RestrictRealtime = true; 68 - PrivateUsers = false; # breaks CAP_NET_BIND_SERVICE 78 + MemoryDenyWriteExecute = false; # at least wasmr needs WX permission 69 79 PrivateDevices = true; 80 + PrivateUsers = false; # breaks CAP_NET_BIND_SERVICE 81 + ProcSubset = "pid"; 70 82 ProtectClock = true; 71 83 ProtectControlGroups = true; 72 84 ProtectHome = true; 85 + ProtectHostname = true; 73 86 ProtectKernelLogs = true; 74 87 ProtectKernelModules = true; 75 88 ProtectKernelTunables = true; 76 89 ProtectProc = "ptraceable"; 77 - ProtectHostname = true; 78 90 ProtectSystem = "strict"; 91 + RestrictAddressFamilies = [ "AF_UNIX" "AF_INET" "AF_INET6" "AF_NETLINK" "AF_XDP" ]; 92 + RestrictNamespaces = true; 93 + RestrictRealtime = true; 94 + SystemCallArchitectures = "native"; 95 + SystemCallErrorNumber = "EPERM"; 96 + SystemCallFilter = [ "@system-service" "~@privileged" "~@resources" ]; 79 97 UMask = "0066"; 80 - SystemCallFilter = "~@clock @module @mount @reboot @swap @obsolete @cpu-emulation"; 81 98 }; 82 99 }; 83 100 };
+3 -1
nixos/modules/services/networking/hostapd.nix
··· 20 20 ssid=${cfg.ssid} 21 21 hw_mode=${cfg.hwMode} 22 22 channel=${toString cfg.channel} 23 + ieee80211n=1 24 + ieee80211ac=1 23 25 ${optionalString (cfg.countryCode != null) "country_code=${cfg.countryCode}"} 24 26 ${optionalString (cfg.countryCode != null) "ieee80211d=1"} 25 27 ··· 34 36 35 37 ${optionalString cfg.wpa '' 36 38 wpa=2 39 + wpa_pairwise=CCMP 37 40 wpa_passphrase=${cfg.wpaPassphrase} 38 41 ''} 39 42 ${optionalString cfg.noScan "noscan=1"} ··· 66 69 }; 67 70 68 71 interface = mkOption { 69 - default = ""; 70 72 example = "wlp2s0"; 71 73 type = types.str; 72 74 description = lib.mdDoc ''
+28 -7
nixos/tests/envoy.nix
··· 13 13 socket_address = { 14 14 protocol = "TCP"; 15 15 address = "127.0.0.1"; 16 - port_value = 9901; 16 + port_value = 80; 17 17 }; 18 18 }; 19 19 }; ··· 22 22 clusters = []; 23 23 }; 24 24 }; 25 + specialisation = { 26 + withoutConfigValidation.configuration = { ... }: { 27 + services.envoy = { 28 + requireValidConfig = false; 29 + settings.admin.access_log_path = lib.mkForce "/var/log/envoy/access.log"; 30 + }; 31 + }; 32 + }; 25 33 }; 26 34 27 - testScript = '' 28 - machine.start() 29 - machine.wait_for_unit("envoy.service") 30 - machine.wait_for_open_port(9901) 31 - machine.wait_until_succeeds("curl -fsS localhost:9901/ready") 32 - ''; 35 + testScript = { nodes, ... }: 36 + let 37 + specialisations = "${nodes.machine.system.build.toplevel}/specialisation"; 38 + in 39 + '' 40 + machine.start() 41 + 42 + with subtest("envoy.service starts and responds with ready"): 43 + machine.wait_for_unit("envoy.service") 44 + machine.wait_for_open_port(80) 45 + machine.wait_until_succeeds("curl -fsS localhost:80/ready") 46 + 47 + with subtest("envoy.service works with config path not available at eval time"): 48 + machine.succeed('${specialisations}/withoutConfigValidation/bin/switch-to-configuration test') 49 + machine.wait_for_unit("envoy.service") 50 + machine.wait_for_open_port(80) 51 + machine.wait_until_succeeds("curl -fsS localhost:80/ready") 52 + machine.succeed('test -f /var/log/envoy/access.log') 53 + ''; 33 54 })
+3 -3
pkgs/applications/audio/gtkcord4/default.nix
··· 19 19 20 20 buildGoModule rec { 21 21 pname = "gtkcord4"; 22 - version = "0.0.8"; 22 + version = "0.0.9"; 23 23 24 24 src = fetchFromGitHub { 25 25 owner = "diamondburned"; 26 26 repo = pname; 27 27 rev = "v${version}"; 28 - hash = "sha256-aJRVk9KFCJbIFInkg5BCJ6ygBlDCFF53WXO9qyACFus="; 28 + hash = "sha256-55mS+hrhLLRkhgih5lvdM9Xka+WKg2iliFm6TYF6n3w="; 29 29 }; 30 30 31 31 nativeBuildInputs = [ ··· 61 61 install -D -m 444 internal/icons/png/logo.png $out/share/icons/hicolor/256x256/apps/gtkcord4.png 62 62 ''; 63 63 64 - vendorHash = "sha256-usnlaOqyMd8rdnFpuCqfaCES8bPaB+NbdL4pFybKJbM="; 64 + vendorHash = "sha256-IQpokMeo46vZIdVA1F7JILXCN9bUqTMOCa/SQ0JSjaM="; 65 65 66 66 meta = with lib; { 67 67 description = "GTK4 Discord client in Go, attempt #4.";
+2 -2
pkgs/applications/blockchains/elements/default.nix
··· 24 24 25 25 stdenv.mkDerivation rec { 26 26 pname = if withGui then "elements" else "elementsd"; 27 - version = "22.0.2"; 27 + version = "22.1"; 28 28 29 29 src = fetchFromGitHub { 30 30 owner = "ElementsProject"; 31 31 repo = "elements"; 32 32 rev = "elements-${version}"; 33 - sha256 = "sha256-20Tem6CD7XAt1EDfkl46Nxhb+Vq3sCk/UqnLCAm85FU="; 33 + sha256 = "sha256-HDV06O9k+TpYR0ZwLas2hvDwxvnfoa8VUzgvkXv/WV8="; 34 34 }; 35 35 36 36 nativeBuildInputs =
+3 -6
pkgs/applications/editors/vscode/extensions/ms-toolsai-jupyter/default.nix
··· 1 1 { lib, vscode-utils, jq, moreutils }: 2 2 3 - let 4 - inherit (vscode-utils) buildVscodeMarketplaceExtension; 5 - 6 - in buildVscodeMarketplaceExtension { 3 + vscode-utils.buildVscodeMarketplaceExtension { 7 4 mktplcRef = { 8 5 name = "jupyter"; 9 6 publisher = "ms-toolsai"; 10 - version = "2022.11.1003381023"; 11 - sha256 = "0cbnr52pq0yw6i4yzyrifyrz186l482m9s01h4l7d74fby9ska8h"; 7 + version = "2023.2.1000411022"; 8 + sha256 = "sha256-gMK/t/rLXYN3rlHxxVeW0W/FWEP0ZCiEwzM8DY14vYg="; 12 9 }; 13 10 14 11 nativeBuildInputs = [
+2 -2
pkgs/applications/misc/tellico/default.nix
··· 24 24 25 25 mkDerivation rec { 26 26 pname = "tellico"; 27 - version = "3.4.5"; 27 + version = "3.4.6"; 28 28 29 29 src = fetchFromGitLab { 30 30 domain = "invent.kde.org"; 31 31 owner = "office"; 32 32 repo = pname; 33 33 rev = "v${version}"; 34 - hash = "sha256-XWzSbtyxOkASTwT5b7+hIEwaKe2bEo6ij+CnPbYNEc0="; 34 + hash = "sha256-aHA4DYuxh4vzXL82HRGMPfqS0DGqq/FLMEuhsr4eLko="; 35 35 }; 36 36 37 37 postPatch = ''
+6 -6
pkgs/applications/networking/instant-messengers/deltachat-desktop/default.nix
··· 21 21 22 22 let 23 23 libdeltachat' = libdeltachat.overrideAttrs (old: rec { 24 - version = "1.107.0"; 24 + version = "1.107.1"; 25 25 src = fetchFromGitHub { 26 26 owner = "deltachat"; 27 27 repo = "deltachat-core-rust"; 28 28 rev = version; 29 - hash = "sha256-fjiS7GZy1BLgmxu4LFOWgucORcVx+9KleQcga+hRkSY="; 29 + hash = "sha256-ISAUZyFrp86ILtRrlowceBQNJ7+tbJReIAe6+u4wwQI="; 30 30 }; 31 31 cargoDeps = rustPlatform.fetchCargoTarball { 32 32 inherit src; 33 33 name = "${old.pname}-${version}"; 34 - hash = "sha256-7XhSI/C0GEmsaL0UupvufB1bfPGbzSQJH720Y4/Do3o="; 34 + hash = "sha256-B4BMxiI3GhsjeD3gYrq5ZpbZ7l77ycrIMWu2sUzZiz4="; 35 35 }; 36 36 }); 37 37 esbuild' = esbuild.override { ··· 48 48 }; 49 49 in buildNpmPackage rec { 50 50 pname = "deltachat-desktop"; 51 - version = "1.34.3"; 51 + version = "1.34.4"; 52 52 53 53 src = fetchFromGitHub { 54 54 owner = "deltachat"; 55 55 repo = "deltachat-desktop"; 56 56 rev = "v${version}"; 57 - hash = "sha256-6WZJD8lMsk1WNguMkXygBCTVpOzNkNuVZJ3Ygv6VBkM="; 57 + hash = "sha256-LV8/r6psUZuCEGbaH1nWlrkeNbEYG8R5O1aCxECPH1E="; 58 58 }; 59 59 60 - npmDepsHash = "sha256-B91yQ/xi8+uyOllqYR7lZTfLBpJvZat1cIIJk9TkM/c="; 60 + npmDepsHash = "sha256-rdZVvsyCo/6C4+gjytCCn9Qcl+chc6U+6orkcM59I8U="; 61 61 62 62 nativeBuildInputs = [ 63 63 makeWrapper
+3 -2
pkgs/applications/networking/instant-messengers/signalbackup-tools/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "signalbackup-tools"; 5 - version = "20230203"; 5 + version = "20230211"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "bepaald"; 9 9 repo = pname; 10 10 rev = version; 11 - sha256 = "sha256-xXIdXv2U5VpRSuJ9Kl6HMDBZGpXRYGPZFBBk9QYODtU="; 11 + hash = "sha256-NeArgsl5xbgcXY8OKjF2wMdwJqgsBdR1XSrIWPqRWMs="; 12 12 }; 13 13 14 14 postPatch = '' ··· 36 36 license = licenses.gpl3Only; 37 37 maintainers = [ maintainers.malo ]; 38 38 platforms = platforms.all; 39 + broken = stdenv.isDarwin; 39 40 }; 40 41 }
+2 -2
pkgs/applications/networking/mailreaders/tutanota-desktop/default.nix
··· 3 3 4 4 stdenv.mkDerivation rec { 5 5 pname = "tutanota-desktop"; 6 - version = "3.106.4"; 6 + version = "3.108.12"; 7 7 8 8 src = fetchurl { 9 9 url = "https://github.com/tutao/tutanota/releases/download/tutanota-desktop-release-${version}/${pname}-${version}-unpacked-linux.tar.gz"; 10 10 name = "tutanota-desktop-${version}.tar.gz"; 11 - sha256 = "sha256-RU2JEFtYOpxqA02YDuB/V4t/ZZ608EHGMPpwxVOzRz4="; 11 + sha256 = "sha256-ZXQCth5nhCkEZI348057cRjzFWl/IEytQmkmBuJzw3w="; 12 12 }; 13 13 14 14 nativeBuildInputs = [
+2 -2
pkgs/applications/science/biology/eggnog-mapper/default.nix
··· 8 8 9 9 python3Packages.buildPythonApplication rec { 10 10 pname = "eggnog-mapper"; 11 - version = "2.1.9"; 11 + version = "2.1.10"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "eggnogdb"; 15 15 repo = pname; 16 16 rev = "refs/tags/${version}"; 17 - hash = "sha256-Fn7hJhZG/T8f2nP+ltl1/FBFwXz0Kxz/4mIma/Z0bnE="; 17 + hash = "sha256-6R2gl2l2Cl/eva0g+kxDLBI2+5T9cFTgaGMsEfeDVU0="; 18 18 }; 19 19 20 20 postPatch = ''
+2 -2
pkgs/applications/virtualization/containerd/default.nix
··· 10 10 11 11 buildGoModule rec { 12 12 pname = "containerd"; 13 - version = "1.6.16"; 13 + version = "1.6.17"; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "containerd"; 17 17 repo = "containerd"; 18 18 rev = "v${version}"; 19 - hash = "sha256-p2I188MGoxnd7dBAMQ0bM5+GT8z3y9S4cZW2Q99DyzY="; 19 + hash = "sha256-5Kpqgn4g08i8UVw9mfK5gc2wSx4wTk6NIzbT7tzY+ho="; 20 20 }; 21 21 22 22 vendorHash = null;
+17 -5
pkgs/data/themes/obsidian2/default.nix
··· 1 - { lib, stdenv, fetchurl, gtk-engine-murrine }: 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + , gtk-engine-murrine 5 + , gitUpdater 6 + }: 2 7 3 8 stdenv.mkDerivation rec { 4 9 pname = "theme-obsidian2"; 5 - version = "2.21"; 10 + version = "2.22"; 6 11 7 12 src = fetchurl { 8 13 url = "https://github.com/madmaxms/theme-obsidian-2/releases/download/v${version}/obsidian-2-theme.tar.xz"; 9 - sha256 = "sha256-ptiJeb4ebfnH6HpTN1NsPAYbkLlPcZtn2aBKO0zW2Tw="; 14 + sha256 = "sha256-WvSlzCock0UMdvajHRBNHSugVMStR1FDt9vjzX5Kp8A="; 10 15 }; 11 16 12 17 sourceRoot = "."; 13 18 14 - propagatedUserEnvPkgs = [ gtk-engine-murrine ]; 19 + propagatedUserEnvPkgs = [ 20 + gtk-engine-murrine 21 + ]; 15 22 16 23 installPhase = '' 17 24 runHook preInstall ··· 20 27 runHook postInstall 21 28 ''; 22 29 30 + passthru.updateScript = gitUpdater { 31 + url = "https://github.com/madmaxms/theme-obsidian-2"; 32 + rev-prefix = "v"; 33 + }; 34 + 23 35 meta = with lib; { 24 - description = "Gnome theme, based upon Adwaita-Maia dark skin"; 36 + description = "Gnome theme based upon Adwaita-Maia dark skin"; 25 37 homepage = "https://github.com/madmaxms/theme-obsidian-2"; 26 38 license = with licenses; [ gpl3Only ]; 27 39 platforms = platforms.linux;
+15 -5
pkgs/desktops/gnome-2/desktop/gtksourceview/default.nix
··· 1 1 {lib, stdenv, fetchpatch, fetchurl, autoreconfHook, pkg-config, atk, cairo, glib 2 2 , gnome-common, gtk2, pango 3 - , libxml2Python, perl, intltool, gettext, gtk-mac-integration-gtk2 }: 3 + , libxml2Python, perl, intltool, gettext, gtk-mac-integration-gtk2 4 + , testers 5 + }: 4 6 5 7 with lib; 6 8 7 - stdenv.mkDerivation rec { 9 + stdenv.mkDerivation (finalAttrs: { 8 10 pname = "gtksourceview"; 9 11 version = "2.10.5"; 10 12 11 - src = fetchurl { 12 - url = "mirror://gnome/sources/gtksourceview/2.10/${pname}-${version}.tar.bz2"; 13 + src = let 14 + inherit (finalAttrs) pname version; 15 + in fetchurl { 16 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 13 17 sha256 = "c585773743b1df8a04b1be7f7d90eecdf22681490d6810be54c81a7ae152191e"; 14 18 }; 15 19 ··· 40 44 ''; 41 45 42 46 doCheck = false; # requires X11 daemon 43 - } 47 + 48 + passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 49 + 50 + meta = { 51 + pkgConfigModules = [ "gtksourceview-2.0" ]; 52 + }; 53 + })
+15 -5
pkgs/desktops/gnome-2/platform/gnome-vfs/default.nix
··· 1 1 { lib, stdenv, fetchurl, fetchpatch, pkg-config, libxml2, bzip2, openssl, dbus-glib 2 - , glib, gamin, cdparanoia, intltool, GConf, gnome_mime_data, avahi, acl }: 2 + , glib, gamin, cdparanoia, intltool, GConf, gnome_mime_data, avahi, acl 3 + , testers 4 + }: 3 5 4 - stdenv.mkDerivation rec { 6 + stdenv.mkDerivation (finalAttrs: { 5 7 pname = "gnome-vfs"; 6 8 version = "2.24.4"; 7 9 8 - src = fetchurl { 9 - url = "mirror://gnome/sources/gnome-vfs/${lib.versions.majorMinor version}/gnome-vfs-${version}.tar.bz2"; 10 + src = let 11 + inherit (finalAttrs) pname version; 12 + in fetchurl { 13 + url = "mirror://gnome/sources/gnome-vfs/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 10 14 sha256 = "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2"; 11 15 }; 12 16 ··· 35 39 postPatch = "find . -name Makefile.in | xargs sed 's/-DG_DISABLE_DEPRECATED//g' -i "; 36 40 37 41 doCheck = false; # needs dbus daemon 38 - } 42 + 43 + passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 44 + 45 + meta = { 46 + pkgConfigModules = [ "gnome-vfs-2.0" "gnome-vfs-module-2.0" ]; 47 + }; 48 + })
+9 -4
pkgs/desktops/gnome/core/libgnome-keyring/default.nix
··· 1 - { lib, stdenv, fetchurl, glib, dbus, libgcrypt, pkg-config, intltool, gobject-introspection, gnome }: 1 + { lib, stdenv, fetchurl, glib, dbus, libgcrypt, pkg-config, intltool, gobject-introspection, gnome 2 + , testers 3 + }: 2 4 3 5 let 4 6 pname = "libgnome-keyring"; 5 7 version = "3.12.0"; 6 8 in 7 - stdenv.mkDerivation rec { 9 + stdenv.mkDerivation (finalAttrs: { 8 10 name = "${pname}-${version}"; 9 11 10 12 src = fetchurl { 11 - url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz"; 13 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 12 14 sha256 = "c4c178fbb05f72acc484d22ddb0568f7532c409b0a13e06513ff54b91e947783"; 13 15 }; 14 16 ··· 16 18 17 19 propagatedBuildInputs = [ glib gobject-introspection dbus libgcrypt ]; 18 20 nativeBuildInputs = [ pkg-config intltool ]; 21 + 22 + passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 19 23 20 24 meta = { 21 25 description = "Framework for managing passwords and other secrets"; 22 26 homepage = "https://wiki.gnome.org/Projects/GnomeKeyring"; 23 27 license = with lib.licenses; [ gpl2Plus lgpl2Plus ]; 28 + pkgConfigModules = [ "gnome-keyring-1" ]; 24 29 inherit (glib.meta) platforms maintainers; 25 30 26 31 longDescription = '' ··· 29 34 with the gnome-keyring system. 30 35 ''; 31 36 }; 32 - } 37 + })
+2 -2
pkgs/development/compilers/qbe/default.nix
··· 5 5 6 6 stdenv.mkDerivation rec { 7 7 pname = "qbe"; 8 - version = "1.0"; 8 + version = "1.1"; 9 9 10 10 src = fetchzip { 11 11 url = "https://c9x.me/compile/release/qbe-${version}.tar.xz"; 12 - sha256 = "sha256-Or6m/y5hb9SlSToBevjhaSbk5Lo5BasbqeJmKd1QpGM="; 12 + sha256 = "sha256-yFZ3cpp7eLjf7ythKFTY1YEJYyfeg2en4/D8+9oM1B4="; 13 13 }; 14 14 15 15 makeFlags = [ "PREFIX=$(out)" ];
+1 -1
pkgs/development/libraries/cairo/default.nix
··· 156 156 "cairo-ps" 157 157 "cairo-svg" 158 158 ] ++ lib.optional gobjectSupport "cairo-gobject" 159 - ++ lib.optional pdfSupport "cairo-gobject"; 159 + ++ lib.optional pdfSupport "cairo-pdf"; 160 160 platforms = platforms.all; 161 161 }; 162 162 })
+9 -4
pkgs/development/libraries/freealut/default.nix
··· 1 - { lib, stdenv, darwin, fetchurl, openal }: 1 + { lib, stdenv, darwin, fetchurl, openal 2 + , testers 3 + }: 2 4 3 - stdenv.mkDerivation rec { 5 + stdenv.mkDerivation (finalAttrs: { 4 6 pname = "freealut"; 5 7 version = "1.1.0"; 6 8 7 9 src = fetchurl { 8 - url = "http://www.openal.org/openal_webstf/downloads/freealut-${version}.tar.gz"; 10 + url = "http://www.openal.org/openal_webstf/downloads/freealut-${finalAttrs.version}.tar.gz"; 9 11 sha256 = "0kzlil6112x2429nw6mycmif8y6bxr2cwjcvp18vh6s7g63ymlb0"; 10 12 }; 11 13 ··· 13 15 ] ++ lib.optional stdenv.isDarwin 14 16 darwin.apple_sdk.frameworks.OpenAL 15 17 ; 18 + 19 + passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 16 20 17 21 meta = { 18 22 homepage = "http://openal.org/"; 19 23 description = "Free implementation of OpenAL's ALUT standard"; 20 24 license = lib.licenses.lgpl2; 25 + pkgConfigModules = [ "freealut" ]; 21 26 platforms = lib.platforms.unix; 22 27 }; 23 - } 28 + })
+9 -4
pkgs/development/libraries/freeglut/default.nix
··· 1 - { lib, stdenv, fetchurl, libICE, libXext, libXi, libXrandr, libXxf86vm, libGL, libGLU, cmake }: 1 + { lib, stdenv, fetchurl, libICE, libXext, libXi, libXrandr, libXxf86vm, libGL, libGLU, cmake 2 + , testers 3 + }: 2 4 3 - stdenv.mkDerivation rec { 5 + stdenv.mkDerivation (finalAttrs: { 4 6 pname = "freeglut"; 5 7 version = "3.2.2"; 6 8 7 9 src = fetchurl { 8 - url = "mirror://sourceforge/freeglut/freeglut-${version}.tar.gz"; 10 + url = "mirror://sourceforge/freeglut/freeglut-${finalAttrs.version}.tar.gz"; 9 11 sha256 = "sha256-xZRKCC3wu6lrV1bd2x910M1yzie1OVxsHd6Fwv8pelA="; 10 12 }; 11 13 ··· 21 23 "-DFREEGLUT_BUILD_DEMOS:BOOL=OFF" 22 24 "-DFREEGLUT_BUILD_STATIC:BOOL=OFF" 23 25 ]; 26 + 27 + passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 24 28 25 29 meta = with lib; { 26 30 description = "Create and manage windows containing OpenGL contexts"; ··· 34 38 ''; 35 39 homepage = "https://freeglut.sourceforge.net/"; 36 40 license = licenses.mit; 41 + pkgConfigModules = [ "glut" ]; 37 42 platforms = platforms.all; 38 43 maintainers = [ maintainers.bjornfor ]; 39 44 }; 40 - } 45 + })
+6 -3
pkgs/development/libraries/freetype/default.nix
··· 22 22 , qt5 23 23 , texmacs 24 24 , ttfautohint 25 + , testers 25 26 }: 26 27 27 28 28 - stdenv.mkDerivation rec { 29 + stdenv.mkDerivation (finalAttrs: { 29 30 pname = "freetype"; 30 31 version = "2.12.1"; 31 32 32 - src = fetchurl { 33 + src = let inherit (finalAttrs) pname version; in fetchurl { 33 34 url = "mirror://savannah/${pname}/${pname}-${version}.tar.xz"; 34 35 sha256 = "sha256-R2byAVfMTPDNKS+Av5F/ktHEObJDrDAY3r9rkUDEGn8="; 35 36 }; ··· 82 83 ttfautohint; 83 84 inherit (python3.pkgs) freetype-py; 84 85 inherit (qt5) qtbase; 86 + pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 85 87 }; 86 88 87 89 meta = with lib; { ··· 96 98 homepage = "https://www.freetype.org/"; 97 99 license = licenses.gpl2Plus; # or the FreeType License (BSD + advertising clause) 98 100 platforms = platforms.all; 101 + pkgConfigModules = [ "freetype2" ]; 99 102 maintainers = with maintainers; [ ttuegel ]; 100 103 }; 101 - } 104 + })
+10 -5
pkgs/development/libraries/gdk-pixbuf/default.nix
··· 19 19 , doCheck ? false 20 20 , makeWrapper 21 21 , lib 22 + , testers 22 23 }: 23 24 24 - stdenv.mkDerivation rec { 25 + stdenv.mkDerivation (finalAttrs: { 25 26 pname = "gdk-pixbuf"; 26 27 version = "2.42.10"; 27 28 28 29 outputs = [ "out" "dev" "man" "devdoc" ] 29 30 ++ lib.optional (stdenv.buildPlatform == stdenv.hostPlatform) "installedTests"; 30 31 31 - src = fetchurl { 32 + src = let 33 + inherit (finalAttrs) pname version; 34 + in fetchurl { 32 35 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 33 36 sha256 = "7ptsddE7oJaQei48aye2G80X9cfr6rWltDnS8uOf5Es="; 34 37 }; ··· 97 100 '' + lib.optionalString stdenv.isDarwin '' 98 101 # meson erroneously installs loaders with .dylib extension on Darwin. 99 102 # Their @rpath has to be replaced before gdk-pixbuf-query-loaders looks at them. 100 - for f in $out/${passthru.moduleDir}/*.dylib; do 103 + for f in $out/${finalAttrs.passthru.moduleDir}/*.dylib; do 101 104 install_name_tool -change @rpath/libgdk_pixbuf-2.0.0.dylib $out/lib/libgdk_pixbuf-2.0.0.dylib $f 102 105 mv $f ''${f%.dylib}.so 103 106 done ··· 127 130 128 131 passthru = { 129 132 updateScript = gnome.updateScript { 130 - packageName = pname; 133 + packageName = finalAttrs.pname; 131 134 versionPolicy = "odd-unstable"; 132 135 }; 133 136 134 137 tests = { 135 138 installedTests = nixosTests.installed-tests.gdk-pixbuf; 139 + pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 136 140 }; 137 141 138 142 # gdk_pixbuf_moduledir variable from gdk-pixbuf-2.0.pc ··· 145 149 license = licenses.lgpl21Plus; 146 150 maintainers = [ maintainers.eelco ] ++ teams.gnome.members; 147 151 mainProgram = "gdk-pixbuf-thumbnailer"; 152 + pkgConfigModules = [ "gdk-pixbuf-2.0" ]; 148 153 platforms = platforms.unix; 149 154 }; 150 - } 155 + })
+11 -4
pkgs/development/libraries/geos/3.9.nix
··· 1 - { lib, stdenv, fetchurl }: 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + , testers 5 + }: 2 6 3 - stdenv.mkDerivation rec { 7 + stdenv.mkDerivation (finalAttrs: { 4 8 pname = "geos"; 5 9 version = "3.9.2"; 6 10 7 11 src = fetchurl { 8 - url = "https://download.osgeo.org/geos/${pname}-${version}.tar.bz2"; 12 + url = "https://download.osgeo.org/geos/${finalAttrs.pname}-${finalAttrs.version}.tar.bz2"; 9 13 sha256 = "sha256-RKWpviHX1HNDa/Yhwt3MPPWou+PHhuEyKWGKO52GEpc="; 10 14 }; 11 15 ··· 13 17 14 18 # https://trac.osgeo.org/geos/ticket/993 15 19 configureFlags = lib.optional stdenv.isAarch32 "--disable-inline"; 20 + 21 + passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 16 22 17 23 meta = with lib; { 18 24 description = "C++ port of the Java Topology Suite (JTS)"; 19 25 homepage = "https://trac.osgeo.org/geos"; 20 26 license = licenses.lgpl21Only; 27 + pkgConfigModules = [ "geos" ]; 21 28 maintainers = with lib.maintainers; [ 22 29 willcohen 23 30 ]; 24 31 }; 25 - } 32 + })
+9 -4
pkgs/development/libraries/geos/default.nix
··· 2 2 , stdenv 3 3 , fetchurl 4 4 , fetchpatch 5 - , cmake }: 5 + , cmake 6 + , testers 7 + }: 6 8 7 - stdenv.mkDerivation rec { 9 + stdenv.mkDerivation (finalAttrs: { 8 10 pname = "geos"; 9 11 version = "3.11.1"; 10 12 11 13 src = fetchurl { 12 - url = "https://download.osgeo.org/geos/${pname}-${version}.tar.bz2"; 14 + url = "https://download.osgeo.org/geos/${finalAttrs.pname}-${finalAttrs.version}.tar.bz2"; 13 15 hash = "sha256-bQ6zz6n5LZR3Mcx18XUDVrO9/AfqAgVT2vavHHaOC+I="; 14 16 }; 15 17 16 18 nativeBuildInputs = [ cmake ]; 17 19 18 20 doCheck = true; 21 + 22 + passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 19 23 20 24 meta = with lib; { 21 25 description = "C++ port of the Java Topology Suite (JTS)"; 22 26 homepage = "https://trac.osgeo.org/geos"; 23 27 license = licenses.lgpl21Only; 28 + pkgConfigModules = [ "geos" ]; 24 29 maintainers = with lib.maintainers; [ 25 30 willcohen 26 31 ]; 27 32 }; 28 - } 33 + })
+7 -3
pkgs/development/libraries/glew/1.10.nix
··· 1 1 { lib, stdenv, fetchurl, libGLU, libXmu, libXi, libXext 2 2 , AGL, OpenGL 3 + , testers 3 4 }: 4 5 5 - stdenv.mkDerivation rec { 6 + stdenv.mkDerivation (finalAttrs: { 6 7 pname = "glew"; 7 8 version = "1.10.0"; 8 9 9 10 src = fetchurl { 10 - url = "mirror://sourceforge/glew/glew-${version}.tgz"; 11 + url = "mirror://sourceforge/glew/${finalAttrs.pname}-${finalAttrs.version}.tgz"; 11 12 sha256 = "01zki46dr5khzlyywr3cg615bcal32dazfazkf360s1znqh17i4r"; 12 13 }; 13 14 ··· 41 42 "SYSTEM=${if stdenv.hostPlatform.isMinGW then "mingw" else stdenv.hostPlatform.parsed.kernel.name}" 42 43 ]; 43 44 45 + passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 46 + 44 47 meta = with lib; { 45 48 description = "An OpenGL extension loading library for C(++)"; 46 49 homepage = "https://glew.sourceforge.net/"; 47 50 license = licenses.free; # different files under different licenses 48 51 #["BSD" "GLX" "SGI-B" "GPL2"] 52 + pkgConfigModules = [ "glew" ]; 49 53 platforms = platforms.mesaPlatforms; 50 54 }; 51 - } 55 + })
+7 -3
pkgs/development/libraries/glew/default.nix
··· 1 1 { lib, stdenv, fetchurl, fetchpatch, cmake, libGLU, libXmu, libXi, libXext 2 2 , OpenGL 3 3 , enableEGL ? false 4 + , testers 4 5 }: 5 6 6 - stdenv.mkDerivation rec { 7 + stdenv.mkDerivation (finalAttrs: { 7 8 pname = "glew"; 8 9 version = "2.2.0"; 9 10 10 11 src = fetchurl { 11 - url = "mirror://sourceforge/glew/${pname}-${version}.tgz"; 12 + url = "mirror://sourceforge/glew/${finalAttrs.pname}-${finalAttrs.version}.tgz"; 12 13 sha256 = "1qak8f7g1iswgswrgkzc7idk7jmqgwrs58fhg2ai007v7j4q5z6l"; 13 14 }; 14 15 ··· 44 45 EOF 45 46 ''; 46 47 48 + passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 49 + 47 50 meta = with lib; { 48 51 description = "An OpenGL extension loading library for C/C++"; 49 52 homepage = "https://glew.sourceforge.net/"; 50 53 license = with licenses; [ /* modified bsd */ free mit gpl2Only ]; # For full details, see https://github.com/nigels-com/glew#copyright-and-licensing 54 + pkgConfigModules = [ "glew" ]; 51 55 platforms = with platforms; 52 56 if enableEGL then 53 57 subtractLists darwin mesaPlatforms 54 58 else 55 59 mesaPlatforms; 56 60 }; 57 - } 61 + })
+10 -1
pkgs/development/libraries/glib/default.nix
··· 19 19 , desktop-file-utils, shared-mime-info 20 20 , darwin 21 21 , makeHardcodeGsettingsPatch 22 + , testers 22 23 }: 23 24 24 25 assert stdenv.isLinux -> util-linuxMinimal != null; ··· 280 281 getSchemaPath = pkg: makeSchemaPath pkg pkg.name; 281 282 getSchemaDataDirPath = pkg: makeSchemaDataDirPath pkg pkg.name; 282 283 283 - tests.withChecks = finalAttrs.finalPackage.overrideAttrs (_: { doCheck = true; }); 284 + tests = { 285 + withChecks = finalAttrs.finalPackage.overrideAttrs (_: { doCheck = true; }); 286 + pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 287 + }; 284 288 285 289 inherit flattenInclude; 286 290 updateScript = gnome.updateScript { ··· 306 310 homepage = "https://wiki.gnome.org/Projects/GLib"; 307 311 license = licenses.lgpl21Plus; 308 312 maintainers = teams.gnome.members ++ (with maintainers; [ lovek323 raskin ]); 313 + pkgConfigModules = [ 314 + "gio-2.0" 315 + "gobject-2.0" 316 + "gthread-2.0" 317 + ]; 309 318 platforms = platforms.unix; 310 319 311 320 longDescription = ''
+3
pkgs/development/libraries/gobject-introspection/default.nix
··· 21 21 , gobject-introspection-unwrapped 22 22 , nixStoreDir ? builtins.storeDir 23 23 , x11Support ? true 24 + , testers 24 25 }: 25 26 26 27 # now that gobject-introspection creates large .gir files (eg gtk3 case) ··· 145 146 packageName = "gobject-introspection"; 146 147 versionPolicy = "odd-unstable"; 147 148 }; 149 + tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 148 150 }; 149 151 150 152 meta = with lib; { 151 153 description = "A middleware layer between C libraries and language bindings"; 152 154 homepage = "https://gi.readthedocs.io/"; 153 155 maintainers = teams.gnome.members ++ (with maintainers; [ lovek323 artturin ]); 156 + pkgConfigModules = [ "gobject-introspection-1.0" ]; 154 157 platforms = platforms.unix; 155 158 license = with licenses; [ gpl2 lgpl2 ]; 156 159
+14 -3
pkgs/development/libraries/gstreamer/base/default.nix
··· 37 37 , enableCdparanoia ? (!stdenv.isDarwin) 38 38 , cdparanoia 39 39 , glib 40 + , testers 40 41 }: 41 42 42 - stdenv.mkDerivation rec { 43 + stdenv.mkDerivation (finalAttrs: { 43 44 pname = "gst-plugins-base"; 44 45 version = "1.20.3"; 45 46 46 47 outputs = [ "out" "dev" ]; 47 48 48 - src = fetchurl { 49 + src = let 50 + inherit (finalAttrs) pname version; 51 + in fetchurl { 49 52 url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz"; 50 53 sha256 = "sha256-fjCz3YGnA4D/dVT5mEcdaZb/drvm/FRHCW+FHiRHPJ8="; 51 54 }; ··· 146 149 waylandEnabled = enableWayland; 147 150 }; 148 151 152 + passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 153 + 149 154 meta = with lib; { 150 155 description = "Base GStreamer plug-ins and helper libraries"; 151 156 homepage = "https://gstreamer.freedesktop.org"; 152 157 license = licenses.lgpl2Plus; 158 + pkgConfigModules = [ 159 + "gstreamer-audio-1.0" 160 + "gstreamer-base-1.0" 161 + "gstreamer-net-1.0" 162 + "gstreamer-video-1.0" 163 + ]; 153 164 platforms = platforms.unix; 154 165 maintainers = with maintainers; [ matthewbauer ]; 155 166 }; 156 - } 167 + })
+12 -4
pkgs/development/libraries/gstreamer/core/default.nix
··· 17 17 , lib 18 18 , CoreServices 19 19 , gobject-introspection 20 + , testers 20 21 }: 21 22 22 - stdenv.mkDerivation rec { 23 + stdenv.mkDerivation (finalAttrs: { 23 24 pname = "gstreamer"; 24 25 version = "1.20.3"; 25 26 ··· 32 33 # - https://github.com/NixOS/nixpkgs/issues/98769#issuecomment-702296551 33 34 ]; 34 35 35 - src = fetchurl { 36 + src = let 37 + inherit (finalAttrs) pname version; 38 + in fetchurl { 36 39 url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz"; 37 40 sha256 = "sha256-YH2vZLu9X7GK+dF+IcDSLE1wL//oOyPLItGxryyiOio="; 38 41 }; ··· 108 111 109 112 setupHook = ./setup-hook.sh; 110 113 111 - meta = with lib ;{ 114 + passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 115 + 116 + meta = with lib; { 112 117 description = "Open source multimedia framework"; 113 118 homepage = "https://gstreamer.freedesktop.org"; 114 119 license = licenses.lgpl2Plus; 120 + pkgConfigModules = [ 121 + "gstreamer-controller-1.0" 122 + ]; 115 123 platforms = platforms.unix; 116 124 maintainers = with maintainers; [ ttuegel matthewbauer ]; 117 125 }; 118 - } 126 + })
+15 -4
pkgs/development/libraries/gtk/2.x.nix
··· 5 5 , gdktarget ? if stdenv.isDarwin then "quartz" else "x11" 6 6 , AppKit, Cocoa 7 7 , fetchpatch, buildPackages 8 + , testers 8 9 }: 9 10 10 11 let ··· 17 18 18 19 in 19 20 20 - stdenv.mkDerivation rec { 21 + stdenv.mkDerivation (finalAttrs: { 21 22 pname = "gtk+"; 22 23 version = "2.24.33"; 23 24 24 25 src = fetchurl { 25 - url = "mirror://gnome/sources/gtk+/2.24/${pname}-${version}.tar.xz"; 26 + url = "mirror://gnome/sources/gtk+/2.24/${finalAttrs.pname}-${finalAttrs.version}.tar.xz"; 26 27 sha256 = "rCrHV/WULTGKMRpUsMgLXvKV8pnCpzxjL2v7H/Scxto="; 27 28 }; 28 29 ··· 37 38 ]; 38 39 39 40 40 - nativeBuildInputs = setupHooks ++ [ perl pkg-config gettext gobject-introspection ]; 41 + nativeBuildInputs = finalAttrs.setupHooks ++ [ 42 + perl pkg-config gettext gobject-introspection 43 + ]; 41 44 42 45 patches = [ 43 46 ./patches/2.0-immodules.cache.patch ··· 90 93 $out/bin/gtk-query-immodules-2.0 $out/lib/gtk-2.0/2.10.0/immodules/*.so > $out/lib/gtk-2.0/2.10.0/immodules.cache 91 94 ''; # workaround for bug of nix-mode for Emacs */ ''; 92 95 inherit gdktarget; 96 + tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 93 97 }; 94 98 95 99 meta = with lib; { ··· 97 101 homepage = "https://www.gtk.org/"; 98 102 license = licenses.lgpl2Plus; 99 103 maintainers = with maintainers; [ lovek323 raskin ]; 104 + pkgConfigModules = [ 105 + "gdk-2.0" 106 + "gtk+-2.0" 107 + ] ++ lib.optionals (gdktarget == "x11") [ 108 + "gdk-x11-2.0" 109 + "gtk+-x11-2.0" 110 + ]; 100 111 platforms = platforms.all; 101 112 102 113 longDescription = '' ··· 111 122 ''; 112 123 changelog = "https://gitlab.gnome.org/GNOME/gtk/-/raw/${version}/NEWS"; 113 124 }; 114 - } 125 + })
+16 -5
pkgs/development/libraries/gtk/3.x.nix
··· 46 46 , QuartzCore 47 47 , broadwaySupport ? true 48 48 , wayland-scanner 49 + , testers 49 50 }: 50 51 51 52 let ··· 58 59 59 60 in 60 61 61 - stdenv.mkDerivation rec { 62 + stdenv.mkDerivation (finalAttrs: { 62 63 pname = "gtk+3"; 63 64 version = "3.24.36"; 64 65 ··· 70 71 gtkCleanImmodulesCache 71 72 ]; 72 73 73 - src = fetchurl { 74 + src = let 75 + inherit (finalAttrs) version; 76 + in fetchurl { 74 77 url = "mirror://gnome/sources/gtk+/${lib.versions.majorMinor version}/gtk+-${version}.tar.xz"; 75 78 sha256 = "sha256-J6bvFXdDNQyAf/6lm6odcCJtvt6CpelT/9WOpgWf5pE="; 76 79 }; ··· 99 102 python3 100 103 sassc 101 104 gdk-pixbuf 102 - ] ++ setupHooks ++ lib.optionals withGtkDoc [ 105 + ] ++ finalAttrs.setupHooks ++ lib.optionals withGtkDoc [ 103 106 docbook_xml_dtd_43 104 107 docbook-xsl-nons 105 108 gtk-doc ··· 212 215 213 216 for program in ''${demos[@]}; do 214 217 wrapProgram $dev/bin/$program \ 215 - --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH:$out/share/gsettings-schemas/${pname}-${version}" 218 + --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH:$out/share/gsettings-schemas/${finalAttrs.pname}-${finalAttrs.version}" 216 219 done 217 220 '' + lib.optionalString stdenv.isDarwin '' 218 221 # a comment created a cycle between outputs ··· 225 228 attrPath = "gtk3"; 226 229 freeze = true; 227 230 }; 231 + tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 228 232 }; 229 233 230 234 meta = with lib; { ··· 242 246 homepage = "https://www.gtk.org/"; 243 247 license = licenses.lgpl2Plus; 244 248 maintainers = with maintainers; [ raskin ] ++ teams.gnome.members; 249 + pkgConfigModules = [ 250 + "gdk-3.0" 251 + "gtk+-3.0" 252 + ] ++ lib.optionals x11Support [ 253 + "gdk-x11-3.0" 254 + "gtk+-x11-3.0" 255 + ]; 245 256 platforms = platforms.all; 246 257 changelog = "https://gitlab.gnome.org/GNOME/gtk/-/raw/${version}/NEWS"; 247 258 }; 248 - } 259 + })
+12 -5
pkgs/development/libraries/gtksourceview/3.x.nix
··· 1 1 { lib, stdenv, fetchurl, pkg-config, atk, cairo, glib, gtk3, pango, vala 2 - , libxml2, perl, intltool, gettext, gobject-introspection, dbus, xvfb-run, shared-mime-info }: 2 + , libxml2, perl, intltool, gettext, gobject-introspection, dbus, xvfb-run, shared-mime-info 3 + , testers 4 + }: 3 5 4 - stdenv.mkDerivation rec { 6 + stdenv.mkDerivation (finalAttrs: { 5 7 pname = "gtksourceview"; 6 8 version = "3.24.11"; 7 9 8 - src = fetchurl { 9 - url = "mirror://gnome/sources/gtksourceview/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 10 + src = let 11 + inherit (finalAttrs) pname version; 12 + in fetchurl { 13 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 10 14 sha256 = "1zbpj283b5ycz767hqz5kdq02wzsga65pp4fykvhg8xj6x50f6v9"; 11 15 }; 12 16 ··· 42 46 make check 43 47 ''; 44 48 49 + passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 50 + 45 51 meta = with lib; { 46 52 homepage = "https://wiki.gnome.org/Projects/GtkSourceView"; 53 + pkgConfigModules = [ "gtksourceview-3.0" ]; 47 54 platforms = with platforms; linux ++ darwin; 48 55 license = licenses.lgpl21; 49 56 maintainers = teams.gnome.members; 50 57 }; 51 - } 58 + })
+9 -3
pkgs/development/libraries/gtksourceview/4.x.nix
··· 19 19 , dbus 20 20 , xvfb-run 21 21 , shared-mime-info 22 + , testers 22 23 }: 23 24 24 - stdenv.mkDerivation rec { 25 + stdenv.mkDerivation (finalAttrs: { 25 26 pname = "gtksourceview"; 26 27 version = "4.8.4"; 27 28 28 29 outputs = [ "out" "dev" ]; 29 30 30 - src = fetchurl { 31 + src = let 32 + inherit (finalAttrs) pname version; 33 + in fetchurl { 31 34 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 32 35 sha256 = "fsnRj7KD0fhKOj7/O3pysJoQycAGWXs/uru1lYQgqH0="; 33 36 }; ··· 101 104 }; 102 105 }; 103 106 107 + passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 108 + 104 109 meta = with lib; { 105 110 description = "Source code editing widget for GTK"; 106 111 homepage = "https://wiki.gnome.org/Projects/GtkSourceView"; 112 + pkgConfigModules = [ "gtksourceview-4" ]; 107 113 platforms = platforms.unix; 108 114 license = licenses.lgpl21Plus; 109 115 maintainers = teams.gnome.members; 110 116 }; 111 - } 117 + })
+9 -3
pkgs/development/libraries/gtksourceview/5.x.nix
··· 20 20 , dbus 21 21 , xvfb-run 22 22 , shared-mime-info 23 + , testers 23 24 }: 24 25 25 - stdenv.mkDerivation rec { 26 + stdenv.mkDerivation (finalAttrs: { 26 27 pname = "gtksourceview"; 27 28 version = "5.6.2"; 28 29 29 30 outputs = [ "out" "dev" "devdoc" ]; 30 31 31 - src = fetchurl { 32 + src = let 33 + inherit (finalAttrs) pname version; 34 + in fetchurl { 32 35 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 33 36 sha256 = "HxRsFW8TWmBJnZeeNXfJm24VoRFEV2er5iGbs0xUXHc="; 34 37 }; ··· 117 120 }; 118 121 }; 119 122 123 + passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 124 + 120 125 meta = with lib; { 121 126 description = "Source code editing widget for GTK"; 122 127 homepage = "https://wiki.gnome.org/Projects/GtkSourceView"; 128 + pkgConfigModules = [ "gtksourceview-5" ]; 123 129 platforms = platforms.unix; 124 130 license = licenses.lgpl21Plus; 125 131 maintainers = teams.gnome.members; 126 132 }; 127 - } 133 + })
+4
pkgs/development/libraries/ldb/default.nix
··· 12 12 , docbook_xml_dtd_42 13 13 , cmocka 14 14 , wafHook 15 + , libxcrypt 15 16 }: 16 17 17 18 stdenv.mkDerivation rec { ··· 32 33 libxslt 33 34 docbook-xsl-nons 34 35 docbook_xml_dtd_42 36 + tdb 37 + tevent 35 38 ]; 36 39 37 40 buildInputs = [ ··· 42 45 tevent 43 46 popt 44 47 cmocka 48 + libxcrypt 45 49 ]; 46 50 47 51 # otherwise the configure script fails with
+11 -4
pkgs/development/libraries/libgnome-keyring/default.nix
··· 1 - { lib, stdenv, fetchurl, glib, dbus, libgcrypt, pkg-config, intltool }: 1 + { lib, stdenv, fetchurl, glib, dbus, libgcrypt, pkg-config, intltool 2 + , testers 3 + }: 2 4 3 - stdenv.mkDerivation rec { 5 + stdenv.mkDerivation (finalAttrs: { 4 6 pname = "libgnome-keyring"; 5 7 version = "2.32.0"; 6 8 7 - src = fetchurl { 9 + src = let 10 + inherit (finalAttrs) pname version; 11 + in fetchurl { 8 12 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 9 13 sha256 = "030gka96kzqg1r19b4xrmac89hf1xj1kr5p461yvbzfxh46qqf2n"; 10 14 }; ··· 13 17 14 18 propagatedBuildInputs = [ glib dbus libgcrypt ]; 15 19 nativeBuildInputs = [ pkg-config intltool ]; 20 + 21 + passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 16 22 17 23 meta = { 24 + pkgConfigModules = [ "gnome-keyring-1" ]; 18 25 inherit (glib.meta) platforms maintainers; 19 26 homepage = "https://wiki.gnome.org/Projects/GnomeKeyring"; 20 27 license = with lib.licenses; [ gpl2 lgpl2 ]; 21 28 }; 22 - } 29 + })
+7 -3
pkgs/development/libraries/libzip/default.nix
··· 12 12 , openssl 13 13 , withZstd ? false 14 14 , zstd 15 + , testers 15 16 }: 16 17 17 - stdenv.mkDerivation rec { 18 + stdenv.mkDerivation (finalAttrs: { 18 19 pname = "libzip"; 19 20 version = "1.9.2"; 20 21 21 22 src = fetchurl { 22 - url = "https://libzip.org/download/${pname}-${version}.tar.gz"; 23 + url = "https://libzip.org/download/${finalAttrs.pname}-${finalAttrs.version}.tar.gz"; 23 24 sha256 = "sha256-/Wp/dF3j1pz1YD7cnLM9KJDwGY5BUlXQmHoM8Q2CTG8="; 24 25 }; 25 26 ··· 41 42 patchShebangs regress 42 43 ''; 43 44 45 + passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 46 + 44 47 meta = with lib; { 45 48 homepage = "https://libzip.org/"; 46 49 description = "A C library for reading, creating and modifying zip archives"; 47 50 license = licenses.bsd3; 51 + pkgConfigModules = [ "libzip" ]; 48 52 platforms = platforms.unix; 49 53 changelog = "https://github.com/nih-at/libzip/blob/v${version}/NEWS.md"; 50 54 }; 51 - } 55 + })
+11 -4
pkgs/development/libraries/mesa-glu/default.nix
··· 1 - { lib, stdenv, fetchurl, pkg-config, libGL, ApplicationServices }: 1 + { lib, stdenv, fetchurl, pkg-config, libGL, ApplicationServices 2 + , testers 3 + }: 2 4 3 - stdenv.mkDerivation rec { 5 + stdenv.mkDerivation (finalAttrs: { 4 6 pname = "glu"; 5 7 version = "9.0.2"; 6 8 7 - src = fetchurl { 9 + src = let 10 + inherit (finalAttrs) pname version; 11 + in fetchurl { 8 12 url = "https://mesa.freedesktop.org/archive/${pname}/${pname}-${version}.tar.xz"; 9 13 sha256 = "sha256-bnKA/1hcah2d/N8vykiSUWNLM3e/wzwp5AAkZqONAtQ="; 10 14 }; ··· 14 18 ++ lib.optional stdenv.isDarwin ApplicationServices; 15 19 16 20 outputs = [ "out" "dev" ]; 21 + 22 + passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 17 23 18 24 meta = { 19 25 description = "OpenGL utility library"; 20 26 homepage = "https://cgit.freedesktop.org/mesa/glu/"; 21 27 license = lib.licenses.sgi-b-20; 28 + pkgConfigModules = [ "glu" ]; 22 29 platforms = lib.platforms.unix; 23 30 broken = stdenv.hostPlatform.isAndroid; 24 31 }; 25 - } 32 + })
+24 -2
pkgs/development/libraries/qt-5/modules/qtbase.nix
··· 24 24 , debug ? false 25 25 , developerBuild ? false 26 26 , decryptSslTraffic ? false 27 + , testers 27 28 }: 28 29 29 30 let 30 31 debugSymbols = debug || developerBuild; 31 32 in 32 33 33 - stdenv.mkDerivation { 34 + stdenv.mkDerivation (finalAttrs: { 34 35 pname = "qtbase"; 35 36 inherit qtCompatVersion src version; 36 37 debug = debugSymbols; ··· 338 339 339 340 setupHook = ../hooks/qtbase-setup-hook.sh; 340 341 342 + passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 343 + 341 344 meta = with lib; { 342 345 homepage = "https://www.qt.io/"; 343 346 description = "A cross-platform application framework for C++"; 344 347 license = with licenses; [ fdl13Plus gpl2Plus lgpl21Plus lgpl3Plus ]; 345 348 maintainers = with maintainers; [ qknight ttuegel periklis bkchr ]; 349 + pkgConfigModules = [ 350 + "Qt5Concurrent" 351 + "Qt5Core" 352 + "Qt5DBus" 353 + "Qt5Gui" 354 + "Qt5Network" 355 + "Qt5OpenGL" 356 + "Qt5OpenGLExtensions" 357 + "Qt5PrintSupport" 358 + #"Qt5Qml" 359 + #"Qt5QmlModels" 360 + #"Qt5Quick" 361 + #"Qt5QuickTest" 362 + #"Qt5QuickWidgets" 363 + "Qt5Sql" 364 + "Qt5Test" 365 + "Qt5Widgets" 366 + "Qt5Xml" 367 + ]; 346 368 platforms = platforms.unix; 347 369 }; 348 370 349 - } 371 + })
+104 -24
pkgs/development/libraries/science/math/cudnn/extension.nix
··· 68 68 supportedCudaVersions = [ "10.2" ]; 69 69 } 70 70 ]; 71 + "8.0.5" = [ 72 + rec { 73 + fileVersion = "10.1"; 74 + fullVersion = "8.0.5.39"; 75 + hash = "sha256-kJCElSmIlrM6qVBjo0cfk8NmJ9esAcF9w211xl7qSgA="; 76 + url = "${urlPrefix}/v${majorMinorPatch fullVersion}/cudnn-${fileVersion}-linux-x64-v${fullVersion}.tgz"; 77 + # https://docs.nvidia.com/deeplearning/cudnn/archives/cudnn-805/support-matrix/index.html 78 + supportedCudaVersions = [ "10.1" ]; 79 + } 80 + rec { 81 + fileVersion = "10.2"; 82 + fullVersion = "8.0.5.39"; 83 + hash = "sha256-IfhMBcZ78eyFnnfDjM1b8VSWT6HDCPRJlZvkw1bjgvM="; 84 + url = "${urlPrefix}/v${majorMinorPatch fullVersion}/cudnn-${fileVersion}-linux-x64-v${fullVersion}.tgz"; 85 + # https://docs.nvidia.com/deeplearning/cudnn/archives/cudnn-805/support-matrix/index.html 86 + supportedCudaVersions = [ "10.2" ]; 87 + } 88 + rec { 89 + fileVersion = "11.0"; 90 + fullVersion = "8.0.5.39"; 91 + hash = "sha256-ThbueJXetKixwZS4ErpJWG730mkCBRQB03F1EYmKm3M="; 92 + url = "${urlPrefix}/v${majorMinorPatch fullVersion}/cudnn-${fileVersion}-linux-x64-v${fullVersion}.tgz"; 93 + # https://docs.nvidia.com/deeplearning/cudnn/archives/cudnn-805/support-matrix/index.html 94 + supportedCudaVersions = [ "11.0" ]; 95 + } 96 + rec { 97 + fileVersion = "11.1"; 98 + fullVersion = "8.0.5.39"; 99 + hash = "sha256-HQRr+nk5navMb2yxUHkYdUQ5RC6gyp4Pvs3URvmwDM4="; 100 + url = "${urlPrefix}/v${majorMinorPatch fullVersion}/cudnn-${fileVersion}-linux-x64-v${fullVersion}.tgz"; 101 + # https://docs.nvidia.com/deeplearning/cudnn/archives/cudnn-805/support-matrix/index.html 102 + supportedCudaVersions = [ "11.1" ]; 103 + } 104 + ]; 71 105 "8.1.1" = [ 72 106 rec { 73 107 fileVersion = "10.2"; 74 108 fullVersion = "8.1.1.33"; 75 109 hash = "sha256-Kkp7mabpv6aQ6xm7QeSVU/KnpJGls6v8rpAOFmxbbr0="; 76 110 url = "${urlPrefix}/v${majorMinorPatch fullVersion}/cudnn-${fileVersion}-linux-x64-v${fullVersion}.tgz"; 111 + # https://docs.nvidia.com/deeplearning/cudnn/archives/cudnn-811/support-matrix/index.html#cudnn-versions-810-811 77 112 supportedCudaVersions = [ "10.2" ]; 78 113 } 79 114 rec { ··· 81 116 fullVersion = "8.1.1.33"; 82 117 hash = "sha256-mKh4TpKGLyABjSDCgbMNSgzZUfk2lPZDPM9K6cUCumo="; 83 118 url = "${urlPrefix}/v${majorMinorPatch fullVersion}/cudnn-${fileVersion}-linux-x64-v${fullVersion}.tgz"; 84 - supportedCudaVersions = [ "11.2" ]; 119 + # https://docs.nvidia.com/deeplearning/cudnn/archives/cudnn-811/support-matrix/index.html#cudnn-versions-810-811 120 + supportedCudaVersions = [ "11.0" "11.1" "11.2" ]; 85 121 } 86 122 ]; 87 - "8.3.2" = [ 123 + "8.2.4" = [ 88 124 rec { 89 125 fileVersion = "10.2"; 90 - fullVersion = "8.3.2.44"; 91 - hash = "sha256-1vVu+cqM+PketzIQumw9ykm6REbBZhv6/lXB7EC2aaw="; 126 + fullVersion = "8.2.4.15"; 127 + hash = "sha256-0jyUoxFaHHcRamwSfZF1+/WfcjNkN08mo0aZB18yIvE="; 128 + url = "${urlPrefix}/v${majorMinorPatch fullVersion}/cudnn-${fileVersion}-linux-x64-v${fullVersion}.tgz"; 129 + # https://docs.nvidia.com/deeplearning/cudnn/archives/cudnn-824/support-matrix/index.html 130 + supportedCudaVersions = [ "10.2" ]; 131 + } 132 + rec { 133 + fileVersion = "11.4"; 134 + fullVersion = "8.2.4.15"; 135 + hash = "sha256-Dl0t+JC5ln76ZhnaQhMQ2XMjVlp58FoajLm3Fluq0Nc="; 136 + url = "${urlPrefix}/v${majorMinorPatch fullVersion}/cudnn-${fileVersion}-linux-x64-v${fullVersion}.tgz"; 137 + # https://docs.nvidia.com/deeplearning/cudnn/archives/cudnn-824/support-matrix/index.html 138 + supportedCudaVersions = [ "11.0" "11.1" "11.2" "11.3" "11.4" ]; 139 + } 140 + ]; 141 + "8.3.3" = [ 142 + rec { 143 + fileVersion = "10.2"; 144 + fullVersion = "8.3.3.40"; 145 + hash = "sha256-2FVPKzLmKV1fyPOsJeaPlAWLAYyAHaucFD42gS+JJqs="; 92 146 url = "${urlPrefix}/v${majorMinorPatch fullVersion}/local_installers/${fileVersion}/cudnn-linux-x86_64-${fullVersion}_cuda${fileVersion}-archive.tar.xz"; 147 + # https://docs.nvidia.com/deeplearning/cudnn/archives/cudnn-833/support-matrix/index.html 93 148 supportedCudaVersions = [ "10.2" ]; 94 149 } 95 150 rec { 96 151 fileVersion = "11.5"; 97 - fullVersion = "8.3.2.44"; 98 - hash = "sha256-VQCVPAjF5dHd3P2iNPnvvdzb5DpTsm3AqCxyP6FwxFc="; 152 + fullVersion = "8.3.3.40"; 153 + hash = "sha256-6r6Wx1zwPqT1N5iU2RTx+K4UzqsSGYnoSwg22Sf7dzE="; 99 154 url = "${urlPrefix}/v${majorMinorPatch fullVersion}/local_installers/${fileVersion}/cudnn-linux-x86_64-${fullVersion}_cuda${fileVersion}-archive.tar.xz"; 100 - supportedCudaVersions = [ "11.0" "11.1" "11.2" "11.3" "11.4" "11.5" "11.6" "11.7" ]; 155 + # https://docs.nvidia.com/deeplearning/cudnn/archives/cudnn-833/support-matrix/index.html 156 + supportedCudaVersions = [ "11.0" "11.1" "11.2" "11.3" "11.4" "11.5" "11.6" ]; 101 157 } 102 158 ]; 103 - "8.4.0" = [ 159 + "8.4.1" = [ 104 160 rec { 105 161 fileVersion = "10.2"; 106 - fullVersion = "8.4.0.27"; 107 - hash = "sha256-FMXjykJYJxmW0f2VnELRfFgs5Nmv9FH4RSRGnnhP0VQ="; 162 + fullVersion = "8.4.1.50"; 163 + hash = "sha256-I88qMmU6lIiLVmaPuX7TTbisgTav839mssxUo3lQNjg="; 108 164 url = "${urlPrefix}/v${majorMinorPatch fullVersion}/local_installers/${fileVersion}/cudnn-linux-x86_64-${fullVersion}_cuda${fileVersion}-archive.tar.xz"; 165 + # https://docs.nvidia.com/deeplearning/cudnn/archives/cudnn-841/support-matrix/index.html 109 166 supportedCudaVersions = [ "10.2" ]; 110 167 } 111 168 rec { 112 169 fileVersion = "11.6"; 113 - fullVersion = "8.4.0.27"; 114 - hash = "sha256-0Zva/ZgAx50p5vb/+p+eLBDREy1sL/ELFZPgV+dN0FA="; 170 + fullVersion = "8.4.1.50"; 171 + hash = "sha256-7JbSN22B/KQr3T1MPXBambKaBlurV/kgVhx2PinGfQE="; 115 172 url = "${urlPrefix}/v${majorMinorPatch fullVersion}/local_installers/${fileVersion}/cudnn-linux-x86_64-${fullVersion}_cuda${fileVersion}-archive.tar.xz"; 173 + # https://docs.nvidia.com/deeplearning/cudnn/archives/cudnn-841/support-matrix/index.html 116 174 supportedCudaVersions = [ "11.0" "11.1" "11.2" "11.3" "11.4" "11.5" "11.6" "11.7" ]; 117 175 } 118 176 ]; ··· 122 180 fullVersion = "8.5.0.96"; 123 181 hash = "sha256-1mzhbbzR40WKkHnQLtJHhg0vYgf7G8a0OBcCwIOkJjM="; 124 182 url = "${urlPrefix}/v${majorMinorPatch fullVersion}/local_installers/${fileVersion}/cudnn-linux-x86_64-${fullVersion}_cuda${major fileVersion}-archive.tar.xz"; 183 + # https://docs.nvidia.com/deeplearning/cudnn/archives/cudnn-850/support-matrix/index.html 125 184 supportedCudaVersions = [ "10.2" ]; 126 185 } 127 186 rec { ··· 129 188 fullVersion = "8.5.0.96"; 130 189 hash = "sha256-VFSm/ZTwCHKMqumtrZk8ToXvNjAuJrzkO+p9RYpee20="; 131 190 url = "${urlPrefix}/v${majorMinorPatch fullVersion}/local_installers/${fileVersion}/cudnn-linux-x86_64-${fullVersion}_cuda${major fileVersion}-archive.tar.xz"; 191 + # https://docs.nvidia.com/deeplearning/cudnn/archives/cudnn-850/support-matrix/index.html 132 192 supportedCudaVersions = [ "11.0" "11.1" "11.2" "11.3" "11.4" "11.5" "11.6" "11.7" ]; 133 193 } 134 194 ]; ··· 138 198 fullVersion = "8.6.0.163"; 139 199 hash = "sha256-t4sr/GrFqqdxu2VhaJQk5K1Xm/0lU4chXG8hVL09R9k="; 140 200 url = "${urlPrefix}/v${majorMinorPatch fullVersion}/local_installers/${fileVersion}/cudnn-linux-x86_64-${fullVersion}_cuda${major fileVersion}-archive.tar.xz"; 201 + # https://docs.nvidia.com/deeplearning/cudnn/archives/cudnn-860/support-matrix/index.html 141 202 supportedCudaVersions = [ "10.2" ]; 142 203 } 143 204 rec { ··· 145 206 fullVersion = "8.6.0.163"; 146 207 hash = "sha256-u8OW30cpTGV+3AnGAGdNYIyxv8gLgtz0VHBgwhcRFZ4="; 147 208 url = "${urlPrefix}/v${majorMinorPatch fullVersion}/local_installers/${fileVersion}/cudnn-linux-x86_64-${fullVersion}_cuda${major fileVersion}-archive.tar.xz"; 209 + # https://docs.nvidia.com/deeplearning/cudnn/archives/cudnn-860/support-matrix/index.html 210 + supportedCudaVersions = [ "11.0" "11.1" "11.2" "11.3" "11.4" "11.5" "11.6" "11.7" "11.8" ]; 211 + } 212 + ]; 213 + "8.7.0" = [ 214 + rec { 215 + fileVersion = "10.2"; 216 + fullVersion = "8.7.0.84"; 217 + hash = "sha256-bZhaqc8+GbPV2FQvvbbufd8VnEJgvfkICc2N3/gitRg="; 218 + url = "${urlPrefix}/v${majorMinorPatch fullVersion}/local_installers/${fileVersion}/cudnn-linux-x86_64-${fullVersion}_cuda${major fileVersion}-archive.tar.xz"; 219 + # https://docs.nvidia.com/deeplearning/cudnn/archives/cudnn-870/support-matrix/index.html 220 + supportedCudaVersions = [ "10.2" ]; 221 + } 222 + rec { 223 + fileVersion = "11.8"; 224 + fullVersion = "8.7.0.84"; 225 + hash = "sha256-l2xMunIzyXrnQAavq1Fyl2MAukD1slCiH4z3H1nJ920="; 226 + url = "${urlPrefix}/v${majorMinorPatch fullVersion}/local_installers/${fileVersion}/cudnn-linux-x86_64-${fullVersion}_cuda${major fileVersion}-archive.tar.xz"; 227 + # https://docs.nvidia.com/deeplearning/cudnn/archives/cudnn-870/support-matrix/index.html 148 228 supportedCudaVersions = [ "11.0" "11.1" "11.2" "11.3" "11.4" "11.5" "11.6" "11.7" "11.8" ]; 149 229 } 150 230 ]; ··· 153 233 # Default attributes 154 234 cuDnnDefaultVersion = { 155 235 "10.0" = "7.4.2"; 156 - "10.1" = "7.6.5"; 157 - "10.2" = "8.6.0"; 158 - "11.0" = "8.6.0"; 159 - "11.1" = "8.6.0"; 160 - "11.2" = "8.6.0"; 161 - "11.3" = "8.6.0"; 162 - "11.4" = "8.6.0"; 163 - "11.5" = "8.6.0"; 164 - "11.6" = "8.6.0"; 165 - "11.7" = "8.6.0"; 166 - "11.8" = "8.6.0"; 167 - }.${cudaVersion} or "8.6.0"; 236 + "10.1" = "8.0.5"; 237 + "10.2" = "8.7.0"; 238 + "11.0" = "8.7.0"; 239 + "11.1" = "8.7.0"; 240 + "11.2" = "8.7.0"; 241 + "11.3" = "8.7.0"; 242 + "11.4" = "8.7.0"; 243 + "11.5" = "8.7.0"; 244 + "11.6" = "8.7.0"; 245 + "11.7" = "8.7.0"; 246 + "11.8" = "8.7.0"; 247 + }.${cudaVersion} or "8.7.0"; 168 248 169 249 in cuDnnPackages
+7
pkgs/development/libraries/tevent/default.nix
··· 10 10 , docbook_xml_dtd_42 11 11 , which 12 12 , wafHook 13 + , libxcrypt 13 14 }: 14 15 15 16 stdenv.mkDerivation rec { ··· 36 37 cmocka 37 38 readline # required to build python 38 39 talloc 40 + libxcrypt 39 41 ]; 40 42 41 43 # otherwise the configure script fails with ··· 51 53 "--bundled-libraries=NONE" 52 54 "--builtin-libraries=replace" 53 55 ]; 56 + 57 + # python-config from build Python gives incorrect values when cross-compiling. 58 + # If python-config is not found, the build falls back to using the sysconfig 59 + # module, which works correctly in all cases. 60 + PYTHON_CONFIG = "/invalid"; 54 61 55 62 meta = with lib; { 56 63 description = "An event system based on the talloc memory management library";
+2 -2
pkgs/development/libraries/wasilibc/default.nix
··· 8 8 9 9 let 10 10 pname = "wasilibc"; 11 - version = "17"; 11 + version = "19"; 12 12 in 13 13 stdenv.mkDerivation { 14 14 inherit pname version; ··· 17 17 owner = "WebAssembly"; 18 18 repo = "wasi-libc"; 19 19 rev = "refs/tags/wasi-sdk-${version}"; 20 - hash = "sha256-h2X78icCmnn6Y6baOxp8Xm7F2+RZZgaV2fszzi2q/iA="; 20 + hash = "sha256-yQSKoSil/C/1lIHwEO9eQKC/ye3PJIFGYjHyNDn61y4="; 21 21 fetchSubmodules = true; 22 22 }; 23 23
+2 -2
pkgs/development/libraries/wlroots/default.nix
··· 121 121 }; 122 122 123 123 wlroots_0_16 = generic { 124 - version = "0.16.1"; 125 - hash = "sha256-UyPN7zmytre4emwx/ztZ4JefXHwixPV6UEEqnhSLbIY="; 124 + version = "0.16.2"; 125 + hash = "sha256-JeDDYinio14BOl6CbzAPnJDOnrk4vgGNMN++rcy2ItQ="; 126 126 extraBuildInputs = [ vulkan-loader ]; 127 127 extraNativeBuildInputs = [ glslang ]; 128 128 extraPatch = ''
+4
pkgs/development/lisp-modules-new/ql.nix
··· 51 51 nativeBuildInputs = [ pkgs.libdevil ]; 52 52 nativeLibs = [ pkgs.libdevil ]; 53 53 }; 54 + cl-freeimage = pkg: { 55 + nativeLibs = [ freeimage ]; 56 + }; 54 57 cl-freetype2 = pkg: { 55 58 nativeLibs = [ freetype ]; 56 59 nativeBuildInputs = [ freetype ]; ··· 144 147 }; 145 148 classimp = pkg: { 146 149 nativeLibs = [ assimp ]; 150 + meta.broken = true; # Requires assimp ≤ 5.0.x. 147 151 }; 148 152 clsql-postgresql = pkg: { 149 153 nativeLibs = [ postgresql.lib ];
+4 -3
pkgs/development/python-modules/acquire/default.nix
··· 17 17 18 18 buildPythonPackage rec { 19 19 pname = "acquire"; 20 - version = "3.3"; 20 + version = "3.4"; 21 21 format = "pyproject"; 22 22 23 23 disabled = pythonOlder "3.7"; ··· 25 25 src = fetchFromGitHub { 26 26 owner = "fox-it"; 27 27 repo = "acquire"; 28 - rev = version; 29 - hash = "sha256-S7EZZxNcoLcZyyRNGlZj6nGoCAlqCxNdh3azIVKvOTM="; 28 + rev = "refs/tags/${version}"; 29 + hash = "sha256-VkO+XLIC/UQzvfLsgbKcx9i8OxTC6J32nkxPHWWn7m8="; 30 30 }; 31 31 32 32 SETUPTOOLS_SCM_PRETEND_VERSION = version; ··· 64 64 meta = with lib; { 65 65 description = "Tool to quickly gather forensic artifacts from disk images or a live system"; 66 66 homepage = "https://github.com/fox-it/acquire"; 67 + changelog = "https://github.com/fox-it/acquire/releases/tag/${version}"; 67 68 license = licenses.agpl3Only; 68 69 maintainers = with maintainers; [ fab ]; 69 70 };
+2 -2
pkgs/development/python-modules/aliyun-python-sdk-cdn/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "aliyun-python-sdk-cdn"; 10 - version = "3.8.1"; 10 + version = "3.8.2"; 11 11 format = "setuptools"; 12 12 13 13 disabled = pythonOlder "3.7"; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - hash = "sha256-bcAaFwAS9xAbCLtqYtSiALHtlGklHFgGXpgiZZpR6no="; 17 + hash = "sha256-pNWqow396BB5cC1dOhDelykjqeWFN+IKosKEDu5nB1o="; 18 18 }; 19 19 20 20 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/aliyun-python-sdk-iot/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "aliyun-python-sdk-iot"; 10 - version = "8.49.0"; 10 + version = "8.50.0"; 11 11 format = "setuptools"; 12 12 13 13 disabled = pythonOlder "3.7"; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - hash = "sha256-POrDx4xXCIOBU4hvXu03XcZI2F6xHsjHNJRBaGFC8U8="; 17 + hash = "sha256-tFI6iPvKWp69PKvkBrMQrkMZD03VHhLIIDy0VI5XLEA="; 18 18 }; 19 19 20 20 propagatedBuildInputs = [
-1
pkgs/development/python-modules/blis/default.nix
··· 50 50 homepage = "https://github.com/explosion/cython-blis"; 51 51 license = licenses.bsd3; 52 52 maintainers = with maintainers; [ ]; 53 - platforms = platforms.x86_64; 54 53 }; 55 54 }
+2 -2
pkgs/development/python-modules/boschshcpy/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "boschshcpy"; 13 - version = "0.2.53"; 13 + version = "0.2.54"; 14 14 format = "setuptools"; 15 15 16 16 disabled = pythonOlder "3.7"; ··· 19 19 owner = "tschamm"; 20 20 repo = pname; 21 21 rev = version; 22 - sha256 = "sha256-V7FNuVXKJqIOsDqwg6Bn2Vb9QnuQ1XYzE4m0x2ipXW8="; 22 + sha256 = "sha256-1MoC69klHIHMmvQSS8bnuEQGm6IloyzR0RcROIx0GNI="; 23 23 }; 24 24 25 25 propagatedBuildInputs = [
+25 -1
pkgs/development/python-modules/buildbot/plugins.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, buildbot-pkg, mock }: 1 + { lib, buildPythonPackage, fetchPypi, buildbot-pkg, mock, cairosvg, klein, jinja2 }: 2 2 3 3 { 4 4 www = buildPythonPackage rec { ··· 115 115 license = licenses.gpl2; 116 116 }; 117 117 }; 118 + 119 + badges = buildPythonPackage rec { 120 + pname = "buildbot-badges"; 121 + inherit (buildbot-pkg) version; 122 + 123 + src = fetchPypi { 124 + inherit pname version; 125 + sha256 = "sha256-H0Dn+uTtFyZgyqbk3QQEc5t7CJovyzU+XuCoTe4Ajug="; 126 + }; 127 + 128 + buildInputs = [ buildbot-pkg ]; 129 + propagatedBuildInputs = [ cairosvg klein jinja2 ]; 130 + 131 + # No tests 132 + doCheck = false; 133 + 134 + meta = with lib; { 135 + homepage = "https://buildbot.net/"; 136 + description = "Buildbot Badges Plugin"; 137 + maintainers = with maintainers; [ julienmalka ]; 138 + license = licenses.gpl2; 139 + }; 140 + }; 141 + 118 142 }
+4 -3
pkgs/development/python-modules/dissect-cim/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "dissect-cim"; 14 - version = "3.3"; 14 + version = "3.4"; 15 15 format = "pyproject"; 16 16 17 17 disabled = pythonOlder "3.7"; ··· 19 19 src = fetchFromGitHub { 20 20 owner = "fox-it"; 21 21 repo = "dissect.cim"; 22 - rev = version; 23 - hash = "sha256-d02P6RXIiriOujGns9mOkyiJLNQFNTTW61kInzS17Y4="; 22 + rev = "refs/tags/${version}"; 23 + hash = "sha256-RlkTsAvX+9c69JBy+DZbcCfAvcCnWDisgdQQMBkphtg="; 24 24 }; 25 25 26 26 SETUPTOOLS_SCM_PRETEND_VERSION = version; ··· 46 46 meta = with lib; { 47 47 description = "Dissect module implementing a parser for the Windows Common Information Model (CIM) database"; 48 48 homepage = "https://github.com/fox-it/dissect.cim"; 49 + changelog = "https://github.com/fox-it/dissect.cim/releases/tag/${version}"; 49 50 license = licenses.agpl3Only; 50 51 maintainers = with maintainers; [ fab ]; 51 52 };
+4 -3
pkgs/development/python-modules/dissect-clfs/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "dissect-clfs"; 13 - version = "1.2"; 13 + version = "1.3"; 14 14 format = "pyproject"; 15 15 16 16 disabled = pythonOlder "3.7"; ··· 18 18 src = fetchFromGitHub { 19 19 owner = "fox-it"; 20 20 repo = "dissect.clfs"; 21 - rev = version; 22 - hash = "sha256-1nh81ppJpYre3y7hJ9xS+TNU1NfTH+9NMHdV55kPEXI="; 21 + rev = "refs/tags/${version}"; 22 + hash = "sha256-QzEcJvujkNVUXtqu7yY7sJ/U55jzGBbUHxOVDxg4vac="; 23 23 }; 24 24 25 25 SETUPTOOLS_SCM_PRETEND_VERSION = version; ··· 44 44 meta = with lib; { 45 45 description = "Dissect module implementing a parser for the CLFS (Common Log File System) file system"; 46 46 homepage = "https://github.com/fox-it/dissect.clfs"; 47 + changelog = "https://github.com/fox-it/dissect.clfs/releases/tag/${version}"; 47 48 license = licenses.agpl3Only; 48 49 maintainers = with maintainers; [ fab ]; 49 50 };
+4 -3
pkgs/development/python-modules/dissect-cstruct/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "dissect-cstruct"; 12 - version = "3.3"; 12 + version = "3.5"; 13 13 format = "pyproject"; 14 14 15 15 disabled = pythonOlder "3.7"; ··· 17 17 src = fetchFromGitHub { 18 18 owner = "fox-it"; 19 19 repo = "dissect.cstruct"; 20 - rev = version; 21 - hash = "sha256-8OxAsrECgsQf8+EaZtJ3XNhwdhBI08o3r+xhD/D1NhQ="; 20 + rev = "refs/tags/${version}"; 21 + hash = "sha256-tEWqw3ySF1ebOMztZwAlkTiY0mFCzTM58wD0XDfljFA="; 22 22 }; 23 23 24 24 SETUPTOOLS_SCM_PRETEND_VERSION = version; ··· 39 39 meta = with lib; { 40 40 description = "Dissect module implementing a parser for C-like structures"; 41 41 homepage = "https://github.com/fox-it/dissect.cstruct"; 42 + changelog = "https://github.com/fox-it/dissect.cstruct/releases/tag/${version}"; 42 43 license = licenses.agpl3Only; 43 44 maintainers = with maintainers; [ fab ]; 44 45 };
+4 -3
pkgs/development/python-modules/dissect-esedb/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "dissect-esedb"; 14 - version = "3.3"; 14 + version = "3.5"; 15 15 format = "pyproject"; 16 16 17 17 disabled = pythonOlder "3.7"; ··· 19 19 src = fetchFromGitHub { 20 20 owner = "fox-it"; 21 21 repo = "dissect.esedb"; 22 - rev = version; 23 - hash = "sha256-ErPihjAcukMerCAxLdDQVUApeNdFnFn0Zejo3LhgZFc="; 22 + rev = "refs/tags/${version}"; 23 + hash = "sha256-wTzr9b95jhPbZVWM/C9T1OSBLK39sCIjbsNK/6Z83JE="; 24 24 }; 25 25 26 26 SETUPTOOLS_SCM_PRETEND_VERSION = version; ··· 46 46 meta = with lib; { 47 47 description = "Dissect module implementing a parser for Microsofts Extensible Storage Engine Database (ESEDB)"; 48 48 homepage = "https://github.com/fox-it/dissect.esedb"; 49 + changelog = "https://github.com/fox-it/dissect.esedb/releases/tag/${version}"; 49 50 license = licenses.agpl3Only; 50 51 maintainers = with maintainers; [ fab ]; 51 52 };
+4 -3
pkgs/development/python-modules/dissect-etl/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "dissect-etl"; 14 - version = "3.2"; 14 + version = "3.3"; 15 15 format = "pyproject"; 16 16 17 17 disabled = pythonOlder "3.7"; ··· 19 19 src = fetchFromGitHub { 20 20 owner = "fox-it"; 21 21 repo = "dissect.etl"; 22 - rev = version; 23 - hash = "sha256-s3Ls8tuqp/COBF+WV9RRyfo7FAqPcXmBZ08gHZMPzOU="; 22 + rev = "refs/tags/${version}"; 23 + hash = "sha256-rEYWTMBzMyaADqT1Pp5z1J2Uf/t/GeX/FAnZVnaycYs="; 24 24 }; 25 25 26 26 SETUPTOOLS_SCM_PRETEND_VERSION = version; ··· 46 46 meta = with lib; { 47 47 description = "Dissect module implementing a parser for Event Trace Log (ETL) files"; 48 48 homepage = "https://github.com/fox-it/dissect.etl"; 49 + changelog = "https://github.com/fox-it/dissect.etl/releases/tag/${version}"; 49 50 license = licenses.agpl3Only; 50 51 maintainers = with maintainers; [ fab ]; 51 52 };
+4 -3
pkgs/development/python-modules/dissect-eventlog/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "dissect-eventlog"; 14 - version = "3.2"; 14 + version = "3.3"; 15 15 format = "pyproject"; 16 16 17 17 disabled = pythonOlder "3.7"; ··· 19 19 src = fetchFromGitHub { 20 20 owner = "fox-it"; 21 21 repo = "dissect.eventlog"; 22 - rev = version; 23 - hash = "sha256-emNGZs/5LWD29xE5BmXQKQfkZApLZlGs6KNIqobaKvM="; 22 + rev = "refs/tags/${version}"; 23 + hash = "sha256-PbU9Rd0D+xdleTIMAV+esw1WynWU4++8KeXlHS9yiJs="; 24 24 }; 25 25 26 26 SETUPTOOLS_SCM_PRETEND_VERSION = version; ··· 46 46 meta = with lib; { 47 47 description = "Dissect module implementing parsers for the Windows EVT, EVTX and WEVT log file formats"; 48 48 homepage = "https://github.com/fox-it/dissect.eventlog"; 49 + changelog = "https://github.com/fox-it/dissect.eventlog/releases/tag/${version}"; 49 50 license = licenses.agpl3Only; 50 51 maintainers = with maintainers; [ fab ]; 51 52 };
+4 -3
pkgs/development/python-modules/dissect-evidence/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "dissect-evidence"; 14 - version = "3.2"; 14 + version = "3.3"; 15 15 format = "pyproject"; 16 16 17 17 disabled = pythonOlder "3.7"; ··· 19 19 src = fetchFromGitHub { 20 20 owner = "fox-it"; 21 21 repo = "dissect.evidence"; 22 - rev = version; 23 - hash = "sha256-rm9IjsXHz4GS8M/oPaDoaxjwqMMtD0qjRtQ3vFJQyQY="; 22 + rev = "refs/tags/${version}"; 23 + hash = "sha256-R4ua7JeT09GkoBwM2YGf2T0PJXhldUpqAS3xsB9L79c="; 24 24 }; 25 25 26 26 SETUPTOOLS_SCM_PRETEND_VERSION = version; ··· 46 46 meta = with lib; { 47 47 description = "Dissect module implementing a parsers for various forensic evidence file containers"; 48 48 homepage = "https://github.com/fox-it/dissect.evidence"; 49 + changelog = "https://github.com/fox-it/dissect.evidence/releases/tag/${version}"; 49 50 license = licenses.agpl3Only; 50 51 maintainers = with maintainers; [ fab ]; 51 52 };
+48
pkgs/development/python-modules/dissect-executable/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , dissect-cstruct 4 + , dissect-util 5 + , fetchFromGitHub 6 + , setuptools 7 + , setuptools-scm 8 + , pythonOlder 9 + }: 10 + 11 + buildPythonPackage rec { 12 + pname = "dissect-executable"; 13 + version = "1.1"; 14 + format = "pyproject"; 15 + 16 + disabled = pythonOlder "3.7"; 17 + 18 + src = fetchFromGitHub { 19 + owner = "fox-it"; 20 + repo = "dissect.executable"; 21 + rev = "refs/tags/${version}"; 22 + hash = "sha256-c58g2L3B/3/pC+iyXphYsjhpBs0I0Q64B8+rv5k1dtg="; 23 + }; 24 + 25 + SETUPTOOLS_SCM_PRETEND_VERSION = version; 26 + 27 + nativeBuildInputs = [ 28 + setuptools 29 + setuptools-scm 30 + ]; 31 + 32 + propagatedBuildInputs = [ 33 + dissect-cstruct 34 + dissect-util 35 + ]; 36 + 37 + pythonImportsCheck = [ 38 + "dissect.executable" 39 + ]; 40 + 41 + meta = with lib; { 42 + description = "Dissect module implementing a parser for various executable formats such as PE, ELF and Macho-O"; 43 + homepage = "https://github.com/fox-it/dissect.executable"; 44 + changelog = "https://github.com/fox-it/dissect.executable/releases/tag/${version}"; 45 + license = licenses.agpl3Only; 46 + maintainers = with maintainers; [ fab ]; 47 + }; 48 + }
+4 -3
pkgs/development/python-modules/dissect-extfs/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "dissect-extfs"; 14 - version = "3.2"; 14 + version = "3.3"; 15 15 format = "pyproject"; 16 16 17 17 disabled = pythonOlder "3.7"; ··· 19 19 src = fetchFromGitHub { 20 20 owner = "fox-it"; 21 21 repo = "dissect.extfs"; 22 - rev = version; 23 - hash = "sha256-KGqmguKwCSQw2USKuWFMQCz+D8XMv5W12eJfUxgz324="; 22 + rev = "refs/tags/${version}"; 23 + hash = "sha256-VCPNY/4SUkFpLuSs2Cxu8u5qt2sQ9VGlfdPssybxhk8="; 24 24 }; 25 25 26 26 SETUPTOOLS_SCM_PRETEND_VERSION = version; ··· 46 46 meta = with lib; { 47 47 description = "Dissect module implementing a parser for the ExtFS file system"; 48 48 homepage = "https://github.com/fox-it/dissect.extfs"; 49 + changelog = "https://github.com/fox-it/dissect.extfs/releases/tag/${version}"; 49 50 license = licenses.agpl3Only; 50 51 maintainers = with maintainers; [ fab ]; 51 52 };
+4 -3
pkgs/development/python-modules/dissect-fat/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "dissect-fat"; 13 - version = "3.2"; 13 + version = "3.3"; 14 14 format = "pyproject"; 15 15 16 16 disabled = pythonOlder "3.7"; ··· 18 18 src = fetchFromGitHub { 19 19 owner = "fox-it"; 20 20 repo = "dissect.fat"; 21 - rev = version; 22 - hash = "sha256-kqdVgUkvW9I5CI4T9b7VeX6hPm3Ufwrdnhmo1jR5Fdg="; 21 + rev = "refs/tags/${version}"; 22 + hash = "sha256-v4GjI6DdDfxO3kGZ7Z5C6mkdRj9axsT9mvlSOQyiMBw="; 23 23 }; 24 24 25 25 SETUPTOOLS_SCM_PRETEND_VERSION = version; ··· 44 44 meta = with lib; { 45 45 description = "Dissect module implementing a parser for the FAT file system"; 46 46 homepage = "https://github.com/fox-it/dissect.fat"; 47 + changelog = "https://github.com/fox-it/dissect.fat/releases/tag/${version}"; 47 48 license = licenses.agpl3Only; 48 49 maintainers = with maintainers; [ fab ]; 49 50 };
+4 -3
pkgs/development/python-modules/dissect-ffs/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "dissect-ffs"; 14 - version = "3.2"; 14 + version = "3.3"; 15 15 format = "pyproject"; 16 16 17 17 disabled = pythonOlder "3.7"; ··· 19 19 src = fetchFromGitHub { 20 20 owner = "fox-it"; 21 21 repo = "dissect.ffs"; 22 - rev = version; 23 - hash = "sha256-kcYSoY3a8ljY9LWzOUekLBzokE+wJrG1KEr0p5CCj0U="; 22 + rev = "refs/tags/${version}"; 23 + hash = "sha256-nGxojXslFVcqU+9StBOacmCyoZJJB4B4OIvql/cbcZE="; 24 24 }; 25 25 26 26 SETUPTOOLS_SCM_PRETEND_VERSION = version; ··· 46 46 meta = with lib; { 47 47 description = "Dissect module implementing a parser for the FFS file system"; 48 48 homepage = "https://github.com/fox-it/dissect.ffs"; 49 + changelog = "https://github.com/fox-it/dissect.ffs/releases/tag/${version}"; 49 50 license = licenses.agpl3Only; 50 51 maintainers = with maintainers; [ fab ]; 51 52 };
+4 -3
pkgs/development/python-modules/dissect-hypervisor/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "dissect-hypervisor"; 16 - version = "3.3"; 16 + version = "3.5"; 17 17 format = "pyproject"; 18 18 19 19 disabled = pythonOlder "3.7"; ··· 21 21 src = fetchFromGitHub { 22 22 owner = "fox-it"; 23 23 repo = "dissect.hypervisor"; 24 - rev = version; 25 - hash = "sha256-Q7lbFr+gc6inQEJT54DXjpyyis5GxrKQHI5qqa1INKo="; 24 + rev = "refs/tags/${version}"; 25 + hash = "sha256-dWaU3v2QcoqVIygeufy0ZYVliBE1tijV3qEsvCOIarM="; 26 26 }; 27 27 28 28 SETUPTOOLS_SCM_PRETEND_VERSION = version; ··· 55 55 meta = with lib; { 56 56 description = "Dissect module implementing parsers for various hypervisor disk, backup and configuration files"; 57 57 homepage = "https://github.com/fox-it/dissect.hypervisor"; 58 + changelog = "https://github.com/fox-it/dissect.hypervisor/releases/tag/${version}"; 58 59 license = licenses.agpl3Only; 59 60 maintainers = with maintainers; [ fab ]; 60 61 };
+4 -3
pkgs/development/python-modules/dissect-ntfs/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "dissect-ntfs"; 14 - version = "3.2"; 14 + version = "3.3"; 15 15 format = "pyproject"; 16 16 17 17 disabled = pythonOlder "3.7"; ··· 19 19 src = fetchFromGitHub { 20 20 owner = "fox-it"; 21 21 repo = "dissect.ntfs"; 22 - rev = version; 23 - hash = "sha256-4QEsWTdqlHIP1a9g45+zv1SdHY0Ofsr7Rf1z+ctssSw="; 22 + rev = "refs/tags/${version}"; 23 + hash = "sha256-xhtAN0QaLLbQk/aAd9PlEkyW39w33iPaQtGzbouI6hc="; 24 24 }; 25 25 26 26 SETUPTOOLS_SCM_PRETEND_VERSION = version; ··· 51 51 meta = with lib; { 52 52 description = "Dissect module implementing a parser for the NTFS file system"; 53 53 homepage = "https://github.com/fox-it/dissect.ntfs"; 54 + changelog = "https://github.com/fox-it/dissect.ntfs/releases/tag/${version}"; 54 55 license = licenses.agpl3Only; 55 56 maintainers = with maintainers; [ fab ]; 56 57 };
+4 -3
pkgs/development/python-modules/dissect-ole/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "dissect-ole"; 13 - version = "3.2"; 13 + version = "3.3"; 14 14 format = "pyproject"; 15 15 16 16 disabled = pythonOlder "3.7"; ··· 18 18 src = fetchFromGitHub { 19 19 owner = "fox-it"; 20 20 repo = "dissect.ole"; 21 - rev = version; 22 - hash = "sha256-0bIlnRFKBvSXnBIU4+1V7WzyXCvulUpNSXG1Rj2k4jY="; 21 + rev = "refs/tags/${version}"; 22 + hash = "sha256-m2+AcKp8rH+VQIdT85oKoA8QoyNQOmrZ2DvBELZnEqM="; 23 23 }; 24 24 25 25 SETUPTOOLS_SCM_PRETEND_VERSION = version; ··· 44 44 meta = with lib; { 45 45 description = "Dissect module implementing a parser for the Object Linking & Embedding (OLE) format"; 46 46 homepage = "https://github.com/fox-it/dissect.ole"; 47 + changelog = "https://github.com/fox-it/dissect.ole/releases/tag/${version}"; 47 48 license = licenses.agpl3Only; 48 49 maintainers = with maintainers; [ fab ]; 49 50 };
+4 -3
pkgs/development/python-modules/dissect-regf/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "dissect-regf"; 14 - version = "3.2"; 14 + version = "3.3"; 15 15 format = "pyproject"; 16 16 17 17 disabled = pythonOlder "3.7"; ··· 19 19 src = fetchFromGitHub { 20 20 owner = "fox-it"; 21 21 repo = "dissect.regf"; 22 - rev = version; 23 - hash = "sha256-hSMdgGkSmFDAiO6C1xTJDmKClHwrGc887wqO3/5NZn4="; 22 + rev = "refs/tags/${version}"; 23 + hash = "sha256-3QJ1N9LukvEa74rndN/Sj6Vq10YJVBsOGdlMzR9TrKA="; 24 24 }; 25 25 26 26 SETUPTOOLS_SCM_PRETEND_VERSION = version; ··· 46 46 meta = with lib; { 47 47 description = "Dissect module implementing a parser for Windows registry file format"; 48 48 homepage = "https://github.com/fox-it/dissect.regf"; 49 + changelog = "https://github.com/fox-it/dissect.regf/releases/tag/${version}"; 49 50 license = licenses.agpl3Only; 50 51 maintainers = with maintainers; [ fab ]; 51 52 };
+4 -3
pkgs/development/python-modules/dissect-shellitem/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "dissect-shellitem"; 14 - version = "3.2"; 14 + version = "3.3"; 15 15 format = "pyproject"; 16 16 17 17 disabled = pythonOlder "3.7"; ··· 19 19 src = fetchFromGitHub { 20 20 owner = "fox-it"; 21 21 repo = "dissect.shellitem"; 22 - rev = version; 23 - hash = "sha256-z0/KSOgo5Gnl4MLOY5eUPHlI/8dCyYaEEiKMmkP7cgg="; 22 + rev = "refs/tags/${version}"; 23 + hash = "sha256-flTv2Y+UwMTQnvqRS/pZRPkTsIjvCAp7B4rKAQPOJL4="; 24 24 }; 25 25 26 26 SETUPTOOLS_SCM_PRETEND_VERSION = version; ··· 46 46 meta = with lib; { 47 47 description = "Dissect module implementing a parser for the Shellitem structures"; 48 48 homepage = "https://github.com/fox-it/dissect.shellitem"; 49 + changelog = "https://github.com/fox-it/dissect.shellitem/releases/tag/${version}"; 49 50 license = licenses.agpl3Only; 50 51 maintainers = with maintainers; [ fab ]; 51 52 };
+4 -3
pkgs/development/python-modules/dissect-sql/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "dissect-sql"; 14 - version = "3.2"; 14 + version = "3.3"; 15 15 format = "pyproject"; 16 16 17 17 disabled = pythonOlder "3.7"; ··· 19 19 src = fetchFromGitHub { 20 20 owner = "fox-it"; 21 21 repo = "dissect.sql"; 22 - rev = version; 23 - hash = "sha256-yw0EUxlgm7/3FpecGGvxkukudyFMv0fmPbOLJqc2tC0="; 22 + rev = "refs/tags/${version}"; 23 + hash = "sha256-sIXFEckHFr9H4oGFw8uuC+c54PR8ZbQxJKb5x5EixxQ="; 24 24 }; 25 25 26 26 SETUPTOOLS_SCM_PRETEND_VERSION = version; ··· 46 46 meta = with lib; { 47 47 description = "Dissect module implementing a parsers for the SQLite database file format"; 48 48 homepage = "https://github.com/fox-it/dissect.sql"; 49 + changelog = "https://github.com/fox-it/dissect.sql/releases/tag/${version}"; 49 50 license = licenses.agpl3Only; 50 51 maintainers = with maintainers; [ fab ]; 51 52 };
+59
pkgs/development/python-modules/dissect-squashfs/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , dissect-cstruct 4 + , dissect-util 5 + , fetchFromGitHub 6 + , lz4 7 + , python-lzo 8 + , pythonOlder 9 + , setuptools 10 + , setuptools-scm 11 + , zstandard 12 + }: 13 + 14 + buildPythonPackage rec { 15 + pname = "dissect-squashfs"; 16 + version = "1.0"; 17 + format = "pyproject"; 18 + 19 + disabled = pythonOlder "3.7"; 20 + 21 + src = fetchFromGitHub { 22 + owner = "fox-it"; 23 + repo = "dissect.squashfs"; 24 + rev = "refs/tags/${version}"; 25 + hash = "sha256-bDR6GAgl1dOhZ3fWA7E27KS6pj9AXInNxwmwNXXV3lc="; 26 + }; 27 + 28 + SETUPTOOLS_SCM_PRETEND_VERSION = version; 29 + 30 + nativeBuildInputs = [ 31 + setuptools 32 + setuptools-scm 33 + ]; 34 + 35 + propagatedBuildInputs = [ 36 + dissect-cstruct 37 + dissect-util 38 + ]; 39 + 40 + passthru.optional-dependencies = { 41 + full = [ 42 + lz4 43 + python-lzo 44 + zstandard 45 + ]; 46 + }; 47 + 48 + pythonImportsCheck = [ 49 + "dissect.squashfs" 50 + ]; 51 + 52 + meta = with lib; { 53 + description = "Dissect module implementing a parser for the SquashFS file system"; 54 + homepage = "https://github.com/fox-it/dissect.squashfs"; 55 + changelog = "https://github.com/fox-it/dissect.squashfs/releases/tag/${version}"; 56 + license = licenses.agpl3Only; 57 + maintainers = with maintainers; [ fab ]; 58 + }; 59 + }
+9 -4
pkgs/development/python-modules/dissect-target/default.nix
··· 24 24 , flow-record 25 25 , fusepy 26 26 , ipython 27 + , pycryptodome 27 28 , pytestCheckHook 28 29 , pythonOlder 29 30 , pyyaml ··· 36 37 37 38 buildPythonPackage rec { 38 39 pname = "dissect-target"; 39 - version = "3.4"; 40 + version = "3.7"; 40 41 format = "pyproject"; 41 42 42 43 disabled = pythonOlder "3.7"; ··· 44 45 src = fetchFromGitHub { 45 46 owner = "fox-it"; 46 47 repo = "dissect.target"; 47 - rev = version; 48 - hash = "sha256-QwEznweETwDTuTctOnq0n27JYXC9BO5l6BYpXsMRVq4="; 48 + rev = "refs/tags/${version}"; 49 + hash = "sha256-jFQ8BxCC4PW135igfXA5EmlWYIZ0zF12suiUMiLbArA="; 49 50 }; 50 51 51 52 SETUPTOOLS_SCM_PRETEND_VERSION = version; ··· 56 57 ]; 57 58 58 59 propagatedBuildInputs = [ 60 + defusedxml 59 61 dissect-cstruct 60 62 dissect-eventlog 61 63 dissect-evidence ··· 71 73 passthru.optional-dependencies = { 72 74 full = [ 73 75 asn1crypto 74 - defusedxml 75 76 dissect-cim 76 77 dissect-clfs 77 78 dissect-esedb ··· 84 85 dissect-xfs 85 86 fusepy 86 87 ipython 88 + pycryptodome 87 89 pyyaml 88 90 yara-python 89 91 zstandard ··· 101 103 disabledTests = [ 102 104 # Test requires rdump 103 105 "test_exec_target_command" 106 + # Issue with tar file 107 + "test_tar_sensitive_drive_letter" 104 108 ]; 105 109 106 110 meta = with lib; { 107 111 description = "Dissect module that provides a programming API and command line tools"; 108 112 homepage = "https://github.com/fox-it/dissect.target"; 113 + changelog = "https://github.com/fox-it/dissect.target/releases/tag/${version}"; 109 114 license = licenses.agpl3Only; 110 115 maintainers = with maintainers; [ fab ]; 111 116 };
+4 -3
pkgs/development/python-modules/dissect-thumbcache/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "dissect-thumbcache"; 14 - version = "1.1"; 14 + version = "1.2"; 15 15 format = "pyproject"; 16 16 17 17 disabled = pythonOlder "3.7"; ··· 19 19 src = fetchFromGitHub { 20 20 owner = "fox-it"; 21 21 repo = "dissect.thumbcache"; 22 - rev = version; 23 - hash = "sha256-4yUVJwIQniE9AAtAgzHczOZfyWZly86JKc0Qh3byYf4="; 22 + rev = "refs/tags/${version}"; 23 + hash = "sha256-lTtTZQgEvgaVoNPnVeRGO/BQU/8RfQ2ktljSBflhlOw="; 24 24 }; 25 25 26 26 SETUPTOOLS_SCM_PRETEND_VERSION = version; ··· 51 51 meta = with lib; { 52 52 description = "Dissect module implementing a parser for the Windows thumbcache"; 53 53 homepage = "https://github.com/fox-it/dissect.thumbcache"; 54 + changelog = "https://github.com/fox-it/dissect.thumbcache/releases/tag/${version}"; 54 55 license = licenses.agpl3Only; 55 56 maintainers = with maintainers; [ fab ]; 56 57 };
+4 -3
pkgs/development/python-modules/dissect-util/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "dissect-util"; 12 - version = "3.3"; 12 + version = "3.6"; 13 13 format = "pyproject"; 14 14 15 15 disabled = pythonOlder "3.7"; ··· 17 17 src = fetchFromGitHub { 18 18 owner = "fox-it"; 19 19 repo = "dissect.util"; 20 - rev = version; 21 - hash = "sha256-HGlWyRjvXu1d0n1PPkMyl8NNRRhsjMzXZJMS1MjdTWQ="; 20 + rev = "refs/tags/${version}"; 21 + hash = "sha256-hijwu2QT9xJZ1F0wz5NO0mAVe/VA3JcPmoEYQiQRLtM="; 22 22 }; 23 23 24 24 SETUPTOOLS_SCM_PRETEND_VERSION = version; ··· 39 39 meta = with lib; { 40 40 description = "Dissect module implementing various utility functions for the other Dissect modules"; 41 41 homepage = "https://github.com/fox-it/dissect.util"; 42 + changelog = "https://github.com/fox-it/dissect.util/releases/tag/${version}"; 42 43 license = licenses.agpl3Only; 43 44 maintainers = with maintainers; [ fab ]; 44 45 };
+4 -3
pkgs/development/python-modules/dissect-vmfs/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "dissect-vmfs"; 14 - version = "3.2"; 14 + version = "3.3"; 15 15 format = "pyproject"; 16 16 17 17 disabled = pythonOlder "3.7"; ··· 19 19 src = fetchFromGitHub { 20 20 owner = "fox-it"; 21 21 repo = "dissect.vmfs"; 22 - rev = version; 23 - hash = "sha256-6ZNybNRL97Zz6O32r4X0K3/+vZF3Qid98rj2pgGWgvI="; 22 + rev = "refs/tags/${version}"; 23 + hash = "sha256-9+1geOJ+vzy6+eGibX+BUHbtzyLhq3MPBsad98ykn3I="; 24 24 }; 25 25 26 26 SETUPTOOLS_SCM_PRETEND_VERSION = version; ··· 46 46 meta = with lib; { 47 47 description = "Dissect module implementing a parser for the VMFS file system"; 48 48 homepage = "https://github.com/fox-it/dissect.vmfs"; 49 + changelog = "https://github.com/fox-it/dissect.vmfs/releases/tag/${version}"; 49 50 license = licenses.agpl3Only; 50 51 maintainers = with maintainers; [ fab ]; 51 52 };
+4 -3
pkgs/development/python-modules/dissect-volume/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "dissect-volume"; 14 - version = "3.2"; 14 + version = "3.3"; 15 15 format = "pyproject"; 16 16 17 17 disabled = pythonOlder "3.7"; ··· 19 19 src = fetchFromGitHub { 20 20 owner = "fox-it"; 21 21 repo = "dissect.volume"; 22 - rev = version; 23 - hash = "sha256-NwY4J1FSCvNIoH9uUHJVlM3jJt6A9CZ7uCWhlIdYztM="; 22 + rev = "refs/tags/${version}"; 23 + hash = "sha256-5O2ywPJi9M7gvcreS7DrW2qJ32MoR3Qero7jJ5gv0ow="; 24 24 }; 25 25 26 26 SETUPTOOLS_SCM_PRETEND_VERSION = version; ··· 46 46 meta = with lib; { 47 47 description = "Dissect module implementing various utility functions for the other Dissect modules"; 48 48 homepage = "https://github.com/fox-it/dissect.volume"; 49 + changelog = "https://github.com/fox-it/dissect.volume/releases/tag/${version}"; 49 50 license = licenses.agpl3Only; 50 51 maintainers = with maintainers; [ fab ]; 51 52 };
+4 -3
pkgs/development/python-modules/dissect-xfs/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "dissect-xfs"; 14 - version = "3.2"; 14 + version = "3.3"; 15 15 format = "pyproject"; 16 16 17 17 disabled = pythonOlder "3.7"; ··· 19 19 src = fetchFromGitHub { 20 20 owner = "fox-it"; 21 21 repo = "dissect.xfs"; 22 - rev = version; 23 - hash = "sha256-S05Y+Oe1q4DcTR9al2K82Q41EP0FnDGUp1gfzYiS/Yk="; 22 + rev = "refs/tags/${version}"; 23 + hash = "sha256-OasoZ+HGvW8PPWDBvKdrfiE3FqnXPx0xjBVFWLBYHwQ="; 24 24 }; 25 25 26 26 SETUPTOOLS_SCM_PRETEND_VERSION = version; ··· 46 46 meta = with lib; { 47 47 description = "Dissect module implementing a parser for the XFS file system"; 48 48 homepage = "https://github.com/fox-it/dissect.xfs"; 49 + changelog = "https://github.com/fox-it/dissect.xfs/releases/tag/${version}"; 49 50 license = licenses.agpl3Only; 50 51 maintainers = with maintainers; [ fab ]; 51 52 };
+8 -3
pkgs/development/python-modules/dissect/default.nix
··· 10 10 , dissect-extfs 11 11 , dissect-fat 12 12 , dissect-ffs 13 + , dissect-executable 13 14 , dissect-hypervisor 14 15 , dissect-ntfs 15 16 , dissect-ole 16 17 , dissect-regf 17 18 , dissect-shellitem 18 19 , dissect-sql 20 + , dissect-squashfs 19 21 , dissect-target 20 22 , dissect-util 21 23 , dissect-vmfs ··· 29 31 30 32 buildPythonPackage rec { 31 33 pname = "dissect"; 32 - version = "3.3"; 34 + version = "3.4"; 33 35 format = "pyproject"; 34 36 35 37 disabled = pythonOlder "3.7"; ··· 37 39 src = fetchFromGitHub { 38 40 owner = "fox-it"; 39 41 repo = "dissect"; 40 - rev = version; 41 - hash = "sha256-1m5reKmPFSqMW/wYdiMw95l8A9E5FS8RHLb8/i1rQKY="; 42 + rev = "refs/tags/${version}"; 43 + hash = "sha256-+t6v553lP9NEimNlp48NQ+6dpIOrgfZ1FU3LNJF44YY="; 42 44 }; 43 45 44 46 SETUPTOOLS_SCM_PRETEND_VERSION = version; ··· 56 58 dissect-etl 57 59 dissect-eventlog 58 60 dissect-evidence 61 + dissect-executable 59 62 dissect-extfs 60 63 dissect-fat 61 64 dissect-ffs ··· 65 68 dissect-regf 66 69 dissect-shellitem 67 70 dissect-sql 71 + dissect-squashfs 68 72 dissect-target 69 73 dissect-util 70 74 dissect-vmfs ··· 82 86 meta = with lib; { 83 87 description = "Dissect meta module"; 84 88 homepage = "https://github.com/fox-it/dissect"; 89 + changelog = "https://github.com/fox-it/dissect/releases/tag/${version}"; 85 90 license = licenses.agpl3Only; 86 91 maintainers = with maintainers; [ fab ]; 87 92 };
+2 -2
pkgs/development/python-modules/django-webpack-loader/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "django-webpack-loader"; 10 - version = "1.8.0"; 10 + version = "1.8.1"; 11 11 format = "setuptools"; 12 12 13 13 disabled = pythonOlder "3.7"; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - hash = "sha256-puZ5gF6WB7Bz7lJwLZtCa6waVGCdlmExqkNMeGAqwFA="; 17 + hash = "sha256-BzvtoY4pKfpc2DuvvKr5deWUXoShe/qBkny2yfWhe5Q="; 18 18 }; 19 19 20 20 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/djangorestframework-camel-case/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "djangorestframework-camel-case"; 10 - version = "1.3.0"; 10 + version = "1.4.0"; 11 11 12 12 src = fetchPypi { 13 13 inherit pname version; 14 - sha256 = "sha256-31kTYv+kSMjwo1TFauilP7eruxXiIpUdDG9feBYzkH4="; 14 + sha256 = "sha256-SNkv1llh/2uzIKAMkmqnpab3sCeNCP0cXpYFSycIF58="; 15 15 }; 16 16 17 17 propagatedBuildInputs = [
+5 -4
pkgs/development/python-modules/flow-record/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "flow-record"; 17 - version = "3.7"; 17 + version = "3.9"; 18 18 format = "pyproject"; 19 19 20 - disabled = pythonOlder "3.7"; 20 + disabled = pythonOlder "3.9"; 21 21 22 22 src = fetchFromGitHub { 23 23 owner = "fox-it"; 24 24 repo = "flow.record"; 25 - rev = version; 26 - hash = "sha256-bXI7q+unlrXvagKisAO4INfzeXlC4g918xmPmwMDCK8="; 25 + rev = "refs/tags/${version}"; 26 + hash = "sha256-hvd5I1n3lOuP9sUtVO69yGCVOVEWYKKfFf7OjAJCXIg="; 27 27 }; 28 28 29 29 SETUPTOOLS_SCM_PRETEND_VERSION = version; ··· 69 69 meta = with lib; { 70 70 description = "Library for defining and creating structured data"; 71 71 homepage = "https://github.com/fox-it/flow.record"; 72 + changelog = "https://github.com/fox-it/flow.record/releases/tag/${version}"; 72 73 license = licenses.agpl3Only; 73 74 maintainers = with maintainers; [ fab ]; 74 75 };
+2 -2
pkgs/development/python-modules/ibm-cloud-sdk-core/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "ibm-cloud-sdk-core"; 14 - version = "3.16.1"; 14 + version = "3.16.2"; 15 15 format = "setuptools"; 16 16 17 17 disabled = pythonOlder "3.7"; 18 18 19 19 src = fetchPypi { 20 20 inherit pname version; 21 - hash = "sha256-TsM56eE2qCJsr+ZHTaY7Wd/ZjhFqWJXA7Z3O+2MCgPc="; 21 + hash = "sha256-fPYl9cz9GIDAKZYEH+8g+omRtGMU+abBx16If7H5i3I="; 22 22 }; 23 23 24 24 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/msgspec/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "msgspec"; 11 - version = "0.13.0"; 11 + version = "0.13.1"; 12 12 format = "setuptools"; 13 13 14 14 disabled = pythonOlder "3.8"; ··· 17 17 owner = "jcrist"; 18 18 repo = pname; 19 19 rev = "refs/tags/${version}"; 20 - hash = "sha256-R3/ljUBm0WTRIdp5qoHtH3k1ReaMzASsD4tB8bHKAMc="; 20 + hash = "sha256-TGCdsimcoY3441/nOXxHGqYM4q8uoWd78HtUts6EOJY="; 21 21 }; 22 22 23 23 # Requires libasan to be accessible
+4 -3
pkgs/development/python-modules/renault-api/default.nix
··· 16 16 17 17 buildPythonPackage rec { 18 18 pname = "renault-api"; 19 - version = "0.1.11"; 19 + version = "0.1.12"; 20 20 format = "pyproject"; 21 21 22 22 disabled = pythonOlder "3.7"; ··· 24 24 src = fetchFromGitHub { 25 25 owner = "hacf-fr"; 26 26 repo = pname; 27 - rev = "v${version}"; 28 - sha256 = "sha256-71UFVXfww3wgSO2qoRCuV80+33B91Bjl2+nuuCbQRLg="; 27 + rev = "refs/tags/v${version}"; 28 + hash = "sha256-uSyqAs0JqrsFuMpfuILoIGxLL+HVOGI/euCZziCgEdQ="; 29 29 }; 30 30 31 31 nativeBuildInputs = [ ··· 58 58 meta = with lib; { 59 59 description = "Python library to interact with the Renault API"; 60 60 homepage = "https://github.com/hacf-fr/renault-api"; 61 + changelog = "https://github.com/hacf-fr/renault-api/releases/tag/v${version}"; 61 62 license = licenses.mit; 62 63 maintainers = with maintainers; [ fab ]; 63 64 };
-48
pkgs/games/beret/use-home-dir.patch
··· 1 - diff -Naur beret-beret-orig/game.c beret-beret/game.c 2 - --- beret-beret-orig/game.c 2011-12-17 18:51:32.000000000 -0500 3 - +++ beret-beret/game.c 2011-12-21 13:16:37.047511020 -0500 4 - @@ -10,12 +10,10 @@ 5 - #include <stdlib.h> 6 - #include <stdio.h> 7 - #include <string.h> 8 - -#ifdef __APPLE__ 9 - #include <sys/stat.h> 10 - #include <unistd.h> 11 - #include <errno.h> 12 - #include <pwd.h> 13 - -#endif 14 - 15 - #define CAMSCROLL 15 16 - #define SCR_WIDTH 780 17 - @@ -88,12 +86,8 @@ 18 - #define DIRSEP "/" 19 - #endif 20 - 21 - -#ifdef __APPLE__ 22 - -#define SUPPORT_PATH "Library/Application Support/Beret/" 23 - -#define RESOURCE_PATH "Beret.app/Contents/Resources/" 24 - -#else 25 - +#define SUPPORT_PATH ".beret" 26 - #define RESOURCE_PATH "" 27 - -#endif 28 - 29 - #define QUITMOD_WIN KMOD_ALT 30 - #define QUITKEY_WIN SDLK_F4 31 - @@ -812,7 +806,6 @@ 32 - 33 - int init() { 34 - 35 - - #ifdef __APPLE__ 36 - char filestr[512]; 37 - // Get the home directory of the user. 38 - struct passwd *pwd = getpwuid(getuid()); 39 - @@ -827,9 +820,6 @@ 40 - sprintf(filestr, "%s/saves", support_path); 41 - mkdir(filestr, S_IRWXU); 42 - } 43 - - #else 44 - - sprintf(support_path, ""); 45 - - #endif 46 - 47 - if (SDL_Init(SDL_INIT_EVERYTHING) == -1) { 48 - printf("Error: couldn't initialize SDL\n");
+25
pkgs/os-specific/solo5/0001-Fix-test.patch
··· 1 + From bf1f143455d1c8283d90964e0121b50c14a67bda Mon Sep 17 00:00:00 2001 2 + From: Lana Black <lana@illuminati.industries> 3 + Date: Sat, 11 Feb 2023 11:53:21 +0000 4 + Subject: [PATCH] Fix test. 5 + 6 + --- 7 + tests/tests.bats | 2 +- 8 + 1 file changed, 1 insertion(+), 1 deletion(-) 9 + 10 + diff --git a/tests/tests.bats b/tests/tests.bats 11 + index c542b7a..98520ee 100644 12 + --- a/tests/tests.bats 13 + +++ b/tests/tests.bats 14 + @@ -196,7 +196,7 @@ xen_expect_abort() { 15 + run test_hello/test_hello.hvt 16 + case "${CONFIG_HOST}" in 17 + Linux) 18 + - [ "$status" -eq 127 ] && [[ "$output" == *"No such file or directory"* ]] 19 + + [ "$status" -eq 127 ] && ([[ "$output" == *"No such file or directory"* ]] || [[ "$output" == *"required file not found"* ]]) 20 + ;; 21 + FreeBSD) 22 + # XXX: imgact_elf.c:load_interp() outputs the "ELF interpreter ... not 23 + -- 24 + 2.39.0 25 +
+2
pkgs/os-specific/solo5/default.nix
··· 24 24 sha256 = "sha256-viwrS9lnaU8sTGuzK/+L/PlMM/xRRtgVuK5pixVeDEw="; 25 25 }; 26 26 27 + patches = [ ./0001-Fix-test.patch ]; 28 + 27 29 hardeningEnable = [ "pie" ]; 28 30 29 31 configurePhase = ''
+2 -5
pkgs/servers/etebase/default.nix
··· 36 36 pynacl 37 37 redis 38 38 typing-extensions 39 - ] ++ lib.optional withLdap [ 40 - python-ldap 41 - ] ++ lib.optional withPostgres [ 42 - psycopg2 43 - ]; 39 + ] ++ lib.optional withLdap python-ldap 40 + ++ lib.optional withPostgres psycopg2; 44 41 45 42 installPhase = '' 46 43 mkdir -p $out/bin $out/lib
+2 -2
pkgs/servers/snappymail/default.nix
··· 7 7 8 8 stdenv.mkDerivation rec { 9 9 pname = "snappymail"; 10 - version = "2.25.3"; 10 + version = "2.25.5"; 11 11 12 12 src = fetchurl { 13 13 url = "https://github.com/the-djmaze/snappymail/releases/download/v${version}/snappymail-${version}.tar.gz"; 14 - sha256 = "sha256-FK0F1STRdE1Ny+l0ILQMofXSXDhyzoMgZCT+MuCSmcA="; 14 + sha256 = "sha256-oNZxlzaaIIK+Y0twZmddV7bJXEscN22pLWskEPGaB3c="; 15 15 }; 16 16 17 17 sourceRoot = "snappymail";
+6 -2
pkgs/tools/compression/bzip2/1_1.nix
··· 3 3 , meson 4 4 , python3 5 5 , ninja 6 + , testers 6 7 }: 7 8 8 - stdenv.mkDerivation rec { 9 + stdenv.mkDerivation (finalAttrs: { 9 10 pname = "bzip2-unstable"; 10 11 version = "2020-08-11"; 11 12 ··· 34 35 35 36 strictDeps = true; 36 37 38 + passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 39 + 37 40 meta = with lib; { 38 41 description = "High-quality data compression program"; 39 42 license = licenses.bsdOriginal; 43 + pkgConfigModules = [ "bz2" ]; 40 44 platforms = platforms.all; 41 45 maintainers = []; 42 46 }; 43 - } 47 + })
+9 -5
pkgs/tools/compression/bzip3/default.nix
··· 3 3 , fetchFromGitHub 4 4 , autoreconfHook 5 5 , pkg-config 6 + , testers 6 7 }: 7 8 8 - stdenv.mkDerivation rec { 9 + stdenv.mkDerivation (finalAttrs: { 9 10 pname = "bzip3"; 10 11 version = "1.2.2"; 11 12 ··· 14 15 src = fetchFromGitHub { 15 16 owner = "kspalaiologos"; 16 17 repo = "bzip3"; 17 - rev = version; 18 + rev = finalAttrs.version; 18 19 hash = "sha256-B59Z7+5SFjt/UgppNtdUtzw96y+EVglHoKzq9Il9ud8="; 19 20 }; 20 21 21 22 postPatch = '' 22 - echo -n "${version}" > .tarball-version 23 + echo -n "${finalAttrs.version}" > .tarball-version 23 24 patchShebangs build-aux 24 25 25 26 # build-aux/ax_subst_man_date.m4 calls git if the file exists ··· 35 36 "--disable-arch-native" 36 37 ] ++ lib.optionals stdenv.isDarwin [ "--disable-link-time-optimization" ]; 37 38 39 + passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 40 + 38 41 meta = { 39 42 description = "A better and stronger spiritual successor to BZip2"; 40 43 homepage = "https://github.com/kspalaiologos/bzip3"; 41 - changelog = "https://github.com/kspalaiologos/bzip3/blob/${src.rev}/NEWS"; 44 + changelog = "https://github.com/kspalaiologos/bzip3/blob/${finalAttrs.src.rev}/NEWS"; 42 45 license = lib.licenses.lgpl3Plus; 43 46 maintainers = with lib.maintainers; [ dotlambda ]; 47 + pkgConfigModules = [ "bzip3" ]; 44 48 platforms = lib.platforms.unix; 45 49 }; 46 - } 50 + })
+1 -1
pkgs/tools/games/joystickwake/default.nix
··· 10 10 sha256 = "sha256-0rVVxaaAFHkmJeG3e181x7faTIeFwupplWepoyxc51g="; 11 11 }; 12 12 13 - propagatedBuildInputs = with python3.pkgs; [ pyudev xlib ]; 13 + propagatedBuildInputs = with python3.pkgs; [ dbus-next pyudev xlib ]; 14 14 15 15 postInstall = '' 16 16 # autostart file
+2 -2
pkgs/tools/networking/dnscrypt-proxy2/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "dnscrypt-proxy2"; 5 - version = "2.1.3"; 5 + version = "2.1.4"; 6 6 7 7 vendorSha256 = null; 8 8 ··· 12 12 owner = "DNSCrypt"; 13 13 repo = "dnscrypt-proxy"; 14 14 rev = version; 15 - sha256 = "sha256-5wfxjx8SxynY6DpPIvOLwSsBdM/0zSzfaVDQTI/RUD0="; 15 + sha256 = "sha256-98DeCrDp0TmPCSvOrJ7KgIQZBR2K1fFJrmNccZ7nSug="; 16 16 }; 17 17 18 18 meta = with lib; {
+2 -2
pkgs/tools/networking/netbird/default.nix
··· 14 14 in 15 15 buildGoModule rec { 16 16 pname = "netbird"; 17 - version = "0.12.0"; 17 + version = "0.13.0"; 18 18 19 19 src = fetchFromGitHub { 20 20 owner = "netbirdio"; 21 21 repo = pname; 22 22 rev = "v${version}"; 23 - sha256 = "sha256-ajfNHkdYNJCuDhFmww1X0d9F0dmo2/h0GlfLYWvTHKc="; 23 + sha256 = "sha256-Afj2pllGPL86hhSNDSbvO+GkA62CI8V5dnUa0mjEMCg="; 24 24 }; 25 25 26 26 vendorHash = "sha256-3uEcb0nVHrfHZTZ/j/9l6zR1zMfLR0mVaN/Hydyam4Q=";
+3 -3
pkgs/tools/typesetting/mmark/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "mmark"; 5 - version = "2.2.30"; 5 + version = "2.2.31"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "mmarkdown"; 9 9 repo = "mmark"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-14SGA3a72i+HYptTEpxf4YiLXZzZ1R/t1agvm3ie4g8="; 11 + sha256 = "sha256-mCnlLsvkkB7ZvBCLYHvYanz9XgWo92v5M/kKulhUKTE="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-GjR9cOGLB6URHQi+qcyNbP7rm0+y4wypvgUxgJzIgGQ="; 14 + vendorHash = "sha256-GjR9cOGLB6URHQi+qcyNbP7rm0+y4wypvgUxgJzIgGQ="; 15 15 16 16 ldflags = [ "-s" "-w" ]; 17 17
+5 -1
pkgs/top-level/python-packages.nix
··· 1477 1477 1478 1478 buildbot-ui = self.buildbot.withPlugins (with self.buildbot-plugins; [ www ]); 1479 1479 1480 - buildbot-full = self.buildbot.withPlugins (with self.buildbot-plugins; [ www console-view waterfall-view grid-view wsgi-dashboards ]); 1480 + buildbot-full = self.buildbot.withPlugins (with self.buildbot-plugins; [ www console-view waterfall-view grid-view wsgi-dashboards badges ]); 1481 1481 1482 1482 buildbot-pkg = callPackage ../development/python-modules/buildbot/pkg.nix { }; 1483 1483 ··· 2461 2461 2462 2462 dissect-evidence = callPackage ../development/python-modules/dissect-evidence { }; 2463 2463 2464 + dissect-executable = callPackage ../development/python-modules/dissect-executable { }; 2465 + 2464 2466 dissect-extfs = callPackage ../development/python-modules/dissect-extfs { }; 2465 2467 2466 2468 dissect-hypervisor = callPackage ../development/python-modules/dissect-hypervisor { }; ··· 2472 2474 dissect-regf = callPackage ../development/python-modules/dissect-regf { }; 2473 2475 2474 2476 dissect-shellitem = callPackage ../development/python-modules/dissect-shellitem { }; 2477 + 2478 + dissect-squashfs = callPackage ../development/python-modules/dissect-squashfs { }; 2475 2479 2476 2480 dissect-sql = callPackage ../development/python-modules/dissect-sql { }; 2477 2481