Merge staging-next into staging

authored by github-actions[bot] and committed by GitHub d1912336 c7ba59e4

+1577 -415
+1 -1
doc/contributing/coding-conventions.chapter.md
··· 456 owner = "NixOS"; 457 repo = "nix"; 458 rev = "1f795f9f44607cc5bec70d1300150bfefcef2aae"; 459 - hash = "ha256-7D4m+saJjbSFP5hOwpQq2FGR2rr+psQMTcyb1ZvtXsQ="; 460 } 461 ``` 462
··· 456 owner = "NixOS"; 457 repo = "nix"; 458 rev = "1f795f9f44607cc5bec70d1300150bfefcef2aae"; 459 + hash = "sha256-7D4m+saJjbSFP5hOwpQq2FGR2rr+psQMTcyb1ZvtXsQ="; 460 } 461 ``` 462
+73
lib/README.md
···
··· 1 + # Nixpkgs lib 2 + 3 + This directory contains the implementation, documentation and tests for the Nixpkgs `lib` library. 4 + 5 + ## Overview 6 + 7 + The evaluation entry point for `lib` is [`default.nix`](default.nix). 8 + This file evaluates to an attribute set containing two separate kinds of attributes: 9 + - Sub-libraries: 10 + Attribute sets grouping together similar functionality. 11 + Each sub-library is defined in a separate file usually matching its attribute name. 12 + 13 + Example: `lib.lists` is a sub-library containing list-related functionality such as `lib.lists.take` and `lib.lists.imap0`. 14 + These are defined in the file [`lists.nix`](lists.nix). 15 + 16 + - Aliases: 17 + Attributes that point to an attribute of the same name in some sub-library. 18 + 19 + Example: `lib.take` is an alias for `lib.lists.take`. 20 + 21 + Most files in this directory are definitions of sub-libraries, but there are a few others: 22 + - [`minver.nix`](minver.nix): A string of the minimum version of Nix that is required to evaluate Nixpkgs. 23 + - [`tests`](tests): Tests, see [Running tests](#running-tests) 24 + - [`release.nix`](tests/release.nix): A derivation aggregating all tests 25 + - [`misc.nix`](tests/misc.nix): Evaluation unit tests for most sub-libraries 26 + - `*.sh`: Bash scripts that run tests for specific sub-libraries 27 + - All other files in this directory exist to support the tests 28 + - [`systems`](systems): The `lib.systems` sub-library, structured into a directory instead of a file due to its complexity 29 + - [`path`](path): The `lib.path` sub-library, which includes tests as well as a document describing the design goals of `lib.path` 30 + - All other files in this directory are sub-libraries 31 + 32 + ### Module system 33 + 34 + The [module system](https://nixos.org/manual/nixpkgs/#module-system) spans multiple sub-libraries: 35 + - [`modules.nix`](modules.nix): `lib.modules` for the core functions and anything not relating to option definitions 36 + - [`options.nix`](options.nix): `lib.options` for anything relating to option definitions 37 + - [`types.nix`](types.nix): `lib.types` for module system types 38 + 39 + ## Reference documentation 40 + 41 + Reference documentation for library functions is written above each function as a multi-line comment. 42 + These comments are processed using [nixdoc](https://github.com/nix-community/nixdoc) and [rendered in the Nixpkgs manual](https://nixos.org/manual/nixpkgs/stable/#chap-functions). 43 + The nixdoc README describes the [comment format](https://github.com/nix-community/nixdoc#comment-format). 44 + 45 + See the [chapter on contributing to the Nixpkgs manual](https://nixos.org/manual/nixpkgs/#chap-contributing) for how to build the manual. 46 + 47 + ## Running tests 48 + 49 + All library tests can be run by building the derivation in [`tests/release.nix`](tests/release.nix): 50 + 51 + ```bash 52 + nix-build tests/release.nix 53 + ``` 54 + 55 + Some commands for quicker iteration over parts of the test suite are also available: 56 + 57 + ```bash 58 + # Run all evaluation unit tests in tests/misc.nix 59 + # if the resulting list is empty, all tests passed 60 + nix-instantiate --eval --strict tests/misc.nix 61 + 62 + # Run the module system tests 63 + tests/modules.sh 64 + 65 + # Run the lib.sources tests 66 + tests/sources.sh 67 + 68 + # Run the lib.filesystem tests 69 + tests/filesystem.sh 70 + 71 + # Run the lib.path property tests 72 + path/tests/prop.sh 73 + ```
+53
lib/path/default.nix
··· 20 concatMap 21 foldl' 22 take 23 ; 24 25 inherit (lib.strings) ··· 217 second argument: "${toString path2}" with root "${toString path2Deconstructed.root}"''; 218 take (length path1Deconstructed.components) path2Deconstructed.components == path1Deconstructed.components; 219 220 221 /* Whether a value is a valid subpath string. 222
··· 20 concatMap 21 foldl' 22 take 23 + drop 24 ; 25 26 inherit (lib.strings) ··· 218 second argument: "${toString path2}" with root "${toString path2Deconstructed.root}"''; 219 take (length path1Deconstructed.components) path2Deconstructed.components == path1Deconstructed.components; 220 221 + /* 222 + Remove the first path as a component-wise prefix from the second path. 223 + The result is a normalised subpath string, see `lib.path.subpath.normalise`. 224 + 225 + Laws: 226 + 227 + - Inverts `append` for normalised subpaths: 228 + 229 + removePrefix p (append p s) == subpath.normalise s 230 + 231 + Type: 232 + removePrefix :: Path -> Path -> String 233 + 234 + Example: 235 + removePrefix /foo /foo/bar/baz 236 + => "./bar/baz" 237 + removePrefix /foo /foo 238 + => "./." 239 + removePrefix /foo/bar /foo 240 + => <error> 241 + removePrefix /. /foo 242 + => "./foo" 243 + */ 244 + removePrefix = 245 + path1: 246 + assert assertMsg 247 + (isPath path1) 248 + "lib.path.removePrefix: First argument is of type ${typeOf path1}, but a path was expected."; 249 + let 250 + path1Deconstructed = deconstructPath path1; 251 + path1Length = length path1Deconstructed.components; 252 + in 253 + path2: 254 + assert assertMsg 255 + (isPath path2) 256 + "lib.path.removePrefix: Second argument is of type ${typeOf path2}, but a path was expected."; 257 + let 258 + path2Deconstructed = deconstructPath path2; 259 + success = take path1Length path2Deconstructed.components == path1Deconstructed.components; 260 + components = 261 + if success then 262 + drop path1Length path2Deconstructed.components 263 + else 264 + throw '' 265 + lib.path.removePrefix: The first path argument "${toString path1}" is not a component-wise prefix of the second path argument "${toString path2}".''; 266 + in 267 + assert assertMsg 268 + (path1Deconstructed.root == path2Deconstructed.root) '' 269 + lib.path.removePrefix: Filesystem roots must be the same for both paths, but paths with different roots were given: 270 + first argument: "${toString path1}" with root "${toString path1Deconstructed.root}" 271 + second argument: "${toString path2}" with root "${toString path2Deconstructed.root}"''; 272 + joinRelPath components; 273 274 /* Whether a value is a valid subpath string. 275
+5 -2
lib/path/tests/prop.sh
··· 1 #!/usr/bin/env bash 2 3 - # Property tests for the `lib.path` library 4 - # 5 # It generates random path-like strings and runs the functions on 6 # them, checking that the expected laws of the functions hold 7 8 set -euo pipefail 9 shopt -s inherit_errexit
··· 1 #!/usr/bin/env bash 2 3 + # Property tests for lib/path/default.nix 4 # It generates random path-like strings and runs the functions on 5 # them, checking that the expected laws of the functions hold 6 + # Run: 7 + # [nixpkgs]$ lib/path/tests/prop.sh 8 + # or: 9 + # [nixpkgs]$ nix-build lib/tests/release.nix 10 11 set -euo pipefail 12 shopt -s inherit_errexit
+18 -1
lib/path/tests/unit.nix
··· 3 { libpath }: 4 let 5 lib = import libpath; 6 - inherit (lib.path) hasPrefix append subpath; 7 8 cases = lib.runTests { 9 # Test examples from the lib.path.append documentation ··· 55 testHasPrefixExample4 = { 56 expr = hasPrefix /. /foo; 57 expected = true; 58 }; 59 60 # Test examples from the lib.path.subpath.isValid documentation
··· 3 { libpath }: 4 let 5 lib = import libpath; 6 + inherit (lib.path) hasPrefix removePrefix append subpath; 7 8 cases = lib.runTests { 9 # Test examples from the lib.path.append documentation ··· 55 testHasPrefixExample4 = { 56 expr = hasPrefix /. /foo; 57 expected = true; 58 + }; 59 + 60 + testRemovePrefixExample1 = { 61 + expr = removePrefix /foo /foo/bar/baz; 62 + expected = "./bar/baz"; 63 + }; 64 + testRemovePrefixExample2 = { 65 + expr = removePrefix /foo /foo; 66 + expected = "./."; 67 + }; 68 + testRemovePrefixExample3 = { 69 + expr = (builtins.tryEval (removePrefix /foo/bar /foo)).success; 70 + expected = false; 71 + }; 72 + testRemovePrefixExample4 = { 73 + expr = removePrefix /. /foo; 74 + expected = "./foo"; 75 }; 76 77 # Test examples from the lib.path.subpath.isValid documentation
+15 -3
lib/tests/misc.nix
··· 1 - # to run these tests: 2 - # nix-instantiate --eval --strict nixpkgs/lib/tests/misc.nix 3 - # if the resulting list is empty, all tests passed 4 with import ../default.nix; 5 6 let
··· 1 + /* 2 + Nix evaluation tests for various lib functions. 3 + 4 + Since these tests are implemented with Nix evaluation, error checking is limited to what `builtins.tryEval` can detect, which is `throw`'s and `abort`'s, without error messages. 5 + If you need to test error messages or more complex evaluations, see ./modules.sh, ./sources.sh or ./filesystem.sh as examples. 6 + 7 + To run these tests: 8 + 9 + [nixpkgs]$ nix-instantiate --eval --strict lib/tests/misc.nix 10 + 11 + If the resulting list is empty, all tests passed. 12 + Alternatively, to run all `lib` tests: 13 + 14 + [nixpkgs]$ nix-build lib/tests/release.nix 15 + */ 16 with import ../default.nix; 17 18 let
+7 -1
lib/tests/modules.sh
··· 1 #!/usr/bin/env bash 2 - # 3 # This script is used to test that the module system is working as expected. 4 # By default it test the version of nixpkgs which is defined in the NIX_PATH. 5 6 set -o errexit -o noclobber -o nounset -o pipefail 7 shopt -s failglob inherit_errexit
··· 1 #!/usr/bin/env bash 2 + 3 # This script is used to test that the module system is working as expected. 4 + # Executing it runs tests for `lib.modules`, `lib.options` and `lib.types`. 5 # By default it test the version of nixpkgs which is defined in the NIX_PATH. 6 + # 7 + # Run: 8 + # [nixpkgs]$ lib/tests/modules.sh 9 + # or: 10 + # [nixpkgs]$ nix-build lib/tests/release.nix 11 12 set -o errexit -o noclobber -o nounset -o pipefail 13 shopt -s failglob inherit_errexit
+7
lib/tests/sources.sh
··· 1 #!/usr/bin/env bash 2 set -euo pipefail 3 shopt -s inherit_errexit 4
··· 1 #!/usr/bin/env bash 2 + 3 + # Tests lib/sources.nix 4 + # Run: 5 + # [nixpkgs]$ lib/tests/sources.sh 6 + # or: 7 + # [nixpkgs]$ nix-build lib/tests/release.nix 8 + 9 set -euo pipefail 10 shopt -s inherit_errexit 11
+13
maintainers/maintainer-list.nix
··· 1697 fingerprint = "2688 0377 C31D 9E81 9BDF 83A8 C8C6 BDDB 3847 F72B"; 1698 }]; 1699 }; 1700 azd325 = { 1701 email = "tim.kleinschmidt@gmail.com"; 1702 github = "Azd325"; ··· 17037 githubId = 1733846; 17038 matrix = "@ty:tjll.net"; 17039 name = "Tyler Langlois"; 17040 }; 17041 typetetris = { 17042 email = "ericwolf42@mail.com";
··· 1697 fingerprint = "2688 0377 C31D 9E81 9BDF 83A8 C8C6 BDDB 3847 F72B"; 1698 }]; 1699 }; 1700 + azazak123 = { 1701 + email = "azazaka2002@gmail.com"; 1702 + matrix = "@ne_dvoeshnik:matrix.org"; 1703 + name = "Volodymyr Antonov"; 1704 + github = "azazak123"; 1705 + githubId = 50211158; 1706 + }; 1707 azd325 = { 1708 email = "tim.kleinschmidt@gmail.com"; 1709 github = "Azd325"; ··· 17044 githubId = 1733846; 17045 matrix = "@ty:tjll.net"; 17046 name = "Tyler Langlois"; 17047 + }; 17048 + tymscar = { 17049 + email = "oscar@tymscar.com"; 17050 + github = "tymscar"; 17051 + githubId = 3742502; 17052 + name = "Oscar Molnar"; 17053 }; 17054 typetetris = { 17055 email = "ericwolf42@mail.com";
+1 -1
maintainers/scripts/haskell/update-hackage.sh
··· 1 #! /usr/bin/env nix-shell 2 - #! nix-shell -i bash -p nix curl jq nix-prefetch-github git gnused -I nixpkgs=. 3 4 # See regenerate-hackage-packages.sh for details on the purpose of this script. 5
··· 1 #! /usr/bin/env nix-shell 2 + #! nix-shell -i bash -p nix curl jq git gnused -I nixpkgs=. 3 4 # See regenerate-hackage-packages.sh for details on the purpose of this script. 5
+1 -1
maintainers/scripts/haskell/update-stackage.sh
··· 1 #! /usr/bin/env nix-shell 2 - #! nix-shell -i bash -p nix curl jq nix-prefetch-github git gnused gnugrep -I nixpkgs=. 3 # shellcheck shell=bash 4 5 set -eu -o pipefail
··· 1 #! /usr/bin/env nix-shell 2 + #! nix-shell -i bash -p nix curl jq git gnused gnugrep -I nixpkgs=. 3 # shellcheck shell=bash 4 5 set -eu -o pipefail
+3
nixos/modules/module-list.nix
··· 222 ./programs/noisetorch.nix 223 ./programs/npm.nix 224 ./programs/oblogout.nix 225 ./programs/openvpn3.nix 226 ./programs/pantheon-tweaks.nix 227 ./programs/partition-manager.nix ··· 608 ./services/misc/autorandr.nix 609 ./services/misc/autosuspend.nix 610 ./services/misc/bazarr.nix 611 ./services/misc/beanstalkd.nix 612 ./services/misc/bees.nix 613 ./services/misc/bepasty.nix ··· 665 ./services/misc/mediatomb.nix 666 ./services/misc/metabase.nix 667 ./services/misc/moonraker.nix 668 ./services/misc/n8n.nix 669 ./services/misc/nitter.nix 670 ./services/misc/nix-gc.nix
··· 222 ./programs/noisetorch.nix 223 ./programs/npm.nix 224 ./programs/oblogout.nix 225 + ./programs/oddjobd.nix 226 ./programs/openvpn3.nix 227 ./programs/pantheon-tweaks.nix 228 ./programs/partition-manager.nix ··· 609 ./services/misc/autorandr.nix 610 ./services/misc/autosuspend.nix 611 ./services/misc/bazarr.nix 612 + ./services/misc/bcg.nix 613 ./services/misc/beanstalkd.nix 614 ./services/misc/bees.nix 615 ./services/misc/bepasty.nix ··· 667 ./services/misc/mediatomb.nix 668 ./services/misc/metabase.nix 669 ./services/misc/moonraker.nix 670 + ./services/misc/mqtt2influxdb.nix 671 ./services/misc/n8n.nix 672 ./services/misc/nitter.nix 673 ./services/misc/nix-gc.nix
+28
nixos/modules/programs/oddjobd.nix
···
··· 1 + { config, pkgs, lib, ... }: 2 + 3 + let 4 + cfg = config.programs.oddjobd; 5 + in 6 + { 7 + options.programs.oddjobd = { 8 + enable = lib.mkEnableOption "oddjob"; 9 + package = lib.mkPackageOption pkgs "oddjob" {}; 10 + }; 11 + 12 + config = lib.mkIf cfg.enable { 13 + systemd.packages = [ cfg.package ]; 14 + 15 + systemd.services.oddjobd = { 16 + wantedBy = [ "multi-user.target"]; 17 + after = [ "network.target"]; 18 + description = "DBUS Odd-job Daemon"; 19 + enable = true; 20 + documentation = [ "man:oddjobd(8)" "man:oddjobd.conf(5)" ]; 21 + serviceConfig = { 22 + Type = "dbus"; 23 + BusName = "org.freedesktop.oddjob"; 24 + ExecStart = "${lib.getExe cfg.package}/bin/oddjobd"; 25 + }; 26 + }; 27 + }; 28 + }
+175
nixos/modules/services/misc/bcg.nix
···
··· 1 + { 2 + config, 3 + lib, 4 + pkgs, 5 + ... 6 + }: 7 + 8 + with lib; 9 + 10 + let 11 + cfg = config.services.bcg; 12 + configFile = (pkgs.formats.yaml {}).generate "bcg.conf.yaml" ( 13 + filterAttrsRecursive (n: v: v != null) { 14 + inherit (cfg) device name mqtt; 15 + retain_node_messages = cfg.retainNodeMessages; 16 + qos_node_messages = cfg.qosNodeMessages; 17 + base_topic_prefix = cfg.baseTopicPrefix; 18 + automatic_remove_kit_from_names = cfg.automaticRemoveKitFromNames; 19 + automatic_rename_kit_nodes = cfg.automaticRenameKitNodes; 20 + automatic_rename_generic_nodes = cfg.automaticRenameGenericNodes; 21 + automatic_rename_nodes = cfg.automaticRenameNodes; 22 + } 23 + ); 24 + in 25 + { 26 + options = { 27 + services.bcg = { 28 + enable = mkEnableOption (mdDoc "BigClown gateway"); 29 + package = mkOption { 30 + default = pkgs.python3Packages.bcg; 31 + defaultText = literalExpression "pkgs.python3Packages.bcg"; 32 + description = mdDoc "Which bcg derivation to use."; 33 + type = types.package; 34 + }; 35 + environmentFiles = mkOption { 36 + type = types.listOf types.path; 37 + default = []; 38 + example = [ "/run/keys/bcg.env" ]; 39 + description = mdDoc '' 40 + File to load as environment file. Environment variables from this file 41 + will be interpolated into the config file using envsubst with this 42 + syntax: `$ENVIRONMENT` or `''${VARIABLE}`. 43 + This is useful to avoid putting secrets into the nix store. 44 + ''; 45 + }; 46 + verbose = mkOption { 47 + type = types.enum ["CRITICAL" "ERROR" "WARNING" "INFO" "DEBUG"]; 48 + default = "WARNING"; 49 + description = mdDoc "Verbosity level."; 50 + }; 51 + device = mkOption { 52 + type = types.str; 53 + description = mdDoc "Device name to configure gateway to use."; 54 + }; 55 + name = mkOption { 56 + type = with types; nullOr str; 57 + default = null; 58 + description = mdDoc '' 59 + Name for the device. 60 + 61 + Supported variables: 62 + * `{ip}` IP address 63 + * `{id}` The ID of the connected usb-dongle or core-module 64 + 65 + `null` can be used for automatic detection from gateway firmware. 66 + ''; 67 + }; 68 + mqtt = { 69 + host = mkOption { 70 + type = types.str; 71 + default = "127.0.0.1"; 72 + description = mdDoc "Host where MQTT server is running."; 73 + }; 74 + port = mkOption { 75 + type = types.port; 76 + default = 1883; 77 + description = mdDoc "Port of MQTT server."; 78 + }; 79 + username = mkOption { 80 + type = with types; nullOr str; 81 + default = null; 82 + description = mdDoc "MQTT server access username."; 83 + }; 84 + password = mkOption { 85 + type = with types; nullOr str; 86 + default = null; 87 + description = mdDoc "MQTT server access password."; 88 + }; 89 + cafile = mkOption { 90 + type = with types; nullOr str; 91 + default = null; 92 + description = mdDoc "Certificate Authority file for MQTT server access."; 93 + }; 94 + certfile = mkOption { 95 + type = with types; nullOr str; 96 + default = null; 97 + description = mdDoc "Certificate file for MQTT server access."; 98 + }; 99 + keyfile = mkOption { 100 + type = with types; nullOr str; 101 + default = null; 102 + description = mdDoc "Key file for MQTT server access."; 103 + }; 104 + }; 105 + retainNodeMessages = mkOption { 106 + type = types.bool; 107 + default = false; 108 + description = mdDoc "Specify that node messages should be retaied in MQTT broker."; 109 + }; 110 + qosNodeMessages = mkOption { 111 + type = types.int; 112 + default = 1; 113 + description = mdDoc "Set the guarantee of MQTT message delivery."; 114 + }; 115 + baseTopicPrefix = mkOption { 116 + type = types.str; 117 + default = ""; 118 + description = mdDoc "Topic prefix added to all MQTT messages."; 119 + }; 120 + automaticRemoveKitFromNames = mkOption { 121 + type = types.bool; 122 + default = true; 123 + description = mdDoc "Automatically remove kits."; 124 + }; 125 + automaticRenameKitNodes = mkOption { 126 + type = types.bool; 127 + default = true; 128 + description = mdDoc "Automatically rename kit's nodes."; 129 + }; 130 + automaticRenameGenericNodes = mkOption { 131 + type = types.bool; 132 + default = true; 133 + description = mdDoc "Automatically rename generic nodes."; 134 + }; 135 + automaticRenameNodes = mkOption { 136 + type = types.bool; 137 + default = true; 138 + description = mdDoc "Automatically rename all nodes."; 139 + }; 140 + rename = mkOption { 141 + type = with types; attrsOf str; 142 + default = {}; 143 + description = mdDoc "Rename nodes to different name."; 144 + }; 145 + }; 146 + }; 147 + 148 + config = mkIf cfg.enable { 149 + environment.systemPackages = with pkgs; [ 150 + python3Packages.bcg 151 + python3Packages.bch 152 + ]; 153 + 154 + systemd.services.bcg = let 155 + envConfig = cfg.environmentFiles != []; 156 + finalConfig = if envConfig 157 + then "$RUNTIME_DIRECTORY/bcg.config.yaml" 158 + else configFile; 159 + in { 160 + description = "BigClown Gateway"; 161 + wantedBy = [ "multi-user.target" ]; 162 + wants = mkIf config.services.mosquitto.enable [ "mosquitto.service" ]; 163 + after = [ "network-online.target" ]; 164 + preStart = '' 165 + umask 077 166 + ${pkgs.envsubst}/bin/envsubst -i "${configFile}" -o "${finalConfig}" 167 + ''; 168 + serviceConfig = { 169 + EnvironmentFile = cfg.environmentFiles; 170 + ExecStart="${cfg.package}/bin/bcg -c ${finalConfig} -v ${cfg.verbose}"; 171 + RuntimeDirectory = "bcg"; 172 + }; 173 + }; 174 + }; 175 + }
+253
nixos/modules/services/misc/mqtt2influxdb.nix
···
··· 1 + { 2 + config, 3 + lib, 4 + pkgs, 5 + ... 6 + }: 7 + 8 + with lib; 9 + 10 + let 11 + cfg = config.services.mqtt2influxdb; 12 + filterNull = filterAttrsRecursive (n: v: v != null); 13 + configFile = (pkgs.formats.yaml {}).generate "mqtt2influxdb.config.yaml" ( 14 + filterNull { 15 + inherit (cfg) mqtt influxdb; 16 + points = map filterNull cfg.points; 17 + } 18 + ); 19 + 20 + pointType = types.submodule { 21 + options = { 22 + measurement = mkOption { 23 + type = types.str; 24 + description = mdDoc "Name of the measurement"; 25 + }; 26 + topic = mkOption { 27 + type = types.str; 28 + description = mdDoc "MQTT topic to subscribe to."; 29 + }; 30 + fields = mkOption { 31 + type = types.submodule { 32 + options = { 33 + value = mkOption { 34 + type = types.str; 35 + default = "$.payload"; 36 + description = mdDoc "Value to be picked up"; 37 + }; 38 + type = mkOption { 39 + type = with types; nullOr str; 40 + default = null; 41 + description = mdDoc "Type to be picked up"; 42 + }; 43 + }; 44 + }; 45 + description = mdDoc "Field selector."; 46 + }; 47 + tags = mkOption { 48 + type = with types; attrsOf str; 49 + default = {}; 50 + description = mdDoc "Tags applied"; 51 + }; 52 + }; 53 + }; 54 + 55 + defaultPoints = [ 56 + { 57 + measurement = "temperature"; 58 + topic = "node/+/thermometer/+/temperature"; 59 + fields.value = "$.payload"; 60 + tags = { 61 + id = "$.topic[1]"; 62 + channel = "$.topic[3]"; 63 + }; 64 + } 65 + { 66 + measurement = "relative-humidity"; 67 + topic = "node/+/hygrometer/+/relative-humidity"; 68 + fields.value = "$.payload"; 69 + tags = { 70 + id = "$.topic[1]"; 71 + channel = "$.topic[3]"; 72 + }; 73 + } 74 + { 75 + measurement = "illuminance"; 76 + topic = "node/+/lux-meter/0:0/illuminance"; 77 + fields.value = "$.payload"; 78 + tags = { 79 + id = "$.topic[1]"; 80 + }; 81 + } 82 + { 83 + measurement = "pressure"; 84 + topic = "node/+/barometer/0:0/pressure"; 85 + fields.value = "$.payload"; 86 + tags = { 87 + id = "$.topic[1]"; 88 + }; 89 + } 90 + { 91 + measurement = "co2"; 92 + topic = "node/+/co2-meter/-/concentration"; 93 + fields.value = "$.payload"; 94 + tags = { 95 + id = "$.topic[1]"; 96 + }; 97 + } 98 + { 99 + measurement = "voltage"; 100 + topic = "node/+/battery/+/voltage"; 101 + fields.value = "$.payload"; 102 + tags = { 103 + id = "$.topic[1]"; 104 + }; 105 + } 106 + { 107 + measurement = "button"; 108 + topic = "node/+/push-button/+/event-count"; 109 + fields.value = "$.payload"; 110 + tags = { 111 + id = "$.topic[1]"; 112 + channel = "$.topic[3]"; 113 + }; 114 + } 115 + { 116 + measurement = "tvoc"; 117 + topic = "node/+/voc-lp-sensor/0:0/tvoc"; 118 + fields.value = "$.payload"; 119 + tags = { 120 + id = "$.topic[1]"; 121 + }; 122 + } 123 + ]; 124 + in { 125 + options = { 126 + services.mqtt2influxdb = { 127 + enable = mkEnableOption (mdDoc "BigClown MQTT to InfluxDB bridge."); 128 + environmentFiles = mkOption { 129 + type = types.listOf types.path; 130 + default = []; 131 + example = [ "/run/keys/mqtt2influxdb.env" ]; 132 + description = mdDoc '' 133 + File to load as environment file. Environment variables from this file 134 + will be interpolated into the config file using envsubst with this 135 + syntax: `$ENVIRONMENT` or `''${VARIABLE}`. 136 + This is useful to avoid putting secrets into the nix store. 137 + ''; 138 + }; 139 + mqtt = { 140 + host = mkOption { 141 + type = types.str; 142 + default = "127.0.0.1"; 143 + description = mdDoc "Host where MQTT server is running."; 144 + }; 145 + port = mkOption { 146 + type = types.port; 147 + default = 1883; 148 + description = mdDoc "MQTT server port."; 149 + }; 150 + username = mkOption { 151 + type = with types; nullOr str; 152 + default = null; 153 + description = mdDoc "Username used to connect to the MQTT server."; 154 + }; 155 + password = mkOption { 156 + type = with types; nullOr str; 157 + default = null; 158 + description = mdDoc '' 159 + MQTT password. 160 + 161 + It is highly suggested to use here replacement through 162 + environmentFiles as otherwise the password is put world readable to 163 + the store. 164 + ''; 165 + }; 166 + cafile = mkOption { 167 + type = with types; nullOr path; 168 + default = null; 169 + description = mdDoc "Certification Authority file for MQTT"; 170 + }; 171 + certfile = mkOption { 172 + type = with types; nullOr path; 173 + default = null; 174 + description = mdDoc "Certificate file for MQTT"; 175 + }; 176 + keyfile = mkOption { 177 + type = with types; nullOr path; 178 + default = null; 179 + description = mdDoc "Key file for MQTT"; 180 + }; 181 + }; 182 + influxdb = { 183 + host = mkOption { 184 + type = types.str; 185 + default = "127.0.0.1"; 186 + description = mdDoc "Host where InfluxDB server is running."; 187 + }; 188 + port = mkOption { 189 + type = types.port; 190 + default = 8086; 191 + description = mdDoc "InfluxDB server port"; 192 + }; 193 + database = mkOption { 194 + type = types.str; 195 + description = mdDoc "Name of the InfluxDB database."; 196 + }; 197 + username = mkOption { 198 + type = with types; nullOr str; 199 + default = null; 200 + description = mdDoc "Username for InfluxDB login."; 201 + }; 202 + password = mkOption { 203 + type = with types; nullOr str; 204 + default = null; 205 + description = mdDoc '' 206 + Password for InfluxDB login. 207 + 208 + It is highly suggested to use here replacement through 209 + environmentFiles as otherwise the password is put world readable to 210 + the store. 211 + ''; 212 + }; 213 + ssl = mkOption { 214 + type = types.bool; 215 + default = false; 216 + description = mdDoc "Use SSL to connect to the InfluxDB server."; 217 + }; 218 + verify_ssl = mkOption { 219 + type = types.bool; 220 + default = true; 221 + description = mdDoc "Verify SSL certificate when connecting to the InfluxDB server."; 222 + }; 223 + }; 224 + points = mkOption { 225 + type = types.listOf pointType; 226 + default = defaultPoints; 227 + description = mdDoc "Points to bridge from MQTT to InfluxDB."; 228 + }; 229 + }; 230 + }; 231 + 232 + config = mkIf cfg.enable { 233 + systemd.services.bigclown-mqtt2influxdb = let 234 + envConfig = cfg.environmentFiles != []; 235 + finalConfig = if envConfig 236 + then "$RUNTIME_DIRECTORY/mqtt2influxdb.config.yaml" 237 + else configFile; 238 + in { 239 + description = "BigClown MQTT to InfluxDB bridge"; 240 + wantedBy = ["multi-user.target"]; 241 + wants = mkIf config.services.mosquitto.enable ["mosquitto.service"]; 242 + preStart = '' 243 + umask 077 244 + ${pkgs.envsubst}/bin/envsubst -i "${configFile}" -o "${finalConfig}" 245 + ''; 246 + serviceConfig = { 247 + EnvironmentFile = cfg.environmentFiles; 248 + ExecStart = "${cfg.package}/bin/mqtt2influxdb -dc ${finalConfig}"; 249 + RuntimeDirectory = "mqtt2influxdb"; 250 + }; 251 + }; 252 + }; 253 + }
+4 -18
nixos/modules/services/web-apps/nexus.nix
··· 12 services.nexus = { 13 enable = mkEnableOption (lib.mdDoc "Sonatype Nexus3 OSS service"); 14 15 - package = mkOption { 16 - type = types.package; 17 - default = pkgs.nexus; 18 - defaultText = literalExpression "pkgs.nexus"; 19 - description = lib.mdDoc "Package which runs Nexus3"; 20 - }; 21 22 - jdkPackage = mkOption { 23 - type = types.package; 24 - default = pkgs.openjdk8; 25 - defaultText = literalExample "pkgs.openjdk8"; 26 - example = literalExample "pkgs.openjdk8"; 27 - description = '' 28 - The JDK package to use. 29 - ''; 30 - }; 31 32 user = mkOption { 33 type = types.str; ··· 114 config = mkIf cfg.enable { 115 users.users.${cfg.user} = { 116 isSystemUser = true; 117 - group = cfg.group; 118 - home = cfg.home; 119 createHome = true; 120 }; 121 ··· 132 NEXUS_USER = cfg.user; 133 NEXUS_HOME = cfg.home; 134 135 - INSTALL4J_JAVA_HOME = "${cfg.jdkPackage}"; 136 VM_OPTS_FILE = pkgs.writeText "nexus.vmoptions" cfg.jvmOpts; 137 }; 138
··· 12 services.nexus = { 13 enable = mkEnableOption (lib.mdDoc "Sonatype Nexus3 OSS service"); 14 15 + package = lib.mkPackageOption pkgs "nexus" { }; 16 17 + jdkPackage = lib.mkPackageOption pkgs "openjdk8" { }; 18 19 user = mkOption { 20 type = types.str; ··· 101 config = mkIf cfg.enable { 102 users.users.${cfg.user} = { 103 isSystemUser = true; 104 + inherit (cfg) group home; 105 createHome = true; 106 }; 107 ··· 118 NEXUS_USER = cfg.user; 119 NEXUS_HOME = cfg.home; 120 121 + INSTALL4J_JAVA_HOME = cfg.jdkPackage; 122 VM_OPTS_FILE = pkgs.writeText "nexus.vmoptions" cfg.jvmOpts; 123 }; 124
+1 -1
nixos/modules/system/boot/stage-1.nix
··· 102 103 copy_bin_and_libs () { 104 [ -f "$out/bin/$(basename $1)" ] && rm "$out/bin/$(basename $1)" 105 - cp -pdv $1 $out/bin 106 } 107 108 # Copy BusyBox.
··· 102 103 copy_bin_and_libs () { 104 [ -f "$out/bin/$(basename $1)" ] && rm "$out/bin/$(basename $1)" 105 + cp -pdvH $1 $out/bin 106 } 107 108 # Copy BusyBox.
+2 -5
pkgs/applications/audio/psst/update.sh
··· 1 #!/usr/bin/env nix-shell 2 - #!nix-shell -i bash -p nix wget nix-prefetch-github jq coreutils 3 4 # shellcheck shell=bash 5 ··· 27 version="unstable-$(date +%F)" 28 29 # Sources 30 - src_hash=$(nix-prefetch-github jpochyla psst --rev "$rev" | jq -r .sha256) 31 32 # Cargo.lock 33 src="https://raw.githubusercontent.com/jpochyla/psst/$rev" 34 wget "${TOKEN_ARGS[@]}" "$src/Cargo.lock" -O Cargo.lock 35 - 36 - # Use friendlier hashes 37 - src_hash=$(nix hash to-sri --type sha256 "$src_hash") 38 39 sed -i -E -e "s#version = \".*\"#version = \"$version\"#" default.nix 40 sed -i -E -e "s#rev = \".*\"#rev = \"$rev\"#" default.nix
··· 1 #!/usr/bin/env nix-shell 2 + #!nix-shell -i bash -p wget nix-prefetch-github jq coreutils 3 4 # shellcheck shell=bash 5 ··· 27 version="unstable-$(date +%F)" 28 29 # Sources 30 + src_hash=$(nix-prefetch-github jpochyla psst --rev "$rev" | jq -r .hash) 31 32 # Cargo.lock 33 src="https://raw.githubusercontent.com/jpochyla/psst/$rev" 34 wget "${TOKEN_ARGS[@]}" "$src/Cargo.lock" -O Cargo.lock 35 36 sed -i -E -e "s#version = \".*\"#version = \"$version\"#" default.nix 37 sed -i -E -e "s#rev = \".*\"#rev = \"$rev\"#" default.nix
+1 -2
pkgs/applications/audio/squeezelite/update.sh
··· 12 exit 0 13 fi 14 15 - srcHash=$(nix-prefetch-github ralph-irving squeezelite --rev "$latestRev" | jq -r .sha256) 16 - srcHash=$(nix hash to-sri --type sha256 "$srcHash") 17 18 19 update-source-version squeezelite "$latestVersion" "$srcHash" --rev="${latestRev}"
··· 12 exit 0 13 fi 14 15 + srcHash=$(nix-prefetch-github ralph-irving squeezelite --rev "$latestRev" | jq -r .hash) 16 17 18 update-source-version squeezelite "$latestVersion" "$srcHash" --rev="${latestRev}"
+3 -3
pkgs/applications/audio/tenacity/default.nix
··· 49 50 stdenv.mkDerivation rec { 51 pname = "tenacity"; 52 - version = "1.3-beta2"; 53 54 src = fetchFromGitea { 55 domain = "codeberg.org"; 56 owner = "tenacityteam"; 57 repo = pname; 58 rev = "v${version}"; 59 - sha256 = "sha256-9gWoqFa87neIvRnezWI3RyCAOU4wKEHPn/Hgj3/fol0="; 60 }; 61 62 postPatch = '' ··· 69 ''; 70 71 postFixup = '' 72 - rm $out/audacity 73 wrapProgram "$out/bin/tenacity" \ 74 --suffix AUDACITY_PATH : "$out/share/tenacity" \ 75 --suffix AUDACITY_MODULES_PATH : "$out/lib/tenacity/modules" \
··· 49 50 stdenv.mkDerivation rec { 51 pname = "tenacity"; 52 + version = "1.3.1"; 53 54 src = fetchFromGitea { 55 domain = "codeberg.org"; 56 owner = "tenacityteam"; 57 repo = pname; 58 rev = "v${version}"; 59 + sha256 = "sha256-wesnay+UQiPSDaRuSo86MgHdElN4s0rPIvokZhKM7GI="; 60 }; 61 62 postPatch = '' ··· 69 ''; 70 71 postFixup = '' 72 + rm $out/tenacity 73 wrapProgram "$out/bin/tenacity" \ 74 --suffix AUDACITY_PATH : "$out/share/tenacity" \ 75 --suffix AUDACITY_MODULES_PATH : "$out/lib/tenacity/modules" \
+4 -4
pkgs/applications/blockchains/solana-validator/default.nix
··· 42 let 43 pinData = lib.importJSON ./pin.json; 44 version = pinData.version; 45 - sha256 = pinData.sha256; 46 - cargoSha256 = pinData.cargoSha256; 47 in 48 rustPlatform.buildRustPackage rec { 49 pname = "solana-validator"; ··· 53 owner = "solana-labs"; 54 repo = "solana"; 55 rev = "v${version}"; 56 - inherit sha256; 57 }; 58 59 # partly inspired by https://github.com/obsidiansystems/solana-bridges/blob/develop/default.nix#L29 60 - inherit cargoSha256; 61 62 cargoBuildFlags = builtins.map (n: "--bin=${n}") solanaPkgs; 63
··· 42 let 43 pinData = lib.importJSON ./pin.json; 44 version = pinData.version; 45 + hash = pinData.hash; 46 + cargoHash = pinData.cargoHash; 47 in 48 rustPlatform.buildRustPackage rec { 49 pname = "solana-validator"; ··· 53 owner = "solana-labs"; 54 repo = "solana"; 55 rev = "v${version}"; 56 + inherit hash; 57 }; 58 59 # partly inspired by https://github.com/obsidiansystems/solana-bridges/blob/develop/default.nix#L29 60 + inherit cargoHash; 61 62 cargoBuildFlags = builtins.map (n: "--bin=${n}") solanaPkgs; 63
+2 -2
pkgs/applications/blockchains/solana-validator/pin.json
··· 1 { 2 "version": "1.10.35", 3 - "sha256": "sha256-y7+ogMJ5E9E/+ZaTCHWOQWG7iR+BGuVqvlNUDT++Ghc=", 4 - "cargoSha256": "sha256-idlu9qkh2mrF6MxstRcvemKrtTGNY/InBnIDqRvDQPs" 5 }
··· 1 { 2 "version": "1.10.35", 3 + "hash": "sha256-y7+ogMJ5E9E/+ZaTCHWOQWG7iR+BGuVqvlNUDT++Ghc=", 4 + "cargoHash": "sha256-idlu9qkh2mrF6MxstRcvemKrtTGNY/InBnIDqRvDQPs" 5 }
+9 -9
pkgs/applications/blockchains/solana-validator/update.sh
··· 1 #!/usr/bin/env nix-shell 2 - #! nix-shell -i oil -p jq sd nix-prefetch-github ripgrep 3 4 # TODO set to `verbose` or `extdebug` once implemented in oil 5 shopt --set xtrace 6 - # we need failures inside of command subs to get the correct cargoSha256 7 shopt --unset inherit_errexit 8 9 const directory = $(dirname $0 | xargs realpath) ··· 11 const repo = "solana" 12 const latest_rev = $(curl -q https://api.github.com/repos/${owner}/${repo}/releases/latest | \ 13 jq -r '.tag_name') 14 - const latest_version = $(echo $latest_rev | sd 'v' '') 15 const current_version = $(jq -r '.version' $directory/pin.json) 16 if ("$latest_version" === "$current_version") { 17 echo "solana is already up-to-date" 18 return 0 19 } else { 20 const tarball_meta = $(nix-prefetch-github $owner $repo --rev "$latest_rev") 21 - const tarball_hash = "sha256-$(echo $tarball_meta | jq -r '.sha256')" 22 23 jq ".version = \"$latest_version\" | \ 24 - .\"sha256\" = \"$tarball_hash\" | \ 25 - .\"cargoSha256\" = \"\"" $directory/pin.json | sponge $directory/pin.json 26 27 - const new_cargo_sha256 = $(nix-build -A solana-testnet 2>&1 | \ 28 tail -n 2 | \ 29 head -n 1 | \ 30 - sd '\s+got:\s+' '') 31 32 - jq ".cargoSha256 = \"$new_cargo_sha256\"" $directory/pin.json | sponge $directory/pin.json 33 }
··· 1 #!/usr/bin/env nix-shell 2 + #! nix-shell -i oil -p jq moreutils nix-prefetch-github gnused 3 4 # TODO set to `verbose` or `extdebug` once implemented in oil 5 shopt --set xtrace 6 + # we need failures inside of command subs to get the correct cargoHash 7 shopt --unset inherit_errexit 8 9 const directory = $(dirname $0 | xargs realpath) ··· 11 const repo = "solana" 12 const latest_rev = $(curl -q https://api.github.com/repos/${owner}/${repo}/releases/latest | \ 13 jq -r '.tag_name') 14 + const latest_version = $(echo ${latest_rev#v}) 15 const current_version = $(jq -r '.version' $directory/pin.json) 16 if ("$latest_version" === "$current_version") { 17 echo "solana is already up-to-date" 18 return 0 19 } else { 20 const tarball_meta = $(nix-prefetch-github $owner $repo --rev "$latest_rev") 21 + const tarball_hash = $(echo $tarball_meta | jq -r '.hash') 22 23 jq ".version = \"$latest_version\" | \ 24 + .\"hash\" = \"$tarball_hash\" | \ 25 + .\"cargoHash\" = \"\"" $directory/pin.json | sponge $directory/pin.json 26 27 + const new_cargo_hash = $(nix-build -A solana-validator 2>&1 | \ 28 tail -n 2 | \ 29 head -n 1 | \ 30 + sed 's/\s*got:\s*//') 31 32 + jq ".cargoHash = \"$new_cargo_hash\"" $directory/pin.json | sponge $directory/pin.json 33 }
+1 -1
pkgs/applications/editors/emacs/elisp-packages/manual-packages/tsc/default.nix
··· 55 rm -r $out/lib 56 ''; 57 58 - inherit (srcMeta) cargoSha256; 59 }; 60 61 in symlinkJoin {
··· 55 rm -r $out/lib 56 ''; 57 58 + inherit (srcMeta) cargoHash; 59 }; 60 61 in symlinkJoin {
+2 -2
pkgs/applications/editors/emacs/elisp-packages/manual-packages/tsc/src.json
··· 3 "owner": "emacs-tree-sitter", 4 "repo": "elisp-tree-sitter", 5 "rev": "909717c685ff5a2327fa2ca8fb8a25216129361c", 6 - "sha256": "LrakDpP3ZhRQqz47dPcyoQnu5lROdaNlxGaQfQT6u+k=" 7 }, 8 "version": "0.18.0", 9 - "cargoSha256": "sha256-IRCZqszBkGF8anF/kpcPOzHdOP4lAtJBAp6FS5tAOx8=" 10 }
··· 3 "owner": "emacs-tree-sitter", 4 "repo": "elisp-tree-sitter", 5 "rev": "909717c685ff5a2327fa2ca8fb8a25216129361c", 6 + "hash": "sha256-LrakDpP3ZhRQqz47dPcyoQnu5lROdaNlxGaQfQT6u+k=" 7 }, 8 "version": "0.18.0", 9 + "cargoHash": "sha256-IRCZqszBkGF8anF/kpcPOzHdOP4lAtJBAp6FS5tAOx8=" 10 }
+6 -6
pkgs/applications/editors/emacs/elisp-packages/manual-packages/tsc/update.py
··· 51 ) 52 src = json.loads(p.stdout) 53 54 - fields = ["owner", "repo", "rev", "sha256"] 55 56 return {f: src[f] for f in fields} 57 58 59 - def get_cargo_sha256(drv_path: str): 60 # Note: No check=True since we expect this command to fail 61 p = subprocess.run(["nix-store", "-r", drv_path], stderr=subprocess.PIPE) 62 ··· 74 if m: 75 return m.group(1) 76 77 - raise ValueError("Could not extract actual sha256 hash: ", stderr) 78 79 80 if __name__ == "__main__": ··· 102 nativeBuildInputs = [ clang ]; 103 src = fetchFromGitHub (lib.importJSON %s); 104 sourceRoot = "source/core"; 105 - cargoSha256 = lib.fakeSha256; 106 } 107 """ 108 % (tag_name, f.name), 109 ) 110 111 - cargo_sha256 = get_cargo_sha256(drv_path) 112 113 with open(join(cwd, "src.json"), mode="w") as f: 114 json.dump( 115 { 116 "src": src, 117 "version": tag_name, 118 - "cargoSha256": cargo_sha256, 119 }, 120 f, 121 indent=2,
··· 51 ) 52 src = json.loads(p.stdout) 53 54 + fields = ["owner", "repo", "rev", "hash"] 55 56 return {f: src[f] for f in fields} 57 58 59 + def get_cargo_hash(drv_path: str): 60 # Note: No check=True since we expect this command to fail 61 p = subprocess.run(["nix-store", "-r", drv_path], stderr=subprocess.PIPE) 62 ··· 74 if m: 75 return m.group(1) 76 77 + raise ValueError("Could not extract actual hash: ", stderr) 78 79 80 if __name__ == "__main__": ··· 102 nativeBuildInputs = [ clang ]; 103 src = fetchFromGitHub (lib.importJSON %s); 104 sourceRoot = "source/core"; 105 + cargoHash = lib.fakeHash; 106 } 107 """ 108 % (tag_name, f.name), 109 ) 110 111 + cargo_hash = get_cargo_hash(drv_path) 112 113 with open(join(cwd, "src.json"), mode="w") as f: 114 json.dump( 115 { 116 "src": src, 117 "version": tag_name, 118 + "cargoHash": cargo_hash, 119 }, 120 f, 121 indent=2,
+17
pkgs/applications/editors/jetbrains/JetbrainsRemoteDev.patch
···
··· 1 + --- a/plugins/remote-dev-server/bin/launcher.sh 2 + +++ b/plugins/remote-dev-server/bin/launcher.sh 3 + @@ -327,6 +327,8 @@ 4 + REMOTE_DEV_SERVER_USE_SELF_CONTAINED_LIBS=1 5 + fi 6 + 7 + +REMOTE_DEV_SERVER_USE_SELF_CONTAINED_LIBS=0 8 + + 9 + if [ $REMOTE_DEV_SERVER_USE_SELF_CONTAINED_LIBS -eq 1 ]; then 10 + SELFCONTAINED_LIBS="$REMOTE_DEV_SERVER_DIR/selfcontained/lib" 11 + if [ ! -d "$SELFCONTAINED_LIBS" ]; then 12 + @@ -568,3 +570,5 @@ 13 + "$LAUNCHER" "$STARTER_COMMAND" "$PROJECT_PATH" "$@" 14 + ;; 15 + esac 16 + + 17 + +unset REMOTE_DEV_SERVER_USE_SELF_CONTAINED_LIBS
+7 -7
pkgs/applications/editors/jetbrains/default.nix
··· 46 Enhancing productivity for every C and C++ 47 developer on Linux, macOS and Windows. 48 ''; 49 - maintainers = with maintainers; [ edwtjo mic92 ]; 50 }; 51 }).overrideAttrs (attrs: { 52 nativeBuildInputs = (attrs.nativeBuildInputs or [ ]) ++ lib.optionals (stdenv.isLinux) [ ··· 141 The new IDE extends the IntelliJ platform with the coding assistance 142 and tool integrations specific for the Go language 143 ''; 144 - maintainers = [ ]; 145 }; 146 }).overrideAttrs (attrs: { 147 postFixup = (attrs.postFixup or "") + lib.optionalString stdenv.isLinux '' ··· 172 with JUnit, TestNG, popular SCMs, Ant & Maven. Also known 173 as IntelliJ. 174 ''; 175 - maintainers = with maintainers; [ edwtjo gytis-ivaskevicius steinybot AnatolyPopov ]; 176 platforms = ideaPlatforms; 177 }; 178 }); ··· 207 with on-the-fly code analysis, error prevention and 208 automated refactorings for PHP and JavaScript code. 209 ''; 210 - maintainers = with maintainers; [ dritter ]; 211 }; 212 }); 213 ··· 232 providing you almost everything you need for your comfortable 233 and productive development! 234 ''; 235 - maintainers = with maintainers; [ genericnerdyusername ]; 236 }; 237 }).overrideAttrs (finalAttrs: previousAttrs: lib.optionalAttrs cythonSpeedup { 238 buildInputs = with python3.pkgs; [ python3 setuptools ]; ··· 286 homepage = "https://www.jetbrains.com/ruby/"; 287 inherit description license platforms; 288 longDescription = description; 289 - maintainers = with maintainers; [ edwtjo ]; 290 }; 291 }); 292 ··· 302 and CSS with on-the-fly code analysis, error prevention and 303 automated refactorings for JavaScript code. 304 ''; 305 - maintainers = with maintainers; [ abaldeau ]; 306 }; 307 }); 308
··· 46 Enhancing productivity for every C and C++ 47 developer on Linux, macOS and Windows. 48 ''; 49 + maintainers = with maintainers; [ edwtjo mic92 tymscar ]; 50 }; 51 }).overrideAttrs (attrs: { 52 nativeBuildInputs = (attrs.nativeBuildInputs or [ ]) ++ lib.optionals (stdenv.isLinux) [ ··· 141 The new IDE extends the IntelliJ platform with the coding assistance 142 and tool integrations specific for the Go language 143 ''; 144 + maintainers = with maintainers; [ tymscar ]; 145 }; 146 }).overrideAttrs (attrs: { 147 postFixup = (attrs.postFixup or "") + lib.optionalString stdenv.isLinux '' ··· 172 with JUnit, TestNG, popular SCMs, Ant & Maven. Also known 173 as IntelliJ. 174 ''; 175 + maintainers = with maintainers; [ edwtjo gytis-ivaskevicius steinybot AnatolyPopov tymscar ]; 176 platforms = ideaPlatforms; 177 }; 178 }); ··· 207 with on-the-fly code analysis, error prevention and 208 automated refactorings for PHP and JavaScript code. 209 ''; 210 + maintainers = with maintainers; [ dritter tymscar ]; 211 }; 212 }); 213 ··· 232 providing you almost everything you need for your comfortable 233 and productive development! 234 ''; 235 + maintainers = with maintainers; [ genericnerdyusername tymscar ]; 236 }; 237 }).overrideAttrs (finalAttrs: previousAttrs: lib.optionalAttrs cythonSpeedup { 238 buildInputs = with python3.pkgs; [ python3 setuptools ]; ··· 286 homepage = "https://www.jetbrains.com/ruby/"; 287 inherit description license platforms; 288 longDescription = description; 289 + maintainers = with maintainers; [ edwtjo tymscar ]; 290 }; 291 }); 292 ··· 302 and CSS with on-the-fly code analysis, error prevention and 303 automated refactorings for JavaScript code. 304 ''; 305 + maintainers = with maintainers; [ abaldeau tymscar ]; 306 }; 307 }); 308
+9 -2
pkgs/applications/editors/jetbrains/linux.nix
··· 84 patchelf --set-interpreter "$interpreter" bin/fsnotifier 85 munge_size_hack bin/fsnotifier $target_size 86 fi 87 ''; 88 89 installPhase = '' ··· 99 jdk=${jdk.home} 100 item=${desktopItem} 101 102 - makeWrapper "$out/$pname/bin/${loName}.sh" "$out/bin/${pname}" \ 103 --prefix PATH : "$out/libexec/${pname}:${lib.makeBinPath [ jdk coreutils gnugrep which git python3 ]}" \ 104 --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath ([ 105 # Some internals want libstdc++.so.6 ··· 114 --set ${hiName}_JDK "$jdk" \ 115 --set ${hiName}_VM_OPTIONS ${vmoptsFile} 116 117 ln -s "$item/share/applications" $out/share 118 119 runHook postInstall 120 ''; 121 - 122 } // lib.optionalAttrs (!(meta.license.free or true)) { 123 preferLocalBuild = true; 124 })
··· 84 patchelf --set-interpreter "$interpreter" bin/fsnotifier 85 munge_size_hack bin/fsnotifier $target_size 86 fi 87 + 88 + if [ -d "plugins/remote-dev-server" ]; then 89 + patch -p1 < ${./JetbrainsRemoteDev.patch} 90 + fi 91 ''; 92 93 installPhase = '' ··· 103 jdk=${jdk.home} 104 item=${desktopItem} 105 106 + wrapProgram "$out/$pname/bin/${loName}.sh" \ 107 --prefix PATH : "$out/libexec/${pname}:${lib.makeBinPath [ jdk coreutils gnugrep which git python3 ]}" \ 108 --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath ([ 109 # Some internals want libstdc++.so.6 ··· 118 --set ${hiName}_JDK "$jdk" \ 119 --set ${hiName}_VM_OPTIONS ${vmoptsFile} 120 121 + ln -s "$out/$pname/bin/${loName}.sh" $out/bin/$pname 122 + echo -e '#!/usr/bin/env bash\n'"$out/$pname/bin/remote-dev-server.sh"' "$@"' > $out/$pname/bin/remote-dev-server-wrapped.sh 123 + chmod +x $out/$pname/bin/remote-dev-server-wrapped.sh 124 + ln -s "$out/$pname/bin/remote-dev-server-wrapped.sh" $out/bin/$pname-remote-dev-server 125 ln -s "$item/share/applications" $out/share 126 127 runHook postInstall 128 ''; 129 } // lib.optionalAttrs (!(meta.license.free or true)) { 130 preferLocalBuild = true; 131 })
+35 -47
pkgs/applications/editors/jetbrains/plugins/plugins.json
··· 18 "builds": { 19 "223.8836.1185": "https://plugins.jetbrains.com/files/164/275091/IdeaVim-2.1.0.zip", 20 "231.9011.35": "https://plugins.jetbrains.com/files/164/364022/IdeaVim-2.4.0-signed.zip", 21 - "231.9161.29": "https://plugins.jetbrains.com/files/164/364022/IdeaVim-2.4.0-signed.zip", 22 - "231.9161.40": "https://plugins.jetbrains.com/files/164/364022/IdeaVim-2.4.0-signed.zip", 23 - "231.9161.47": "https://plugins.jetbrains.com/files/164/364022/IdeaVim-2.4.0-signed.zip", 24 "231.9225.12": "https://plugins.jetbrains.com/files/164/364022/IdeaVim-2.4.0-signed.zip", 25 "231.9225.15": "https://plugins.jetbrains.com/files/164/364022/IdeaVim-2.4.0-signed.zip", 26 "231.9225.16": "https://plugins.jetbrains.com/files/164/364022/IdeaVim-2.4.0-signed.zip", 27 "231.9225.23": "https://plugins.jetbrains.com/files/164/364022/IdeaVim-2.4.0-signed.zip" 28 }, 29 "name": "ideavim" ··· 65 "builds": { 66 "223.8836.1185": null, 67 "231.9011.35": null, 68 - "231.9161.29": "https://plugins.jetbrains.com/files/6981/351503/ini-231.9161.47.zip", 69 - "231.9161.40": "https://plugins.jetbrains.com/files/6981/351503/ini-231.9161.47.zip", 70 - "231.9161.47": "https://plugins.jetbrains.com/files/6981/351503/ini-231.9161.47.zip", 71 "231.9225.12": "https://plugins.jetbrains.com/files/6981/363869/ini-231.9225.21.zip", 72 "231.9225.15": "https://plugins.jetbrains.com/files/6981/363869/ini-231.9225.21.zip", 73 "231.9225.16": "https://plugins.jetbrains.com/files/6981/363869/ini-231.9225.21.zip", 74 "231.9225.23": "https://plugins.jetbrains.com/files/6981/363869/ini-231.9225.21.zip" 75 }, 76 "name": "ini" ··· 81 "phpstorm" 82 ], 83 "builds": { 84 - "231.9161.47": "https://plugins.jetbrains.com/files/7219/355564/Symfony_Plugin-2022.1.253.zip", 85 - "231.9225.16": "https://plugins.jetbrains.com/files/7219/355564/Symfony_Plugin-2022.1.253.zip" 86 }, 87 "name": "symfony-support" 88 }, ··· 92 "phpstorm" 93 ], 94 "builds": { 95 - "231.9161.47": "https://plugins.jetbrains.com/files/7320/346181/PHP_Annotations-9.4.0.zip", 96 - "231.9225.16": "https://plugins.jetbrains.com/files/7320/346181/PHP_Annotations-9.4.0.zip" 97 }, 98 "name": "php-annotations" 99 }, ··· 129 "builds": { 130 "223.8836.1185": "https://plugins.jetbrains.com/files/8182/329558/intellij-rust-0.4.194.5382-223.zip", 131 "231.9011.35": "https://plugins.jetbrains.com/files/8182/359429/intellij-rust-0.4.198.5409-231.zip", 132 - "231.9161.29": "https://plugins.jetbrains.com/files/8182/359429/intellij-rust-0.4.198.5409-231.zip", 133 - "231.9161.40": "https://plugins.jetbrains.com/files/8182/359429/intellij-rust-0.4.198.5409-231.zip", 134 - "231.9161.47": "https://plugins.jetbrains.com/files/8182/359429/intellij-rust-0.4.198.5409-231.zip", 135 "231.9225.12": "https://plugins.jetbrains.com/files/8182/359429/intellij-rust-0.4.198.5409-231.zip", 136 "231.9225.15": "https://plugins.jetbrains.com/files/8182/359429/intellij-rust-0.4.198.5409-231.zip", 137 "231.9225.16": "https://plugins.jetbrains.com/files/8182/359429/intellij-rust-0.4.198.5409-231.zip", 138 "231.9225.23": "https://plugins.jetbrains.com/files/8182/359429/intellij-rust-0.4.198.5409-231.zip" 139 }, 140 "name": "rust" ··· 157 "builds": { 158 "223.8836.1185": null, 159 "231.9011.35": "https://plugins.jetbrains.com/files/8182/363621/intellij-rust-0.4.199.5413-231-beta.zip", 160 - "231.9161.29": "https://plugins.jetbrains.com/files/8182/363621/intellij-rust-0.4.199.5413-231-beta.zip", 161 - "231.9161.40": "https://plugins.jetbrains.com/files/8182/363621/intellij-rust-0.4.199.5413-231-beta.zip", 162 - "231.9161.47": "https://plugins.jetbrains.com/files/8182/363621/intellij-rust-0.4.199.5413-231-beta.zip", 163 "231.9225.12": "https://plugins.jetbrains.com/files/8182/363621/intellij-rust-0.4.199.5413-231-beta.zip", 164 "231.9225.15": "https://plugins.jetbrains.com/files/8182/363621/intellij-rust-0.4.199.5413-231-beta.zip", 165 "231.9225.16": "https://plugins.jetbrains.com/files/8182/363621/intellij-rust-0.4.199.5413-231-beta.zip", 166 "231.9225.23": "https://plugins.jetbrains.com/files/8182/363621/intellij-rust-0.4.199.5413-231-beta.zip" 167 }, 168 "name": "rust-beta" ··· 178 "webstorm" 179 ], 180 "builds": { 181 - "231.9161.29": "https://plugins.jetbrains.com/files/8554/326468/featuresTrainer-231.8770.66.zip", 182 "231.9225.12": "https://plugins.jetbrains.com/files/8554/326468/featuresTrainer-231.8770.66.zip", 183 "231.9225.15": "https://plugins.jetbrains.com/files/8554/326468/featuresTrainer-231.8770.66.zip", 184 - "231.9225.16": "https://plugins.jetbrains.com/files/8554/326468/featuresTrainer-231.8770.66.zip" 185 }, 186 "name": "ide-features-trainer" 187 }, ··· 203 "builds": { 204 "223.8836.1185": "https://plugins.jetbrains.com/files/8607/318851/NixIDEA-0.4.0.9.zip", 205 "231.9011.35": "https://plugins.jetbrains.com/files/8607/318851/NixIDEA-0.4.0.9.zip", 206 - "231.9161.29": "https://plugins.jetbrains.com/files/8607/318851/NixIDEA-0.4.0.9.zip", 207 - "231.9161.40": "https://plugins.jetbrains.com/files/8607/318851/NixIDEA-0.4.0.9.zip", 208 - "231.9161.47": "https://plugins.jetbrains.com/files/8607/318851/NixIDEA-0.4.0.9.zip", 209 "231.9225.12": "https://plugins.jetbrains.com/files/8607/318851/NixIDEA-0.4.0.9.zip", 210 "231.9225.15": "https://plugins.jetbrains.com/files/8607/318851/NixIDEA-0.4.0.9.zip", 211 "231.9225.16": "https://plugins.jetbrains.com/files/8607/318851/NixIDEA-0.4.0.9.zip", 212 "231.9225.23": "https://plugins.jetbrains.com/files/8607/318851/NixIDEA-0.4.0.9.zip" 213 }, 214 "name": "nixidea" ··· 240 "builds": { 241 "223.8836.1185": "https://plugins.jetbrains.com/files/10037/358812/CSVEditor-3.2.1-223.zip", 242 "231.9011.35": "https://plugins.jetbrains.com/files/10037/358810/CSVEditor-3.2.1-231.zip", 243 - "231.9161.29": "https://plugins.jetbrains.com/files/10037/358810/CSVEditor-3.2.1-231.zip", 244 - "231.9161.40": "https://plugins.jetbrains.com/files/10037/358810/CSVEditor-3.2.1-231.zip", 245 - "231.9161.47": "https://plugins.jetbrains.com/files/10037/358810/CSVEditor-3.2.1-231.zip", 246 "231.9225.12": "https://plugins.jetbrains.com/files/10037/358810/CSVEditor-3.2.1-231.zip", 247 "231.9225.15": "https://plugins.jetbrains.com/files/10037/358810/CSVEditor-3.2.1-231.zip", 248 "231.9225.16": "https://plugins.jetbrains.com/files/10037/358810/CSVEditor-3.2.1-231.zip", 249 "231.9225.23": "https://plugins.jetbrains.com/files/10037/358810/CSVEditor-3.2.1-231.zip" 250 }, 251 "name": "csv-editor" ··· 268 "builds": { 269 "223.8836.1185": "https://plugins.jetbrains.com/files/12559/257029/keymap-eclipse-223.7571.125.zip", 270 "231.9011.35": "https://plugins.jetbrains.com/files/12559/307825/keymap-eclipse-231.8109.91.zip", 271 - "231.9161.29": "https://plugins.jetbrains.com/files/12559/307825/keymap-eclipse-231.8109.91.zip", 272 - "231.9161.40": "https://plugins.jetbrains.com/files/12559/307825/keymap-eclipse-231.8109.91.zip", 273 - "231.9161.47": "https://plugins.jetbrains.com/files/12559/307825/keymap-eclipse-231.8109.91.zip", 274 "231.9225.12": "https://plugins.jetbrains.com/files/12559/307825/keymap-eclipse-231.8109.91.zip", 275 "231.9225.15": "https://plugins.jetbrains.com/files/12559/307825/keymap-eclipse-231.8109.91.zip", 276 "231.9225.16": "https://plugins.jetbrains.com/files/12559/307825/keymap-eclipse-231.8109.91.zip", 277 "231.9225.23": "https://plugins.jetbrains.com/files/12559/307825/keymap-eclipse-231.8109.91.zip" 278 }, 279 "name": "eclipse-keymap" ··· 296 "builds": { 297 "223.8836.1185": "https://plugins.jetbrains.com/files/13017/257030/keymap-visualStudio-223.7571.125.zip", 298 "231.9011.35": "https://plugins.jetbrains.com/files/13017/307831/keymap-visualStudio-231.8109.91.zip", 299 - "231.9161.29": "https://plugins.jetbrains.com/files/13017/307831/keymap-visualStudio-231.8109.91.zip", 300 - "231.9161.40": "https://plugins.jetbrains.com/files/13017/307831/keymap-visualStudio-231.8109.91.zip", 301 - "231.9161.47": "https://plugins.jetbrains.com/files/13017/307831/keymap-visualStudio-231.8109.91.zip", 302 "231.9225.12": "https://plugins.jetbrains.com/files/13017/307831/keymap-visualStudio-231.8109.91.zip", 303 "231.9225.15": "https://plugins.jetbrains.com/files/13017/307831/keymap-visualStudio-231.8109.91.zip", 304 "231.9225.16": "https://plugins.jetbrains.com/files/13017/307831/keymap-visualStudio-231.8109.91.zip", 305 "231.9225.23": "https://plugins.jetbrains.com/files/13017/307831/keymap-visualStudio-231.8109.91.zip" 306 }, 307 "name": "visual-studio-keymap" ··· 324 "builds": { 325 "223.8836.1185": "https://plugins.jetbrains.com/files/14059/82616/darcula-pitch-black.jar", 326 "231.9011.35": "https://plugins.jetbrains.com/files/14059/82616/darcula-pitch-black.jar", 327 - "231.9161.29": "https://plugins.jetbrains.com/files/14059/82616/darcula-pitch-black.jar", 328 - "231.9161.40": "https://plugins.jetbrains.com/files/14059/82616/darcula-pitch-black.jar", 329 - "231.9161.47": "https://plugins.jetbrains.com/files/14059/82616/darcula-pitch-black.jar", 330 "231.9225.12": "https://plugins.jetbrains.com/files/14059/82616/darcula-pitch-black.jar", 331 "231.9225.15": "https://plugins.jetbrains.com/files/14059/82616/darcula-pitch-black.jar", 332 "231.9225.16": "https://plugins.jetbrains.com/files/14059/82616/darcula-pitch-black.jar", 333 "231.9225.23": "https://plugins.jetbrains.com/files/14059/82616/darcula-pitch-black.jar" 334 }, 335 "name": "darcula-pitch-black" ··· 350 "webstorm" 351 ], 352 "builds": { 353 - "223.8836.1185": "https://plugins.jetbrains.com/files/17718/360520/github-copilot-intellij-1.2.13.2776.zip", 354 - "231.9011.35": "https://plugins.jetbrains.com/files/17718/360520/github-copilot-intellij-1.2.13.2776.zip", 355 - "231.9161.29": "https://plugins.jetbrains.com/files/17718/360520/github-copilot-intellij-1.2.13.2776.zip", 356 - "231.9161.40": "https://plugins.jetbrains.com/files/17718/360520/github-copilot-intellij-1.2.13.2776.zip", 357 - "231.9161.47": "https://plugins.jetbrains.com/files/17718/360520/github-copilot-intellij-1.2.13.2776.zip", 358 - "231.9225.12": "https://plugins.jetbrains.com/files/17718/360520/github-copilot-intellij-1.2.13.2776.zip", 359 - "231.9225.15": "https://plugins.jetbrains.com/files/17718/360520/github-copilot-intellij-1.2.13.2776.zip", 360 - "231.9225.16": "https://plugins.jetbrains.com/files/17718/360520/github-copilot-intellij-1.2.13.2776.zip", 361 - "231.9225.23": "https://plugins.jetbrains.com/files/17718/360520/github-copilot-intellij-1.2.13.2776.zip" 362 }, 363 "name": "github-copilot" 364 }, ··· 380 "builds": { 381 "223.8836.1185": "https://plugins.jetbrains.com/files/18444/165585/NetBeans6.5Keymap.zip", 382 "231.9011.35": "https://plugins.jetbrains.com/files/18444/165585/NetBeans6.5Keymap.zip", 383 - "231.9161.29": "https://plugins.jetbrains.com/files/18444/165585/NetBeans6.5Keymap.zip", 384 - "231.9161.40": "https://plugins.jetbrains.com/files/18444/165585/NetBeans6.5Keymap.zip", 385 - "231.9161.47": "https://plugins.jetbrains.com/files/18444/165585/NetBeans6.5Keymap.zip", 386 "231.9225.12": "https://plugins.jetbrains.com/files/18444/165585/NetBeans6.5Keymap.zip", 387 "231.9225.15": "https://plugins.jetbrains.com/files/18444/165585/NetBeans6.5Keymap.zip", 388 "231.9225.16": "https://plugins.jetbrains.com/files/18444/165585/NetBeans6.5Keymap.zip", 389 "231.9225.23": "https://plugins.jetbrains.com/files/18444/165585/NetBeans6.5Keymap.zip" 390 }, 391 "name": "netbeans-6-5-keymap" ··· 401 "https://plugins.jetbrains.com/files/14059/82616/darcula-pitch-black.jar": "sha256-eXInfAqY3yEZRXCAuv3KGldM1pNKEioNwPB0rIGgJFw=", 402 "https://plugins.jetbrains.com/files/164/275091/IdeaVim-2.1.0.zip": "sha256-2dM/r79XT+1MHDeRAUnZw6WO3dmw7MZfx9alHmBqMk0=", 403 "https://plugins.jetbrains.com/files/164/364022/IdeaVim-2.4.0-signed.zip": "sha256-aetarXrmK7EdYqLqAY0QNmi/djxDJnEyNTV1E0pay7Q=", 404 - "https://plugins.jetbrains.com/files/17718/360520/github-copilot-intellij-1.2.13.2776.zip": "sha256-9KTWE7rudLZwxCEv5QNu/9rxA0o0GdQK4+oqkzeOtyA=", 405 "https://plugins.jetbrains.com/files/18444/165585/NetBeans6.5Keymap.zip": "sha256-KrzZTKZMQqoEMw+vDUv2jjs0EX0leaPBkU8H/ecq/oI=", 406 "https://plugins.jetbrains.com/files/631/360005/python-231.9225.16.zip": "sha256-vin0+O9f4rY3FYqztzdIlyal5bvrvrt8Q8neDrXRmsU=", 407 "https://plugins.jetbrains.com/files/6954/357005/kotlin-plugin-231-1.9.0-release-358-IJ8770.65.zip": "sha256-v2EB05au8mkC5VnoEILLJ3tesEeCWCYSNJ9RzfJZA1o=", 408 - "https://plugins.jetbrains.com/files/6981/351503/ini-231.9161.47.zip": "sha256-oAgTPyTnfqEKjaGcK50k9O16hDY+A4lfL2l9IpGKyCY=", 409 "https://plugins.jetbrains.com/files/6981/363869/ini-231.9225.21.zip": "sha256-/HljUhlum/bmgw0sfhK+33AgxCJsT32uU/UjQIzIbKs=", 410 "https://plugins.jetbrains.com/files/7219/355564/Symfony_Plugin-2022.1.253.zip": "sha256-vE+fobPbtWlaSHGTLlbDcC6NkaJiA4Qp50h8flXHaJc=", 411 "https://plugins.jetbrains.com/files/7320/346181/PHP_Annotations-9.4.0.zip": "sha256-hT5K4w4lhvNwDzDMDSvsIDGj9lyaRqglfOhlbNdqpWs=",
··· 18 "builds": { 19 "223.8836.1185": "https://plugins.jetbrains.com/files/164/275091/IdeaVim-2.1.0.zip", 20 "231.9011.35": "https://plugins.jetbrains.com/files/164/364022/IdeaVim-2.4.0-signed.zip", 21 "231.9225.12": "https://plugins.jetbrains.com/files/164/364022/IdeaVim-2.4.0-signed.zip", 22 "231.9225.15": "https://plugins.jetbrains.com/files/164/364022/IdeaVim-2.4.0-signed.zip", 23 "231.9225.16": "https://plugins.jetbrains.com/files/164/364022/IdeaVim-2.4.0-signed.zip", 24 + "231.9225.18": "https://plugins.jetbrains.com/files/164/364022/IdeaVim-2.4.0-signed.zip", 25 + "231.9225.21": "https://plugins.jetbrains.com/files/164/364022/IdeaVim-2.4.0-signed.zip", 26 "231.9225.23": "https://plugins.jetbrains.com/files/164/364022/IdeaVim-2.4.0-signed.zip" 27 }, 28 "name": "ideavim" ··· 64 "builds": { 65 "223.8836.1185": null, 66 "231.9011.35": null, 67 "231.9225.12": "https://plugins.jetbrains.com/files/6981/363869/ini-231.9225.21.zip", 68 "231.9225.15": "https://plugins.jetbrains.com/files/6981/363869/ini-231.9225.21.zip", 69 "231.9225.16": "https://plugins.jetbrains.com/files/6981/363869/ini-231.9225.21.zip", 70 + "231.9225.18": "https://plugins.jetbrains.com/files/6981/363869/ini-231.9225.21.zip", 71 + "231.9225.21": "https://plugins.jetbrains.com/files/6981/363869/ini-231.9225.21.zip", 72 "231.9225.23": "https://plugins.jetbrains.com/files/6981/363869/ini-231.9225.21.zip" 73 }, 74 "name": "ini" ··· 79 "phpstorm" 80 ], 81 "builds": { 82 + "231.9225.16": "https://plugins.jetbrains.com/files/7219/355564/Symfony_Plugin-2022.1.253.zip", 83 + "231.9225.18": "https://plugins.jetbrains.com/files/7219/355564/Symfony_Plugin-2022.1.253.zip" 84 }, 85 "name": "symfony-support" 86 }, ··· 90 "phpstorm" 91 ], 92 "builds": { 93 + "231.9225.16": "https://plugins.jetbrains.com/files/7320/346181/PHP_Annotations-9.4.0.zip", 94 + "231.9225.18": "https://plugins.jetbrains.com/files/7320/346181/PHP_Annotations-9.4.0.zip" 95 }, 96 "name": "php-annotations" 97 }, ··· 127 "builds": { 128 "223.8836.1185": "https://plugins.jetbrains.com/files/8182/329558/intellij-rust-0.4.194.5382-223.zip", 129 "231.9011.35": "https://plugins.jetbrains.com/files/8182/359429/intellij-rust-0.4.198.5409-231.zip", 130 "231.9225.12": "https://plugins.jetbrains.com/files/8182/359429/intellij-rust-0.4.198.5409-231.zip", 131 "231.9225.15": "https://plugins.jetbrains.com/files/8182/359429/intellij-rust-0.4.198.5409-231.zip", 132 "231.9225.16": "https://plugins.jetbrains.com/files/8182/359429/intellij-rust-0.4.198.5409-231.zip", 133 + "231.9225.18": "https://plugins.jetbrains.com/files/8182/359429/intellij-rust-0.4.198.5409-231.zip", 134 + "231.9225.21": "https://plugins.jetbrains.com/files/8182/359429/intellij-rust-0.4.198.5409-231.zip", 135 "231.9225.23": "https://plugins.jetbrains.com/files/8182/359429/intellij-rust-0.4.198.5409-231.zip" 136 }, 137 "name": "rust" ··· 154 "builds": { 155 "223.8836.1185": null, 156 "231.9011.35": "https://plugins.jetbrains.com/files/8182/363621/intellij-rust-0.4.199.5413-231-beta.zip", 157 "231.9225.12": "https://plugins.jetbrains.com/files/8182/363621/intellij-rust-0.4.199.5413-231-beta.zip", 158 "231.9225.15": "https://plugins.jetbrains.com/files/8182/363621/intellij-rust-0.4.199.5413-231-beta.zip", 159 "231.9225.16": "https://plugins.jetbrains.com/files/8182/363621/intellij-rust-0.4.199.5413-231-beta.zip", 160 + "231.9225.18": "https://plugins.jetbrains.com/files/8182/363621/intellij-rust-0.4.199.5413-231-beta.zip", 161 + "231.9225.21": "https://plugins.jetbrains.com/files/8182/363621/intellij-rust-0.4.199.5413-231-beta.zip", 162 "231.9225.23": "https://plugins.jetbrains.com/files/8182/363621/intellij-rust-0.4.199.5413-231-beta.zip" 163 }, 164 "name": "rust-beta" ··· 174 "webstorm" 175 ], 176 "builds": { 177 "231.9225.12": "https://plugins.jetbrains.com/files/8554/326468/featuresTrainer-231.8770.66.zip", 178 "231.9225.15": "https://plugins.jetbrains.com/files/8554/326468/featuresTrainer-231.8770.66.zip", 179 + "231.9225.16": "https://plugins.jetbrains.com/files/8554/326468/featuresTrainer-231.8770.66.zip", 180 + "231.9225.18": "https://plugins.jetbrains.com/files/8554/326468/featuresTrainer-231.8770.66.zip" 181 }, 182 "name": "ide-features-trainer" 183 }, ··· 199 "builds": { 200 "223.8836.1185": "https://plugins.jetbrains.com/files/8607/318851/NixIDEA-0.4.0.9.zip", 201 "231.9011.35": "https://plugins.jetbrains.com/files/8607/318851/NixIDEA-0.4.0.9.zip", 202 "231.9225.12": "https://plugins.jetbrains.com/files/8607/318851/NixIDEA-0.4.0.9.zip", 203 "231.9225.15": "https://plugins.jetbrains.com/files/8607/318851/NixIDEA-0.4.0.9.zip", 204 "231.9225.16": "https://plugins.jetbrains.com/files/8607/318851/NixIDEA-0.4.0.9.zip", 205 + "231.9225.18": "https://plugins.jetbrains.com/files/8607/318851/NixIDEA-0.4.0.9.zip", 206 + "231.9225.21": "https://plugins.jetbrains.com/files/8607/318851/NixIDEA-0.4.0.9.zip", 207 "231.9225.23": "https://plugins.jetbrains.com/files/8607/318851/NixIDEA-0.4.0.9.zip" 208 }, 209 "name": "nixidea" ··· 235 "builds": { 236 "223.8836.1185": "https://plugins.jetbrains.com/files/10037/358812/CSVEditor-3.2.1-223.zip", 237 "231.9011.35": "https://plugins.jetbrains.com/files/10037/358810/CSVEditor-3.2.1-231.zip", 238 "231.9225.12": "https://plugins.jetbrains.com/files/10037/358810/CSVEditor-3.2.1-231.zip", 239 "231.9225.15": "https://plugins.jetbrains.com/files/10037/358810/CSVEditor-3.2.1-231.zip", 240 "231.9225.16": "https://plugins.jetbrains.com/files/10037/358810/CSVEditor-3.2.1-231.zip", 241 + "231.9225.18": "https://plugins.jetbrains.com/files/10037/358810/CSVEditor-3.2.1-231.zip", 242 + "231.9225.21": "https://plugins.jetbrains.com/files/10037/358810/CSVEditor-3.2.1-231.zip", 243 "231.9225.23": "https://plugins.jetbrains.com/files/10037/358810/CSVEditor-3.2.1-231.zip" 244 }, 245 "name": "csv-editor" ··· 262 "builds": { 263 "223.8836.1185": "https://plugins.jetbrains.com/files/12559/257029/keymap-eclipse-223.7571.125.zip", 264 "231.9011.35": "https://plugins.jetbrains.com/files/12559/307825/keymap-eclipse-231.8109.91.zip", 265 "231.9225.12": "https://plugins.jetbrains.com/files/12559/307825/keymap-eclipse-231.8109.91.zip", 266 "231.9225.15": "https://plugins.jetbrains.com/files/12559/307825/keymap-eclipse-231.8109.91.zip", 267 "231.9225.16": "https://plugins.jetbrains.com/files/12559/307825/keymap-eclipse-231.8109.91.zip", 268 + "231.9225.18": "https://plugins.jetbrains.com/files/12559/307825/keymap-eclipse-231.8109.91.zip", 269 + "231.9225.21": "https://plugins.jetbrains.com/files/12559/307825/keymap-eclipse-231.8109.91.zip", 270 "231.9225.23": "https://plugins.jetbrains.com/files/12559/307825/keymap-eclipse-231.8109.91.zip" 271 }, 272 "name": "eclipse-keymap" ··· 289 "builds": { 290 "223.8836.1185": "https://plugins.jetbrains.com/files/13017/257030/keymap-visualStudio-223.7571.125.zip", 291 "231.9011.35": "https://plugins.jetbrains.com/files/13017/307831/keymap-visualStudio-231.8109.91.zip", 292 "231.9225.12": "https://plugins.jetbrains.com/files/13017/307831/keymap-visualStudio-231.8109.91.zip", 293 "231.9225.15": "https://plugins.jetbrains.com/files/13017/307831/keymap-visualStudio-231.8109.91.zip", 294 "231.9225.16": "https://plugins.jetbrains.com/files/13017/307831/keymap-visualStudio-231.8109.91.zip", 295 + "231.9225.18": "https://plugins.jetbrains.com/files/13017/307831/keymap-visualStudio-231.8109.91.zip", 296 + "231.9225.21": "https://plugins.jetbrains.com/files/13017/307831/keymap-visualStudio-231.8109.91.zip", 297 "231.9225.23": "https://plugins.jetbrains.com/files/13017/307831/keymap-visualStudio-231.8109.91.zip" 298 }, 299 "name": "visual-studio-keymap" ··· 316 "builds": { 317 "223.8836.1185": "https://plugins.jetbrains.com/files/14059/82616/darcula-pitch-black.jar", 318 "231.9011.35": "https://plugins.jetbrains.com/files/14059/82616/darcula-pitch-black.jar", 319 "231.9225.12": "https://plugins.jetbrains.com/files/14059/82616/darcula-pitch-black.jar", 320 "231.9225.15": "https://plugins.jetbrains.com/files/14059/82616/darcula-pitch-black.jar", 321 "231.9225.16": "https://plugins.jetbrains.com/files/14059/82616/darcula-pitch-black.jar", 322 + "231.9225.18": "https://plugins.jetbrains.com/files/14059/82616/darcula-pitch-black.jar", 323 + "231.9225.21": "https://plugins.jetbrains.com/files/14059/82616/darcula-pitch-black.jar", 324 "231.9225.23": "https://plugins.jetbrains.com/files/14059/82616/darcula-pitch-black.jar" 325 }, 326 "name": "darcula-pitch-black" ··· 341 "webstorm" 342 ], 343 "builds": { 344 + "223.8836.1185": "https://plugins.jetbrains.com/files/17718/364783/github-copilot-intellij-1.2.15.2816.zip", 345 + "231.9011.35": "https://plugins.jetbrains.com/files/17718/364783/github-copilot-intellij-1.2.15.2816.zip", 346 + "231.9225.12": "https://plugins.jetbrains.com/files/17718/364783/github-copilot-intellij-1.2.15.2816.zip", 347 + "231.9225.15": "https://plugins.jetbrains.com/files/17718/364783/github-copilot-intellij-1.2.15.2816.zip", 348 + "231.9225.16": "https://plugins.jetbrains.com/files/17718/364783/github-copilot-intellij-1.2.15.2816.zip", 349 + "231.9225.18": "https://plugins.jetbrains.com/files/17718/364783/github-copilot-intellij-1.2.15.2816.zip", 350 + "231.9225.21": "https://plugins.jetbrains.com/files/17718/364783/github-copilot-intellij-1.2.15.2816.zip", 351 + "231.9225.23": "https://plugins.jetbrains.com/files/17718/364783/github-copilot-intellij-1.2.15.2816.zip" 352 }, 353 "name": "github-copilot" 354 }, ··· 370 "builds": { 371 "223.8836.1185": "https://plugins.jetbrains.com/files/18444/165585/NetBeans6.5Keymap.zip", 372 "231.9011.35": "https://plugins.jetbrains.com/files/18444/165585/NetBeans6.5Keymap.zip", 373 "231.9225.12": "https://plugins.jetbrains.com/files/18444/165585/NetBeans6.5Keymap.zip", 374 "231.9225.15": "https://plugins.jetbrains.com/files/18444/165585/NetBeans6.5Keymap.zip", 375 "231.9225.16": "https://plugins.jetbrains.com/files/18444/165585/NetBeans6.5Keymap.zip", 376 + "231.9225.18": "https://plugins.jetbrains.com/files/18444/165585/NetBeans6.5Keymap.zip", 377 + "231.9225.21": "https://plugins.jetbrains.com/files/18444/165585/NetBeans6.5Keymap.zip", 378 "231.9225.23": "https://plugins.jetbrains.com/files/18444/165585/NetBeans6.5Keymap.zip" 379 }, 380 "name": "netbeans-6-5-keymap" ··· 390 "https://plugins.jetbrains.com/files/14059/82616/darcula-pitch-black.jar": "sha256-eXInfAqY3yEZRXCAuv3KGldM1pNKEioNwPB0rIGgJFw=", 391 "https://plugins.jetbrains.com/files/164/275091/IdeaVim-2.1.0.zip": "sha256-2dM/r79XT+1MHDeRAUnZw6WO3dmw7MZfx9alHmBqMk0=", 392 "https://plugins.jetbrains.com/files/164/364022/IdeaVim-2.4.0-signed.zip": "sha256-aetarXrmK7EdYqLqAY0QNmi/djxDJnEyNTV1E0pay7Q=", 393 + "https://plugins.jetbrains.com/files/17718/364783/github-copilot-intellij-1.2.15.2816.zip": "sha256-ONmt+9mZN+/SyesZw6JV8S2U2SH5rggvojCXT0whI/E=", 394 "https://plugins.jetbrains.com/files/18444/165585/NetBeans6.5Keymap.zip": "sha256-KrzZTKZMQqoEMw+vDUv2jjs0EX0leaPBkU8H/ecq/oI=", 395 "https://plugins.jetbrains.com/files/631/360005/python-231.9225.16.zip": "sha256-vin0+O9f4rY3FYqztzdIlyal5bvrvrt8Q8neDrXRmsU=", 396 "https://plugins.jetbrains.com/files/6954/357005/kotlin-plugin-231-1.9.0-release-358-IJ8770.65.zip": "sha256-v2EB05au8mkC5VnoEILLJ3tesEeCWCYSNJ9RzfJZA1o=", 397 "https://plugins.jetbrains.com/files/6981/363869/ini-231.9225.21.zip": "sha256-/HljUhlum/bmgw0sfhK+33AgxCJsT32uU/UjQIzIbKs=", 398 "https://plugins.jetbrains.com/files/7219/355564/Symfony_Plugin-2022.1.253.zip": "sha256-vE+fobPbtWlaSHGTLlbDcC6NkaJiA4Qp50h8flXHaJc=", 399 "https://plugins.jetbrains.com/files/7320/346181/PHP_Annotations-9.4.0.zip": "sha256-hT5K4w4lhvNwDzDMDSvsIDGj9lyaRqglfOhlbNdqpWs=",
+36 -36
pkgs/applications/editors/jetbrains/versions.json
··· 3 "clion": { 4 "update-channel": "CLion RELEASE", 5 "url-template": "https://download.jetbrains.com/cpp/CLion-{version}.tar.gz", 6 - "version": "2023.1.4", 7 - "sha256": "03830bd8c32eca51d2cb54aafbb74ce46003eaab9601465876c84107c0a19a23", 8 - "url": "https://download.jetbrains.com/cpp/CLion-2023.1.4.tar.gz", 9 - "build_number": "231.9161.40" 10 }, 11 "datagrip": { 12 "update-channel": "DataGrip RELEASE", ··· 67 "phpstorm": { 68 "update-channel": "PhpStorm RELEASE", 69 "url-template": "https://download.jetbrains.com/webide/PhpStorm-{version}.tar.gz", 70 - "version": "2023.1.3", 71 - "sha256": "c12c99b39615bd2d37eec93ed29faee2387294624eaed7fabd5c7cc8de9faf9f", 72 - "url": "https://download.jetbrains.com/webide/PhpStorm-2023.1.3.tar.gz", 73 - "build_number": "231.9161.47", 74 "version-major-minor": "2022.3" 75 }, 76 "pycharm-community": { ··· 108 "webstorm": { 109 "update-channel": "WebStorm RELEASE", 110 "url-template": "https://download.jetbrains.com/webstorm/WebStorm-{version}.tar.gz", 111 - "version": "2023.1.3", 112 - "sha256": "1cef18a6d80e063b520dd8e9a0cf5b27a9cb05bbfa5b680e97c54a7cb435c9c6", 113 - "url": "https://download.jetbrains.com/webstorm/WebStorm-2023.1.3.tar.gz", 114 - "build_number": "231.9161.29" 115 } 116 }, 117 "x86_64-darwin": { 118 "clion": { 119 "update-channel": "CLion RELEASE", 120 "url-template": "https://download.jetbrains.com/cpp/CLion-{version}.dmg", 121 - "version": "2023.1.4", 122 - "sha256": "fdb801c7c42e87fa0db94b68192e09319583118461385e4133ce9cd01125cb41", 123 - "url": "https://download.jetbrains.com/cpp/CLion-2023.1.4.dmg", 124 - "build_number": "231.9161.40" 125 }, 126 "datagrip": { 127 "update-channel": "DataGrip RELEASE", ··· 182 "phpstorm": { 183 "update-channel": "PhpStorm RELEASE", 184 "url-template": "https://download.jetbrains.com/webide/PhpStorm-{version}.dmg", 185 - "version": "2023.1.3", 186 - "sha256": "d181a8c9ff92f183f1ce68c1867de61b17e5a82f5b16ec472baa99f5a5f9ce83", 187 - "url": "https://download.jetbrains.com/webide/PhpStorm-2023.1.3.dmg", 188 - "build_number": "231.9161.47", 189 "version-major-minor": "2022.3" 190 }, 191 "pycharm-community": { ··· 223 "webstorm": { 224 "update-channel": "WebStorm RELEASE", 225 "url-template": "https://download.jetbrains.com/webstorm/WebStorm-{version}.dmg", 226 - "version": "2023.1.3", 227 - "sha256": "ac8a4edbc2d846e2ac205ebf62ad0d883df5eac812b226b1b99c4f19764df005", 228 - "url": "https://download.jetbrains.com/webstorm/WebStorm-2023.1.3.dmg", 229 - "build_number": "231.9161.29" 230 } 231 }, 232 "aarch64-darwin": { 233 "clion": { 234 "update-channel": "CLion RELEASE", 235 "url-template": "https://download.jetbrains.com/cpp/CLion-{version}-aarch64.dmg", 236 - "version": "2023.1.4", 237 - "sha256": "f3aa638dbf08df9763d557c02c5408be864442af25c7e4b0dce7889a800f3a49", 238 - "url": "https://download.jetbrains.com/cpp/CLion-2023.1.4-aarch64.dmg", 239 - "build_number": "231.9161.40" 240 }, 241 "datagrip": { 242 "update-channel": "DataGrip RELEASE", ··· 297 "phpstorm": { 298 "update-channel": "PhpStorm RELEASE", 299 "url-template": "https://download.jetbrains.com/webide/PhpStorm-{version}-aarch64.dmg", 300 - "version": "2023.1.3", 301 - "sha256": "49ca043ee6119ae31c5f3fd12aa085f22dc0117c95bf70fca8afe29960c1a546", 302 - "url": "https://download.jetbrains.com/webide/PhpStorm-2023.1.3-aarch64.dmg", 303 - "build_number": "231.9161.47", 304 "version-major-minor": "2022.3" 305 }, 306 "pycharm-community": { ··· 338 "webstorm": { 339 "update-channel": "WebStorm RELEASE", 340 "url-template": "https://download.jetbrains.com/webstorm/WebStorm-{version}-aarch64.dmg", 341 - "version": "2023.1.3", 342 - "sha256": "c5cc29db9a12515892beed79e1970e628a816f78c629045795ea16c6e5629a2b", 343 - "url": "https://download.jetbrains.com/webstorm/WebStorm-2023.1.3-aarch64.dmg", 344 - "build_number": "231.9161.29" 345 } 346 } 347 }
··· 3 "clion": { 4 "update-channel": "CLion RELEASE", 5 "url-template": "https://download.jetbrains.com/cpp/CLion-{version}.tar.gz", 6 + "version": "2023.1.5", 7 + "sha256": "69a274098fe35ca53edbed460f1044691cedf595d080e291644a013905591bf3", 8 + "url": "https://download.jetbrains.com/cpp/CLion-2023.1.5.tar.gz", 9 + "build_number": "231.9225.21" 10 }, 11 "datagrip": { 12 "update-channel": "DataGrip RELEASE", ··· 67 "phpstorm": { 68 "update-channel": "PhpStorm RELEASE", 69 "url-template": "https://download.jetbrains.com/webide/PhpStorm-{version}.tar.gz", 70 + "version": "2023.1.4", 71 + "sha256": "7b44d704641c6015ce49e12e82c8866e9fdd8e8d421590235e536b3b1312b180", 72 + "url": "https://download.jetbrains.com/webide/PhpStorm-2023.1.4.tar.gz", 73 + "build_number": "231.9225.18", 74 "version-major-minor": "2022.3" 75 }, 76 "pycharm-community": { ··· 108 "webstorm": { 109 "update-channel": "WebStorm RELEASE", 110 "url-template": "https://download.jetbrains.com/webstorm/WebStorm-{version}.tar.gz", 111 + "version": "2023.1.4", 112 + "sha256": "d522583e234aaf66d3da760908d2fa1254990a2497bb7c6eb84ee9d0bb3c5ffe", 113 + "url": "https://download.jetbrains.com/webstorm/WebStorm-2023.1.4.tar.gz", 114 + "build_number": "231.9225.18" 115 } 116 }, 117 "x86_64-darwin": { 118 "clion": { 119 "update-channel": "CLion RELEASE", 120 "url-template": "https://download.jetbrains.com/cpp/CLion-{version}.dmg", 121 + "version": "2023.1.5", 122 + "sha256": "d372abe2e1598e9ae3ca121a85d7d89211e65d99b4ca2183ef05dd3172212c44", 123 + "url": "https://download.jetbrains.com/cpp/CLion-2023.1.5.dmg", 124 + "build_number": "231.9225.21" 125 }, 126 "datagrip": { 127 "update-channel": "DataGrip RELEASE", ··· 182 "phpstorm": { 183 "update-channel": "PhpStorm RELEASE", 184 "url-template": "https://download.jetbrains.com/webide/PhpStorm-{version}.dmg", 185 + "version": "2023.1.4", 186 + "sha256": "4d3d9005772d2136e44f7774377fae053b690501800ea5e650d0f35882690fdd", 187 + "url": "https://download.jetbrains.com/webide/PhpStorm-2023.1.4.dmg", 188 + "build_number": "231.9225.18", 189 "version-major-minor": "2022.3" 190 }, 191 "pycharm-community": { ··· 223 "webstorm": { 224 "update-channel": "WebStorm RELEASE", 225 "url-template": "https://download.jetbrains.com/webstorm/WebStorm-{version}.dmg", 226 + "version": "2023.1.4", 227 + "sha256": "9e80e3047396b99f82d541813a1177e058f3acb0fc81d27a625e3f62cc1ddadb", 228 + "url": "https://download.jetbrains.com/webstorm/WebStorm-2023.1.4.dmg", 229 + "build_number": "231.9225.18" 230 } 231 }, 232 "aarch64-darwin": { 233 "clion": { 234 "update-channel": "CLion RELEASE", 235 "url-template": "https://download.jetbrains.com/cpp/CLion-{version}-aarch64.dmg", 236 + "version": "2023.1.5", 237 + "sha256": "432955fc7926a5387c1fa9b30433b0e68f49ab88ea40d0bddef711692b28e8b1", 238 + "url": "https://download.jetbrains.com/cpp/CLion-2023.1.5-aarch64.dmg", 239 + "build_number": "231.9225.21" 240 }, 241 "datagrip": { 242 "update-channel": "DataGrip RELEASE", ··· 297 "phpstorm": { 298 "update-channel": "PhpStorm RELEASE", 299 "url-template": "https://download.jetbrains.com/webide/PhpStorm-{version}-aarch64.dmg", 300 + "version": "2023.1.4", 301 + "sha256": "3285135fc4c529640ecfc5b451fa9b51d9df2a323915509cc6cbb3f25717c9e2", 302 + "url": "https://download.jetbrains.com/webide/PhpStorm-2023.1.4-aarch64.dmg", 303 + "build_number": "231.9225.18", 304 "version-major-minor": "2022.3" 305 }, 306 "pycharm-community": { ··· 338 "webstorm": { 339 "update-channel": "WebStorm RELEASE", 340 "url-template": "https://download.jetbrains.com/webstorm/WebStorm-{version}-aarch64.dmg", 341 + "version": "2023.1.4", 342 + "sha256": "15d1a6a65c6cb073479f82394d2691fd84c54bc7eb2c5f55a6db77bdb6e500bd", 343 + "url": "https://download.jetbrains.com/webstorm/WebStorm-2023.1.4-aarch64.dmg", 344 + "build_number": "231.9225.18" 345 } 346 } 347 }
+4 -4
pkgs/applications/editors/vscode/extensions/vadimcn.vscode-lldb/update.sh
··· 24 ) 25 fi 26 old_version=$(sed -nE 's/.*\bversion = "(.*)".*/\1/p' ./default.nix) 27 - if grep -q 'cargoSha256 = ""' ./default.nix; then 28 old_version='broken' 29 fi 30 if [[ "$version" == "$old_version" ]]; then ··· 34 35 # update hashes 36 sed -E 's/\bversion = ".*?"/version = "'$version'"/' --in-place "$nixFile" 37 - srcHash=$(nix-prefetch-github vadimcn vscode-lldb --rev "v$version" | jq --raw-output .sha256) 38 - sed -E 's#\bsha256 = ".*?"#sha256 = "'$srcHash'"#' --in-place "$nixFile" 39 cargoHash=$(nix-prefetch "{ sha256 }: (import $nixpkgs {}).vscode-extensions.vadimcn.vscode-lldb.adapter.cargoDeps.overrideAttrs (_: { outputHash = sha256; })") 40 - sed -E 's#\bcargoSha256 = ".*?"#cargoSha256 = "'$cargoHash'"#' --in-place "$nixFile" 41 42 pushd $TMPDIR 43 curl -LO https://raw.githubusercontent.com/$owner/$repo/v${version}/package-lock.json
··· 24 ) 25 fi 26 old_version=$(sed -nE 's/.*\bversion = "(.*)".*/\1/p' ./default.nix) 27 + if grep -q 'cargoHash = ""' ./default.nix; then 28 old_version='broken' 29 fi 30 if [[ "$version" == "$old_version" ]]; then ··· 34 35 # update hashes 36 sed -E 's/\bversion = ".*?"/version = "'$version'"/' --in-place "$nixFile" 37 + srcHash=$(nix-prefetch-github vadimcn vscode-lldb --rev "v$version" | jq --raw-output .hash) 38 + sed -E 's#\bhash = ".*?"#hash = "'$srcHash'"#' --in-place "$nixFile" 39 cargoHash=$(nix-prefetch "{ sha256 }: (import $nixpkgs {}).vscode-extensions.vadimcn.vscode-lldb.adapter.cargoDeps.overrideAttrs (_: { outputHash = sha256; })") 40 + sed -E 's#\bcargoHash = ".*?"#cargoHash = "'$cargoHash'"#' --in-place "$nixFile" 41 42 pushd $TMPDIR 43 curl -LO https://raw.githubusercontent.com/$owner/$repo/v${version}/package-lock.json
+85 -85
pkgs/applications/emulators/retroarch/hashes.json
··· 3 "owner": "libretro", 4 "repo": "libretro-2048", 5 "rev": "331c1de588ed8f8c370dcbc488e5434a3c09f0f2", 6 - "sha256": "gPrAmoBnfuTnW6t699pqS43vE6t0ca3jZcqTNRaJipA=" 7 }, 8 "atari800": { 9 "owner": "libretro", 10 "repo": "libretro-atari800", 11 "rev": "94033288b026fe699bc50703609807aa8075f4dd", 12 - "sha256": "fTKFELELt1g7t3uPgnXIgeMkkSbl9GHr0/k2FHcpDFI=" 13 }, 14 "beetle-gba": { 15 "owner": "libretro", 16 "repo": "beetle-gba-libretro", 17 "rev": "38182572571a48cb58057cde64b915237c4e2d58", 18 - "sha256": "4xnXWswozlcXBNI1lbGSNW/gAdIeLLO9Bf1SxOFLhSo=" 19 }, 20 "beetle-lynx": { 21 "owner": "libretro", 22 "repo": "beetle-lynx-libretro", 23 "rev": "3ca44fda26f27418c92ada1b0f38b948af2151ae", 24 - "sha256": "f0A8gA3UT40UDaAkWQcPoDd6vAcM37tNtZ2hCOIyBJA=" 25 }, 26 "beetle-ngp": { 27 "owner": "libretro", 28 "repo": "beetle-ngp-libretro", 29 "rev": "65460e3a9ad529f6901caf669abbda11f437ab55", 30 - "sha256": "+xfD1ZMKtbv5Lp12+5RM7Vl3eEF38kykKW8wj/2EN5w=" 31 }, 32 "beetle-pce-fast": { 33 "owner": "libretro", 34 "repo": "beetle-pce-fast-libretro", 35 "rev": "e480f6388375f59fd3e7aeef8ef8531c20e5c73e", 36 - "sha256": "uURt6rB0IngWzEpl0DjbckdaTIjNwVCm3auvy7AwUdA=" 37 }, 38 "beetle-pcfx": { 39 "owner": "libretro", 40 "repo": "beetle-pcfx-libretro", 41 "rev": "724bd21b4524f8cf376dbc29c3e5a12cb674c758", 42 - "sha256": "xeIVZ8FWGbETWYRIBNs3Yum7FDit5fb77hhH+RU45BY=" 43 }, 44 "beetle-psx": { 45 "owner": "libretro", 46 "repo": "beetle-psx-libretro", 47 "rev": "fd812d4cf8f65644faef1ea8597f826ddc37c0a0", 48 - "sha256": "yvMgnY2dGUk8TvvfDklN3f6b1ol7vDu6AJcYzdwy9pI=" 49 }, 50 "beetle-saturn": { 51 "owner": "libretro", 52 "repo": "beetle-saturn-libretro", 53 "rev": "9bd31a4a42d06ca0f6d30ee38a569e57c150c414", 54 - "sha256": "RHvH9Jp6c4cgEMTo+p+dU7qgJqjPbRqJLURadjAysrM=" 55 }, 56 "beetle-snes": { 57 "owner": "libretro", 58 "repo": "beetle-bsnes-libretro", 59 "rev": "d770563fc3c4bd9abb522952cefb4aa923ba0b91", 60 - "sha256": "zHPtfgp9hc8Q4gXJ5VgfJLWLeYjCsQhkfU1T5RM7AL0=" 61 }, 62 "beetle-supafaust": { 63 "owner": "libretro", 64 "repo": "supafaust", 65 "rev": "75c658cce454e58ae04ea252f53a31c60d61548e", 66 - "sha256": "2fXarVfb5/SYXF8t25/fGNFvODpGas5Bi0hLIbXgB+0=" 67 }, 68 "beetle-supergrafx": { 69 "owner": "libretro", 70 "repo": "beetle-supergrafx-libretro", 71 "rev": "1ff2daa9377114d5394142f75f1c388b706567ed", 72 - "sha256": "0FCm9kURtUQpyPb8cSmRAxttnUJnhE3EWV8DPvlj8HE=" 73 }, 74 "beetle-vb": { 75 "owner": "libretro", 76 "repo": "beetle-vb-libretro", 77 "rev": "dd6393f76ff781df0f4e8c953f5b053b1e61b313", 78 - "sha256": "C8OtTNdC7GNFsY2EH56in35IX8d6ou/1R04kMvM9674=" 79 }, 80 "beetle-wswan": { 81 "owner": "libretro", 82 "repo": "beetle-wswan-libretro", 83 "rev": "81e8b2afd31b7f0f939a3df6d70c8723bcc8a701", 84 - "sha256": "xmDtMC5pId5X4vf9kHO55HmRpp/4ZruOM8QJSl//9R8=" 85 }, 86 "blastem": { 87 "owner": "libretro", 88 "repo": "blastem", 89 "rev": "277e4a62668597d4f59cadda1cbafb844f981d45", 90 - "sha256": "EHvKElPw8V5Z6LnMaQXBCdM4niLIlF3aBm8dRbeYXHs=" 91 }, 92 "bluemsx": { 93 "owner": "libretro", 94 "repo": "bluemsx-libretro", 95 "rev": "acf358be18644a9df0ed9602d63c2f73d4fe605a", 96 - "sha256": "K4mH+brakYZcVEeYMFUkFThqdZGt2+aP5DfpOgWSJxg=" 97 }, 98 "bsnes": { 99 "owner": "libretro", 100 "repo": "bsnes-libretro", 101 "rev": "4da970a334ba4644cef72e560985ea3f31fa40f7", 102 - "sha256": "Bu5j1wrMNVMmxQULZwTdXyWi2i6F5C6m8wFDxvtjYdI=" 103 }, 104 "bsnes-hd": { 105 "owner": "DerKoun", 106 "repo": "bsnes-hd", 107 "rev": "04821703aefdc909a4fd66d168433fcac06c2ba7", 108 - "sha256": "QmNthbWb92vel5PFwJRXeEEVZHIxfvZ0ls+csodpGbU=" 109 }, 110 "bsnes-mercury": { 111 "owner": "libretro", 112 "repo": "bsnes-mercury", 113 "rev": "fb9a41fe9bc230a07c4506cad3cbf21d3fa635b4", 114 - "sha256": "gBOxKSv3j229IVdtffqFV/zSSacEs8UsBERnQgdFw4Y=" 115 }, 116 "citra": { 117 "owner": "libretro", 118 "repo": "citra", 119 "rev": "d7e1612c17b1acb5d5eb68bb046820db49aeea5e", 120 - "sha256": "u2XwAudFgI7j/k6Bq5fk874aI6KpZawlBoIs2+M+eZY=", 121 "fetchSubmodules": true 122 }, 123 "desmume": { 124 "owner": "libretro", 125 "repo": "desmume", 126 "rev": "fbd368c8109f95650e1f81bca1facd6d4d8687d7", 127 - "sha256": "7MFa5zd1jdOCqSI+VPl5nAHE7Kfm/lA0lbSPFskzqaQ=" 128 }, 129 "desmume2015": { 130 "owner": "libretro", 131 "repo": "desmume2015", 132 "rev": "af397ff3d1f208c27f3922cc8f2b8e08884ba893", 133 - "sha256": "kEb+og4g7rJvCinBZKcb42geZO6W8ynGsTG9yqYgI+U=" 134 }, 135 "dolphin": { 136 "owner": "libretro", 137 "repo": "dolphin", 138 "rev": "2f4b0f7902257d40a054f60b2c670d6e314f2a04", 139 - "sha256": "9WYWbLehExYbPmGJpguhVFXqFJ9aR6VxzFVChd4QOEg=" 140 }, 141 "dosbox": { 142 "owner": "libretro", 143 "repo": "dosbox-libretro", 144 "rev": "b7b24262c282c0caef2368c87323ff8c381b3102", 145 - "sha256": "PG2eElenlEpu0U/NIh53p0uLqewnEdaq6Aoak5E1P3I=" 146 }, 147 "eightyone": { 148 "owner": "libretro", 149 "repo": "81-libretro", 150 "rev": "340a51b250fb8fbf1a9e5d3ad3924044250064e0", 151 - "sha256": "Cz3gPwbME8lDMKju3dn8hM8O2u9h9+8EUg7Nf6a7epA=" 152 }, 153 "fbalpha2012": { 154 "owner": "libretro", 155 "repo": "fbalpha2012", 156 "rev": "7f8860543a81ba79c0e1ce1aa219af44568c628a", 157 - "sha256": "r1lH+CR+nVRCPkVo0XwLi35/ven/FEkNhWUTA6cUVxc=" 158 }, 159 "fbneo": { 160 "owner": "libretro", 161 "repo": "fbneo", 162 "rev": "ffcd114b8ea3f3387b66997263ea5df358675aa5", 163 - "sha256": "a4hXRluHQY5hC5jFU2mlqUAI5GmQk6Rbl1HNRA929CI=" 164 }, 165 "fceumm": { 166 "owner": "libretro", 167 "repo": "libretro-fceumm", 168 "rev": "1fa798b220a6df8417dcf7da0ab117533385d9c2", 169 - "sha256": "B1iHZ7BVaM/GBgdD2jNZIEmXcRqKC6YaO9z1ByocMtE=" 170 }, 171 "flycast": { 172 "owner": "libretro", 173 "repo": "flycast", 174 "rev": "4c293f306bc16a265c2d768af5d0cea138426054", 175 - "sha256": "9IxpRBY1zifhOebLJSDMA/wiOfcZj+KOiPrgmjiFxvo=" 176 }, 177 "fmsx": { 178 "owner": "libretro", 179 "repo": "fmsx-libretro", 180 "rev": "1360c9ff32b390383567774d01fbe5d6dfcadaa3", 181 - "sha256": "LLGD29HKpV34IOJ2ygjHZZT7XQqHHXccnpGNfWCuabg=" 182 }, 183 "freeintv": { 184 "owner": "libretro", 185 "repo": "freeintv", 186 "rev": "9a65ec6e31d48ad0dae1f381c1ec61c897f970cb", 187 - "sha256": "ZeWw/K6i04XRympqZ6sQG/yjN8cJglVcIkxpyRHx424=" 188 }, 189 "fuse": { 190 "owner": "libretro", 191 "repo": "fuse-libretro", 192 "rev": "847dbbd6f787823ac9a5dfacdd68ab181063374e", 193 - "sha256": "jzS7SFALV/YjI77ST+IWHwUsuhT+Zr5w4t6C7O8yzFM=" 194 }, 195 "gambatte": { 196 "owner": "libretro", 197 "repo": "gambatte-libretro", 198 "rev": "ea563fac40e281b29d37f6b56657abef8f1aaf0d", 199 - "sha256": "2jVbEsGkvdH1lA2//mb2Rm3xeh4EyFUcOUXdydSisvk=" 200 }, 201 "genesis-plus-gx": { 202 "owner": "libretro", 203 "repo": "Genesis-Plus-GX", 204 "rev": "f6a9bd72a56a11c2068be2d15fa52dda3e1e8027", 205 - "sha256": "4siJGPRMpXHfP6mBPoDJArNaISTNjPKT69cvtGldadI=" 206 }, 207 "gpsp": { 208 "owner": "libretro", 209 "repo": "gpsp", 210 "rev": "541adc9e1c6c9328c07058659594d6300ae0fa19", 211 - "sha256": "2iv/gMOgTZReDgVzEc3WyOdAlYgfANK08CtpZIyPxgA=" 212 }, 213 "gw": { 214 "owner": "libretro", 215 "repo": "gw-libretro", 216 "rev": "19a1cb3105ca4a82139fb4994e7995fd956f6f8d", 217 - "sha256": "luhKXzxrXVNAHw8ArF1I78Zch7XEPwI3aqe0f6WRgD0=" 218 }, 219 "handy": { 220 "owner": "libretro", 221 "repo": "libretro-handy", 222 "rev": "63db085af671bad2929078c55434623b7d4632a1", 223 - "sha256": "N6M3KSU4NPJCqoG/UMrna9/6H5PsBBMUQLrvqiIdxpE=" 224 }, 225 "hatari": { 226 "owner": "libretro", 227 "repo": "hatari", 228 "rev": "1ebf0a0488580ef95c0b28f02223b31813c867c5", 229 - "sha256": "i6dr+fFWPatRCIY+ajIZ1p3ERPV5ktv0nxHKxbGE5ao=" 230 }, 231 "mame": { 232 "owner": "libretro", 233 "repo": "mame", 234 "rev": "f7761a9902d59030882c58d4482446196e748c50", 235 - "sha256": "g37WAMt9iBbAYq4DfeTlHWmdW5/Vl7g90v6vCLmMQ3g=" 236 }, 237 "mame2000": { 238 "owner": "libretro", 239 "repo": "mame2000-libretro", 240 "rev": "0208517404e841fce0c094f1a2776a0e1c6c101d", 241 - "sha256": "WEJd7wSzY32sqMpMrjCD0hrOyAQq1WMBaGiY/2QQ4BQ=" 242 }, 243 "mame2003": { 244 "owner": "libretro", 245 "repo": "mame2003-libretro", 246 "rev": "b1cc49cf1d8bbef88b890e1c2a315a39d009171b", 247 - "sha256": "bc4uER92gHf20JjR/Qcetvlu89ZmldJ1DiQphJZt/EA=" 248 }, 249 "mame2003-plus": { 250 "owner": "libretro", 251 "repo": "mame2003-plus-libretro", 252 "rev": "0b9309d9d86aea2457df74709e997bea37899475", 253 - "sha256": "US0nkEH4EeKRejuN8UoDeLt5dhafuo7PEVx0FnpeUG0=" 254 }, 255 "mame2010": { 256 "owner": "libretro", 257 "repo": "mame2010-libretro", 258 "rev": "5f524dd5fca63ec1dcf5cca63885286109937587", 259 - "sha256": "OmJgDdlan/niGQfajv0KNG8NJfEKn7Nfe6GRQD+TZ8M=" 260 }, 261 "mame2015": { 262 "owner": "libretro", 263 "repo": "mame2015-libretro", 264 "rev": "2599c8aeaf84f62fe16ea00daa460a19298c121c", 265 - "sha256": "TURTX0XrvqwqKG3O3aCttDAdicBdge5F1thVvYgEHaw=" 266 }, 267 "mame2016": { 268 "owner": "libretro", 269 "repo": "mame2016-libretro", 270 "rev": "01058613a0109424c4e7211e49ed83ac950d3993", 271 - "sha256": "IsM7f/zlzvomVOYlinJVqZllUhDfy4NNTeTPtNmdVak=" 272 }, 273 "melonds": { 274 "owner": "libretro", 275 "repo": "melonds", 276 "rev": "0e1f06da626cbe67215c3f06f6bdf510dd4e4649", 277 - "sha256": "ax9Vu8+1pNAHWPXrx5QA0n5EsmaJ2T7KJ5Otz8DSZwM=" 278 }, 279 "mesen": { 280 "owner": "libretro", 281 "repo": "mesen", 282 "rev": "caa4e6f14373c40bd2805c600d1b476e7616444a", 283 - "sha256": "cnPNBWXbnCpjgW/wJIboiRBzv3zrHWxpNM1kg09ShLU=" 284 }, 285 "mesen-s": { 286 "owner": "libretro", 287 "repo": "mesen-s", 288 "rev": "32a7adfb4edb029324253cb3632dfc6599ad1aa8", 289 - "sha256": "/OOMH7kt9Pmkdmy5m+I8FMvog5mqZHyrZvfjHccz8oo=" 290 }, 291 "meteor": { 292 "owner": "libretro", 293 "repo": "meteor-libretro", 294 "rev": "e533d300d0561564451bde55a2b73119c768453c", 295 - "sha256": "zMkgzUz2rk0SD5ojY4AqaDlNM4k4QxuUxVBRBcn6TqQ=" 296 }, 297 "mgba": { 298 "owner": "libretro", 299 "repo": "mgba", 300 "rev": "a69c3434afe8b26cb8f9463077794edfa7d5efad", 301 - "sha256": "rmitsZzRWJ0VYzcNz/UtIK8OscQ4lkyuAwgfXOvSTzg=" 302 }, 303 "mupen64plus": { 304 "owner": "libretro", 305 "repo": "mupen64plus-libretro-nx", 306 "rev": "5a63aadedc29655254d8fc7b4da3a325472e198b", 307 - "sha256": "QNa8WGJFShO4vc4idUntCUaLik4xQXBA+X7z5sjZ2NE=" 308 }, 309 "neocd": { 310 "owner": "libretro", 311 "repo": "neocd_libretro", 312 "rev": "2070f5258c9d3feee15962f9db8c8ef20072ece8", 313 - "sha256": "X+lS1zW5oTzp7wwurM5xjVqIBwEOCIdj/NX/+33K2qg=" 314 }, 315 "nestopia": { 316 "owner": "libretro", 317 "repo": "nestopia", 318 "rev": "16b14865caf1effca030630e2fc73d2d4271fc53", 319 - "sha256": "dU9X8sK/qDA/Qj0x1GicmSAzQyRqVmLiTcfCPe8+BjM=" 320 }, 321 "np2kai": { 322 "owner": "AZO234", 323 "repo": "NP2kai", 324 "rev": "6089943a80a45b6c18d765765f7f31d7a5c0d9c6", 325 - "sha256": "tdF0Qb+smWAVoPmI0dd5s51cnYxMmqM36rQNMiEjU9A=", 326 "fetchSubmodules": true 327 }, 328 "nxengine": { 329 "owner": "libretro", 330 "repo": "nxengine-libretro", 331 "rev": "1f371e51c7a19049e00f4364cbe9c68ca08b303a", 332 - "sha256": "4XBNTzgN8pLyrK9KsVxTRR1I8CQaZCnVR4gMryYpWW0=" 333 }, 334 "o2em": { 335 "owner": "libretro", 336 "repo": "libretro-o2em", 337 "rev": "a2a12472fde910b6089ac3ca6de805bd58a9c999", 338 - "sha256": "0cZYw3rrnaR+PfwReRXadLV8RVLblYqlZxJue6OZncg=" 339 }, 340 "opera": { 341 "owner": "libretro", 342 "repo": "opera-libretro", 343 "rev": "8a49bb8877611037438aeb857cb182f41ee0e3a1", 344 - "sha256": "oH+sQi4D+xkqiJbq7fgGdHjgvyLt8UjlgXIo7K3wXZM=" 345 }, 346 "parallel-n64": { 347 "owner": "libretro", 348 "repo": "parallel-n64", 349 "rev": "a03fdcba6b2e9993f050b50112f597ce2f44fa2c", 350 - "sha256": "aJG+s+1OkHQHPvVzlJWU/VziQWj1itKkRwqcEBK+lgA=" 351 }, 352 "pcsx2": { 353 "owner": "libretro", 354 "repo": "pcsx2", 355 "rev": "f3c8743d6a42fe429f703b476fecfdb5655a98a9", 356 - "sha256": "0piCNWX7QbZ58KyTlWp4h1qLxXpi1z6ML8sBHMTvCY4=" 357 }, 358 "pcsx_rearmed": { 359 "owner": "libretro", 360 "repo": "pcsx_rearmed", 361 "rev": "4373e29de72c917dbcd04ec2a5fb685e69d9def3", 362 - "sha256": "727//NqBNEo6RHNQr1RY5cxMrEvfuJczCo+cUJZVv7U=" 363 }, 364 "picodrive": { 365 "owner": "libretro", 366 "repo": "picodrive", 367 "rev": "7ab066aab84f15388a53433ea273420bcf917e00", 368 - "sha256": "NK9ASiiIkGZmi2YfCqEzZallVfS7nprLRrBk4dlGyAI=", 369 "fetchSubmodules": true 370 }, 371 "play": { 372 "owner": "jpd002", 373 "repo": "Play-", 374 "rev": "b33834af08a4954f06be215eee80a72e7a378e91", 375 - "sha256": "IxZk+kSdrkDAabbzdFM8QUrjaJUc1DHjSfAtDuwDJkw=", 376 "fetchSubmodules": true 377 }, 378 "ppsspp": { 379 "owner": "hrydgard", 380 "repo": "ppsspp", 381 "rev": "7df51c3d060a780b7383c5c1380e346ad9304bb4", 382 - "sha256": "GK3W0/yWaID3s0W0v6TcgJ0ZU984YspWMS6+XLyThjM=", 383 "fetchSubmodules": true 384 }, 385 "prboom": { 386 "owner": "libretro", 387 "repo": "libretro-prboom", 388 "rev": "d9c3975669b4aab5a1397e0174838bcbbc3c1582", 389 - "sha256": "klSJ7QIpNjlfyjhfeEQZ3j8Gnp4agd0qKVp0vr+KHVA=" 390 }, 391 "prosystem": { 392 "owner": "libretro", 393 "repo": "prosystem-libretro", 394 "rev": "763ad22c7de51c8f06d6be0d49c554ce6a94a29b", 395 - "sha256": "rE/hxP8hl9lLTNx/WympFDByjZs46ekyxLKRV4V8D9E=" 396 }, 397 "puae": { 398 "owner": "libretro", 399 "repo": "libretro-uae", 400 "rev": "ae58c0f226b654d643b9f2dce58f64657f57cb76", 401 - "sha256": "6oMTwCYGdVhh+R853gOQRzZfa7slDwe6aGVCvdm6NDU=" 402 }, 403 "quicknes": { 404 "owner": "libretro", 405 "repo": "QuickNES_Core", 406 "rev": "75d501a87ec2074e8d2f7256fb0359513c263c29", 407 - "sha256": "yAHVTgOt8SGyPXihp4YNKKAvxl9VBBAvHyzLW86zSCw=" 408 }, 409 "sameboy": { 410 "owner": "libretro", 411 "repo": "sameboy", 412 "rev": "09138330990da32362246c7034cf4de2ea0a2a2b", 413 - "sha256": "hQWIuNwCykkJR+6naNarR50kUvIFNny+bbZHR6/GA/4=" 414 }, 415 "scummvm": { 416 "owner": "libretro", 417 "repo": "scummvm", 418 "rev": "ab2e5d59cd25dfa5943d45c2567e8330d67fad8b", 419 - "sha256": "9IaQR0prbCT70iWA99NMgGAKPobifdWBX17p4zL0fEM=" 420 }, 421 "smsplus-gx": { 422 "owner": "libretro", 423 "repo": "smsplus-gx", 424 "rev": "60af17ddb2231ba98f4ed1203e2a2f58d08ea088", 425 - "sha256": "2SZR9BOTYLmtjEF4Bdl49H2pFNEIaU68VqlA7ll5TqU=" 426 }, 427 "snes9x": { 428 "owner": "snes9xgit", 429 "repo": "snes9x", 430 "rev": "cc0a87711a7a208cabefc9fd1dbb90e31fe51684", 431 - "sha256": "1m6QvYl5Z0WM1XeXCYLvQaXH8A15P3x8ZzwdFeVPeWo=" 432 }, 433 "snes9x2002": { 434 "owner": "libretro", 435 "repo": "snes9x2002", 436 "rev": "540baad622d9833bba7e0696193cb06f5f02f564", 437 - "sha256": "WJh8Qf1/uFaL9f9d28qXsbpeAZfYGPgjoty3G6XAKSs=" 438 }, 439 "snes9x2005": { 440 "owner": "libretro", 441 "repo": "snes9x2005", 442 "rev": "fd45b0e055bce6cff3acde77414558784e93e7d0", 443 - "sha256": "zjA/G62V38/hj+WjJDGAs48AcTUIiMWL8feCqLsCRnI=" 444 }, 445 "snes9x2010": { 446 "owner": "libretro", 447 "repo": "snes9x2010", 448 "rev": "d8b10c4cd7606ed58f9c562864c986bc960faaaf", 449 - "sha256": "7FmteYrAYr+pGNXGg9CBC4NFlijGRf7GdtJfiNjmonU=" 450 }, 451 "stella": { 452 "owner": "stella-emu", 453 "repo": "stella", 454 "rev": "93ea39d6155f08c21707a85a0b04b33008a7ab15", 455 - "sha256": "9dCBaLxb1CBbngBd3tJ0x5lT+dnzzhK2DO4Gk/S6WW4=" 456 }, 457 "stella2014": { 458 "owner": "libretro", 459 "repo": "stella2014-libretro", 460 "rev": "8ab051edd4816f33a5631d230d54059eeed52c5f", 461 - "sha256": "wqssB8WXXF2Lu9heII8nWLLOvI38cIfHSMA7OOd6jx0=" 462 }, 463 "swanstation": { 464 "owner": "libretro", 465 "repo": "swanstation", 466 "rev": "e24f21196cdcd50321475c4366b51af245a6bbe6", 467 - "sha256": "DjAB0Z0yY9IGESeNNkkbdoAO5ItJ/8cZ5ycRofHG978=" 468 }, 469 "tgbdual": { 470 "owner": "libretro", 471 "repo": "tgbdual-libretro", 472 "rev": "a6f3018e6a23030afc1873845ee54d4b2d8ec9d3", 473 - "sha256": "MBUgYXX/Pc+TkwoS7OwbXSPssKUf6lwWx/bKhvwDkHs=" 474 }, 475 "thepowdertoy": { 476 "owner": "libretro", 477 "repo": "ThePowderToy", 478 "rev": "f644498193c4c8be689d8a1d2a70e37e4eff4243", 479 - "sha256": "aPUqrrrH2Ia56A3Kx6ClMcZO9nbHGJIcEQ6nFyIMamo=" 480 }, 481 "tic80": { 482 "owner": "libretro", 483 "repo": "tic-80", 484 "rev": "bd6ce86174fc7c9d7d3a86263acf3a7de1b62c11", 485 - "sha256": "RFp8sTSRwD+cgW3EYk3nBeY+zVKgZVQI5mjtfe2a64Q=", 486 "fetchSubmodules": true 487 }, 488 "vba-m": { 489 "owner": "libretro", 490 "repo": "vbam-libretro", 491 "rev": "640ce45325694d1dc574e90c95c55bc464368d7e", 492 - "sha256": "aiIeleZHt95Y/kigLEbRaCb3KM0ezMB7yzO16FbuBNM=" 493 }, 494 "vba-next": { 495 "owner": "libretro", 496 "repo": "vba-next", 497 "rev": "0c310082a6345790124e9348861b300bcccbeced", 498 - "sha256": "RQx/WR83EtPcQkx0ft4Y0/5LaKIOST3L/fh4qoPxz78=" 499 }, 500 "vecx": { 501 "owner": "libretro", 502 "repo": "libretro-vecx", 503 "rev": "8e932c1d585ae9e467186dea9e73ce38fe1490f7", 504 - "sha256": "2Vo30yiP6SfUt3XHCfQTKTKEtCywdRIoUe6d0Or21WM=" 505 }, 506 "virtualjaguar": { 507 "owner": "libretro", 508 "repo": "virtualjaguar-libretro", 509 "rev": "2cc06899b839639397b8b30384a191424b6f529d", 510 - "sha256": "7FiU5/n1hVePttkz7aVfXXx88+zX06/5SJk3EaRYvhQ=" 511 }, 512 "yabause": { 513 "owner": "libretro", 514 "repo": "yabause", 515 "rev": "4c96b96f7fbe07223627c469ff33376b2a634748", 516 - "sha256": "7hEpGh2EcrlUoRiUNntaMZEQtStglYAY1MeCub5p8f8=" 517 } 518 }
··· 3 "owner": "libretro", 4 "repo": "libretro-2048", 5 "rev": "331c1de588ed8f8c370dcbc488e5434a3c09f0f2", 6 + "hash": "sha256-gPrAmoBnfuTnW6t699pqS43vE6t0ca3jZcqTNRaJipA=" 7 }, 8 "atari800": { 9 "owner": "libretro", 10 "repo": "libretro-atari800", 11 "rev": "94033288b026fe699bc50703609807aa8075f4dd", 12 + "hash": "sha256-fTKFELELt1g7t3uPgnXIgeMkkSbl9GHr0/k2FHcpDFI=" 13 }, 14 "beetle-gba": { 15 "owner": "libretro", 16 "repo": "beetle-gba-libretro", 17 "rev": "38182572571a48cb58057cde64b915237c4e2d58", 18 + "hash": "sha256-4xnXWswozlcXBNI1lbGSNW/gAdIeLLO9Bf1SxOFLhSo=" 19 }, 20 "beetle-lynx": { 21 "owner": "libretro", 22 "repo": "beetle-lynx-libretro", 23 "rev": "3ca44fda26f27418c92ada1b0f38b948af2151ae", 24 + "hash": "sha256-f0A8gA3UT40UDaAkWQcPoDd6vAcM37tNtZ2hCOIyBJA=" 25 }, 26 "beetle-ngp": { 27 "owner": "libretro", 28 "repo": "beetle-ngp-libretro", 29 "rev": "65460e3a9ad529f6901caf669abbda11f437ab55", 30 + "hash": "sha256-+xfD1ZMKtbv5Lp12+5RM7Vl3eEF38kykKW8wj/2EN5w=" 31 }, 32 "beetle-pce-fast": { 33 "owner": "libretro", 34 "repo": "beetle-pce-fast-libretro", 35 "rev": "e480f6388375f59fd3e7aeef8ef8531c20e5c73e", 36 + "hash": "sha256-uURt6rB0IngWzEpl0DjbckdaTIjNwVCm3auvy7AwUdA=" 37 }, 38 "beetle-pcfx": { 39 "owner": "libretro", 40 "repo": "beetle-pcfx-libretro", 41 "rev": "724bd21b4524f8cf376dbc29c3e5a12cb674c758", 42 + "hash": "sha256-xeIVZ8FWGbETWYRIBNs3Yum7FDit5fb77hhH+RU45BY=" 43 }, 44 "beetle-psx": { 45 "owner": "libretro", 46 "repo": "beetle-psx-libretro", 47 "rev": "fd812d4cf8f65644faef1ea8597f826ddc37c0a0", 48 + "hash": "sha256-yvMgnY2dGUk8TvvfDklN3f6b1ol7vDu6AJcYzdwy9pI=" 49 }, 50 "beetle-saturn": { 51 "owner": "libretro", 52 "repo": "beetle-saturn-libretro", 53 "rev": "9bd31a4a42d06ca0f6d30ee38a569e57c150c414", 54 + "hash": "sha256-RHvH9Jp6c4cgEMTo+p+dU7qgJqjPbRqJLURadjAysrM=" 55 }, 56 "beetle-snes": { 57 "owner": "libretro", 58 "repo": "beetle-bsnes-libretro", 59 "rev": "d770563fc3c4bd9abb522952cefb4aa923ba0b91", 60 + "hash": "sha256-zHPtfgp9hc8Q4gXJ5VgfJLWLeYjCsQhkfU1T5RM7AL0=" 61 }, 62 "beetle-supafaust": { 63 "owner": "libretro", 64 "repo": "supafaust", 65 "rev": "75c658cce454e58ae04ea252f53a31c60d61548e", 66 + "hash": "sha256-2fXarVfb5/SYXF8t25/fGNFvODpGas5Bi0hLIbXgB+0=" 67 }, 68 "beetle-supergrafx": { 69 "owner": "libretro", 70 "repo": "beetle-supergrafx-libretro", 71 "rev": "1ff2daa9377114d5394142f75f1c388b706567ed", 72 + "hash": "sha256-0FCm9kURtUQpyPb8cSmRAxttnUJnhE3EWV8DPvlj8HE=" 73 }, 74 "beetle-vb": { 75 "owner": "libretro", 76 "repo": "beetle-vb-libretro", 77 "rev": "dd6393f76ff781df0f4e8c953f5b053b1e61b313", 78 + "hash": "sha256-C8OtTNdC7GNFsY2EH56in35IX8d6ou/1R04kMvM9674=" 79 }, 80 "beetle-wswan": { 81 "owner": "libretro", 82 "repo": "beetle-wswan-libretro", 83 "rev": "81e8b2afd31b7f0f939a3df6d70c8723bcc8a701", 84 + "hash": "sha256-xmDtMC5pId5X4vf9kHO55HmRpp/4ZruOM8QJSl//9R8=" 85 }, 86 "blastem": { 87 "owner": "libretro", 88 "repo": "blastem", 89 "rev": "277e4a62668597d4f59cadda1cbafb844f981d45", 90 + "hash": "sha256-EHvKElPw8V5Z6LnMaQXBCdM4niLIlF3aBm8dRbeYXHs=" 91 }, 92 "bluemsx": { 93 "owner": "libretro", 94 "repo": "bluemsx-libretro", 95 "rev": "acf358be18644a9df0ed9602d63c2f73d4fe605a", 96 + "hash": "sha256-K4mH+brakYZcVEeYMFUkFThqdZGt2+aP5DfpOgWSJxg=" 97 }, 98 "bsnes": { 99 "owner": "libretro", 100 "repo": "bsnes-libretro", 101 "rev": "4da970a334ba4644cef72e560985ea3f31fa40f7", 102 + "hash": "sha256-Bu5j1wrMNVMmxQULZwTdXyWi2i6F5C6m8wFDxvtjYdI=" 103 }, 104 "bsnes-hd": { 105 "owner": "DerKoun", 106 "repo": "bsnes-hd", 107 "rev": "04821703aefdc909a4fd66d168433fcac06c2ba7", 108 + "hash": "sha256-QmNthbWb92vel5PFwJRXeEEVZHIxfvZ0ls+csodpGbU=" 109 }, 110 "bsnes-mercury": { 111 "owner": "libretro", 112 "repo": "bsnes-mercury", 113 "rev": "fb9a41fe9bc230a07c4506cad3cbf21d3fa635b4", 114 + "hash": "sha256-gBOxKSv3j229IVdtffqFV/zSSacEs8UsBERnQgdFw4Y=" 115 }, 116 "citra": { 117 "owner": "libretro", 118 "repo": "citra", 119 "rev": "d7e1612c17b1acb5d5eb68bb046820db49aeea5e", 120 + "hash": "sha256-u2XwAudFgI7j/k6Bq5fk874aI6KpZawlBoIs2+M+eZY=", 121 "fetchSubmodules": true 122 }, 123 "desmume": { 124 "owner": "libretro", 125 "repo": "desmume", 126 "rev": "fbd368c8109f95650e1f81bca1facd6d4d8687d7", 127 + "hash": "sha256-7MFa5zd1jdOCqSI+VPl5nAHE7Kfm/lA0lbSPFskzqaQ=" 128 }, 129 "desmume2015": { 130 "owner": "libretro", 131 "repo": "desmume2015", 132 "rev": "af397ff3d1f208c27f3922cc8f2b8e08884ba893", 133 + "hash": "sha256-kEb+og4g7rJvCinBZKcb42geZO6W8ynGsTG9yqYgI+U=" 134 }, 135 "dolphin": { 136 "owner": "libretro", 137 "repo": "dolphin", 138 "rev": "2f4b0f7902257d40a054f60b2c670d6e314f2a04", 139 + "hash": "sha256-9WYWbLehExYbPmGJpguhVFXqFJ9aR6VxzFVChd4QOEg=" 140 }, 141 "dosbox": { 142 "owner": "libretro", 143 "repo": "dosbox-libretro", 144 "rev": "b7b24262c282c0caef2368c87323ff8c381b3102", 145 + "hash": "sha256-PG2eElenlEpu0U/NIh53p0uLqewnEdaq6Aoak5E1P3I=" 146 }, 147 "eightyone": { 148 "owner": "libretro", 149 "repo": "81-libretro", 150 "rev": "340a51b250fb8fbf1a9e5d3ad3924044250064e0", 151 + "hash": "sha256-Cz3gPwbME8lDMKju3dn8hM8O2u9h9+8EUg7Nf6a7epA=" 152 }, 153 "fbalpha2012": { 154 "owner": "libretro", 155 "repo": "fbalpha2012", 156 "rev": "7f8860543a81ba79c0e1ce1aa219af44568c628a", 157 + "hash": "sha256-r1lH+CR+nVRCPkVo0XwLi35/ven/FEkNhWUTA6cUVxc=" 158 }, 159 "fbneo": { 160 "owner": "libretro", 161 "repo": "fbneo", 162 "rev": "ffcd114b8ea3f3387b66997263ea5df358675aa5", 163 + "hash": "sha256-a4hXRluHQY5hC5jFU2mlqUAI5GmQk6Rbl1HNRA929CI=" 164 }, 165 "fceumm": { 166 "owner": "libretro", 167 "repo": "libretro-fceumm", 168 "rev": "1fa798b220a6df8417dcf7da0ab117533385d9c2", 169 + "hash": "sha256-B1iHZ7BVaM/GBgdD2jNZIEmXcRqKC6YaO9z1ByocMtE=" 170 }, 171 "flycast": { 172 "owner": "libretro", 173 "repo": "flycast", 174 "rev": "4c293f306bc16a265c2d768af5d0cea138426054", 175 + "hash": "sha256-9IxpRBY1zifhOebLJSDMA/wiOfcZj+KOiPrgmjiFxvo=" 176 }, 177 "fmsx": { 178 "owner": "libretro", 179 "repo": "fmsx-libretro", 180 "rev": "1360c9ff32b390383567774d01fbe5d6dfcadaa3", 181 + "hash": "sha256-LLGD29HKpV34IOJ2ygjHZZT7XQqHHXccnpGNfWCuabg=" 182 }, 183 "freeintv": { 184 "owner": "libretro", 185 "repo": "freeintv", 186 "rev": "9a65ec6e31d48ad0dae1f381c1ec61c897f970cb", 187 + "hash": "sha256-ZeWw/K6i04XRympqZ6sQG/yjN8cJglVcIkxpyRHx424=" 188 }, 189 "fuse": { 190 "owner": "libretro", 191 "repo": "fuse-libretro", 192 "rev": "847dbbd6f787823ac9a5dfacdd68ab181063374e", 193 + "hash": "sha256-jzS7SFALV/YjI77ST+IWHwUsuhT+Zr5w4t6C7O8yzFM=" 194 }, 195 "gambatte": { 196 "owner": "libretro", 197 "repo": "gambatte-libretro", 198 "rev": "ea563fac40e281b29d37f6b56657abef8f1aaf0d", 199 + "hash": "sha256-2jVbEsGkvdH1lA2//mb2Rm3xeh4EyFUcOUXdydSisvk=" 200 }, 201 "genesis-plus-gx": { 202 "owner": "libretro", 203 "repo": "Genesis-Plus-GX", 204 "rev": "f6a9bd72a56a11c2068be2d15fa52dda3e1e8027", 205 + "hash": "sha256-4siJGPRMpXHfP6mBPoDJArNaISTNjPKT69cvtGldadI=" 206 }, 207 "gpsp": { 208 "owner": "libretro", 209 "repo": "gpsp", 210 "rev": "541adc9e1c6c9328c07058659594d6300ae0fa19", 211 + "hash": "sha256-2iv/gMOgTZReDgVzEc3WyOdAlYgfANK08CtpZIyPxgA=" 212 }, 213 "gw": { 214 "owner": "libretro", 215 "repo": "gw-libretro", 216 "rev": "19a1cb3105ca4a82139fb4994e7995fd956f6f8d", 217 + "hash": "sha256-luhKXzxrXVNAHw8ArF1I78Zch7XEPwI3aqe0f6WRgD0=" 218 }, 219 "handy": { 220 "owner": "libretro", 221 "repo": "libretro-handy", 222 "rev": "63db085af671bad2929078c55434623b7d4632a1", 223 + "hash": "sha256-N6M3KSU4NPJCqoG/UMrna9/6H5PsBBMUQLrvqiIdxpE=" 224 }, 225 "hatari": { 226 "owner": "libretro", 227 "repo": "hatari", 228 "rev": "1ebf0a0488580ef95c0b28f02223b31813c867c5", 229 + "hash": "sha256-i6dr+fFWPatRCIY+ajIZ1p3ERPV5ktv0nxHKxbGE5ao=" 230 }, 231 "mame": { 232 "owner": "libretro", 233 "repo": "mame", 234 "rev": "f7761a9902d59030882c58d4482446196e748c50", 235 + "hash": "sha256-g37WAMt9iBbAYq4DfeTlHWmdW5/Vl7g90v6vCLmMQ3g=" 236 }, 237 "mame2000": { 238 "owner": "libretro", 239 "repo": "mame2000-libretro", 240 "rev": "0208517404e841fce0c094f1a2776a0e1c6c101d", 241 + "hash": "sha256-WEJd7wSzY32sqMpMrjCD0hrOyAQq1WMBaGiY/2QQ4BQ=" 242 }, 243 "mame2003": { 244 "owner": "libretro", 245 "repo": "mame2003-libretro", 246 "rev": "b1cc49cf1d8bbef88b890e1c2a315a39d009171b", 247 + "hash": "sha256-bc4uER92gHf20JjR/Qcetvlu89ZmldJ1DiQphJZt/EA=" 248 }, 249 "mame2003-plus": { 250 "owner": "libretro", 251 "repo": "mame2003-plus-libretro", 252 "rev": "0b9309d9d86aea2457df74709e997bea37899475", 253 + "hash": "sha256-US0nkEH4EeKRejuN8UoDeLt5dhafuo7PEVx0FnpeUG0=" 254 }, 255 "mame2010": { 256 "owner": "libretro", 257 "repo": "mame2010-libretro", 258 "rev": "5f524dd5fca63ec1dcf5cca63885286109937587", 259 + "hash": "sha256-OmJgDdlan/niGQfajv0KNG8NJfEKn7Nfe6GRQD+TZ8M=" 260 }, 261 "mame2015": { 262 "owner": "libretro", 263 "repo": "mame2015-libretro", 264 "rev": "2599c8aeaf84f62fe16ea00daa460a19298c121c", 265 + "hash": "sha256-TURTX0XrvqwqKG3O3aCttDAdicBdge5F1thVvYgEHaw=" 266 }, 267 "mame2016": { 268 "owner": "libretro", 269 "repo": "mame2016-libretro", 270 "rev": "01058613a0109424c4e7211e49ed83ac950d3993", 271 + "hash": "sha256-IsM7f/zlzvomVOYlinJVqZllUhDfy4NNTeTPtNmdVak=" 272 }, 273 "melonds": { 274 "owner": "libretro", 275 "repo": "melonds", 276 "rev": "0e1f06da626cbe67215c3f06f6bdf510dd4e4649", 277 + "hash": "sha256-ax9Vu8+1pNAHWPXrx5QA0n5EsmaJ2T7KJ5Otz8DSZwM=" 278 }, 279 "mesen": { 280 "owner": "libretro", 281 "repo": "mesen", 282 "rev": "caa4e6f14373c40bd2805c600d1b476e7616444a", 283 + "hash": "sha256-cnPNBWXbnCpjgW/wJIboiRBzv3zrHWxpNM1kg09ShLU=" 284 }, 285 "mesen-s": { 286 "owner": "libretro", 287 "repo": "mesen-s", 288 "rev": "32a7adfb4edb029324253cb3632dfc6599ad1aa8", 289 + "hash": "sha256-/OOMH7kt9Pmkdmy5m+I8FMvog5mqZHyrZvfjHccz8oo=" 290 }, 291 "meteor": { 292 "owner": "libretro", 293 "repo": "meteor-libretro", 294 "rev": "e533d300d0561564451bde55a2b73119c768453c", 295 + "hash": "sha256-zMkgzUz2rk0SD5ojY4AqaDlNM4k4QxuUxVBRBcn6TqQ=" 296 }, 297 "mgba": { 298 "owner": "libretro", 299 "repo": "mgba", 300 "rev": "a69c3434afe8b26cb8f9463077794edfa7d5efad", 301 + "hash": "sha256-rmitsZzRWJ0VYzcNz/UtIK8OscQ4lkyuAwgfXOvSTzg=" 302 }, 303 "mupen64plus": { 304 "owner": "libretro", 305 "repo": "mupen64plus-libretro-nx", 306 "rev": "5a63aadedc29655254d8fc7b4da3a325472e198b", 307 + "hash": "sha256-QNa8WGJFShO4vc4idUntCUaLik4xQXBA+X7z5sjZ2NE=" 308 }, 309 "neocd": { 310 "owner": "libretro", 311 "repo": "neocd_libretro", 312 "rev": "2070f5258c9d3feee15962f9db8c8ef20072ece8", 313 + "hash": "sha256-X+lS1zW5oTzp7wwurM5xjVqIBwEOCIdj/NX/+33K2qg=" 314 }, 315 "nestopia": { 316 "owner": "libretro", 317 "repo": "nestopia", 318 "rev": "16b14865caf1effca030630e2fc73d2d4271fc53", 319 + "hash": "sha256-dU9X8sK/qDA/Qj0x1GicmSAzQyRqVmLiTcfCPe8+BjM=" 320 }, 321 "np2kai": { 322 "owner": "AZO234", 323 "repo": "NP2kai", 324 "rev": "6089943a80a45b6c18d765765f7f31d7a5c0d9c6", 325 + "hash": "sha256-tdF0Qb+smWAVoPmI0dd5s51cnYxMmqM36rQNMiEjU9A=", 326 "fetchSubmodules": true 327 }, 328 "nxengine": { 329 "owner": "libretro", 330 "repo": "nxengine-libretro", 331 "rev": "1f371e51c7a19049e00f4364cbe9c68ca08b303a", 332 + "hash": "sha256-4XBNTzgN8pLyrK9KsVxTRR1I8CQaZCnVR4gMryYpWW0=" 333 }, 334 "o2em": { 335 "owner": "libretro", 336 "repo": "libretro-o2em", 337 "rev": "a2a12472fde910b6089ac3ca6de805bd58a9c999", 338 + "hash": "sha256-0cZYw3rrnaR+PfwReRXadLV8RVLblYqlZxJue6OZncg=" 339 }, 340 "opera": { 341 "owner": "libretro", 342 "repo": "opera-libretro", 343 "rev": "8a49bb8877611037438aeb857cb182f41ee0e3a1", 344 + "hash": "sha256-oH+sQi4D+xkqiJbq7fgGdHjgvyLt8UjlgXIo7K3wXZM=" 345 }, 346 "parallel-n64": { 347 "owner": "libretro", 348 "repo": "parallel-n64", 349 "rev": "a03fdcba6b2e9993f050b50112f597ce2f44fa2c", 350 + "hash": "sha256-aJG+s+1OkHQHPvVzlJWU/VziQWj1itKkRwqcEBK+lgA=" 351 }, 352 "pcsx2": { 353 "owner": "libretro", 354 "repo": "pcsx2", 355 "rev": "f3c8743d6a42fe429f703b476fecfdb5655a98a9", 356 + "hash": "sha256-0piCNWX7QbZ58KyTlWp4h1qLxXpi1z6ML8sBHMTvCY4=" 357 }, 358 "pcsx_rearmed": { 359 "owner": "libretro", 360 "repo": "pcsx_rearmed", 361 "rev": "4373e29de72c917dbcd04ec2a5fb685e69d9def3", 362 + "hash": "sha256-727//NqBNEo6RHNQr1RY5cxMrEvfuJczCo+cUJZVv7U=" 363 }, 364 "picodrive": { 365 "owner": "libretro", 366 "repo": "picodrive", 367 "rev": "7ab066aab84f15388a53433ea273420bcf917e00", 368 + "hash": "sha256-NK9ASiiIkGZmi2YfCqEzZallVfS7nprLRrBk4dlGyAI=", 369 "fetchSubmodules": true 370 }, 371 "play": { 372 "owner": "jpd002", 373 "repo": "Play-", 374 "rev": "b33834af08a4954f06be215eee80a72e7a378e91", 375 + "hash": "sha256-IxZk+kSdrkDAabbzdFM8QUrjaJUc1DHjSfAtDuwDJkw=", 376 "fetchSubmodules": true 377 }, 378 "ppsspp": { 379 "owner": "hrydgard", 380 "repo": "ppsspp", 381 "rev": "7df51c3d060a780b7383c5c1380e346ad9304bb4", 382 + "hash": "sha256-GK3W0/yWaID3s0W0v6TcgJ0ZU984YspWMS6+XLyThjM=", 383 "fetchSubmodules": true 384 }, 385 "prboom": { 386 "owner": "libretro", 387 "repo": "libretro-prboom", 388 "rev": "d9c3975669b4aab5a1397e0174838bcbbc3c1582", 389 + "hash": "sha256-klSJ7QIpNjlfyjhfeEQZ3j8Gnp4agd0qKVp0vr+KHVA=" 390 }, 391 "prosystem": { 392 "owner": "libretro", 393 "repo": "prosystem-libretro", 394 "rev": "763ad22c7de51c8f06d6be0d49c554ce6a94a29b", 395 + "hash": "sha256-rE/hxP8hl9lLTNx/WympFDByjZs46ekyxLKRV4V8D9E=" 396 }, 397 "puae": { 398 "owner": "libretro", 399 "repo": "libretro-uae", 400 "rev": "ae58c0f226b654d643b9f2dce58f64657f57cb76", 401 + "hash": "sha256-6oMTwCYGdVhh+R853gOQRzZfa7slDwe6aGVCvdm6NDU=" 402 }, 403 "quicknes": { 404 "owner": "libretro", 405 "repo": "QuickNES_Core", 406 "rev": "75d501a87ec2074e8d2f7256fb0359513c263c29", 407 + "hash": "sha256-yAHVTgOt8SGyPXihp4YNKKAvxl9VBBAvHyzLW86zSCw=" 408 }, 409 "sameboy": { 410 "owner": "libretro", 411 "repo": "sameboy", 412 "rev": "09138330990da32362246c7034cf4de2ea0a2a2b", 413 + "hash": "sha256-hQWIuNwCykkJR+6naNarR50kUvIFNny+bbZHR6/GA/4=" 414 }, 415 "scummvm": { 416 "owner": "libretro", 417 "repo": "scummvm", 418 "rev": "ab2e5d59cd25dfa5943d45c2567e8330d67fad8b", 419 + "hash": "sha256-9IaQR0prbCT70iWA99NMgGAKPobifdWBX17p4zL0fEM=" 420 }, 421 "smsplus-gx": { 422 "owner": "libretro", 423 "repo": "smsplus-gx", 424 "rev": "60af17ddb2231ba98f4ed1203e2a2f58d08ea088", 425 + "hash": "sha256-2SZR9BOTYLmtjEF4Bdl49H2pFNEIaU68VqlA7ll5TqU=" 426 }, 427 "snes9x": { 428 "owner": "snes9xgit", 429 "repo": "snes9x", 430 "rev": "cc0a87711a7a208cabefc9fd1dbb90e31fe51684", 431 + "hash": "sha256-1m6QvYl5Z0WM1XeXCYLvQaXH8A15P3x8ZzwdFeVPeWo=" 432 }, 433 "snes9x2002": { 434 "owner": "libretro", 435 "repo": "snes9x2002", 436 "rev": "540baad622d9833bba7e0696193cb06f5f02f564", 437 + "hash": "sha256-WJh8Qf1/uFaL9f9d28qXsbpeAZfYGPgjoty3G6XAKSs=" 438 }, 439 "snes9x2005": { 440 "owner": "libretro", 441 "repo": "snes9x2005", 442 "rev": "fd45b0e055bce6cff3acde77414558784e93e7d0", 443 + "hash": "sha256-zjA/G62V38/hj+WjJDGAs48AcTUIiMWL8feCqLsCRnI=" 444 }, 445 "snes9x2010": { 446 "owner": "libretro", 447 "repo": "snes9x2010", 448 "rev": "d8b10c4cd7606ed58f9c562864c986bc960faaaf", 449 + "hash": "sha256-7FmteYrAYr+pGNXGg9CBC4NFlijGRf7GdtJfiNjmonU=" 450 }, 451 "stella": { 452 "owner": "stella-emu", 453 "repo": "stella", 454 "rev": "93ea39d6155f08c21707a85a0b04b33008a7ab15", 455 + "hash": "sha256-9dCBaLxb1CBbngBd3tJ0x5lT+dnzzhK2DO4Gk/S6WW4=" 456 }, 457 "stella2014": { 458 "owner": "libretro", 459 "repo": "stella2014-libretro", 460 "rev": "8ab051edd4816f33a5631d230d54059eeed52c5f", 461 + "hash": "sha256-wqssB8WXXF2Lu9heII8nWLLOvI38cIfHSMA7OOd6jx0=" 462 }, 463 "swanstation": { 464 "owner": "libretro", 465 "repo": "swanstation", 466 "rev": "e24f21196cdcd50321475c4366b51af245a6bbe6", 467 + "hash": "sha256-DjAB0Z0yY9IGESeNNkkbdoAO5ItJ/8cZ5ycRofHG978=" 468 }, 469 "tgbdual": { 470 "owner": "libretro", 471 "repo": "tgbdual-libretro", 472 "rev": "a6f3018e6a23030afc1873845ee54d4b2d8ec9d3", 473 + "hash": "sha256-MBUgYXX/Pc+TkwoS7OwbXSPssKUf6lwWx/bKhvwDkHs=" 474 }, 475 "thepowdertoy": { 476 "owner": "libretro", 477 "repo": "ThePowderToy", 478 "rev": "f644498193c4c8be689d8a1d2a70e37e4eff4243", 479 + "hash": "sha256-aPUqrrrH2Ia56A3Kx6ClMcZO9nbHGJIcEQ6nFyIMamo=" 480 }, 481 "tic80": { 482 "owner": "libretro", 483 "repo": "tic-80", 484 "rev": "bd6ce86174fc7c9d7d3a86263acf3a7de1b62c11", 485 + "hash": "sha256-RFp8sTSRwD+cgW3EYk3nBeY+zVKgZVQI5mjtfe2a64Q=", 486 "fetchSubmodules": true 487 }, 488 "vba-m": { 489 "owner": "libretro", 490 "repo": "vbam-libretro", 491 "rev": "640ce45325694d1dc574e90c95c55bc464368d7e", 492 + "hash": "sha256-aiIeleZHt95Y/kigLEbRaCb3KM0ezMB7yzO16FbuBNM=" 493 }, 494 "vba-next": { 495 "owner": "libretro", 496 "repo": "vba-next", 497 "rev": "0c310082a6345790124e9348861b300bcccbeced", 498 + "hash": "sha256-RQx/WR83EtPcQkx0ft4Y0/5LaKIOST3L/fh4qoPxz78=" 499 }, 500 "vecx": { 501 "owner": "libretro", 502 "repo": "libretro-vecx", 503 "rev": "8e932c1d585ae9e467186dea9e73ce38fe1490f7", 504 + "hash": "sha256-2Vo30yiP6SfUt3XHCfQTKTKEtCywdRIoUe6d0Or21WM=" 505 }, 506 "virtualjaguar": { 507 "owner": "libretro", 508 "repo": "virtualjaguar-libretro", 509 "rev": "2cc06899b839639397b8b30384a191424b6f529d", 510 + "hash": "sha256-7FiU5/n1hVePttkz7aVfXXx88+zX06/5SJk3EaRYvhQ=" 511 }, 512 "yabause": { 513 "owner": "libretro", 514 "repo": "yabause", 515 "rev": "4c96b96f7fbe07223627c469ff33376b2a634748", 516 + "hash": "sha256-7hEpGh2EcrlUoRiUNntaMZEQtStglYAY1MeCub5p8f8=" 517 } 518 }
+28
pkgs/applications/emulators/retroarch/retroarch-joypad-autoconfig.nix
···
··· 1 + { lib 2 + , stdenvNoCC 3 + , fetchFromGitHub 4 + }: 5 + 6 + stdenvNoCC.mkDerivation rec { 7 + pname = "retroarch-joypad-autoconfig"; 8 + version = "1.15.0"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "libretro"; 12 + repo = "retroarch-joypad-autoconfig"; 13 + rev = "v${version}"; 14 + hash = "sha256-/F2Y08uDA/pIIeLiLfOQfGVjX2pkuOqPourlx2RbZ28="; 15 + }; 16 + 17 + makeFlags = [ 18 + "PREFIX=$(out)" 19 + ]; 20 + 21 + meta = with lib; { 22 + description = "Joypad autoconfig files"; 23 + homepage = "https://www.libretro.com/"; 24 + license = licenses.mit; 25 + maintainers = with maintainers; teams.libretro.members ++ [ ]; 26 + platforms = platforms.all; 27 + }; 28 + }
+15 -3
pkgs/applications/emulators/retroarch/wrapper.nix
··· 3 , makeWrapper 4 , retroarch 5 , symlinkJoin 6 , cores ? [ ] 7 }: 8 9 let 10 # All cores should be located in the same path after symlinkJoin, 11 # but let's be safe here 12 coresPath = lib.lists.unique (map (c: c.libretroCore) cores); 13 - wrapperArgs = lib.strings.escapeShellArgs 14 - (lib.lists.flatten 15 - (map (p: [ "--add-flags" "-L ${placeholder "out" + p}" ]) coresPath)); 16 in 17 symlinkJoin { 18 name = "retroarch-with-cores-${lib.getVersion retroarch}";
··· 3 , makeWrapper 4 , retroarch 5 , symlinkJoin 6 + , runCommand 7 , cores ? [ ] 8 + , settings ? { } 9 }: 10 11 let 12 + settingsPath = runCommand "declarative-retroarch.cfg" 13 + { 14 + value = lib.concatStringsSep "\n" (lib.mapAttrsToList (n: v: "${n} = \"${v}\"") settings); 15 + passAsFile = [ "value" ]; 16 + } 17 + '' 18 + cp "$valuePath" "$out" 19 + ''; 20 + 21 # All cores should be located in the same path after symlinkJoin, 22 # but let's be safe here 23 coresPath = lib.lists.unique (map (c: c.libretroCore) cores); 24 + wrapperArgs = lib.strings.escapeShellArgs ( 25 + (lib.lists.flatten (map (p: [ "--add-flags" "-L ${placeholder "out" + p}" ]) coresPath)) 26 + ++ [ "--add-flags" "--appendconfig=${settingsPath}" ] 27 + ); 28 in 29 symlinkJoin { 30 name = "retroarch-with-cores-${lib.getVersion retroarch}";
+42
pkgs/applications/misc/collision/collision-shards.nix
···
··· 1 + { 2 + gettext = { 3 + url = "https://github.com/geopjr/gettext.cr.git"; 4 + rev = "v1.0.0"; 5 + sha256 = "1y27m4170rr4532j56grzhwbz8hj6z7j3zfkd0jnfwnsxclks1kc"; 6 + }; 7 + non-blocking-spawn = { 8 + url = "https://github.com/geopjr/non-blocking-spawn.git"; 9 + rev = "v1.0.5"; 10 + sha256 = "139gr87zlw0k9kf6pf9k2d88aa9x3kcnfg34qpbqrwsrck7708za"; 11 + }; 12 + version_from_shard = { 13 + url = "https://github.com/hugopl/version_from_shard.git"; 14 + rev = "v1.2.5"; 15 + sha256 = "0xizj0q4rd541rwjbx04cjifc2gfx4l5v6q2y7gmd0ndjmkgb8ik"; 16 + }; 17 + gio = { 18 + url = "https://github.com/hugopl/gio.cr.git"; 19 + rev = "v0.1.0"; 20 + sha256 = "0vj35bi64d4hni18nrl8fmms306a0gl4zlxpf3aq08lh0sbwzhd8"; 21 + }; 22 + gtk4 = { 23 + url = "https://github.com/hugopl/gtk4.cr.git"; 24 + rev = "v0.13.0"; 25 + sha256 = "0xsrcsh5qvwm9l7cywxpw49rfv94mkkqcliws4zkhxgr9isnirbm"; 26 + }; 27 + harfbuzz = { 28 + url = "https://github.com/hugopl/harfbuzz.cr.git"; 29 + rev = "v0.1.0"; 30 + sha256 = "1lcb778b4k34sqxg979fpl425bbzf2gikjf2m5aj6x1fzxn46jg0"; 31 + }; 32 + pango = { 33 + url = "https://github.com/hugopl/pango.cr.git"; 34 + rev = "v0.2.0"; 35 + sha256 = "0dl3qrhi2ybylmvzx1x5gsznp2pcdkc50waxrljxwnf5avn8ixsf"; 36 + }; 37 + libadwaita = { 38 + url = "https://github.com/geopjr/libadwaita.cr.git"; 39 + rev = "203737fc96bb48e1a710cb68e896d2c5b9c1a6e5"; 40 + sha256 = "11c2knxncjnwg4cgppfllxwgli1hf6sjyyx4ii8rgmnbird6xcmh"; 41 + }; 42 + }
+50
pkgs/applications/misc/collision/default.nix
···
··· 1 + { stdenv 2 + , lib 3 + , fetchFromGitHub 4 + , crystal 5 + , wrapGAppsHook4 6 + , desktopToDarwinBundle 7 + , gi-crystal 8 + , gobject-introspection 9 + , libadwaita 10 + , openssl 11 + , libxml2 12 + , pkg-config 13 + }: 14 + crystal.buildCrystalPackage rec { 15 + pname = "Collision"; 16 + version = "3.5.0"; 17 + 18 + src = fetchFromGitHub { 19 + owner = "GeopJr"; 20 + repo = "Collision"; 21 + rev = "v${version}"; 22 + hash = "sha256-YNMtiMSzDqBlJJTUntRtL6oXg+IuyAobQ4FYcwOdOas="; 23 + }; 24 + patches = [ ./make.patch ]; 25 + shardsFile = ./collision-shards.nix; 26 + 27 + # Crystal compiler has a strange issue with OpenSSL. The project will not compile due to 28 + # main_module:(.text+0x6f0): undefined reference to `SSL_library_init' 29 + # There is an explanation for this https://danilafe.com/blog/crystal_nix_revisited/ 30 + # Shortly, adding pkg-config to buildInputs along with openssl fixes the issue. 31 + 32 + nativeBuildInputs = [ wrapGAppsHook4 pkg-config gobject-introspection gi-crystal ] 33 + ++ lib.optionals stdenv.isDarwin [ desktopToDarwinBundle ]; 34 + buildInputs = [ libadwaita openssl libxml2 ]; 35 + 36 + buildTargets = ["bindings" "build"]; 37 + 38 + doCheck = false; 39 + doInstallCheck = false; 40 + 41 + installTargets = ["desktop" "install"]; 42 + 43 + meta = with lib; { 44 + description = "Check hashes for your files"; 45 + homepage = "https://github.com/GeopJr/Collision"; 46 + license = licenses.bsd2; 47 + mainProgram = "collision"; 48 + maintainers = with maintainers; [ sund3RRR ]; 49 + }; 50 + }
+20
pkgs/applications/misc/collision/make.patch
···
··· 1 + --- a/Makefile 2023-07-09 10:49:31.064190374 +0300 2 + +++ b/Makefile 2023-07-19 11:19:37.415480179 +0300 3 + @@ -6,7 +6,7 @@ 4 + all: desktop bindings build 5 + 6 + bindings: 7 + - ./bin/gi-crystal || $(CRYSTAL_LOCATION)shards install && ./bin/gi-crystal 8 + + gi-crystal 9 + 10 + build: 11 + COLLISION_LOCALE_LOCATION="$(PREFIX)$(LOCALE_LOCATION)" $(CRYSTAL_LOCATION)shards build -Dpreview_mt --release --no-debug 12 + @@ -43,7 +43,7 @@ 13 + install -D -m 0644 data/dev.geopjr.Collision.desktop $(PREFIX)/share/applications/dev.geopjr.Collision.desktop 14 + install -D -m 0644 data/icons/dev.geopjr.Collision.svg $(PREFIX)/share/icons/hicolor/scalable/apps/dev.geopjr.Collision.svg 15 + install -D -m 0644 data/icons/dev.geopjr.Collision-symbolic.svg $(PREFIX)/share/icons/hicolor/symbolic/apps/dev.geopjr.Collision-symbolic.svg 16 + - gtk-update-icon-cache $(PREFIX)/share/icons/hicolor 17 + + gtk4-update-icon-cache --ignore-theme-index $(PREFIX)/share/icons/hicolor 18 + glib-compile-schemas $(PREFIX)/share/glib-2.0/schemas/ 19 + 20 + uninstall:
+2 -2
pkgs/applications/misc/tandoor-recipes/common.nix
··· 6 owner = "TandoorRecipes"; 7 repo = "recipes"; 8 rev = version; 9 - sha256 = "sha256-cVrgmRDzuLzl2+4UcrLRdrP6ZFWMkavu9OEogNas2fA="; 10 }; 11 12 - yarnSha256 = "sha256-0u9P/OsoThP8gonrzcnO5zhIboWMI1mTsXHlbt7l9oE="; 13 14 meta = with lib; { 15 homepage = "https://tandoor.dev/";
··· 6 owner = "TandoorRecipes"; 7 repo = "recipes"; 8 rev = version; 9 + hash = "sha256-cVrgmRDzuLzl2+4UcrLRdrP6ZFWMkavu9OEogNas2fA="; 10 }; 11 12 + yarnHash = "sha256-0u9P/OsoThP8gonrzcnO5zhIboWMI1mTsXHlbt7l9oE="; 13 14 meta = with lib; { 15 homepage = "https://tandoor.dev/";
+1 -1
pkgs/applications/misc/tandoor-recipes/frontend.nix
··· 10 11 yarnOfflineCache = fetchYarnDeps { 12 yarnLock = "${common.src}/vue/yarn.lock"; 13 - sha256 = common.yarnSha256; 14 }; 15 16 nativeBuildInputs = [
··· 10 11 yarnOfflineCache = fetchYarnDeps { 12 yarnLock = "${common.src}/vue/yarn.lock"; 13 + hash = common.yarnHash; 14 }; 15 16 nativeBuildInputs = [
+3 -4
pkgs/applications/misc/tandoor-recipes/update.sh
··· 23 24 package_src="https://raw.githubusercontent.com/TandoorRecipes/recipes/$version" 25 26 - src_hash=$(nix-prefetch-github TandoorRecipes recipes --rev "${version}" | jq -r .sha256) 27 28 tmpdir=$(mktemp -d) 29 trap 'rm -rf "$tmpdir"' EXIT ··· 34 popd 35 36 # Use friendlier hashes 37 - src_hash=$(nix hash to-sri --type sha256 "$src_hash") 38 yarn_hash=$(nix hash to-sri --type sha256 "$yarn_hash") 39 40 sed -i -E -e "s#version = \".*\"#version = \"$version\"#" common.nix 41 - sed -i -E -e "s#sha256 = \".*\"#sha256 = \"$src_hash\"#" common.nix 42 - sed -i -E -e "s#yarnSha256 = \".*\"#yarnSha256 = \"$yarn_hash\"#" common.nix
··· 23 24 package_src="https://raw.githubusercontent.com/TandoorRecipes/recipes/$version" 25 26 + src_hash=$(nix-prefetch-github TandoorRecipes recipes --rev "${version}" | jq -r .hash) 27 28 tmpdir=$(mktemp -d) 29 trap 'rm -rf "$tmpdir"' EXIT ··· 34 popd 35 36 # Use friendlier hashes 37 yarn_hash=$(nix hash to-sri --type sha256 "$yarn_hash") 38 39 sed -i -E -e "s#version = \".*\"#version = \"$version\"#" common.nix 40 + sed -i -E -e "s#hash = \".*\"#hash = \"$src_hash\"#" common.nix 41 + sed -i -E -e "s#yarnHash = \".*\"#yarnHash = \"$yarn_hash\"#" common.nix
+1 -1
pkgs/applications/networking/instant-messengers/element/element-desktop.nix
··· 32 owner = "vector-im"; 33 repo = "element-desktop"; 34 rev = "v${finalAttrs.version}"; 35 - sha256 = desktopSrcHash; 36 }; 37 38 offlineCache = fetchYarnDeps {
··· 32 owner = "vector-im"; 33 repo = "element-desktop"; 34 rev = "v${finalAttrs.version}"; 35 + hash = desktopSrcHash; 36 }; 37 38 offlineCache = fetchYarnDeps {
+1 -1
pkgs/applications/networking/instant-messengers/element/element-web.nix
··· 25 owner = "vector-im"; 26 repo = finalAttrs.pname; 27 rev = "v${finalAttrs.version}"; 28 - sha256 = webSrcHash; 29 }; 30 31 offlineCache = fetchYarnDeps {
··· 25 owner = "vector-im"; 26 repo = finalAttrs.pname; 27 rev = "v${finalAttrs.version}"; 28 + hash = webSrcHash; 29 }; 30 31 offlineCache = fetchYarnDeps {
+1 -1
pkgs/applications/networking/instant-messengers/element/keytar/default.nix
··· 12 owner = "atom"; 13 repo = "node-keytar"; 14 rev = "v${version}"; 15 - sha256 = pinData.srcHash; 16 }; 17 18 nativeBuildInputs = [
··· 12 owner = "atom"; 13 repo = "node-keytar"; 14 rev = "v${version}"; 15 + hash = pinData.srcHash; 16 }; 17 18 nativeBuildInputs = [
+1 -1
pkgs/applications/networking/instant-messengers/element/keytar/pin.json
··· 1 { 2 "version": "7.9.0", 3 - "srcHash": "Mnl0Im2hZJXJEtyXb5rgMntekkUAnOG2MN1bwfgh0eg=", 4 "npmHash": "sha256-ldfRWV+HXBdBYO2ZiGbVFSHV4/bMG43U7w+sJ4kpVUY=" 5 }
··· 1 { 2 "version": "7.9.0", 3 + "srcHash": "sha256-Mnl0Im2hZJXJEtyXb5rgMntekkUAnOG2MN1bwfgh0eg=", 4 "npmHash": "sha256-ldfRWV+HXBdBYO2ZiGbVFSHV4/bMG43U7w+sJ4kpVUY=" 5 }
+2 -2
pkgs/applications/networking/instant-messengers/element/keytar/update.sh
··· 1 #!/usr/bin/env nix-shell 2 - #!nix-shell -I nixpkgs=../../../../../../ -i bash -p wget prefetch-npm-deps 3 4 if [ "$#" -gt 1 ] || [[ "$1" == -* ]]; then 5 echo "Regenerates packaging data for the keytar package." ··· 25 npm_hash=$(prefetch-npm-deps package-lock.json) 26 rm -rf node_modules package.json package-lock.json 27 28 - src_hash=$(nix-prefetch-github atom node-keytar --rev v${version} | jq -r .sha256) 29 30 cat > pin.json << EOF 31 {
··· 1 #!/usr/bin/env nix-shell 2 + #!nix-shell -I nixpkgs=../../../../../../ -i bash -p wget prefetch-npm-deps nix-prefetch-github 3 4 if [ "$#" -gt 1 ] || [[ "$1" == -* ]]; then 5 echo "Regenerates packaging data for the keytar package." ··· 25 npm_hash=$(prefetch-npm-deps package-lock.json) 26 rm -rf node_modules package.json package-lock.json 27 28 + src_hash=$(nix-prefetch-github atom node-keytar --rev v${version} | jq -r .hash) 29 30 cat > pin.json << EOF 31 {
+2 -2
pkgs/applications/networking/instant-messengers/element/pin.nix
··· 1 { 2 "version" = "1.11.36"; 3 "hashes" = { 4 - "desktopSrcHash" = "MMTuyyUXur5Fy24aXPWtZbQLAaXR2R7coEi8ZOJo1YI="; 5 "desktopYarnHash" = "03wmdqnxzjrvdypwrb5z564liiqamwn6qmw2fww1mja8dkdkx5ng"; 6 - "webSrcHash" = "u+Y/iLRlTd5RkczF6qIaer9HKFnm8LUGP8ZnB/WfiGI="; 7 "webYarnHash" = "0s9ly1hr9jvb2asgjf6g5n5n5w6qh51wkwyl7ps891c0hv9m28zm"; 8 }; 9 }
··· 1 { 2 "version" = "1.11.36"; 3 "hashes" = { 4 + "desktopSrcHash" = "sha256-MMTuyyUXur5Fy24aXPWtZbQLAaXR2R7coEi8ZOJo1YI="; 5 "desktopYarnHash" = "03wmdqnxzjrvdypwrb5z564liiqamwn6qmw2fww1mja8dkdkx5ng"; 6 + "webSrcHash" = "sha256-u+Y/iLRlTd5RkczF6qIaer9HKFnm8LUGP8ZnB/WfiGI="; 7 "webYarnHash" = "0s9ly1hr9jvb2asgjf6g5n5n5w6qh51wkwyl7ps891c0hv9m28zm"; 8 }; 9 }
+2 -4
pkgs/applications/networking/instant-messengers/element/seshat/default.nix
··· 5 6 in rustPlatform.buildRustPackage rec { 7 pname = "seshat-node"; 8 - inherit (pinData) version; 9 10 src = fetchFromGitHub { 11 owner = "matrix-org"; 12 repo = "seshat"; 13 rev = version; 14 - sha256 = pinData.srcHash; 15 }; 16 17 sourceRoot = "source/seshat-node/native"; ··· 53 ''; 54 55 disallowedReferences = [ stdenv.cc.cc ]; 56 - 57 - cargoSha256 = pinData.cargoHash; 58 }
··· 5 6 in rustPlatform.buildRustPackage rec { 7 pname = "seshat-node"; 8 + inherit (pinData) version cargoHash; 9 10 src = fetchFromGitHub { 11 owner = "matrix-org"; 12 repo = "seshat"; 13 rev = version; 14 + hash = pinData.srcHash; 15 }; 16 17 sourceRoot = "source/seshat-node/native"; ··· 53 ''; 54 55 disallowedReferences = [ stdenv.cc.cc ]; 56 }
+1 -1
pkgs/applications/networking/instant-messengers/element/seshat/pin.json
··· 1 { 2 "version": "2.3.3", 3 - "srcHash": "HmKHWFoO8TQ9S/RcJnJ3h85/2uSkqGrgLnX82hkux4Q=", 4 "yarnHash": "1cbkv8ap7f8vxl5brzqb86d2dyxg555sz67cldrp0vgnk8sq6ibp", 5 "cargoHash": "sha256-WsgTbQ91aZZV5sIuFVjsccdiXivjtAUC1Zs/4uNk1zU=" 6 }
··· 1 { 2 "version": "2.3.3", 3 + "srcHash": "sha256-HmKHWFoO8TQ9S/RcJnJ3h85/2uSkqGrgLnX82hkux4Q=", 4 "yarnHash": "1cbkv8ap7f8vxl5brzqb86d2dyxg555sz67cldrp0vgnk8sq6ibp", 5 "cargoHash": "sha256-WsgTbQ91aZZV5sIuFVjsccdiXivjtAUC1Zs/4uNk1zU=" 6 }
+2 -2
pkgs/applications/networking/instant-messengers/element/seshat/update.sh
··· 1 #!/usr/bin/env nix-shell 2 - #!nix-shell -I nixpkgs=../../../../../../ -i bash -p wget prefetch-yarn-deps yarn nix-prefetch 3 4 if [ "$#" -gt 1 ] || [[ "$1" == -* ]]; then 5 echo "Regenerates packaging data for the seshat package." ··· 25 yarn_hash=$(prefetch-yarn-deps yarn.lock) 26 popd 27 28 - src_hash=$(nix-prefetch-github matrix-org seshat --rev ${version} | jq -r .sha256) 29 30 cat > pin.json << EOF 31 {
··· 1 #!/usr/bin/env nix-shell 2 + #!nix-shell -I nixpkgs=../../../../../../ -i bash -p wget prefetch-yarn-deps yarn nix-prefetch nix-prefetch-github 3 4 if [ "$#" -gt 1 ] || [[ "$1" == -* ]]; then 5 echo "Regenerates packaging data for the seshat package." ··· 25 yarn_hash=$(prefetch-yarn-deps yarn.lock) 26 popd 27 28 + src_hash=$(nix-prefetch-github matrix-org seshat --rev ${version} | jq -r .hash) 29 30 cat > pin.json << EOF 31 {
+2 -2
pkgs/applications/networking/instant-messengers/element/update.sh
··· 20 21 # Element Web 22 web_src="https://raw.githubusercontent.com/vector-im/element-web/v$version" 23 - web_src_hash=$(nix-prefetch-github vector-im element-web --rev v${version} | jq -r .sha256) 24 25 web_tmpdir=$(mktemp -d) 26 trap 'rm -rf "$web_tmpdir"' EXIT ··· 32 33 # Element Desktop 34 desktop_src="https://raw.githubusercontent.com/vector-im/element-desktop/v$version" 35 - desktop_src_hash=$(nix-prefetch-github vector-im element-desktop --rev v${version} | jq -r .sha256) 36 37 desktop_tmpdir=$(mktemp -d) 38 trap 'rm -rf "$desktop_tmpdir"' EXIT
··· 20 21 # Element Web 22 web_src="https://raw.githubusercontent.com/vector-im/element-web/v$version" 23 + web_src_hash=$(nix-prefetch-github vector-im element-web --rev v${version} | jq -r .hash) 24 25 web_tmpdir=$(mktemp -d) 26 trap 'rm -rf "$web_tmpdir"' EXIT ··· 32 33 # Element Desktop 34 desktop_src="https://raw.githubusercontent.com/vector-im/element-desktop/v$version" 35 + desktop_src_hash=$(nix-prefetch-github vector-im element-desktop --rev v${version} | jq -r .hash) 36 37 desktop_tmpdir=$(mktemp -d) 38 trap 'rm -rf "$desktop_tmpdir"' EXIT
+7 -2
pkgs/applications/networking/instant-messengers/qq/default.nix
··· 19 , at-spi2-core 20 , autoPatchelfHook 21 , wrapGAppsHook 22 }: 23 24 let ··· 42 43 nativeBuildInputs = [ 44 autoPatchelfHook 45 - wrapGAppsHook 46 dpkg 47 ]; 48 ··· 87 ''; 88 89 preFixup = '' 90 - gappsWrapperArgs+=(--prefix PATH : "${lib.makeBinPath [ gjs ]}") 91 ''; 92 93 meta = with lib; {
··· 19 , at-spi2-core 20 , autoPatchelfHook 21 , wrapGAppsHook 22 + , makeWrapper 23 }: 24 25 let ··· 43 44 nativeBuildInputs = [ 45 autoPatchelfHook 46 + # makeBinaryWrapper not support shell wrapper specifically for `NIXOS_OZONE_WL`. 47 + (wrapGAppsHook.override { inherit makeWrapper; }) 48 dpkg 49 ]; 50 ··· 89 ''; 90 91 preFixup = '' 92 + gappsWrapperArgs+=( 93 + --prefix PATH : "${lib.makeBinPath [ gjs ]}" 94 + --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" 95 + ) 96 ''; 97 98 meta = with lib; {
+1 -1
pkgs/applications/networking/misc/zammad/source.json
··· 2 "owner": "zammad", 3 "repo": "zammad", 4 "rev": "643aba6ba4ba66c6127038c8cc2cc7a20b912678", 5 - "sha256": "vLLn989M5ZN+jTh60BopEKbuaxOBfDsk6PiM+gHFClo=", 6 "fetchSubmodules": true 7 } 8
··· 2 "owner": "zammad", 3 "repo": "zammad", 4 "rev": "643aba6ba4ba66c6127038c8cc2cc7a20b912678", 5 + "hash": "sha256-vLLn989M5ZN+jTh60BopEKbuaxOBfDsk6PiM+gHFClo=", 6 "fetchSubmodules": true 7 } 8
+2 -2
pkgs/applications/version-management/gitolite/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "gitolite"; 5 - version = "3.6.12"; 6 7 src = fetchFromGitHub { 8 owner = "sitaramc"; 9 repo = "gitolite"; 10 rev = "v${version}"; 11 - sha256 = "05xw1pmagvkrbzga5pgl3xk9qyc6b5x73f842454f3w9ijspa8zy"; 12 }; 13 14 buildInputs = [ nettools perl ];
··· 2 3 stdenv.mkDerivation rec { 4 pname = "gitolite"; 5 + version = "3.6.13"; 6 7 src = fetchFromGitHub { 8 owner = "sitaramc"; 9 repo = "gitolite"; 10 rev = "v${version}"; 11 + hash = "sha256-/VBu+aepIrxWc2padPa/WoXbIdKfIwqmA/M8d1GE5FI="; 12 }; 13 14 buildInputs = [ nettools perl ];
+2 -2
pkgs/applications/virtualization/docker/buildx.nix
··· 2 3 buildGoModule rec { 4 pname = "docker-buildx"; 5 - version = "0.11.1"; 6 7 src = fetchFromGitHub { 8 owner = "docker"; 9 repo = "buildx"; 10 rev = "v${version}"; 11 - sha256 = "sha256-a33jGbafkmv55cKBCr8xlGTsD3bU/1CNyOfaXQIGMg0="; 12 }; 13 14 doCheck = false;
··· 2 3 buildGoModule rec { 4 pname = "docker-buildx"; 5 + version = "0.11.2"; 6 7 src = fetchFromGitHub { 8 owner = "docker"; 9 repo = "buildx"; 10 rev = "v${version}"; 11 + hash = "sha256-FPqXfIxuqwsnvsuWN5baIIn6o7ucP/Zgn+OsHfI61zU="; 12 }; 13 14 doCheck = false;
+1
pkgs/development/ocaml-modules/ocamlformat/generic.nix
··· 22 "0.24.0" = "sha256-Zil0wceeXmq2xy0OVLxa/Ujl4Dtsmc4COyv6Jo7rVaM="; 23 "0.24.1" = "sha256-AjQl6YGPgOpQU3sjcaSnZsFJqZV9BYB+iKAE0tX0Qc4="; 24 "0.25.1" = "sha256-3I8qMwyjkws2yssmI7s2Dti99uSorNKT29niJBpv0z0="; 25 }."${version}"; 26 }; 27
··· 22 "0.24.0" = "sha256-Zil0wceeXmq2xy0OVLxa/Ujl4Dtsmc4COyv6Jo7rVaM="; 23 "0.24.1" = "sha256-AjQl6YGPgOpQU3sjcaSnZsFJqZV9BYB+iKAE0tX0Qc4="; 24 "0.25.1" = "sha256-3I8qMwyjkws2yssmI7s2Dti99uSorNKT29niJBpv0z0="; 25 + "0.26.0" = "sha256-AxSUq3cM7xCo9qocvrVmDkbDqmwM1FexEP7IWadeh30="; 26 }."${version}"; 27 }; 28
+1 -1
pkgs/development/ocaml-modules/ocamlformat/ocamlformat.nix
··· 1 { lib, callPackage, buildDunePackage, re, ocamlformat-lib, menhir 2 - , version ? "0.25.1" }: 3 4 let inherit (callPackage ./generic.nix { inherit version; }) src library_deps; 5
··· 1 { lib, callPackage, buildDunePackage, re, ocamlformat-lib, menhir 2 + , version ? "0.26.0" }: 3 4 let inherit (callPackage ./generic.nix { inherit version; }) src library_deps; 5
+2 -7
pkgs/development/python-modules/bandcamp-api/default.nix
··· 10 11 buildPythonPackage rec { 12 pname = "bandcamp-api"; 13 - version = "0.1.15"; 14 15 format = "setuptools"; 16 17 src = fetchPypi { 18 pname = "bandcamp_api"; 19 inherit version; 20 - hash = "sha256-4pnUiAsOLX1BBQjOhUkjSyHnGyQ3rx3JAFFYgEMLpG4="; 21 }; 22 - 23 - postPatch = '' 24 - substituteInPlace setup.py \ 25 - --replace bs4 beautifulsoup4 26 - ''; 27 28 propagatedBuildInputs = [ 29 beautifulsoup4
··· 10 11 buildPythonPackage rec { 12 pname = "bandcamp-api"; 13 + version = "0.2.2"; 14 15 format = "setuptools"; 16 17 src = fetchPypi { 18 pname = "bandcamp_api"; 19 inherit version; 20 + hash = "sha256-v/iACVcBFC/3x4v7Q/1p+aHGhfw3AQ43eU3sKz5BskI="; 21 }; 22 23 propagatedBuildInputs = [ 24 beautifulsoup4
+54
pkgs/development/python-modules/bcf/default.nix
···
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , appdirs 5 + , click 6 + , colorama 7 + , intelhex 8 + , packaging 9 + , pyaml 10 + , pyftdi 11 + , pyserial 12 + , requests 13 + , schema 14 + }: 15 + buildPythonPackage rec { 16 + pname = "bcf"; 17 + version = "1.9.0"; 18 + 19 + src = fetchFromGitHub { 20 + owner = "hardwario"; 21 + repo = "bch-firmware-tool"; 22 + rev = "v${version}"; 23 + sha256 = "i28VewTB2XEZSfk0UeCuwB7Z2wz4qPBhzvxJIYkKwJ4="; 24 + }; 25 + 26 + postPatch = '' 27 + sed -ri 's/@@VERSION@@/${version}/g' \ 28 + bcf/__init__.py setup.py 29 + ''; 30 + 31 + propagatedBuildInputs = [ 32 + appdirs 33 + click 34 + colorama 35 + intelhex 36 + packaging 37 + pyaml 38 + pyftdi 39 + pyserial 40 + requests 41 + schema 42 + ]; 43 + 44 + pythonImportsCheck = [ "bcf" ]; 45 + doCheck = false; # Project provides no tests 46 + 47 + meta = with lib; { 48 + homepage = "https://github.com/hardwario/bch-firmware-tool"; 49 + description = "HARDWARIO Firmware Tool"; 50 + platforms = platforms.linux; 51 + license = licenses.mit; 52 + maintainers = with maintainers; [ cynerd ]; 53 + }; 54 + }
+49
pkgs/development/python-modules/bcg/default.nix
···
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , appdirs 5 + , click 6 + , click-log 7 + , paho-mqtt 8 + , pyaml 9 + , pyserial 10 + , schema 11 + , simplejson 12 + }: 13 + buildPythonPackage rec { 14 + pname = "bcg"; 15 + version = "1.17.0"; 16 + 17 + src = fetchFromGitHub { 18 + owner = "hardwario"; 19 + repo = "bch-gateway"; 20 + rev = "v${version}"; 21 + sha256 = "2Yh5MeIv+BIxjoO9GOPqq7xTAFhyBvnxPy7DeO2FrkI="; 22 + }; 23 + 24 + postPatch = '' 25 + sed -ri 's/@@VERSION@@/${version}/g' \ 26 + bcg/__init__.py setup.py 27 + ''; 28 + 29 + propagatedBuildInputs = [ 30 + appdirs 31 + click 32 + click-log 33 + paho-mqtt 34 + pyaml 35 + pyserial 36 + schema 37 + simplejson 38 + ]; 39 + 40 + pythonImportsCheck = [ "bcg" ]; 41 + 42 + meta = with lib; { 43 + homepage = "https://github.com/hardwario/bch-gateway"; 44 + description = "HARDWARIO Gateway (Python Application «bcg»)"; 45 + platforms = platforms.linux; 46 + license = licenses.mit; 47 + maintainers = with maintainers; [ cynerd ]; 48 + }; 49 + }
+42
pkgs/development/python-modules/bch/default.nix
···
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , click 5 + , click-log 6 + , paho-mqtt 7 + , pyaml 8 + }: 9 + 10 + buildPythonPackage rec { 11 + pname = "bch"; 12 + version = "1.2.1"; 13 + 14 + src = fetchFromGitHub { 15 + owner = "hardwario"; 16 + repo = "bch-control-tool"; 17 + rev = "v${version}"; 18 + sha256 = "/C+NbJ0RrWZ/scv/FiRBTh4h7u0xS4mHVDWQ0WwmlEY="; 19 + }; 20 + 21 + propagatedBuildInputs = [ 22 + click 23 + click-log 24 + paho-mqtt 25 + pyaml 26 + ]; 27 + 28 + postPatch = '' 29 + sed -ri 's/@@VERSION@@/${version}/g' \ 30 + bch/cli.py setup.py 31 + ''; 32 + 33 + pythonImportsCheck = [ "bch" ]; 34 + 35 + meta = with lib; { 36 + homepage = "https://github.com/hardwario/bch-control-tool"; 37 + description = "HARDWARIO Hub Control Tool"; 38 + platforms = platforms.linux; 39 + license = licenses.mit; 40 + maintainers = with maintainers; [ cynerd ]; 41 + }; 42 + }
+2 -2
pkgs/development/python-modules/griffe/default.nix
··· 13 14 buildPythonPackage rec { 15 pname = "griffe"; 16 - version = "0.32.1"; 17 format = "pyproject"; 18 19 disabled = pythonOlder "3.7"; ··· 22 owner = "mkdocstrings"; 23 repo = pname; 24 rev = "refs/tags/${version}"; 25 - hash = "sha256-CNUv2R1Jkq3LSGtEBAi8F04TpARZxOkYN7fUMcXh5P8="; 26 }; 27 28 postPatch = ''
··· 13 14 buildPythonPackage rec { 15 pname = "griffe"; 16 + version = "0.32.3"; 17 format = "pyproject"; 18 19 disabled = pythonOlder "3.7"; ··· 22 owner = "mkdocstrings"; 23 repo = pname; 24 rev = "refs/tags/${version}"; 25 + hash = "sha256-rPh4FtcigZzscm3y/BJ/0Q0wURlumowlHY15MiQw2B8="; 26 }; 27 28 postPatch = ''
+3 -8
pkgs/development/python-modules/mkdocstrings-python/default.nix
··· 11 12 buildPythonPackage rec { 13 pname = "mkdocstrings-python"; 14 - version = "0.10.1"; 15 format = "pyproject"; 16 17 disabled = pythonOlder "3.7"; ··· 19 src = fetchFromGitHub { 20 owner = "mkdocstrings"; 21 repo = "python"; 22 - rev = version; 23 - hash = "sha256-VGPlOHQNtXrfmcne93xDIxN20KDGlTQrjeAKhX/L6K0="; 24 }; 25 26 nativeBuildInputs = [ ··· 36 mkdocs-material 37 pytestCheckHook 38 ]; 39 - 40 - postPatch = '' 41 - substituteInPlace pyproject.toml \ 42 - --replace 'license = "ISC"' 'license = {text = "ISC"}' \ 43 - ''; 44 45 pythonImportsCheck = [ 46 "mkdocstrings_handlers"
··· 11 12 buildPythonPackage rec { 13 pname = "mkdocstrings-python"; 14 + version = "1.2.0"; 15 format = "pyproject"; 16 17 disabled = pythonOlder "3.7"; ··· 19 src = fetchFromGitHub { 20 owner = "mkdocstrings"; 21 repo = "python"; 22 + rev = "refs/tags/${version}"; 23 + hash = "sha256-Q+KsVfImmJekDI5TIFREXlB/G5NGtoenHz6sZOVaP5c="; 24 }; 25 26 nativeBuildInputs = [ ··· 36 mkdocs-material 37 pytestCheckHook 38 ]; 39 40 pythonImportsCheck = [ 41 "mkdocstrings_handlers"
+42
pkgs/development/python-modules/mqtt2influxdb/default.nix
···
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , influxdb 5 + , jsonpath-ng 6 + , paho-mqtt 7 + , py-expression-eval 8 + , pyaml 9 + , pycron 10 + , schema 11 + }: 12 + buildPythonPackage rec { 13 + pname = "mqtt2influxdb"; 14 + version = "1.5.2"; 15 + 16 + src = fetchFromGitHub { 17 + owner = "hardwario"; 18 + repo = "bch-mqtt2influxdb"; 19 + rev = "v${version}"; 20 + sha256 = "YDgMoxnH4vCCa7b857U6iVBhYLxk8ZjytGziryn24bg="; 21 + }; 22 + 23 + propagatedBuildInputs = [ 24 + influxdb 25 + jsonpath-ng 26 + paho-mqtt 27 + py-expression-eval 28 + pyaml 29 + pycron 30 + schema 31 + ]; 32 + 33 + pythonImportsCheck = [ "mqtt2influxdb" ]; 34 + 35 + meta = with lib; { 36 + homepage = "https://github.com/hardwario/bch-mqtt2influxdb"; 37 + description = "Flexible MQTT to InfluxDB Bridge"; 38 + platforms = platforms.linux; 39 + license = licenses.mit; 40 + maintainers = with maintainers; [ cynerd ]; 41 + }; 42 + }
+2 -2
pkgs/development/python-modules/nix-prefetch-github/default.nix
··· 9 10 buildPythonPackage rec { 11 pname = "nix-prefetch-github"; 12 - version = "6.0.1"; 13 14 disabled = pythonOlder "3.8"; 15 ··· 17 owner = "seppeljordan"; 18 repo = "nix-prefetch-github"; 19 rev = "v${version}"; 20 - sha256 = "tvoDSqg4g517c1w0VcsVm3r4mBFG3RHaOTAJAv1ooc4="; 21 }; 22 23 nativeCheckInputs = [ unittestCheckHook git which ];
··· 9 10 buildPythonPackage rec { 11 pname = "nix-prefetch-github"; 12 + version = "7.0.0"; 13 14 disabled = pythonOlder "3.8"; 15 ··· 17 owner = "seppeljordan"; 18 repo = "nix-prefetch-github"; 19 rev = "v${version}"; 20 + hash = "sha256-oIR2iEiOBQ1VKouJTLqEiWWNzrMSJcnxK+m/j9Ia/m8="; 21 }; 22 23 nativeCheckInputs = [ unittestCheckHook git which ];
+24
pkgs/development/python-modules/py-expression-eval/default.nix
···
··· 1 + { lib, 2 + buildPythonPackage, 3 + fetchFromGitHub, 4 + }: 5 + 6 + buildPythonPackage rec { 7 + pname = "py-expression-eval"; 8 + version = "0.3.14"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "axiacore"; 12 + repo = "py-expression-eval"; 13 + rev = "v${version}"; 14 + sha256 = "YxhZd8V6ofphcNdcbBbrT5mc37O9c6W1mfhsvFVC+KM="; 15 + }; 16 + 17 + meta = with lib; { 18 + homepage = "https://github.com/AxiaCore/py-expression-eval/"; 19 + description = "Python Mathematical Expression Evaluator"; 20 + platforms = platforms.linux; 21 + license = licenses.mit; 22 + maintainers = with maintainers; [ cynerd ]; 23 + }; 24 + }
+1
pkgs/development/python-modules/pynina/default.nix
··· 32 meta = with lib; { 33 description = "Python API wrapper to retrieve warnings from the german NINA app"; 34 homepage = "https://gitlab.com/DeerMaximum/pynina"; 35 license = licenses.mit; 36 maintainers = with maintainers; [ fab ]; 37 };
··· 32 meta = with lib; { 33 description = "Python API wrapper to retrieve warnings from the german NINA app"; 34 homepage = "https://gitlab.com/DeerMaximum/pynina"; 35 + changelog = "https://gitlab.com/DeerMaximum/pynina/-/releases/${version}"; 36 license = licenses.mit; 37 maintainers = with maintainers; [ fab ]; 38 };
+76
pkgs/development/python-modules/python-youtube/default.nix
···
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , poetry-core 5 + , dataclasses-json 6 + , isodate 7 + , requests 8 + , requests-oauthlib 9 + , pytestCheckHook 10 + , responses 11 + }: 12 + buildPythonPackage rec { 13 + pname = "python-youtube"; 14 + version = "0.9.0"; 15 + format = "pyproject"; 16 + 17 + src = fetchFromGitHub { 18 + owner = "sns-sdks"; 19 + repo = "python-youtube"; 20 + rev = "v${version}"; 21 + hash = "sha256-uimipYgf8nfYd1J/K6CStbzIkQiRSosu7/yOfgXYCks="; 22 + }; 23 + 24 + postPatch = '' 25 + substituteInPlace pyproject.toml \ 26 + --replace "poetry.masonry.api" "poetry.core.masonry.api" 27 + substituteInPlace pytest.ini \ 28 + --replace "--cov=pyyoutube" "" \ 29 + --replace "--cov-report xml" "" 30 + ''; 31 + 32 + nativeBuildInputs = [ 33 + poetry-core 34 + ]; 35 + 36 + propagatedBuildInputs = [ 37 + dataclasses-json 38 + isodate 39 + requests 40 + requests-oauthlib 41 + ]; 42 + 43 + pythonImportsCheck = [ "pyyoutube" ]; 44 + 45 + nativeCheckInputs = [ 46 + pytestCheckHook 47 + responses 48 + ]; 49 + 50 + disabledTests = [ 51 + # On both tests, upstream compares a string to an integer 52 + 53 + /* 54 + python3.10-python-youtube> > self.assertEqual(m.viewCount, "160361638") 55 + python3.10-python-youtube> E AssertionError: 160361638 != '160361638' 56 + python3.10-python-youtube> tests/models/test_channel.py:62: AssertionError 57 + */ 58 + "testChannelStatistics" 59 + 60 + /* 61 + python3.10-python-youtube> > self.assertEqual(m.viewCount, "8087") 62 + python3.10-python-youtube> E AssertionError: 8087 != '8087' 63 + python3.10-python-youtube> tests/models/test_videos.py:76: AssertionError 64 + */ 65 + "testVideoStatistics" 66 + ]; 67 + 68 + meta = with lib; { 69 + description = "A simple Python wrapper around for YouTube Data API"; 70 + homepage = "https://github.com/sns-sdks/python-youtube"; 71 + changelog = "https://github.com/sns-sdks/python-youtube/blob/${src.rev}/CHANGELOG.md"; 72 + license = licenses.mit; 73 + maintainers = with maintainers; [ blaggacao ]; 74 + }; 75 + } 76 +
+2 -2
pkgs/development/python-modules/pytomorrowio/default.nix
··· 10 11 buildPythonPackage rec { 12 pname = "pytomorrowio"; 13 - version = "0.3.5"; 14 15 disabled = pythonOlder "3.9"; 16 17 src = fetchPypi { 18 inherit pname version; 19 - hash = "sha256-LFIQJJPqKlqLzEoX9ShfoASigPC5R+OWiW81VmjONe8="; 20 }; 21 22 propagatedBuildInputs = [
··· 10 11 buildPythonPackage rec { 12 pname = "pytomorrowio"; 13 + version = "0.3.6"; 14 15 disabled = pythonOlder "3.9"; 16 17 src = fetchPypi { 18 inherit pname version; 19 + hash = "sha256-ZCA+GYuZuRgc4Pi9Bcg4zthOnkmQ+/IddFMkR0WYfKk="; 20 }; 21 22 propagatedBuildInputs = [
+11 -10
pkgs/development/python-modules/universal-pathlib/default.nix
··· 1 { lib 2 , buildPythonPackage 3 - , fetchFromGitHub 4 - , flit-core 5 , fsspec 6 }: 7 8 buildPythonPackage rec { 9 pname = "universal-pathlib"; 10 - version = "0.0.23"; 11 format = "pyproject"; 12 13 - src = fetchFromGitHub { 14 - owner = "fsspec"; 15 - repo = "universal_pathlib"; 16 - rev = "v${version}"; 17 - hash = "sha256-UT4S7sqRn0/YFzFL1KzByK44u8G7pwWHERzJEm7xmiw="; 18 }; 19 20 nativeBuildInputs = [ 21 - flit-core 22 ]; 23 24 propagatedBuildInputs = [ ··· 30 meta = with lib; { 31 description = "Pathlib api extended to use fsspec backends"; 32 homepage = "https://github.com/fsspec/universal_pathlib"; 33 - changelog = "https://github.com/fsspec/universal_pathlib/releases/tag/${src.rev}"; 34 license = licenses.mit; 35 maintainers = with maintainers; [ figsoda ]; 36 };
··· 1 { lib 2 , buildPythonPackage 3 + , fetchPypi 4 + , setuptools 5 + , setuptools-scm 6 , fsspec 7 }: 8 9 buildPythonPackage rec { 10 pname = "universal-pathlib"; 11 + version = "0.0.24"; 12 format = "pyproject"; 13 14 + src = fetchPypi { 15 + pname = "universal_pathlib"; 16 + inherit version; 17 + hash = "sha256-/L/7leS8afcEr13eT5piSyJp8lGjjIGri+wZ3+qtgw8="; 18 }; 19 20 nativeBuildInputs = [ 21 + setuptools 22 + setuptools-scm 23 ]; 24 25 propagatedBuildInputs = [ ··· 31 meta = with lib; { 32 description = "Pathlib api extended to use fsspec backends"; 33 homepage = "https://github.com/fsspec/universal_pathlib"; 34 + changelog = "https://github.com/fsspec/universal_pathlib/releases/tag/v${version}"; 35 license = licenses.mit; 36 maintainers = with maintainers; [ figsoda ]; 37 };
+4 -4
pkgs/development/tools/continuous-integration/woodpecker/common.nix
··· 1 { lib, fetchFromGitHub }: 2 let 3 version = "0.15.8"; 4 - srcSha256 = "sha256-7CTRx7I47VEKfPvkWhmpyHV3hkeLyHymFMrkyYQ1wl8="; 5 - yarnSha256 = "sha256-PY0BIBbjyi2DG+n5x/IPc0AwrFSwII4huMDU+FeZ/Sc="; 6 in 7 { 8 - inherit version yarnSha256; 9 10 src = fetchFromGitHub { 11 owner = "woodpecker-ci"; 12 repo = "woodpecker"; 13 rev = "v${version}"; 14 - sha256 = srcSha256; 15 }; 16 17 postBuild = ''
··· 1 { lib, fetchFromGitHub }: 2 let 3 version = "0.15.8"; 4 + srcHash = "sha256-7CTRx7I47VEKfPvkWhmpyHV3hkeLyHymFMrkyYQ1wl8="; 5 + yarnHash = "sha256-PY0BIBbjyi2DG+n5x/IPc0AwrFSwII4huMDU+FeZ/Sc="; 6 in 7 { 8 + inherit version yarnHash; 9 10 src = fetchFromGitHub { 11 owner = "woodpecker-ci"; 12 repo = "woodpecker"; 13 rev = "v${version}"; 14 + hash = srcHash; 15 }; 16 17 postBuild = ''
+1 -1
pkgs/development/tools/continuous-integration/woodpecker/frontend.nix
··· 11 packageJSON = ./woodpecker-package.json; 12 offlineCache = fetchYarnDeps { 13 yarnLock = "${common.src}/web/yarn.lock"; 14 - sha256 = common.yarnSha256; 15 }; 16 17 buildPhase = ''
··· 11 packageJSON = ./woodpecker-package.json; 12 offlineCache = fetchYarnDeps { 13 yarnLock = "${common.src}/web/yarn.lock"; 14 + hash = common.yarnHash; 15 }; 16 17 buildPhase = ''
+3 -4
pkgs/development/tools/continuous-integration/woodpecker/update.sh
··· 28 version="${version#v}" 29 30 # Woodpecker repository 31 - src_hash=$(nix-prefetch-github woodpecker-ci woodpecker --rev "v${version}" | jq -r .sha256) 32 33 # Front-end dependencies 34 woodpecker_src="https://raw.githubusercontent.com/woodpecker-ci/woodpecker/v$version" ··· 42 popd 43 44 # Use friendlier hashes 45 - src_hash=$(nix hash to-sri --type sha256 "$src_hash") 46 yarn_hash=$(nix hash to-sri --type sha256 "$yarn_hash") 47 48 sed -i -E -e "s#version = \".*\"#version = \"$version\"#" common.nix 49 - sed -i -E -e "s#srcSha256 = \".*\"#srcSha256 = \"$src_hash\"#" common.nix 50 - sed -i -E -e "s#yarnSha256 = \".*\"#yarnSha256 = \"$yarn_hash\"#" common.nix
··· 28 version="${version#v}" 29 30 # Woodpecker repository 31 + src_hash=$(nix-prefetch-github woodpecker-ci woodpecker --rev "v${version}" | jq -r .hash) 32 33 # Front-end dependencies 34 woodpecker_src="https://raw.githubusercontent.com/woodpecker-ci/woodpecker/v$version" ··· 42 popd 43 44 # Use friendlier hashes 45 yarn_hash=$(nix hash to-sri --type sha256 "$yarn_hash") 46 47 sed -i -E -e "s#version = \".*\"#version = \"$version\"#" common.nix 48 + sed -i -E -e "s#srcHash = \".*\"#srcHash = \"$src_hash\"#" common.nix 49 + sed -i -E -e "s#yarnHash = \".*\"#yarnHash = \"$yarn_hash\"#" common.nix
+3 -3
pkgs/development/tools/viceroy/default.nix
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "viceroy"; 5 - version = "0.5.1"; 6 7 src = fetchFromGitHub { 8 owner = "fastly"; 9 repo = pname; 10 rev = "v${version}"; 11 - hash = "sha256-OWvWi3mIgcWTnRMsnKgYqB9qzICBOmCcWenTfqhaz+k="; 12 }; 13 14 buildInputs = lib.optional stdenv.isDarwin Security; 15 16 - cargoHash = "sha256-WwhoKHWZSOcocpqPqmSFYzNKxxXtpKpRreaPHqc+/40="; 17 18 cargoTestFlags = [ 19 "--package viceroy-lib"
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "viceroy"; 5 + version = "0.6.0"; 6 7 src = fetchFromGitHub { 8 owner = "fastly"; 9 repo = pname; 10 rev = "v${version}"; 11 + hash = "sha256-lFDhiBgJFCXE7/BzCuNFPmP8PYHCqu6jYqRNa+M4J8Q="; 12 }; 13 14 buildInputs = lib.optional stdenv.isDarwin Security; 15 16 + cargoHash = "sha256-HJXCNjWjO1GWIP46kqvq8mZVlYVvlG9ahxScpG3rfTA="; 17 18 cargoTestFlags = [ 19 "--package viceroy-lib"
+1 -1
pkgs/development/web/netlify-cli/default.nix
··· 8 export ESBUILD_BINARY_PATH="${pkgs.esbuild_netlify}/bin/esbuild" 9 ''; 10 src = fetchFromGitHub { 11 - inherit (sourceInfo) owner repo rev sha256; 12 }; 13 bypassCache = true; 14 reconstructLock = true;
··· 8 export ESBUILD_BINARY_PATH="${pkgs.esbuild_netlify}/bin/esbuild" 9 ''; 10 src = fetchFromGitHub { 11 + inherit (sourceInfo) owner repo rev hash; 12 }; 13 bypassCache = true; 14 reconstructLock = true;
+1 -1
pkgs/development/web/netlify-cli/generate.sh
··· 2 set -eu -o pipefail 3 cd "$( dirname "${BASH_SOURCE[0]}" )" 4 rm -f ./node-env.nix 5 - src="$(nix-build --expr 'let pkgs = import ../../../.. {}; meta = (pkgs.lib.importJSON ./netlify-cli.json); in pkgs.fetchFromGitHub { inherit (meta) owner repo rev sha256; }')" 6 echo $src 7 node2nix \ 8 --input $src/package.json \
··· 2 set -eu -o pipefail 3 cd "$( dirname "${BASH_SOURCE[0]}" )" 4 rm -f ./node-env.nix 5 + src="$(nix-build --expr 'let pkgs = import ../../../.. {}; meta = (pkgs.lib.importJSON ./netlify-cli.json); in pkgs.fetchFromGitHub { inherit (meta) owner repo rev hash; }')" 6 echo $src 7 node2nix \ 8 --input $src/package.json \
+1 -4
pkgs/development/web/netlify-cli/netlify-cli.json
··· 2 "owner": "netlify", 3 "repo": "cli", 4 "rev": "6c7e8c9a4db4e2e408f65e6098a194497944e306", 5 - "sha256": "YMnQrurZDJtfeHBCIzy6vToGHnqtdRGvWFPX5RcWyPg=", 6 - "fetchSubmodules": false, 7 - "leaveDotGit": false, 8 - "deepClone": false 9 }
··· 2 "owner": "netlify", 3 "repo": "cli", 4 "rev": "6c7e8c9a4db4e2e408f65e6098a194497944e306", 5 + "hash": "sha256-YMnQrurZDJtfeHBCIzy6vToGHnqtdRGvWFPX5RcWyPg=" 6 }
+1 -2
pkgs/development/web/pnpm-lock-export/update.sh
··· 28 version="${version#v}" 29 30 # pnpm-lock-export repository 31 - src_hash=$(nix-prefetch-github cvent pnpm-lock-export --rev "v${version}" | jq -r .sha256) 32 33 # Front-end dependencies 34 upstream_src="https://raw.githubusercontent.com/cvent/pnpm-lock-export/v$version" ··· 39 deps_hash=$(prefetch-npm-deps package-lock.json) 40 41 # Use friendlier hashes 42 - src_hash=$(nix hash to-sri --type sha256 "$src_hash") 43 deps_hash=$(nix hash to-sri --type sha256 "$deps_hash") 44 45 sed -i -E -e "s#version = \".*\"#version = \"$version\"#" default.nix
··· 28 version="${version#v}" 29 30 # pnpm-lock-export repository 31 + src_hash=$(nix-prefetch-github cvent pnpm-lock-export --rev "v${version}" | jq -r .hash) 32 33 # Front-end dependencies 34 upstream_src="https://raw.githubusercontent.com/cvent/pnpm-lock-export/v$version" ··· 39 deps_hash=$(prefetch-npm-deps package-lock.json) 40 41 # Use friendlier hashes 42 deps_hash=$(nix hash to-sri --type sha256 "$deps_hash") 43 44 sed -i -E -e "s#version = \".*\"#version = \"$version\"#" default.nix
+60
pkgs/os-specific/linux/oddjob/default.nix
···
··· 1 + { lib 2 + , fetchurl 3 + , stdenv 4 + , autoreconfHook 5 + , dbus 6 + , libxml2 7 + , pam 8 + , pkg-config 9 + , systemd 10 + }: 11 + 12 + stdenv.mkDerivation rec { 13 + pname = "oddjob"; 14 + version = "0.34.7"; 15 + 16 + src = fetchurl { 17 + url = "https://pagure.io/oddjob/archive/${pname}-${version}/oddjob-${pname}-${version}.tar.gz"; 18 + hash = "sha256-SUOsMH55HtEsk5rX0CXK0apDObTj738FGOaL5xZRnIM="; 19 + }; 20 + 21 + nativeBuildInputs = [ 22 + autoreconfHook 23 + pkg-config 24 + ]; 25 + 26 + buildInputs =[ 27 + libxml2 28 + dbus 29 + pam 30 + systemd 31 + ]; 32 + 33 + postPatch = '' 34 + substituteInPlace configure.ac \ 35 + --replace 'SYSTEMDSYSTEMUNITDIR=`pkg-config --variable=systemdsystemunitdir systemd 2> /dev/null`' "SYSTEMDSYSTEMUNITDIR=${placeholder "out"}" \ 36 + --replace 'SYSTEMDSYSTEMUNITDIR=`pkg-config --variable=systemdsystemunitdir systemd`' "SYSTEMDSYSTEMUNITDIR=${placeholder "out"}" 37 + ''; 38 + 39 + configureFlags = [ 40 + "--prefix=${placeholder "out"}" 41 + "--sysconfdir=${placeholder "out"}/etc" 42 + "--with-selinux-acls=no" 43 + "--with-selinux-labels=no" 44 + "--disable-systemd" 45 + ]; 46 + 47 + postConfigure = '' 48 + substituteInPlace src/oddjobd.c \ 49 + --replace "globals.selinux_enabled" "FALSE" 50 + ''; 51 + 52 + meta = with lib; { 53 + description = "Odd Job Daemon"; 54 + homepage = "https://pagure.io/oddjob"; 55 + changelog = "https://pagure.io/oddjob/blob/oddjob-${version}/f/ChangeLog"; 56 + license = licenses.bsd0; 57 + platforms = platforms.linux; 58 + maintainers = with maintainers; [ SohamG ]; 59 + }; 60 + }
+1 -1
pkgs/servers/jellyseerr/default.nix
··· 23 owner = "Fallenbagel"; 24 repo = "jellyseerr"; 25 rev = "v${version}"; 26 - sha256 = pin.srcSha256; 27 }; 28 29 packageJSON = ./package.json;
··· 23 owner = "Fallenbagel"; 24 repo = "jellyseerr"; 25 rev = "v${version}"; 26 + hash = pin.srcHash; 27 }; 28 29 packageJSON = ./package.json;
+1 -1
pkgs/servers/jellyseerr/pin.json
··· 1 { 2 "version": "1.4.1", 3 - "srcSha256": "LDqlQfy1bm2xMNn1oulImfanQmJX57P48VaZn0Jxwpk=", 4 "yarnSha256": "162aip7r5vcpfj1sn42qwwdlwnaii32bd2k0gp9py1z0zmw0lwlf" 5 }
··· 1 { 2 "version": "1.4.1", 3 + "srcHash": "sha256-LDqlQfy1bm2xMNn1oulImfanQmJX57P48VaZn0Jxwpk=", 4 "yarnSha256": "162aip7r5vcpfj1sn42qwwdlwnaii32bd2k0gp9py1z0zmw0lwlf" 5 }
+2 -2
pkgs/servers/jellyseerr/update.sh
··· 19 fi 20 21 src="https://raw.githubusercontent.com/Fallenbagel/jellyseerr/$tag" 22 - src_sha256=$(nix-prefetch-github Fallenbagel jellyseerr --rev ${tag} | jq -r .sha256) 23 24 tmpdir=$(mktemp -d) 25 trap 'rm -rf "$tmpdir"' EXIT ··· 33 cat > pin.json << EOF 34 { 35 "version": "$(echo $tag | grep -P '(\d|\.)+' -o)", 36 - "srcSha256": "$src_sha256", 37 "yarnSha256": "$yarn_sha256" 38 } 39 EOF
··· 19 fi 20 21 src="https://raw.githubusercontent.com/Fallenbagel/jellyseerr/$tag" 22 + src_hash=$(nix-prefetch-github Fallenbagel jellyseerr --rev ${tag} | jq -r .hash) 23 24 tmpdir=$(mktemp -d) 25 trap 'rm -rf "$tmpdir"' EXIT ··· 33 cat > pin.json << EOF 34 { 35 "version": "$(echo $tag | grep -P '(\d|\.)+' -o)", 36 + "srcHash": "$src_hash", 37 "yarnSha256": "$yarn_sha256" 38 } 39 EOF
+1 -1
pkgs/servers/mastodon/source.nix
··· 4 owner = "mastodon"; 5 repo = "mastodon"; 6 rev = "v4.1.4"; 7 - sha256 = "8ULBO8IdwBzC5dgX3netTHbbRrODX4CropWZWtqWHZw="; 8 }; 9 in applyPatches { 10 inherit src;
··· 4 owner = "mastodon"; 5 repo = "mastodon"; 6 rev = "v4.1.4"; 7 + hash = "sha256-8ULBO8IdwBzC5dgX3netTHbbRrODX4CropWZWtqWHZw="; 8 }; 9 in applyPatches { 10 inherit src;
+2 -2
pkgs/servers/mastodon/update.sh
··· 76 77 echo "Fetching source code $REVISION" 78 JSON=$(nix-prefetch-github "$OWNER" "$REPO" --rev "$REVISION" 2> $WORK_DIR/nix-prefetch-git.out) 79 - SHA=$(echo "$JSON" | jq -r .sha256) 80 81 echo "Creating version.nix" 82 echo "\"$VERSION\"" | sed 's/^"v/"/' > version.nix ··· 88 owner = "mastodon"; 89 repo = "mastodon"; 90 rev = "$REVISION"; 91 - sha256 = "$SHA"; 92 }; 93 in applyPatches { 94 inherit src;
··· 76 77 echo "Fetching source code $REVISION" 78 JSON=$(nix-prefetch-github "$OWNER" "$REPO" --rev "$REVISION" 2> $WORK_DIR/nix-prefetch-git.out) 79 + HASH=$(echo "$JSON" | jq -r .hash) 80 81 echo "Creating version.nix" 82 echo "\"$VERSION\"" | sed 's/^"v/"/' > version.nix ··· 88 owner = "mastodon"; 89 repo = "mastodon"; 90 rev = "$REVISION"; 91 + hash = "$HASH"; 92 }; 93 in applyPatches { 94 inherit src;
+1 -1
pkgs/servers/matrix-appservice-discord/default.nix
··· 22 owner = "matrix-org"; 23 repo = "matrix-appservice-discord"; 24 rev = "v${version}"; 25 - sha256 = pin.srcSha256; 26 }; 27 28 packageJSON = ./package.json;
··· 22 owner = "matrix-org"; 23 repo = "matrix-appservice-discord"; 24 rev = "v${version}"; 25 + hash = pin.srcHash; 26 }; 27 28 packageJSON = ./package.json;
+1 -1
pkgs/servers/matrix-appservice-discord/pin.json
··· 1 { 2 "version": "3.1.1", 3 - "srcSha256": "g681w7RD96/xKP+WnIyY4bcVHVQhysgDPZo4TgCRiuY=", 4 "yarnSha256": "0cm9yprj0ajmrdpap3p2lx3xrrkar6gghlxnj9127ks6p5c1ji3r" 5 }
··· 1 { 2 "version": "3.1.1", 3 + "srcHash": "sha256-g681w7RD96/xKP+WnIyY4bcVHVQhysgDPZo4TgCRiuY=", 4 "yarnSha256": "0cm9yprj0ajmrdpap3p2lx3xrrkar6gghlxnj9127ks6p5c1ji3r" 5 }
+2 -2
pkgs/servers/matrix-appservice-discord/update.sh
··· 22 fi 23 24 src="https://raw.githubusercontent.com/$ORG/$PROJ/$tag" 25 - src_sha256=$(nix-prefetch-github $ORG $PROJ --rev ${tag} | jq -r .sha256) 26 27 tmpdir=$(mktemp -d) 28 trap 'rm -rf "$tmpdir"' EXIT ··· 36 cat > pin.json << EOF 37 { 38 "version": "$(echo $tag | grep -P '(\d|\.)+' -o)", 39 - "srcSha256": "$src_sha256", 40 "yarnSha256": "$yarn_sha256" 41 } 42 EOF
··· 22 fi 23 24 src="https://raw.githubusercontent.com/$ORG/$PROJ/$tag" 25 + src_hash=$(nix-prefetch-github $ORG $PROJ --rev ${tag} | jq -r .hash) 26 27 tmpdir=$(mktemp -d) 28 trap 'rm -rf "$tmpdir"' EXIT ··· 36 cat > pin.json << EOF 37 { 38 "version": "$(echo $tag | grep -P '(\d|\.)+' -o)", 39 + "srcSha256": "$src_hash", 40 "yarnSha256": "$yarn_sha256" 41 } 42 EOF
+1 -1
pkgs/servers/matrix-synapse/matrix-appservice-slack/default.nix
··· 19 owner = "matrix-org"; 20 repo = "matrix-appservice-slack"; 21 rev = data.version; 22 - sha256 = data.srcHash; 23 }; 24 25 offlineCache = fetchYarnDeps {
··· 19 owner = "matrix-org"; 20 repo = "matrix-appservice-slack"; 21 rev = data.version; 22 + hash = data.srcHash; 23 }; 24 25 offlineCache = fetchYarnDeps {
+1 -1
pkgs/servers/matrix-synapse/matrix-appservice-slack/pin.json
··· 1 { 2 "version": "2.1.1", 3 - "srcHash": "+NO/V3EyqdxavnSTBU7weJnueL6+aCH3UWkqclpsId0=", 4 "yarnHash": "1pqv7g3xbfs4zhmyxy5p216kq2jwjfjzxw2dv2a7hl0qwk6igyki" 5 }
··· 1 { 2 "version": "2.1.1", 3 + "srcHash": "sha256-+NO/V3EyqdxavnSTBU7weJnueL6+aCH3UWkqclpsId0=", 4 "yarnHash": "1pqv7g3xbfs4zhmyxy5p216kq2jwjfjzxw2dv2a7hl0qwk6igyki" 5 }
+1 -1
pkgs/servers/matrix-synapse/matrix-appservice-slack/update.sh
··· 16 fi 17 18 src="https://raw.githubusercontent.com/matrix-org/matrix-appservice-slack/$version" 19 - src_hash=$(nix-prefetch-github matrix-org matrix-appservice-slack --rev ${version} | jq -r .sha256) 20 21 tmpdir=$(mktemp -d) 22 trap 'rm -rf "$tmpdir"' EXIT
··· 16 fi 17 18 src="https://raw.githubusercontent.com/matrix-org/matrix-appservice-slack/$version" 19 + src_hash=$(nix-prefetch-github matrix-org matrix-appservice-slack --rev ${version} | jq -r .hash) 20 21 tmpdir=$(mktemp -d) 22 trap 'rm -rf "$tmpdir"' EXIT
+2 -2
pkgs/servers/matrix-synapse/matrix-hookshot/default.nix
··· 26 owner = "matrix-org"; 27 repo = "matrix-hookshot"; 28 rev = data.version; 29 - sha256 = data.srcHash; 30 }; 31 32 packageJSON = ./package.json; ··· 39 cargoDeps = rustPlatform.fetchCargoTarball { 40 inherit src; 41 name = "${pname}-${version}"; 42 - sha256 = data.cargoHash; 43 }; 44 45 packageResolutions = {
··· 26 owner = "matrix-org"; 27 repo = "matrix-hookshot"; 28 rev = data.version; 29 + hash = data.srcHash; 30 }; 31 32 packageJSON = ./package.json; ··· 39 cargoDeps = rustPlatform.fetchCargoTarball { 40 inherit src; 41 name = "${pname}-${version}"; 42 + hash = data.cargoHash; 43 }; 44 45 packageResolutions = {
+2 -2
pkgs/servers/matrix-synapse/matrix-hookshot/pin.json
··· 1 { 2 "version": "4.4.0", 3 - "srcHash": "mPLDdAVIMb5d2LPGtIfm/ofRs42081S3+QTsvqkfp3s=", 4 "yarnHash": "0qd3h870mk3a2lzm0r7kyh07ykw86h9xwai9h205gnv1w0d59z6i", 5 - "cargoHash": "NGcnRKasYE4dleQLq+E4cM6C04Rfu4AsenDznGyC2Nk=" 6 }
··· 1 { 2 "version": "4.4.0", 3 + "srcHash": "sha256-mPLDdAVIMb5d2LPGtIfm/ofRs42081S3+QTsvqkfp3s=", 4 "yarnHash": "0qd3h870mk3a2lzm0r7kyh07ykw86h9xwai9h205gnv1w0d59z6i", 5 + "cargoHash": "sha256-NGcnRKasYE4dleQLq+E4cM6C04Rfu4AsenDznGyC2Nk=" 6 }
+2 -2
pkgs/servers/matrix-synapse/matrix-hookshot/update.sh
··· 15 fi 16 17 src="https://raw.githubusercontent.com/matrix-org/matrix-hookshot/$version" 18 - src_hash=$(nix-prefetch-github matrix-org matrix-hookshot --rev ${version} | jq -r .sha256) 19 20 tmpdir=$(mktemp -d) 21 trap 'rm -rf "$tmpdir"' EXIT ··· 32 "version": "$version", 33 "srcHash": "$src_hash", 34 "yarnHash": "$yarn_hash", 35 - "cargoHash": "0000000000000000000000000000000000000000000000000000" 36 } 37 EOF
··· 15 fi 16 17 src="https://raw.githubusercontent.com/matrix-org/matrix-hookshot/$version" 18 + src_hash=$(nix-prefetch-github matrix-org matrix-hookshot --rev ${version} | jq -r .hash) 19 20 tmpdir=$(mktemp -d) 21 trap 'rm -rf "$tmpdir"' EXIT ··· 32 "version": "$version", 33 "srcHash": "$src_hash", 34 "yarnHash": "$yarn_hash", 35 + "cargoHash": "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=" 36 } 37 EOF
+2 -2
pkgs/servers/memos/default.nix
··· 6 owner = "usememos"; 7 repo = "memos"; 8 rev = "v${version}"; 9 - sha256 = "lcOZg5mlFPp04ZCm5GDhQfSwE2ahSmGhmdAw+pygK0A="; 10 }; 11 12 frontend = buildNpmPackage { ··· 32 33 # check will unable to access network in sandbox 34 doCheck = false; 35 - vendorSha256 = "sha256-UM/xeRvfvlq+jGzWpc3EU5GJ6Dt7RmTbSt9h3da6f8w="; 36 37 # Inject frontend assets into go embed 38 prePatch = ''
··· 6 owner = "usememos"; 7 repo = "memos"; 8 rev = "v${version}"; 9 + hash = "sha256-lcOZg5mlFPp04ZCm5GDhQfSwE2ahSmGhmdAw+pygK0A="; 10 }; 11 12 frontend = buildNpmPackage { ··· 32 33 # check will unable to access network in sandbox 34 doCheck = false; 35 + vendorHash = "sha256-UM/xeRvfvlq+jGzWpc3EU5GJ6Dt7RmTbSt9h3da6f8w="; 36 37 # Inject frontend assets into go embed 38 prePatch = ''
+3 -3
pkgs/servers/memos/update.sh
··· 34 35 # update hash 36 SRC_HASH="$(nix-instantiate --eval -A memos.src.outputHash | tr -d '"')" 37 - NEW_HASH="$(nix-prefetch-github usememos memos --rev v$TARGET_VERSION | jq -r .sha256)" 38 39 replaceHash "$SRC_HASH" "$NEW_HASH" 40 41 - GO_HASH="$(nix-instantiate --eval -A memos.vendorSha256 | tr -d '"')" 42 - EMPTY_HASH="$(nix-instantiate --eval -A lib.fakeSha256 | tr -d '"')" 43 replaceHash "$GO_HASH" "$EMPTY_HASH" 44 replaceHash "$EMPTY_HASH" "$(extractVendorHash "$GO_HASH")" 45
··· 34 35 # update hash 36 SRC_HASH="$(nix-instantiate --eval -A memos.src.outputHash | tr -d '"')" 37 + NEW_HASH="$(nix-prefetch-github usememos memos --rev v$TARGET_VERSION | jq -r .hash)" 38 39 replaceHash "$SRC_HASH" "$NEW_HASH" 40 41 + GO_HASH="$(nix-instantiate --eval -A memos.vendorHash | tr -d '"')" 42 + EMPTY_HASH="$(nix-instantiate --eval -A lib.fakeHash | tr -d '"')" 43 replaceHash "$GO_HASH" "$EMPTY_HASH" 44 replaceHash "$EMPTY_HASH" "$(extractVendorHash "$GO_HASH")" 45
+3 -3
pkgs/servers/monitoring/grafana-agent/default.nix
··· 10 11 buildGoModule rec { 12 pname = "grafana-agent"; 13 - version = "0.34.3"; 14 15 src = fetchFromGitHub { 16 owner = "grafana"; 17 repo = "agent"; 18 rev = "v${version}"; 19 - hash = "sha256-llHMTuNWGipL732L+uCupILvomhwZMFT8tJaFkBs+AQ="; 20 }; 21 22 - vendorHash = "sha256-x9c6xRk1Ska+kqoFhAJ9ei35Lg8wsgDpZpfxJ3UExfg="; 23 proxyVendor = true; # darwin/linux hash mismatch 24 25 ldflags = let
··· 10 11 buildGoModule rec { 12 pname = "grafana-agent"; 13 + version = "0.35.0"; 14 15 src = fetchFromGitHub { 16 owner = "grafana"; 17 repo = "agent"; 18 rev = "v${version}"; 19 + hash = "sha256-mSU4in+9itJuCdyF10K11f7nhbxztliJq8pX3K0bL2Y="; 20 }; 21 22 + vendorHash = "sha256-MqUkGKOzx8Qo9xbD9GdUryVwKjpVUOXFo2x0/2uz8Uk="; 23 proxyVendor = true; # darwin/linux hash mismatch 24 25 ldflags = let
+1 -1
pkgs/servers/web-apps/hedgedoc/update.sh
··· 1 #!/usr/bin/env nix-shell 2 - #!nix-shell -I nixpkgs=../../../../ -i bash -p nix wget prefetch-yarn-deps nix-prefetch-github jq 3 set -euo pipefail 4 cd "$(dirname "$0")" 5
··· 1 #!/usr/bin/env nix-shell 2 + #!nix-shell -I nixpkgs=../../../../ -i bash -p nix wget prefetch-yarn-deps jq 3 set -euo pipefail 4 cd "$(dirname "$0")" 5
+4 -4
pkgs/servers/web-apps/lemmy/pin.json
··· 1 { 2 "serverVersion": "0.18.2", 3 "uiVersion": "0.18.2", 4 - "serverSha256": "sha256-T08CjsRREgGJb1vXJrYihYaCin8NNHtsG+2PUHoI4Ho=", 5 - "serverCargoSha256": "sha256-nTZcLOpsbdeGzpz3PzgXZEGZHMbvSDA5rB2A3S9tMF8=", 6 - "uiSha256": "sha256-qFFnmdCONjfPyfp8v0VonPQP8G5b2DVpxEUAQT731Z0=", 7 - "uiYarnDepsSha256": "sha256-fRJpA9WstNNNOePoqotJKYmlikkcjc34iM0WO8+a/3Q=" 8 }
··· 1 { 2 "serverVersion": "0.18.2", 3 "uiVersion": "0.18.2", 4 + "serverHash": "sha256-T08CjsRREgGJb1vXJrYihYaCin8NNHtsG+2PUHoI4Ho=", 5 + "serverCargoHash": "sha256-nTZcLOpsbdeGzpz3PzgXZEGZHMbvSDA5rB2A3S9tMF8=", 6 + "uiHash": "sha256-qFFnmdCONjfPyfp8v0VonPQP8G5b2DVpxEUAQT731Z0=", 7 + "uiYarnDepsHash": "sha256-fRJpA9WstNNNOePoqotJKYmlikkcjc34iM0WO8+a/3Q=" 8 }
+2 -2
pkgs/servers/web-apps/lemmy/server.nix
··· 22 owner = "LemmyNet"; 23 repo = "lemmy"; 24 rev = version; 25 - sha256 = pinData.serverSha256; 26 fetchSubmodules = true; 27 }; 28 ··· 30 echo 'pub const VERSION: &str = "${version}";' > crates/utils/src/version.rs 31 ''; 32 33 - cargoSha256 = pinData.serverCargoSha256; 34 35 buildInputs = [ postgresql ] 36 ++ lib.optionals stdenv.isDarwin [ libiconv Security ];
··· 22 owner = "LemmyNet"; 23 repo = "lemmy"; 24 rev = version; 25 + hash = pinData.serverHash; 26 fetchSubmodules = true; 27 }; 28 ··· 30 echo 'pub const VERSION: &str = "${version}";' > crates/utils/src/version.rs 31 ''; 32 33 + cargoHash = pinData.serverCargoHash; 34 35 buildInputs = [ postgresql ] 36 ++ lib.optionals stdenv.isDarwin [ libiconv Security ];
+2 -2
pkgs/servers/web-apps/lemmy/ui.nix
··· 40 repo = name; 41 rev = version; 42 fetchSubmodules = true; 43 - sha256 = pinData.uiSha256; 44 }; 45 in 46 mkYarnPackage { ··· 52 packageJSON = ./package.json; 53 offlineCache = fetchYarnDeps { 54 yarnLock = src + "/yarn.lock"; 55 - sha256 = pinData.uiYarnDepsSha256; 56 }; 57 58 yarnPreBuild = ''
··· 40 repo = name; 41 rev = version; 42 fetchSubmodules = true; 43 + hash = pinData.uiHash; 44 }; 45 in 46 mkYarnPackage { ··· 52 packageJSON = ./package.json; 53 offlineCache = fetchYarnDeps { 54 yarnLock = src + "/yarn.lock"; 55 + hash = pinData.uiYarnDepsHash; 56 }; 57 58 yarnPreBuild = ''
+14 -28
pkgs/servers/web-apps/lemmy/update.py
··· 3 from urllib.request import Request, urlopen 4 import dataclasses 5 import subprocess 6 - import hashlib 7 import os.path 8 import semver 9 - import base64 10 from typing import ( 11 Optional, 12 Dict, ··· 29 class Pin: 30 serverVersion: str 31 uiVersion: str 32 - serverSha256: str = "" 33 - serverCargoSha256: str = "" 34 - uiSha256: str = "" 35 - uiYarnDepsSha256: str = "" 36 37 filename: Optional[str] = None 38 ··· 48 49 50 def github_get(path: str) -> Dict: 51 - """Send a GET request to Gituhb, optionally adding GITHUB_TOKEN auth header""" 52 url = f"https://api.github.com/{path.lstrip('/')}" 53 - print(f"Retreiving {url}") 54 55 req = Request(url) 56 ··· 65 return github_get(f"/repos/{owner}/{repo}/releases/latest")["tag_name"] 66 67 68 - def sha256_url(url: str) -> str: 69 - sha256 = hashlib.sha256() 70 - with urlopen(url) as resp: 71 - while data := resp.read(1024): 72 - sha256.update(data) 73 - return "sha256-" + base64.urlsafe_b64encode(sha256.digest()).decode() 74 - 75 - 76 def prefetch_github(owner: str, repo: str, rev: str) -> str: 77 - """Prefetch github rev and return sha256 hash""" 78 print(f"Prefetching {owner}/{repo}({rev})") 79 80 proc = subprocess.run( ··· 83 stdout=subprocess.PIPE, 84 ) 85 86 - sha256 = json.loads(proc.stdout)["sha256"] 87 - if not sha256.startswith("sha256-"): # Work around bug in nix-prefetch-github 88 - return "sha256-" + sha256 89 - 90 - return sha256 91 92 93 def get_latest_tag(owner: str, repo: str, prerelease: bool = False) -> str: 94 - """Get the latest tag from a Github Repo""" 95 tags: List[str] = [] 96 97 - # As the Github API doesn't have any notion of "latest" for tags we need to 98 # collect all of them and sort so we can figure out the latest one. 99 i = 0 100 while i <= 100: # Prevent infinite looping ··· 144 145 146 def make_server_pin(pin: Pin, attr: str) -> None: 147 - pin.serverSha256 = prefetch_github(OWNER, SERVER_REPO, pin.serverVersion) 148 pin.write() 149 - pin.serverCargoSha256 = get_fod_hash(attr) 150 pin.write() 151 152 ··· 159 with open(os.path.join(SCRIPT_DIR, package_json), "wb") as fd: 160 fd.write(resp.read()) 161 162 - pin.uiSha256 = prefetch_github(OWNER, UI_REPO, pin.uiVersion) 163 pin.write() 164 - pin.uiYarnDepsSha256 = get_fod_hash(attr) 165 pin.write() 166 167
··· 3 from urllib.request import Request, urlopen 4 import dataclasses 5 import subprocess 6 import os.path 7 import semver 8 from typing import ( 9 Optional, 10 Dict, ··· 27 class Pin: 28 serverVersion: str 29 uiVersion: str 30 + serverHash: str = "" 31 + serverCargoHash: str = "" 32 + uiHash: str = "" 33 + uiYarnDepsHash: str = "" 34 35 filename: Optional[str] = None 36 ··· 46 47 48 def github_get(path: str) -> Dict: 49 + """Send a GET request to GitHub, optionally adding GITHUB_TOKEN auth header""" 50 url = f"https://api.github.com/{path.lstrip('/')}" 51 + print(f"Retrieving {url}") 52 53 req = Request(url) 54 ··· 63 return github_get(f"/repos/{owner}/{repo}/releases/latest")["tag_name"] 64 65 66 def prefetch_github(owner: str, repo: str, rev: str) -> str: 67 + """Prefetch GitHub rev and return SRI hash""" 68 print(f"Prefetching {owner}/{repo}({rev})") 69 70 proc = subprocess.run( ··· 73 stdout=subprocess.PIPE, 74 ) 75 76 + return json.loads(proc.stdout)["hash"] 77 78 79 def get_latest_tag(owner: str, repo: str, prerelease: bool = False) -> str: 80 + """Get the latest tag from a GitHub Repo""" 81 tags: List[str] = [] 82 83 + # As the GitHub API doesn't have any notion of "latest" for tags we need to 84 # collect all of them and sort so we can figure out the latest one. 85 i = 0 86 while i <= 100: # Prevent infinite looping ··· 130 131 132 def make_server_pin(pin: Pin, attr: str) -> None: 133 + pin.serverHash = prefetch_github(OWNER, SERVER_REPO, pin.serverVersion) 134 pin.write() 135 + pin.serverCargoHash = get_fod_hash(attr) 136 pin.write() 137 138 ··· 145 with open(os.path.join(SCRIPT_DIR, package_json), "wb") as fd: 146 fd.write(resp.read()) 147 148 + pin.uiHash = prefetch_github(OWNER, UI_REPO, pin.uiVersion) 149 pin.write() 150 + pin.uiYarnDepsHash = get_fod_hash(attr) 151 pin.write() 152 153
+3 -3
pkgs/servers/web-apps/livebook/default.nix
··· 1 { lib, beamPackages, makeWrapper, rebar3, elixir, erlang, fetchFromGitHub }: 2 beamPackages.mixRelease rec { 3 pname = "livebook"; 4 - version = "0.9.2"; 5 6 inherit elixir; 7 ··· 13 owner = "livebook-dev"; 14 repo = "livebook"; 15 rev = "v${version}"; 16 - hash = "sha256-khC3gtRvywgAY6qHslZgAV3kmziJgKhdCB8CDg/HkIU="; 17 }; 18 19 mixFodDeps = beamPackages.fetchMixDeps { 20 pname = "mix-deps-${pname}"; 21 inherit src version; 22 - hash = "sha256-rwWGs4fGeuyV6BBFgCyyDwKf/YLgs1wY0xnHYy8iioE="; 23 }; 24 25 installPhase = ''
··· 1 { lib, beamPackages, makeWrapper, rebar3, elixir, erlang, fetchFromGitHub }: 2 beamPackages.mixRelease rec { 3 pname = "livebook"; 4 + version = "0.10.0"; 5 6 inherit elixir; 7 ··· 13 owner = "livebook-dev"; 14 repo = "livebook"; 15 rev = "v${version}"; 16 + hash = "sha256-Bp1CEvVv5DPDDikRPubsG6p4LLiHXTEXE+ZIip3LsGA="; 17 }; 18 19 mixFodDeps = beamPackages.fetchMixDeps { 20 pname = "mix-deps-${pname}"; 21 inherit src version; 22 + hash = "sha256-qFLCWr7LzI9WNgj0AJO3Tw7rrA1JhBOEpX79RMjv2nk="; 23 }; 24 25 installPhase = ''
+1 -1
pkgs/servers/web-apps/plausible/default.nix
··· 18 owner = "plausible"; 19 repo = "analytics"; 20 rev = "v${version}"; 21 - sha256 = "1ckw5cd4z96jkjhmzjq7k3kzjj7bvj38i5xq9r43cz0sn7w3470k"; 22 }; 23 24 # TODO consider using `mix2nix` as soon as it supports git dependencies.
··· 18 owner = "plausible"; 19 repo = "analytics"; 20 rev = "v${version}"; 21 + hash = "sha256-Exwy+LEafDZITriXiIbc60j555gHy1+hnNKkTxorfLI="; 22 }; 23 24 # TODO consider using `mix2nix` as soon as it supports git dependencies.
+6 -6
pkgs/servers/web-apps/plausible/update.sh
··· 33 > $dir/package.json 34 35 tarball_meta="$(nix-prefetch-github plausible analytics --rev "$latest")" 36 - tarball_hash="$(nix to-base32 sha256-$(jq -r '.sha256' <<< "$tarball_meta"))" 37 tarball_path="$(nix-build -E 'with import ./. {}; { p }: fetchFromGitHub (builtins.fromJSON p)' --argstr p "$tarball_meta")" 38 - fake_hash="$(nix-instantiate --eval -A lib.fakeSha256 | xargs echo)" 39 40 sed -i "$dir/default.nix" \ 41 -e 's,version = ".*",version = "'"$nix_version"'",' \ 42 - -e '/^ src = fetchFromGitHub/,+4{;s/sha256 = "\(.*\)"/sha256 = "'"$tarball_hash"'"/}' \ 43 - -e '/^ mixFodDeps =/,+3{;s/sha256 = "\(.*\)"/sha256 = "'"$fake_hash"'"/}' 44 45 - mix_hash="$(nix to-base32 $(nix-build -A plausible.mixFodDeps 2>&1 | tail -n3 | grep 'got:' | cut -d: -f2- | xargs echo || true))" 46 47 - sed -i "$dir/default.nix" -e '/^ mixFodDeps =/,+3{;s/sha256 = "\(.*\)"/sha256 = "'"$mix_hash"'"/}' 48 49 tmp_setup_dir="$(mktemp -d)" 50 trap "rm -rf $tmp_setup_dir" EXIT
··· 33 > $dir/package.json 34 35 tarball_meta="$(nix-prefetch-github plausible analytics --rev "$latest")" 36 + tarball_hash="$(jq -r '.hash' <<< "$tarball_meta")" 37 tarball_path="$(nix-build -E 'with import ./. {}; { p }: fetchFromGitHub (builtins.fromJSON p)' --argstr p "$tarball_meta")" 38 + fake_hash="$(nix-instantiate --eval -A lib.fakeHash | xargs echo)" 39 40 sed -i "$dir/default.nix" \ 41 -e 's,version = ".*",version = "'"$nix_version"'",' \ 42 + -e '/^ src = fetchFromGitHub/,+4{;s#hash = "\(.*\)"#hash = "'"$tarball_hash"'"#}' \ 43 + -e '/^ mixFodDeps =/,+3{;s#hash = "\(.*\)"#hash = "'"$fake_hash"'"#}' 44 45 + mix_hash="$(nix-build -A plausible.mixFodDeps 2>&1 | tail -n3 | grep 'got:' | cut -d: -f2- | xargs echo || true)" 46 47 + sed -i "$dir/default.nix" -e '/^ mixFodDeps =/,+3{;s#hash = "\(.*\)"#hash = "'"$mix_hash"'"#}' 48 49 tmp_setup_dir="$(mktemp -d)" 50 trap "rm -rf $tmp_setup_dir" EXIT
+3 -3
pkgs/tools/admin/syft/default.nix
··· 2 3 buildGoModule rec { 4 pname = "syft"; 5 - version = "0.84.1"; 6 7 src = fetchFromGitHub { 8 owner = "anchore"; 9 repo = pname; 10 rev = "v${version}"; 11 - hash = "sha256-3BQuFEQhzX4TnPiNdbIatuvuXZVDBGQUyJ7+2d5rIRU="; 12 # populate values that require us to use git. By doing this in postFetch we 13 # can delete .git afterwards and maintain better reproducibility of the src. 14 leaveDotGit = true; ··· 22 }; 23 # hash mismatch with darwin 24 proxyVendor = true; 25 - vendorHash = "sha256-/95AL+BlvtQkwlnbHBGx1rTU3VYHIdw1bqGxwBsLMcA="; 26 27 nativeBuildInputs = [ installShellFiles ]; 28
··· 2 3 buildGoModule rec { 4 pname = "syft"; 5 + version = "0.85.0"; 6 7 src = fetchFromGitHub { 8 owner = "anchore"; 9 repo = pname; 10 rev = "v${version}"; 11 + hash = "sha256-TNo5WNSy0ogv0hn+O7VL7DCMaDtwhs1UNbTt5K7/40U="; 12 # populate values that require us to use git. By doing this in postFetch we 13 # can delete .git afterwards and maintain better reproducibility of the src. 14 leaveDotGit = true; ··· 22 }; 23 # hash mismatch with darwin 24 proxyVendor = true; 25 + vendorHash = "sha256-OVCM7WAyKVpd7VNV4wmfAoMJWurEhTBPQsln34oS5U8="; 26 27 nativeBuildInputs = [ installShellFiles ]; 28
+1 -1
pkgs/tools/inputmethods/fcitx5/update.py
··· 1 #!/usr/bin/env nix-shell 2 - #!nix-shell -i python3 -p nix-update nix-prefetch-github python3Packages.requests 3 4 from nix_prefetch_github import * 5 import requests
··· 1 #!/usr/bin/env nix-shell 2 + #!nix-shell -i python3 -p nix-update python3Packages.requests 3 4 from nix_prefetch_github import * 5 import requests
+2
pkgs/tools/package-management/pacman/default.nix
··· 106 "--localstatedir=/var" 107 ]; 108 109 postInstall = '' 110 installShellCompletion --bash scripts/pacman --zsh scripts/_pacman 111 wrapProgram $out/bin/makepkg \
··· 106 "--localstatedir=/var" 107 ]; 108 109 + hardeningDisable = [ "fortify3" ]; 110 + 111 postInstall = '' 112 installShellCompletion --bash scripts/pacman --zsh scripts/_pacman 113 wrapProgram $out/bin/makepkg \
+1 -1
pkgs/tools/security/age-plugin-tpm/default.nix
··· 32 ]; 33 34 meta = with lib; { 35 - description = "TPM 2.0 plugin for age"; 36 homepage = "https://github.com/Foxboron/age-plugin-tpm"; 37 license = licenses.mit; 38 platforms = platforms.linux;
··· 32 ]; 33 34 meta = with lib; { 35 + description = "TPM 2.0 plugin for age (This software is experimental, use it at your own risk)"; 36 homepage = "https://github.com/Foxboron/age-plugin-tpm"; 37 license = licenses.mit; 38 platforms = platforms.linux;
+2 -2
pkgs/tools/text/goawk/default.nix
··· 2 3 buildGoModule rec { 4 pname = "goawk"; 5 - version = "1.23.3"; 6 7 src = fetchFromGitHub { 8 owner = "benhoyt"; 9 repo = "goawk"; 10 rev = "v${version}"; 11 - hash = "sha256-E7oxi0rwVCzA/pBJ9SS6t+zR+J+dF7SW+oP+vXXN2FQ="; 12 }; 13 14 vendorHash = null;
··· 2 3 buildGoModule rec { 4 pname = "goawk"; 5 + version = "1.24.0"; 6 7 src = fetchFromGitHub { 8 owner = "benhoyt"; 9 repo = "goawk"; 10 rev = "v${version}"; 11 + hash = "sha256-pce7g0MI23244t5ZK4UDOfQNt1m3tRpCahne0s+NRRE="; 12 }; 13 14 vendorHash = null;
+23
pkgs/tools/wayland/hyprland-per-window-layout/default.nix
···
··· 1 + { lib, fetchFromGitHub, rustPlatform }: 2 + 3 + rustPlatform.buildRustPackage rec { 4 + pname = "hyprland-per-window-layout"; 5 + version = "2.3"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "coffebar"; 9 + repo = pname; 10 + rev = version; 11 + hash = "sha256-eqhGX9rjvOHh6RuWj5dqWPKlFdTnZpAcDUuJbT3Z/E8="; 12 + }; 13 + 14 + cargoHash = "sha256-AUkBTHShtY3ZJ8pxCuW9baVuxb2QxzXxJQMgbuVTlPY="; 15 + 16 + meta = with lib; { 17 + description = "Per window keyboard layout (language) for Hyprland wayland compositor"; 18 + homepage = "https://github.com/coffebar/hyprland-per-window-layout"; 19 + license = licenses.mit; 20 + maintainers = [ maintainers.azazak123 ]; 21 + platforms = platforms.linux; 22 + }; 23 + }
+15 -3
pkgs/top-level/all-packages.nix
··· 481 482 colemak-dh = callPackage ../data/misc/colemak-dh { }; 483 484 colmena = callPackage ../tools/admin/colmena { }; 485 486 colorz = callPackage ../tools/misc/colorz { }; ··· 2642 (builtins.attrValues libretro); 2643 }; 2644 2645 - wrapRetroArch = { retroarch }: 2646 callPackage ../applications/emulators/retroarch/wrapper.nix 2647 - { inherit retroarch; }; 2648 2649 retroarch = wrapRetroArch { 2650 retroarch = retroarchBare.override { 2651 withAssets = true; 2652 withCoreInfo = true; 2653 }; 2654 }; 2655 2656 retroarch-assets = callPackage ../applications/emulators/retroarch/retroarch-assets.nix { }; 2657 2658 libretranslate = with python3.pkgs; toPythonApplication libretranslate; 2659 2660 libretro = recurseIntoAttrs ··· 5423 wlroots = pkgs.callPackage ../applications/window-managers/hyprwm/hyprland/wlroots.nix { }; 5424 udis86 = pkgs.callPackage ../applications/window-managers/hyprwm/hyprland/udis86.nix { }; 5425 }; 5426 5427 hyprland-protocols = callPackage ../applications/window-managers/hyprwm/hyprland-protocols { }; 5428 ··· 9886 9887 notesnook = callPackage ../applications/misc/notesnook { }; 9888 9889 openipmi = callPackage ../tools/system/openipmi { }; 9890 9891 ox = callPackage ../applications/editors/ox { }; ··· 16456 inherit (ocamlPackages) 16457 ocamlformat # latest version 16458 ocamlformat_0_19_0 ocamlformat_0_20_0 ocamlformat_0_20_1 ocamlformat_0_21_0 16459 - ocamlformat_0_22_4 ocamlformat_0_23_0 ocamlformat_0_24_1 ocamlformat_0_25_1; 16460 16461 orc = callPackage ../development/compilers/orc { }; 16462
··· 481 482 colemak-dh = callPackage ../data/misc/colemak-dh { }; 483 484 + collision = callPackage ../applications/misc/collision { }; 485 + 486 colmena = callPackage ../tools/admin/colmena { }; 487 488 colorz = callPackage ../tools/misc/colorz { }; ··· 2644 (builtins.attrValues libretro); 2645 }; 2646 2647 + wrapRetroArch = { retroarch, settings ? {} }: 2648 callPackage ../applications/emulators/retroarch/wrapper.nix 2649 + { inherit retroarch settings; }; 2650 2651 retroarch = wrapRetroArch { 2652 retroarch = retroarchBare.override { 2653 withAssets = true; 2654 withCoreInfo = true; 2655 + }; 2656 + settings = { 2657 + joypad_autoconfig_dir = "${retroarch-joypad-autoconfig}/share/libretro/autoconfig"; 2658 }; 2659 }; 2660 2661 retroarch-assets = callPackage ../applications/emulators/retroarch/retroarch-assets.nix { }; 2662 2663 + retroarch-joypad-autoconfig = callPackage ../applications/emulators/retroarch/retroarch-joypad-autoconfig.nix { }; 2664 + 2665 libretranslate = with python3.pkgs; toPythonApplication libretranslate; 2666 2667 libretro = recurseIntoAttrs ··· 5430 wlroots = pkgs.callPackage ../applications/window-managers/hyprwm/hyprland/wlroots.nix { }; 5431 udis86 = pkgs.callPackage ../applications/window-managers/hyprwm/hyprland/udis86.nix { }; 5432 }; 5433 + 5434 + hyprland-per-window-layout = callPackage ../tools/wayland/hyprland-per-window-layout { }; 5435 5436 hyprland-protocols = callPackage ../applications/window-managers/hyprwm/hyprland-protocols { }; 5437 ··· 9895 9896 notesnook = callPackage ../applications/misc/notesnook { }; 9897 9898 + oddjob = callPackage ../os-specific/linux/oddjob { }; 9899 + 9900 openipmi = callPackage ../tools/system/openipmi { }; 9901 9902 ox = callPackage ../applications/editors/ox { }; ··· 16467 inherit (ocamlPackages) 16468 ocamlformat # latest version 16469 ocamlformat_0_19_0 ocamlformat_0_20_0 ocamlformat_0_20_1 ocamlformat_0_21_0 16470 + ocamlformat_0_22_4 ocamlformat_0_23_0 ocamlformat_0_24_1 ocamlformat_0_25_1 16471 + ocamlformat_0_26_0; 16472 16473 orc = callPackage ../development/compilers/orc { }; 16474
+1
pkgs/top-level/ocaml-packages.nix
··· 1181 ocamlformat_0_23_0 = ocamlformat.override { version = "0.23.0"; }; 1182 ocamlformat_0_24_1 = ocamlformat.override { version = "0.24.1"; }; 1183 ocamlformat_0_25_1 = ocamlformat.override { version = "0.25.1"; }; 1184 1185 ocamlformat = callPackage ../development/ocaml-modules/ocamlformat/ocamlformat.nix {}; 1186
··· 1181 ocamlformat_0_23_0 = ocamlformat.override { version = "0.23.0"; }; 1182 ocamlformat_0_24_1 = ocamlformat.override { version = "0.24.1"; }; 1183 ocamlformat_0_25_1 = ocamlformat.override { version = "0.25.1"; }; 1184 + ocamlformat_0_26_0 = ocamlformat.override { version = "0.26.0"; }; 1185 1186 ocamlformat = callPackage ../development/ocaml-modules/ocamlformat/ocamlformat.nix {}; 1187
+12
pkgs/top-level/python-packages.nix
··· 1269 1270 bcdoc = callPackage ../development/python-modules/bcdoc { }; 1271 1272 bcrypt = if stdenv.hostPlatform.system == "i686-linux" then 1273 callPackage ../development/python-modules/bcrypt/3.nix { } 1274 else ··· 7138 7139 python-nvd3 = callPackage ../development/python-modules/python-nvd3 { }; 7140 7141 py-deprecate = callPackage ../development/python-modules/py-deprecate { }; 7142 7143 py-ecc = callPackage ../development/python-modules/py-ecc { }; 7144 7145 py-eth-sig-utils = callPackage ../development/python-modules/py-eth-sig-utils { }; 7146 7147 nwdiag = callPackage ../development/python-modules/nwdiag { }; 7148 ··· 7751 pkgutil-resolve-name = callPackage ../development/python-modules/pkgutil-resolve-name { }; 7752 7753 micloud = callPackage ../development/python-modules/micloud { }; 7754 7755 msgraph-core = callPackage ../development/python-modules/msgraph-core { }; 7756
··· 1269 1270 bcdoc = callPackage ../development/python-modules/bcdoc { }; 1271 1272 + bcf = callPackage ../development/python-modules/bcf { }; 1273 + 1274 + bcg = callPackage ../development/python-modules/bcg { }; 1275 + 1276 + bch = callPackage ../development/python-modules/bch { }; 1277 + 1278 bcrypt = if stdenv.hostPlatform.system == "i686-linux" then 1279 callPackage ../development/python-modules/bcrypt/3.nix { } 1280 else ··· 7144 7145 python-nvd3 = callPackage ../development/python-modules/python-nvd3 { }; 7146 7147 + python-youtube = callPackage ../development/python-modules/python-youtube { }; 7148 + 7149 py-deprecate = callPackage ../development/python-modules/py-deprecate { }; 7150 7151 py-ecc = callPackage ../development/python-modules/py-ecc { }; 7152 7153 py-eth-sig-utils = callPackage ../development/python-modules/py-eth-sig-utils { }; 7154 + 7155 + py-expression-eval = callPackage ../development/python-modules/py-expression-eval { }; 7156 7157 nwdiag = callPackage ../development/python-modules/nwdiag { }; 7158 ··· 7761 pkgutil-resolve-name = callPackage ../development/python-modules/pkgutil-resolve-name { }; 7762 7763 micloud = callPackage ../development/python-modules/micloud { }; 7764 + 7765 + mqtt2influxdb = callPackage ../development/python-modules/mqtt2influxdb { }; 7766 7767 msgraph-core = callPackage ../development/python-modules/msgraph-core { }; 7768