lol

Merge master into staging-next

authored by

github-actions[bot] and committed by
GitHub
a8b75d6f 7def368b

+1182 -243
+17
nixos/doc/manual/from_md/release-notes/rl-2205.section.xml
··· 77 77 </listitem> 78 78 <listitem> 79 79 <para> 80 + <link xlink:href="https://frrouting.org/">FRRouting</link>, a 81 + popular suite of Internet routing protocol daemons (BGP, BFD, 82 + OSPF, IS-IS, VVRP and others). Available as 83 + <link linkend="opt-services.ffr.babel.enable">services.frr</link> 84 + </para> 85 + </listitem> 86 + <listitem> 87 + <para> 80 88 <link xlink:href="https://github.com/hifi/heisenbridge">heisenbridge</link>, 81 89 a bouncer-style Matrix IRC bridge. Available as 82 90 <link xlink:href="options.html#opt-services.heisenbridge.enable">services.heisenbridge</link>. ··· 435 443 <para> 436 444 The <literal>firmwareLinuxNonfree</literal> package has been 437 445 renamed to <literal>linux-firmware</literal>. 446 + </para> 447 + </listitem> 448 + <listitem> 449 + <para> 450 + A new module was added for the 451 + <link xlink:href="https://starship.rs/">Starship</link> shell 452 + prompt, providing the options 453 + <literal>programs.starship.enable</literal> and 454 + <literal>programs.starship.settings</literal>. 438 455 </para> 439 456 </listitem> 440 457 </itemizedlist>
+6
nixos/doc/manual/release-notes/rl-2205.section.md
··· 19 19 ## New Services {#sec-release-22.05-new-services} 20 20 21 21 - [aesmd](https://github.com/intel/linux-sgx#install-the-intelr-sgx-psw), the Intel SGX Architectural Enclave Service Manager. Available as [services.aesmd](#opt-services.aesmd.enable). 22 + 22 23 - [rootless Docker](https://docs.docker.com/engine/security/rootless/), a `systemd --user` Docker service which runs without root permissions. Available as [virtualisation.docker.rootless.enable](options.html#opt-virtualisation.docker.rootless.enable). 23 24 24 25 - [matrix-conduit](https://conduit.rs/), a simple, fast and reliable chat server powered by matrix. Available as [services.matrix-conduit](option.html#opt-services.matrix-conduit.enable). 25 26 26 27 - [filebeat](https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-overview.html), a lightweight shipper for forwarding and centralizing log data. Available as [services.filebeat](#opt-services.filebeat.enable). 28 + 29 + - [FRRouting](https://frrouting.org/), a popular suite of Internet routing protocol daemons (BGP, BFD, OSPF, IS-IS, VVRP and others). Available as [services.frr](#opt-services.ffr.babel.enable) 27 30 28 31 - [heisenbridge](https://github.com/hifi/heisenbridge), a bouncer-style Matrix IRC bridge. Available as [services.heisenbridge](options.html#opt-services.heisenbridge.enable). 29 32 ··· 154 157 - The option `services.thelounge.plugins` has been added to allow installing plugins for The Lounge. Plugins can be found in `pkgs.theLoungePlugins.plugins` and `pkgs.theLoungePlugins.themes`. 155 158 156 159 - The `firmwareLinuxNonfree` package has been renamed to `linux-firmware`. 160 + 161 + - A new module was added for the [Starship](https://starship.rs/) shell prompt, 162 + providing the options `programs.starship.enable` and `programs.starship.settings`.
+2
nixos/modules/module-list.nix
··· 198 198 ./programs/ssmtp.nix 199 199 ./programs/sysdig.nix 200 200 ./programs/systemtap.nix 201 + ./programs/starship.nix 201 202 ./programs/steam.nix 202 203 ./programs/sway.nix 203 204 ./programs/system-config-printer.nix ··· 746 747 ./services/networking/flannel.nix 747 748 ./services/networking/freenet.nix 748 749 ./services/networking/freeradius.nix 750 + ./services/networking/frr.nix 749 751 ./services/networking/gateone.nix 750 752 ./services/networking/gdomap.nix 751 753 ./services/networking/ghostunnel.nix
+51
nixos/modules/programs/starship.nix
··· 1 + { config, lib, pkgs, ... }: 2 + 3 + with lib; 4 + 5 + let 6 + cfg = config.programs.starship; 7 + 8 + settingsFormat = pkgs.formats.toml { }; 9 + 10 + settingsFile = settingsFormat.generate "starship.toml" cfg.settings; 11 + 12 + in { 13 + options.programs.starship = { 14 + enable = mkEnableOption "the Starship shell prompt"; 15 + 16 + settings = mkOption { 17 + inherit (settingsFormat) type; 18 + default = { }; 19 + description = '' 20 + Configuration included in <literal>starship.toml</literal>. 21 + 22 + See https://starship.rs/config/#prompt for documentation. 23 + ''; 24 + }; 25 + }; 26 + 27 + config = mkIf cfg.enable { 28 + programs.bash.promptInit = '' 29 + if [[ $TERM != "dumb" && (-z $INSIDE_EMACS || $INSIDE_EMACS == "vterm") ]]; then 30 + export STARSHIP_CONFIG=${settingsFile} 31 + eval "$(${pkgs.starship}/bin/starship init bash)" 32 + fi 33 + ''; 34 + 35 + programs.fish.promptInit = '' 36 + if test "$TERM" != "dumb" -a \( -z "$INSIDE_EMACS" -o "$INSIDE_EMACS" = "vterm" \) 37 + set -x STARSHIP_CONFIG ${settingsFile} 38 + eval (${pkgs.starship}/bin/starship init fish) 39 + end 40 + ''; 41 + 42 + programs.zsh.promptInit = '' 43 + if [[ $TERM != "dumb" && (-z $INSIDE_EMACS || $INSIDE_EMACS == "vterm") ]]; then 44 + export STARSHIP_CONFIG=${settingsFile} 45 + eval "$(${pkgs.starship}/bin/starship init zsh)" 46 + fi 47 + ''; 48 + }; 49 + 50 + meta.maintainers = pkgs.starship.meta.maintainers; 51 + }
+211
nixos/modules/services/networking/frr.nix
··· 1 + { config, lib, pkgs, ... }: 2 + 3 + with lib; 4 + 5 + let 6 + 7 + cfg = config.services.frr; 8 + 9 + services = [ 10 + "static" 11 + "bgp" 12 + "ospf" 13 + "ospf6" 14 + "rip" 15 + "ripng" 16 + "isis" 17 + "pim" 18 + "ldp" 19 + "nhrp" 20 + "eigrp" 21 + "babel" 22 + "sharp" 23 + "pbr" 24 + "bfd" 25 + "fabric" 26 + ]; 27 + 28 + allServices = services ++ [ "zebra" ]; 29 + 30 + isEnabled = service: cfg.${service}.enable; 31 + 32 + daemonName = service: if service == "zebra" then service else "${service}d"; 33 + 34 + configFile = service: 35 + let 36 + scfg = cfg.${service}; 37 + in 38 + if scfg.configFile != null then scfg.configFile 39 + else pkgs.writeText "${daemonName service}.conf" 40 + '' 41 + ! FRR ${daemonName service} configuration 42 + ! 43 + hostname ${config.networking.hostName} 44 + log syslog 45 + service password-encryption 46 + ! 47 + ${scfg.config} 48 + ! 49 + end 50 + ''; 51 + 52 + serviceOptions = service: 53 + { 54 + enable = mkEnableOption "the FRR ${toUpper service} routing protocol"; 55 + 56 + configFile = mkOption { 57 + type = types.nullOr types.path; 58 + default = null; 59 + example = "/etc/frr/${daemonName service}.conf"; 60 + description = '' 61 + Configuration file to use for FRR ${daemonName service}. 62 + By default the NixOS generated files are used. 63 + ''; 64 + }; 65 + 66 + config = mkOption { 67 + type = types.lines; 68 + default = ""; 69 + example = 70 + let 71 + examples = { 72 + rip = '' 73 + router rip 74 + network 10.0.0.0/8 75 + ''; 76 + 77 + ospf = '' 78 + router ospf 79 + network 10.0.0.0/8 area 0 80 + ''; 81 + 82 + bgp = '' 83 + router bgp 65001 84 + neighbor 10.0.0.1 remote-as 65001 85 + ''; 86 + }; 87 + in 88 + examples.${service} or ""; 89 + description = '' 90 + ${daemonName service} configuration statements. 91 + ''; 92 + }; 93 + 94 + vtyListenAddress = mkOption { 95 + type = types.str; 96 + default = "localhost"; 97 + description = '' 98 + Address to bind to for the VTY interface. 99 + ''; 100 + }; 101 + 102 + vtyListenPort = mkOption { 103 + type = types.nullOr types.int; 104 + default = null; 105 + description = '' 106 + TCP Port to bind to for the VTY interface. 107 + ''; 108 + }; 109 + }; 110 + 111 + in 112 + 113 + { 114 + 115 + ###### interface 116 + imports = [ 117 + { 118 + options.services.frr = { 119 + zebra = (serviceOptions "zebra") // { 120 + enable = mkOption { 121 + type = types.bool; 122 + default = any isEnabled services; 123 + description = '' 124 + Whether to enable the Zebra routing manager. 125 + 126 + The Zebra routing manager is automatically enabled 127 + if any routing protocols are configured. 128 + ''; 129 + }; 130 + }; 131 + }; 132 + } 133 + { options.services.frr = (genAttrs services serviceOptions); } 134 + ]; 135 + 136 + ###### implementation 137 + 138 + config = mkIf (any isEnabled allServices) { 139 + 140 + environment.systemPackages = [ 141 + pkgs.frr # for the vtysh tool 142 + ]; 143 + 144 + users.users.frr = { 145 + description = "FRR daemon user"; 146 + isSystemUser = true; 147 + group = "frr"; 148 + }; 149 + 150 + users.groups = { 151 + frr = {}; 152 + # Members of the frrvty group can use vtysh to inspect the FRR daemons 153 + frrvty = { members = [ "frr" ]; }; 154 + }; 155 + 156 + environment.etc = let 157 + mkEtcLink = service: { 158 + name = "frr/${service}.conf"; 159 + value.source = configFile service; 160 + }; 161 + in 162 + (builtins.listToAttrs 163 + (map mkEtcLink (filter isEnabled allServices))) // { 164 + "frr/vtysh.conf".text = ""; 165 + }; 166 + 167 + systemd.tmpfiles.rules = [ 168 + "d /run/frr 0750 frr frr -" 169 + ]; 170 + 171 + systemd.services = 172 + let 173 + frrService = service: 174 + let 175 + scfg = cfg.${service}; 176 + daemon = daemonName service; 177 + in 178 + nameValuePair daemon ({ 179 + wantedBy = [ "multi-user.target" ]; 180 + after = [ "network-pre.target" "systemd-sysctl.service" ] ++ lib.optionals (service != "zebra") [ "zebra.service" ]; 181 + bindsTo = lib.optionals (service != "zebra") [ "zebra.service" ]; 182 + wants = [ "network.target" ]; 183 + 184 + description = if service == "zebra" then "FRR Zebra routing manager" 185 + else "FRR ${toUpper service} routing daemon"; 186 + 187 + unitConfig.Documentation = if service == "zebra" then "man:zebra(8)" 188 + else "man:${daemon}(8) man:zebra(8)"; 189 + 190 + restartTriggers = [ 191 + (configFile service) 192 + ]; 193 + reloadIfChanged = true; 194 + 195 + serviceConfig = { 196 + PIDFile = "frr/${daemon}.pid"; 197 + ExecStart = "${pkgs.frr}/libexec/frr/${daemon} -f /etc/frr/${service}.conf" 198 + + optionalString (scfg.vtyListenAddress != "") " -A ${scfg.vtyListenAddress}" 199 + + optionalString (scfg.vtyListenPort != null) " -P ${toString scfg.vtyListenPort}"; 200 + ExecReload = "${pkgs.python3.interpreter} ${pkgs.frr}/libexec/frr/frr-reload.py --reload --daemon ${daemonName service} --bindir ${pkgs.frr}/bin --rundir /run/frr /etc/frr/${service}.conf"; 201 + Restart = "on-abnormal"; 202 + }; 203 + }); 204 + in 205 + listToAttrs (map frrService (filter isEnabled allServices)); 206 + 207 + }; 208 + 209 + meta.maintainers = with lib.maintainers; [ woffs ]; 210 + 211 + }
+2
nixos/tests/all-tests.nix
··· 143 143 fluidd = handleTest ./fluidd.nix {}; 144 144 fontconfig-default-fonts = handleTest ./fontconfig-default-fonts.nix {}; 145 145 freeswitch = handleTest ./freeswitch.nix {}; 146 + frr = handleTest ./frr.nix {}; 146 147 fsck = handleTest ./fsck.nix {}; 147 148 ft2-clone = handleTest ./ft2-clone.nix {}; 148 149 gerrit = handleTest ./gerrit.nix {}; ··· 445 446 sslh = handleTest ./sslh.nix {}; 446 447 sssd = handleTestOn ["x86_64-linux"] ./sssd.nix {}; 447 448 sssd-ldap = handleTestOn ["x86_64-linux"] ./sssd-ldap.nix {}; 449 + starship = handleTest ./starship.nix {}; 448 450 step-ca = handleTestOn ["x86_64-linux"] ./step-ca.nix {}; 449 451 strongswan-swanctl = handleTest ./strongswan-swanctl.nix {}; 450 452 sudo = handleTest ./sudo.nix {};
+104
nixos/tests/frr.nix
··· 1 + # This test runs FRR and checks if OSPF routing works. 2 + # 3 + # Network topology: 4 + # [ client ]--net1--[ router1 ]--net2--[ router2 ]--net3--[ server ] 5 + # 6 + # All interfaces are in OSPF Area 0. 7 + 8 + import ./make-test-python.nix ({ pkgs, ... }: 9 + let 10 + 11 + ifAddr = node: iface: (pkgs.lib.head node.config.networking.interfaces.${iface}.ipv4.addresses).address; 12 + 13 + ospfConf1 = '' 14 + router ospf 15 + network 192.168.0.0/16 area 0 16 + ''; 17 + 18 + ospfConf2 = '' 19 + interface eth2 20 + ip ospf hello-interval 1 21 + ip ospf dead-interval 5 22 + ! 23 + router ospf 24 + network 192.168.0.0/16 area 0 25 + ''; 26 + 27 + in 28 + { 29 + name = "frr"; 30 + 31 + meta = with pkgs.lib.maintainers; { 32 + maintainers = [ hexa ]; 33 + }; 34 + 35 + nodes = { 36 + 37 + client = 38 + { nodes, ... }: 39 + { 40 + virtualisation.vlans = [ 1 ]; 41 + networking.defaultGateway = ifAddr nodes.router1 "eth1"; 42 + }; 43 + 44 + router1 = 45 + { ... }: 46 + { 47 + virtualisation.vlans = [ 1 2 ]; 48 + boot.kernel.sysctl."net.ipv4.ip_forward" = "1"; 49 + networking.firewall.extraCommands = "iptables -A nixos-fw -i eth2 -p ospfigp -j ACCEPT"; 50 + services.frr.ospf = { 51 + enable = true; 52 + config = ospfConf1; 53 + }; 54 + 55 + specialisation.ospf.configuration = { 56 + services.frr.ospf.config = ospfConf2; 57 + }; 58 + }; 59 + 60 + router2 = 61 + { ... }: 62 + { 63 + virtualisation.vlans = [ 3 2 ]; 64 + boot.kernel.sysctl."net.ipv4.ip_forward" = "1"; 65 + networking.firewall.extraCommands = "iptables -A nixos-fw -i eth2 -p ospfigp -j ACCEPT"; 66 + services.frr.ospf = { 67 + enable = true; 68 + config = ospfConf2; 69 + }; 70 + }; 71 + 72 + server = 73 + { nodes, ... }: 74 + { 75 + virtualisation.vlans = [ 3 ]; 76 + networking.defaultGateway = ifAddr nodes.router2 "eth1"; 77 + }; 78 + }; 79 + 80 + testScript = 81 + { nodes, ... }: 82 + '' 83 + start_all() 84 + 85 + # Wait for the networking to start on all machines 86 + for machine in client, router1, router2, server: 87 + machine.wait_for_unit("network.target") 88 + 89 + with subtest("Wait for Zebra and OSPFD"): 90 + for gw in router1, router2: 91 + gw.wait_for_unit("zebra") 92 + gw.wait_for_unit("ospfd") 93 + 94 + router1.succeed("${nodes.router1.config.system.build.toplevel}/specialisation/ospf/bin/switch-to-configuration test >&2") 95 + 96 + with subtest("Wait for OSPF to form adjacencies"): 97 + for gw in router1, router2: 98 + gw.wait_until_succeeds("vtysh -c 'show ip ospf neighbor' | grep Full") 99 + gw.wait_until_succeeds("vtysh -c 'show ip route' | grep '^O>'") 100 + 101 + with subtest("Test ICMP"): 102 + client.wait_until_succeeds("ping -c 3 server >&2") 103 + ''; 104 + })
+31
nixos/tests/starship.nix
··· 1 + import ./make-test-python.nix ({ pkgs, ... }: { 2 + name = "starship"; 3 + meta.maintainers = pkgs.starship.meta.maintainers; 4 + 5 + machine = { 6 + programs = { 7 + fish.enable = true; 8 + zsh.enable = true; 9 + 10 + starship = { 11 + enable = true; 12 + settings.format = "<starship>"; 13 + }; 14 + }; 15 + 16 + services.getty.autologinUser = "root"; 17 + }; 18 + 19 + testScript = '' 20 + start_all() 21 + machine.wait_for_unit("default.target") 22 + 23 + for shell in ["bash", "fish", "zsh"]: 24 + machine.send_chars(f"script -c {shell} /tmp/{shell}.txt\n") 25 + machine.wait_until_tty_matches(1, f"Script started.*{shell}.txt") 26 + machine.send_chars("exit\n") 27 + machine.wait_until_tty_matches(1, "Script done") 28 + machine.sleep(1) 29 + machine.succeed(f"grep -q '<starship>' /tmp/{shell}.txt") 30 + ''; 31 + })
+41 -34
pkgs/applications/audio/meters_lv2/default.nix
··· 1 - { lib, stdenv, fetchurl, pkg-config 2 - , lv2, libGLU, libGL, gtk2, cairo, pango, fftwFloat, libjack2 }: 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , pkg-config 5 + , lv2 6 + , libGLU 7 + , libGL 8 + , gtk2 9 + , cairo 10 + , pango 11 + , fftwFloat 12 + , libjack2 13 + }: 3 14 4 - let 15 + stdenv.mkDerivation rec { 16 + pname = "meters.lv2"; 5 17 version = "0.9.10"; 6 - name = "meters.lv2-${version}"; 7 - 8 - # robtk submodule is pegged to this version 9 18 robtkVersion = "0.6.2"; 10 - robtkName = "robtk-${robtkVersion}"; 11 19 12 - src = fetchurl { 13 - name = "${name}.tar.gz"; 14 - url = "https://github.com/x42/meters.lv2/archive/v${version}.tar.gz"; 15 - sha256 = "0yfyn7j8g50w671b1z7ph4ppjx8ddj5c6nx53syp5y5mfr1b94nx"; 20 + nativeBuildInputs = [ pkg-config ]; 21 + buildInputs = [ lv2 libGLU libGL gtk2 cairo pango fftwFloat libjack2 ]; 22 + 23 + src = fetchFromGitHub { 24 + owner = "x42"; 25 + repo = "meters.lv2"; 26 + rev = "v${version}"; 27 + sha256 = "sha256-u2KIsaia0rAteQoEh6BLNCiRHFufHYF95z6J/EMgeSE="; 16 28 }; 17 29 18 - robtkSrc = fetchurl { 19 - name = "${robtkName}.tar.gz"; 20 - url = "https://github.com/x42/robtk/archive/v${robtkVersion}.tar.gz"; 21 - sha256 = "1v79xys1k2923wpivdjd44vand6c4agwvnrqi4c8kdv9r07b559v"; 30 + robtkSrc = fetchFromGitHub { 31 + owner = "x42"; 32 + repo = "robtk"; 33 + rev = "v${robtkVersion}"; 34 + sha256 = "sha256-zeRMobfKW0+wJwYVem74tglitkI6DSoK75Auywcu4Tw="; 22 35 }; 23 36 24 - in 25 - stdenv.mkDerivation { 26 - inherit name; 37 + postUnpack = '' 38 + rm -rf $sourceRoot/robtk/ 39 + ln -s ${robtkSrc} $sourceRoot/robtk 40 + ''; 27 41 28 - nativeBuildInputs = [ pkg-config ]; 29 - buildInputs = [ lv2 libGLU libGL gtk2 cairo pango fftwFloat libjack2 ]; 30 - 31 - srcs = [ src robtkSrc ]; 32 - sourceRoot = name; 33 - 34 - postUnpack = "mv ${robtkName}/* ${name}/robtk"; # */ 35 - 36 - preConfigure = "makeFlagsArray=( PREFIX=$out )"; 37 42 meter_VERSION = version; 43 + enableParallelBuilding = true; 44 + makeFlags = [ "PREFIX=${placeholder "out"}" ]; 38 45 39 - meta = with lib; 40 - { description = "Collection of audio level meters with GUI in LV2 plugin format"; 41 - homepage = "http://x42.github.io/meters.lv2/"; 42 - maintainers = with maintainers; [ ehmry ]; 43 - license = licenses.gpl2; 44 - platforms = platforms.linux; 45 - }; 46 + meta = with lib; { 47 + description = "Collection of audio level meters with GUI in LV2 plugin format"; 48 + homepage = "https://x42.github.io/meters.lv2/"; 49 + maintainers = with maintainers; [ ehmry ]; 50 + license = licenses.gpl2; 51 + platforms = platforms.linux; 52 + }; 46 53 }
+6 -4
pkgs/applications/blockchains/elements/default.nix
··· 1 1 { lib 2 2 , stdenv 3 - , fetchurl 3 + , fetchFromGitHub 4 4 , autoreconfHook 5 5 , pkg-config 6 6 , util-linux ··· 26 26 pname = if withGui then "elements" else "elementsd"; 27 27 version = "0.21.0.1"; 28 28 29 - src = fetchurl { 30 - url = "https://github.com/ElementsProject/elements/archive/elements-${version}.tar.gz"; 31 - sha256 = "00a2lrn77mfmr5dvrqwplk20gaxxq4cd9gcx667hgmfmmz1v6r6b"; 29 + src = fetchFromGitHub { 30 + owner = "ElementsProject"; 31 + repo = "elements"; 32 + rev = "elements-${version}"; 33 + sha256 = "sha256-nZa5doiFQJhtK8cUUISTZhS61HzW7CMB9pPsWKc8Gac="; 32 34 }; 33 35 34 36 nativeBuildInputs =
+2 -2
pkgs/applications/editors/featherpad/default.nix
··· 3 3 4 4 mkDerivation rec { 5 5 pname = "featherpad"; 6 - version = "1.1.0"; 6 + version = "1.1.1"; 7 7 8 8 src = fetchFromGitHub { 9 9 owner = "tsujan"; 10 10 repo = "FeatherPad"; 11 11 rev = "V${version}"; 12 - sha256 = "sha256-Sff1oyRYCsiJ7Kl3HxI/bln0M80KlbcNSw6jrEOeWiI="; 12 + sha256 = "sha256-qDhubKk6FLZmVxp4SkGm1B7zIg6rPtPRoFGCcBYUDFA="; 13 13 }; 14 14 15 15 nativeBuildInputs = [ cmake pkg-config qttools ];
+1 -1
pkgs/applications/kde/kbreakout.nix
··· 12 12 mkDerivation { 13 13 pname = "kbreakout"; 14 14 meta = { 15 - homepage = "KBreakOut"; 15 + homepage = "https://apps.kde.org/kbreakout/"; 16 16 description = "Breakout-like game"; 17 17 license = with lib.licenses; [ lgpl21 gpl3 ]; 18 18 };
+2 -2
pkgs/applications/misc/gphoto2/default.nix
··· 10 10 11 11 stdenv.mkDerivation rec { 12 12 pname = "gphoto2"; 13 - version = "2.5.27"; 13 + version = "2.5.28"; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "gphoto"; 17 17 repo = "gphoto2"; 18 18 rev = "v${version}"; 19 - sha256 = "sha256-zzlyA2IedyBZ4/TdSmrqbe2le8rFMQ6tY6jF5skJ7l4="; 19 + sha256 = "sha256-t5EnM4WaDbOTPM+rJW+hQxBgNErnnZEN9lZvxTKoDhA="; 20 20 }; 21 21 22 22 nativeBuildInputs = [
+3 -3
pkgs/applications/misc/hugo/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "hugo"; 5 - version = "0.91.2"; 5 + version = "0.92.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "gohugoio"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-6bqtw0hUrRBhTwEDURaTjgl3aVVCbfxjoPRfhSd3LK8="; 11 + sha256 = "sha256-rzAt6jGj1MJ5AvkEKjAH91mKnUcLOPgHgiDkzkdibks="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-M4pKAxNd8rqluVm+c+X+nxC/vcaVclebo9HP17yEpfo="; 14 + vendorSha256 = "sha256-ftA7ktZ6dEownEwJC4tK5/V3fl8toACiFiq9xTa7NE4="; 15 15 16 16 doCheck = false; 17 17
+60
pkgs/applications/misc/kup/default.nix
··· 1 + { lib, 2 + stdenv, 3 + fetchFromGitLab, 4 + extra-cmake-modules, 5 + shared-mime-info, 6 + wrapQtAppsHook, 7 + kcoreaddons, 8 + kdbusaddons, 9 + ki18n, 10 + kio, 11 + solid, 12 + kidletime, 13 + knotifications, 14 + kconfig, 15 + kinit, 16 + kjobwidgets, 17 + plasma-framework, 18 + libgit2 19 + }: 20 + 21 + stdenv.mkDerivation rec { 22 + pname = "kup"; 23 + version = "0.9.1"; 24 + 25 + src = fetchFromGitLab { 26 + domain = "invent.kde.org"; 27 + repo = pname; 28 + owner = "system"; 29 + rev = "${pname}-${version}"; 30 + sha256 = "1s180y6vzkxxcjpfdvrm90251rkaf3swzkjwdlpm6m4vnggq0hvs"; 31 + }; 32 + 33 + nativeBuildInputs = [ 34 + extra-cmake-modules 35 + shared-mime-info 36 + wrapQtAppsHook 37 + ]; 38 + 39 + buildInputs = [ 40 + kcoreaddons 41 + kdbusaddons 42 + ki18n 43 + kio 44 + solid 45 + kidletime 46 + knotifications 47 + kconfig 48 + kinit 49 + kjobwidgets 50 + plasma-framework 51 + libgit2 52 + ]; 53 + 54 + meta = with lib; { 55 + description = "Backup tool for KDE"; 56 + homepage = "https://apps.kde.org/kup"; 57 + license = licenses.gpl2Plus; 58 + maintainers = [ maintainers.pwoelfel ]; 59 + }; 60 + }
+21 -13
pkgs/applications/misc/toggldesktop/default.nix
··· 1 - { mkDerivation, lib, fetchzip, buildEnv, makeDesktopItem, runCommand, writeText, pkg-config 1 + { mkDerivation, lib, fetchFromGitHub, buildEnv, makeDesktopItem, runCommand, writeText, pkg-config 2 2 , cmake, qmake, cacert, jsoncpp, libX11, libXScrnSaver, lua, openssl, poco 3 3 , qtbase, qtwebengine, qtx11extras, sqlite }: 4 4 ··· 6 6 name = "toggldesktop-${version}"; 7 7 version = "7.4.231"; 8 8 9 - src = fetchzip { 10 - url = "https://github.com/toggl/toggldesktop/archive/v${version}.tar.gz"; 11 - sha256 = "01hqkx9dljnhwnyqi6mmzfp02hnbi2j50rsfiasniqrkbi99x9v1"; 9 + src = fetchFromGitHub { 10 + owner = "toggl"; 11 + repo = "toggldesktop"; 12 + rev = "v${version}"; 13 + sha256 = "sha256-YaeeUlwz42i1ik5nUKSIy0IBrvu1moi95dBK2lKfGAY="; 12 14 }; 13 15 14 16 bugsnag-qt = mkDerivation rec { 15 17 pname = "bugsnag-qt"; 16 18 version = "20180522.005732"; 17 19 18 - src = fetchzip { 19 - url = "https://github.com/alpakido/bugsnag-qt/archive/${version}.tar.gz"; 20 - sha256 = "02s6mlggh0i4a856md46dipy6mh47isap82jlwmjr7hfsk2ykgnq"; 20 + src = fetchFromGitHub { 21 + owner = "alpakido"; 22 + repo = "bugsnag-qt"; 23 + rev = version; 24 + sha256 = "sha256-2L7pxdQOniwrp1Kgq3Q8BFbjb2yGtGoKUiQC+B6tRgs="; 21 25 }; 22 26 23 27 nativeBuildInputs = [ qmake ]; ··· 28 32 pname = "qxtglobalshortcut"; 29 33 version = "f584471dada2099ba06c574bdfdd8b078c2e3550"; 30 34 31 - src = fetchzip { 32 - url = "https://github.com/hluk/qxtglobalshortcut/archive/${version}.tar.gz"; 33 - sha256 = "1iy17gypav10z8aa62s5jb6mq9y4kb9ms4l61ydmk3xwlap7igw1"; 35 + src = fetchFromGitHub { 36 + owner = "hluk"; 37 + repo = "qxtglobalshortcut"; 38 + rev = version; 39 + sha256 = "sha256-gb94rqK8j1mbD4YSXdOaxCdczZJFC6MU+iBsdf07wcc="; 34 40 }; 35 41 36 42 nativeBuildInputs = [ cmake ]; ··· 41 47 pname = "qt-oauth-lib"; 42 48 version = "20190125.190943"; 43 49 44 - src = fetchzip { 45 - url = "https://github.com/alpakido/qt-oauth-lib/archive/${version}.tar.gz"; 46 - sha256 = "0zmfgvdf6n79mgfvbda7lkdxxlzjmy86436gqi2r5x05vq04sfrj"; 50 + src = fetchFromGitHub { 51 + owner = "alpakido"; 52 + repo = "qt-oauth-lib"; 53 + rev = version; 54 + sha256 = "sha256-MjtNAN4F9JJFxM8MYpCv8tPe26RHtbXdq+lY49p+rn4="; 47 55 }; 48 56 49 57 nativeBuildInputs = [ qmake ];
+12 -12
pkgs/applications/networking/browsers/chromium/upstream-info.json
··· 19 19 } 20 20 }, 21 21 "beta": { 22 - "version": "97.0.4692.71", 23 - "sha256": "0z7ximvm4a78kxyp4j0i2jzklxazpw6jcqi9jkaf8bvq9ga8kqca", 24 - "sha256bin64": "18wr4pgzfcvvdpvvxhpd4as2qnyggq9f8z90ikdz8yj8i71l5wnc", 22 + "version": "98.0.4758.48", 23 + "sha256": "0c6lxmr8xxjhifm28v9ri05v5al9ph6infksx9qgd045svmfynxs", 24 + "sha256bin64": "0m7vbd7fy4wrbk28hw3hy6x8yb8vyyyisnicdhkp6j0xq9ni5jhj", 25 25 "deps": { 26 26 "gn": { 27 - "version": "2021-11-03", 27 + "version": "2021-12-07", 28 28 "url": "https://gn.googlesource.com/gn", 29 - "rev": "90294ccdcf9334ed25a76ac9b67689468e506342", 30 - "sha256": "0n0jml8s00ayy186jzrf207hbz70pxiq426znxwxd4gjcp60scsa" 29 + "rev": "fc295f3ac7ca4fe7acc6cb5fb052d22909ef3a8f", 30 + "sha256": "02bx3bp85kkis704gndb6jvjph7gv3ij746bq4anl30kfrkpcifh" 31 31 } 32 32 } 33 33 }, 34 34 "dev": { 35 - "version": "98.0.4758.9", 36 - "sha256": "1sq6v2hdhpk12w37sz7jf5vwkn72ydcqzcxysf7hs2flcfgscydj", 37 - "sha256bin64": "1jfj08jpxji2q890zbvpvmgf5bjqgvigkr1hg8ch8vaaybs5wr04", 35 + "version": "99.0.4818.0", 36 + "sha256": "1k8xzmybrmwgcyg4n7x3gj486rpwic17m6i5ij9nmfzcxx7fbwlm", 37 + "sha256bin64": "1jfqmv94ami3n6hzp9ycczqv3lh3wijsf555mg62rv4rdvw5adm6", 38 38 "deps": { 39 39 "gn": { 40 - "version": "2021-12-07", 40 + "version": "2022-01-07", 41 41 "url": "https://gn.googlesource.com/gn", 42 - "rev": "fc295f3ac7ca4fe7acc6cb5fb052d22909ef3a8f", 43 - "sha256": "02bx3bp85kkis704gndb6jvjph7gv3ij746bq4anl30kfrkpcifh" 42 + "rev": "f1b1412521b41e47118b29863224171e434a27a2", 43 + "sha256": "1cxq991by7sa5k1hvb5xx98bfqgq7rdbw3cawhyyqq91a521wsb7" 44 44 } 45 45 } 46 46 },
+3 -3
pkgs/applications/networking/browsers/tor-browser-bundle-bin/default.nix
··· 87 87 fteLibPath = makeLibraryPath [ stdenv.cc.cc gmp ]; 88 88 89 89 # Upstream source 90 - version = "11.0.3"; 90 + version = "11.0.4"; 91 91 92 92 lang = "en-US"; 93 93 ··· 97 97 "https://dist.torproject.org/torbrowser/${version}/tor-browser-linux64-${version}_${lang}.tar.xz" 98 98 "https://tor.eff.org/dist/torbrowser/${version}/tor-browser-linux64-${version}_${lang}.tar.xz" 99 99 ]; 100 - sha256 = "1a2nxxmjg1gk8p0bxxjqx2g9bwv4ivz8hndabg31nglzv83r7p35"; 100 + sha256 = "0pz1v5ig031wgnq3191ja08a4brdrbzziqnkpcrlra1wcdnzv985"; 101 101 }; 102 102 103 103 i686-linux = fetchurl { ··· 105 105 "https://dist.torproject.org/torbrowser/${version}/tor-browser-linux32-${version}_${lang}.tar.xz" 106 106 "https://tor.eff.org/dist/torbrowser/${version}/tor-browser-linux32-${version}_${lang}.tar.xz" 107 107 ]; 108 - sha256 = "0fjq6bj2b6rd66ky9i4p7asda0ghdcm6q0fnr92yan5x77pji73m"; 108 + sha256 = "0ykdgbm8f5lcv7p54f3ffxsaw2cdzbhk6sv7d2hm7d81fcnhmjq4"; 109 109 }; 110 110 }; 111 111 in
+3 -3
pkgs/applications/networking/instant-messengers/bitlbee/default.nix
··· 1 - { lib, fetchurl, fetchpatch, stdenv, gnutls, glib, pkg-config, check, libotr, python2 1 + { lib, fetchurl, fetchpatch, stdenv, gnutls, glib, pkg-config, check, libotr, python3 2 2 , enableLibPurple ? false, pidgin ? null 3 3 , enablePam ? false, pam ? null 4 4 }: ··· 15 15 16 16 nativeBuildInputs = [ pkg-config ] ++ optional doCheck check; 17 17 18 - buildInputs = [ gnutls libotr python2 ] 18 + buildInputs = [ gnutls libotr python3 ] 19 19 ++ optional enableLibPurple pidgin 20 20 ++ optional enablePam pam; 21 21 ··· 63 63 homepage = "https://www.bitlbee.org/"; 64 64 license = licenses.gpl2Plus; 65 65 66 - maintainers = with maintainers; [ pSub ]; 66 + maintainers = with maintainers; [ lassulus pSub ]; 67 67 platforms = platforms.gnu ++ platforms.linux; # arbitrary choice 68 68 }; 69 69 }
+2 -2
pkgs/applications/networking/instant-messengers/ferdi/default.nix
··· 17 17 mkFranzDerivation' rec { 18 18 pname = "ferdi"; 19 19 name = "Ferdi"; 20 - version = "5.6.5"; 20 + version = "5.6.10"; 21 21 src = fetchurl { 22 22 url = "https://github.com/getferdi/ferdi/releases/download/v${version}/ferdi_${version}_amd64.deb"; 23 - sha256 = "sha256-JeFPvU4xXHcv6/ApCDkejYWfA8lqsxwoFXnqIiOQ0+Y="; 23 + sha256 = "sha256-tm9tuIP4pVociJAiXVsZkDU+zCM5tVAlt+FNpOaiths="; 24 24 }; 25 25 extraBuildInputs = [ xorg.libxshmfence ]; 26 26 meta = with lib; {
+2 -2
pkgs/applications/networking/mailreaders/notmuch/default.nix
··· 11 11 12 12 stdenv.mkDerivation rec { 13 13 pname = "notmuch"; 14 - version = "0.34.2"; 14 + version = "0.34.3"; 15 15 16 16 src = fetchurl { 17 17 url = "https://notmuchmail.org/releases/notmuch-${version}.tar.xz"; 18 - sha256 = "wfLO7kf2iXESItcgWvKj/npKnYwy5OCyStZviN9qR9M="; 18 + sha256 = "sha256-P+kQSDv9gVpcO5UOImp7yoFWBT/TLXrR6xoKijrK6Ig="; 19 19 }; 20 20 21 21 patches = [
+3 -3
pkgs/applications/science/machine-learning/finalfusion-utils/default.nix
··· 12 12 13 13 rustPlatform.buildRustPackage rec { 14 14 pname = "finalfusion-utils"; 15 - version = "0.13.2"; 15 + version = "0.14.1"; 16 16 17 17 src = fetchFromGitHub { 18 18 owner = "finalfusion"; 19 19 repo = pname; 20 20 rev = version; 21 - sha256 = "sha256-Wv3K2G542e1bKuJB+dZi0SW4dbopvs7SBohv+zgi5MI="; 21 + sha256 = "sha256-suzivynlgk4VvDOC2dQR40n5IJHoJ736+ObdrM9dIqE="; 22 22 }; 23 23 24 - cargoSha256 = "sha256-oI7bq/yEXP7aMLWGKAecyq1lqq7ZbHtwxX2ldZMFY8I="; 24 + cargoSha256 = "sha256-HekjmctuzOWs5k/ihhsV8vVkm6906jEnFf3yvhkrA5Y="; 25 25 26 26 nativeBuildInputs = [ installShellFiles ]; 27 27
+4 -5
pkgs/applications/science/misc/cwltool/default.nix
··· 7 7 8 8 python3.pkgs.buildPythonApplication rec { 9 9 pname = "cwltool"; 10 - version = "3.1.20211104071347"; 10 + version = "3.1.20211107152837"; 11 11 format = "setuptools"; 12 - 13 - disabled = python3.pythonOlder "3.6"; 14 12 15 13 src = fetchFromGitHub { 16 14 owner = "common-workflow-language"; 17 15 repo = pname; 18 16 rev = version; 19 - sha256 = "sha256-tp4SdilW2PKav7b3/BchXYl33W9U0aQH6FPdOhHSvIQ="; 17 + sha256 = "sha256-hIkRzFLG9MujSaQrhWFPXegLLKTV96lVYP79+xpPfUQ="; 20 18 }; 21 19 22 20 postPatch = '' 23 21 substituteInPlace setup.py \ 24 - --replace 'prov == 1.5.1' 'prov' \ 22 + --replace "ruamel.yaml >= 0.15, < 0.17.18" "ruamel.yaml" \ 23 + --replace "prov == 1.5.1" "prov" \ 25 24 --replace "setup_requires=PYTEST_RUNNER," "" 26 25 ''; 27 26
+1 -1
pkgs/applications/version-management/cvs2svn/default.nix
··· 16 16 17 17 checkInputs = [ subversion git breezy ]; 18 18 19 - checkPhase = "pypy2 run-tests.py"; 19 + checkPhase = "${pypy2Packages.python.interpreter} run-tests.py"; 20 20 21 21 doCheck = false; # Couldn't find node 'transaction...' in expected output tree 22 22
+3 -3
pkgs/applications/version-management/git-and-tools/gitty/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "gitty"; 5 - version = "0.5.0"; 5 + version = "0.6.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "muesli"; 9 9 repo = "gitty"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-BlYZe8bLyr6QQmBwQQ0VySHohKLRVImECxfzAOPm8Xg="; 11 + sha256 = "sha256-gjiFaBM6PP937l5EQIeB27kGuZCT7cmVHm0UwuytqfE="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-LINOjjKicnr0T9RiOcSWWDl0bdY3c6EHHMTBA9LTOG4="; 14 + vendorSha256 = "sha256-CytlkfOzrmCRjj4tGoDUbqdim5DWElMYo1Tosw7Dhmg="; 15 15 16 16 ldflags = [ "-s" "-w" "-X=main.Version=${version}" ]; 17 17
+2 -2
pkgs/data/icons/kora-icon-theme/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "kora-icon-theme"; 5 - version = "1.4.9"; 5 + version = "1.5.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "bikass"; 9 9 repo = "kora"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-bhzkR8V/kdETC12mqMtTw+80o8AAD8sYeMhpktd0WMo="; 11 + sha256 = "sha256-kUgNj7KuxsQ/BvQ0ORl3xzEm9gv69+2PS0Bgv8i/S9U="; 12 12 }; 13 13 14 14 nativeBuildInputs = [
+9 -8
pkgs/development/compilers/chicken/4/egg2nix.nix
··· 1 - { lib, eggDerivation, fetchurl, chickenEggs }: 1 + { lib, eggDerivation, fetchFromGitHub, chickenEggs }: 2 2 3 3 # Note: This mostly reimplements the default.nix already contained in 4 4 # the tarball. Is there a nicer way than duplicating code? 5 5 6 - let 6 + eggDerivation rec { 7 + name = "egg2nix-${version}"; 7 8 version = "0.5"; 8 - in 9 - eggDerivation { 10 - src = fetchurl { 11 - url = "https://github.com/the-kenny/egg2nix/archive/${version}.tar.gz"; 12 - sha256 = "0adal428v4i7h9lzs7sfq75q2mxhsbf1qqwzrsjv8j41paars20y"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "the-kenny"; 12 + repo = "egg2nix"; 13 + rev = version; 14 + sha256 = "sha256-5ov2SWVyTUQ6NHnZNPRywd9e7oIxHlVWv4uWbsNaj/s="; 13 15 }; 14 16 15 - name = "egg2nix-${version}"; 16 17 buildInputs = with chickenEggs; [ 17 18 matchable http-client 18 19 ];
+6 -4
pkgs/development/compilers/fsharp/default.nix
··· 1 1 # Temporarily avoid dependency on dotnetbuildhelpers to avoid rebuilding many times while working on it 2 2 3 - { lib, stdenv, fetchurl, mono, pkg-config, dotnetbuildhelpers, autoconf, automake, which }: 3 + { lib, stdenv, fetchFromGitHub, mono, pkg-config, dotnetbuildhelpers, autoconf, automake, which }: 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "fsharp"; 7 7 version = "4.0.1.1"; 8 8 9 - src = fetchurl { 10 - url = "https://github.com/fsharp/fsharp/archive/${version}.tar.gz"; 11 - sha256 = "0mvmvwwpl4zq0yvgzdizww8l9azvlrc82xm32nz1fi1nw8x5qfqk"; 9 + src = fetchFromGitHub { 10 + owner = "fsharp"; 11 + repo = "fsharp"; 12 + rev = version; 13 + sha256 = "sha256-dgTEM2aL8lVjVMuW0+HLc+TUA39IiuBv/RfHYNURh5s="; 12 14 }; 13 15 14 16 nativeBuildInputs = [ pkg-config ];
+6 -4
pkgs/development/compilers/mosml/default.nix
··· 1 - { lib, stdenv, fetchurl, gmp, perl }: 1 + { lib, stdenv, fetchFromGitHub, gmp, perl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "mosml"; ··· 8 8 9 9 makeFlags = [ "PREFIX=$(out)" "CC=${stdenv.cc.targetPrefix}cc" ]; 10 10 11 - src = fetchurl { 12 - url = "https://github.com/kfl/mosml/archive/ver-${version}.tar.gz"; 13 - sha256 = "13x7wj94p0inn84pzpj52dch5s9lznqrj287bd3nk3dqd0v3kmgy"; 11 + src = fetchFromGitHub { 12 + owner = "kfl"; 13 + repo = "mosml"; 14 + rev = "ver-${version}"; 15 + sha256 = "sha256-GK39WvM7NNhoC5f0Wjy4/5VWT+Rbh2qo+W71hWrbPso="; 14 16 }; 15 17 16 18 setSourceRoot = ''export sourceRoot="$(echo */src)"'';
+8 -10
pkgs/development/compilers/teyjus/default.nix
··· 1 - { lib, stdenv, fetchurl, omake, ocaml, flex, bison }: 1 + { lib, stdenv, fetchFromGitHub, omake, ocaml, flex, bison }: 2 2 3 - let 4 - version = "2.1"; 5 - in 6 - 7 - stdenv.mkDerivation { 3 + stdenv.mkDerivation rec { 8 4 pname = "teyjus"; 9 - inherit version; 5 + version = "2.1"; 10 6 11 - src = fetchurl { 12 - url = "https://github.com/teyjus/teyjus/archive/v${version}.tar.gz"; 13 - sha256 = "0393wpg8v1vvarqy2xh4fdmrwlrl6jaj960kql7cq79mb9p3m269"; 7 + src = fetchFromGitHub { 8 + owner = "teyjus"; 9 + repo = "teyjus"; 10 + rev = "v${version}"; 11 + sha256 = "sha256-nz7jZ+GdF6mZQPzBrVD9K/RtoeuVRuhfs7vej4zDkhg="; 14 12 }; 15 13 16 14 patches = [ ./fix-lex-to-flex.patch ];
+6 -4
pkgs/development/interpreters/bats/default.nix
··· 1 - { stdenv, lib, fetchzip, bash, makeWrapper, coreutils, gnugrep, ncurses, doCheck ? true }: 1 + { stdenv, lib, fetchFromGitHub, bash, makeWrapper, coreutils, gnugrep, ncurses, doCheck ? true }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "bats"; 5 5 version = "1.5.0"; 6 6 7 - src = fetchzip { 8 - url = "https://github.com/bats-core/bats-core/archive/v${version}.tar.gz"; 9 - hash = "sha256-MEkMi2w8G9FZhE3JvzzbqObcErQ9WFXy5mtKwQOoxbk="; 7 + src = fetchFromGitHub { 8 + owner = "bats-core"; 9 + repo = "bats-core"; 10 + rev = "v${version}"; 11 + sha256 = "sha256-MEkMi2w8G9FZhE3JvzzbqObcErQ9WFXy5mtKwQOoxbk="; 10 12 }; 11 13 12 14 nativeBuildInputs = [ makeWrapper ];
+6 -4
pkgs/development/interpreters/lolcode/default.nix
··· 1 - { lib, stdenv, fetchurl, pkg-config, doxygen, cmake, readline }: 1 + { lib, stdenv, fetchFromGitHub, pkg-config, doxygen, cmake, readline }: 2 2 3 3 with lib; 4 4 stdenv.mkDerivation rec { ··· 6 6 pname = "lolcode"; 7 7 version = "0.11.2"; 8 8 9 - src = fetchurl { 10 - url = "https://github.com/justinmeza/lci/archive/v${version}.tar.gz"; 11 - sha256 = "1li7ikcrs7wqah7gqkirg0k61n6pm12w7pydin966x1sdn9na46b"; 9 + src = fetchFromGitHub { 10 + owner = "justinmeza"; 11 + repo = "lci"; 12 + rev = "v${version}"; 13 + sha256 = "sha256-VMBW3/sw+1kI6iuOckSPU1TIeY6QORcSfFLFkRYw3Gs="; 12 14 }; 13 15 14 16 nativeBuildInputs = [ pkg-config cmake doxygen ];
+6 -4
pkgs/development/libraries/libcec/platform.nix
··· 1 - { lib, stdenv, fetchurl, cmake }: 1 + { lib, stdenv, fetchFromGitHub, cmake }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "p8-platform"; 5 5 version = "2.1.0.1"; 6 6 7 - src = fetchurl { 8 - url = "https://github.com/Pulse-Eight/platform/archive/p8-platform-${version}.tar.gz"; 9 - sha256 = "18381y54f7d18ckpzf9cfxbz1ws6imprbbm9pvhcg5c86ln8skq6"; 7 + src = fetchFromGitHub { 8 + owner = "Pulse-Eight"; 9 + repo = "platform"; 10 + rev = "p8-platform-${version}"; 11 + sha256 = "sha256-zAI/AOLJAunv+cCQ6bOXrgkW+wl5frj3ktzx2cDeCCk="; 10 12 }; 11 13 12 14 nativeBuildInputs = [ cmake ];
+2 -2
pkgs/development/libraries/libite/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "libite"; 5 - version = "2.4.0"; 5 + version = "2.5.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "troglobit"; 9 9 repo = "libite"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-EV1YVOxd92z2hBZIqe6jzYV06YfNTAbZntZQdH05lBI="; 11 + sha256 = "sha256-G9X0ZMyasS9praogWnLDU1LeTvK4fYPgJ89o2y3AIJI="; 12 12 }; 13 13 14 14 nativeBuildInputs = [ autoreconfHook pkg-config ];
+61
pkgs/development/libraries/libyang/default.nix
··· 1 + { stdenv 2 + , lib 3 + , fetchFromGitHub 4 + 5 + # build time 6 + , cmake 7 + , pkg-config 8 + 9 + # run time 10 + , pcre2 11 + 12 + # update script 13 + , genericUpdater 14 + , common-updater-scripts 15 + }: 16 + 17 + stdenv.mkDerivation rec { 18 + pname = "libyang"; 19 + version = "2.0.112"; 20 + 21 + src = fetchFromGitHub { 22 + owner = "CESNET"; 23 + repo = "libyang"; 24 + rev = "v${version}"; 25 + sha256 = "sha256-f8x0tC3XcQ9fnUE987GYw8qEo/B+J759vpCImqG3QWs="; 26 + }; 27 + 28 + nativeBuildInputs = [ 29 + cmake 30 + pkg-config 31 + ]; 32 + 33 + buildInputs = [ 34 + pcre2 35 + ]; 36 + 37 + cmakeFlags = [ 38 + "-DCMAKE_INSTALL_LIBDIR=lib" 39 + "-DCMAKE_INSTALL_INCLUDEDIR=include" 40 + "-DCMAKE_BUILD_TYPE:String=Release" 41 + ]; 42 + 43 + passthru.updateScript = genericUpdater { 44 + inherit pname version; 45 + versionLister = "${common-updater-scripts}/bin/list-git-tags ${src.meta.homepage}"; 46 + rev-prefix = "v"; 47 + }; 48 + 49 + meta = with lib; { 50 + description = "YANG data modelling language parser and toolkit"; 51 + longDescription = '' 52 + libyang is a YANG data modelling language parser and toolkit written (and 53 + providing API) in C. The library is used e.g. in libnetconf2, Netopeer2, 54 + sysrepo or FRRouting projects. 55 + ''; 56 + homepage = "https://github.com/CESNET/libyang"; 57 + license = with licenses; [ bsd3 ]; 58 + platforms = platforms.unix; 59 + maintainers = with maintainers; [ woffs ]; 60 + }; 61 + }
+13 -11
pkgs/development/ocaml-modules/lwt/ppx.nix
··· 1 - { fetchzip, buildDunePackage, lwt, ppxlib }: 1 + { fetchFromGitHub, buildDunePackage, lwt, ppxlib }: 2 2 3 3 buildDunePackage { 4 4 pname = "lwt_ppx"; ··· 8 8 9 9 minimumOCamlVersion = "4.04"; 10 10 11 - src = fetchzip { 12 - # `lwt_ppx` has a different release cycle than Lwt, but it's included in 13 - # one of its release bundles. 14 - # Because there could exist an Lwt release _without_ a `lwt_ppx` release, 15 - # this `src` field doesn't inherit from the Lwt derivation. 16 - # 17 - # This is particularly useful for overriding Lwt without breaking `lwt_ppx`, 18 - # as new Lwt releases may contain broken `lwt_ppx` code. 19 - url = "https://github.com/ocsigen/lwt/archive/5.4.0.tar.gz"; 20 - sha256 = "1ay1zgadnw19r9hl2awfjr22n37l7rzxd9v73pjbahavwm2ay65d"; 11 + # `lwt_ppx` has a different release cycle than Lwt, but it's included in 12 + # one of its release bundles. 13 + # Because there could exist an Lwt release _without_ a `lwt_ppx` release, 14 + # this `src` field doesn't inherit from the Lwt derivation. 15 + # 16 + # This is particularly useful for overriding Lwt without breaking `lwt_ppx`, 17 + # as new Lwt releases may contain broken `lwt_ppx` code. 18 + src = fetchFromGitHub { 19 + owner = "ocsigen"; 20 + repo = "lwt"; 21 + rev = "5.4.0"; 22 + sha256 = "sha256-rRivROVbQbXkHWen1n8+9AwrRJaOK0Fhyilw29T7was="; 21 23 }; 22 24 23 25 propagatedBuildInputs = [ lwt ppxlib ];
+6 -4
pkgs/development/ocaml-modules/type_conv/109.60.01.nix
··· 1 - { stdenv, lib, fetchurl, ocaml, findlib, camlp4 }: 1 + { stdenv, lib, fetchFromGitHub, ocaml, findlib, camlp4 }: 2 2 3 3 if !lib.versionAtLeast ocaml.version "4.00" 4 4 || lib.versionAtLeast ocaml.version "4.03" ··· 8 8 pname = "ocaml-type_conv"; 9 9 version = "109.60.01"; 10 10 11 - src = fetchurl { 12 - url = "https://github.com/janestreet/type_conv/archive/${version}.tar.gz"; 13 - sha256 = "0lpxri68glgq1z2pp02rp45cb909xywbff8d4idljrf6fzzil2zx"; 11 + src = fetchFromGitHub { 12 + owner = "janestreet"; 13 + repo = "type_conv"; 14 + rev = version; 15 + sha256 = "sha256-8Oz/fPL3+RghyxQp5u6seSEdf0BgfP6XNcsMYty0rNs="; 14 16 }; 15 17 16 18 buildInputs = [ ocaml findlib camlp4 ];
+6 -4
pkgs/development/ocaml-modules/type_conv/112.01.01.nix
··· 1 - { lib, fetchurl, buildOcaml}: 1 + { lib, fetchFromGitHub, buildOcaml}: 2 2 3 3 buildOcaml rec { 4 4 minimumSupportedOcamlVersion = "4.02"; ··· 6 6 pname = "type_conv"; 7 7 version = "113.00.02"; 8 8 9 - src = fetchurl { 10 - url = "https://github.com/janestreet/type_conv/archive/${version}.tar.gz"; 11 - sha256 = "1718yl2q8zandrs4xqffkfmssfld1iz62dzcqdm925735c1x01fk"; 9 + src = fetchFromGitHub { 10 + owner = "janestreet"; 11 + repo = "type_conv"; 12 + rev = version; 13 + sha256 = "sha256-HzH0hnceCQ2kDRATjl+tfKk3XSBDsGnPzVUGYpDQUmU="; 12 14 }; 13 15 14 16 meta = {
+10 -3
pkgs/development/python-modules/billiard/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchPypi 4 - , isPyPy 5 4 , pytestCheckHook 6 5 , case 7 6 , psutil 7 + , pythonOlder 8 8 }: 9 9 10 10 buildPythonPackage rec { 11 11 pname = "billiard"; 12 12 version = "3.6.4.0"; 13 - disabled = isPyPy; 13 + format = "setuptools"; 14 + 15 + disabled = pythonOlder "3.7"; 14 16 15 17 src = fetchPypi { 16 18 inherit pname version; ··· 23 25 pytestCheckHook 24 26 ]; 25 27 28 + pythonImportsCheck = [ 29 + "billiard" 30 + ]; 31 + 26 32 meta = with lib; { 27 - homepage = "https://github.com/celery/billiard"; 28 33 description = "Python multiprocessing fork with improvements and bugfixes"; 34 + homepage = "https://github.com/celery/billiard"; 29 35 license = licenses.bsd3; 36 + maintainers = with maintainers; [ ]; 30 37 }; 31 38 }
+24 -4
pkgs/development/python-modules/case/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi 2 - , six, nose, unittest2, mock }: 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , nose 5 + , pythonOlder 6 + , pytestCheckHook 7 + , six 8 + }: 3 9 4 10 buildPythonPackage rec { 5 11 pname = "case"; 6 12 version = "1.5.3"; 13 + format = "setuptools"; 14 + 15 + disabled = pythonOlder "3.7"; 7 16 8 17 src = fetchPypi { 9 18 inherit pname version; 10 19 sha256 = "48432b01d91913451c3512c5b90e31b0f348f1074b166a3431085eb70d784fb1"; 11 20 }; 12 21 13 - propagatedBuildInputs = [ six nose unittest2 mock ]; 22 + propagatedBuildInputs = [ 23 + nose 24 + six 25 + ]; 26 + 27 + # No real unittests, only coverage 28 + doCheck = false; 29 + 30 + pythonImportsCheck = [ 31 + "case" 32 + ]; 14 33 15 34 meta = with lib; { 16 35 homepage = "https://github.com/celery/case"; 17 - description = "unittests utilities"; 36 + description = "Utilities for unittests handling"; 18 37 license = licenses.bsd3; 38 + maintainers = with maintainers; [ ]; 19 39 }; 20 40 }
+22 -2
pkgs/development/python-modules/deprecation/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, python, packaging, unittest2 }: 1 + { lib, buildPythonPackage, fetchPypi 2 + , fetchpatch 3 + , packaging 4 + , python 5 + , pythonAtLeast 6 + , pythonOlder 7 + , unittest2 8 + }: 2 9 3 10 buildPythonPackage rec { 4 11 pname = "deprecation"; ··· 9 16 sha256 = "1zqqjlgmhgkpzg9ss5ki8wamxl83xn51fs6gn2a8cxsx9vkbvcvj"; 10 17 }; 11 18 19 + patches = lib.optionals (pythonAtLeast "3.10") [ 20 + # fixes for python 3.10 test suite 21 + (fetchpatch { 22 + url = "https://github.com/briancurtin/deprecation/pull/57/commits/e13e23068cb8d653a02a434a159e8b0b7226ffd6.patch"; 23 + sha256 = "sha256-/5zr2V1s5ULUZnbLXsgyHxZH4m7/a27QYuqQt2Savc8="; 24 + includes = [ "tests/test_deprecation.py" ]; 25 + }) 26 + ]; 27 + 12 28 propagatedBuildInputs = [ packaging ]; 13 29 14 - checkInputs = [ unittest2 ]; 30 + # avoiding mass rebuilds for python3.9, but no longer 31 + # needed with patch 32 + checkInputs = lib.optional (pythonOlder "3.10") [ 33 + unittest2 34 + ]; 15 35 16 36 checkPhase = '' 17 37 ${python.interpreter} -m unittest discover
+3
pkgs/development/python-modules/jenkins-job-builder/default.nix
··· 17 17 }; 18 18 19 19 postPatch = '' 20 + # relax version constraint, https://storyboard.openstack.org/#!/story/2009723 21 + substituteInPlace requirements.txt --replace 'PyYAML>=3.10.0,<6' 'PyYAML>=3.10.0' 22 + 20 23 export HOME=$TMPDIR 21 24 ''; 22 25
+17 -23
pkgs/development/python-modules/pecan/default.nix
··· 1 1 { lib 2 2 , fetchPypi 3 - , fetchpatch 4 3 , buildPythonPackage 5 - , isPy27 6 - # Python deps 7 4 , logutils 8 5 , Mako 9 - , six 10 6 , webtest 11 - # Test Inputs 7 + , pythonOlder 12 8 , pytestCheckHook 13 9 , genshi 14 10 , gunicorn 15 11 , jinja2 16 - , Kajiki 17 - , mock 12 + , six 18 13 , sqlalchemy 19 14 , virtualenv 20 15 }: 21 16 22 17 buildPythonPackage rec { 23 18 pname = "pecan"; 24 - version = "1.4.0"; 19 + version = "1.4.1"; 20 + format = "setuptools"; 21 + 22 + disabled = pythonOlder "3.6"; 25 23 26 24 src = fetchPypi { 27 25 inherit pname version; 28 - sha256 = "4b2acd6802a04b59e306d0a6ccf37701d24376f4dc044bbbafba3afdf9d3389a"; 26 + sha256 = "sha256-LL0O7btXR8BM3xjEquTxxunZUPOvcK8lRLB09+16BIA="; 29 27 }; 30 28 31 - patches = [ 32 - (fetchpatch { 33 - name = "Support-SQLAlchemy-1.4x.patch"; 34 - url = "https://github.com/pecan/pecan/commit/a520bd544c0b02a02dbf692b8d6e2f7a503ee6d4.patch"; 35 - sha256 = "sha256-QCHRjwnpy8ndCvcuyE5Y65BybKYthJXDySUtmpJD8gY="; 36 - }) 37 - ]; 38 - 39 29 propagatedBuildInputs = [ 40 30 logutils 41 31 Mako 42 - six 43 32 webtest 33 + six 44 34 ]; 45 35 46 36 checkInputs = [ ··· 48 38 genshi 49 39 gunicorn 50 40 jinja2 51 - mock 52 41 sqlalchemy 53 42 virtualenv 54 - ] ++ lib.optionals isPy27 [ Kajiki ]; 43 + ]; 55 44 56 45 pytestFlagsArray = [ 57 - "--pyargs pecan " 46 + "--pyargs pecan" 47 + ]; 48 + 49 + pythonImportsCheck = [ 50 + "pecan" 58 51 ]; 59 52 60 53 meta = with lib; { 61 - description = "WSGI object-dispatching web framework, designed to be lean and fast"; 54 + changelog = "https://pecan.readthedocs.io/en/latest/changes.html"; 55 + description = "WSGI object-dispatching web framework"; 62 56 homepage = "https://www.pecanpy.org/"; 63 - changelog = "https://pecan.readthedocs.io/en/latest/changes.html"; 57 + license = licenses.bsd3; 64 58 maintainers = with maintainers; [ applePrincess ]; 65 59 }; 66 60 }
+1 -1
pkgs/development/python-modules/pykeyatome/default.nix
··· 52 52 53 53 meta = with lib; { 54 54 description = "Python module to get data from Atome Key"; 55 - homepage = "hhttps://github.com/jugla/pyKeyAtome"; 55 + homepage = "https://github.com/jugla/pyKeyAtome"; 56 56 license = licenses.mit; 57 57 maintainers = with maintainers; [ fab ]; 58 58 };
+18 -7
pkgs/development/python-modules/pyro4/default.nix
··· 10 10 }: 11 11 12 12 buildPythonPackage rec { 13 - pname = "Pyro4"; 14 - version = "4.81"; 13 + pname = "pyro4"; 14 + version = "4.82"; 15 + format = "setuptools"; 15 16 16 17 disabled = isPy27; 17 18 18 19 src = fetchPypi { 19 - inherit pname version; 20 - sha256 = "e130da06478b813173b959f7013d134865e07fbf58cc5f1a2598f99479cdac5f"; 20 + pname = "Pyro4"; 21 + inherit version; 22 + hash = "sha256-UR9bCATpLdd9wzrfnJR3h+P56cWpaxIWLwVXp8TOIfs="; 21 23 }; 22 24 23 25 propagatedBuildInputs = [ ··· 30 32 msgpack 31 33 ]; 32 34 33 - checkInputs = [ pytestCheckHook ]; 35 + checkInputs = [ 36 + pytestCheckHook 37 + ]; 34 38 35 39 # add testsupport.py to PATH 36 40 preCheck = "PYTHONPATH=tests/PyroTests:$PYTHONPATH"; 37 41 38 - # ignore network related tests, which fail in sandbox 39 - pytestFlagsArray = [ "--ignore=tests/PyroTests/test_naming.py" ]; 42 + 43 + pytestFlagsArray = [ 44 + # ignore network related tests, which fail in sandbox 45 + "--ignore=tests/PyroTests/test_naming.py" 46 + ]; 40 47 41 48 disabledTests = [ 42 49 "StartNSfunc" ··· 46 53 47 54 # otherwise the tests hang the build 48 55 __darwinAllowLocalNetworking = true; 56 + 57 + pythonImportsCheck = [ 58 + "Pyro4" 59 + ]; 49 60 50 61 meta = with lib; { 51 62 description = "Distributed object middleware for Python (RPC)";
+6 -7
pkgs/development/python-modules/pyrogram/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , pythonOlder 4 - , fetchFromGitHub 4 + , fetchPypi 5 5 , pyaes 6 6 , pysocks 7 7 , async-lru ··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "pyrogram"; 14 - version = "1.3.0"; 14 + version = "1.3.1"; 15 15 16 16 disabled = pythonOlder "3.6"; 17 17 18 - src = fetchFromGitHub { 19 - owner = "pyrogram"; 20 - repo = "pyrogram"; 21 - rev = "v${version}"; 22 - sha256 = "09rxdd5bl1yby76xd3wcyrmlb4glixs637nj1w05gh2rp3gppkf8"; 18 + src = fetchPypi { 19 + pname = "Pyrogram"; 20 + inherit version; 21 + sha256 = "e883c001ebf2d0f5ce6805063470c92436c493eb15547923e5d437e2c13f66cd"; 23 22 }; 24 23 25 24 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/pysma/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "pysma"; 12 - version = "0.6.9"; 12 + version = "0.6.10"; 13 13 format = "setuptools"; 14 14 15 15 disabled = pythonOlder "3.8"; 16 16 17 17 src = fetchPypi { 18 18 inherit pname version; 19 - sha256 = "sha256-2ZU3UjDNo+fpnYK4WlYSu7XqkbpcK7Xz5cUKDABhwdk="; 19 + sha256 = "990abf6dba3f52b98970fc95aaf484e521faa9ff28c9c19f5a6dca3fddf5840c"; 20 20 }; 21 21 22 22 propagatedBuildInputs = [
+1 -1
pkgs/development/python-modules/pyspnego/default.nix
··· 48 48 49 49 meta = with lib; { 50 50 description = "Python SPNEGO authentication library"; 51 - homepage = "Python SPNEGO authentication library"; 51 + homepage = "https://github.com/jborean93/pyspnego"; 52 52 license = with licenses; [ mit ]; 53 53 maintainers = with maintainers; [ fab ]; 54 54 };
+2 -2
pkgs/development/python-modules/pytest-order/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "pytest-order"; 13 - version = "1.0.0"; 13 + version = "1.0.1"; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - sha256 = "sha256-WZeiYrMSNO67Rh+anvJGh79zICm0mYRaQ5i2nttawyE="; 17 + sha256 = "sha256-Xda5KfvX6qbQ7gdYb2XGI7q7Cv5ytIQ8XxUFXWs7Gx8="; 18 18 }; 19 19 20 20 buildInputs = [ pytest ];
+5 -3
pkgs/development/tools/mani/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "mani"; 5 - version = "0.10.0"; 5 + version = "0.11.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "alajmo"; 9 9 repo = "mani"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-9rcgPeYFHdIN73K0zGPEHqFFLFkVYkNYRXJ+0/Zo4zI="; 11 + sha256 = "sha256-9SvjgXQADDNyv8O9KKE3gKXu67Nz5LepayUXSbWwEoY="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-ZivzDfjx2djzS0Xm3GISK3zpB5fUUMgy2o4Ti1Z9wMM="; 14 + vendorSha256 = "sha256-cuAZN08A2nND9d4c9w+kTqiMB9yaJ49Q0aT/V0J9FRw="; 15 15 16 16 nativeBuildInputs = [ installShellFiles makeWrapper ]; 17 + 18 + ldflags = [ "-s" "-w" "-X github.com/alajmo/mani/cmd.version=${version}" ]; 17 19 18 20 postInstall = '' 19 21 installShellCompletion --cmd mani \
+2 -1
pkgs/development/tools/parsing/tree-sitter/default.nix
··· 27 27 # to update: 28 28 # 1) change all these hashes 29 29 # 2) nix-build -A tree-sitter.updater.update-all-grammars 30 - # 3) run the ./result script that is output by that (it updates ./grammars) 30 + # 3) OPTIONAL: Set GITHUB_TOKEN env variable to avoid api rate limit 31 + # 4) run the ./result script that is output by that (it updates ./grammars) 31 32 version = "0.20.1"; 32 33 sha256 = "sha256-JKbL05hFWI0jhAnRT9D0SWCoRPFqoMD4+LQQ1zyWc7g="; 33 34 cargoSha256 = "sha256-64O+3GrDqhRGth20B2/+jNDYSnwvT3SqYVqYNthiCB0=";
+17 -6
pkgs/development/tools/parsing/tree-sitter/update.nix
··· 360 360 # generic bash script to find the latest github release for a repo 361 361 latestGithubRelease = { orga, repo }: writeShellScript "latest-github-release" '' 362 362 set -euo pipefail 363 - res=$(${curl}/bin/curl \ 364 - --silent \ 365 - "https://api.github.com/repos/${urlEscape orga}/${urlEscape repo}/releases/latest") 363 + 364 + args=( '--silent' ) 365 + if [ -n "$GITHUB_TOKEN" ]; then 366 + args+=( "-H" "Authorization: token ''${GITHUB_TOKEN}" ) 367 + fi 368 + args+=( "https://api.github.com/repos/${urlEscape orga}/${urlEscape repo}/releases/latest" ) 369 + 370 + res=$(${curl}/bin/curl "''${args[@]}") 371 + 366 372 if [[ "$(printf "%s" "$res" | ${jq}/bin/jq '.message?')" =~ "rate limit" ]]; then 367 373 echo "rate limited" >&2 368 374 fi ··· 378 384 # find the latest repos of a github organization 379 385 latestGithubRepos = { orga }: writeShellScript "latest-github-repos" '' 380 386 set -euo pipefail 381 - res=$(${curl}/bin/curl \ 382 - --silent \ 383 - 'https://api.github.com/orgs/${urlEscape orga}/repos?per_page=100') 387 + 388 + args=( '--silent' ) 389 + if [ -n "$GITHUB_TOKEN" ]; then 390 + args+=( "-H" "Authorization: token ''${GITHUB_TOKEN}" ) 391 + fi 392 + args+=( 'https://api.github.com/orgs/${urlEscape orga}/repos?per_page=100' ) 393 + 394 + res=$(${curl}/bin/curl "''${args[@]}") 384 395 385 396 if [[ "$(printf "%s" "$res" | ${jq}/bin/jq '.message?')" =~ "rate limit" ]]; then 386 397 echo "rate limited" >&2 #
+9 -4
pkgs/games/heroic/default.nix
··· 1 - { lib, fetchurl, appimageTools, python }: 1 + { lib, fetchurl, appimageTools, python, gsettings-desktop-schemas, gtk3 }: 2 2 3 3 let 4 4 pname = "heroic"; 5 - version = "1.10.3"; 5 + version = "2.0.2"; 6 6 name = "${pname}-${version}"; 7 7 src = fetchurl { 8 8 url = "https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/releases/download/v${version}/Heroic-${version}.AppImage"; 9 - sha256 = "sha256-0VQ5rSGGsEAsOLB4H/Hn2w7wCOrCSoVFzCBqNV5NyVE="; 9 + sha256 = "sha256-4gq0ZCcPIx/CkFNZTM5Atkd/GP6v1t3MO2tibrKkcZQ="; 10 10 }; 11 11 appimageContents = appimageTools.extractType2 { inherit name src; }; 12 12 13 - in appimageTools.wrapType2 { 13 + in 14 + appimageTools.wrapType2 { 14 15 inherit name src; 15 16 16 17 extraInstallCommands = '' ··· 26 27 27 28 substituteInPlace $out/share/applications/heroic.desktop \ 28 29 --replace 'Exec=AppRun' 'Exec=heroic' 30 + ''; 31 + 32 + profile = '' 33 + export XDG_DATA_DIRS=${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}:${gtk3}/share/gsettings-schemas/${gtk3.name}:$XDG_DATA_DIRS 29 34 ''; 30 35 31 36 meta = with lib; {
+12
pkgs/misc/vim-plugins/generated.nix
··· 3442 3442 meta.homepage = "https://github.com/vim-scripts/mayansmoke/"; 3443 3443 }; 3444 3444 3445 + mini-nvim = buildVimPluginFrom2Nix { 3446 + pname = "mini.nvim"; 3447 + version = "2022-01-06"; 3448 + src = fetchFromGitHub { 3449 + owner = "echasnovski"; 3450 + repo = "mini.nvim"; 3451 + rev = "a1aa674e94c81feb1fc210527324bfb1e4a08b6f"; 3452 + sha256 = "1blpk5p1lpd87ramnp5nqv188p8wdxsg8d1w811pmxqwas2ji7f5"; 3453 + }; 3454 + meta.homepage = "https://github.com/echasnovski/mini.nvim/"; 3455 + }; 3456 + 3445 3457 minimap-vim = buildVimPluginFrom2Nix { 3446 3458 pname = "minimap.vim"; 3447 3459 version = "2022-01-04";
+1
pkgs/misc/vim-plugins/vim-plugin-names
··· 129 129 eagletmt/ghcmod-vim 130 130 eagletmt/neco-ghc 131 131 easymotion/vim-easymotion 132 + echasnovski/mini.nvim 132 133 eddiebergman/nvim-treesitter-pyfold 133 134 eddyekofo94/gruvbox-flat.nvim 134 135 EdenEast/nightfox.nvim
+21 -20
pkgs/servers/calibre-web/default.nix
··· 16 16 sha256 = "sha256-rR5pUB3A0WNQxq7ZJ6ykua7hMlzs49aMmVbBUOkOVfA="; 17 17 }; 18 18 19 + propagatedBuildInputs = with python3Packages; [ 20 + backports_abc 21 + flask-babel 22 + flask_login 23 + flask_principal 24 + flask_wtf 25 + iso-639 26 + lxml 27 + pypdf3 28 + requests 29 + sqlalchemy 30 + tornado 31 + unidecode 32 + Wand 33 + ]; 34 + 19 35 patches = [ 20 36 # default-logger.patch switches default logger to /dev/stdout. Otherwise calibre-web tries to open a file relative 21 37 # to its location, which can't be done as the store is read-only. Log file location can later be configured using UI ··· 36 52 mv cps src/calibreweb 37 53 38 54 substituteInPlace setup.cfg \ 39 - --replace "requests>=2.11.1,<2.25.0" "requests" \ 40 55 --replace "cps = calibreweb:main" "calibre-web = calibreweb:main" \ 56 + --replace "flask-wtf>=0.14.2,<0.16.0" "flask-wtf>=0.14.2" \ 57 + --replace "lxml>=3.8.0,<4.7.0" "lxml>=3.8.0" \ 41 58 --replace "PyPDF3>=1.0.0,<1.0.4" "PyPDF3>=1.0.0" \ 42 - --replace "unidecode>=0.04.19,<1.3.0" "unidecode>=0.04.19" \ 43 - --replace "flask-wtf>=0.14.2,<0.16.0" "flask-wtf>=0.14.2" 59 + --replace "requests>=2.11.1,<2.25.0" "requests" \ 60 + --replace "unidecode>=0.04.19,<1.3.0" "unidecode>=0.04.19" 44 61 ''; 45 62 46 63 # Upstream repo doesn't provide any tests. 47 64 doCheck = false; 48 65 49 - propagatedBuildInputs = with python3Packages; [ 50 - backports_abc 51 - flask-babel 52 - flask_login 53 - flask_principal 54 - flask_wtf 55 - iso-639 56 - lxml 57 - pypdf3 58 - requests 59 - sqlalchemy 60 - tornado 61 - unidecode 62 - Wand 63 - ]; 64 - 65 66 passthru.tests.calibre-web = nixosTests.calibre-web; 66 67 67 68 meta = with lib; { 68 69 description = "Web app for browsing, reading and downloading eBooks stored in a Calibre database"; 69 - maintainers = with maintainers; [ pborzenkov ]; 70 70 homepage = "https://github.com/janeczku/calibre-web"; 71 71 license = licenses.gpl3Plus; 72 + maintainers = with maintainers; [ pborzenkov ]; 72 73 platforms = platforms.all; 73 74 }; 74 75 }
+137
pkgs/servers/frr/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , fetchpatch 5 + , python3Packages 6 + 7 + # build time 8 + , autoreconfHook 9 + , flex 10 + , bison 11 + , perl 12 + , pkg-config 13 + , texinfo 14 + 15 + # runtime 16 + , c-ares 17 + , json_c 18 + , libcap 19 + , libelf 20 + , libunwind 21 + , libyang 22 + , net-snmp 23 + , openssl 24 + , pam 25 + , pcre2 26 + , python3 27 + , readline 28 + 29 + # tests 30 + , nettools 31 + , nixosTests 32 + }: 33 + 34 + stdenv.mkDerivation rec { 35 + pname = "frr"; 36 + version = "8.1"; 37 + 38 + src = fetchFromGitHub { 39 + owner = "FRRouting"; 40 + repo = pname; 41 + rev = "${pname}-${version}"; 42 + sha256 = "sha256-hJcgLiPBxOE5QEh0RhtZhM3dOxFqW5H0TUjN+aP4qRk="; 43 + }; 44 + 45 + patches = [ 46 + (fetchpatch { 47 + # Fix clippy build on aarch64-linux 48 + # https://github.com/FRRouting/frr/issues/10267 49 + url = "https://github.com/FRRouting/frr/commit/3942ee1f7bc754dd0dd9ae79f89d0f2635be334f.patch"; 50 + sha256 = "1i0acfy5k9fbm9cxchrcvkhyw9704srq4wm2hyjqgdimm2dq7ryf"; 51 + }) 52 + ]; 53 + 54 + nativeBuildInputs = [ 55 + autoreconfHook 56 + bison 57 + flex 58 + perl 59 + pkg-config 60 + python3Packages.sphinx 61 + texinfo 62 + ]; 63 + 64 + buildInputs = [ 65 + c-ares 66 + json_c 67 + libelf 68 + libunwind 69 + libyang 70 + net-snmp 71 + openssl 72 + pam 73 + pcre2 74 + python3 75 + readline 76 + ] ++ lib.optionals stdenv.isLinux [ 77 + libcap 78 + ]; 79 + 80 + configureFlags = [ 81 + "--sysconfdir=/etc/frr" 82 + "--localstatedir=/run/frr" 83 + "--sbindir=$(out)/libexec/frr" 84 + "--disable-exampledir" 85 + "--enable-user=frr" 86 + "--enable-group=frr" 87 + "--enable-configfile-mask=0640" 88 + "--enable-logfile-mask=0640" 89 + "--enable-vty-group=frrvty" 90 + "--enable-snmp" 91 + "--enable-multipath=64" 92 + ]; 93 + 94 + postPatch = '' 95 + substituteInPlace tools/frr-reload --replace /usr/lib/frr/ $out/libexec/frr/ 96 + ''; 97 + 98 + doCheck = true; 99 + checkInputs = [ 100 + nettools 101 + python3Packages.pytest 102 + ]; 103 + 104 + enableParallelBuilding = true; 105 + 106 + passthru.tests = { inherit (nixosTests) frr; }; 107 + 108 + meta = with lib; { 109 + description = "FRR BGP/OSPF/ISIS/RIP/RIPNG routing daemon suite"; 110 + longDescription = '' 111 + FRRouting (FRR) is a free and open source Internet routing protocol suite 112 + for Linux and Unix platforms. It implements BGP, OSPF, RIP, IS-IS, PIM, 113 + LDP, BFD, Babel, PBR, OpenFabric and VRRP, with alpha support for EIGRP 114 + and NHRP. 115 + 116 + FRR’s seamless integration with native Linux/Unix IP networking stacks 117 + makes it a general purpose routing stack applicable to a wide variety of 118 + use cases including connecting hosts/VMs/containers to the network, 119 + advertising network services, LAN switching and routing, Internet access 120 + routers, and Internet peering. 121 + 122 + FRR has its roots in the Quagga project. In fact, it was started by many 123 + long-time Quagga developers who combined their efforts to improve on 124 + Quagga’s well-established foundation in order to create the best routing 125 + protocol stack available. We invite you to participate in the FRRouting 126 + community and help shape the future of networking. 127 + 128 + Join the ranks of network architects using FRR for ISPs, SaaS 129 + infrastructure, web 2.0 businesses, hyperscale services, and Fortune 500 130 + private clouds. 131 + ''; 132 + homepage = "https://frrouting.org/"; 133 + license = with licenses; [ gpl2Plus lgpl21Plus ]; 134 + platforms = platforms.unix; 135 + maintainers = with maintainers; [ woffs ]; 136 + }; 137 + }
+21
pkgs/servers/tracing/honeycomb/honeymarker/default.nix
··· 1 + { lib, buildGoModule, fetchurl }: 2 + import ./versions.nix ({version, sha256}: 3 + buildGoModule { 4 + pname = "honeymarker"; 5 + inherit version; 6 + vendorSha256 = "sha256-ZuDobjC/nizZ7G0o/zVTQmDfDjcdBhfPcmkhgwFc7VU="; 7 + 8 + src = fetchurl { 9 + url = "https://github.com/honeycombio/honeymarker/archive/refs/tags/v${version}.tar.gz"; 10 + inherit sha256; 11 + }; 12 + inherit (buildGoModule.go) GOOS GOARCH; 13 + 14 + meta = with lib; { 15 + description = "provides a simple CRUD interface for dealing with per-dataset markers on honeycomb.io"; 16 + homepage = "https://honeycomb.io/"; 17 + license = licenses.asl20; 18 + maintainers = [ maintainers.iand675 ]; 19 + }; 20 + }) 21 +
+6
pkgs/servers/tracing/honeycomb/honeymarker/versions.nix
··· 1 + generic: { 2 + v0_2_1 = generic { 3 + version = "0.2.1"; 4 + sha256 = "0gp427bsc1y7k6j1sqgl8r3kng5b0qhmqd4bpfb9139ivmp2sykk"; 5 + }; 6 + }
+21
pkgs/servers/tracing/honeycomb/honeytail/default.nix
··· 1 + { lib, buildGoModule, fetchurl }: 2 + import ./versions.nix ({version, sha256}: 3 + buildGoModule { 4 + pname = "honeytail"; 5 + inherit version; 6 + vendorSha256 = "sha256-LtiiLGLjhbfT49A6Fw5CbSbnmTHMxtcUssr+ayCVrvY="; 7 + 8 + src = fetchurl { 9 + url = "https://github.com/honeycombio/honeytail/archive/refs/tags/v${version}.tar.gz"; 10 + inherit sha256; 11 + }; 12 + inherit (buildGoModule.go) GOOS GOARCH; 13 + 14 + meta = with lib; { 15 + description = "agent for ingesting log file data into honeycomb.io and making it available for exploration"; 16 + homepage = "https://honeycomb.io/"; 17 + license = licenses.asl20; 18 + maintainers = [ maintainers.iand675 ]; 19 + }; 20 + }) 21 +
+6
pkgs/servers/tracing/honeycomb/honeytail/versions.nix
··· 1 + generic: { 2 + v1_6_0 = generic { 3 + version = "1.6.0"; 4 + sha256 = "039svpvqjck7s3rq86s29xgcyxl1wr0zj90s3jsyp058zk1dgwdy"; 5 + }; 6 + }
+21
pkgs/servers/tracing/honeycomb/honeyvent/default.nix
··· 1 + { lib, buildGoModule, fetchurl }: 2 + import ./versions.nix ({version, sha256}: 3 + buildGoModule { 4 + pname = "honeyvent"; 5 + inherit version; 6 + vendorSha256 = null; 7 + 8 + src = fetchurl { 9 + url = "https://github.com/honeycombio/honeyvent/archive/refs/tags/v${version}.tar.gz"; 10 + inherit sha256; 11 + }; 12 + inherit (buildGoModule.go) GOOS GOARCH; 13 + 14 + meta = with lib; { 15 + description = "CLI for sending individual events to honeycomb.io"; 16 + homepage = "https://honeycomb.io/"; 17 + license = licenses.asl20; 18 + maintainers = [ maintainers.iand675 ]; 19 + }; 20 + }) 21 +
+6
pkgs/servers/tracing/honeycomb/honeyvent/versions.nix
··· 1 + generic: { 2 + v1_1_0 = generic { 3 + version = "1.1.0"; 4 + sha256 = "0ar2m25ngdd1wk7d70j2781wbrvhjhf9cj9qvp24jjrhqng6hvn7"; 5 + }; 6 + }
+6 -1
pkgs/tools/misc/starship/default.nix
··· 6 6 , openssl 7 7 , installShellFiles 8 8 , libiconv 9 + , nixosTests 9 10 , Security 10 11 }: 11 12 ··· 40 41 HOME=$TMPDIR 41 42 ''; 42 43 44 + passthru.tests = { 45 + inherit (nixosTests) starship; 46 + }; 47 + 43 48 meta = with lib; { 44 49 description = "A minimal, blazing fast, and extremely customizable prompt for any shell"; 45 50 homepage = "https://starship.rs"; 46 51 license = licenses.isc; 47 - maintainers = with maintainers; [ bbigras davidtwco Br1ght0ne Frostman marsam ]; 52 + maintainers = with maintainers; [ bbigras danth davidtwco Br1ght0ne Frostman marsam ]; 48 53 }; 49 54 }
+2 -2
pkgs/tools/misc/steampipe/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "steampipe"; 5 - version = "0.11.0"; 5 + version = "0.11.2"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "turbot"; 9 9 repo = "steampipe"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-P/Fys9/V71+VL5Az3EGGaW+tdeQbr2wO+jvVSVZmJT0="; 11 + sha256 = "sha256-omg/MgCTKkj0p1vDvJs22/0Jhzim0CeISV0Kn9p5lh4="; 12 12 }; 13 13 14 14 vendorSha256 = "sha256-PYaq74NNEOJ1jZ6PoS6zcTiUN4JA9JDjO7GB9tqgT6c=";
+36
pkgs/tools/security/spire/default.nix
··· 1 + { lib, buildGoModule, fetchFromGitHub }: 2 + 3 + buildGoModule rec { 4 + pname = "spire"; 5 + version = "1.1.2"; 6 + 7 + outputs = [ "out" "agent" "server" ]; 8 + 9 + src = fetchFromGitHub { 10 + owner = "spiffe"; 11 + repo = pname; 12 + rev = "v${version}"; 13 + sha256 = "sha256-MX2kbdLj72S2WBceUW/3ps34Bcsf/VArK8RN4r13wQY="; 14 + }; 15 + 16 + vendorSha256 = "sha256-ZRcXMNKhNY3W5fV9q/V7xsnODoG6KWHrzpWte9hx/Ms="; 17 + 18 + subPackages = [ "cmd/spire-agent" "cmd/spire-server" ]; 19 + 20 + # Usually either the agent or server is needed for a given use case, but not both 21 + postInstall = '' 22 + mkdir -vp $agent/bin $server/bin 23 + mv -v $out/bin/spire-agent $agent/bin/ 24 + mv -v $out/bin/spire-server $server/bin/ 25 + 26 + ln -vs $agent/bin/spire-agent $out/bin/spire-agent 27 + ln -vs $server/bin/spire-server $out/bin/spire-server 28 + ''; 29 + 30 + meta = with lib; { 31 + description = "The SPIFFE Runtime Environment"; 32 + homepage = "github.com/spiffe/spire"; 33 + license = licenses.asl20; 34 + maintainers = with maintainers; [ jonringer ]; 35 + }; 36 + }
+17
pkgs/top-level/all-packages.nix
··· 5330 5330 5331 5331 flvstreamer = callPackage ../tools/networking/flvstreamer { }; 5332 5332 5333 + frr = callPackage ../servers/frr { }; 5334 + 5333 5335 hmetis = pkgsi686Linux.callPackage ../applications/science/math/hmetis { }; 5334 5336 5335 5337 libbsd = callPackage ../development/libraries/libbsd { }; ··· 9722 9724 spglib = callPackage ../development/libraries/spglib { }; 9723 9725 9724 9726 spicy = callPackage ../development/tools/spicy { }; 9727 + 9728 + spire = callPackage ../tools/security/spire { }; 9729 + # to match naming of other package repositories 9730 + spire-agent = spire.agent; 9731 + spire-server = spire.server; 9725 9732 9726 9733 spoof-mac = python3Packages.callPackage ../tools/networking/spoof-mac { }; 9727 9734 ··· 18718 18725 libyamlcpp = callPackage ../development/libraries/libyaml-cpp { }; 18719 18726 18720 18727 libyamlcpp_0_3 = callPackage ../development/libraries/libyaml-cpp/0.3.0.nix { }; 18728 + 18729 + libyang = callPackage ../development/libraries/libyang { }; 18721 18730 18722 18731 libcyaml = callPackage ../development/libraries/libcyaml { }; 18723 18732 ··· 26734 26743 26735 26744 kubetail = callPackage ../applications/networking/cluster/kubetail { } ; 26736 26745 26746 + kup = libsForQt5.callPackage ../applications/misc/kup { }; 26747 + 26737 26748 kupfer = callPackage ../applications/misc/kupfer { }; 26738 26749 26739 26750 kvirc = libsForQt514.callPackage ../applications/networking/irc/kvirc { }; ··· 34348 34359 }; 34349 34360 34350 34361 zthrottle = callPackage ../tools/misc/zthrottle { }; 34362 + 34363 + honeymarker = callPackage ../servers/tracing/honeycomb/honeymarker { }; 34364 + 34365 + honeytail = callPackage ../servers/tracing/honeycomb/honeytail { }; 34366 + 34367 + honeyvent = callPackage ../servers/tracing/honeycomb/honeyvent { }; 34351 34368 }