Merge staging-next into staging

authored by

github-actions[bot] and committed by
GitHub
d86d8a1a ae33e7cf

+1111 -333
+6
lib/licenses.nix
··· 78 78 url = "https://aomedia.org/license/patent-license/"; 79 79 }; 80 80 81 + apsl10 = { 82 + spdxId = "APSL-1.0"; 83 + fullName = "Apple Public Source License 1.0"; 84 + url = "https://web.archive.org/web/20040701000000*/http://www.opensource.apple.com/apsl/1.0.txt"; 85 + }; 86 + 81 87 apsl20 = { 82 88 spdxId = "APSL-2.0"; 83 89 fullName = "Apple Public Source License 2.0";
+15
maintainers/maintainer-list.nix
··· 9078 9078 fingerprint = "E90C BA34 55B3 6236 740C 038F 0D94 8CE1 9CF4 9C5F"; 9079 9079 }]; 9080 9080 }; 9081 + mktip = { 9082 + email = "mo.issa.ok+nix@gmail.com"; 9083 + github = "mktip"; 9084 + githubId = 45905717; 9085 + name = "Mohammad Issa"; 9086 + keys = [{ 9087 + fingerprint = "64BE BF11 96C3 DD7A 443E 8314 1DC0 82FA DE5B A863"; 9088 + }]; 9089 + }; 9081 9090 mlieberman85 = { 9082 9091 email = "mlieberman85@gmail.com"; 9083 9092 github = "mlieberman85"; ··· 14473 14482 keys = [{ 14474 14483 fingerprint = "2145 955E 3F5E 0C95 3458 41B5 11F7 BAEA 8567 43FF"; 14475 14484 }]; 14485 + }; 14486 + wentam = { 14487 + name = "Matt Egeler"; 14488 + email = "wentam42@gmail.com"; 14489 + github = "wentam"; 14490 + githubId = 901583; 14476 14491 }; 14477 14492 wentasah = { 14478 14493 name = "Michal Sojka";
+10 -10
nixos/doc/manual/from_md/release-notes/rl-2205.section.xml
··· 1501 1501 </listitem> 1502 1502 <listitem> 1503 1503 <para> 1504 - MultiMC has been replaced with the fork PolyMC due to upstream 1505 - developers being hostile to 3rd party package maintainers. 1506 - PolyMC removes all MultiMC branding and is aimed at providing 1507 - proper 3rd party packages like the one contained in Nixpkgs. 1508 - This change affects the data folder where game instances and 1509 - other save and configuration files are stored. Users with 1510 - existing installations should rename 1504 + MultiMC has been replaced with the fork PrismLauncher due to 1505 + upstream developers being hostile to 3rd party package 1506 + maintainers. PrismLauncher removes all MultiMC branding and is 1507 + aimed at providing proper 3rd party packages like the one 1508 + contained in Nixpkgs. This change affects the data folder 1509 + where game instances and other save and configuration files 1510 + are stored. Users with existing installations should rename 1511 1511 <literal>~/.local/share/multimc</literal> to 1512 - <literal>~/.local/share/polymc</literal>. The main config 1513 - file’s path has also moved from 1512 + <literal>~/.local/share/PrismLauncher</literal>. The main 1513 + config file’s path has also moved from 1514 1514 <literal>~/.local/share/multimc/multimc.cfg</literal> to 1515 - <literal>~/.local/share/polymc/polymc.cfg</literal>. 1515 + <literal>~/.local/share/PrismLauncher/prismlauncher.cfg</literal>. 1516 1516 </para> 1517 1517 </listitem> 1518 1518 <listitem>
+18
nixos/doc/manual/from_md/release-notes/rl-2211.section.xml
··· 40 40 </listitem> 41 41 <listitem> 42 42 <para> 43 + The <literal>polymc</literal> package has been removed due to 44 + a rogue maintainer. It has been replaced by 45 + <literal>prismlauncher</literal>, a fork by the rest of the 46 + maintainers. For more details, see 47 + <link xlink:href="https://github.com/NixOS/nixpkgs/pull/196624">the 48 + pull request that made this change</link> and 49 + <link xlink:href="https://github.com/NixOS/nixpkgs/issues/196460">this 50 + issue detailing the vulnerability</link>. Users with existing 51 + installations should rename 52 + <literal>~/.local/share/polymc</literal> to 53 + <literal>~/.local/share/PrismLauncher</literal>. The main 54 + config file’s path has also moved from 55 + <literal>~/.local/share/polymc/polymc.cfg</literal> to 56 + <literal>~/.local/share/PrismLauncher/prismlauncher.cfg</literal>. 57 + </para> 58 + </listitem> 59 + <listitem> 60 + <para> 43 61 The <literal>nixpkgs.hostPlatform</literal> and 44 62 <literal>nixpkgs.buildPlatform</literal> options have been 45 63 added. These cover and override the
+9 -1
nixos/doc/manual/release-notes/rl-2205.section.md
··· 581 581 582 582 - The `miller` package has been upgraded from 5.10.3 to [6.2.0](https://github.com/johnkerl/miller/releases/tag/v6.2.0). See [What's new in Miller 6](https://miller.readthedocs.io/en/latest/new-in-miller-6). 583 583 584 - - MultiMC has been replaced with the fork PolyMC due to upstream developers being hostile to 3rd party package maintainers. PolyMC removes all MultiMC branding and is aimed at providing proper 3rd party packages like the one contained in Nixpkgs. This change affects the data folder where game instances and other save and configuration files are stored. Users with existing installations should rename `~/.local/share/multimc` to `~/.local/share/polymc`. The main config file's path has also moved from `~/.local/share/multimc/multimc.cfg` to `~/.local/share/polymc/polymc.cfg`. 584 + - MultiMC has been replaced with the fork PrismLauncher due to upstream 585 + developers being hostile to 3rd party package maintainers. PrismLauncher 586 + removes all MultiMC branding and is aimed at providing proper 3rd party 587 + packages like the one contained in Nixpkgs. This change affects the data 588 + folder where game instances and other save and configuration files are stored. 589 + Users with existing installations should rename `~/.local/share/multimc` to 590 + `~/.local/share/PrismLauncher`. The main config file's path has also moved 591 + from `~/.local/share/multimc/multimc.cfg` to 592 + `~/.local/share/PrismLauncher/prismlauncher.cfg`. 585 593 586 594 - `systemd-nspawn@.service` settings have been reverted to the default systemd behaviour. User namespaces are now activated by default. If you want to keep running nspawn containers without user namespaces you need to set `systemd.nspawn.<name>.execConfig.PrivateUsers = false` 587 595
+10
nixos/doc/manual/release-notes/rl-2211.section.md
··· 20 20 built for `stdenv.hostPlatform` (i.e. produced by `stdenv.cc`) by evaluating 21 21 `stdenv.buildPlatform.canExecute stdenv.hostPlatform`. 22 22 23 + - The `polymc` package has been removed due to a rogue maintainer. It has been 24 + replaced by `prismlauncher`, a fork by the rest of the maintainers. For more 25 + details, see [the pull request that made this 26 + change](https://github.com/NixOS/nixpkgs/pull/196624) and [this issue 27 + detailing the vulnerability](https://github.com/NixOS/nixpkgs/issues/196460). 28 + Users with existing installations should rename `~/.local/share/polymc` to 29 + `~/.local/share/PrismLauncher`. The main config file's path has also moved 30 + from `~/.local/share/polymc/polymc.cfg` to 31 + `~/.local/share/PrismLauncher/prismlauncher.cfg`. 32 + 23 33 - The `nixpkgs.hostPlatform` and `nixpkgs.buildPlatform` options have been added. 24 34 These cover and override the `nixpkgs.{system,localSystem,crossSystem}` options. 25 35
+6 -6
nixos/modules/services/web-apps/freshrss.nix
··· 238 238 # do installation or reconfigure 239 239 if test -f ${cfg.dataDir}/config.php; then 240 240 # reconfigure with settings 241 - ${pkgs.php}/bin/php ./cli/reconfigure.php ${settingsFlags} 242 - ${pkgs.php}/bin/php ./cli/update-user.php --user ${cfg.defaultUser} --password "$(cat ${cfg.passwordFile})" 241 + ./cli/reconfigure.php ${settingsFlags} 242 + ./cli/update-user.php --user ${cfg.defaultUser} --password "$(cat ${cfg.passwordFile})" 243 243 else 244 244 # Copy the user data template directory 245 245 cp -r ./data ${cfg.dataDir} 246 246 247 247 # check correct folders in data folder 248 - ${pkgs.php}/bin/php ./cli/prepare.php 248 + ./cli/prepare.php 249 249 # install with settings 250 - ${pkgs.php}/bin/php ./cli/do-install.php ${settingsFlags} 251 - ${pkgs.php}/bin/php ./cli/create-user.php --user ${cfg.defaultUser} --password "$(cat ${cfg.passwordFile})" 250 + ./cli/do-install.php ${settingsFlags} 251 + ./cli/create-user.php --user ${cfg.defaultUser} --password "$(cat ${cfg.passwordFile})" 252 252 fi 253 253 ''; 254 254 }; ··· 267 267 Group = "freshrss"; 268 268 StateDirectory = "freshrss"; 269 269 WorkingDirectory = cfg.package; 270 - ExecStart = "${pkgs.php}/bin/php ./app/actualize_script.php"; 270 + ExecStart = "./app/actualize_script.php"; 271 271 } // systemd-hardening; 272 272 }; 273 273 };
+15 -12
pkgs/applications/graphics/epick/default.nix
··· 2 2 , rustPlatform 3 3 , fetchFromGitHub 4 4 , stdenv 5 - , python3 5 + , pkg-config 6 + , expat 7 + , fontconfig 8 + , freetype 6 9 , libGL 7 10 , xorg 8 - , libxkbcommon 11 + , darwin 9 12 , AppKit 10 - , IOKit 11 13 }: 12 14 13 15 rustPlatform.buildRustPackage rec { 14 16 pname = "epick"; 15 - version = "0.8.2"; 17 + version = "0.9.0"; 16 18 17 19 src = fetchFromGitHub { 18 20 owner = "vv9k"; 19 21 repo = pname; 20 22 rev = version; 21 - sha256 = "sha256-b4if2ggJY+8CsCX8jbnnWXy16k7sfB88CLlYYCrtltk="; 23 + sha256 = "sha256-k0WQu1n1sAHVor58jr060vD5/2rDrt1k5zzJlrK9WrU="; 22 24 }; 23 25 24 - cargoSha256 = "sha256-HyGSmeLJ+2Twkg94p1QqXZDix0mU2jGFfEot6hgUg34="; 26 + cargoSha256 = "sha256-OQZPOiMTpoWabxHa3TJG8L3zq8WxMeFttw8xggSXsMA="; 25 27 26 - nativeBuildInputs = lib.optional stdenv.isLinux python3; 28 + nativeBuildInputs = lib.optionals stdenv.isLinux [ 29 + pkg-config 30 + ]; 27 31 28 32 buildInputs = lib.optionals stdenv.isLinux [ 29 - libGL 33 + expat 34 + fontconfig 35 + freetype 30 36 xorg.libX11 31 37 xorg.libXcursor 32 38 xorg.libXi 33 39 xorg.libXrandr 34 - xorg.libxcb 35 - libxkbcommon 36 40 ] ++ lib.optionals stdenv.isDarwin [ 37 41 AppKit 38 - IOKit 39 42 ]; 40 43 41 44 postFixup = lib.optionalString stdenv.isLinux '' 42 - patchelf --set-rpath ${lib.makeLibraryPath buildInputs} $out/bin/epick 45 + patchelf $out/bin/epick --add-rpath ${lib.makeLibraryPath [ libGL ]} 43 46 ''; 44 47 45 48 meta = with lib; {
+2 -2
pkgs/applications/misc/octoprint/default.nix
··· 74 74 self: super: { 75 75 octoprint = self.buildPythonPackage rec { 76 76 pname = "OctoPrint"; 77 - version = "1.8.4"; 77 + version = "1.8.6"; 78 78 79 79 src = fetchFromGitHub { 80 80 owner = "OctoPrint"; 81 81 repo = "OctoPrint"; 82 82 rev = version; 83 - hash = "sha256-oYP+K7WBkYP7gajXZdbZso17u+GeyrIgEbhNjwRXbAo="; 83 + hash = "sha256-DCUesPy4/g7DYN/9CDRvwAWHcv4dFsF+gsysg5UWThQ="; 84 84 }; 85 85 86 86 propagatedBuildInputs = with super; [
+30
pkgs/applications/networking/circumflex/default.nix
··· 1 + { lib, less, ncurses, buildGoModule, fetchFromGitHub, makeWrapper }: 2 + 3 + buildGoModule rec { 4 + pname = "circumflex"; 5 + version = "2.6"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "bensadeh"; 9 + repo = "circumflex"; 10 + rev = version; 11 + hash = "sha256-pcY2PXiOazKAi8mAAbmftXDae01fcUw/u9JPOHQVclI="; 12 + }; 13 + 14 + vendorHash = "sha256-rF1Hu4Pf9AF2MTx4GAPmzSn0M38uTxPS1bsAkO23SdI="; 15 + 16 + nativeBuildInputs = [ makeWrapper ]; 17 + 18 + postInstall = '' 19 + wrapProgram $out/bin/clx \ 20 + --prefix PATH : ${lib.makeBinPath [ less ncurses ]} 21 + ''; 22 + 23 + meta = with lib; { 24 + description = "A command line tool for browsing Hacker News in your terminal"; 25 + homepage = "https://github.com/bensadeh/circumflex"; 26 + license = licenses.agpl3; 27 + maintainers = with maintainers; [ mktip ]; 28 + mainProgram = "clx"; 29 + }; 30 + }
+71 -49
pkgs/build-support/build-bazel-package/default.nix
··· 13 13 , bazel ? bazelPkg 14 14 , bazelFlags ? [] 15 15 , bazelBuildFlags ? [] 16 + , bazelTestFlags ? [] 16 17 , bazelFetchFlags ? [] 17 18 , bazelTarget 19 + , bazelTestTargets ? [] 18 20 , buildAttrs 19 21 , fetchAttrs 20 22 21 - # Newer versions of Bazel are moving away from built-in rules_cc and instead 22 - # allow fetching it as an external dependency in a WORKSPACE file[1]. If 23 - # removed in the fixed-output fetch phase, building will fail to download it. 24 - # This can be seen e.g. in #73097 25 - # 26 - # This option allows configuring the removal of rules_cc in cases where a 27 - # project depends on it via an external dependency. 28 - # 29 - # [1]: https://github.com/bazelbuild/rules_cc 23 + # Newer versions of Bazel are moving away from built-in rules_cc and instead 24 + # allow fetching it as an external dependency in a WORKSPACE file[1]. If 25 + # removed in the fixed-output fetch phase, building will fail to download it. 26 + # This can be seen e.g. in #73097 27 + # 28 + # This option allows configuring the removal of rules_cc in cases where a 29 + # project depends on it via an external dependency. 30 + # 31 + # [1]: https://github.com/bazelbuild/rules_cc 30 32 , removeRulesCC ? true 31 33 , removeLocalConfigCc ? true 32 34 , removeLocal ? true 33 35 34 - # Use build --nobuild instead of fetch. This allows fetching the dependencies 35 - # required for the build as configured, rather than fetching all the dependencies 36 - # which may not work in some situations (e.g. Java code which ends up relying on 37 - # Debian-specific /usr/share/java paths, but doesn't in the configured build). 36 + # Use build --nobuild instead of fetch. This allows fetching the dependencies 37 + # required for the build as configured, rather than fetching all the dependencies 38 + # which may not work in some situations (e.g. Java code which ends up relying on 39 + # Debian-specific /usr/share/java paths, but doesn't in the configured build). 38 40 , fetchConfigured ? true 39 41 40 - # Don’t add Bazel --copt and --linkopt from NIX_CFLAGS_COMPILE / 41 - # NIX_LDFLAGS. This is necessary when using a custom toolchain which 42 - # Bazel wants all headers / libraries to come from, like when using 43 - # CROSSTOOL. Weirdly, we can still get the flags through the wrapped 44 - # compiler. 42 + # Don’t add Bazel --copt and --linkopt from NIX_CFLAGS_COMPILE / 43 + # NIX_LDFLAGS. This is necessary when using a custom toolchain which 44 + # Bazel wants all headers / libraries to come from, like when using 45 + # CROSSTOOL. Weirdly, we can still get the flags through the wrapped 46 + # compiler. 45 47 , dontAddBazelOpts ? false 46 48 , ... 47 49 }: ··· 50 52 fArgs = removeAttrs args [ "buildAttrs" "fetchAttrs" "removeRulesCC" ]; 51 53 fBuildAttrs = fArgs // buildAttrs; 52 54 fFetchAttrs = fArgs // removeAttrs fetchAttrs [ "sha256" ]; 53 - 54 - in stdenv.mkDerivation (fBuildAttrs // { 55 - inherit name bazelFlags bazelBuildFlags bazelFetchFlags bazelTarget; 55 + bazelCmd = { cmd, additionalFlags, targets }: 56 + lib.optionalString (targets != [ ]) '' 57 + # See footnote called [USER and BAZEL_USE_CPP_ONLY_TOOLCHAIN variables] 58 + BAZEL_USE_CPP_ONLY_TOOLCHAIN=1 \ 59 + USER=homeless-shelter \ 60 + bazel \ 61 + --batch \ 62 + --output_base="$bazelOut" \ 63 + --output_user_root="$bazelUserRoot" \ 64 + ${cmd} \ 65 + --curses=no \ 66 + -j $NIX_BUILD_CORES \ 67 + "''${copts[@]}" \ 68 + "''${host_copts[@]}" \ 69 + "''${linkopts[@]}" \ 70 + "''${host_linkopts[@]}" \ 71 + $bazelFlags \ 72 + ${lib.strings.concatStringsSep " " additionalFlags} \ 73 + ${lib.strings.concatStringsSep " " targets} 74 + ''; 75 + in 76 + stdenv.mkDerivation (fBuildAttrs // { 77 + inherit name bazelFlags bazelBuildFlags bazelTestFlags bazelFetchFlags bazelTarget bazelTestTargets; 56 78 57 79 deps = stdenv.mkDerivation (fFetchAttrs // { 58 80 name = "${name}-deps.tar.gz"; 59 - inherit bazelFlags bazelBuildFlags bazelFetchFlags bazelTarget; 81 + inherit bazelFlags bazelBuildFlags bazelTestFlags bazelFetchFlags bazelTarget bazelTestTargets; 60 82 61 83 impureEnvVars = lib.fetchers.proxyImpureEnvVars ++ fFetchAttrs.impureEnvVars or []; 62 84 ··· 77 99 buildPhase = fFetchAttrs.buildPhase or '' 78 100 runHook preBuild 79 101 80 - # Bazel computes the default value of output_user_root before parsing the 81 - # flag. The computation of the default value involves getting the $USER 82 - # from the environment. I don't have that variable when building with 83 - # sandbox enabled. Code here 84 - # https://github.com/bazelbuild/bazel/blob/9323c57607d37f9c949b60e293b573584906da46/src/main/cpp/startup_options.cc#L123-L124 85 - # 86 - # On macOS Bazel will use the system installed Xcode or CLT toolchain instead of the one in the PATH unless we pass BAZEL_USE_CPP_ONLY_TOOLCHAIN 87 - 102 + # See footnote called [USER and BAZEL_USE_CPP_ONLY_TOOLCHAIN variables]. 88 103 # We disable multithreading for the fetching phase since it can lead to timeouts with many dependencies/threads: 89 104 # https://github.com/bazelbuild/bazel/issues/6502 90 105 BAZEL_USE_CPP_ONLY_TOOLCHAIN=1 \ ··· 97 112 --loading_phase_threads=1 \ 98 113 $bazelFlags \ 99 114 $bazelFetchFlags \ 100 - $bazelTarget 115 + ${bazelTarget} \ 116 + ${lib.strings.concatStringsSep " " bazelTestTargets} 101 117 102 118 runHook postBuild 103 119 ''; ··· 189 205 # the wrappers are expecting will not be set. So instead of relying on the 190 206 # wrappers picking them up, pass them in explicitly via `--copt`, `--linkopt` 191 207 # and related flags. 192 - # 208 + 193 209 copts=() 194 210 host_copts=() 195 211 linkopts=() ··· 209 225 done 210 226 fi 211 227 212 - BAZEL_USE_CPP_ONLY_TOOLCHAIN=1 \ 213 - USER=homeless-shelter \ 214 - bazel \ 215 - --batch \ 216 - --output_base="$bazelOut" \ 217 - --output_user_root="$bazelUserRoot" \ 218 - build \ 219 - --curses=no \ 220 - -j $NIX_BUILD_CORES \ 221 - "''${copts[@]}" \ 222 - "''${host_copts[@]}" \ 223 - "''${linkopts[@]}" \ 224 - "''${host_linkopts[@]}" \ 225 - $bazelFlags \ 226 - $bazelBuildFlags \ 227 - $bazelTarget 228 - 228 + ${ 229 + bazelCmd { 230 + cmd = "test"; 231 + additionalFlags = 232 + ["--test_output=errors"] ++ bazelTestFlags; 233 + targets = bazelTestTargets; 234 + } 235 + } 236 + ${ 237 + bazelCmd { 238 + cmd = "build"; 239 + additionalFlags = bazelBuildFlags; 240 + targets = [bazelTarget]; 241 + } 242 + } 229 243 runHook postBuild 230 244 ''; 231 245 }) 246 + 247 + # [USER and BAZEL_USE_CPP_ONLY_TOOLCHAIN variables]: 248 + # Bazel computes the default value of output_user_root before parsing the 249 + # flag. The computation of the default value involves getting the $USER 250 + # from the environment. Code here : 251 + # https://github.com/bazelbuild/bazel/blob/9323c57607d37f9c949b60e293b573584906da46/src/main/cpp/startup_options.cc#L123-L124 252 + # 253 + # On macOS Bazel will use the system installed Xcode or CLT toolchain instead of the one in the PATH unless we pass BAZEL_USE_CPP_ONLY_TOOLCHAIN.
+6
pkgs/development/compilers/rust/binary.nix
··· 52 52 # https://github.com/rust-lang/rust/issues/34722#issuecomment-232164943 53 53 ''; 54 54 55 + # The strip tool in cctools 973.0.1 and up appears to break rlibs in the 56 + # binaries. The lib.rmeta object inside the ar archive should contain an 57 + # .rmeta section, but it is removed. Luckily, this doesn't appear to be an 58 + # issue for Rust builds produced by Nix. 59 + dontStrip = stdenv.isDarwin; 60 + 55 61 setupHooks = ./setup-hook.sh; 56 62 }; 57 63
+9
pkgs/development/haskell-modules/configuration-darwin.nix
··· 299 299 # https://github.com/haskell-crypto/cryptonite/issues/360 300 300 cryptonite = appendPatch ./patches/cryptonite-remove-argon2.patch super.cryptonite; 301 301 302 + # Build segfaults unless `fixity-th` is disabled. 303 + # https://github.com/tweag/ormolu/issues/927 304 + ormolu_0_5_0_1 = overrideCabal (drv: { 305 + libraryHaskellDepends = drv.libraryHaskellDepends ++ [ self.file-embed ]; 306 + }) (disableCabalFlag "fixity-th" super.ormolu_0_5_0_1); 307 + fourmolu_0_8_2_0 = overrideCabal (drv: { 308 + libraryHaskellDepends = drv.libraryHaskellDepends ++ [ self.file-embed ]; 309 + }) (disableCabalFlag "fixity-th" super.fourmolu_0_8_2_0); 310 + 302 311 } // lib.optionalAttrs pkgs.stdenv.isx86_64 { # x86_64-darwin 303 312 304 313 # tests appear to be failing to link or something:
+3 -1
pkgs/development/libraries/boost/generic.nix
··· 81 81 "-sEXPAT_LIBPATH=${expat.out}/lib" 82 82 83 83 # TODO: make this unconditional 84 - ] ++ optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 84 + ] ++ optionals (stdenv.hostPlatform != stdenv.buildPlatform || 85 + # required on mips; see 61d9f201baeef4c4bb91ad8a8f5f89b747e0dfe4 86 + (stdenv.hostPlatform.isMips && versionAtLeast version "1.79")) [ 85 87 "address-model=${toString stdenv.hostPlatform.parsed.cpu.bits}" 86 88 "architecture=${if stdenv.hostPlatform.isMips64 87 89 then if versionOlder version "1.78" then "mips1" else "mips"
+14 -25
pkgs/development/python-modules/clize/default.nix
··· 1 1 { lib 2 + , attrs 2 3 , buildPythonPackage 4 + , docutils 3 5 , fetchPypi 4 - 5 - # build 6 - , setuptools 7 - 8 - # propagtes 9 - , sigtools 10 - , six 11 - , attrs 12 6 , od 13 - , docutils 14 - 15 - # extras: datetime 7 + , pygments 8 + , pytestCheckHook 9 + , pythonOlder 16 10 , python-dateutil 17 - 18 - # tests 19 - , pygments 11 + , setuptools 12 + , sigtools 20 13 , unittest2 21 - , pytestCheckHook 22 14 }: 23 15 24 16 buildPythonPackage rec { 25 17 pname = "clize"; 26 - version = "4.2.1"; 18 + version = "5.0.0"; 27 19 format = "pyproject"; 28 20 21 + disabled = pythonOlder "3.7"; 22 + 29 23 src = fetchPypi { 30 24 inherit pname version; 31 - sha256 = "3177a028e4169d8865c79af82bdd441b24311d4bd9c0ae8803641882d340a51d"; 25 + hash = "sha256-/cFpEvAN/Movd38xaE53Y+D9EYg/SFyHeqtlVUo1D0I="; 32 26 }; 33 27 34 - postPatch = '' 35 - substituteInPlace setup.py \ 36 - --replace "docutils ~= 0.17.0" "docutils" \ 37 - --replace "attrs>=19.1.0,<22" "attrs>=19.1.0" 38 - ''; 39 - 40 28 nativeBuildInputs = [ 41 29 setuptools 42 30 ]; ··· 46 34 docutils 47 35 od 48 36 sigtools 49 - six 50 37 ]; 51 38 52 39 passthru.optional-dependencies = { ··· 65 52 unittest2 66 53 ]; 67 54 68 - pythonImportsCheck = [ "clize" ]; 55 + pythonImportsCheck = [ 56 + "clize" 57 + ]; 69 58 70 59 meta = with lib; { 71 60 description = "Command-line argument parsing for Python";
+2 -2
pkgs/development/python-modules/fastbencode/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "fastbencode"; 11 - version = "0.0.13"; 11 + version = "0.0.15"; 12 12 format = "setuptools"; 13 13 14 14 disabled = pythonOlder "3.7"; 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 - hash = "sha256-jwAXWJwrybcV6CrDBlsKY/KL3xdTw016pJUZnAXmxsk="; 18 + hash = "sha256-A1XfgjNV9k4iA3HYf0HlA1CvpwzFh52OaN7f6YLgU+I="; 19 19 }; 20 20 21 21 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/gdown/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "gdown"; 15 - version = "4.5.2"; 15 + version = "4.5.3"; 16 16 format = "setuptools"; 17 17 18 18 disabled = pythonOlder "3.7"; 19 19 20 20 src = fetchPypi { 21 21 inherit pname version; 22 - hash = "sha256-YhYzlsBJegYXOnuV/IH0feIXl//EY79GFskHmSZsYcM="; 22 + hash = "sha256-bL991BCFiMc0qliBMdjh1S5k8Ic4cPcfdMusGV8MYO8="; 23 23 }; 24 24 25 25 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/nbclassic/default.nix
··· 5 5 , ipykernel 6 6 , ipython_genutils 7 7 , jinja2 8 - , jupyter_client 8 + , jupyter-client 9 9 , jupyter_core 10 10 , jupyter_server 11 11 , nbconvert ··· 41 41 ipykernel 42 42 ipython_genutils 43 43 jinja2 44 - jupyter_client 44 + jupyter-client 45 45 jupyter_core 46 46 jupyter_server 47 47 nbconvert
+30
pkgs/development/python-modules/nc-dnsapi/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , requests 5 + }: 6 + 7 + buildPythonPackage rec { 8 + pname = "nc-dnsapi"; 9 + version = "0.1.5"; 10 + 11 + src = fetchPypi { 12 + inherit version; 13 + pname = "nc_dnsapi"; 14 + hash = "sha256-1fvzr3e0ZAbSDOovhLz5GHJCS6l+K89fbYHoaWxO9cA="; 15 + }; 16 + 17 + propagatedBuildInputs = [ requests ]; 18 + 19 + pythonImportsCheck = [ "nc_dnsapi" ]; 20 + 21 + # no tests 22 + doCheck = false; 23 + 24 + meta = with lib; { 25 + description = "API wrapper for the netcup DNS api"; 26 + homepage = "https://github.com/nbuchwitz/nc_dnsapi"; 27 + license = licenses.gpl3; 28 + maintainers = with maintainers; [ veehaitch trundle ]; 29 + }; 30 + }
+2 -2
pkgs/development/tools/oh-my-posh/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "oh-my-posh"; 5 - version = "12.3.3"; 5 + version = "12.6.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "jandedobbeleer"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-XhlBBHGndvZQEixYWqS/eBB/l7+l0+V63TeIKkVWreI="; 11 + sha256 = "sha256-09MLV6t062fT3P7G1pgJedzLLLuXoP+I/95WadMYLSw="; 12 12 }; 13 13 14 14 vendorSha256 = "sha256-OrtKFkWXqVoXKmN6BT8YbCNjR1gRTT4gPNwmirn7fjU=";
+18 -5
pkgs/development/tools/verible/default.nix
··· 31 31 ./remove-unused-deps.patch 32 32 ]; 33 33 34 - bazelFlags = [ "--//bazel:use_local_flex_bison" ]; 34 + bazelFlags = [ 35 + "--//bazel:use_local_flex_bison" 36 + "--javabase=@bazel_tools//tools/jdk:remote_jdk11" 37 + "--host_javabase=@bazel_tools//tools/jdk:remote_jdk11" 38 + ]; 35 39 36 40 fetchAttrs = { 37 41 # Fixed output derivation hash after bazel fetch 38 - sha256 = "sha256-XoLdlEeoDJlyWlnXZADHOKu06zKHgHJfgey8UhOt+LM="; 42 + sha256 = "sha256-45PINJ7VtL5Jl/nAQNkiSCt8wUwtytNfgeNMZaz3Y9U="; 39 43 }; 40 44 41 45 nativeBuildInputs = [ ··· 45 49 ]; 46 50 47 51 postPatch = '' 48 - patchShebangs bazel/build-version.py \ 52 + patchShebangs\ 53 + bazel/build-version.py \ 54 + bazel/sh_test_with_runfiles_lib.sh \ 55 + common/lsp/dummy-ls_test.sh \ 56 + common/parser/move_yacc_stack_symbols.sh \ 57 + common/parser/record_syntax_error.sh \ 58 + common/tools/patch_tool_test.sh \ 59 + common/tools/verible-transform-interactive.sh \ 60 + common/tools/verible-transform-interactive-test.sh \ 49 61 common/util/create_version_header.sh \ 50 - common/parser/move_yacc_stack_symbols.sh \ 51 - common/parser/record_syntax_error.sh 62 + kythe-browse.sh \ 63 + verilog/tools 52 64 ''; 53 65 54 66 removeRulesCC = false; 55 67 bazelTarget = ":install-binaries"; 68 + bazelTestTargets = [ "//..." ]; 56 69 bazelBuildFlags = [ 57 70 "-c opt" 58 71 ];
+3 -3
pkgs/development/tools/yq-go/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "yq-go"; 5 - version = "4.28.1"; 5 + version = "4.28.2"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "mikefarah"; 9 9 repo = "yq"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-GWEsS5RTwz0VVLRAvHPJk0BPo50RB0CeyIS6fne9GoU="; 11 + sha256 = "sha256-wLb7M/M/t6CCpjTyhMMDODaQUp1t6gbQaCY+JPBi/4Q="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-4J/Qz5JN8UUdwa3/Io2/o4Y01eFK9zOcNAZkndzI178="; 14 + vendorSha256 = "sha256-5GHkl9bwzf0ZUQXjhDPke4Fm7ffH+GqbTXC1Qd71B7M="; 15 15 16 16 nativeBuildInputs = [ installShellFiles ]; 17 17
+3 -3
pkgs/development/web/flyctl/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "flyctl"; 5 - version = "0.0.414"; 5 + version = "0.0.415"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "superfly"; 9 9 repo = "flyctl"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-jGza1ltDGRD3mfFYy8GN3T3t5blIVqRVN25m0CN0c78="; 11 + sha256 = "sha256-pw8LDp4uuU0J1HFEBdntROcyJUR8mBId5Xwm/5w9F04="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-ZnT9IaL6j2EzKk2RRftB4qELIi4nXKC/2zBOhInFYHA="; 14 + vendorSha256 = "sha256-AlPdKUNscp71GttiLfPJf8rs/72Ff0CELDSSHcfY/4g="; 15 15 16 16 subPackages = [ "." ]; 17 17
+2 -2
pkgs/games/grapejuice/default.nix
··· 18 18 19 19 python3Packages.buildPythonApplication rec { 20 20 pname = "grapejuice"; 21 - version = "5.5.4"; 21 + version = "6.2.2"; 22 22 23 23 src = fetchFromGitLab { 24 24 owner = "BrinkerVII"; 25 25 repo = "grapejuice"; 26 26 rev = "v${version}"; 27 - sha256 = "sha256-y4J0589FgNahRmoPkVtHYtc6/OIfUi9bhz6BZrSeWVI="; 27 + sha256 = "sha256-wwM3q8Z4bYZod7/KcGc/PXlyLQxLRPkF1TdtFcg8mNE="; 28 28 }; 29 29 30 30 nativeBuildInputs = [
-76
pkgs/games/polymc/default.nix
··· 1 - { lib 2 - , stdenv 3 - , fetchFromGitHub 4 - , cmake 5 - , jdk8 6 - , jdk 7 - , zlib 8 - , file 9 - , wrapQtAppsHook 10 - , xorg 11 - , libpulseaudio 12 - , qtbase 13 - , libGL 14 - , quazip 15 - , glfw 16 - , openal 17 - , msaClientID ? "" 18 - , jdks ? [ jdk jdk8 ] 19 - , extra-cmake-modules 20 - }: 21 - 22 - stdenv.mkDerivation rec { 23 - pname = "polymc"; 24 - version = "1.4.2"; 25 - 26 - src = fetchFromGitHub { 27 - owner = "PolyMC"; 28 - repo = "PolyMC"; 29 - rev = version; 30 - sha256 = "sha256-mqLk7ZcSrtvlUziNUCtnH7xQplXBruuiuN2b1+VX1ng="; 31 - fetchSubmodules = true; 32 - }; 33 - 34 - nativeBuildInputs = [ extra-cmake-modules cmake file jdk wrapQtAppsHook ]; 35 - buildInputs = [ qtbase zlib quazip ]; 36 - 37 - cmakeFlags = lib.optionals (msaClientID != "") [ "-DLauncher_MSA_CLIENT_ID=${msaClientID}" ]; 38 - 39 - dontWrapQtApps = true; 40 - 41 - postInstall = let 42 - libpath = with xorg; lib.makeLibraryPath [ 43 - libX11 44 - libXext 45 - libXcursor 46 - libXrandr 47 - libXxf86vm 48 - libpulseaudio 49 - libGL 50 - glfw 51 - openal 52 - stdenv.cc.cc.lib 53 - ]; 54 - in '' 55 - # xorg.xrandr needed for LWJGL [2.9.2, 3) https://github.com/LWJGL/lwjgl/issues/128 56 - wrapQtApp $out/bin/polymc \ 57 - --set LD_LIBRARY_PATH /run/opengl-driver/lib:${libpath} \ 58 - --prefix POLYMC_JAVA_PATHS : ${lib.makeSearchPath "bin/java" jdks} \ 59 - --prefix PATH : ${lib.makeBinPath [ xorg.xrandr ]} 60 - ''; 61 - 62 - meta = with lib; { 63 - homepage = "https://polymc.org/"; 64 - description = "A free, open source launcher for Minecraft"; 65 - longDescription = '' 66 - Allows you to have multiple, separate instances of Minecraft (each with 67 - their own mods, texture packs, saves, etc) and helps you manage them and 68 - their associated options with a simple interface. 69 - ''; 70 - platforms = platforms.linux; 71 - changelog = "https://github.com/PolyMC/PolyMC/releases/tag/${version}"; 72 - license = licenses.gpl3Only; 73 - maintainers = with maintainers; [ cleverca22 starcraft66 ]; 74 - knownVulnerabilities = [ "OVE-20221017-0001" ]; 75 - }; 76 - }
+94
pkgs/games/prismlauncher/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , cmake 5 + , jdk8 6 + , jdk 7 + , zlib 8 + , file 9 + , wrapQtAppsHook 10 + , xorg 11 + , libpulseaudio 12 + , qtbase 13 + , libGL 14 + , quazip 15 + , glfw 16 + , openal 17 + , extra-cmake-modules 18 + , tomlplusplus 19 + , ghc_filesystem 20 + , msaClientID ? "" 21 + , jdks ? [ jdk jdk8 ] 22 + , 23 + }: 24 + let 25 + libnbtplusplus = fetchFromGitHub { 26 + owner = "PrismLauncher"; 27 + repo = "libnbtplusplus"; 28 + rev = "2203af7eeb48c45398139b583615134efd8d407f"; 29 + sha256 = "sha256-TvVOjkUobYJD9itQYueELJX3wmecvEdCbJ0FinW2mL4="; 30 + }; 31 + in 32 + stdenv.mkDerivation rec { 33 + pname = "prismlauncher"; 34 + version = "5.0"; 35 + 36 + src = fetchFromGitHub { 37 + owner = "PrismLauncher"; 38 + repo = "PrismLauncher"; 39 + rev = version; 40 + sha256 = "sha256-oN+DpJ08N/ar5wLAahgpBV9DeHtMTwSrE7uOwT3A+Yo="; 41 + }; 42 + 43 + nativeBuildInputs = [ extra-cmake-modules ghc_filesystem cmake file jdk wrapQtAppsHook ]; 44 + buildInputs = [ qtbase zlib quazip tomlplusplus ]; 45 + 46 + cmakeFlags = lib.optionals (msaClientID != "") [ "-DLauncher_MSA_CLIENT_ID=${msaClientID}" ]; 47 + dontWrapQtApps = true; 48 + 49 + postUnpack = '' 50 + rm -rf source/libraries/libnbtplusplus 51 + mkdir source/libraries/libnbtplusplus 52 + ln -s ${libnbtplusplus}/* source/libraries/libnbtplusplus 53 + chmod -R +r+w source/libraries/libnbtplusplus 54 + chown -R $USER: source/libraries/libnbtplusplus 55 + ''; 56 + 57 + postInstall = 58 + let 59 + libpath = with xorg; 60 + lib.makeLibraryPath [ 61 + libX11 62 + libXext 63 + libXcursor 64 + libXrandr 65 + libXxf86vm 66 + libpulseaudio 67 + libGL 68 + glfw 69 + openal 70 + stdenv.cc.cc.lib 71 + ]; 72 + in 73 + '' 74 + # xorg.xrandr needed for LWJGL [2.9.2, 3) https://github.com/LWJGL/lwjgl/issues/128 75 + wrapQtApp $out/bin/prismlauncher \ 76 + --set LD_LIBRARY_PATH /run/opengl-driver/lib:${libpath} \ 77 + --prefix PRISMLAUNCHER_JAVA_PATHS : ${lib.makeSearchPath "bin/java" jdks} \ 78 + --prefix PATH : ${lib.makeBinPath [xorg.xrandr]} 79 + ''; 80 + 81 + meta = with lib; { 82 + homepage = "https://prismlauncher.org/"; 83 + description = "A free, open source launcher for Minecraft"; 84 + longDescription = '' 85 + Allows you to have multiple, separate instances of Minecraft (each with 86 + their own mods, texture packs, saves, etc) and helps you manage them and 87 + their associated options with a simple interface. 88 + ''; 89 + platforms = platforms.linux; 90 + changelog = "https://github.com/PrismLauncher/PrismLauncher/releases/tag/${version}"; 91 + license = licenses.gpl3Only; 92 + maintainers = with maintainers; [ minion3665 Scrumplex ]; 93 + }; 94 + }
pkgs/servers/apache-directory-server/default.nix pkgs/servers/ldap/apache-directory-server/default.nix
+81 -103
pkgs/servers/ldap/389/default.nix
··· 1 - { stdenv 2 - , autoreconfHook 1 + { lib 2 + , stdenv 3 3 , fetchFromGitHub 4 - , lib 5 - 6 - , bzip2 7 - , cmocka 4 + , autoconf 5 + , automake 6 + , libtool 7 + , pkg-config 8 8 , cracklib 9 - , cyrus_sasl 10 - , db 11 - , doxygen 12 - , icu 9 + , lmdb 10 + , json_c 11 + , linux-pam 13 12 , libevent 14 - , libkrb5 15 - , lm_sensors 16 - , net-snmp 17 13 , nspr 18 14 , nss 19 15 , openldap 20 - , openssl 21 - , pcre 22 - , perl 23 - , perlPackages 24 - , pkg-config 16 + , withOpenldap ? true 17 + , db 18 + , withBdb ? true 19 + , cyrus_sasl 20 + , icu 21 + , net-snmp 22 + , withNetSnmp ? true 23 + , krb5 24 + , pcre2 25 25 , python3 26 - , svrcore 26 + , rustPlatform 27 + , openssl 28 + , systemd 29 + , withSystemd ? stdenv.isLinux 27 30 , zlib 28 - 29 - , enablePamPassthru ? true 30 - , pam 31 - 32 - , enableCockpit ? true 33 31 , rsync 34 - 35 - , enableDna ? true 36 - , enableLdapi ? true 37 - , enableAutobind ? false 38 - , enableAutoDnSuffix ? false 39 - , enableBitwise ? true 40 - , enableAcctPolicy ? true 41 - , enablePosixWinsync ? true 32 + , withCockpit ? true 33 + , withAsan ? false 42 34 }: 43 35 44 36 stdenv.mkDerivation rec { 45 37 pname = "389-ds-base"; 46 - version = "2.0.7"; 38 + version = "2.3.0"; 47 39 48 40 src = fetchFromGitHub { 49 41 owner = "389ds"; 50 42 repo = pname; 51 43 rev = "${pname}-${version}"; 52 - sha256 = "sha256-aM1qo+yHrCFespPWHv2f25ooqQVCIZGaZS43dY6kiC4="; 44 + sha256 = "sha256-GnntF0UaufDrgcM6FFFdwxwVoU9Hu2NXTW1A2lTb6T4="; 53 45 }; 54 46 55 - nativeBuildInputs = [ autoreconfHook pkg-config doxygen ]; 47 + cargoDeps = rustPlatform.fetchCargoTarball { 48 + inherit src; 49 + sourceRoot = "source/src"; 50 + name = "${pname}-${version}"; 51 + hash = "sha256-OJXvNL7STNwvt6EiV2r8zv2ZoUGgNUj7UssAQNLN4KI="; 52 + }; 53 + 54 + nativeBuildInputs = [ 55 + autoconf 56 + automake 57 + libtool 58 + pkg-config 59 + python3 60 + rustPlatform.rust.cargo 61 + rustPlatform.rust.rustc 62 + ] 63 + ++ lib.optional withCockpit rsync; 56 64 57 65 buildInputs = [ 58 - bzip2 59 66 cracklib 60 - cyrus_sasl 61 - db 62 - icu 67 + lmdb 68 + json_c 69 + linux-pam 63 70 libevent 64 - libkrb5 65 - lm_sensors 66 - net-snmp 67 71 nspr 68 72 nss 69 - openldap 73 + cyrus_sasl 74 + icu 75 + krb5 76 + pcre2 70 77 openssl 71 - pcre 72 - perl 73 - python3 74 - svrcore 75 78 zlib 76 - 77 - # tests 78 - cmocka 79 - libevent 80 - 81 - # lib389 82 - (python3.withPackages (ps: with ps; [ 83 - setuptools 84 - python-ldap 85 - six 86 - pyasn1 87 - pyasn1-modules 88 - python-dateutil 89 - argcomplete 90 - libselinux 91 - ])) 92 - 93 - # logconv.pl 94 - perlPackages.DBFile 95 - perlPackages.ArchiveTar 96 79 ] 97 - ++ lib.optional enableCockpit rsync 98 - ++ lib.optional enablePamPassthru pam; 80 + ++ lib.optional withSystemd systemd 81 + ++ lib.optional withOpenldap openldap 82 + ++ lib.optional withBdb db 83 + ++ lib.optional withNetSnmp net-snmp; 99 84 100 85 postPatch = '' 101 - substituteInPlace Makefile.am \ 102 - --replace 's,@perlpath\@,$(perldir),g' 's,@perlpath\@,$(perldir) $(PERLPATH),g' 103 - 104 86 patchShebangs ./buildnum.py ./ldap/servers/slapd/mkDBErrStrs.py 105 87 ''; 106 88 107 89 preConfigure = '' 108 - # Create perl paths for library imports in perl scripts 109 - PERLPATH="" 110 - for P in $(echo $PERL5LIB | sed 's/:/ /g'); do 111 - PERLPATH="$PERLPATH $(echo $P/*/*)" 112 - done 113 - export PERLPATH 90 + ./autogen.sh --prefix="$out" 114 91 ''; 115 92 116 - configureFlags = 117 - let 118 - mkEnable = cond: name: if cond then "--enable-${name}" else "--disable-${name}"; 119 - in 120 - [ 121 - "--enable-cmocka" 122 - "--localstatedir=/var" 123 - "--sysconfdir=/etc" 124 - "--with-db-inc=${db.dev}/include" 125 - "--with-db-lib=${db.out}/lib" 126 - "--with-db=yes" 127 - "--with-netsnmp-inc=${lib.getDev net-snmp}/include" 128 - "--with-netsnmp-lib=${lib.getLib net-snmp}/lib" 129 - "--with-netsnmp=yes" 130 - "--with-openldap" 93 + preBuild = '' 94 + mkdir -p ./vendor 95 + tar -xzf ${cargoDeps} -C ./vendor --strip-components=1 96 + ''; 131 97 132 - "${mkEnable enableCockpit "cockpit"}" 133 - "${mkEnable enablePamPassthru "pam-passthru"}" 134 - "${mkEnable enableDna "dna"}" 135 - "${mkEnable enableLdapi "ldapi"}" 136 - "${mkEnable enableAutobind "autobind"}" 137 - "${mkEnable enableAutoDnSuffix "auto-dn-suffix"}" 138 - "${mkEnable enableBitwise "bitwise"}" 139 - "${mkEnable enableAcctPolicy "acctpolicy"}" 140 - "${mkEnable enablePosixWinsync "posix-winsync"}" 141 - ]; 98 + configureFlags = [ 99 + "--enable-rust-offline" 100 + "--enable-autobind" 101 + ] 102 + ++ lib.optionals withSystemd [ 103 + "--with-systemd" 104 + "--with-systemdsystemunitdir=${placeholder "out"}/etc/systemd/system" 105 + ] ++ lib.optionals withOpenldap [ 106 + "--with-openldap" 107 + ] ++ lib.optionals withBdb [ 108 + "--with-db-inc=${lib.getDev db}/include" 109 + "--with-db-lib=${lib.getLib db}/lib" 110 + ] ++ lib.optionals withNetSnmp [ 111 + "--with-netsnmp-inc=${lib.getDev net-snmp}/include" 112 + "--with-netsnmp-lib=${lib.getLib net-snmp}/lib" 113 + ] ++ lib.optionals (!withCockpit) [ 114 + "--disable-cockpit" 115 + ] ++ lib.optionals withAsan [ 116 + "--enable-asan" 117 + "--enable-debug" 118 + ]; 142 119 143 120 enableParallelBuilding = true; 144 121 ··· 156 133 description = "Enterprise-class Open Source LDAP server for Linux"; 157 134 license = licenses.gpl3Plus; 158 135 platforms = platforms.linux; 136 + maintainers = [ maintainers.ners ]; 159 137 }; 160 138 }
+13 -1
pkgs/servers/web-apps/freshrss/default.nix
··· 1 - { stdenvNoCC, lib, fetchFromGitHub, nixosTests, pkgs }: 1 + { stdenvNoCC 2 + , lib 3 + , fetchFromGitHub 4 + , nixosTests 5 + , php 6 + , pkgs 7 + }: 2 8 3 9 stdenvNoCC.mkDerivation rec { 4 10 pname = "FreshRSS"; ··· 13 19 14 20 passthru.tests = nixosTests.freshrss; 15 21 22 + buildInputs = [ php ]; 23 + 16 24 # There's nothing to build. 17 25 dontBuild = true; 18 26 ··· 20 28 overrideConfig = pkgs.writeText "constants.local.php" '' 21 29 <?php 22 30 define('DATA_PATH', getenv('FRESHRSS_DATA_PATH')); 31 + ''; 32 + 33 + postPatch = '' 34 + patchShebangs cli/*.php app/actualize_script.php 23 35 ''; 24 36 25 37 installPhase = ''
-16
pkgs/servers/x11/xorg/default.nix
··· 936 936 }) {}; 937 937 938 938 # THIS IS A GENERATED FILE. DO NOT EDIT! 939 - libXaw3d = callPackage ({ stdenv, pkg-config, fetchurl, libX11, libXext, libXmu, libXpm, xorgproto, libXt }: stdenv.mkDerivation { 940 - pname = "libXaw3d"; 941 - version = "1.6.3"; 942 - builder = ./builder.sh; 943 - src = fetchurl { 944 - url = "mirror://xorg/individual/lib/libXaw3d-1.6.3.tar.bz2"; 945 - sha256 = "0i653s8g25cc0mimkwid9366bqkbyhdyjhckx7bw77j20hzrkfid"; 946 - }; 947 - hardeningDisable = [ "bindnow" "relro" ]; 948 - strictDeps = true; 949 - nativeBuildInputs = [ pkg-config ]; 950 - buildInputs = [ libX11 libXext libXmu libXpm xorgproto libXt ]; 951 - meta.platforms = lib.platforms.unix; 952 - }) {}; 953 - 954 - # THIS IS A GENERATED FILE. DO NOT EDIT! 955 939 libXcomposite = callPackage ({ stdenv, pkg-config, fetchurl, xorgproto, libX11, libXfixes }: stdenv.mkDerivation { 956 940 pname = "libXcomposite"; 957 941 version = "0.4.5";
-1
pkgs/servers/x11/xorg/tarballs.list
··· 177 177 mirror://xorg/individual/lib/libX11-1.8.1.tar.xz 178 178 mirror://xorg/individual/lib/libXau-1.0.9.tar.bz2 179 179 mirror://xorg/individual/lib/libXaw-1.0.14.tar.bz2 180 - mirror://xorg/individual/lib/libXaw3d-1.6.3.tar.bz2 181 180 mirror://xorg/individual/lib/libxcb-1.14.tar.xz 182 181 mirror://xorg/individual/lib/libXcomposite-0.4.5.tar.bz2 183 182 mirror://xorg/individual/lib/libXcursor-1.2.0.tar.bz2
+2 -1
pkgs/tools/admin/netplan/default.nix
··· 45 45 substituteInPlace Makefile \ 46 46 --replace 'SYSTEMD_GENERATOR_DIR=' 'SYSTEMD_GENERATOR_DIR ?= ' \ 47 47 --replace 'SYSTEMD_UNIT_DIR=' 'SYSTEMD_UNIT_DIR ?= ' \ 48 - --replace 'BASH_COMPLETIONS_DIR=' 'BASH_COMPLETIONS_DIR ?= ' 48 + --replace 'BASH_COMPLETIONS_DIR=' 'BASH_COMPLETIONS_DIR ?= ' \ 49 + --replace 'pkg-config' '$(PKG_CONFIG)' 49 50 50 51 # from upstream https://github.com/canonical/netplan/blob/ee0d5df7b1dfbc3197865f02c724204b955e0e58/rpm/netplan.spec#L81 51 52 sed -e "s/-Werror//g" -i Makefile
+339
pkgs/tools/filesystems/dupe-krill/Cargo.lock
··· 1 + # This file is automatically @generated by Cargo. 2 + # It is not intended for manual editing. 3 + version = 3 4 + 5 + [[package]] 6 + name = "arrayref" 7 + version = "0.3.6" 8 + source = "registry+https://github.com/rust-lang/crates.io-index" 9 + checksum = "a4c527152e37cf757a3f78aae5a06fbeefdb07ccc535c980a3208ee3060dd544" 10 + 11 + [[package]] 12 + name = "arrayvec" 13 + version = "0.7.2" 14 + source = "registry+https://github.com/rust-lang/crates.io-index" 15 + checksum = "8da52d66c7071e2e3fa2a1e5c6d088fec47b593032b254f5e980de8ea54454d6" 16 + 17 + [[package]] 18 + name = "autocfg" 19 + version = "1.1.0" 20 + source = "registry+https://github.com/rust-lang/crates.io-index" 21 + checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" 22 + 23 + [[package]] 24 + name = "bitflags" 25 + version = "1.3.2" 26 + source = "registry+https://github.com/rust-lang/crates.io-index" 27 + checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" 28 + 29 + [[package]] 30 + name = "blake3" 31 + version = "1.3.1" 32 + source = "registry+https://github.com/rust-lang/crates.io-index" 33 + checksum = "a08e53fc5a564bb15bfe6fae56bd71522205f1f91893f9c0116edad6496c183f" 34 + dependencies = [ 35 + "arrayref", 36 + "arrayvec", 37 + "cc", 38 + "cfg-if", 39 + "constant_time_eq", 40 + "digest", 41 + ] 42 + 43 + [[package]] 44 + name = "block-buffer" 45 + version = "0.10.3" 46 + source = "registry+https://github.com/rust-lang/crates.io-index" 47 + checksum = "69cce20737498f97b993470a6e536b8523f0af7892a4f928cceb1ac5e52ebe7e" 48 + dependencies = [ 49 + "generic-array", 50 + ] 51 + 52 + [[package]] 53 + name = "cc" 54 + version = "1.0.73" 55 + source = "registry+https://github.com/rust-lang/crates.io-index" 56 + checksum = "2fff2a6927b3bb87f9595d67196a70493f627687a71d87a0d692242c33f58c11" 57 + 58 + [[package]] 59 + name = "cfg-if" 60 + version = "1.0.0" 61 + source = "registry+https://github.com/rust-lang/crates.io-index" 62 + checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 63 + 64 + [[package]] 65 + name = "constant_time_eq" 66 + version = "0.1.5" 67 + source = "registry+https://github.com/rust-lang/crates.io-index" 68 + checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" 69 + 70 + [[package]] 71 + name = "crypto-common" 72 + version = "0.1.6" 73 + source = "registry+https://github.com/rust-lang/crates.io-index" 74 + checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" 75 + dependencies = [ 76 + "generic-array", 77 + "typenum", 78 + ] 79 + 80 + [[package]] 81 + name = "ctrlc" 82 + version = "3.2.3" 83 + source = "registry+https://github.com/rust-lang/crates.io-index" 84 + checksum = "1d91974fbbe88ec1df0c24a4f00f99583667a7e2e6272b2b92d294d81e462173" 85 + dependencies = [ 86 + "nix", 87 + "winapi", 88 + ] 89 + 90 + [[package]] 91 + name = "digest" 92 + version = "0.10.5" 93 + source = "registry+https://github.com/rust-lang/crates.io-index" 94 + checksum = "adfbc57365a37acbd2ebf2b64d7e69bb766e2fea813521ed536f5d0520dcf86c" 95 + dependencies = [ 96 + "block-buffer", 97 + "crypto-common", 98 + "subtle", 99 + ] 100 + 101 + [[package]] 102 + name = "dupe-krill" 103 + version = "1.4.8" 104 + dependencies = [ 105 + "blake3", 106 + "ctrlc", 107 + "getopts", 108 + "serde", 109 + "serde_derive", 110 + "serde_json", 111 + "smallvec", 112 + "tempdir", 113 + ] 114 + 115 + [[package]] 116 + name = "fuchsia-cprng" 117 + version = "0.1.1" 118 + source = "registry+https://github.com/rust-lang/crates.io-index" 119 + checksum = "a06f77d526c1a601b7c4cdd98f54b5eaabffc14d5f2f0296febdc7f357c6d3ba" 120 + 121 + [[package]] 122 + name = "generic-array" 123 + version = "0.14.6" 124 + source = "registry+https://github.com/rust-lang/crates.io-index" 125 + checksum = "bff49e947297f3312447abdca79f45f4738097cc82b06e72054d2223f601f1b9" 126 + dependencies = [ 127 + "typenum", 128 + "version_check", 129 + ] 130 + 131 + [[package]] 132 + name = "getopts" 133 + version = "0.2.21" 134 + source = "registry+https://github.com/rust-lang/crates.io-index" 135 + checksum = "14dbbfd5c71d70241ecf9e6f13737f7b5ce823821063188d7e46c41d371eebd5" 136 + dependencies = [ 137 + "unicode-width", 138 + ] 139 + 140 + [[package]] 141 + name = "itoa" 142 + version = "1.0.4" 143 + source = "registry+https://github.com/rust-lang/crates.io-index" 144 + checksum = "4217ad341ebadf8d8e724e264f13e593e0648f5b3e94b3896a5df283be015ecc" 145 + 146 + [[package]] 147 + name = "libc" 148 + version = "0.2.135" 149 + source = "registry+https://github.com/rust-lang/crates.io-index" 150 + checksum = "68783febc7782c6c5cb401fbda4de5a9898be1762314da0bb2c10ced61f18b0c" 151 + 152 + [[package]] 153 + name = "nix" 154 + version = "0.25.0" 155 + source = "registry+https://github.com/rust-lang/crates.io-index" 156 + checksum = "e322c04a9e3440c327fca7b6c8a63e6890a32fa2ad689db972425f07e0d22abb" 157 + dependencies = [ 158 + "autocfg", 159 + "bitflags", 160 + "cfg-if", 161 + "libc", 162 + ] 163 + 164 + [[package]] 165 + name = "proc-macro2" 166 + version = "1.0.47" 167 + source = "registry+https://github.com/rust-lang/crates.io-index" 168 + checksum = "5ea3d908b0e36316caf9e9e2c4625cdde190a7e6f440d794667ed17a1855e725" 169 + dependencies = [ 170 + "unicode-ident", 171 + ] 172 + 173 + [[package]] 174 + name = "quote" 175 + version = "1.0.21" 176 + source = "registry+https://github.com/rust-lang/crates.io-index" 177 + checksum = "bbe448f377a7d6961e30f5955f9b8d106c3f5e449d493ee1b125c1d43c2b5179" 178 + dependencies = [ 179 + "proc-macro2", 180 + ] 181 + 182 + [[package]] 183 + name = "rand" 184 + version = "0.4.6" 185 + source = "registry+https://github.com/rust-lang/crates.io-index" 186 + checksum = "552840b97013b1a26992c11eac34bdd778e464601a4c2054b5f0bff7c6761293" 187 + dependencies = [ 188 + "fuchsia-cprng", 189 + "libc", 190 + "rand_core 0.3.1", 191 + "rdrand", 192 + "winapi", 193 + ] 194 + 195 + [[package]] 196 + name = "rand_core" 197 + version = "0.3.1" 198 + source = "registry+https://github.com/rust-lang/crates.io-index" 199 + checksum = "7a6fdeb83b075e8266dcc8762c22776f6877a63111121f5f8c7411e5be7eed4b" 200 + dependencies = [ 201 + "rand_core 0.4.2", 202 + ] 203 + 204 + [[package]] 205 + name = "rand_core" 206 + version = "0.4.2" 207 + source = "registry+https://github.com/rust-lang/crates.io-index" 208 + checksum = "9c33a3c44ca05fa6f1807d8e6743f3824e8509beca625669633be0acbdf509dc" 209 + 210 + [[package]] 211 + name = "rdrand" 212 + version = "0.4.0" 213 + source = "registry+https://github.com/rust-lang/crates.io-index" 214 + checksum = "678054eb77286b51581ba43620cc911abf02758c91f93f479767aed0f90458b2" 215 + dependencies = [ 216 + "rand_core 0.3.1", 217 + ] 218 + 219 + [[package]] 220 + name = "remove_dir_all" 221 + version = "0.5.3" 222 + source = "registry+https://github.com/rust-lang/crates.io-index" 223 + checksum = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7" 224 + dependencies = [ 225 + "winapi", 226 + ] 227 + 228 + [[package]] 229 + name = "ryu" 230 + version = "1.0.11" 231 + source = "registry+https://github.com/rust-lang/crates.io-index" 232 + checksum = "4501abdff3ae82a1c1b477a17252eb69cee9e66eb915c1abaa4f44d873df9f09" 233 + 234 + [[package]] 235 + name = "serde" 236 + version = "1.0.145" 237 + source = "registry+https://github.com/rust-lang/crates.io-index" 238 + checksum = "728eb6351430bccb993660dfffc5a72f91ccc1295abaa8ce19b27ebe4f75568b" 239 + 240 + [[package]] 241 + name = "serde_derive" 242 + version = "1.0.145" 243 + source = "registry+https://github.com/rust-lang/crates.io-index" 244 + checksum = "81fa1584d3d1bcacd84c277a0dfe21f5b0f6accf4a23d04d4c6d61f1af522b4c" 245 + dependencies = [ 246 + "proc-macro2", 247 + "quote", 248 + "syn", 249 + ] 250 + 251 + [[package]] 252 + name = "serde_json" 253 + version = "1.0.86" 254 + source = "registry+https://github.com/rust-lang/crates.io-index" 255 + checksum = "41feea4228a6f1cd09ec7a3593a682276702cd67b5273544757dae23c096f074" 256 + dependencies = [ 257 + "itoa", 258 + "ryu", 259 + "serde", 260 + ] 261 + 262 + [[package]] 263 + name = "smallvec" 264 + version = "1.10.0" 265 + source = "registry+https://github.com/rust-lang/crates.io-index" 266 + checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0" 267 + 268 + [[package]] 269 + name = "subtle" 270 + version = "2.4.1" 271 + source = "registry+https://github.com/rust-lang/crates.io-index" 272 + checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" 273 + 274 + [[package]] 275 + name = "syn" 276 + version = "1.0.102" 277 + source = "registry+https://github.com/rust-lang/crates.io-index" 278 + checksum = "3fcd952facd492f9be3ef0d0b7032a6e442ee9b361d4acc2b1d0c4aaa5f613a1" 279 + dependencies = [ 280 + "proc-macro2", 281 + "quote", 282 + "unicode-ident", 283 + ] 284 + 285 + [[package]] 286 + name = "tempdir" 287 + version = "0.3.7" 288 + source = "registry+https://github.com/rust-lang/crates.io-index" 289 + checksum = "15f2b5fb00ccdf689e0149d1b1b3c03fead81c2b37735d812fa8bddbbf41b6d8" 290 + dependencies = [ 291 + "rand", 292 + "remove_dir_all", 293 + ] 294 + 295 + [[package]] 296 + name = "typenum" 297 + version = "1.15.0" 298 + source = "registry+https://github.com/rust-lang/crates.io-index" 299 + checksum = "dcf81ac59edc17cc8697ff311e8f5ef2d99fcbd9817b34cec66f90b6c3dfd987" 300 + 301 + [[package]] 302 + name = "unicode-ident" 303 + version = "1.0.5" 304 + source = "registry+https://github.com/rust-lang/crates.io-index" 305 + checksum = "6ceab39d59e4c9499d4e5a8ee0e2735b891bb7308ac83dfb4e80cad195c9f6f3" 306 + 307 + [[package]] 308 + name = "unicode-width" 309 + version = "0.1.10" 310 + source = "registry+https://github.com/rust-lang/crates.io-index" 311 + checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b" 312 + 313 + [[package]] 314 + name = "version_check" 315 + version = "0.9.4" 316 + source = "registry+https://github.com/rust-lang/crates.io-index" 317 + checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" 318 + 319 + [[package]] 320 + name = "winapi" 321 + version = "0.3.9" 322 + source = "registry+https://github.com/rust-lang/crates.io-index" 323 + checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" 324 + dependencies = [ 325 + "winapi-i686-pc-windows-gnu", 326 + "winapi-x86_64-pc-windows-gnu", 327 + ] 328 + 329 + [[package]] 330 + name = "winapi-i686-pc-windows-gnu" 331 + version = "0.4.0" 332 + source = "registry+https://github.com/rust-lang/crates.io-index" 333 + checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" 334 + 335 + [[package]] 336 + name = "winapi-x86_64-pc-windows-gnu" 337 + version = "0.4.0" 338 + source = "registry+https://github.com/rust-lang/crates.io-index" 339 + checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
+25
pkgs/tools/filesystems/dupe-krill/default.nix
··· 1 + { lib, fetchFromGitHub, rustPlatform, runCommand }: 2 + 3 + rustPlatform.buildRustPackage rec { 4 + pname = "dupe-krill"; 5 + version = "1.4.8"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "kornelski"; 9 + repo = pname; 10 + rev = "v${version}"; 11 + sha256 = "sha256-2fT9bw5LgJUQ0tm1T/vV5SaDjNH0OGKt7QUQLd7nmOs="; 12 + postFetch = '' 13 + cp ${./Cargo.lock} $out/Cargo.lock 14 + ''; 15 + }; 16 + 17 + cargoSha256 = "sha256-JUcIDUVzSLzblb2EbmSfuCAB+S0fyW6wpGF0b/xR+b0="; 18 + 19 + meta = with lib; { 20 + description = " A fast file deduplicator."; 21 + homepage = "https://github.com/kornelski/dupe-krill"; 22 + license = with licenses; [ mit ]; 23 + maintainers = with maintainers; [ urbas ]; 24 + }; 25 + }
+2 -2
pkgs/tools/misc/vtm/default.nix
··· 6 6 7 7 stdenv.mkDerivation rec { 8 8 pname = "vtm"; 9 - version = "0.9.3"; 9 + version = "0.9.6a"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "netxs-group"; 13 13 repo = "vtm"; 14 14 rev = "v${version}"; 15 - sha256 = "sha256-m22Bj/Zj72OMZgmmX4cIuhb0JO/K9FopvXi9V9cMqDg="; 15 + sha256 = "sha256-rl/QktX8pUbfTpqNCqNrAYM/N+CaAAo8+5RRCmOr7H8="; 16 16 }; 17 17 18 18 nativeBuildInputs = [ cmake ];
+112
pkgs/tools/system/mac-fdisk/default.nix
··· 1 + { stdenv 2 + , lib 3 + , fetchzip 4 + , fetchpatch 5 + , installShellFiles 6 + }: 7 + 8 + stdenv.mkDerivation rec { 9 + pname = "mac-fdisk"; 10 + version = "0.1.16"; 11 + 12 + src = fetchzip { 13 + url = "https://deb.debian.org/debian/pool/main/m/mac-fdisk/mac-fdisk_0.1.orig.tar.gz"; 14 + sha256 = "sha256-pYNyhPvRKdIje0Rpay0OzmrkGcl+/JOhMv7r+2LZk/Q="; 15 + }; 16 + 17 + patches = [ 18 + # Debian's changeset, extracted into a patch 19 + (fetchpatch { 20 + url = "https://git.adelielinux.org/adelie/packages/-/raw/1b708c8a90e3548c4954c6367a9376f76f3746bd/user/mac-fdisk/mac-fdisk-0.1-debian.patch"; 21 + sha256 = "sha256-a9pGF+UsFeZiXgracmT4anqgpmcGcS/W3jGtFzHZtt4="; 22 + }) 23 + # Include a lot more headers and remove a bunch of braindead __linux__ checks 24 + (fetchpatch { 25 + url = "https://git.adelielinux.org/adelie/packages/-/raw/1fa4c88ee21866eeb0feae8f6b0bf609a04711cc/user/mac-fdisk/mac-fdisk-0.1-headers.patch"; 26 + sha256 = "sha256-FIk9K+lP+3e1pgmNfymTdpdSoTpBDv29kmwYgqYwWQw="; 27 + }) 28 + # Add support for more architectures 29 + (fetchpatch { 30 + url = "https://git.adelielinux.org/adelie/packages/-/raw/1b708c8a90e3548c4954c6367a9376f76f3746bd/user/mac-fdisk/mac-fdisk-0.1-more-arches.patch"; 31 + sha256 = "sha256-HNRmzETUmKfZQFrjg6Y/HPwUnLk0vO5DokfU4umdOm0="; 32 + }) 33 + # From p16 (source?), adjusts some types & fixes PPC64 support 34 + (fetchpatch { 35 + url = "https://git.adelielinux.org/adelie/packages/-/raw/1fa4c88ee21866eeb0feae8f6b0bf609a04711cc/user/mac-fdisk/mac-fdisk-0.1_p16-ppc64.patch"; 36 + sha256 = "sha256-GK0nfga59nOXotkbKI+2ejA9TtyZUwDIxuXWFGGbeFg="; 37 + }) 38 + # From p16 (source?), makes some inlines static 39 + (fetchpatch { 40 + url = "https://git.adelielinux.org/adelie/packages/-/raw/1fa4c88ee21866eeb0feae8f6b0bf609a04711cc/user/mac-fdisk/mac-fdisk-0.1_p16-proper-inline.patch"; 41 + sha256 = "sha256-wr2teKpm0FyqNudKYlTD49pTFDis33Fo+0LULNYIJko="; 42 + }) 43 + # Adds x86_64 support 44 + (fetchpatch { 45 + url = "https://git.adelielinux.org/adelie/packages/-/raw/1b708c8a90e3548c4954c6367a9376f76f3746bd/user/mac-fdisk/mac-fdisk-amd64.patch"; 46 + sha256 = "sha256-iO4/sY5sGKQyymMmAOb/TlCc9id2qgEDw7E8pFZpsHI="; 47 + }) 48 + # Fix missing header in fdisk.c on musl 49 + (fetchpatch { 50 + url = "https://git.adelielinux.org/adelie/packages/-/raw/1fa4c88ee21866eeb0feae8f6b0bf609a04711cc/user/mac-fdisk/mac-fdisk-fdisk-header-musl.patch"; 51 + sha256 = "sha256-mKBVjvLKtxKPADeoPqp17YdJ1QWj2enAYhKKSqTnQ44="; 52 + }) 53 + # Support disks >550GB 54 + (fetchpatch { 55 + url = "https://git.adelielinux.org/adelie/packages/-/raw/1fa4c88ee21866eeb0feae8f6b0bf609a04711cc/user/mac-fdisk/mac-fdisk-large-disk-support.patch"; 56 + sha256 = "sha256-IXZZdozqZKyZEz87ZzB8Jof22GgvHf4GaXBqSKn8su8="; 57 + }) 58 + # Enable Large File Support (>2GiB) 59 + (fetchpatch { 60 + url = "https://git.adelielinux.org/adelie/packages/-/raw/1fa4c88ee21866eeb0feae8f6b0bf609a04711cc/user/mac-fdisk/mac-fdisk-largerthan2gb.patch"; 61 + sha256 = "sha256-ATK7QYXV7BOk8iIFeXY8g+ZHLuuhww9pcrqOMDn/oLM="; 62 + }) 63 + # Fix compilation on non-glibc 64 + (fetchpatch { 65 + url = "https://git.adelielinux.org/adelie/packages/-/raw/1fa4c88ee21866eeb0feae8f6b0bf609a04711cc/user/mac-fdisk/mac-fdisk-non-glibc-support.patch"; 66 + sha256 = "sha256-CBZUKf7dPvvpuG5L+SI1FQ4W7/fDgeKXHUMFkJNu/MY="; 67 + }) 68 + # Flush stdout after printing prompt for better UX 69 + (fetchpatch { 70 + url = "https://git.adelielinux.org/adelie/packages/-/raw/656ae6bf9f8a64aee95c4797b20bfe713627f1f4/user/mac-fdisk/flush-stdout.patch"; 71 + sha256 = "sha256-k7+UPiUf/oCQdDhxDcC+FRwkxS89WSsYzFw6fUB/10I="; 72 + }) 73 + ]; 74 + 75 + nativeBuildInputs = [ 76 + installShellFiles 77 + ]; 78 + 79 + enableParallelBuilding = true; 80 + 81 + NIX_CFLAGS_COMPILE = "-D_GNU_SOURCE"; 82 + 83 + hardeningDisable = [ "format" ]; 84 + 85 + installPhase = '' 86 + runHook preInstall 87 + 88 + install -Dm755 pdisk $out/sbin/mac-fdisk 89 + install -Dm755 fdisk $out/sbin/pmac-fdisk 90 + 91 + for manpage in {,p}mac-fdisk.8; do 92 + mv "$manpage".in $manpage 93 + installManPage $manpage 94 + done 95 + 96 + runHook postInstall 97 + ''; 98 + 99 + meta = with lib; { 100 + description = "68K and PowerPC Mac disk partitioning utility, Adélie Linux version"; 101 + # http://ftp.mklinux.apple.com:/pub/Other_Tools/ but that one's looong dead, link goes to the patch compilation we're using 102 + homepage = "https://git.adelielinux.org/adelie/packages/-/tree/master/user/mac-fdisk"; 103 + license = with licenses; [ 104 + hpnd # original license statements seems to match this (in files that are shared with pdisk) 105 + gpl1Plus # fdisk.c 106 + ]; 107 + maintainers = with maintainers; [ OPNA2608 ]; 108 + # the toolchain that's being expected for Mac support (SCSI.h from Universal Headers 2.0, SIOUX.h from Metrowerks CoreWarrior) is ancient, unsure about BSDs 109 + platforms = platforms.linux; 110 + badPlatforms = platforms.aarch64; # missing some platform definitions 111 + }; 112 + }
+88
pkgs/tools/system/pdisk/default.nix
··· 1 + { stdenv 2 + , lib 3 + , fetchzip 4 + , fetchpatch 5 + , installShellFiles 6 + , libbsd 7 + , CoreFoundation 8 + , IOKit 9 + }: 10 + 11 + stdenv.mkDerivation rec { 12 + pname = "pdisk"; 13 + version = "0.9"; 14 + 15 + src = fetchzip { 16 + url = "https://opensource.apple.com/tarballs/pdisk/pdisk-${lib.versions.minor version}.tar.gz"; 17 + sha256 = "sha256-+gBgnk/1juEHE0nXaz7laUaH7sxrX5SzsLGr0PHsdHs="; 18 + }; 19 + 20 + patches = [ 21 + # Fix makefile for Unix 22 + (fetchpatch { 23 + url = "https://aur.archlinux.org/cgit/aur.git/plain/makefile.patch?h=pdisk&id=39dc371712d2f7dbd38f6e8ddc6ba661faa1a7a9"; 24 + sha256 = "sha256-mLFclu8IlDN/gxNTI7Kei6ARketlAhJRu8ForFUzFU0="; 25 + }) 26 + # Fix lseek usage in file_media.c 27 + (fetchpatch { 28 + url = "https://aur.archlinux.org/cgit/aur.git/plain/file_media.c.patch?h=pdisk&id=39dc371712d2f7dbd38f6e8ddc6ba661faa1a7a9"; 29 + sha256 = "sha256-CCq5fApwx6w1GKDrgP+0nUdQy/5z5ON7/fdp4M63nko="; 30 + }) 31 + # Fix open_partition_map call in cvt_pt.c 32 + (fetchpatch { 33 + url = "https://aur.archlinux.org/cgit/aur.git/plain/cvt_pt.c.patch?h=pdisk&id=39dc371712d2f7dbd38f6e8ddc6ba661faa1a7a9"; 34 + sha256 = "sha256-jScPfzt9/fQHkf2MfHLvYsh/Rw2NZZXkzZiiVo8F5Mc="; 35 + }) 36 + # Replace removed sys_nerr and sys_errlist with strerror 37 + (fetchpatch { 38 + url = "https://aur.archlinux.org/cgit/aur.git/plain/linux_strerror.patch?h=pdisk&id=&id=d0c930ea8bcac008bbd0ade1811133a625caea54"; 39 + sha256 = "sha256-HGJIS+vTn6456KtaETutIgTPPBm2C9OHf1anG8yaJPo="; 40 + }) 41 + ]; 42 + 43 + postPatch = '' 44 + substituteInPlace makefile \ 45 + --replace 'cc' '${stdenv.cc.targetPrefix}cc' 46 + '' + lib.optionalString stdenv.hostPlatform.isDarwin '' 47 + substituteInPlace makefile \ 48 + --replace '-lbsd' '-framework CoreFoundation -framework IOKit' 49 + ''; 50 + 51 + nativeBuildInputs = [ 52 + installShellFiles 53 + ]; 54 + 55 + buildInputs = lib.optionals (!stdenv.hostPlatform.isDarwin) [ 56 + libbsd 57 + ] ++ lib.optionals (stdenv.hostPlatform.isDarwin) [ 58 + CoreFoundation 59 + IOKit 60 + ]; 61 + 62 + NIX_CFLAGS_COMPILE = "-D_GNU_SOURCE"; 63 + 64 + enableParallelBuilding = true; 65 + 66 + installPhase = '' 67 + runHook preInstall 68 + 69 + install -Dm755 cvt_pt $out/bin/cvt_pt 70 + install -Dm755 pdisk $out/bin/pdisk 71 + 72 + installManPage pdisk.8 73 + install -Dm644 pdisk.html $out/share/doc/pdisk/pdisk.html 74 + 75 + runHook postInstall 76 + ''; 77 + 78 + meta = with lib; { 79 + description = "A low-level Apple partition table editor for Linux, OSS Apple version"; 80 + homepage = "https://github.com/apple-oss-distributions/pdisk"; 81 + license = with licenses; [ 82 + hpnd # original license statements seems to match this (in files that are shared with mac-fdisk) 83 + apsl10 # new files 84 + ]; 85 + maintainers = with maintainers; [ OPNA2608 ]; 86 + platforms = platforms.unix; 87 + }; 88 + }
+46
pkgs/tools/wayland/proycon-wayout/default.nix
··· 1 + { stdenv 2 + , lib 3 + , fetchFromSourcehut 4 + , meson 5 + , wayland-protocols 6 + , wayland 7 + , cairo 8 + , pango 9 + , scdoc 10 + , ninja 11 + , cmake 12 + , pkg-config 13 + , wayland-scanner 14 + }: 15 + 16 + stdenv.mkDerivation rec { 17 + pname = "proycon-wayout"; 18 + version = "0.1.3"; 19 + 20 + src = fetchFromSourcehut { 21 + owner = "~proycon"; 22 + repo = "wayout"; 23 + rev = version; 24 + sha256 = "sha256-pxHz8y63xX9I425OG0jPvQVx4mAbTYHxVMMkfjZpURo="; 25 + }; 26 + 27 + postPatch = '' 28 + substituteInPlace meson.build --replace "'werror=true'," "" # Build fails with -Werror, remove 29 + ''; 30 + 31 + postFixup = '' 32 + mv $out/bin/wayout $out/bin/proycon-wayout # Avoid conflict with shinyzenith/wayout 33 + ''; 34 + 35 + depsBuildBuild = [ pkg-config ]; 36 + nativeBuildInputs = [ scdoc ninja meson cmake pkg-config wayland-scanner ]; 37 + buildInputs = [ wayland-protocols wayland cairo pango ]; 38 + 39 + meta = with lib; { 40 + description = "Takes text from standard input and outputs it to a desktop-widget on Wayland desktops."; 41 + homepage = "https://git.sr.ht/~proycon/wayout"; 42 + license = licenses.gpl3; 43 + platforms = platforms.linux; 44 + maintainers = with maintainers; [ wentam ]; 45 + }; 46 + }
+3 -2
pkgs/top-level/aliases.nix
··· 934 934 mpich2 = throw "'mpich2' has been renamed to/replaced by 'mpich'"; # Converted to throw 2022-02-22 935 935 mqtt-bench = throw "mqtt-bench has been dropped due to the lack of maintenance from upstream since 2017"; # Added 2022-06-02 936 936 msf = throw "'msf' has been renamed to/replaced by 'metasploit'"; # Converted to throw 2022-02-22 937 - multimc = throw "multimc was removed from nixpkgs; use polymc instead (see https://github.com/NixOS/nixpkgs/pull/154051 for more information)"; # Added 2022-01-08 937 + multimc = throw "multimc was removed from nixpkgs; use prismlauncher instead (see https://github.com/NixOS/nixpkgs/pull/154051 for more information)"; # Added 2022-01-08 938 938 mumble_git = pkgs.mumble; # Added 2019-08-01 939 939 murmur_git = pkgs.murmur; # Added 2019-08-01 940 940 mutt-with-sidebar = mutt; # Added 2022-09-17 ··· 946 946 mesa_drivers = mesa.drivers; 947 947 mesa_noglu = throw "'mesa_noglu' has been renamed to/replaced by 'mesa'"; # Converted to throw 2022-02-22 948 948 949 - mpv-with-scripts = self.wrapMpv self.mpv-unwrapped { }; # Added 2020-05-22 949 + mpv-with-scripts = throw "'mpv-with-scripts' has been renamed to/replaced by 'mpv' or with 'mpv.override { scripts = [ mpvScripts.plugin-name ]; }' if you where using plugins."; # Converted to throw 2022-09-24 950 950 mssys = throw "'mssys' has been renamed to/replaced by 'ms-sys'"; # Converted to throw 2022-02-22 951 951 multipath_tools = throw "'multipath_tools' has been renamed to/replaced by 'multipath-tools'"; # Converted to throw 2022-02-22 952 952 mumsi = throw "mumsi has been removed from nixpkgs, as it's unmaintained and does not build anymore"; # Added 2021-11-18 ··· 1151 1151 pmtools = throw "'pmtools' has been renamed to/replaced by 'acpica-tools'"; # Converted to throw 2022-02-22 1152 1152 pocketsphinx = throw "pocketsphinx has been removed: unmaintained"; # Added 2022-04-24 1153 1153 polarssl = throw "'polarssl' has been renamed to/replaced by 'mbedtls'"; # Converted to throw 2022-02-22 1154 + polymc = throw "PolyMC has been removed from nixpkgs due to a hostile takeover by a rogue maintainer. The rest of the maintainers have made a fork which is packaged as 'prismlauncher'"; # Added 2022-10-18 1154 1155 polysh = throw "polysh has been removed from nixpkgs as the upstream has abandoned the project"; # Added 2022-01-01 1155 1156 pond = throw "pond has been dropped due to the lack of maintanence from upstream since 2016"; # Added 2022-06-02 1156 1157 poppler_qt5 = throw "'poppler_qt5' has been renamed to/replaced by 'libsForQt5.poppler'"; # Converted to throw 2022-02-22
+16 -4
pkgs/top-level/all-packages.nix
··· 324 324 325 325 cfn-nag = callPackage ../development/tools/cfn-nag { }; 326 326 327 + circumflex = callPackage ../applications/networking/circumflex { }; 328 + 327 329 cxx-rs = callPackage ../development/libraries/cxx-rs { }; 328 330 329 331 elfcat = callPackage ../tools/misc/elfcat { }; ··· 1376 1378 ocs-url = libsForQt5.callPackage ../tools/misc/ocs-url { }; 1377 1379 1378 1380 pferd = callPackage ../tools/misc/pferd {}; 1381 + 1382 + proycon-wayout = callPackage ../tools/wayland/proycon-wayout {}; 1379 1383 1380 1384 q = callPackage ../tools/networking/q {}; 1381 1385 ··· 5969 5973 5970 5974 duo-unix = callPackage ../tools/security/duo-unix { }; 5971 5975 5976 + dupe-krill = callPackage ../tools/filesystems/dupe-krill { }; 5977 + 5972 5978 duplicacy = callPackage ../tools/backup/duplicacy { }; 5973 5979 5974 5980 duplicati = callPackage ../tools/backup/duplicati { }; ··· 7538 7544 7539 7545 lucky-cli = callPackage ../development/web/lucky-cli { }; 7540 7546 7547 + mac-fdisk = callPackage ../tools/system/mac-fdisk { }; 7548 + 7541 7549 partclone = callPackage ../tools/backup/partclone { }; 7542 7550 7543 7551 partimage = callPackage ../tools/backup/partimage { }; 7544 7552 7553 + pdisk = callPackage ../tools/system/pdisk { 7554 + inherit (darwin.apple_sdk.frameworks) CoreFoundation IOKit; 7555 + }; 7556 + 7545 7557 pgf_graphics = callPackage ../tools/graphics/pgf { }; 7546 7558 7547 7559 pgformatter = callPackage ../development/tools/pgformatter { }; ··· 23095 23107 23096 23108 alps = callPackage ../servers/alps { }; 23097 23109 23110 + apache-directory-server = callPackage ../servers/ldap/apache-directory-server {}; 23111 + 23098 23112 apacheHttpd_2_4 = callPackage ../servers/http/apache-httpd/2.4.nix { }; 23099 23113 apacheHttpd = apacheHttpd_2_4; 23100 23114 ··· 27000 27014 27001 27015 ao = libfive; 27002 27016 27003 - apache-directory-server = callPackage ../servers/apache-directory-server {}; 27004 - 27005 27017 apache-directory-studio = callPackage ../applications/networking/apache-directory-studio {}; 27006 27018 27007 27019 apkeep = callPackage ../tools/misc/apkeep { ··· 27903 27915 epic5 = callPackage ../applications/networking/irc/epic5 { }; 27904 27916 27905 27917 epick = callPackage ../applications/graphics/epick { 27906 - inherit (darwin.apple_sdk.frameworks) AppKit IOKit; 27918 + inherit (darwin.apple_sdk.frameworks) AppKit; 27907 27919 }; 27908 27920 27909 27921 epr = callPackage ../applications/misc/epr { }; ··· 34234 34246 34235 34247 planetary_annihilation = callPackage ../games/planetaryannihilation { }; 34236 34248 34237 - polymc = libsForQt5.callPackage ../games/polymc { }; 34249 + prismlauncher = libsForQt5.callPackage ../games/prismlauncher { }; 34238 34250 34239 34251 pong3d = callPackage ../games/pong3d { }; 34240 34252
+2
pkgs/top-level/python-packages.nix
··· 6146 6146 6147 6147 nbxmpp = callPackage ../development/python-modules/nbxmpp { }; 6148 6148 6149 + nc-dnsapi = callPackage ../development/python-modules/nc-dnsapi { }; 6150 + 6149 6151 ncclient = callPackage ../development/python-modules/ncclient { }; 6150 6152 6151 6153 nclib = callPackage ../development/python-modules/nclib { };