Merge staging-next into staging

authored by

github-actions[bot] and committed by
GitHub
351a07ba cca1d7bc

+323 -761
+3 -2
nixos/modules/services/mail/exim.nix
··· 116 wantedBy = [ "multi-user.target" ]; 117 restartTriggers = [ config.environment.etc."exim.conf".source ]; 118 serviceConfig = { 119 - ExecStart = "${cfg.package}/bin/exim -bdf -q${cfg.queueRunnerInterval}"; 120 - ExecReload = "${coreutils}/bin/kill -HUP $MAINPID"; 121 }; 122 preStart = '' 123 if ! test -d ${cfg.spoolDir}; then
··· 116 wantedBy = [ "multi-user.target" ]; 117 restartTriggers = [ config.environment.etc."exim.conf".source ]; 118 serviceConfig = { 119 + ExecStart = "+${cfg.package}/bin/exim -bdf -q${cfg.queueRunnerInterval}"; 120 + ExecReload = "+${coreutils}/bin/kill -HUP $MAINPID"; 121 + User = cfg.user; 122 }; 123 preStart = '' 124 if ! test -d ${cfg.spoolDir}; then
+83 -80
nixos/modules/services/networking/tinc.nix
··· 349 350 ###### implementation 351 352 - config = mkIf (cfg.networks != { }) { 353 354 - environment.etc = foldr (a: b: a // b) { } 355 - (flip mapAttrsToList cfg.networks (network: data: 356 - flip mapAttrs' data.hosts (host: text: nameValuePair 357 - ("tinc/${network}/hosts/${host}") 358 - ({ mode = "0644"; user = "tinc.${network}"; inherit text; }) 359 - ) // { 360 - "tinc/${network}/tinc.conf" = { 361 - mode = "0444"; 362 - text = '' 363 - ${toTincConf ({ Interface = "tinc.${network}"; } // data.settings)} 364 - ${data.extraConfig} 365 - ''; 366 }; 367 - } 368 - )); 369 370 - systemd.services = flip mapAttrs' cfg.networks (network: data: nameValuePair 371 - ("tinc.${network}") 372 - ({ 373 - description = "Tinc Daemon - ${network}"; 374 - wantedBy = [ "multi-user.target" ]; 375 - path = [ data.package ]; 376 - restartTriggers = [ config.environment.etc."tinc/${network}/tinc.conf".source ]; 377 - serviceConfig = { 378 - Type = "simple"; 379 - Restart = "always"; 380 - RestartSec = "3"; 381 - ExecReload = mkIf (versionAtLeast (getVersion data.package) "1.1pre") "${data.package}/bin/tinc -n ${network} reload"; 382 - ExecStart = "${data.package}/bin/tincd -D -U tinc.${network} -n ${network} ${optionalString (data.chroot) "-R"} --pidfile /run/tinc.${network}.pid -d ${toString data.debugLevel}"; 383 }; 384 - preStart = '' 385 - mkdir -p /etc/tinc/${network}/hosts 386 - chown tinc.${network} /etc/tinc/${network}/hosts 387 - mkdir -p /etc/tinc/${network}/invitations 388 - chown tinc.${network} /etc/tinc/${network}/invitations 389 390 - # Determine how we should generate our keys 391 - if type tinc >/dev/null 2>&1; then 392 - # Tinc 1.1+ uses the tinc helper application for key generation 393 - ${if data.ed25519PrivateKeyFile != null then " # ed25519 Keyfile managed by nix" else '' 394 - # Prefer ED25519 keys (only in 1.1+) 395 - [ -f "/etc/tinc/${network}/ed25519_key.priv" ] || tinc -n ${network} generate-ed25519-keys 396 - ''} 397 - ${if data.rsaPrivateKeyFile != null then " # RSA Keyfile managed by nix" else '' 398 - [ -f "/etc/tinc/${network}/rsa_key.priv" ] || tinc -n ${network} generate-rsa-keys 4096 399 - ''} 400 - # In case there isn't anything to do 401 - true 402 - else 403 - # Tinc 1.0 uses the tincd application 404 - [ -f "/etc/tinc/${network}/rsa_key.priv" ] || tincd -n ${network} -K 4096 405 - fi 406 - ''; 407 - }) 408 - ); 409 - 410 - environment.systemPackages = let 411 - cli-wrappers = pkgs.stdenv.mkDerivation { 412 - name = "tinc-cli-wrappers"; 413 - nativeBuildInputs = [ pkgs.makeWrapper ]; 414 - buildCommand = '' 415 - mkdir -p $out/bin 416 - ${concatStringsSep "\n" (mapAttrsToList (network: data: 417 - optionalString (versionAtLeast data.package.version "1.1pre") '' 418 - makeWrapper ${data.package}/bin/tinc "$out/bin/tinc.${network}" \ 419 - --add-flags "--pidfile=/run/tinc.${network}.pid" \ 420 - --add-flags "--config=/etc/tinc/${network}" 421 - '') cfg.networks)} 422 - ''; 423 - }; 424 - in [ cli-wrappers ]; 425 - 426 - users.users = flip mapAttrs' cfg.networks (network: _: 427 - nameValuePair ("tinc.${network}") ({ 428 - description = "Tinc daemon user for ${network}"; 429 - isSystemUser = true; 430 - group = "tinc.${network}"; 431 - }) 432 - ); 433 - users.groups = flip mapAttrs' cfg.networks (network: _: 434 - nameValuePair "tinc.${network}" {} 435 - ); 436 - }; 437 438 meta.maintainers = with maintainers; [ minijackson mic92 ]; 439 }
··· 349 350 ###### implementation 351 352 + config = mkIf (cfg.networks != { }) ( 353 + let 354 + etcConfig = foldr (a: b: a // b) { } 355 + (flip mapAttrsToList cfg.networks (network: data: 356 + flip mapAttrs' data.hosts (host: text: nameValuePair 357 + ("tinc/${network}/hosts/${host}") 358 + ({ mode = "0644"; user = "tinc.${network}"; inherit text; }) 359 + ) // { 360 + "tinc/${network}/tinc.conf" = { 361 + mode = "0444"; 362 + text = '' 363 + ${toTincConf ({ Interface = "tinc.${network}"; } // data.settings)} 364 + ${data.extraConfig} 365 + ''; 366 + }; 367 + } 368 + )); 369 + in { 370 + environment.etc = etcConfig; 371 372 + systemd.services = flip mapAttrs' cfg.networks (network: data: nameValuePair 373 + ("tinc.${network}") 374 + (let version = getVersion data.package; in { 375 + description = "Tinc Daemon - ${network}"; 376 + wantedBy = [ "multi-user.target" ]; 377 + path = [ data.package ]; 378 + reloadTriggers = mkIf (versionAtLeast version "1.1pre") [ (builtins.toJSON etcConfig) ]; 379 + restartTriggers = mkIf (versionOlder version "1.1pre") [ (builtins.toJSON etcConfig) ]; 380 + serviceConfig = { 381 + Type = "simple"; 382 + Restart = "always"; 383 + RestartSec = "3"; 384 + ExecReload = mkIf (versionAtLeast version "1.1pre") "${data.package}/bin/tinc -n ${network} reload"; 385 + ExecStart = "${data.package}/bin/tincd -D -U tinc.${network} -n ${network} ${optionalString (data.chroot) "-R"} --pidfile /run/tinc.${network}.pid -d ${toString data.debugLevel}"; 386 }; 387 + preStart = '' 388 + mkdir -p /etc/tinc/${network}/hosts 389 + chown tinc.${network} /etc/tinc/${network}/hosts 390 + mkdir -p /etc/tinc/${network}/invitations 391 + chown tinc.${network} /etc/tinc/${network}/invitations 392 + 393 + # Determine how we should generate our keys 394 + if type tinc >/dev/null 2>&1; then 395 + # Tinc 1.1+ uses the tinc helper application for key generation 396 + ${if data.ed25519PrivateKeyFile != null then " # ed25519 Keyfile managed by nix" else '' 397 + # Prefer ED25519 keys (only in 1.1+) 398 + [ -f "/etc/tinc/${network}/ed25519_key.priv" ] || tinc -n ${network} generate-ed25519-keys 399 + ''} 400 + ${if data.rsaPrivateKeyFile != null then " # RSA Keyfile managed by nix" else '' 401 + [ -f "/etc/tinc/${network}/rsa_key.priv" ] || tinc -n ${network} generate-rsa-keys 4096 402 + ''} 403 + # In case there isn't anything to do 404 + true 405 + else 406 + # Tinc 1.0 uses the tincd application 407 + [ -f "/etc/tinc/${network}/rsa_key.priv" ] || tincd -n ${network} -K 4096 408 + fi 409 + ''; 410 + }) 411 + ); 412 413 + environment.systemPackages = let 414 + cli-wrappers = pkgs.stdenv.mkDerivation { 415 + name = "tinc-cli-wrappers"; 416 + nativeBuildInputs = [ pkgs.makeWrapper ]; 417 + buildCommand = '' 418 + mkdir -p $out/bin 419 + ${concatStringsSep "\n" (mapAttrsToList (network: data: 420 + optionalString (versionAtLeast data.package.version "1.1pre") '' 421 + makeWrapper ${data.package}/bin/tinc "$out/bin/tinc.${network}" \ 422 + --add-flags "--pidfile=/run/tinc.${network}.pid" \ 423 + --add-flags "--config=/etc/tinc/${network}" 424 + '') cfg.networks)} 425 + ''; 426 }; 427 + in [ cli-wrappers ]; 428 429 + users.users = flip mapAttrs' cfg.networks (network: _: 430 + nameValuePair ("tinc.${network}") ({ 431 + description = "Tinc daemon user for ${network}"; 432 + isSystemUser = true; 433 + group = "tinc.${network}"; 434 + }) 435 + ); 436 + users.groups = flip mapAttrs' cfg.networks (network: _: 437 + nameValuePair "tinc.${network}" {} 438 + ); 439 + }); 440 441 meta.maintainers = with maintainers; [ minijackson mic92 ]; 442 }
+15 -11
nixos/modules/services/web-apps/hedgedoc.nix
··· 291 }; 292 defaultNotePath = mkOption { 293 type = types.nullOr types.str; 294 - default = "./public/default.md"; 295 description = lib.mdDoc '' 296 Path to the default Note file. 297 (Non-canonical paths are relative to HedgeDoc's base directory) ··· 299 }; 300 docsPath = mkOption { 301 type = types.nullOr types.str; 302 - default = "./public/docs"; 303 description = lib.mdDoc '' 304 Path to the docs directory. 305 (Non-canonical paths are relative to HedgeDoc's base directory) ··· 307 }; 308 indexPath = mkOption { 309 type = types.nullOr types.str; 310 - default = "./public/views/index.ejs"; 311 description = lib.mdDoc '' 312 Path to the index template file. 313 (Non-canonical paths are relative to HedgeDoc's base directory) ··· 315 }; 316 hackmdPath = mkOption { 317 type = types.nullOr types.str; 318 - default = "./public/views/hackmd.ejs"; 319 description = lib.mdDoc '' 320 Path to the hackmd template file. 321 (Non-canonical paths are relative to HedgeDoc's base directory) ··· 323 }; 324 errorPath = mkOption { 325 type = types.nullOr types.str; 326 - default = null; 327 - defaultText = literalExpression "./public/views/error.ejs"; 328 description = lib.mdDoc '' 329 Path to the error template file. 330 (Non-canonical paths are relative to HedgeDoc's base directory) ··· 332 }; 333 prettyPath = mkOption { 334 type = types.nullOr types.str; 335 - default = null; 336 - defaultText = literalExpression "./public/views/pretty.ejs"; 337 description = lib.mdDoc '' 338 Path to the pretty template file. 339 (Non-canonical paths are relative to HedgeDoc's base directory) ··· 341 }; 342 slidePath = mkOption { 343 type = types.nullOr types.str; 344 - default = null; 345 - defaultText = literalExpression "./public/views/slide.hbs"; 346 description = lib.mdDoc '' 347 Path to the slide template file. 348 (Non-canonical paths are relative to HedgeDoc's base directory) ··· 351 uploadsPath = mkOption { 352 type = types.str; 353 default = "${cfg.workDir}/uploads"; 354 - defaultText = literalExpression "/var/lib/${name}/uploads"; 355 description = lib.mdDoc '' 356 Path under which uploaded files are saved. 357 '';
··· 291 }; 292 defaultNotePath = mkOption { 293 type = types.nullOr types.str; 294 + default = "${cfg.package}/public/default.md"; 295 + defaultText = literalExpression "\"\${cfg.package}/public/default.md\""; 296 description = lib.mdDoc '' 297 Path to the default Note file. 298 (Non-canonical paths are relative to HedgeDoc's base directory) ··· 300 }; 301 docsPath = mkOption { 302 type = types.nullOr types.str; 303 + default = "${cfg.package}/public/docs"; 304 + defaultText = literalExpression "\"\${cfg.package}/public/docs\""; 305 description = lib.mdDoc '' 306 Path to the docs directory. 307 (Non-canonical paths are relative to HedgeDoc's base directory) ··· 309 }; 310 indexPath = mkOption { 311 type = types.nullOr types.str; 312 + default = "${cfg.package}/public/views/index.ejs"; 313 + defaultText = literalExpression "\"\${cfg.package}/public/views/index.ejs\""; 314 description = lib.mdDoc '' 315 Path to the index template file. 316 (Non-canonical paths are relative to HedgeDoc's base directory) ··· 318 }; 319 hackmdPath = mkOption { 320 type = types.nullOr types.str; 321 + default = "${cfg.package}/public/views/hackmd.ejs"; 322 + defaultText = literalExpression "\"\${cfg.package}/public/views/hackmd.ejs\""; 323 description = lib.mdDoc '' 324 Path to the hackmd template file. 325 (Non-canonical paths are relative to HedgeDoc's base directory) ··· 327 }; 328 errorPath = mkOption { 329 type = types.nullOr types.str; 330 + default = "${cfg.package}/public/views/error.ejs"; 331 + defaultText = literalExpression "\"\${cfg.package}/public/views/error.ejs\""; 332 description = lib.mdDoc '' 333 Path to the error template file. 334 (Non-canonical paths are relative to HedgeDoc's base directory) ··· 336 }; 337 prettyPath = mkOption { 338 type = types.nullOr types.str; 339 + default = "${cfg.package}/public/views/pretty.ejs"; 340 + defaultText = literalExpression "\"\${cfg.package}/public/views/pretty.ejs\""; 341 description = lib.mdDoc '' 342 Path to the pretty template file. 343 (Non-canonical paths are relative to HedgeDoc's base directory) ··· 345 }; 346 slidePath = mkOption { 347 type = types.nullOr types.str; 348 + default = "${cfg.package}/public/views/slide.hbs"; 349 + defaultText = literalExpression "\"\${cfg.package}/public/views/slide.hbs\""; 350 description = lib.mdDoc '' 351 Path to the slide template file. 352 (Non-canonical paths are relative to HedgeDoc's base directory) ··· 355 uploadsPath = mkOption { 356 type = types.str; 357 default = "${cfg.workDir}/uploads"; 358 + defaultText = literalExpression "\"\${cfg.workDir}/uploads\""; 359 description = lib.mdDoc '' 360 Path under which uploaded files are saved. 361 '';
+8 -8
nixos/modules/system/boot/binfmt.nix
··· 1 { config, lib, pkgs, ... }: 2 let 3 - inherit (lib) mkOption types optionalString stringAfter; 4 5 cfg = config.boot.binfmt; 6 ··· 281 config = { 282 boot.binfmt.registrations = builtins.listToAttrs (map (system: { 283 name = system; 284 - value = let 285 interpreter = getEmulator system; 286 qemuArch = getQemuArch system; 287 ··· 292 in 293 if preserveArgvZero then "${wrapper}/bin/${wrapperName}" 294 else interpreter; 295 - in { 296 - inherit preserveArgvZero; 297 298 - interpreter = interpreterReg; 299 - wrapInterpreterInShell = !preserveArgvZero; 300 - interpreterSandboxPath = dirOf (dirOf interpreterReg); 301 - } // (magics.${system} or (throw "Cannot create binfmt registration for system ${system}")); 302 }) cfg.emulatedSystems); 303 nix.settings = lib.mkIf (cfg.emulatedSystems != []) { 304 extra-platforms = cfg.emulatedSystems ++ lib.optional pkgs.stdenv.hostPlatform.isx86_64 "i686-linux";
··· 1 { config, lib, pkgs, ... }: 2 let 3 + inherit (lib) mkOption mkDefault types optionalString stringAfter; 4 5 cfg = config.boot.binfmt; 6 ··· 281 config = { 282 boot.binfmt.registrations = builtins.listToAttrs (map (system: { 283 name = system; 284 + value = { config, ... }: let 285 interpreter = getEmulator system; 286 qemuArch = getQemuArch system; 287 ··· 292 in 293 if preserveArgvZero then "${wrapper}/bin/${wrapperName}" 294 else interpreter; 295 + in ({ 296 + preserveArgvZero = mkDefault preserveArgvZero; 297 298 + interpreter = mkDefault interpreterReg; 299 + wrapInterpreterInShell = mkDefault (!config.preserveArgvZero); 300 + interpreterSandboxPath = mkDefault (dirOf (dirOf config.interpreter)); 301 + } // (magics.${system} or (throw "Cannot create binfmt registration for system ${system}"))); 302 }) cfg.emulatedSystems); 303 nix.settings = lib.mkIf (cfg.emulatedSystems != []) { 304 extra-platforms = cfg.emulatedSystems ++ lib.optional pkgs.stdenv.hostPlatform.isx86_64 "i686-linux";
+16 -8
pkgs/applications/emulators/bsnes/bsnes-hd/default.nix
··· 6 , SDL2 7 , gtk3, gtksourceview3 8 , alsa-lib, libao, openal, libpulseaudio 9 - , libicns, Cocoa, OpenAL 10 }: 11 12 stdenv.mkDerivation { 13 pname = "bsnes-hd"; 14 version = "10.6-beta"; ··· 35 ./macos-copy-app-to-prefix.patch 36 ]; 37 38 - nativeBuildInputs = [ pkg-config wrapGAppsHook ] 39 - ++ lib.optionals stdenv.isDarwin [ libicns ]; 40 41 buildInputs = [ SDL2 libao ] 42 ++ lib.optionals stdenv.isLinux [ libX11 libXv udev gtk3 gtksourceview3 alsa-lib openal libpulseaudio ] ··· 44 45 enableParallelBuilding = true; 46 47 - makeFlags = [ "-C" "bsnes" "hiro=gtk3" "prefix=$(out)" ]; 48 49 # https://github.com/bsnes-emu/bsnes/issues/107 50 - preFixup = '' 51 gappsWrapperArgs+=( 52 --prefix GDK_BACKEND : x11 53 ) ··· 59 license = licenses.gpl3Only; 60 maintainers = with maintainers; [ stevebob ]; 61 platforms = platforms.unix; 62 - # ../nall/traits.hpp:19:14: error: no member named 'is_floating_point_v' in namespace 'std'; did you mean 'is_floating_point'? 63 - # using std::is_floating_point_v; 64 - broken = (stdenv.isDarwin && stdenv.isx86_64); 65 mainProgram = "bsnes"; 66 }; 67 }
··· 6 , SDL2 7 , gtk3, gtksourceview3 8 , alsa-lib, libao, openal, libpulseaudio 9 + , libicns, makeWrapper, darwin 10 }: 11 12 + let 13 + inherit (darwin.apple_sdk_11_0.frameworks) Cocoa OpenAL; 14 + in 15 stdenv.mkDerivation { 16 pname = "bsnes-hd"; 17 version = "10.6-beta"; ··· 38 ./macos-copy-app-to-prefix.patch 39 ]; 40 41 + nativeBuildInputs = [ pkg-config ] 42 + ++ lib.optionals stdenv.isLinux [ wrapGAppsHook ] 43 + ++ lib.optionals stdenv.isDarwin [ libicns makeWrapper ]; 44 45 buildInputs = [ SDL2 libao ] 46 ++ lib.optionals stdenv.isLinux [ libX11 libXv udev gtk3 gtksourceview3 alsa-lib openal libpulseaudio ] ··· 48 49 enableParallelBuilding = true; 50 51 + makeFlags = [ "-C" "bsnes" "prefix=$(out)" ] 52 + ++ lib.optionals stdenv.isLinux [ "hiro=gtk3" ] 53 + ++ lib.optionals stdenv.isDarwin [ "hiro=cocoa" ]; 54 + 55 + postInstall = lib.optionalString stdenv.isDarwin '' 56 + mkdir -p $out/bin 57 + makeWrapper $out/{Applications/bsnes.app/Contents/MacOS,bin}/bsnes 58 + ''; 59 60 # https://github.com/bsnes-emu/bsnes/issues/107 61 + preFixup = lib.optionalString stdenv.isLinux '' 62 gappsWrapperArgs+=( 63 --prefix GDK_BACKEND : x11 64 ) ··· 70 license = licenses.gpl3Only; 71 maintainers = with maintainers; [ stevebob ]; 72 platforms = platforms.unix; 73 mainProgram = "bsnes"; 74 }; 75 }
+2 -2
pkgs/applications/misc/epr/default.nix
··· 2 3 python3Packages.buildPythonApplication rec { 4 pname = "epr"; 5 - version = "2.3.0b"; 6 7 src = fetchFromGitHub { 8 owner = "wustho"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "1a6md3015284hzmx0sby5kl59p7lwv73sq7sid35vrr15zrl0aw7"; 12 }; 13 14 meta = with lib; {
··· 2 3 python3Packages.buildPythonApplication rec { 4 pname = "epr"; 5 + version = "2.4.13"; 6 7 src = fetchFromGitHub { 8 owner = "wustho"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-1qsqYlqGlCRhl7HINrcTDt5bGlb7g5PmaERylT+UvEg="; 12 }; 13 14 meta = with lib; {
+2 -2
pkgs/applications/networking/maestral-qt/default.nix
··· 7 8 python3.pkgs.buildPythonApplication rec { 9 pname = "maestral-qt"; 10 - version = "1.6.3"; 11 disabled = python3.pythonOlder "3.7"; 12 13 src = fetchFromGitHub { 14 owner = "SamSchott"; 15 repo = "maestral-qt"; 16 rev = "refs/tags/v${version}"; 17 - sha256 = "sha256-Fvr5WhrhxPBeAMsrVj/frg01qgt2SeWgrRJYgBxRFHc="; 18 }; 19 20 format = "pyproject";
··· 7 8 python3.pkgs.buildPythonApplication rec { 9 pname = "maestral-qt"; 10 + version = "1.6.5"; 11 disabled = python3.pythonOlder "3.7"; 12 13 src = fetchFromGitHub { 14 owner = "SamSchott"; 15 repo = "maestral-qt"; 16 rev = "refs/tags/v${version}"; 17 + hash = "sha256-yKsCM8LZ/GR/bc2WW+Ml1vSroB4iaxh09Az/B+aIVBU="; 18 }; 19 20 format = "pyproject";
-597
pkgs/applications/version-management/fornalder/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 = "addr2line" 7 - version = "0.17.0" 8 - source = "registry+https://github.com/rust-lang/crates.io-index" 9 - checksum = "b9ecd88a8c8378ca913a680cd98f0f13ac67383d35993f86c90a70e3f137816b" 10 - dependencies = [ 11 - "gimli", 12 - ] 13 - 14 - [[package]] 15 - name = "adler" 16 - version = "1.0.2" 17 - source = "registry+https://github.com/rust-lang/crates.io-index" 18 - checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" 19 - 20 - [[package]] 21 - name = "ahash" 22 - version = "0.4.7" 23 - source = "registry+https://github.com/rust-lang/crates.io-index" 24 - checksum = "739f4a8db6605981345c5654f3a85b056ce52f37a39d34da03f25bf2151ea16e" 25 - 26 - [[package]] 27 - name = "aho-corasick" 28 - version = "0.7.18" 29 - source = "registry+https://github.com/rust-lang/crates.io-index" 30 - checksum = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f" 31 - dependencies = [ 32 - "memchr", 33 - ] 34 - 35 - [[package]] 36 - name = "ansi_term" 37 - version = "0.12.1" 38 - source = "registry+https://github.com/rust-lang/crates.io-index" 39 - checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2" 40 - dependencies = [ 41 - "winapi", 42 - ] 43 - 44 - [[package]] 45 - name = "atty" 46 - version = "0.2.14" 47 - source = "registry+https://github.com/rust-lang/crates.io-index" 48 - checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" 49 - dependencies = [ 50 - "hermit-abi", 51 - "libc", 52 - "winapi", 53 - ] 54 - 55 - [[package]] 56 - name = "autocfg" 57 - version = "1.1.0" 58 - source = "registry+https://github.com/rust-lang/crates.io-index" 59 - checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" 60 - 61 - [[package]] 62 - name = "backtrace" 63 - version = "0.3.66" 64 - source = "registry+https://github.com/rust-lang/crates.io-index" 65 - checksum = "cab84319d616cfb654d03394f38ab7e6f0919e181b1b57e1fd15e7fb4077d9a7" 66 - dependencies = [ 67 - "addr2line", 68 - "cc", 69 - "cfg-if", 70 - "libc", 71 - "miniz_oxide", 72 - "object", 73 - "rustc-demangle", 74 - ] 75 - 76 - [[package]] 77 - name = "bitflags" 78 - version = "1.3.2" 79 - source = "registry+https://github.com/rust-lang/crates.io-index" 80 - checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" 81 - 82 - [[package]] 83 - name = "cc" 84 - version = "1.0.73" 85 - source = "registry+https://github.com/rust-lang/crates.io-index" 86 - checksum = "2fff2a6927b3bb87f9595d67196a70493f627687a71d87a0d692242c33f58c11" 87 - 88 - [[package]] 89 - name = "cfg-if" 90 - version = "1.0.0" 91 - source = "registry+https://github.com/rust-lang/crates.io-index" 92 - checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 93 - 94 - [[package]] 95 - name = "chrono" 96 - version = "0.4.19" 97 - source = "registry+https://github.com/rust-lang/crates.io-index" 98 - checksum = "670ad68c9088c2a963aaa298cb369688cf3f9465ce5e2d4ca10e6e0098a1ce73" 99 - dependencies = [ 100 - "libc", 101 - "num-integer", 102 - "num-traits", 103 - "time", 104 - "winapi", 105 - ] 106 - 107 - [[package]] 108 - name = "clap" 109 - version = "2.34.0" 110 - source = "registry+https://github.com/rust-lang/crates.io-index" 111 - checksum = "a0610544180c38b88101fecf2dd634b174a62eef6946f84dfc6a7127512b381c" 112 - dependencies = [ 113 - "ansi_term", 114 - "atty", 115 - "bitflags", 116 - "strsim", 117 - "textwrap", 118 - "unicode-width", 119 - "vec_map", 120 - ] 121 - 122 - [[package]] 123 - name = "either" 124 - version = "1.7.0" 125 - source = "registry+https://github.com/rust-lang/crates.io-index" 126 - checksum = "3f107b87b6afc2a64fd13cac55fe06d6c8859f12d4b14cbcdd2c67d0976781be" 127 - 128 - [[package]] 129 - name = "error-chain" 130 - version = "0.12.4" 131 - source = "registry+https://github.com/rust-lang/crates.io-index" 132 - checksum = "2d2f06b9cac1506ece98fe3231e3cc9c4410ec3d5b1f24ae1c8946f0742cdefc" 133 - dependencies = [ 134 - "backtrace", 135 - "version_check", 136 - ] 137 - 138 - [[package]] 139 - name = "fallible-iterator" 140 - version = "0.2.0" 141 - source = "registry+https://github.com/rust-lang/crates.io-index" 142 - checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" 143 - 144 - [[package]] 145 - name = "fallible-streaming-iterator" 146 - version = "0.1.9" 147 - source = "registry+https://github.com/rust-lang/crates.io-index" 148 - checksum = "7360491ce676a36bf9bb3c56c1aa791658183a54d2744120f27285738d90465a" 149 - 150 - [[package]] 151 - name = "fastrand" 152 - version = "1.8.0" 153 - source = "registry+https://github.com/rust-lang/crates.io-index" 154 - checksum = "a7a407cfaa3385c4ae6b23e84623d48c2798d06e3e6a1878f7f59f17b3f86499" 155 - dependencies = [ 156 - "instant", 157 - ] 158 - 159 - [[package]] 160 - name = "fornalder" 161 - version = "0.1.0" 162 - dependencies = [ 163 - "chrono", 164 - "error-chain", 165 - "io", 166 - "itertools", 167 - "regex", 168 - "rusqlite", 169 - "serde", 170 - "serde_json", 171 - "structopt", 172 - "tempfile", 173 - ] 174 - 175 - [[package]] 176 - name = "gimli" 177 - version = "0.26.2" 178 - source = "registry+https://github.com/rust-lang/crates.io-index" 179 - checksum = "22030e2c5a68ec659fde1e949a745124b48e6fa8b045b7ed5bd1fe4ccc5c4e5d" 180 - 181 - [[package]] 182 - name = "hashbrown" 183 - version = "0.9.1" 184 - source = "registry+https://github.com/rust-lang/crates.io-index" 185 - checksum = "d7afe4a420e3fe79967a00898cc1f4db7c8a49a9333a29f8a4bd76a253d5cd04" 186 - dependencies = [ 187 - "ahash", 188 - ] 189 - 190 - [[package]] 191 - name = "hashlink" 192 - version = "0.6.0" 193 - source = "registry+https://github.com/rust-lang/crates.io-index" 194 - checksum = "d99cf782f0dc4372d26846bec3de7804ceb5df083c2d4462c0b8d2330e894fa8" 195 - dependencies = [ 196 - "hashbrown", 197 - ] 198 - 199 - [[package]] 200 - name = "heck" 201 - version = "0.3.3" 202 - source = "registry+https://github.com/rust-lang/crates.io-index" 203 - checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c" 204 - dependencies = [ 205 - "unicode-segmentation", 206 - ] 207 - 208 - [[package]] 209 - name = "hermit-abi" 210 - version = "0.1.19" 211 - source = "registry+https://github.com/rust-lang/crates.io-index" 212 - checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" 213 - dependencies = [ 214 - "libc", 215 - ] 216 - 217 - [[package]] 218 - name = "instant" 219 - version = "0.1.12" 220 - source = "registry+https://github.com/rust-lang/crates.io-index" 221 - checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" 222 - dependencies = [ 223 - "cfg-if", 224 - ] 225 - 226 - [[package]] 227 - name = "io" 228 - version = "0.0.2" 229 - source = "registry+https://github.com/rust-lang/crates.io-index" 230 - checksum = "85c839d30624bc6b3dced6a4652823d1967fb7939d4848ad002d509b1fc916b2" 231 - 232 - [[package]] 233 - name = "itertools" 234 - version = "0.9.0" 235 - source = "registry+https://github.com/rust-lang/crates.io-index" 236 - checksum = "284f18f85651fe11e8a991b2adb42cb078325c996ed026d994719efcfca1d54b" 237 - dependencies = [ 238 - "either", 239 - ] 240 - 241 - [[package]] 242 - name = "itoa" 243 - version = "1.0.2" 244 - source = "registry+https://github.com/rust-lang/crates.io-index" 245 - checksum = "112c678d4050afce233f4f2852bb2eb519230b3cf12f33585275537d7e41578d" 246 - 247 - [[package]] 248 - name = "lazy_static" 249 - version = "1.4.0" 250 - source = "registry+https://github.com/rust-lang/crates.io-index" 251 - checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" 252 - 253 - [[package]] 254 - name = "libc" 255 - version = "0.2.126" 256 - source = "registry+https://github.com/rust-lang/crates.io-index" 257 - checksum = "349d5a591cd28b49e1d1037471617a32ddcda5731b99419008085f72d5a53836" 258 - 259 - [[package]] 260 - name = "libsqlite3-sys" 261 - version = "0.20.1" 262 - source = "registry+https://github.com/rust-lang/crates.io-index" 263 - checksum = "64d31059f22935e6c31830db5249ba2b7ecd54fd73a9909286f0a67aa55c2fbd" 264 - dependencies = [ 265 - "cc", 266 - "pkg-config", 267 - "vcpkg", 268 - ] 269 - 270 - [[package]] 271 - name = "memchr" 272 - version = "2.5.0" 273 - source = "registry+https://github.com/rust-lang/crates.io-index" 274 - checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" 275 - 276 - [[package]] 277 - name = "miniz_oxide" 278 - version = "0.5.3" 279 - source = "registry+https://github.com/rust-lang/crates.io-index" 280 - checksum = "6f5c75688da582b8ffc1f1799e9db273f32133c49e048f614d22ec3256773ccc" 281 - dependencies = [ 282 - "adler", 283 - ] 284 - 285 - [[package]] 286 - name = "num-integer" 287 - version = "0.1.45" 288 - source = "registry+https://github.com/rust-lang/crates.io-index" 289 - checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9" 290 - dependencies = [ 291 - "autocfg", 292 - "num-traits", 293 - ] 294 - 295 - [[package]] 296 - name = "num-traits" 297 - version = "0.2.15" 298 - source = "registry+https://github.com/rust-lang/crates.io-index" 299 - checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd" 300 - dependencies = [ 301 - "autocfg", 302 - ] 303 - 304 - [[package]] 305 - name = "object" 306 - version = "0.29.0" 307 - source = "registry+https://github.com/rust-lang/crates.io-index" 308 - checksum = "21158b2c33aa6d4561f1c0a6ea283ca92bc54802a93b263e910746d679a7eb53" 309 - dependencies = [ 310 - "memchr", 311 - ] 312 - 313 - [[package]] 314 - name = "pkg-config" 315 - version = "0.3.25" 316 - source = "registry+https://github.com/rust-lang/crates.io-index" 317 - checksum = "1df8c4ec4b0627e53bdf214615ad287367e482558cf84b109250b37464dc03ae" 318 - 319 - [[package]] 320 - name = "proc-macro-error" 321 - version = "1.0.4" 322 - source = "registry+https://github.com/rust-lang/crates.io-index" 323 - checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" 324 - dependencies = [ 325 - "proc-macro-error-attr", 326 - "proc-macro2", 327 - "quote", 328 - "syn", 329 - "version_check", 330 - ] 331 - 332 - [[package]] 333 - name = "proc-macro-error-attr" 334 - version = "1.0.4" 335 - source = "registry+https://github.com/rust-lang/crates.io-index" 336 - checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" 337 - dependencies = [ 338 - "proc-macro2", 339 - "quote", 340 - "version_check", 341 - ] 342 - 343 - [[package]] 344 - name = "proc-macro2" 345 - version = "1.0.40" 346 - source = "registry+https://github.com/rust-lang/crates.io-index" 347 - checksum = "dd96a1e8ed2596c337f8eae5f24924ec83f5ad5ab21ea8e455d3566c69fbcaf7" 348 - dependencies = [ 349 - "unicode-ident", 350 - ] 351 - 352 - [[package]] 353 - name = "quote" 354 - version = "1.0.20" 355 - source = "registry+https://github.com/rust-lang/crates.io-index" 356 - checksum = "3bcdf212e9776fbcb2d23ab029360416bb1706b1aea2d1a5ba002727cbcab804" 357 - dependencies = [ 358 - "proc-macro2", 359 - ] 360 - 361 - [[package]] 362 - name = "redox_syscall" 363 - version = "0.2.15" 364 - source = "registry+https://github.com/rust-lang/crates.io-index" 365 - checksum = "534cfe58d6a18cc17120fbf4635d53d14691c1fe4d951064df9bd326178d7d5a" 366 - dependencies = [ 367 - "bitflags", 368 - ] 369 - 370 - [[package]] 371 - name = "regex" 372 - version = "1.6.0" 373 - source = "registry+https://github.com/rust-lang/crates.io-index" 374 - checksum = "4c4eb3267174b8c6c2f654116623910a0fef09c4753f8dd83db29c48a0df988b" 375 - dependencies = [ 376 - "aho-corasick", 377 - "memchr", 378 - "regex-syntax", 379 - ] 380 - 381 - [[package]] 382 - name = "regex-syntax" 383 - version = "0.6.27" 384 - source = "registry+https://github.com/rust-lang/crates.io-index" 385 - checksum = "a3f87b73ce11b1619a3c6332f45341e0047173771e8b8b73f87bfeefb7b56244" 386 - 387 - [[package]] 388 - name = "remove_dir_all" 389 - version = "0.5.3" 390 - source = "registry+https://github.com/rust-lang/crates.io-index" 391 - checksum = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7" 392 - dependencies = [ 393 - "winapi", 394 - ] 395 - 396 - [[package]] 397 - name = "rusqlite" 398 - version = "0.24.2" 399 - source = "registry+https://github.com/rust-lang/crates.io-index" 400 - checksum = "d5f38ee71cbab2c827ec0ac24e76f82eca723cee92c509a65f67dee393c25112" 401 - dependencies = [ 402 - "bitflags", 403 - "fallible-iterator", 404 - "fallible-streaming-iterator", 405 - "hashlink", 406 - "libsqlite3-sys", 407 - "memchr", 408 - "smallvec", 409 - ] 410 - 411 - [[package]] 412 - name = "rustc-demangle" 413 - version = "0.1.21" 414 - source = "registry+https://github.com/rust-lang/crates.io-index" 415 - checksum = "7ef03e0a2b150c7a90d01faf6254c9c48a41e95fb2a8c2ac1c6f0d2b9aefc342" 416 - 417 - [[package]] 418 - name = "ryu" 419 - version = "1.0.10" 420 - source = "registry+https://github.com/rust-lang/crates.io-index" 421 - checksum = "f3f6f92acf49d1b98f7a81226834412ada05458b7364277387724a237f062695" 422 - 423 - [[package]] 424 - name = "serde" 425 - version = "1.0.140" 426 - source = "registry+https://github.com/rust-lang/crates.io-index" 427 - checksum = "fc855a42c7967b7c369eb5860f7164ef1f6f81c20c7cc1141f2a604e18723b03" 428 - dependencies = [ 429 - "serde_derive", 430 - ] 431 - 432 - [[package]] 433 - name = "serde_derive" 434 - version = "1.0.140" 435 - source = "registry+https://github.com/rust-lang/crates.io-index" 436 - checksum = "6f2122636b9fe3b81f1cb25099fcf2d3f542cdb1d45940d56c713158884a05da" 437 - dependencies = [ 438 - "proc-macro2", 439 - "quote", 440 - "syn", 441 - ] 442 - 443 - [[package]] 444 - name = "serde_json" 445 - version = "1.0.82" 446 - source = "registry+https://github.com/rust-lang/crates.io-index" 447 - checksum = "82c2c1fdcd807d1098552c5b9a36e425e42e9fbd7c6a37a8425f390f781f7fa7" 448 - dependencies = [ 449 - "itoa", 450 - "ryu", 451 - "serde", 452 - ] 453 - 454 - [[package]] 455 - name = "smallvec" 456 - version = "1.9.0" 457 - source = "registry+https://github.com/rust-lang/crates.io-index" 458 - checksum = "2fd0db749597d91ff862fd1d55ea87f7855a744a8425a64695b6fca237d1dad1" 459 - 460 - [[package]] 461 - name = "strsim" 462 - version = "0.8.0" 463 - source = "registry+https://github.com/rust-lang/crates.io-index" 464 - checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a" 465 - 466 - [[package]] 467 - name = "structopt" 468 - version = "0.3.26" 469 - source = "registry+https://github.com/rust-lang/crates.io-index" 470 - checksum = "0c6b5c64445ba8094a6ab0c3cd2ad323e07171012d9c98b0b15651daf1787a10" 471 - dependencies = [ 472 - "clap", 473 - "lazy_static", 474 - "structopt-derive", 475 - ] 476 - 477 - [[package]] 478 - name = "structopt-derive" 479 - version = "0.4.18" 480 - source = "registry+https://github.com/rust-lang/crates.io-index" 481 - checksum = "dcb5ae327f9cc13b68763b5749770cb9e048a99bd9dfdfa58d0cf05d5f64afe0" 482 - dependencies = [ 483 - "heck", 484 - "proc-macro-error", 485 - "proc-macro2", 486 - "quote", 487 - "syn", 488 - ] 489 - 490 - [[package]] 491 - name = "syn" 492 - version = "1.0.98" 493 - source = "registry+https://github.com/rust-lang/crates.io-index" 494 - checksum = "c50aef8a904de4c23c788f104b7dddc7d6f79c647c7c8ce4cc8f73eb0ca773dd" 495 - dependencies = [ 496 - "proc-macro2", 497 - "quote", 498 - "unicode-ident", 499 - ] 500 - 501 - [[package]] 502 - name = "tempfile" 503 - version = "3.3.0" 504 - source = "registry+https://github.com/rust-lang/crates.io-index" 505 - checksum = "5cdb1ef4eaeeaddc8fbd371e5017057064af0911902ef36b39801f67cc6d79e4" 506 - dependencies = [ 507 - "cfg-if", 508 - "fastrand", 509 - "libc", 510 - "redox_syscall", 511 - "remove_dir_all", 512 - "winapi", 513 - ] 514 - 515 - [[package]] 516 - name = "textwrap" 517 - version = "0.11.0" 518 - source = "registry+https://github.com/rust-lang/crates.io-index" 519 - checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060" 520 - dependencies = [ 521 - "unicode-width", 522 - ] 523 - 524 - [[package]] 525 - name = "time" 526 - version = "0.1.44" 527 - source = "registry+https://github.com/rust-lang/crates.io-index" 528 - checksum = "6db9e6914ab8b1ae1c260a4ae7a49b6c5611b40328a735b21862567685e73255" 529 - dependencies = [ 530 - "libc", 531 - "wasi", 532 - "winapi", 533 - ] 534 - 535 - [[package]] 536 - name = "unicode-ident" 537 - version = "1.0.2" 538 - source = "registry+https://github.com/rust-lang/crates.io-index" 539 - checksum = "15c61ba63f9235225a22310255a29b806b907c9b8c964bcbd0a2c70f3f2deea7" 540 - 541 - [[package]] 542 - name = "unicode-segmentation" 543 - version = "1.9.0" 544 - source = "registry+https://github.com/rust-lang/crates.io-index" 545 - checksum = "7e8820f5d777f6224dc4be3632222971ac30164d4a258d595640799554ebfd99" 546 - 547 - [[package]] 548 - name = "unicode-width" 549 - version = "0.1.9" 550 - source = "registry+https://github.com/rust-lang/crates.io-index" 551 - checksum = "3ed742d4ea2bd1176e236172c8429aaf54486e7ac098db29ffe6529e0ce50973" 552 - 553 - [[package]] 554 - name = "vcpkg" 555 - version = "0.2.15" 556 - source = "registry+https://github.com/rust-lang/crates.io-index" 557 - checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" 558 - 559 - [[package]] 560 - name = "vec_map" 561 - version = "0.8.2" 562 - source = "registry+https://github.com/rust-lang/crates.io-index" 563 - checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191" 564 - 565 - [[package]] 566 - name = "version_check" 567 - version = "0.9.4" 568 - source = "registry+https://github.com/rust-lang/crates.io-index" 569 - checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" 570 - 571 - [[package]] 572 - name = "wasi" 573 - version = "0.10.0+wasi-snapshot-preview1" 574 - source = "registry+https://github.com/rust-lang/crates.io-index" 575 - checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f" 576 - 577 - [[package]] 578 - name = "winapi" 579 - version = "0.3.9" 580 - source = "registry+https://github.com/rust-lang/crates.io-index" 581 - checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" 582 - dependencies = [ 583 - "winapi-i686-pc-windows-gnu", 584 - "winapi-x86_64-pc-windows-gnu", 585 - ] 586 - 587 - [[package]] 588 - name = "winapi-i686-pc-windows-gnu" 589 - version = "0.4.0" 590 - source = "registry+https://github.com/rust-lang/crates.io-index" 591 - checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" 592 - 593 - [[package]] 594 - name = "winapi-x86_64-pc-windows-gnu" 595 - version = "0.4.0" 596 - source = "registry+https://github.com/rust-lang/crates.io-index" 597 - checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
···
+11 -11
pkgs/applications/version-management/fornalder/default.nix
··· 1 - { fetchFromGitHub, rustPlatform, lib }: 2 3 rustPlatform.buildRustPackage rec { 4 pname = "fornalder"; 5 - version = "unstable-2022-07-23"; 6 7 src = fetchFromGitHub { 8 owner = "hpjansson"; 9 repo = pname; 10 - rev = "44129f01910a9f16d97d0a3d8b1b376bf3338ea6"; 11 - sha256 = "sha256-YODgR98SnpL6SM2nKrnzhpsEzYQFqduqigua/SXhazk="; 12 }; 13 14 - cargoLock.lockFile = ./Cargo.lock; 15 16 - postPatch = '' 17 - ln -s ${./Cargo.lock} Cargo.lock 18 ''; 19 20 - # tests don't typecheck 21 - doCheck = false; 22 - 23 meta = with lib; { 24 description = "Visualize long-term trends in collections of Git repositories"; 25 homepage = "https://github.com/hpjansson/fornalder"; 26 license = licenses.gpl3Only; 27 - maintainers = with maintainers; [ astro ]; 28 }; 29 }
··· 1 + { lib, rustPlatform, fetchFromGitHub, makeWrapper, gnuplot }: 2 3 rustPlatform.buildRustPackage rec { 4 pname = "fornalder"; 5 + version = "unstable-2022-12-25"; 6 7 src = fetchFromGitHub { 8 owner = "hpjansson"; 9 repo = pname; 10 + rev = "3248128fe320d88183d17a65e936092e07d6529b"; 11 + sha256 = "sha256-IPSxVWJs4EhyBdA1NXpD8v3fusewt1ELpn/kbZt7c5Q="; 12 }; 13 14 + cargoSha256 = "sha256-eK+oQbOQj8pKiOTXzIgRjzVB7Js8MMa9V6cF9D98Ftc="; 15 16 + nativeBuildInputs = [ makeWrapper ]; 17 + 18 + postInstall = '' 19 + wrapProgram $out/bin/fornalder \ 20 + --suffix PATH : ${lib.makeBinPath [ gnuplot ]} 21 ''; 22 23 meta = with lib; { 24 description = "Visualize long-term trends in collections of Git repositories"; 25 homepage = "https://github.com/hpjansson/fornalder"; 26 license = licenses.gpl3Only; 27 + maintainers = with maintainers; [ astro figsoda ]; 28 }; 29 }
+6 -2
pkgs/applications/video/openshot-qt/libopenshot-audio.nix
··· 1 { lib 2 , stdenv 3 , fetchFromGitHub 4 , alsa-lib 5 , cmake 6 , doxygen ··· 27 rev = "v${version}"; 28 sha256 = "sha256-XtwTZsj/L/sw/28E7Qr5UyghGlBFFXvbmZLGXBB8vg0="; 29 }; 30 31 nativeBuildInputs = [ 32 cmake ··· 63 license = with licenses; gpl3Plus; 64 maintainers = with maintainers; [ AndersonTorres ]; 65 platforms = with platforms; unix; 66 - # never built on aarch64-darwin since first introduction in nixpkgs 67 - broken = stdenv.isDarwin && stdenv.isAarch64; 68 }; 69 }
··· 1 { lib 2 , stdenv 3 , fetchFromGitHub 4 + , fetchpatch 5 , alsa-lib 6 , cmake 7 , doxygen ··· 28 rev = "v${version}"; 29 sha256 = "sha256-XtwTZsj/L/sw/28E7Qr5UyghGlBFFXvbmZLGXBB8vg0="; 30 }; 31 + 32 + patches = [ 33 + # https://forum.juce.com/t/juce-and-macos-11-arm/40285/24 34 + ./undef-fpret-on-aarch64-darwin.patch 35 + ]; 36 37 nativeBuildInputs = [ 38 cmake ··· 69 license = with licenses; gpl3Plus; 70 maintainers = with maintainers; [ AndersonTorres ]; 71 platforms = with platforms; unix; 72 }; 73 }
+2 -1
pkgs/applications/video/openshot-qt/libopenshot.nix
··· 35 export _REL_PYTHON_MODULE_PATH=$(toPythonPath $out) 36 ''; 37 38 - nativeBuildInputs = [ 39 alsa-lib 40 cmake 41 doxygen 42 pkg-config
··· 35 export _REL_PYTHON_MODULE_PATH=$(toPythonPath $out) 36 ''; 37 38 + nativeBuildInputs = lib.optionals stdenv.isLinux [ 39 alsa-lib 40 + ] ++ [ 41 cmake 42 doxygen 43 pkg-config
+13
pkgs/applications/video/openshot-qt/undef-fpret-on-aarch64-darwin.patch
···
··· 1 + diff --git a/JuceLibraryCode/modules/juce_core/native/juce_osx_ObjCHelpers.h b/JuceLibraryCode/modules/juce_core/native/juce_osx_ObjCHelpers.h 2 + index 2593790..0b5983d 100644 3 + --- a/JuceLibraryCode/modules/juce_core/native/juce_osx_ObjCHelpers.h 4 + +++ b/JuceLibraryCode/modules/juce_core/native/juce_osx_ObjCHelpers.h 5 + @@ -209,7 +209,7 @@ static inline ReturnValue ObjCMsgSendSuper (struct objc_super* s, SEL sel, Param 6 + typedef id (*MsgSendSuperFn) (struct objc_super*, SEL, ...); 7 + static inline MsgSendSuperFn getMsgSendSuperFn() noexcept { return (MsgSendSuperFn) (void*) objc_msgSendSuper; } 8 + 9 + -#if ! JUCE_IOS 10 + +#if JUCE_INTEL && ! JUCE_IOS 11 + typedef double (*MsgSendFPRetFn) (id, SEL op, ...); 12 + static inline MsgSendFPRetFn getMsgSendFPRetFn() noexcept { return (MsgSendFPRetFn) (void*) objc_msgSend_fpret; } 13 + #endif
+15 -1
pkgs/applications/window-managers/hyprwm/hypr/default.nix
··· 1 { lib 2 , stdenv 3 , fetchFromGitHub 4 , cairo 5 , cmake 6 , glib ··· 15 , xcbutilcursor 16 , xcbutilkeysyms 17 , xcbutilwm 18 , xmodmap 19 }: 20 ··· 31 32 patches = [ 33 ./000-dont-set-compiler.diff 34 ]; 35 36 nativeBuildInputs = [ ··· 51 xcbutilcursor 52 xcbutilkeysyms 53 xcbutilwm 54 ]; 55 56 installPhase = '' 57 runHook preInstall 58 ··· 71 license = licenses.bsd3; 72 maintainers = with maintainers; [ AndersonTorres ]; 73 inherit (libX11.meta) platforms; 74 - broken = stdenv.isDarwin; # xcb/xcb_atom.h not found 75 mainProgram = "Hypr"; 76 }; 77 })
··· 1 { lib 2 , stdenv 3 , fetchFromGitHub 4 + , fetchpatch 5 , cairo 6 , cmake 7 , glib ··· 16 , xcbutilcursor 17 , xcbutilkeysyms 18 , xcbutilwm 19 + , xcbutil 20 , xmodmap 21 }: 22 ··· 33 34 patches = [ 35 ./000-dont-set-compiler.diff 36 + # TODO: remove on next release 37 + (fetchpatch { 38 + url = "https://github.com/hyprwm/Hypr/commit/08d6af2caf882247943f0e8518ad782f35d1aba4.patch"; 39 + sha256 = "sha256-WjR12ZH8CE+l9xSeQUAPYW5r5HzoPpod5YqDPJTdTY8="; 40 + }) 41 + (fetchpatch { 42 + url = "https://github.com/hyprwm/Hypr/commit/7512a3ab91865b1e11b8c4a9dfdffb25c2b153de.patch"; 43 + sha256 = "sha256-0Hq5n115z0U44op7A1FO9tUOeMEPV0QgD5E5zcmend0="; 44 + }) 45 ]; 46 47 nativeBuildInputs = [ ··· 62 xcbutilcursor 63 xcbutilkeysyms 64 xcbutilwm 65 + xcbutil 66 ]; 67 68 + # src/ewmh/ewmh.cpp:67:28: error: non-constant-expression cannot be narrowed from type 'int' to 'uint32_t' (aka 'unsigned int') in initializer list 69 + NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-Wno-c++11-narrowing"; 70 + 71 installPhase = '' 72 runHook preInstall 73 ··· 86 license = licenses.bsd3; 87 maintainers = with maintainers; [ AndersonTorres ]; 88 inherit (libX11.meta) platforms; 89 mainProgram = "Hypr"; 90 }; 91 })
+34
pkgs/build-support/vm/default.nix
··· 977 packages = commonDebPackages ++ [ "diffutils" "libc-bin" ]; 978 }; 979 980 debian10i386 = { 981 name = "debian-10.13-buster-i386"; 982 fullName = "Debian 10.13 Buster (i386)";
··· 977 packages = commonDebPackages ++ [ "diffutils" "libc-bin" ]; 978 }; 979 980 + ubuntu2204i386 = { 981 + name = "ubuntu-22.04-jammy-i386"; 982 + fullName = "Ubuntu 22.04 Jammy (i386)"; 983 + packagesLists = 984 + [ (fetchurl { 985 + url = "mirror://ubuntu/dists/jammy/main/binary-i386/Packages.xz"; 986 + sha256 = "sha256-iZBmwT0ep4v+V3sayybbOgZBOFFZwPGpOKtmuLMMVPQ="; 987 + }) 988 + (fetchurl { 989 + url = "mirror://ubuntu/dists/jammy/universe/binary-i386/Packages.xz"; 990 + sha256 = "sha256-DO2LdpZ9rDDBhWj2gvDWd0TJJVZHxKsYTKTi6GXjm1E="; 991 + }) 992 + ]; 993 + urlPrefix = "mirror://ubuntu"; 994 + packages = commonDebPackages ++ [ "diffutils" "libc-bin" ]; 995 + }; 996 + 997 + ubuntu2204x86_64 = { 998 + name = "ubuntu-22.04-jammy-amd64"; 999 + fullName = "Ubuntu 22.04 Jammy (amd64)"; 1000 + packagesLists = 1001 + [ (fetchurl { 1002 + url = "mirror://ubuntu/dists/jammy/main/binary-amd64/Packages.xz"; 1003 + sha256 = "sha256-N8tX8VVMv6ccWinun/7hipqMF4K7BWjgh0t/9M6PnBE="; 1004 + }) 1005 + (fetchurl { 1006 + url = "mirror://ubuntu/dists/jammy/universe/binary-amd64/Packages.xz"; 1007 + sha256 = "sha256-0pyyTJP+xfQyVXBrzn60bUd5lSA52MaKwbsUpvNlXOI="; 1008 + }) 1009 + ]; 1010 + urlPrefix = "mirror://ubuntu"; 1011 + packages = commonDebPackages ++ [ "diffutils" "libc-bin" ]; 1012 + }; 1013 + 1014 debian10i386 = { 1015 name = "debian-10.13-buster-i386"; 1016 fullName = "Debian 10.13 Buster (i386)";
+17 -2
pkgs/development/libraries/libwebsockets/default.nix
··· 20 hash = "sha256-why8LAcc4XN0JdTJ1JoNWijKENL5mOHBsi9K4wpYr2c="; 21 }; 22 23 buildInputs = [ openssl zlib libuv ]; 24 25 nativeBuildInputs = [ cmake ]; ··· 31 "-DDISABLE_WERROR=ON" 32 "-DLWS_BUILD_HASH=no_hash" 33 ] ++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) "-DLWS_WITHOUT_TESTAPPS=ON" 34 - ++ lib.optional withExternalPoll "-DLWS_WITH_EXTERNAL_POLL=ON"; 35 36 postInstall = '' 37 - rm -r ${placeholder "out"}/share/libwebsockets-test-server 38 ''; 39 40 # $out/share/libwebsockets-test-server/plugins/libprotocol_*.so refers to crtbeginS.o
··· 20 hash = "sha256-why8LAcc4XN0JdTJ1JoNWijKENL5mOHBsi9K4wpYr2c="; 21 }; 22 23 + outputs = [ "out" "dev" ]; 24 + 25 buildInputs = [ openssl zlib libuv ]; 26 27 nativeBuildInputs = [ cmake ]; ··· 33 "-DDISABLE_WERROR=ON" 34 "-DLWS_BUILD_HASH=no_hash" 35 ] ++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) "-DLWS_WITHOUT_TESTAPPS=ON" 36 + ++ lib.optional withExternalPoll "-DLWS_WITH_EXTERNAL_POLL=ON" 37 + ++ ( 38 + if stdenv.hostPlatform.isStatic then 39 + [ "-DLWS_WITH_SHARED=OFF" ] 40 + else 41 + [ "-DLWS_WITH_STATIC=OFF" "-DLWS_LINK_TESTAPPS_DYNAMIC=ON" ] 42 + ); 43 44 postInstall = '' 45 + # Fix path that will be incorrect on move to "dev" output. 46 + substituteInPlace "$out/lib/cmake/libwebsockets/LibwebsocketsTargets-release.cmake" \ 47 + --replace "\''${_IMPORT_PREFIX}" "$out" 48 + 49 + # The package builds a few test programs that are not usually necessary. 50 + # Move those to the dev output. 51 + moveToOutput "bin/libwebsockets-test-*" "$dev" 52 + moveToOutput "share/libwebsockets-test-*" "$dev" 53 ''; 54 55 # $out/share/libwebsockets-test-server/plugins/libprotocol_*.so refers to crtbeginS.o
+5 -4
pkgs/development/python-modules/fireflyalgorithm/default.nix
··· 9 10 buildPythonPackage rec { 11 pname = "FireflyAlgorithm"; 12 - version = "0.3.3"; 13 format = "pyproject"; 14 15 - disabled = pythonOlder "3.6"; 16 17 src = fetchFromGitHub { 18 owner = "firefly-cpp"; 19 repo = pname; 20 - rev = version; 21 - sha256 = "sha256-C2bm2Eb2kqfCnGORAzHX7hh4qj1MtDSkAu77lcZWQKc="; 22 }; 23 24 nativeBuildInputs = [ ··· 40 meta = with lib; { 41 description = "An implementation of the stochastic nature-inspired algorithm for optimization"; 42 homepage = "https://github.com/firefly-cpp/FireflyAlgorithm"; 43 license = licenses.mit; 44 maintainers = with maintainers; [ firefly-cpp ]; 45 };
··· 9 10 buildPythonPackage rec { 11 pname = "FireflyAlgorithm"; 12 + version = "0.3.4"; 13 format = "pyproject"; 14 15 + disabled = pythonOlder "3.7"; 16 17 src = fetchFromGitHub { 18 owner = "firefly-cpp"; 19 repo = pname; 20 + rev = "refs/tags/${version}"; 21 + hash = "sha256-rJOcPQU/oz/qP787OpZsfbjSsT2dWvhJLTs4N5TriWc="; 22 }; 23 24 nativeBuildInputs = [ ··· 40 meta = with lib; { 41 description = "An implementation of the stochastic nature-inspired algorithm for optimization"; 42 homepage = "https://github.com/firefly-cpp/FireflyAlgorithm"; 43 + changelog = "https://github.com/firefly-cpp/FireflyAlgorithm/blob/${version}/CHANGELOG.md"; 44 license = licenses.mit; 45 maintainers = with maintainers; [ firefly-cpp ]; 46 };
+2 -2
pkgs/development/python-modules/hahomematic/default.nix
··· 15 16 buildPythonPackage rec { 17 pname = "hahomematic"; 18 - version = "2022.12.9"; 19 format = "pyproject"; 20 21 disabled = pythonOlder "3.9"; ··· 24 owner = "danielperna84"; 25 repo = pname; 26 rev = "refs/tags/${version}"; 27 - sha256 = "sha256-Pmgdu22pZOciHveyXY212QPMMPdwvYCc9HshSqBOunE="; 28 }; 29 30 nativeBuildInputs = [
··· 15 16 buildPythonPackage rec { 17 pname = "hahomematic"; 18 + version = "2022.12.11"; 19 format = "pyproject"; 20 21 disabled = pythonOlder "3.9"; ··· 24 owner = "danielperna84"; 25 repo = pname; 26 rev = "refs/tags/${version}"; 27 + sha256 = "sha256-s9nxFi7XOcBy7Q1PnnyVKWoyusXnypqmI3BRVtS3p+k="; 28 }; 29 30 nativeBuildInputs = [
+8 -7
pkgs/development/python-modules/maestral/default.nix
··· 9 , desktop-notifier 10 , dropbox 11 , fasteners 12 , keyring 13 , keyrings-alt 14 , packaging 15 , pathspec 16 , Pyro5 17 , requests 18 , setuptools 19 - , sdnotify 20 , survey 21 , watchdog 22 - , importlib-metadata 23 , pytestCheckHook 24 , nixosTests 25 }: 26 27 buildPythonPackage rec { 28 pname = "maestral"; 29 - version = "1.6.3"; 30 format = "pyproject"; 31 32 disabled = pythonOlder "3.7"; ··· 35 owner = "SamSchott"; 36 repo = "maestral"; 37 rev = "refs/tags/v${version}"; 38 - hash = "sha256-JVzaWwdHAn5JOruLEN9Z2/5eV1oh3J2NQffNI3RqYfA="; 39 }; 40 41 propagatedBuildInputs = [ ··· 44 dbus-python 45 dropbox 46 fasteners 47 keyring 48 keyrings-alt 49 packaging 50 pathspec 51 Pyro5 52 requests 53 setuptools 54 - sdnotify 55 survey 56 watchdog 57 - ] ++ lib.optionals (pythonOlder "3.8") [ 58 - importlib-metadata 59 ]; 60 61 makeWrapperArgs = [
··· 9 , desktop-notifier 10 , dropbox 11 , fasteners 12 + , importlib-metadata 13 , keyring 14 , keyrings-alt 15 , packaging 16 , pathspec 17 , Pyro5 18 , requests 19 + , rich 20 , setuptools 21 , survey 22 + , typing-extensions 23 , watchdog 24 , pytestCheckHook 25 , nixosTests 26 }: 27 28 buildPythonPackage rec { 29 pname = "maestral"; 30 + version = "1.6.5"; 31 format = "pyproject"; 32 33 disabled = pythonOlder "3.7"; ··· 36 owner = "SamSchott"; 37 repo = "maestral"; 38 rev = "refs/tags/v${version}"; 39 + hash = "sha256-YCPMPkvMaZ0uzTiiCbXFDpgDS0yGlfF0wKK2HhYmH+Y="; 40 }; 41 42 propagatedBuildInputs = [ ··· 45 dbus-python 46 dropbox 47 fasteners 48 + importlib-metadata 49 keyring 50 keyrings-alt 51 packaging 52 pathspec 53 Pyro5 54 requests 55 + rich 56 setuptools 57 survey 58 + typing-extensions 59 watchdog 60 ]; 61 62 makeWrapperArgs = [
+2 -2
pkgs/development/python-modules/pytools/default.nix
··· 11 12 buildPythonPackage rec { 13 pname = "pytools"; 14 - version = "2022.1.12"; 15 disabled = pythonOlder "3.6"; 16 17 src = fetchPypi { 18 inherit pname version; 19 - sha256 = "sha256-TWKHXpoqsqJOOTqai3mUkvGnIb/6hArzgHv9Qocd0fQ="; 20 }; 21 22 propagatedBuildInputs = [
··· 11 12 buildPythonPackage rec { 13 pname = "pytools"; 14 + version = "2022.1.14"; 15 disabled = pythonOlder "3.6"; 16 17 src = fetchPypi { 18 inherit pname version; 19 + sha256 = "sha256-QQFzcWELsqA2hVl8UoUgXmWXx/F3OD2VyLhxJEsSwU4="; 20 }; 21 22 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/sanic-testing/default.nix
··· 10 11 buildPythonPackage rec { 12 pname = "sanic-testing"; 13 - version = "22.9.0"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.7"; ··· 19 owner = "sanic-org"; 20 repo = "sanic-testing"; 21 rev = "refs/tags/v${version}"; 22 - hash = "sha256-o0uXeIw2wV9sxGkEH5jPrQvRj1W2CsUU2n+8R8Ta12Y="; 23 }; 24 25 outputs = [
··· 10 11 buildPythonPackage rec { 12 pname = "sanic-testing"; 13 + version = "22.12.0"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.7"; ··· 19 owner = "sanic-org"; 20 repo = "sanic-testing"; 21 rev = "refs/tags/v${version}"; 22 + hash = "sha256-pFTF2SQ9giRzPhG24FLqLPJRXaFdQ7Xi5EeltS7J3DI="; 23 }; 24 25 outputs = [
+2 -2
pkgs/development/python-modules/sqlobject/default.nix
··· 11 12 buildPythonPackage rec { 13 pname = "sqlobject"; 14 - version = "3.10.0"; 15 format = "setuptools"; 16 17 disabled = pythonOlder "3.7"; ··· 19 src = fetchPypi { 20 pname = "SQLObject"; 21 inherit version; 22 - hash = "sha256-i/wBFu8z/DS5Gtj00ZKrbuPsvqDH3O5GmbrknGbvJ7A="; 23 }; 24 25 propagatedBuildInputs = [
··· 11 12 buildPythonPackage rec { 13 pname = "sqlobject"; 14 + version = "3.10.1"; 15 format = "setuptools"; 16 17 disabled = pythonOlder "3.7"; ··· 19 src = fetchPypi { 20 pname = "SQLObject"; 21 inherit version; 22 + hash = "sha256-/PPqJ/ha8GRQpY/uQOLIF0v90p9tZKrHTCMkusiIuEQ="; 23 }; 24 25 propagatedBuildInputs = [
+5 -2
pkgs/development/tools/build-managers/scala-cli/default.nix
··· 10 , jre 11 }: 12 13 - assert lib.versionAtLeast jre.version "17.0.0"; 14 let 15 pname = "scala-cli"; 16 sources = builtins.fromJSON (builtins.readFile ./sources.json); ··· 22 inherit pname version; 23 nativeBuildInputs = [ installShellFiles makeWrapper ] 24 ++ lib.optional stdenv.isLinux autoPatchelfHook; 25 - buildInputs = [ coreutils zlib stdenv.cc.cc ]; 26 src = 27 let 28 asset = assets."${stdenv.hostPlatform.system}" or (throw "Unsupported platform ${stdenv.hostPlatform.system}");
··· 10 , jre 11 }: 12 13 let 14 pname = "scala-cli"; 15 sources = builtins.fromJSON (builtins.readFile ./sources.json); ··· 21 inherit pname version; 22 nativeBuildInputs = [ installShellFiles makeWrapper ] 23 ++ lib.optional stdenv.isLinux autoPatchelfHook; 24 + buildInputs = 25 + assert lib.assertMsg (lib.versionAtLeast jre.version "17.0.0") '' 26 + scala-cli requires Java 17 or newer, but ${jre.name} is ${jre.version} 27 + ''; 28 + [ coreutils zlib stdenv.cc.cc ]; 29 src = 30 let 31 asset = assets."${stdenv.hostPlatform.system}" or (throw "Unsupported platform ${stdenv.hostPlatform.system}");
+2 -2
pkgs/servers/irc/ergochat/default.nix
··· 2 3 buildGoModule rec { 4 pname = "ergo"; 5 - version = "2.10.0"; 6 7 src = fetchFromGitHub { 8 owner = "ergochat"; 9 repo = "ergo"; 10 rev = "v${version}"; 11 - sha256 = "sha256-SydseZSEuFhbaU4OMnT8zFLbRfmeKwXsZZeDh8mbZco="; 12 }; 13 14 vendorSha256 = null;
··· 2 3 buildGoModule rec { 4 pname = "ergo"; 5 + version = "2.11.0"; 6 7 src = fetchFromGitHub { 8 owner = "ergochat"; 9 repo = "ergo"; 10 rev = "v${version}"; 11 + sha256 = "sha256-sZ2HSfYa7Xiu7dw8dUgqaf/tCh66bLlrXC+46J5i3iQ="; 12 }; 13 14 vendorSha256 = null;
+4 -4
pkgs/servers/prowlarr/default.nix
··· 16 }."${stdenv.hostPlatform.system}" or (throw "Unsupported system: ${stdenv.hostPlatform.system}"); 17 18 hash = { 19 - x64-linux_hash = "sha256-vPei97xs5jpYhWSjXUkbu5/ETeMzOMqLOZHh7N0AHvY="; 20 - arm64-linux_hash = "sha256-NTZtQVLVo5ZPxciwjz/abXO5VrxIg72L1y3H4aasJug="; 21 - x64-osx_hash = "sha256-5UIiXLo91KAOCPeBEDJD4LfH8XXlSqXRSseCSrTDjes="; 22 }."${arch}-${os}_hash"; 23 24 in stdenv.mkDerivation rec { 25 pname = "prowlarr"; 26 - version = "0.4.10.2111"; 27 28 src = fetchurl { 29 url = "https://github.com/Prowlarr/Prowlarr/releases/download/v${version}/Prowlarr.develop.${version}.${os}-core-${arch}.tar.gz";
··· 16 }."${stdenv.hostPlatform.system}" or (throw "Unsupported system: ${stdenv.hostPlatform.system}"); 17 18 hash = { 19 + x64-linux_hash = "sha256-OYCZPP8w3HSxph8mg5MWDsjG7ubSFsPtpEQY7TWJ198="; 20 + arm64-linux_hash = "sha256-kts6pOKaBVrr3uOba9UXsMLnzAA5EalfZk+v5PKqbMQ="; 21 + x64-osx_hash = "sha256-/TEvsgeQUZdMFoPoZkCaJQCiJPguLt3AxiCbMg+Q/8M="; 22 }."${arch}-${os}_hash"; 23 24 in stdenv.mkDerivation rec { 25 pname = "prowlarr"; 26 + version = "1.0.0.2171"; 27 28 src = fetchurl { 29 url = "https://github.com/Prowlarr/Prowlarr/releases/download/v${version}/Prowlarr.develop.${version}.${os}-core-${arch}.tar.gz";
+54
pkgs/tools/networking/sing-box/default.nix
···
··· 1 + { lib 2 + , stdenv 3 + , buildGoModule 4 + , fetchFromGitHub 5 + , installShellFiles 6 + , buildPackages 7 + }: 8 + 9 + buildGoModule rec { 10 + pname = "sing-box"; 11 + version = "1.1.1"; 12 + 13 + src = fetchFromGitHub { 14 + owner = "SagerNet"; 15 + repo = pname; 16 + rev = "v${version}"; 17 + hash = "sha256-CNy+C5E5iAZHZ7PsS0Hj43irCuCvy/bes3kovvH81/o="; 18 + }; 19 + 20 + vendorHash = "sha256-fUHfvqzbu2P7N413dDuV41myhReNSYvgF+Cc6SgG6y4="; 21 + 22 + tags = [ 23 + "with_quic" 24 + "with_grpc" 25 + "with_wireguard" 26 + "with_shadowsocksr" 27 + "with_ech" 28 + "with_utls" 29 + "with_acme" 30 + "with_clash_api" 31 + "with_v2ray_api" 32 + "with_gvisor" 33 + ]; 34 + 35 + subPackages = [ 36 + "cmd/sing-box" 37 + ]; 38 + 39 + nativeBuildInputs = [ installShellFiles ]; 40 + 41 + postInstall = let emulator = stdenv.hostPlatform.emulator buildPackages; in '' 42 + installShellCompletion --cmd sing-box \ 43 + --bash <(${emulator} $out/bin/sing-box completion bash) \ 44 + --fish <(${emulator} $out/bin/sing-box completion fish) \ 45 + --zsh <(${emulator} $out/bin/sing-box completion zsh ) 46 + ''; 47 + 48 + meta = with lib;{ 49 + homepage = "https://sing-box.sagernet.org"; 50 + description = "The universal proxy platform"; 51 + license = licenses.gpl3Plus; 52 + maintainers = with maintainers; [ nickcao ]; 53 + }; 54 + }
+3 -3
pkgs/tools/system/rsyslog/default.nix
··· 62 63 stdenv.mkDerivation rec { 64 pname = "rsyslog"; 65 - version = "8.2210.0"; 66 67 src = fetchurl { 68 url = "https://www.rsyslog.com/files/download/rsyslog/${pname}-${version}.tar.gz"; 69 - hash = "sha256-ZD7ieROdaUoHyf8/8Q3FITvfh0mD0n03NSXpXgX6CU0="; 70 }; 71 72 nativeBuildInputs = [ ··· 187 homepage = "https://www.rsyslog.com/"; 188 description = "Enhanced syslog implementation"; 189 changelog = "https://raw.githubusercontent.com/rsyslog/rsyslog/v${version}/ChangeLog"; 190 - license = licenses.gpl3; 191 platforms = platforms.linux; 192 maintainers = with maintainers; [ ]; 193 };
··· 62 63 stdenv.mkDerivation rec { 64 pname = "rsyslog"; 65 + version = "8.2212.0"; 66 67 src = fetchurl { 68 url = "https://www.rsyslog.com/files/download/rsyslog/${pname}-${version}.tar.gz"; 69 + hash = "sha256-U7Wahy49xzhM3BSavpdEkWd29wV9kF899nItLrGwTzU="; 70 }; 71 72 nativeBuildInputs = [ ··· 187 homepage = "https://www.rsyslog.com/"; 188 description = "Enhanced syslog implementation"; 189 changelog = "https://raw.githubusercontent.com/rsyslog/rsyslog/v${version}/ChangeLog"; 190 + license = licenses.gpl3Only; 191 platforms = platforms.linux; 192 maintainers = with maintainers; [ ]; 193 };
+7 -4
pkgs/top-level/all-packages.nix
··· 2175 2176 ares = darwin.apple_sdk_11_0.callPackage ../applications/emulators/bsnes/ares { }; 2177 2178 - bsnes-hd = callPackage ../applications/emulators/bsnes/bsnes-hd { 2179 - inherit (darwin.apple_sdk.frameworks) Cocoa OpenAL; 2180 - }; 2181 2182 higan = callPackage ../applications/emulators/bsnes/higan { }; 2183 ··· 4775 4776 hunt = callPackage ../tools/misc/hunt { }; 4777 4778 - hypr = callPackage ../applications/window-managers/hyprwm/hypr { }; 4779 4780 hyprland = callPackage ../applications/window-managers/hyprwm/hyprland { 4781 stdenv = gcc11Stdenv; ··· 11693 11694 skydns = callPackage ../servers/skydns { }; 11695 11696 sipcalc = callPackage ../tools/networking/sipcalc { }; 11697 11698 skribilo = callPackage ../tools/typesetting/skribilo { ··· 16108 lua51Packages = recurseIntoAttrs lua5_1.pkgs; 16109 lua52Packages = recurseIntoAttrs lua5_2.pkgs; 16110 lua53Packages = recurseIntoAttrs lua5_3.pkgs; 16111 luajitPackages = recurseIntoAttrs luajit.pkgs; 16112 16113 luaPackages = lua52Packages;
··· 2175 2176 ares = darwin.apple_sdk_11_0.callPackage ../applications/emulators/bsnes/ares { }; 2177 2178 + bsnes-hd = darwin.apple_sdk_11_0.callPackage ../applications/emulators/bsnes/bsnes-hd { }; 2179 2180 higan = callPackage ../applications/emulators/bsnes/higan { }; 2181 ··· 4773 4774 hunt = callPackage ../tools/misc/hunt { }; 4775 4776 + hypr = callPackage ../applications/window-managers/hyprwm/hypr { 4777 + cairo = cairo.override { xcbSupport = true; }; 4778 + }; 4779 4780 hyprland = callPackage ../applications/window-managers/hyprwm/hyprland { 4781 stdenv = gcc11Stdenv; ··· 11693 11694 skydns = callPackage ../servers/skydns { }; 11695 11696 + sing-box = callPackage ../tools/networking/sing-box { }; 11697 + 11698 sipcalc = callPackage ../tools/networking/sipcalc { }; 11699 11700 skribilo = callPackage ../tools/typesetting/skribilo { ··· 16110 lua51Packages = recurseIntoAttrs lua5_1.pkgs; 16111 lua52Packages = recurseIntoAttrs lua5_2.pkgs; 16112 lua53Packages = recurseIntoAttrs lua5_3.pkgs; 16113 + lua54Packages = recurseIntoAttrs lua5_4.pkgs; 16114 luajitPackages = recurseIntoAttrs luajit.pkgs; 16115 16116 luaPackages = lua52Packages;