nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

Merge master into staging-next

authored by

github-actions[bot] and committed by
GitHub
4517d658 6e1c7f74

+546 -453
+1 -1
doc/stdenv/stdenv.chapter.md
··· 887 888 Use `--prefix` to explicitly set dependencies in `PATH`. 889 890 - :::{note} 891 `--prefix` essentially hard-codes dependencies into the wrapper. 892 They cannot be overridden without rebuilding the package. 893 :::
··· 887 888 Use `--prefix` to explicitly set dependencies in `PATH`. 889 890 + ::: {.note} 891 `--prefix` essentially hard-codes dependencies into the wrapper. 892 They cannot be overridden without rebuilding the package. 893 :::
+1
lib/types.nix
··· 478 479 path = mkOptionType { 480 name = "path"; 481 check = x: isCoercibleToString x && builtins.substring 0 1 (toString x) == "/"; 482 merge = mergeEqualOption; 483 };
··· 478 479 path = mkOptionType { 480 name = "path"; 481 + descriptionClass = "noun"; 482 check = x: isCoercibleToString x && builtins.substring 0 1 (toString x) == "/"; 483 merge = mergeEqualOption; 484 };
+8
nixos/doc/manual/from_md/release-notes/rl-2211.section.xml
··· 1349 the npm install step prunes dev dependencies. 1350 </para> 1351 </listitem> 1352 </itemizedlist> 1353 </section> 1354 </section>
··· 1349 the npm install step prunes dev dependencies. 1350 </para> 1351 </listitem> 1352 + <listitem> 1353 + <para> 1354 + boot.kernel.sysctl is defined as a freeformType and adds a 1355 + custom merge option for <quote>net.core.rmem_max</quote> 1356 + (taking the highest value defined to avoid conflicts between 2 1357 + services trying to set that value) 1358 + </para> 1359 + </listitem> 1360 </itemizedlist> 1361 </section> 1362 </section>
+2
nixos/doc/manual/release-notes/rl-2211.section.md
··· 403 404 - The `nodePackages` package set now defaults to the LTS release in the `nodejs` package again, instead of being pinned to `nodejs-14_x`. Several updates to node2nix have been made for compatibility with newer Node.js and npm versions and a new `postRebuild` hook has been added for packages to perform extra build steps before the npm install step prunes dev dependencies. 405 406 <!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
··· 403 404 - The `nodePackages` package set now defaults to the LTS release in the `nodejs` package again, instead of being pinned to `nodejs-14_x`. Several updates to node2nix have been made for compatibility with newer Node.js and npm versions and a new `postRebuild` hook has been added for packages to perform extra build steps before the npm install step prunes dev dependencies. 405 406 + - boot.kernel.sysctl is defined as a freeformType and adds a custom merge option for "net.core.rmem_max" (taking the highest value defined to avoid conflicts between 2 services trying to set that value) 407 + 408 <!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
+15 -1
nixos/modules/config/sysctl.nix
··· 21 options = { 22 23 boot.kernel.sysctl = mkOption { 24 default = {}; 25 example = literalExpression '' 26 { "net.ipv4.tcp_syncookies" = false; "vm.swappiness" = 60; } 27 ''; 28 - type = types.attrsOf sysctlOption; 29 description = lib.mdDoc '' 30 Runtime parameters of the Linux kernel, as set by 31 {manpage}`sysctl(8)`. Note that sysctl ··· 48 parameter may be a string, integer, boolean, or null 49 (signifying the option will not appear at all). 50 ''; 51 }; 52 53 };
··· 21 options = { 22 23 boot.kernel.sysctl = mkOption { 24 + type = types.submodule { 25 + freeformType = types.attrsOf sysctlOption; 26 + options."net.core.rmem_max" = mkOption { 27 + type = types.nullOr types.ints.unsigned // { 28 + merge = loc: defs: 29 + foldl 30 + (a: b: if b.value == null then null else lib.max a b.value) 31 + 0 32 + (filterOverrides defs); 33 + }; 34 + default = null; 35 + description = lib.mdDoc "The maximum socket receive buffer size. In case of conflicting values, the highest will be used."; 36 + }; 37 + }; 38 default = {}; 39 example = literalExpression '' 40 { "net.ipv4.tcp_syncookies" = false; "vm.swappiness" = 60; } 41 ''; 42 description = lib.mdDoc '' 43 Runtime parameters of the Linux kernel, as set by 44 {manpage}`sysctl(8)`. Note that sysctl ··· 35 parameter may be a string, integer, boolean, or null 36 (signifying the option will not appear at all). 37 ''; 38 + 39 }; 40 41 };
+1 -1
nixos/modules/services/torrent/transmission.nix
··· 431 # https://trac.transmissionbt.com/browser/trunk/libtransmission/tr-udp.c?rev=11956. 432 # at least up to the values hardcoded here: 433 (mkIf cfg.settings.utp-enabled { 434 - "net.core.rmem_max" = mkDefault "4194304"; # 4MB 435 "net.core.wmem_max" = mkDefault "1048576"; # 1MB 436 }) 437 (mkIf cfg.performanceNetParameters {
··· 431 # https://trac.transmissionbt.com/browser/trunk/libtransmission/tr-udp.c?rev=11956. 432 # at least up to the values hardcoded here: 433 (mkIf cfg.settings.utp-enabled { 434 + "net.core.rmem_max" = mkDefault 4194304; # 4MB 435 "net.core.wmem_max" = mkDefault "1048576"; # 1MB 436 }) 437 (mkIf cfg.performanceNetParameters {
+54 -3
nixos/modules/services/web-apps/invoiceplane.nix
··· 184 ''; 185 }; 186 187 }; 188 189 }; ··· 244 } 245 { assertion = cfg.database.createLocally -> cfg.database.passwordFile == null; 246 message = ''services.invoiceplane.sites."${hostName}".database.passwordFile cannot be specified if services.invoiceplane.sites."${hostName}".database.createLocally is set to true.''; 247 - }] 248 - ) eachSite); 249 250 services.mysql = mkIf (any (v: v.database.createLocally) (attrValues eachSite)) { 251 enable = true; ··· 278 } 279 280 { 281 systemd.tmpfiles.rules = flatten (mapAttrsToList (hostName: cfg: [ 282 "d ${cfg.stateDir} 0750 ${user} ${webserver.group} - -" 283 "f ${cfg.stateDir}/ipconfig.php 0750 ${user} ${webserver.group} - -" ··· 308 group = webserver.group; 309 isSystemUser = true; 310 }; 311 } 312 313 (mkIf (cfg.webserver == "caddy") { ··· 353 )) eachSite; 354 }; 355 }) 356 - 357 358 ]); 359 }
··· 184 ''; 185 }; 186 187 + cron = { 188 + 189 + enable = mkOption { 190 + type = types.bool; 191 + default = false; 192 + description = lib.mdDoc '' 193 + Enable cron service which periodically runs Invoiceplane tasks. 194 + Requires key taken from the administration page. Refer to 195 + <https://wiki.invoiceplane.com/en/1.0/modules/recurring-invoices> 196 + on how to configure it. 197 + ''; 198 + }; 199 + 200 + key = mkOption { 201 + type = types.str; 202 + description = lib.mdDoc "Cron key taken from the administration page."; 203 + }; 204 + 205 + }; 206 + 207 }; 208 209 }; ··· 224 } 225 { assertion = cfg.database.createLocally -> cfg.database.passwordFile == null; 226 message = ''services.invoiceplane.sites."${hostName}".database.passwordFile cannot be specified if services.invoiceplane.sites."${hostName}".database.createLocally is set to true.''; 227 + } 228 + { assertion = cfg.cron.enable -> cfg.cron.key != null; 229 + message = ''services.invoiceplane.sites."${hostName}".cron.key must be set in order to use cron service.''; 230 + } 231 + ]) eachSite); 232 233 services.mysql = mkIf (any (v: v.database.createLocally) (attrValues eachSite)) { 234 enable = true; ··· 255 } 256 257 { 258 + 259 systemd.tmpfiles.rules = flatten (mapAttrsToList (hostName: cfg: [ 260 "d ${cfg.stateDir} 0750 ${user} ${webserver.group} - -" 261 "f ${cfg.stateDir}/ipconfig.php 0750 ${user} ${webserver.group} - -" ··· 284 group = webserver.group; 285 isSystemUser = true; 286 }; 287 + 288 + } 289 + { 290 + 291 + # Cron service implementation 292 + 293 + systemd.timers = mapAttrs' (hostName: cfg: ( 294 + nameValuePair "invoiceplane-cron-${hostName}" (mkIf cfg.cron.enable { 295 + wantedBy = [ "timers.target" ]; 296 + timerConfig = { 297 + OnBootSec = "5m"; 298 + OnUnitActiveSec = "5m"; 299 + Unit = "invoiceplane-cron-${hostName}.service"; 300 + }; 301 + }) 302 + )) eachSite; 303 + 304 + systemd.services = 305 + (mapAttrs' (hostName: cfg: ( 306 + nameValuePair "invoiceplane-cron-${hostName}" (mkIf cfg.cron.enable { 307 + serviceConfig = { 308 + Type = "oneshot"; 309 + User = user; 310 + ExecStart = "${pkgs.curl}/bin/curl --header 'Host: ${hostName}' http://localhost/index.php/invoices/cron/recur/${cfg.cron.key}"; 311 + }; 312 + }) 313 + )) eachSite); 314 + 315 } 316 317 (mkIf (cfg.webserver == "caddy") { ··· 301 )) eachSite; 302 }; 303 }) 304 305 ]); 306 }
+2 -2
nixos/modules/services/web-apps/nextcloud.nix
··· 823 ${if c.dbhost != null then "--database-host" else null} = ''"${c.dbhost}"''; 824 ${if c.dbport != null then "--database-port" else null} = ''"${toString c.dbport}"''; 825 ${if c.dbuser != null then "--database-user" else null} = ''"${c.dbuser}"''; 826 - "--database-pass" = "\$${dbpass.arg}"; 827 "--admin-user" = ''"${c.adminuser}"''; 828 - "--admin-pass" = "\$${adminpass.arg}"; 829 "--data-dir" = ''"${datadir}/data"''; 830 }); 831 in ''
··· 823 ${if c.dbhost != null then "--database-host" else null} = ''"${c.dbhost}"''; 824 ${if c.dbport != null then "--database-port" else null} = ''"${toString c.dbport}"''; 825 ${if c.dbuser != null then "--database-user" else null} = ''"${c.dbuser}"''; 826 + "--database-pass" = "\"\$${dbpass.arg}\""; 827 "--admin-user" = ''"${c.adminuser}"''; 828 + "--admin-pass" = "\"\$${adminpass.arg}\""; 829 "--data-dir" = ''"${datadir}/data"''; 830 }); 831 in ''
+6 -3
pkgs/applications/audio/ashuffle/default.nix
··· 6 , meson 7 , ninja 8 , libmpdclient 9 }: 10 11 stdenv.mkDerivation rec { 12 pname = "ashuffle"; 13 - version = "3.12.5"; 14 15 src = fetchFromGitHub { 16 owner = "joshkunz"; 17 repo = "ashuffle"; 18 rev = "v${version}"; 19 - sha256 = "sha256-dPgv6EzRxRdHkGvys601Bkg9Srd8oEjoE9jbAin74Vk="; 20 fetchSubmodules = true; 21 }; 22 23 dontUseCmakeConfigure = true; 24 nativeBuildInputs = [ cmake pkg-config meson ninja ]; 25 - buildInputs = [ libmpdclient ]; 26 27 meta = with lib; { 28 homepage = "https://github.com/joshkunz/ashuffle";
··· 6 , meson 7 , ninja 8 , libmpdclient 9 + , libyamlcpp 10 }: 11 12 stdenv.mkDerivation rec { 13 pname = "ashuffle"; 14 + version = "3.13.4"; 15 16 src = fetchFromGitHub { 17 owner = "joshkunz"; 18 repo = "ashuffle"; 19 rev = "v${version}"; 20 + sha256 = "sha256-J6NN0Rsc9Zw9gagksDlwpwEErs+4XmrGF9YHKlAE1FA="; 21 fetchSubmodules = true; 22 }; 23 24 dontUseCmakeConfigure = true; 25 nativeBuildInputs = [ cmake pkg-config meson ninja ]; 26 + buildInputs = [ libmpdclient libyamlcpp ]; 27 + 28 + mesonFlags = [ "-Dunsupported_use_system_yamlcpp=true" ]; 29 30 meta = with lib; { 31 homepage = "https://github.com/joshkunz/ashuffle";
+55
pkgs/applications/networking/browsers/litebrowser/default.nix
···
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , cmake 5 + , pkg-config 6 + , gtk3 7 + , gtkmm3 8 + , curl 9 + , poco 10 + , gumbo # litehtml dependency 11 + }: 12 + 13 + stdenv.mkDerivation { 14 + pname = "litebrowser"; 15 + version = "unstable-2022-10-31"; 16 + 17 + src = fetchFromGitHub { 18 + owner = "litehtml"; 19 + repo = "litebrowser-linux"; 20 + rev = "4654f8fb2d5e2deba7ac6223b6639341bd3b7eba"; 21 + hash = "sha256-SvW1AOxLBLKqa+/2u2Zn+/t33ZzQHmqlcLRl6z0rK9U="; 22 + fetchSubmodules = true; # litehtml submodule 23 + }; 24 + 25 + nativeBuildInputs = [ 26 + cmake 27 + pkg-config 28 + ]; 29 + 30 + buildInputs = [ 31 + gtk3 32 + gtkmm3 33 + curl 34 + poco 35 + gumbo 36 + ]; 37 + 38 + cmakeFlags = [ 39 + "-DEXTERNAL_GUMBO=ON" 40 + ]; 41 + 42 + installPhase = '' 43 + runHook preInstall 44 + install -Dm755 litebrowser $out/bin/litebrowser 45 + runHook postInstall 46 + ''; 47 + 48 + meta = with lib; { 49 + description = "A simple browser based on the litehtml engine"; 50 + homepage = "https://github.com/litehtml/litebrowser-linux"; 51 + license = licenses.bsd3; 52 + platforms = platforms.unix; 53 + maintainers = with maintainers; [ fgaz ]; 54 + }; 55 + }
+2 -2
pkgs/applications/networking/instant-messengers/discord/default.nix
··· 2 let 3 versions = if stdenv.isLinux then { 4 stable = "0.0.21"; 5 - ptb = "0.0.34"; 6 canary = "0.0.143"; 7 } else { 8 stable = "0.0.264"; ··· 18 }; 19 ptb = fetchurl { 20 url = "https://dl-ptb.discordapp.net/apps/linux/${version}/discord-ptb-${version}.tar.gz"; 21 - sha256 = "CD6dLoBnlvhpwEFfLI9OqjhviZPj3xNDyPK9qBJUqck="; 22 }; 23 canary = fetchurl { 24 url = "https://dl-canary.discordapp.net/apps/linux/${version}/discord-canary-${version}.tar.gz";
··· 2 let 3 versions = if stdenv.isLinux then { 4 stable = "0.0.21"; 5 + ptb = "0.0.35"; 6 canary = "0.0.143"; 7 } else { 8 stable = "0.0.264"; ··· 18 }; 19 ptb = fetchurl { 20 url = "https://dl-ptb.discordapp.net/apps/linux/${version}/discord-ptb-${version}.tar.gz"; 21 + sha256 = "bnp5wfcR21s7LMPxFgj5G3UsxPWlFj4t6CbeosiufHY="; 22 }; 23 canary = fetchurl { 24 url = "https://dl-canary.discordapp.net/apps/linux/${version}/discord-canary-${version}.tar.gz";
+55 -9
pkgs/applications/science/misc/toil/default.nix
··· 1 { lib 2 , fetchFromGitHub 3 , python3 4 }: 5 6 python3.pkgs.buildPythonApplication rec { 7 pname = "toil"; 8 - version = "5.6.0"; 9 format = "setuptools"; 10 11 - src = python3.pkgs.fetchPypi { 12 - inherit pname version; 13 - sha256 = "sha256-m6tzrRCCLULO+wB8htUlt0KESLm/vdIeTzBrihnAo/I="; 14 }; 15 16 propagatedBuildInputs = with python3.pkgs; [ 17 addict 18 docker 19 - pytz 20 - pyyaml 21 enlighten 22 psutil 23 py-tes 24 python-dateutil 25 - dill 26 ]; 27 28 - checkInputs = with python3.pkgs; [ 29 pytestCheckHook 30 - ]; 31 32 pytestFlagsArray = [ 33 "src/toil/test" ··· 53 54 pythonImportsCheck = [ 55 "toil" 56 ]; 57 58 meta = with lib; {
··· 1 { lib 2 , fetchFromGitHub 3 , python3 4 + , rsync 5 }: 6 7 python3.pkgs.buildPythonApplication rec { 8 pname = "toil"; 9 + version = "5.7.1"; 10 format = "setuptools"; 11 12 + src = fetchFromGitHub { 13 + owner = "DataBiosphere"; 14 + repo = pname; 15 + rev = "refs/tags/releases/${version}"; 16 + hash = "sha256-m+XvNyzd0ly2YqKhgxezgGaCXLs3CmupJMnp5RIZqNI="; 17 }; 18 + 19 + postPatch = '' 20 + substituteInPlace requirements.txt \ 21 + --replace "docker>=3.7.2, <6" "docker" 22 + ''; 23 24 propagatedBuildInputs = with python3.pkgs; [ 25 addict 26 + dill 27 docker 28 enlighten 29 psutil 30 py-tes 31 + pypubsub 32 python-dateutil 33 + pytz 34 + pyyaml 35 + requests 36 + typing-extensions 37 ]; 38 39 + checkInputs = [ 40 + rsync 41 + ] ++ (with python3.pkgs; [ 42 + boto 43 + botocore 44 + flask 45 + mypy-boto3-s3 46 pytestCheckHook 47 + stubserver 48 + ]); 49 50 pytestFlagsArray = [ 51 "src/toil/test" ··· 35 36 pythonImportsCheck = [ 37 "toil" 38 + ]; 39 + 40 + disabledTestPaths = [ 41 + # Tests are reaching their timeout 42 + "src/toil/test/docs/scriptsTest.py" 43 + "src/toil/test/jobStores/jobStoreTest.py" 44 + "src/toil/test/provisioners/aws/awsProvisionerTest.py" 45 + "src/toil/test/src" 46 + "src/toil/test/wdl" 47 + "src/toil/test/utils/utilsTest.py" 48 + ]; 49 + 50 + disabledTests = [ 51 + # Tests fail starting with 5.7.1 52 + "testServices" 53 + "testConcurrencyWithDisk" 54 + "testJobConcurrency" 55 + "testNestedResourcesDoNotBlock" 56 + "test_omp_threads" 57 + "testFileSingle" 58 + "testFileSingle10000" 59 + "testFileSingleCheckpoints" 60 + "testFileSingleNonCaching" 61 + "testFetchJobStoreFiles" 62 + "testFetchJobStoreFilesWSymlinks" 63 + "testJobStoreContents" 64 + "test_cwl_on_arm" 65 + "test_cwl_toil_kill" 66 ]; 67 68 meta = with lib; {
+2 -2
pkgs/applications/version-management/vcsh/default.nix
··· 8 9 stdenv.mkDerivation rec { 10 pname = "vcsh"; 11 - version = "2.0.4"; 12 13 src = fetchurl { 14 url = "https://github.com/RichiH/vcsh/releases/download/v${version}/${pname}-${version}.tar.xz"; 15 - sha256 = "sha256-W/Ql2J9HTDQPu0el34mHVzqe85KGWLPph2sHyuEzPPI="; 16 }; 17 18 nativeBuildInputs = [
··· 8 9 stdenv.mkDerivation rec { 10 pname = "vcsh"; 11 + version = "2.0.5"; 12 13 src = fetchurl { 14 url = "https://github.com/RichiH/vcsh/releases/download/v${version}/${pname}-${version}.tar.xz"; 15 + sha256 = "0bf3gacbyxw75ksd8y6528kgk7mqx6grz40gfiffxa2ghsz1xl01"; 16 }; 17 18 nativeBuildInputs = [
+97 -33
pkgs/applications/virtualization/open-vm-tools/default.nix
··· 1 - { stdenv, lib, fetchFromGitHub, makeWrapper, autoreconfHook 2 - , bash, fuse3, libmspack, openssl, pam, xercesc, icu, libdnet, procps, libtirpc, rpcsvc-proto 3 - , libX11, libXext, libXinerama, libXi, libXrender, libXrandr, libXtst, libxcrypt 4 - , pkg-config, glib, gdk-pixbuf-xlib, gtk3, gtkmm3, iproute2, dbus, systemd, which 5 - , libdrm, udev, util-linux 6 , withX ? true 7 }: 8 ··· 44 version = "12.1.0"; 45 46 src = fetchFromGitHub { 47 - owner = "vmware"; 48 - repo = "open-vm-tools"; 49 - rev = "stable-${version}"; 50 hash = "sha256-PgrLu0Bm9Vom5WNl43312QFWKojdXDAGn3Nvj4hzPrQ="; 51 }; 52 ··· 54 55 outputs = [ "out" "dev" ]; 56 57 - nativeBuildInputs = [ autoreconfHook makeWrapper pkg-config ]; 58 - buildInputs = [ fuse3 glib icu libdnet libdrm libmspack libtirpc libxcrypt openssl pam procps rpcsvc-proto udev xercesc ] 59 - ++ lib.optionals withX [ gdk-pixbuf-xlib gtk3 gtkmm3 libX11 libXext libXinerama libXi libXrender libXrandr libXtst ]; 60 61 postPatch = '' 62 - sed -i 's,etc/vmware-tools,''${prefix}/etc/vmware-tools,' Makefile.am 63 - sed -i 's,^confdir = ,confdir = ''${prefix},' scripts/Makefile.am 64 - sed -i 's,usr/bin,''${prefix}/usr/bin,' scripts/Makefile.am 65 - sed -i 's,etc/vmware-tools,''${prefix}/etc/vmware-tools,' services/vmtoolsd/Makefile.am 66 - sed -i 's,$(PAM_PREFIX),''${prefix}/$(PAM_PREFIX),' services/vmtoolsd/Makefile.am 67 68 - # Avoid a glibc >= 2.25 deprecation warning that gets fatal via -Werror. 69 - sed 1i'#include <sys/sysmacros.h>' -i lib/wiper/wiperPosix.c 70 71 - # Make reboot work, shutdown is not in /sbin on NixOS 72 - sed -i 's,/sbin/shutdown,shutdown,' lib/system/systemLinux.c 73 74 - # Fix paths to fuse3 (we do not use fuse2 so that is not modified) 75 - sed -i 's,/bin/fusermount3,${fuse3}/bin/fusermount3,' vmhgfs-fuse/config.c 76 77 - substituteInPlace services/plugins/vix/foundryToolsDaemon.c \ 78 - --replace "/usr/bin/vmhgfs-fuse" "${placeholder "out"}/bin/vmhgfs-fuse" \ 79 - --replace "/bin/mount" "${util-linux}/bin/mount" 80 ''; 81 82 configureFlags = [ 83 "--without-kernel-modules" 84 - "--without-xmlsecurity" 85 "--with-udev-rules-dir=${placeholder "out"}/lib/udev/rules.d" 86 "--with-fuse=fuse3" 87 ] ++ lib.optional (!withX) "--without-x"; 88 89 enableParallelBuilding = true; 90 - 91 - NIX_CFLAGS_COMPILE = builtins.toString [ 92 - # fix build with gcc9 93 - "-Wno-error=address-of-packed-member" 94 - "-Wno-error=format-overflow" 95 - ]; 96 97 preConfigure = '' 98 mkdir -p ${placeholder "out"}/lib/udev/rules.d ··· 143 better management of, and seamless user interactions with, guests. 144 ''; 145 license = licenses.gpl2; 146 - platforms = [ "x86_64-linux" "i686-linux" "aarch64-linux" ]; 147 maintainers = with maintainers; [ joamaki ]; 148 }; 149 }
··· 1 + { stdenv 2 + , lib 3 + , fetchFromGitHub 4 + , makeWrapper 5 + , autoreconfHook 6 + , bash 7 + , fuse3 8 + , libmspack 9 + , openssl 10 + , pam 11 + , xercesc 12 + , icu 13 + , libdnet 14 + , procps 15 + , libtirpc 16 + , rpcsvc-proto 17 + , libX11 18 + , libXext 19 + , libXinerama 20 + , libXi 21 + , libXrender 22 + , libXrandr 23 + , libXtst 24 + , libxcrypt 25 + , libxml2 26 + , pkg-config 27 + , glib 28 + , gdk-pixbuf-xlib 29 + , gtk3 30 + , gtkmm3 31 + , iproute2 32 + , dbus 33 + , systemd 34 + , which 35 + , libdrm 36 + , udev 37 + , util-linux 38 + , xmlsec 39 , withX ? true 40 }: 41 ··· 11 version = "12.1.0"; 12 13 src = fetchFromGitHub { 14 + owner = "vmware"; 15 + repo = "open-vm-tools"; 16 + rev = "stable-${version}"; 17 hash = "sha256-PgrLu0Bm9Vom5WNl43312QFWKojdXDAGn3Nvj4hzPrQ="; 18 }; 19 ··· 21 22 outputs = [ "out" "dev" ]; 23 24 + nativeBuildInputs = [ 25 + autoreconfHook 26 + makeWrapper 27 + pkg-config 28 + ]; 29 + 30 + buildInputs = [ 31 + fuse3 32 + glib 33 + icu 34 + libdnet 35 + libdrm 36 + libmspack 37 + libtirpc 38 + libxcrypt 39 + libxml2 40 + openssl 41 + pam 42 + procps 43 + rpcsvc-proto 44 + udev 45 + xercesc 46 + xmlsec 47 + ] ++ lib.optionals withX [ 48 + gdk-pixbuf-xlib 49 + gtk3 50 + gtkmm3 51 + libX11 52 + libXext 53 + libXinerama 54 + libXi 55 + libXrender 56 + libXrandr 57 + libXtst 58 + ]; 59 60 postPatch = '' 61 + sed -i Makefile.am \ 62 + -e 's,etc/vmware-tools,''${prefix}/etc/vmware-tools,' 63 + sed -i scripts/Makefile.am \ 64 + -e 's,^confdir = ,confdir = ''${prefix},' \ 65 + -e 's,usr/bin,''${prefix}/usr/bin,' 66 + sed -i services/vmtoolsd/Makefile.am \ 67 + -e 's,etc/vmware-tools,''${prefix}/etc/vmware-tools,' \ 68 + -e 's,$(PAM_PREFIX),''${prefix}/$(PAM_PREFIX),' 69 + sed -i vgauth/service/Makefile.am \ 70 + -e 's,/etc/vmware-tools/vgauth/schemas,''${prefix}/etc/vmware-tools/vgauth/schemas,' \ 71 + -e 's,$(DESTDIR)/etc/vmware-tools/vgauth.conf,''${prefix}/etc/vmware-tools/vgauth.conf,' 72 73 + # don't abort on any warning 74 + sed -i 's,CFLAGS="$CFLAGS -Werror",,' configure.ac 75 76 + # Make reboot work, shutdown is not in /sbin on NixOS 77 + sed -i 's,/sbin/shutdown,shutdown,' lib/system/systemLinux.c 78 79 + # Fix paths to fuse3 (we do not use fuse2 so that is not modified) 80 + sed -i 's,/bin/fusermount3,${fuse3}/bin/fusermount3,' vmhgfs-fuse/config.c 81 82 + substituteInPlace services/plugins/vix/foundryToolsDaemon.c \ 83 + --replace "/usr/bin/vmhgfs-fuse" "${placeholder "out"}/bin/vmhgfs-fuse" \ 84 + --replace "/bin/mount" "${util-linux}/bin/mount" 85 ''; 86 87 configureFlags = [ 88 "--without-kernel-modules" 89 "--with-udev-rules-dir=${placeholder "out"}/lib/udev/rules.d" 90 "--with-fuse=fuse3" 91 ] ++ lib.optional (!withX) "--without-x"; 92 93 enableParallelBuilding = true; 94 95 preConfigure = '' 96 mkdir -p ${placeholder "out"}/lib/udev/rules.d ··· 79 better management of, and seamless user interactions with, guests. 80 ''; 81 license = licenses.gpl2; 82 + platforms = [ "x86_64-linux" "i686-linux" "aarch64-linux" ]; 83 maintainers = with maintainers; [ joamaki ]; 84 }; 85 }
+2 -2
pkgs/development/interpreters/luau/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "luau"; 5 - version = "0.551"; 6 7 src = fetchFromGitHub { 8 owner = "Roblox"; 9 repo = "luau"; 10 rev = version; 11 - sha256 = "sha256-1IQeTq5eLn0jYtdc6SM0TuVJ3TUWUWtjQjAviba5ibw="; 12 }; 13 14 nativeBuildInputs = [ cmake ];
··· 2 3 stdenv.mkDerivation rec { 4 pname = "luau"; 5 + version = "0.552"; 6 7 src = fetchFromGitHub { 8 owner = "Roblox"; 9 repo = "luau"; 10 rev = version; 11 + sha256 = "sha256-dxxzM9VKN4yDkVpU3uQNgiFbBXBa+ALWSG/Ut6JKOEY="; 12 }; 13 14 nativeBuildInputs = [ cmake ];
+38
pkgs/development/libraries/litehtml/default.nix
···
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , cmake 5 + , gumbo 6 + }: 7 + 8 + stdenv.mkDerivation rec { 9 + pname = "litehtml"; 10 + version = "0.6"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "litehtml"; 14 + repo = "litehtml"; 15 + rev = "v${version}"; 16 + hash = "sha256-9571d3k8RkzEpMWPuIejZ7njLmYstSwFUaSqT3sk6uQ="; 17 + }; 18 + 19 + nativeBuildInputs = [ 20 + cmake 21 + ]; 22 + 23 + buildInputs = [ 24 + gumbo 25 + ]; 26 + 27 + cmakeFlags = [ 28 + "-DEXTERNAL_GUMBO=ON" 29 + ]; 30 + 31 + meta = with lib; { 32 + description = "Fast and lightweight HTML/CSS rendering engine"; 33 + homepage = "http://www.litehtml.com/"; 34 + license = licenses.bsd3; 35 + platforms = platforms.all; 36 + maintainers = with maintainers; [ fgaz ]; 37 + }; 38 + }
-115
pkgs/development/libraries/wxwidgets/wxGTK28.nix
··· 1 - { lib 2 - , stdenv 3 - , fetchurl 4 - , cairo 5 - , gtk2 6 - , libGL 7 - , libGLU 8 - , libSM 9 - , libX11 10 - , libXinerama 11 - , libXxf86vm 12 - , pkg-config 13 - , xorgproto 14 - , compat24 ? false 15 - , compat26 ? true 16 - , unicode ? true 17 - , withMesa ? lib.elem stdenv.hostPlatform.system lib.platforms.mesaPlatforms 18 - }: 19 - 20 - stdenv.mkDerivation rec { 21 - pname = "wxGTK"; 22 - version = "2.8.12.1"; 23 - 24 - src = fetchurl { 25 - url = "mirror://sourceforge/wxpython/wxPython-src-${version}.tar.bz2"; 26 - hash = "sha256-Hz8VPZ8VBMbOLSxLI+lAuPWLgfTLo1zaGluzEUIkPNA="; 27 - }; 28 - 29 - nativeBuildInputs = [ 30 - pkg-config 31 - ]; 32 - 33 - buildInputs = [ 34 - cairo 35 - gtk2 36 - libSM 37 - libX11 38 - libXinerama 39 - libXxf86vm 40 - xorgproto 41 - ] 42 - ++ lib.optional withMesa libGLU; 43 - 44 - configureFlags = [ 45 - "--enable-gtk2" 46 - "--disable-precomp-headers" 47 - "--enable-mediactrl" 48 - "--enable-graphics_ctx" 49 - (if compat24 then "--enable-compat24" else "--disable-compat24") 50 - (if compat26 then "--enable-compat26" else "--disable-compat26") 51 - ] 52 - ++ lib.optional unicode "--enable-unicode" 53 - ++ lib.optional withMesa "--with-opengl"; 54 - 55 - hardeningDisable = [ "format" ]; 56 - 57 - # These variables are used by configure to find some dependencies. 58 - SEARCH_INCLUDE = 59 - "${libXinerama.dev}/include ${libSM.dev}/include ${libXxf86vm.dev}/include"; 60 - SEARCH_LIB = 61 - "${libXinerama.out}/lib ${libSM.out}/lib ${libXxf86vm.out}/lib " 62 - + lib.optionalString withMesa "${libGLU.out}/lib ${libGL.out}/lib "; 63 - 64 - # Work around a bug in configure. 65 - NIX_CFLAGS_COMPILE = "-DHAVE_X11_XLIB_H=1 -lX11 -lcairo -Wno-narrowing"; 66 - 67 - preConfigure = '' 68 - substituteInPlace configure --replace \ 69 - 'SEARCH_INCLUDE=' 'DUMMY_SEARCH_INCLUDE=' 70 - substituteInPlace configure --replace \ 71 - 'SEARCH_LIB=' 'DUMMY_SEARCH_LIB=' 72 - substituteInPlace configure --replace \ 73 - /usr /no-such-path 74 - ''; 75 - 76 - postBuild = '' 77 - pushd contrib/src 78 - make 79 - popd 80 - ''; 81 - 82 - postInstall = '' 83 - pushd contrib/src 84 - make install 85 - popd 86 - pushd $out/include 87 - ln -s wx-*/* . 88 - popd 89 - ''; 90 - 91 - enableParallelBuilding = true; 92 - 93 - meta = with lib; { 94 - homepage = "https://www.wxwidgets.org/"; 95 - description = "A Cross-Platform C++ GUI Library"; 96 - longDescription = '' 97 - wxWidgets gives you a single, easy-to-use API for writing GUI applications 98 - on multiple platforms that still utilize the native platform's controls 99 - and utilities. Link with the appropriate library for your platform and 100 - compiler, and your application will adopt the look and feel appropriate to 101 - that platform. On top of great GUI functionality, wxWidgets gives you: 102 - online help, network programming, streams, clipboard and drag and drop, 103 - multithreading, image loading and saving in a variety of popular formats, 104 - database support, HTML viewing and printing, and much more. 105 - ''; 106 - license = licenses.wxWindows; 107 - maintainers = with maintainers; [ ]; 108 - platforms = platforms.linux; 109 - }; 110 - 111 - passthru = { 112 - inherit compat24 compat26 unicode; 113 - gtk = gtk2; 114 - }; 115 - }
···
-127
pkgs/development/libraries/wxwidgets/wxGTK29.nix
··· 1 - { lib 2 - , stdenv 3 - , fetchFromGitHub 4 - , autoconf 5 - , gtk2 6 - , libGL 7 - , libGLU 8 - , libSM 9 - , libXinerama 10 - , libXxf86vm 11 - , pkg-config 12 - , xorgproto 13 - , compat24 ? false 14 - , compat26 ? true 15 - , unicode ? true 16 - , withMesa ? lib.elem stdenv.hostPlatform.system lib.platforms.mesaPlatforms 17 - , AGL 18 - , Carbon 19 - , Cocoa 20 - , Kernel 21 - , QuickTime 22 - , setfile 23 - }: 24 - 25 - stdenv.mkDerivation rec { 26 - pname = "wxGTK"; 27 - version = "2.9.5"; 28 - 29 - src = fetchFromGitHub { 30 - owner = "wxWidgets"; 31 - repo = "wxWidgets"; 32 - rev = "v${version}"; 33 - hash = "sha256-izefAPU4lORZxQja7/InHyElJ1++2lDloR+xPudsRNE="; 34 - }; 35 - 36 - patches = [ 37 - # https://github.com/wxWidgets/wxWidgets/issues/17942 38 - ./patches/0001-fix-assertion-using-hide-in-destroy.patch 39 - ]; 40 - 41 - nativeBuildInputs = [ 42 - autoconf 43 - pkg-config 44 - ]; 45 - 46 - buildInputs = [ 47 - gtk2 48 - libSM 49 - libXinerama 50 - libXxf86vm 51 - xorgproto 52 - ] 53 - ++ lib.optional withMesa libGLU 54 - ++ lib.optionals stdenv.isDarwin [ 55 - Carbon 56 - Cocoa 57 - Kernel 58 - QuickTime 59 - setfile 60 - ]; 61 - 62 - propagatedBuildInputs = lib.optional stdenv.isDarwin AGL; 63 - 64 - configureFlags = [ 65 - "--disable-precomp-headers" 66 - "--enable-gtk2" 67 - (if compat24 then "--enable-compat24" else "--disable-compat24") 68 - (if compat26 then "--enable-compat26" else "--disable-compat26") 69 - ] 70 - ++ lib.optional unicode "--enable-unicode" 71 - ++ lib.optional withMesa "--with-opengl" 72 - ++ lib.optionals stdenv.isDarwin [ # allow building on 64-bit 73 - "--enable-universal-binaries" 74 - "--with-cocoa" 75 - "--with-macosx-version-min=10.7" 76 - ]; 77 - 78 - SEARCH_LIB = "${libGLU.out}/lib ${libGL.out}/lib "; 79 - 80 - preConfigure = '' 81 - ./autogen.sh 82 - substituteInPlace configure --replace \ 83 - 'SEARCH_INCLUDE=' 'DUMMY_SEARCH_INCLUDE=' 84 - substituteInPlace configure --replace \ 85 - 'SEARCH_LIB=' 'DUMMY_SEARCH_LIB=' 86 - substituteInPlace configure --replace \ 87 - /usr /no-such-path 88 - '' + lib.optionalString stdenv.isDarwin '' 89 - substituteInPlace configure --replace \ 90 - 'ac_cv_prog_SETFILE="/Developer/Tools/SetFile"' \ 91 - 'ac_cv_prog_SETFILE="${setfile}/bin/SetFile"' 92 - substituteInPlace configure --replace \ 93 - "-framework System" "-lSystem" 94 - ''; 95 - 96 - postInstall = '' 97 - pushd $out/include 98 - ln -s wx-*/* . 99 - popd 100 - ''; 101 - 102 - enableParallelBuilding = true; 103 - 104 - meta = with lib; { 105 - homepage = "https://www.wxwidgets.org/"; 106 - description = "A Cross-Platform C++ GUI Library"; 107 - longDescription = '' 108 - wxWidgets gives you a single, easy-to-use API for writing GUI applications 109 - on multiple platforms that still utilize the native platform's controls 110 - and utilities. Link with the appropriate library for your platform and 111 - compiler, and your application will adopt the look and feel appropriate to 112 - that platform. On top of great GUI functionality, wxWidgets gives you: 113 - online help, network programming, streams, clipboard and drag and drop, 114 - multithreading, image loading and saving in a variety of popular formats, 115 - database support, HTML viewing and printing, and much more. 116 - ''; 117 - license = licenses.wxWindows; 118 - maintainers = with maintainers; [ ]; 119 - platforms = platforms.darwin ++ platforms.linux; 120 - badPlatforms = [ "x86_64-darwin" ]; 121 - }; 122 - 123 - passthru = { 124 - inherit compat24 compat26 unicode; 125 - gtk = gtk2; 126 - }; 127 - }
···
+14 -8
pkgs/development/libraries/xmlsec/default.nix
··· 22 23 nativeBuildInputs = [ pkg-config ]; 24 25 - buildInputs = [ libxml2 gnutls libxslt libgcrypt libtool openssl nss ]; 26 27 enableParallelBuilding = true; 28 doCheck = true; 29 checkInputs = [ nss.tools ]; 30 preCheck = '' 31 - substituteInPlace tests/testrun.sh \ 32 - --replace 'timestamp=`date +%Y%m%d_%H%M%S`' 'timestamp=19700101_000000' \ 33 - --replace 'TMPFOLDER=/tmp' '$(mktemp -d)' 34 ''; 35 36 # enable deprecated soap headers required by lasso ··· 72 touch $out 73 ''; 74 75 - meta = { 76 description = "XML Security Library in C based on libxml2"; 77 - homepage = "http://www.aleksey.com/xmlsec"; 78 downloadPage = "https://www.aleksey.com/xmlsec/download.html"; 79 - license = lib.licenses.mit; 80 mainProgram = "xmlsec1"; 81 - platforms = with lib.platforms; linux ++ darwin; 82 }; 83 } 84 )
··· 22 23 nativeBuildInputs = [ pkg-config ]; 24 25 + buildInputs = [ libxml2 gnutls libgcrypt libtool openssl nss ]; 26 + 27 + propagatedBuildInputs = [ 28 + # required by xmlsec/transforms.h 29 + libxslt 30 + ]; 31 32 enableParallelBuilding = true; 33 doCheck = true; 34 checkInputs = [ nss.tools ]; 35 preCheck = '' 36 + substituteInPlace tests/testrun.sh \ 37 + --replace 'timestamp=`date +%Y%m%d_%H%M%S`' 'timestamp=19700101_000000' \ 38 + --replace 'TMPFOLDER=/tmp' '$(mktemp -d)' 39 ''; 40 41 # enable deprecated soap headers required by lasso ··· 67 touch $out 68 ''; 69 70 + meta = with lib; { 71 description = "XML Security Library in C based on libxml2"; 72 + homepage = "https://www.aleksey.com/xmlsec/"; 73 downloadPage = "https://www.aleksey.com/xmlsec/download.html"; 74 + license = licenses.mit; 75 mainProgram = "xmlsec1"; 76 + maintainers = with maintainers; [ ]; 77 + platforms = with platforms; linux ++ darwin; 78 }; 79 } 80 )
+11 -13
pkgs/development/python-modules/ansible-doctor/default.nix
··· 12 , poetry-core 13 , python-json-logger 14 , pythonOlder 15 , ruamel-yaml 16 }: 17 18 buildPythonPackage rec { 19 pname = "ansible-doctor"; 20 - version = "1.4.5"; 21 format = "pyproject"; 22 23 disabled = pythonOlder "3.7"; ··· 27 owner = "thegeeklab"; 28 repo = "ansible-doctor"; 29 rev = "refs/tags/v${version}"; 30 - hash = "sha256-Bqe5dqD9VEgkkIGtpkLnCf3KTziCYb5HQdMJaskALWE="; 31 }; 32 33 nativeBuildInputs = [ 34 poetry-core 35 ]; 36 37 propagatedBuildInputs = [ ··· 57 58 postInstall = '' 59 rm $out/lib/python*/site-packages/LICENSE 60 - ''; 61 - 62 - postPatch = '' 63 - substituteInPlace pyproject.toml \ 64 - --replace 'version = "0.0.0"' 'version = "${version}"' \ 65 - --replace 'Jinja2 = "3.1.2"' 'Jinja2 = "*"' \ 66 - --replace 'anyconfig = "0.13.0"' 'anyconfig = "*"' \ 67 - --replace 'environs = "9.5.0"' 'environs = "*"' \ 68 - --replace 'jsonschema = "4.15.0"' 'jsonschema = "*"' \ 69 - --replace '"ruamel.yaml" = "0.17.21"' '"ruamel.yaml" = "*"' \ 70 - --replace 'python-json-logger = "2.0.4"' 'python-json-logger = "*"' 71 ''; 72 73 # Module has no tests
··· 12 , poetry-core 13 , python-json-logger 14 , pythonOlder 15 + , pythonRelaxDepsHook 16 , ruamel-yaml 17 }: 18 19 buildPythonPackage rec { 20 pname = "ansible-doctor"; 21 + version = "1.4.6"; 22 format = "pyproject"; 23 24 disabled = pythonOlder "3.7"; ··· 26 owner = "thegeeklab"; 27 repo = "ansible-doctor"; 28 rev = "refs/tags/v${version}"; 29 + hash = "sha256-76IYH9IWeHU+PAtpLFGT5f8oG2roY3raW0NC3KUnFls="; 30 }; 31 + 32 + pythonRelaxDeps = true; 33 + 34 + postPatch = '' 35 + substituteInPlace pyproject.toml \ 36 + --replace 'version = "0.0.0"' 'version = "${version}"' 37 + ''; 38 39 nativeBuildInputs = [ 40 poetry-core 41 + pythonRelaxDepsHook 42 ]; 43 44 propagatedBuildInputs = [ ··· 48 49 postInstall = '' 50 rm $out/lib/python*/site-packages/LICENSE 51 ''; 52 53 # Module has no tests
+5 -2
pkgs/development/python-modules/apprise/default.nix
··· 14 , pyyaml 15 , requests 16 , requests-oauthlib 17 - , six 18 , slixmpp 19 }: 20 ··· 41 pyyaml 42 requests 43 requests-oauthlib 44 - six 45 ]; 46 47 checkInputs = [ ··· 54 disabledTests = [ 55 "test_apprise_cli_nux_env" 56 "test_plugin_mqtt_general" 57 ]; 58 59 postInstall = ''
··· 14 , pyyaml 15 , requests 16 , requests-oauthlib 17 , slixmpp 18 }: 19 ··· 42 pyyaml 43 requests 44 requests-oauthlib 45 ]; 46 47 checkInputs = [ ··· 56 disabledTests = [ 57 "test_apprise_cli_nux_env" 58 "test_plugin_mqtt_general" 59 + ]; 60 + 61 + disabledTestPaths = [ 62 + # AttributeError: module 'apprise.plugins' has no attribute 'NotifyBulkSMS' 63 + "test/test_plugin_bulksms.py" 64 ]; 65 66 postInstall = ''
+45
pkgs/development/python-modules/datasette-publish-fly/default.nix
···
··· 1 + { lib 2 + , buildPythonPackage 3 + , cogapp 4 + , datasette 5 + , fetchFromGitHub 6 + , pytest-mock 7 + , pytestCheckHook 8 + , pythonOlder 9 + }: 10 + 11 + buildPythonPackage rec { 12 + pname = "datasette-publish-fly"; 13 + version = "1.2"; 14 + format = "setuptools"; 15 + 16 + disabled = pythonOlder "3.7"; 17 + 18 + src = fetchFromGitHub { 19 + owner = "simonw"; 20 + repo = pname; 21 + rev = version; 22 + hash = "sha256-0frP/RkpZX6LCR8cOlzcBG3pbcOh0KPuELlYUXS3dRE="; 23 + }; 24 + 25 + propagatedBuildInputs = [ 26 + datasette 27 + ]; 28 + 29 + checkInputs = [ 30 + cogapp 31 + pytest-mock 32 + pytestCheckHook 33 + ]; 34 + 35 + pythonImportsCheck = [ 36 + "datasette_publish_fly" 37 + ]; 38 + 39 + meta = with lib; { 40 + description = "Datasette plugin for publishing data using Fly"; 41 + homepage = "https://datasette.io/plugins/datasette-publish-fly"; 42 + license = licenses.asl20; 43 + maintainers = with maintainers; [ fab ]; 44 + }; 45 + }
+22 -17
pkgs/development/python-modules/dm-sonnet/default.nix
··· 1 { lib 2 - , fetchFromGitHub 3 - , buildPythonPackage 4 - , numpy 5 - , tabulate 6 - , six 7 - , dm-tree 8 , absl-py 9 - , wrapt 10 , docutils 11 , tensorflow 12 - , tensorflow-datasets }: 13 14 buildPythonPackage rec { 15 pname = "dm-sonnet"; 16 version = "2.0.0"; 17 18 src = fetchFromGitHub { 19 owner = "deepmind"; 20 repo = "sonnet"; 21 rev = "v${version}"; 22 - sha256 = "sha256-YSMeH5ZTfP1OdLBepsxXAVczBG/ghSjCWjoz/I+TFl8="; 23 }; 24 25 - buildInputs = [ 26 - absl-py 27 dm-tree 28 numpy 29 - six 30 tabulate 31 wrapt 32 - ]; 33 34 - propagatedBuildInputs = [ 35 - tabulate 36 - tensorflow 37 - ]; 38 39 checkInputs = [ 40 docutils
··· 1 { lib 2 , absl-py 3 + , buildPythonPackage 4 + , dm-tree 5 , docutils 6 + , etils 7 + , fetchFromGitHub 8 + , numpy 9 + , pythonOlder 10 + , tabulate 11 , tensorflow 12 + , tensorflow-datasets 13 + , wrapt 14 + }: 15 16 buildPythonPackage rec { 17 pname = "dm-sonnet"; 18 version = "2.0.0"; 19 + format = "setuptools"; 20 + 21 + disabled = pythonOlder "3.6"; 22 23 src = fetchFromGitHub { 24 owner = "deepmind"; 25 repo = "sonnet"; 26 rev = "v${version}"; 27 + hash = "sha256-YSMeH5ZTfP1OdLBepsxXAVczBG/ghSjCWjoz/I+TFl8="; 28 }; 29 30 + propagatedBuildInputs = [ 31 dm-tree 32 + etils 33 numpy 34 tabulate 35 wrapt 36 + ] ++ etils.optional-dependencies.epath; 37 38 + passthru.optional-dependencies = { 39 + tensorflow = [ 40 + tensorflow 41 + ]; 42 + }; 43 44 checkInputs = [ 45 docutils
+10 -3
pkgs/development/python-modules/docker/default.nix
··· 14 15 buildPythonPackage rec { 16 pname = "docker"; 17 - version = "6.0.0"; 18 format = "pyproject"; 19 disabled = pythonOlder "3.7"; 20 21 src = fetchPypi { 22 inherit pname version; 23 - sha256 = "sha256-GeMwRwr0AWfSk7A1JXjB+iLXSzTT7fXU/5DrwgO7svE="; 24 }; 25 26 nativeBuildInputs = [ ··· 48 ]; 49 50 # Deselect socket tests on Darwin because it hits the path length limit for a Unix domain socket 51 - disabledTests = lib.optionals stdenv.isDarwin [ "api_test" "stream_response" "socket_file" ]; 52 53 dontUseSetuptoolsCheck = true; 54 55 meta = with lib; { 56 description = "An API client for docker written in Python";
··· 14 15 buildPythonPackage rec { 16 pname = "docker"; 17 + version = "6.0.1"; 18 format = "pyproject"; 19 + 20 disabled = pythonOlder "3.7"; 21 22 src = fetchPypi { 23 inherit pname version; 24 + hash = "sha256-iWxCguXHr1xF6LaDsLDDOTKXT+blD8aQagqDYWqz2pc="; 25 }; 26 27 nativeBuildInputs = [ ··· 47 ]; 48 49 # Deselect socket tests on Darwin because it hits the path length limit for a Unix domain socket 50 + disabledTests = lib.optionals stdenv.isDarwin [ 51 + "api_test" "stream_response" "socket_file" 52 + ]; 53 54 dontUseSetuptoolsCheck = true; 55 + 56 + pythonImportsCheck = [ 57 + "docker" 58 + ]; 59 60 meta = with lib; { 61 description = "An API client for docker written in Python";
+32
pkgs/development/python-modules/stubserver/default.nix
···
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , pythonOlder 5 + }: 6 + 7 + buildPythonPackage rec { 8 + pname = "stubserver"; 9 + version = "1.1"; 10 + format = "setuptools"; 11 + 12 + disabled = pythonOlder "3.7"; 13 + 14 + src = fetchPypi { 15 + inherit pname version; 16 + hash = "sha256-j9R7wpvb07FuN5EhIpE7xTSf26AniQZN4iLpxMjNYKA="; 17 + }; 18 + 19 + # Tests are not shipped and the source not tagged 20 + doCheck = false; 21 + 22 + pythonImportsCheck = [ 23 + "stubserver" 24 + ]; 25 + 26 + meta = with lib; { 27 + description = "Web and FTP server for use in unit and7or acceptance tests"; 28 + homepage = "https://github.com/tarttelin/Python-Stub-Server"; 29 + license = licenses.bsd2; 30 + maintainers = with maintainers; [ fab ]; 31 + }; 32 + }
+3 -3
pkgs/development/tools/apksigcopier/default.nix
··· 9 10 python3.pkgs.buildPythonApplication rec { 11 pname = "apksigcopier"; 12 - version = "1.0.1"; 13 14 src = fetchFromGitHub { 15 owner = "obfusk"; 16 repo = "apksigcopier"; 17 - rev = "v${version}"; 18 - sha256 = "07ldq3q1x2lpb15q5s5i1pbg89sn6ah45amskm9pndqlh16z9k2x"; 19 }; 20 21 nativeBuildInputs = [
··· 9 10 python3.pkgs.buildPythonApplication rec { 11 pname = "apksigcopier"; 12 + version = "1.1.0"; 13 14 src = fetchFromGitHub { 15 owner = "obfusk"; 16 repo = "apksigcopier"; 17 + rev = "refs/tags/v${version}"; 18 + sha256 = "sha256-58NoYe26GsNE0jpSRt4sIkTJ2iR4VVnvthOfi7QFfN0="; 19 }; 20 21 nativeBuildInputs = [
+3 -3
pkgs/development/tools/kubie/default.nix
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "kubie"; 5 - version = "0.19.0"; 6 7 src = fetchFromGitHub { 8 rev = "v${version}"; 9 owner = "sbstp"; 10 repo = "kubie"; 11 - sha256 = "sha256-K7zoohyVBnRMqwpizBs+wlN/gkgGjBHNk1cwxY7P3Hs="; 12 }; 13 14 - cargoSha256 = "sha256-feNmtUkpN+RdMrvF2ZY2BcZ0p8qEqw6Hr+p4be3YavA="; 15 16 nativeBuildInputs = [ installShellFiles ]; 17
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "kubie"; 5 + version = "0.19.1"; 6 7 src = fetchFromGitHub { 8 rev = "v${version}"; 9 owner = "sbstp"; 10 repo = "kubie"; 11 + sha256 = "sha256-tZ4qa48I/J62bqc9eoSSpTrJjU+LpweF/kI1TMiFrEY="; 12 }; 13 14 + cargoSha256 = "sha256-WpX1wkMPtUwT6KOi0Bij1tzGlDhti828wBSfzpXuZaY="; 15 16 nativeBuildInputs = [ installShellFiles ]; 17
+3 -3
pkgs/development/tools/millet/default.nix
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "millet"; 5 - version = "0.5.12"; 6 7 src = fetchFromGitHub { 8 owner = "azdavis"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "sha256-COVWn8RTUQSCHkjUgD9I+lZ4u/M7wqAV6tnDW7HIytY="; 12 }; 13 14 - cargoSha256 = "sha256-/7I1RdDo2o2uMUVEMjSCltmU8eW39cCgpzHztePE3Kw="; 15 16 postPatch = '' 17 rm .cargo/config.toml
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "millet"; 5 + version = "0.5.13"; 6 7 src = fetchFromGitHub { 8 owner = "azdavis"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-2fb7jt/wTDLFxRPzJ8i/JmlQvXBG9zjmE7nYBfmMis8="; 12 }; 13 14 + cargoSha256 = "sha256-JCO+IxDQeB3CTMpGD8D+1O7Vj2pBxvvnP9M48vVUEsc="; 15 16 postPatch = '' 17 rm .cargo/config.toml
+2 -2
pkgs/development/tools/misc/linuxkit/default.nix
··· 2 3 buildGoModule rec { 4 pname = "linuxkit"; 5 - version = "1.0.0"; 6 7 src = fetchFromGitHub { 8 owner = "linuxkit"; 9 repo = "linuxkit"; 10 rev = "v${version}"; 11 - sha256 = "sha256-y/jsMr7HmrHjVMn4fyQ3MPHION8hQO2G4udX1AMx8bk="; 12 }; 13 14 vendorSha256 = null;
··· 2 3 buildGoModule rec { 4 pname = "linuxkit"; 5 + version = "1.0.1"; 6 7 src = fetchFromGitHub { 8 owner = "linuxkit"; 9 repo = "linuxkit"; 10 rev = "v${version}"; 11 + sha256 = "sha256-8x9oJaYb/mN2TUaVrGOYi5/6TETD78jif0SwCSc0kyo="; 12 }; 13 14 vendorSha256 = null;
+2 -4
pkgs/os-specific/solo5/default.nix
··· 2 , pkg-config, qemu, syslinux, util-linux }: 3 4 let 5 - version = "0.7.3"; 6 # list of all theoretically available targets 7 targets = [ 8 "genode" ··· 21 22 src = fetchurl { 23 url = "https://github.com/Solo5/solo5/releases/download/v${version}/solo5-v${version}.tar.gz"; 24 - sha256 = "sha256-8LftT22XzmmWxgYez+BAHDX4HOyl5DrwrpuO2+bqqcY="; 25 }; 26 - 27 - patches = [ ./fix_paths.patch ./test_sleep.patch ]; 28 29 hardeningEnable = [ "pie" ]; 30
··· 2 , pkg-config, qemu, syslinux, util-linux }: 3 4 let 5 + version = "0.7.4"; 6 # list of all theoretically available targets 7 targets = [ 8 "genode" ··· 21 22 src = fetchurl { 23 url = "https://github.com/Solo5/solo5/releases/download/v${version}/solo5-v${version}.tar.gz"; 24 + sha256 = "sha256-ovDdaS2cDufe5gTgi+t2C8waWiRC40/2flLLJlz+NvU="; 25 }; 26 27 hardeningEnable = [ "pie" ]; 28
-29
pkgs/os-specific/solo5/fix_paths.patch
··· 1 - diff --git a/toolchain/cc.in b/toolchain/cc.in 2 - index 337562a..0ec9315 100644 3 - --- a/toolchain/cc.in 4 - +++ b/toolchain/cc.in 5 - @@ -30,9 +30,9 @@ 6 - # symbols. 7 - 8 - prog="$(basename $0)" 9 - -I="$(dirname $0)/../include" 10 - +I="$(realpath $0 | xargs dirname)/../include" 11 - [ ! -d "${I}" ] && echo "$prog: Could not determine include path" 1>&2 && exit 1 12 - -L="$(dirname $0)/../lib/@@CONFIG_TARGET_TRIPLE@@" 13 - +L="$(realpath $0 | xargs dirname)/../lib/@@CONFIG_TARGET_TRIPLE@@" 14 - [ ! -d "${L}" ] && echo "$prog: Could not determine library path" 1>&2 && exit 1 15 - # we can't really tell if 'cc' is called with no input, but work around the 16 - # most obvious cases and stop them from "succeeding" and producing an "a.out" 17 - diff --git a/toolchain/ld.in b/toolchain/ld.in 18 - index 01dffa8..13dca2c 100644 19 - --- a/toolchain/ld.in 20 - +++ b/toolchain/ld.in 21 - @@ -28,7 +28,7 @@ 22 - # linking a unikernel. No default for ABI is provided, as it is expected that a 23 - # caller directly using 'ld' knows what they are doing. 24 - 25 - -L="$(dirname $0)/../lib/@@CONFIG_TARGET_TRIPLE@@" 26 - +L="$(realpath $0 | xargs dirname)/../lib/@@CONFIG_TARGET_TRIPLE@@" 27 - [ ! -d "${L}" ] && echo "$0: Could not determine library path" 1>&2 && exit 1 28 - # ld accepts -z solo5-abi=ABI, but does not provide a default ABI 29 - # this is intentional
···
-22
pkgs/os-specific/solo5/test_sleep.patch
··· 1 - diff --git a/tests/test_time/test_time.c b/tests/test_time/test_time.c 2 - index 931500b..cde64ad 100644 3 - --- a/tests/test_time/test_time.c 4 - +++ b/tests/test_time/test_time.c 5 - @@ -110,7 +110,8 @@ int solo5_app_main(const struct solo5_start_info *si __attribute__((unused))) 6 - /* 7 - * Verify that we did not sleep less than requested (see above). 8 - */ 9 - - if (delta < NSEC_PER_SEC) { 10 - + const solo5_time_t slack = 100000000ULL; 11 - + if (delta < NSEC_PER_SEC - slack) { 12 - printf("[%d] ERROR: slept too little (expected at least %llu ns)\n", 13 - iters, (unsigned long long)NSEC_PER_SEC); 14 - failed = true; 15 - @@ -120,7 +121,6 @@ int solo5_app_main(const struct solo5_start_info *si __attribute__((unused))) 16 - * Verify that we did not sleep more than requested, within reason 17 - * (scheduling delays, general inaccuracy of the current timing code). 18 - */ 19 - - const solo5_time_t slack = 100000000ULL; 20 - if (delta > (NSEC_PER_SEC + slack)) { 21 - printf("[%d] ERROR: slept too much (expected at most %llu ns)\n", 22 - iters, (unsigned long long)slack);
···
+5 -2
pkgs/tools/compression/bzip3/default.nix
··· 7 8 stdenv.mkDerivation rec { 9 pname = "bzip3"; 10 - version = "1.1.8"; 11 12 outputs = [ "bin" "dev" "out" ]; 13 ··· 15 owner = "kspalaiologos"; 16 repo = "bzip3"; 17 rev = version; 18 - hash = "sha256-ok5LwarXVe2gwwfIWVSfHHY0lt1IfGtkLPlVo757G6g="; 19 }; 20 21 postPatch = '' 22 echo -n "${version}" > .tarball-version 23 patchShebangs build-aux 24 ''; 25 26 nativeBuildInputs = [
··· 7 8 stdenv.mkDerivation rec { 9 pname = "bzip3"; 10 + version = "1.2.0"; 11 12 outputs = [ "bin" "dev" "out" ]; 13 ··· 15 owner = "kspalaiologos"; 16 repo = "bzip3"; 17 rev = version; 18 + hash = "sha256-Ul4nybQ+Gj3i41AFxk2WzVD+b2dJVyCUBuX4ZGjXwUs="; 19 }; 20 21 postPatch = '' 22 echo -n "${version}" > .tarball-version 23 patchShebangs build-aux 24 + 25 + # build-aux/ax_subst_man_date.m4 calls git if the file exists 26 + rm .gitignore 27 ''; 28 29 nativeBuildInputs = [
+4 -5
pkgs/tools/misc/eva/default.nix
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "eva"; 5 - version = "0.3.0-2"; 6 7 src = fetchCrate { 8 - inherit pname; 9 - version = "0.3.0"; 10 - sha256 = "sha256-oeNv4rKZAl/gQ8b8Yr7fgQeeszJjzMcf9q1KzYpVS1Y="; 11 }; 12 13 - cargoSha256 = "sha256-WBniKff9arVgNFBY2pwB0QgEBvzCL0Dls+6N49V86to="; 14 15 meta = with lib; { 16 description = "A calculator REPL, similar to bc";
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "eva"; 5 + version = "0.3.1"; 6 7 src = fetchCrate { 8 + inherit pname version; 9 + sha256 = "sha256-eX2d9h6zNbheS68j3lyhJW05JZmQN2I2MdcmiZB8Mec="; 10 }; 11 12 + cargoSha256 = "sha256-gnym2sedyzQzubOtj64Yoh+sKT+sa60w/Z72hby7Pms="; 13 14 meta = with lib; { 15 description = "A calculator REPL, similar to bc";
+3 -3
pkgs/tools/misc/fluent-bit/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, cmake, flex, bison, systemd, openssl, libyaml }: 2 3 stdenv.mkDerivation rec { 4 pname = "fluent-bit"; ··· 13 14 nativeBuildInputs = [ cmake flex bison ]; 15 16 - buildInputs = [ openssl libyaml ] 17 ++ lib.optionals stdenv.isLinux [ systemd ]; 18 19 - cmakeFlags = [ "-DFLB_METRICS=ON" "-DFLB_HTTP_SERVER=ON" ]; 20 21 # _FORTIFY_SOURCE requires compiling with optimization (-O) 22 NIX_CFLAGS_COMPILE = lib.optionals stdenv.cc.isGNU [ "-O" ]
··· 1 + { lib, stdenv, fetchFromGitHub, cmake, flex, bison, systemd, postgresql, openssl, libyaml }: 2 3 stdenv.mkDerivation rec { 4 pname = "fluent-bit"; ··· 13 14 nativeBuildInputs = [ cmake flex bison ]; 15 16 + buildInputs = [ openssl libyaml postgresql ] 17 ++ lib.optionals stdenv.isLinux [ systemd ]; 18 19 + cmakeFlags = [ "-DFLB_METRICS=ON" "-DFLB_HTTP_SERVER=ON" "-DFLB_OUT_PGSQL=ON" ]; 20 21 # _FORTIFY_SOURCE requires compiling with optimization (-O) 22 NIX_CFLAGS_COMPILE = lib.optionals stdenv.cc.isGNU [ "-O" ]
+3 -2
pkgs/tools/misc/nncp/default.nix
··· 3 4 stdenv.mkDerivation rec { 5 pname = "nncp"; 6 - version = "8.8.0"; 7 outputs = [ "out" "doc" "info" ]; 8 9 src = fetchurl { 10 url = "http://www.nncpgo.org/download/${pname}-${version}.tar.xz"; 11 - sha256 = "829E2FB2F1EED8AF7ACE4554405E56F0341BE2A01C234A34D01122382AA0794C"; 12 }; 13 14 nativeBuildInputs = [ go redo-apenwarr ]; ··· 54 ''; 55 homepage = "http://www.nncpgo.org/"; 56 downloadPage = "http://www.nncpgo.org/Tarballs.html"; 57 license = licenses.gpl3Only; 58 platforms = platforms.all; 59 maintainers = with maintainers; [ ehmry woffs ];
··· 3 4 stdenv.mkDerivation rec { 5 pname = "nncp"; 6 + version = "8.8.1"; 7 outputs = [ "out" "doc" "info" ]; 8 9 src = fetchurl { 10 url = "http://www.nncpgo.org/download/${pname}-${version}.tar.xz"; 11 + sha256 = "426463C97211AD88DF74DDDF61BDBB830BAE275668B2F23158D43146517469A6"; 12 }; 13 14 nativeBuildInputs = [ go redo-apenwarr ]; ··· 54 ''; 55 homepage = "http://www.nncpgo.org/"; 56 downloadPage = "http://www.nncpgo.org/Tarballs.html"; 57 + changelog = "http://www.nncpgo.org/News.html"; 58 license = licenses.gpl3Only; 59 platforms = platforms.all; 60 maintainers = with maintainers; [ ehmry woffs ];
+2 -2
pkgs/tools/networking/ghz/default.nix
··· 2 3 buildGoModule rec { 4 pname = "ghz"; 5 - version = "0.110.0"; 6 7 src = fetchFromGitHub { 8 owner = "bojand"; 9 repo = "ghz"; 10 rev = "v${version}"; 11 - sha256 = "sha256-lAQGog45COrS2a5ZmFZEDERdZt24DnVSkPz49txqFmo="; 12 }; 13 14 vendorSha256 = "sha256-VjrSUP0SwE5iOTevqIGlnSjH+TV4Ajx/PKuco9etkSc=";
··· 2 3 buildGoModule rec { 4 pname = "ghz"; 5 + version = "0.111.0"; 6 7 src = fetchFromGitHub { 8 owner = "bojand"; 9 repo = "ghz"; 10 rev = "v${version}"; 11 + sha256 = "sha256-FXehWUdFHsWYF/WXrJtmoDIb0Smh3D4aSJS8aOpvoxg="; 12 }; 13 14 vendorSha256 = "sha256-VjrSUP0SwE5iOTevqIGlnSjH+TV4Ajx/PKuco9etkSc=";
+7 -5
pkgs/tools/security/fwbuilder/default.nix
··· 20 hash = "sha256-j5HjGcIqq93Ca9OBqEgSotoSXyw+q6Fqxa3hKk1ctwQ="; 21 }; 22 23 nativeBuildInputs = [ 24 cmake 25 ninja ··· 37 wayland 38 wayland-protocols 39 qtwayland 40 - ]; 41 - 42 - NIX_CFLAGS_COMPILE = [ 43 - "-Wno-error=misleading-indentation" 44 - "-Wno-error=deprecated-declarations" 45 ]; 46 47 meta = with lib; {
··· 20 hash = "sha256-j5HjGcIqq93Ca9OBqEgSotoSXyw+q6Fqxa3hKk1ctwQ="; 21 }; 22 23 + postPatch = '' 24 + # Avoid blanket -Werror as it triggers on any minor compiler 25 + # warnings like deprecated functions or invalid indentat8ion. 26 + # Leave fixing these problems to upstream. 27 + substituteInPlace CMakeLists.txt --replace ';-Werror;' ';' 28 + ''; 29 + 30 nativeBuildInputs = [ 31 cmake 32 ninja ··· 30 wayland 31 wayland-protocols 32 qtwayland 33 ]; 34 35 meta = with lib; {
+8 -8
pkgs/tools/security/ghidra/build.nix
··· 6 , gradle 7 , perl 8 , makeWrapper 9 - , openjdk11 10 , unzip 11 , makeDesktopItem 12 , autoPatchelfHook ··· 19 let 20 pkg_path = "$out/lib/ghidra"; 21 pname = "ghidra"; 22 - version = "10.1.2"; 23 24 src = fetchFromGitHub { 25 owner = "NationalSecurityAgency"; 26 repo = "Ghidra"; 27 rev = "Ghidra_${version}_build"; 28 - sha256 = "sha256-gnSIXje0hUpAculNXAyiS7Twc5XWitMgYp7svyZQxzE="; 29 }; 30 31 desktopItem = makeDesktopItem { ··· 90 export GRADLE_USER_HOME="$HOME/.gradle" 91 92 # First, fetch the static dependencies. 93 - gradle --no-daemon --info -Dorg.gradle.java.home=${openjdk11} -I gradle/support/fetchDependencies.gradle init 94 95 # Then, fetch the maven dependencies. 96 - gradle --no-daemon --info -Dorg.gradle.java.home=${openjdk11} resolveDependencies 97 ''; 98 # perl code mavenizes pathes (com.squareup.okio/okio/1.13.0/a9283170b7305c8d92d25aff02a6ab7e45d06cbe/okio-1.13.0.jar -> com/squareup/okio/okio/1.13.0/okio-1.13.0.jar) 99 installPhase = '' ··· 104 ''; 105 outputHashAlgo = "sha256"; 106 outputHashMode = "recursive"; 107 - outputHash = "sha256-UHV7Z2HaVTOCY5U0zjUtkchJicrXMBfYBHvL8AA7NTg="; 108 }; 109 110 in stdenv.mkDerivation rec { ··· 128 129 sed -i "s#mavenLocal()#mavenLocal(); maven { url '${deps}/maven' }#g" build.gradle 130 131 - gradle --offline --no-daemon --info -Dorg.gradle.java.home=${openjdk11} buildGhidra 132 ''; 133 134 installPhase = '' ··· 156 mkdir -p "$out/bin" 157 ln -s "${pkg_path}/ghidraRun" "$out/bin/ghidra" 158 wrapProgram "${pkg_path}/support/launch.sh" \ 159 - --prefix PATH : ${lib.makeBinPath [ openjdk11 ]} 160 ''; 161 162 meta = with lib; {
··· 6 , gradle 7 , perl 8 , makeWrapper 9 + , openjdk17 10 , unzip 11 , makeDesktopItem 12 , autoPatchelfHook ··· 19 let 20 pkg_path = "$out/lib/ghidra"; 21 pname = "ghidra"; 22 + version = "10.2"; 23 24 src = fetchFromGitHub { 25 owner = "NationalSecurityAgency"; 26 repo = "Ghidra"; 27 rev = "Ghidra_${version}_build"; 28 + sha256 = "sha256-b6xUSAZgyvpJFiG3/kl2s1vpq9n1etnoa7AJLF3NdZY="; 29 }; 30 31 desktopItem = makeDesktopItem { ··· 90 export GRADLE_USER_HOME="$HOME/.gradle" 91 92 # First, fetch the static dependencies. 93 + gradle --no-daemon --info -Dorg.gradle.java.home=${openjdk17} -I gradle/support/fetchDependencies.gradle init 94 95 # Then, fetch the maven dependencies. 96 + gradle --no-daemon --info -Dorg.gradle.java.home=${openjdk17} resolveDependencies 97 ''; 98 # perl code mavenizes pathes (com.squareup.okio/okio/1.13.0/a9283170b7305c8d92d25aff02a6ab7e45d06cbe/okio-1.13.0.jar -> com/squareup/okio/okio/1.13.0/okio-1.13.0.jar) 99 installPhase = '' ··· 104 ''; 105 outputHashAlgo = "sha256"; 106 outputHashMode = "recursive"; 107 + outputHash = "sha256-Z4RS3IzDP8V3SrrwOuX/hTlX7fs3woIhR8GPK/tFAzs="; 108 }; 109 110 in stdenv.mkDerivation rec { ··· 128 129 sed -i "s#mavenLocal()#mavenLocal(); maven { url '${deps}/maven' }#g" build.gradle 130 131 + gradle --offline --no-daemon --info -Dorg.gradle.java.home=${openjdk17} buildGhidra 132 ''; 133 134 installPhase = '' ··· 156 mkdir -p "$out/bin" 157 ln -s "${pkg_path}/ghidraRun" "$out/bin/ghidra" 158 wrapProgram "${pkg_path}/support/launch.sh" \ 159 + --prefix PATH : ${lib.makeBinPath [ openjdk17 ]} 160 ''; 161 162 meta = with lib; {
+2 -1
pkgs/tools/security/trueseeing/default.nix
··· 31 32 postPatch = '' 33 substituteInPlace pyproject.toml \ 34 - --replace "attrs~=21.4" "attrs>=21.4" 35 ''; 36 37 # Project has no tests
··· 31 32 postPatch = '' 33 substituteInPlace pyproject.toml \ 34 + --replace "attrs~=21.4" "attrs>=21.4" \ 35 + --replace "docker~=5.0.3" "docker" 36 ''; 37 38 # Project has no tests
+2 -3
pkgs/tools/system/btop/default.nix
··· 8 9 stdenv.mkDerivation rec { 10 pname = "btop"; 11 - version = "1.2.12"; 12 - hash = "sha256-ieNwFCDJF0U1wTfAeWM22CS3RE1SEp12ODHsRVYFoKU="; 13 14 src = fetchFromGitHub { 15 owner = "aristocratos"; 16 repo = pname; 17 rev = "v${version}"; 18 - sha256 = hash; 19 }; 20 21 ADDFLAGS = with darwin.apple_sdk.frameworks;
··· 8 9 stdenv.mkDerivation rec { 10 pname = "btop"; 11 + version = "1.2.13"; 12 13 src = fetchFromGitHub { 14 owner = "aristocratos"; 15 repo = pname; 16 rev = "v${version}"; 17 + hash = "sha256-F/muCjhcnM+VqAn6FlD4lv23OLITrmtnHkFc5zv97yk="; 18 }; 19 20 ADDFLAGS = with darwin.apple_sdk.frameworks;
+2 -2
pkgs/tools/system/fio/default.nix
··· 4 5 stdenv.mkDerivation rec { 6 pname = "fio"; 7 - version = "3.32"; 8 9 src = fetchFromGitHub { 10 owner = "axboe"; 11 repo = "fio"; 12 rev = "fio-${version}"; 13 - sha256 = "sha256-z9p9WDVjKQAQIP1v5RxnDXjwVl4SVZOvdxlSt5NZN1k="; 14 }; 15 16 buildInputs = [ python3 zlib ]
··· 4 5 stdenv.mkDerivation rec { 6 pname = "fio"; 7 + version = "3.33"; 8 9 src = fetchFromGitHub { 10 owner = "axboe"; 11 repo = "fio"; 12 rev = "fio-${version}"; 13 + sha256 = "sha256-d4Fx2QdO+frt+gcBzegJ9CW5NJQRLNkML/iD3te/1d0="; 14 }; 15 16 buildInputs = [ python3 zlib ]
+3
pkgs/top-level/aliases.nix
··· 1563 wormhole-rs = magic-wormhole-rs; # Added 2022-05-30. preserve, reason: Arch package name, main binary name 1564 wmii_hg = wmii; 1565 ws = throw "ws has been dropped due to the lack of maintenance from upstream since 2018"; # Added 2022-06-03 1566 wxGTK31-gtk2 = throw "'wxGTK31-gtk2' has been removed from nixpkgs as it depends on deprecated GTK2"; # Added 2022-10-27 1567 wxGTK31-gtk3 = throw "'wxGTK31-gtk3' has been renamed to/replaced by 'wxGTK31'"; # Added 2022-10-27 1568 wxmupen64plus = throw "wxmupen64plus was removed because the upstream disappeared"; # Added 2022-01-31
··· 1563 wormhole-rs = magic-wormhole-rs; # Added 2022-05-30. preserve, reason: Arch package name, main binary name 1564 wmii_hg = wmii; 1565 ws = throw "ws has been dropped due to the lack of maintenance from upstream since 2018"; # Added 2022-06-03 1566 + wxGTK = throw "wxGTK28 has been removed from nixpkgs as it has reached end of life"; # Added 2022-11-04 1567 + wxGTK28 = throw "wxGTK28 has been removed from nixpkgs as it has reached end of life"; # Added 2022-11-04 1568 + wxGTK29 = throw "wxGTK29 has been removed from nixpkgs as it has reached end of life"; # Added 2022-11-04 1569 wxGTK31-gtk2 = throw "'wxGTK31-gtk2' has been removed from nixpkgs as it depends on deprecated GTK2"; # Added 2022-10-27 1570 wxGTK31-gtk3 = throw "'wxGTK31-gtk3' has been renamed to/replaced by 'wxGTK31'"; # Added 2022-10-27 1571 wxmupen64plus = throw "wxmupen64plus was removed because the upstream disappeared"; # Added 2022-01-31
+8 -10
pkgs/top-level/all-packages.nix
··· 21154 21155 liquidfun = callPackage ../development/libraries/liquidfun { }; 21156 21157 live555 = callPackage ../development/libraries/live555 { }; 21158 21159 log4cpp = callPackage ../development/libraries/log4cpp { }; ··· 22916 22917 wxformbuilder = callPackage ../development/tools/wxformbuilder { 22918 inherit (darwin.apple_sdk.frameworks) Cocoa; 22919 - }; 22920 - 22921 - wxGTK = wxGTK28; 22922 - 22923 - wxGTK28 = callPackage ../development/libraries/wxwidgets/wxGTK28.nix { }; 22924 - 22925 - wxGTK29 = callPackage ../development/libraries/wxwidgets/wxGTK29.nix { 22926 - inherit (darwin.stubs) setfile; 22927 - inherit (darwin.apple_sdk.frameworks) AGL Carbon Cocoa Kernel QuickTime; 22928 }; 22929 22930 wxGTK30 = callPackage ../development/libraries/wxwidgets/wxGTK30.nix { ··· 30019 30020 lingot = callPackage ../applications/audio/lingot { }; 30021 30022 littlegptracker = callPackage ../applications/audio/littlegptracker { 30023 inherit (darwin.apple_sdk.frameworks) Foundation; 30024 }; ··· 30611 30612 ninjas2 = callPackage ../applications/audio/ninjas2 {}; 30613 30614 - nncp = callPackage ../tools/misc/nncp { }; 30615 30616 notion = callPackage ../applications/window-managers/notion { }; 30617
··· 21154 21155 liquidfun = callPackage ../development/libraries/liquidfun { }; 21156 21157 + litehtml = callPackage ../development/libraries/litehtml { }; 21158 + 21159 live555 = callPackage ../development/libraries/live555 { }; 21160 21161 log4cpp = callPackage ../development/libraries/log4cpp { }; ··· 22914 22915 wxformbuilder = callPackage ../development/tools/wxformbuilder { 22916 inherit (darwin.apple_sdk.frameworks) Cocoa; 22917 }; 22918 22919 wxGTK30 = callPackage ../development/libraries/wxwidgets/wxGTK30.nix { ··· 30026 30027 lingot = callPackage ../applications/audio/lingot { }; 30028 30029 + litebrowser = callPackage ../applications/networking/browsers/litebrowser { }; 30030 + 30031 littlegptracker = callPackage ../applications/audio/littlegptracker { 30032 inherit (darwin.apple_sdk.frameworks) Foundation; 30033 }; ··· 30616 30617 ninjas2 = callPackage ../applications/audio/ninjas2 {}; 30618 30619 + nncp = ( 30620 + if stdenv.isDarwin 30621 + then darwin.apple_sdk_11_0.callPackage 30622 + else callPackage) ../tools/misc/nncp { }; 30623 30624 notion = callPackage ../applications/window-managers/notion { }; 30625
+4
pkgs/top-level/python-packages.nix
··· 2175 2176 datasette = callPackage ../development/python-modules/datasette { }; 2177 2178 datasette-template-sql = callPackage ../development/python-modules/datasette-template-sql { }; 2179 2180 datashader = callPackage ../development/python-modules/datashader { }; ··· 10725 striprtf = callPackage ../development/python-modules/striprtf { }; 10726 10727 structlog = callPackage ../development/python-modules/structlog { }; 10728 10729 stumpy = callPackage ../development/python-modules/stumpy { }; 10730
··· 2175 2176 datasette = callPackage ../development/python-modules/datasette { }; 2177 2178 + datasette-publish-fly = callPackage ../development/python-modules/datasette-publish-fly { }; 2179 + 2180 datasette-template-sql = callPackage ../development/python-modules/datasette-template-sql { }; 2181 2182 datashader = callPackage ../development/python-modules/datashader { }; ··· 10723 striprtf = callPackage ../development/python-modules/striprtf { }; 10724 10725 structlog = callPackage ../development/python-modules/structlog { }; 10726 + 10727 + stubserver = callPackage ../development/python-modules/stubserver { }; 10728 10729 stumpy = callPackage ../development/python-modules/stumpy { }; 10730