Merge master into staging-next

authored by

github-actions[bot] and committed by
GitHub
e1394695 c7aba64b

+1096 -486
+3
.github/CODEOWNERS
··· 51 52 # pkgs/by-name 53 /pkgs/test/nixpkgs-check-by-name @infinisil 54 55 # Nixpkgs build-support 56 /pkgs/build-support/writers @lassulus @Profpatsch
··· 51 52 # pkgs/by-name 53 /pkgs/test/nixpkgs-check-by-name @infinisil 54 + /pkgs/by-name/README.md @infinisil 55 + /pkgs/top-level/by-name-overlay.nix @infinisil 56 + /.github/workflows/check-by-name.nix @infinisil 57 58 # Nixpkgs build-support 59 /pkgs/build-support/writers @lassulus @Profpatsch
+49
.github/workflows/check-by-name.yml
···
··· 1 + # Checks pkgs/by-name (see pkgs/by-name/README.md) 2 + # using the nixpkgs-check-by-name tool (see pkgs/test/nixpkgs-check-by-name) 3 + name: Check pkgs/by-name 4 + 5 + # The pre-built tool is fetched from a channel, 6 + # making it work predictable on all PRs 7 + on: pull_request 8 + 9 + # The tool doesn't need any permissions, it only outputs success or not based on the checkout 10 + permissions: {} 11 + 12 + jobs: 13 + check: 14 + # This is x86_64-linux, for which the tool is always prebuilt on the nixos-* channels, 15 + # as specified in nixos/release-combined.nix 16 + runs-on: ubuntu-latest 17 + steps: 18 + - uses: actions/checkout@v3 19 + - uses: cachix/install-nix-action@v22 20 + - name: Determining channel to use for dependencies 21 + run: | 22 + echo "Determining which channel to use for PR base branch $GITHUB_BASE_REF" 23 + if [[ "$GITHUB_BASE_REF" =~ ^(release|staging|staging-next)-([0-9][0-9]\.[0-9][0-9])$ ]]; then 24 + # Use the release channel for all PRs to release-XX.YY, staging-XX.YY and staging-next-XX.YY 25 + channel=nixos-${BASH_REMATCH[2]} 26 + echo "PR is for a release branch, using release channel $channel" 27 + else 28 + # Use the nixos-unstable channel for all other PRs 29 + channel=nixos-unstable 30 + echo "PR is for a non-release branch, using unstable channel $channel" 31 + fi 32 + echo "channel=$channel" >> "$GITHUB_ENV" 33 + - name: Fetching latest version of channel 34 + run: | 35 + echo "Fetching latest version of channel $channel" 36 + # This is probably the easiest way to get Nix to output the path to a downloaded channel! 37 + nixpkgs=$(nix-instantiate --find-file nixpkgs -I nixpkgs=channel:"$channel") 38 + # This file only exists in channels 39 + rev=$(<"$nixpkgs"/.git-revision) 40 + echo "Channel $channel is at revision $rev" 41 + echo "nixpkgs=$nixpkgs" >> "$GITHUB_ENV" 42 + echo "rev=$rev" >> "$GITHUB_ENV" 43 + - name: Fetching pre-built nixpkgs-check-by-name from the channel 44 + run: | 45 + echo "Fetching pre-built nixpkgs-check-by-name from channel $channel at revision $rev" 46 + # Passing --max-jobs 0 makes sure that we won't build anything 47 + nix-build "$nixpkgs" -A tests.nixpkgs-check-by-name --max-jobs 0 48 + - name: Running nixpkgs-check-by-name 49 + run: result/bin/nixpkgs-check-by-name .
+6
maintainers/maintainer-list.nix
··· 12885 githubId = 915970; 12886 name = "Austin Platt"; 12887 }; 12888 ony = { 12889 name = "Mykola Orliuk"; 12890 email = "virkony@gmail.com";
··· 12885 githubId = 915970; 12886 name = "Austin Platt"; 12887 }; 12888 + onur-ozkan = { 12889 + name = "Onur Ozkan"; 12890 + email = "contact@onurozkan.dev"; 12891 + github = "onur-ozkan"; 12892 + githubId = 39852038; 12893 + }; 12894 ony = { 12895 name = "Mykola Orliuk"; 12896 email = "virkony@gmail.com";
+100 -27
nixos/modules/virtualisation/lxd.nix
··· 2 3 { config, lib, pkgs, ... }: 4 5 - with lib; 6 - 7 let 8 cfg = config.virtualisation.lxd; 9 in { 10 imports = [ 11 - (mkRemovedOptionModule [ "virtualisation" "lxd" "zfsPackage" ] "Override zfs in an overlay instead to override it globally") 12 ]; 13 14 ###### interface 15 16 options = { 17 virtualisation.lxd = { 18 - enable = mkOption { 19 - type = types.bool; 20 default = false; 21 description = lib.mdDoc '' 22 This option enables lxd, a daemon that manages ··· 32 ''; 33 }; 34 35 - package = mkOption { 36 - type = types.package; 37 default = pkgs.lxd; 38 - defaultText = literalExpression "pkgs.lxd"; 39 description = lib.mdDoc '' 40 The LXD package to use. 41 ''; 42 }; 43 44 - lxcPackage = mkOption { 45 - type = types.package; 46 default = pkgs.lxc; 47 - defaultText = literalExpression "pkgs.lxc"; 48 description = lib.mdDoc '' 49 The LXC package to use with LXD (required for AppArmor profiles). 50 ''; 51 }; 52 53 - zfsSupport = mkOption { 54 - type = types.bool; 55 default = config.boot.zfs.enabled; 56 - defaultText = literalExpression "config.boot.zfs.enabled"; 57 description = lib.mdDoc '' 58 Enables lxd to use zfs as a storage for containers. 59 ··· 62 ''; 63 }; 64 65 - recommendedSysctlSettings = mkOption { 66 - type = types.bool; 67 default = false; 68 description = lib.mdDoc '' 69 Enables various settings to avoid common pitfalls when ··· 75 ''; 76 }; 77 78 - startTimeout = mkOption { 79 - type = types.int; 80 default = 600; 81 apply = toString; 82 description = lib.mdDoc '' ··· 91 Enables the (experimental) LXD UI. 92 ''); 93 94 - package = mkPackageOption pkgs.lxd-unwrapped "ui" { }; 95 }; 96 }; 97 }; 98 99 ###### implementation 100 - config = mkIf cfg.enable { 101 environment.systemPackages = [ cfg.package ]; 102 103 # Note: the following options are also declared in virtualisation.lxc, but ··· 139 wantedBy = [ "multi-user.target" ]; 140 after = [ 141 "network-online.target" 142 - (mkIf config.virtualisation.lxc.lxcfs.enable "lxcfs.service") 143 ]; 144 requires = [ 145 "network-online.target" 146 "lxd.socket" 147 - (mkIf config.virtualisation.lxc.lxcfs.enable "lxcfs.service") 148 ]; 149 documentation = [ "man:lxd(1)" ]; 150 151 path = [ pkgs.util-linux ] 152 - ++ optional cfg.zfsSupport config.boot.zfs.package; 153 154 - environment = mkIf (cfg.ui.enable) { 155 "LXD_UI" = cfg.ui.package; 156 }; 157 ··· 173 # By default, `lxd` loads configuration files from hard-coded 174 # `/usr/share/lxc/config` - since this is a no-go for us, we have to 175 # explicitly tell it where the actual configuration files are 176 - Environment = mkIf (config.virtualisation.lxc.lxcfs.enable) 177 "LXD_LXC_TEMPLATE_CONFIG=${pkgs.lxcfs}/share/lxc/config"; 178 }; 179 }; 180 181 users.groups.lxd = {}; 182 183 users.users.root = { ··· 185 subGidRanges = [ { startGid = 1000000; count = 65536; } ]; 186 }; 187 188 - boot.kernel.sysctl = mkIf cfg.recommendedSysctlSettings { 189 "fs.inotify.max_queued_events" = 1048576; 190 "fs.inotify.max_user_instances" = 1048576; 191 "fs.inotify.max_user_watches" = 1048576; ··· 197 }; 198 199 boot.kernelModules = [ "veth" "xt_comment" "xt_CHECKSUM" "xt_MASQUERADE" "vhost_vsock" ] 200 - ++ optionals (!config.networking.nftables.enable) [ "iptable_mangle" ]; 201 }; 202 }
··· 2 3 { config, lib, pkgs, ... }: 4 5 let 6 cfg = config.virtualisation.lxd; 7 + preseedFormat = pkgs.formats.yaml {}; 8 in { 9 imports = [ 10 + (lib.mkRemovedOptionModule [ "virtualisation" "lxd" "zfsPackage" ] "Override zfs in an overlay instead to override it globally") 11 ]; 12 13 ###### interface 14 15 options = { 16 virtualisation.lxd = { 17 + enable = lib.mkOption { 18 + type = lib.types.bool; 19 default = false; 20 description = lib.mdDoc '' 21 This option enables lxd, a daemon that manages ··· 31 ''; 32 }; 33 34 + package = lib.mkOption { 35 + type = lib.types.package; 36 default = pkgs.lxd; 37 + defaultText = lib.literalExpression "pkgs.lxd"; 38 description = lib.mdDoc '' 39 The LXD package to use. 40 ''; 41 }; 42 43 + lxcPackage = lib.mkOption { 44 + type = lib.types.package; 45 default = pkgs.lxc; 46 + defaultText = lib.literalExpression "pkgs.lxc"; 47 description = lib.mdDoc '' 48 The LXC package to use with LXD (required for AppArmor profiles). 49 ''; 50 }; 51 52 + zfsSupport = lib.mkOption { 53 + type = lib.types.bool; 54 default = config.boot.zfs.enabled; 55 + defaultText = lib.literalExpression "config.boot.zfs.enabled"; 56 description = lib.mdDoc '' 57 Enables lxd to use zfs as a storage for containers. 58 ··· 61 ''; 62 }; 63 64 + recommendedSysctlSettings = lib.mkOption { 65 + type = lib.types.bool; 66 default = false; 67 description = lib.mdDoc '' 68 Enables various settings to avoid common pitfalls when ··· 74 ''; 75 }; 76 77 + preseed = lib.mkOption { 78 + type = lib.types.nullOr (lib.types.submodule { 79 + freeformType = preseedFormat.type; 80 + }); 81 + 82 + default = null; 83 + 84 + description = lib.mdDoc '' 85 + Configuration for LXD preseed, see 86 + <https://documentation.ubuntu.com/lxd/en/latest/howto/initialize/#initialize-preseed> 87 + for supported values. 88 + 89 + Changes to this will be re-applied to LXD which will overwrite existing entities or create missing ones, 90 + but entities will *not* be removed by preseed. 91 + ''; 92 + 93 + example = lib.literalExpression '' 94 + { 95 + networks = [ 96 + { 97 + name = "lxdbr0"; 98 + type = "bridge"; 99 + config = { 100 + "ipv4.address" = "10.0.100.1/24"; 101 + "ipv4.nat" = "true"; 102 + }; 103 + } 104 + ]; 105 + profiles = [ 106 + { 107 + name = "default"; 108 + devices = { 109 + eth0 = { 110 + name = "eth0"; 111 + network = "lxdbr0"; 112 + type = "nic"; 113 + }; 114 + root = { 115 + path = "/"; 116 + pool = "default"; 117 + size = "35GiB"; 118 + type = "disk"; 119 + }; 120 + }; 121 + } 122 + ]; 123 + storage_pools = [ 124 + { 125 + name = "default"; 126 + driver = "dir"; 127 + config = { 128 + source = "/var/lib/lxd/storage-pools/default"; 129 + }; 130 + } 131 + ]; 132 + } 133 + ''; 134 + }; 135 + 136 + startTimeout = lib.mkOption { 137 + type = lib.types.int; 138 default = 600; 139 apply = toString; 140 description = lib.mdDoc '' ··· 149 Enables the (experimental) LXD UI. 150 ''); 151 152 + package = lib.mkPackageOption pkgs.lxd-unwrapped "ui" { }; 153 }; 154 }; 155 }; 156 157 ###### implementation 158 + config = lib.mkIf cfg.enable { 159 environment.systemPackages = [ cfg.package ]; 160 161 # Note: the following options are also declared in virtualisation.lxc, but ··· 197 wantedBy = [ "multi-user.target" ]; 198 after = [ 199 "network-online.target" 200 + (lib.mkIf config.virtualisation.lxc.lxcfs.enable "lxcfs.service") 201 ]; 202 requires = [ 203 "network-online.target" 204 "lxd.socket" 205 + (lib.mkIf config.virtualisation.lxc.lxcfs.enable "lxcfs.service") 206 ]; 207 documentation = [ "man:lxd(1)" ]; 208 209 path = [ pkgs.util-linux ] 210 + ++ lib.optional cfg.zfsSupport config.boot.zfs.package; 211 212 + environment = lib.mkIf (cfg.ui.enable) { 213 "LXD_UI" = cfg.ui.package; 214 }; 215 ··· 231 # By default, `lxd` loads configuration files from hard-coded 232 # `/usr/share/lxc/config` - since this is a no-go for us, we have to 233 # explicitly tell it where the actual configuration files are 234 + Environment = lib.mkIf (config.virtualisation.lxc.lxcfs.enable) 235 "LXD_LXC_TEMPLATE_CONFIG=${pkgs.lxcfs}/share/lxc/config"; 236 }; 237 }; 238 239 + systemd.services.lxd-preseed = lib.mkIf (cfg.preseed != null) { 240 + description = "LXD initialization with preseed file"; 241 + wantedBy = ["multi-user.target"]; 242 + requires = ["lxd.service"]; 243 + after = ["lxd.service"]; 244 + 245 + script = '' 246 + ${pkgs.coreutils}/bin/cat ${preseedFormat.generate "lxd-preseed.yaml" cfg.preseed} | ${cfg.package}/bin/lxd init --preseed 247 + ''; 248 + 249 + serviceConfig = { 250 + Type = "oneshot"; 251 + }; 252 + }; 253 + 254 users.groups.lxd = {}; 255 256 users.users.root = { ··· 258 subGidRanges = [ { startGid = 1000000; count = 65536; } ]; 259 }; 260 261 + boot.kernel.sysctl = lib.mkIf cfg.recommendedSysctlSettings { 262 "fs.inotify.max_queued_events" = 1048576; 263 "fs.inotify.max_user_instances" = 1048576; 264 "fs.inotify.max_user_watches" = 1048576; ··· 270 }; 271 272 boot.kernelModules = [ "veth" "xt_comment" "xt_CHECKSUM" "xt_MASQUERADE" "vhost_vsock" ] 273 + ++ lib.optionals (!config.networking.nftables.enable) [ "iptable_mangle" ]; 274 }; 275 }
+1 -1
nixos/tests/all-tests.nix
··· 446 loki = handleTest ./loki.nix {}; 447 luks = handleTest ./luks.nix {}; 448 lvm2 = handleTest ./lvm2 {}; 449 - lxd = pkgs.recurseIntoAttrs (handleTest ./lxd {}); 450 lxd-image-server = handleTest ./lxd-image-server.nix {}; 451 #logstash = handleTest ./logstash.nix {}; 452 lorri = handleTest ./lorri/default.nix {};
··· 446 loki = handleTest ./loki.nix {}; 447 luks = handleTest ./luks.nix {}; 448 lvm2 = handleTest ./lvm2 {}; 449 + lxd = pkgs.recurseIntoAttrs (handleTest ./lxd { inherit handleTestOn; }); 450 lxd-image-server = handleTest ./lxd-image-server.nix {}; 451 #logstash = handleTest ./logstash.nix {}; 452 lorri = handleTest ./lorri/default.nix {};
+3
nixos/tests/lxd/container.nix
··· 49 # Wait for lxd to settle 50 machine.succeed("lxd waitready") 51 52 machine.succeed("lxd init --minimal") 53 54 machine.succeed(
··· 49 # Wait for lxd to settle 50 machine.succeed("lxd waitready") 51 52 + # no preseed should mean no service 53 + machine.fail("systemctl status lxd-preseed.service") 54 + 55 machine.succeed("lxd init --minimal") 56 57 machine.succeed(
+3 -1
nixos/tests/lxd/default.nix
··· 2 system ? builtins.currentSystem, 3 config ? {}, 4 pkgs ? import ../../.. {inherit system config;}, 5 }: { 6 container = import ./container.nix {inherit system pkgs;}; 7 nftables = import ./nftables.nix {inherit system pkgs;}; 8 ui = import ./ui.nix {inherit system pkgs;}; 9 - virtual-machine = import ./virtual-machine.nix { inherit system pkgs; }; 10 }
··· 2 system ? builtins.currentSystem, 3 config ? {}, 4 pkgs ? import ../../.. {inherit system config;}, 5 + handleTestOn, 6 }: { 7 container = import ./container.nix {inherit system pkgs;}; 8 nftables = import ./nftables.nix {inherit system pkgs;}; 9 + preseed = import ./preseed.nix {inherit system pkgs;}; 10 ui = import ./ui.nix {inherit system pkgs;}; 11 + virtual-machine = handleTestOn ["x86_64-linux"] ./virtual-machine.nix { inherit system pkgs; }; 12 }
+71
nixos/tests/lxd/preseed.nix
···
··· 1 + import ../make-test-python.nix ({ pkgs, lib, ... } : 2 + 3 + { 4 + name = "lxd-preseed"; 5 + 6 + meta = { 7 + maintainers = with lib.maintainers; [ adamcstephens ]; 8 + }; 9 + 10 + nodes.machine = { lib, ... }: { 11 + virtualisation = { 12 + diskSize = 4096; 13 + 14 + lxc.lxcfs.enable = true; 15 + lxd.enable = true; 16 + 17 + lxd.preseed = { 18 + networks = [ 19 + { 20 + name = "nixostestbr0"; 21 + type = "bridge"; 22 + config = { 23 + "ipv4.address" = "10.0.100.1/24"; 24 + "ipv4.nat" = "true"; 25 + }; 26 + } 27 + ]; 28 + profiles = [ 29 + { 30 + name = "nixostest_default"; 31 + devices = { 32 + eth0 = { 33 + name = "eth0"; 34 + network = "nixostestbr0"; 35 + type = "nic"; 36 + }; 37 + root = { 38 + path = "/"; 39 + pool = "default"; 40 + size = "35GiB"; 41 + type = "disk"; 42 + }; 43 + }; 44 + } 45 + ]; 46 + storage_pools = [ 47 + { 48 + name = "nixostest_pool"; 49 + driver = "dir"; 50 + } 51 + ]; 52 + }; 53 + }; 54 + }; 55 + 56 + testScript = '' 57 + def wait_for_preseed(_) -> bool: 58 + _, output = machine.systemctl("is-active lxd-preseed.service") 59 + return ("inactive" in output) 60 + 61 + machine.wait_for_unit("sockets.target") 62 + machine.wait_for_unit("lxd.service") 63 + with machine.nested("Waiting for preseed to complete"): 64 + retry(wait_for_preseed) 65 + 66 + with subtest("Verify preseed resources created"): 67 + machine.succeed("lxc profile show nixostest_default") 68 + machine.succeed("lxc network info nixostestbr0") 69 + machine.succeed("lxc storage show nixostest_pool") 70 + ''; 71 + })
+28 -20
pkgs/README.md
··· 7 8 - [`top-level`](./top-level): Entrypoints, package set aggregations 9 - [`impure.nix`](./top-level/impure.nix), [`default.nix`](./top-level/default.nix), [`config.nix`](./top-level/config.nix): Definitions for the evaluation entry point of `import <nixpkgs>` 10 - - [`stage.nix`](./top-level/stage.nix), [`all-packages.nix`](./top-level/all-packages.nix), [`splice.nix`](./top-level/splice.nix): Definitions for the top-level attribute set made available through `import <nixpkgs> {…}` 11 - `*-packages.nix`, [`linux-kernels.nix`](./top-level/linux-kernels.nix), [`unixtools.nix`](./top-level/unixtools.nix): Aggregations of nested package sets defined in `development` 12 - [`aliases.nix`](./top-level/aliases.nix), [`python-aliases.nix`](./top-level/python-aliases.nix): Aliases for package definitions that have been renamed or removed 13 - `release*.nix`, [`make-tarball.nix`](./top-level/make-tarball.nix), [`packages-config.nix`](./top-level/packages-config.nix), [`metrics.nix`](./top-level/metrics.nix), [`nixpkgs-basic-release-checks.nix`](./top-level/nixpkgs-basic-release-checks.nix): Entry-points and utilities used by Hydra for continuous integration ··· 19 - [`stdenv`](./stdenv): [Standard environment](https://nixos.org/manual/nixpkgs/stable/#part-stdenv) 20 - [`pkgs-lib`](./pkgs-lib): Definitions for utilities that need packages but are not needed for packages 21 - [`test`](./test): Tests not directly associated with any specific packages 22 - All other directories loosely categorise top-level packages definitions, see [category hierarchy][categories] 23 24 ## Quick Start to Adding a Package ··· 49 $ cd nixpkgs 50 ``` 51 52 - 2. Find a good place in the Nixpkgs tree to add the Nix expression for your package. For instance, a library package typically goes into `pkgs/development/libraries/pkgname`, while a web browser goes into `pkgs/applications/networking/browsers/pkgname`. See the [category hierarchy section][categories] for some hints on the tree organisation. Create a directory for your package, e.g. 53 54 ```ShellSession 55 - $ mkdir pkgs/development/libraries/libfoo 56 ``` 57 58 - 3. In the package directory, create a Nix expression — a piece of code that describes how to build the package. In this case, it should be a _function_ that is called with the package dependencies as arguments, and returns a build of the package in the Nix store. The expression should usually be called `default.nix`. 59 60 ```ShellSession 61 - $ emacs pkgs/development/libraries/libfoo/default.nix 62 - $ git add pkgs/development/libraries/libfoo/default.nix 63 ``` 64 65 - You can have a look at the existing Nix expressions under `pkgs/` to see how it’s done. Here are some good ones: 66 67 - - GNU Hello: [`pkgs/applications/misc/hello/default.nix`](applications/misc/hello/default.nix). Trivial package, which specifies some `meta` attributes which is good practice. 68 69 - GNU cpio: [`pkgs/tools/archivers/cpio/default.nix`](tools/archivers/cpio/default.nix). Also a simple package. The generic builder in `stdenv` does everything for you. It has no dependencies beyond `stdenv`. 70 ··· 94 95 The exact syntax and semantics of the Nix expression language, including the built-in function, are [described in the Nix manual](https://nixos.org/manual/nix/stable/language/). 96 97 - 4. Add a call to the function defined in the previous step to [`pkgs/top-level/all-packages.nix`](top-level/all-packages.nix) with some descriptive name for the variable, e.g. `libfoo`. 98 - 99 - ```ShellSession 100 - $ emacs pkgs/top-level/all-packages.nix 101 - ``` 102 - 103 - The attributes in that file are sorted by category (like “Development / Libraries”) that more-or-less correspond to the directory structure of Nixpkgs, and then by attribute name. 104 - 105 5. To test whether the package builds, run the following command from the root of the nixpkgs source tree: 106 107 ```ShellSession 108 - $ nix-build -A libfoo 109 ``` 110 111 - where `libfoo` should be the variable name defined in the previous step. You may want to add the flag `-K` to keep the temporary build directory in case something fails. If the build succeeds, a symlink `./result` to the package in the Nix store is created. 112 113 6. If you want to install the package into your profile (optional), do 114 ··· 121 ## Category Hierarchy 122 [categories]: #category-hierarchy 123 124 - Each package should be stored in its own directory somewhere in the `pkgs/` tree, i.e. in `pkgs/category/subcategory/.../pkgname`. Below are some rules for picking the right category for a package. Many packages fall under several categories; what matters is the _primary_ purpose of a package. For example, the `libxml2` package builds both a library and some tools; but it’s a library foremost, so it goes under `pkgs/development/libraries`. 125 126 - When in doubt, consider refactoring the `pkgs/` tree, e.g. creating new categories or splitting up an existing category. 127 128 **If it’s used to support _software development_:** 129 ··· 298 **Else:** 299 300 - `misc` 301 302 # Conventions 303
··· 7 8 - [`top-level`](./top-level): Entrypoints, package set aggregations 9 - [`impure.nix`](./top-level/impure.nix), [`default.nix`](./top-level/default.nix), [`config.nix`](./top-level/config.nix): Definitions for the evaluation entry point of `import <nixpkgs>` 10 + - [`stage.nix`](./top-level/stage.nix), [`all-packages.nix`](./top-level/all-packages.nix), [`by-name-overlay.nix`](./top-level/by-name-overlay.nix), [`splice.nix`](./top-level/splice.nix): Definitions for the top-level attribute set made available through `import <nixpkgs> {…}` 11 - `*-packages.nix`, [`linux-kernels.nix`](./top-level/linux-kernels.nix), [`unixtools.nix`](./top-level/unixtools.nix): Aggregations of nested package sets defined in `development` 12 - [`aliases.nix`](./top-level/aliases.nix), [`python-aliases.nix`](./top-level/python-aliases.nix): Aliases for package definitions that have been renamed or removed 13 - `release*.nix`, [`make-tarball.nix`](./top-level/make-tarball.nix), [`packages-config.nix`](./top-level/packages-config.nix), [`metrics.nix`](./top-level/metrics.nix), [`nixpkgs-basic-release-checks.nix`](./top-level/nixpkgs-basic-release-checks.nix): Entry-points and utilities used by Hydra for continuous integration ··· 19 - [`stdenv`](./stdenv): [Standard environment](https://nixos.org/manual/nixpkgs/stable/#part-stdenv) 20 - [`pkgs-lib`](./pkgs-lib): Definitions for utilities that need packages but are not needed for packages 21 - [`test`](./test): Tests not directly associated with any specific packages 22 + - [`by-name`](./by-name): Top-level packages organised by name ([docs](./by-name/README.md)) 23 - All other directories loosely categorise top-level packages definitions, see [category hierarchy][categories] 24 25 ## Quick Start to Adding a Package ··· 50 $ cd nixpkgs 51 ``` 52 53 + 2. Create a package directory `pkgs/by-name/so/some-package` where `some-package` is the package name and `so` is the lowercased 2-letter prefix of the package name: 54 55 ```ShellSession 56 + $ mkdir -p pkgs/by-name/so/some-package 57 ``` 58 59 + For more detailed information, see [here](./by-name/README.md). 60 + 61 + 3. Create a `package.nix` file in the package directory, containing a Nix expression — a piece of code that describes how to build the package. In this case, it should be a _function_ that is called with the package dependencies as arguments, and returns a build of the package in the Nix store. 62 63 ```ShellSession 64 + $ emacs pkgs/by-name/so/some-package/package.nix 65 + $ git add pkgs/by-name/so/some-package/package.nix 66 ``` 67 68 + You can have a look at the existing Nix expressions under `pkgs/` to see how it’s done, some of which are also using the [category hierarchy](#category-hierarchy). 69 + Here are some good ones: 70 71 + - GNU Hello: [`pkgs/by-name/he/hello/package.nix`](./by-name/he/hello/package.nix). Trivial package, which specifies some `meta` attributes which is good practice. 72 73 - GNU cpio: [`pkgs/tools/archivers/cpio/default.nix`](tools/archivers/cpio/default.nix). Also a simple package. The generic builder in `stdenv` does everything for you. It has no dependencies beyond `stdenv`. 74 ··· 98 99 The exact syntax and semantics of the Nix expression language, including the built-in function, are [described in the Nix manual](https://nixos.org/manual/nix/stable/language/). 100 101 5. To test whether the package builds, run the following command from the root of the nixpkgs source tree: 102 103 ```ShellSession 104 + $ nix-build -A some-package 105 ``` 106 107 + where `some-package` should be the package name. You may want to add the flag `-K` to keep the temporary build directory in case something fails. If the build succeeds, a symlink `./result` to the package in the Nix store is created. 108 109 6. If you want to install the package into your profile (optional), do 110 ··· 117 ## Category Hierarchy 118 [categories]: #category-hierarchy 119 120 + Most top-level packages are organised in a loosely-categorised directory hierarchy in this directory. 121 + See the [overview](#overview) for which directories are part of this. 122 + 123 + This category hierarchy is partially deprecated and will be migrated away over time. 124 + The new `pkgs/by-name` directory ([docs](./by-name/README.md)) should be preferred instead. 125 + The category hierarchy may still be used for packages that should be imported using an alternate `callPackage`, such as `python3Packages.callPackage` or `libsForQt5.callPackage`. 126 + 127 + If that is the case for a new package, here are some rules for picking the right category. 128 + Many packages fall under several categories; what matters is the _primary_ purpose of a package. 129 + For example, the `libxml2` package builds both a library and some tools; but it’s a library foremost, so it goes under `pkgs/development/libraries`. 130 131 + <details> 132 + <summary>Categories</summary> 133 134 **If it’s used to support _software development_:** 135 ··· 304 **Else:** 305 306 - `misc` 307 + 308 + </details> 309 310 # Conventions 311
+2 -2
pkgs/applications/editors/dit/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "dit"; 5 - version = "0.7"; 6 7 src = fetchurl { 8 url = "https://hisham.hm/dit/releases/${version}/${pname}-${version}.tar.gz"; 9 - sha256 = "0cmbyzqfz2qa83cg8lpjifn34wmx34c5innw485zh4vk3c0k8wlj"; 10 }; 11 12 buildInputs = [ ncurses lua ]
··· 2 3 stdenv.mkDerivation rec { 4 pname = "dit"; 5 + version = "0.9"; 6 7 src = fetchurl { 8 url = "https://hisham.hm/dit/releases/${version}/${pname}-${version}.tar.gz"; 9 + hash = "sha256-p1uD0Q2kqB40fbAEk7/fdOVg9T7SW+2aACSn7hDAD+E="; 10 }; 11 12 buildInputs = [ ncurses lua ]
+3 -3
pkgs/applications/editors/imhex/default.nix
··· 22 }: 23 24 let 25 - version = "1.29.0"; 26 27 patterns_src = fetchFromGitHub { 28 owner = "WerWolv"; ··· 41 owner = "WerWolv"; 42 repo = pname; 43 rev = "v${version}"; 44 - hash = "sha256-dghyv7rpqGs5dt51ziAaeb/Ba7rGEcJ54AYKRJ2xXuk="; 45 }; 46 47 nativeBuildInputs = [ cmake llvm python3 perl pkg-config rsync ]; ··· 81 description = "Hex Editor for Reverse Engineers, Programmers and people who value their retinas when working at 3 AM"; 82 homepage = "https://github.com/WerWolv/ImHex"; 83 license = with licenses; [ gpl2Only ]; 84 - maintainers = with maintainers; [ luis ]; 85 platforms = platforms.linux; 86 }; 87 }
··· 22 }: 23 24 let 25 + version = "1.30.1"; 26 27 patterns_src = fetchFromGitHub { 28 owner = "WerWolv"; ··· 41 owner = "WerWolv"; 42 repo = pname; 43 rev = "v${version}"; 44 + hash = "sha256-3s9Dgdhl+k2KjMoSHNl59YOoCEwqK+37DOzKdGP88/4="; 45 }; 46 47 nativeBuildInputs = [ cmake llvm python3 perl pkg-config rsync ]; ··· 81 description = "Hex Editor for Reverse Engineers, Programmers and people who value their retinas when working at 3 AM"; 82 homepage = "https://github.com/WerWolv/ImHex"; 83 license = with licenses; [ gpl2Only ]; 84 + maintainers = with maintainers; [ luis kashw2 ]; 85 platforms = platforms.linux; 86 }; 87 }
+3 -3
pkgs/applications/editors/leo-editor/default.nix
··· 2 3 mkDerivation rec { 4 pname = "leo-editor"; 5 - version = "6.7.3"; 6 7 src = fetchFromGitHub { 8 owner = "leo-editor"; 9 repo = "leo-editor"; 10 rev = version; 11 - sha256 = "sha256-yzYcdKFhpvxmqzxXMpsdySMk3pLd+ve87W0y2epZoqQ="; 12 }; 13 14 dontBuild = true; ··· 60 description = "A powerful folding editor"; 61 longDescription = "Leo is a PIM, IDE and outliner that accelerates the work flow of programmers, authors and web designers."; 62 license = licenses.mit; 63 - maintainers = with maintainers; [ leonardoce ]; 64 mainProgram = "leo"; 65 }; 66 }
··· 2 3 mkDerivation rec { 4 pname = "leo-editor"; 5 + version = "6.7.4"; 6 7 src = fetchFromGitHub { 8 owner = "leo-editor"; 9 repo = "leo-editor"; 10 rev = version; 11 + sha256 = "sha256-YKK46PeCMOTNOTpMrIgem+Au70Xj+tTHxOhC8alF3ms="; 12 }; 13 14 dontBuild = true; ··· 60 description = "A powerful folding editor"; 61 longDescription = "Leo is a PIM, IDE and outliner that accelerates the work flow of programmers, authors and web designers."; 62 license = licenses.mit; 63 + maintainers = with maintainers; [ leonardoce kashw2 ]; 64 mainProgram = "leo"; 65 }; 66 }
+5 -3
pkgs/applications/finance/cryptowatch/default.nix
··· 11 , libXrandr 12 , udev 13 , unzip 14 }: 15 16 stdenv.mkDerivation rec { 17 pname = "cryptowatch-desktop"; 18 - version = "0.5.0"; 19 20 src = fetchurl { 21 url = "https://cryptowat.ch/desktop/download/linux/${version}"; 22 - sha256 = "0lr5fsd0f44b1v9f2dvx0a0lmz9dyivyz5d98qx2gcv3jkngw34v"; 23 }; 24 25 unpackPhase = "unzip $src"; ··· 33 buildInputs = [ 34 dbus 35 udev 36 ]; 37 38 sourceRoot = "."; ··· 53 platforms = platforms.linux; 54 sourceProvenance = with sourceTypes; [ binaryNativeCode ]; 55 license = licenses.unfree; 56 - maintainers = with maintainers; [ livnev ]; 57 }; 58 }
··· 11 , libXrandr 12 , udev 13 , unzip 14 + , alsa-lib 15 }: 16 17 stdenv.mkDerivation rec { 18 pname = "cryptowatch-desktop"; 19 + version = "0.7.1"; 20 21 src = fetchurl { 22 url = "https://cryptowat.ch/desktop/download/linux/${version}"; 23 + hash = "sha256-ccyHfjp00CgQH+3SiDWx9yE1skOj0RWxnBomHWY/IaU="; 24 }; 25 26 unpackPhase = "unzip $src"; ··· 34 buildInputs = [ 35 dbus 36 udev 37 + alsa-lib 38 ]; 39 40 sourceRoot = "."; ··· 55 platforms = platforms.linux; 56 sourceProvenance = with sourceTypes; [ binaryNativeCode ]; 57 license = licenses.unfree; 58 + maintainers = with maintainers; [ livnev kashw2 ]; 59 }; 60 }
+4 -1
pkgs/applications/misc/anytype/default.nix
··· 1 - { lib, fetchurl, appimageTools }: 2 3 let 4 pname = "anytype"; ··· 20 21 extraInstallCommands = '' 22 mv $out/bin/${name} $out/bin/${pname} 23 install -m 444 -D ${appimageContents}/anytype.desktop -t $out/share/applications 24 substituteInPlace $out/share/applications/anytype.desktop \ 25 --replace 'Exec=AppRun' 'Exec=${pname}'
··· 1 + { lib, fetchurl, appimageTools, makeWrapper }: 2 3 let 4 pname = "anytype"; ··· 20 21 extraInstallCommands = '' 22 mv $out/bin/${name} $out/bin/${pname} 23 + source "${makeWrapper}/nix-support/setup-hook" 24 + wrapProgram $out/bin/${pname} \ 25 + --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" 26 install -m 444 -D ${appimageContents}/anytype.desktop -t $out/share/applications 27 substituteInPlace $out/share/applications/anytype.desktop \ 28 --replace 'Exec=AppRun' 'Exec=${pname}'
+265 -254
pkgs/applications/misc/conceal/Cargo.lock
··· 3 version = 3 4 5 [[package]] 6 name = "android_system_properties" 7 version = "0.1.5" 8 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 13 14 [[package]] 15 name = "anstream" 16 - version = "0.2.6" 17 source = "registry+https://github.com/rust-lang/crates.io-index" 18 - checksum = "342258dd14006105c2b75ab1bd7543a03bdf0cfc94383303ac212a04939dff6f" 19 dependencies = [ 20 "anstyle", 21 "anstyle-parse", 22 "anstyle-wincon", 23 - "concolor-override", 24 - "concolor-query", 25 "is-terminal", 26 "utf8parse", 27 ] 28 29 [[package]] 30 name = "anstyle" 31 - version = "0.3.5" 32 source = "registry+https://github.com/rust-lang/crates.io-index" 33 - checksum = "23ea9e81bd02e310c216d080f6223c179012256e5151c41db88d12c88a1684d2" 34 35 [[package]] 36 name = "anstyle-parse" 37 - version = "0.1.1" 38 source = "registry+https://github.com/rust-lang/crates.io-index" 39 - checksum = "a7d1bb534e9efed14f3e5f44e7dd1a4f709384023a4165199a4241e18dff0116" 40 dependencies = [ 41 "utf8parse", 42 ] 43 44 [[package]] 45 name = "anstyle-wincon" 46 - version = "0.2.0" 47 source = "registry+https://github.com/rust-lang/crates.io-index" 48 - checksum = "c3127af6145b149f3287bb9a0d10ad9c5692dba8c53ad48285e5bec4063834fa" 49 dependencies = [ 50 "anstyle", 51 "windows-sys", ··· 62 version = "1.3.2" 63 source = "registry+https://github.com/rust-lang/crates.io-index" 64 checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" 65 66 [[package]] 67 name = "bumpalo" 68 - version = "3.11.1" 69 source = "registry+https://github.com/rust-lang/crates.io-index" 70 - checksum = "572f695136211188308f16ad2ca5c851a712c464060ae6974944458eb83880ba" 71 72 [[package]] 73 name = "cc" ··· 83 84 [[package]] 85 name = "chrono" 86 - version = "0.4.23" 87 source = "registry+https://github.com/rust-lang/crates.io-index" 88 - checksum = "16b0a3d9ed01224b22057780a37bb8c5dbfe1be8ba48678e7bf57ec4b385411f" 89 dependencies = [ 90 "iana-time-zone", 91 "js-sys", 92 - "num-integer", 93 "num-traits", 94 - "time 0.1.44", 95 "wasm-bindgen", 96 "winapi", 97 ] 98 99 [[package]] 100 name = "clap" 101 - version = "4.2.0" 102 source = "registry+https://github.com/rust-lang/crates.io-index" 103 - checksum = "6efb5f0a41b5ef5b50c5da28c07609c20091df0c1fc33d418fa2a7e693c2b624" 104 dependencies = [ 105 "clap_builder", 106 "clap_derive", ··· 109 110 [[package]] 111 name = "clap_builder" 112 - version = "4.2.0" 113 source = "registry+https://github.com/rust-lang/crates.io-index" 114 - checksum = "671fcaa5debda4b9a84aa7fde49c907c8986c0e6ab927e04217c9cb74e7c8bc9" 115 dependencies = [ 116 "anstream", 117 "anstyle", 118 - "bitflags", 119 "clap_lex", 120 "strsim", 121 ] 122 123 [[package]] 124 name = "clap_complete" 125 - version = "4.2.0" 126 source = "registry+https://github.com/rust-lang/crates.io-index" 127 - checksum = "01c22dcfb410883764b29953103d9ef7bb8fe21b3fa1158bc99986c2067294bd" 128 dependencies = [ 129 "clap", 130 ] 131 132 [[package]] 133 name = "clap_complete_nushell" 134 - version = "0.1.10" 135 source = "registry+https://github.com/rust-lang/crates.io-index" 136 - checksum = "c7fa41f5e6aa83bd151b70fd0ceaee703d68cd669522795dc812df9edad1252c" 137 dependencies = [ 138 "clap", 139 "clap_complete", ··· 141 142 [[package]] 143 name = "clap_derive" 144 - version = "4.2.0" 145 source = "registry+https://github.com/rust-lang/crates.io-index" 146 - checksum = "3f9644cd56d6b87dbe899ef8b053e331c0637664e9e21a33dfcdc36093f5c5c4" 147 dependencies = [ 148 "heck", 149 "proc-macro2", 150 "quote", 151 - "syn 2.0.10", 152 ] 153 154 [[package]] 155 name = "clap_lex" 156 - version = "0.4.1" 157 source = "registry+https://github.com/rust-lang/crates.io-index" 158 - checksum = "8a2dd5a6fe8c6e3502f568a6353e5273bbb15193ad9a89e457b9970798efbea1" 159 160 [[package]] 161 - name = "codespan-reporting" 162 - version = "0.11.1" 163 source = "registry+https://github.com/rust-lang/crates.io-index" 164 - checksum = "3538270d33cc669650c4b093848450d380def10c331d38c768e34cac80576e6e" 165 - dependencies = [ 166 - "termcolor", 167 - "unicode-width", 168 - ] 169 170 [[package]] 171 name = "conceal" 172 - version = "0.3.2" 173 dependencies = [ 174 "clap", 175 "clap_complete", 176 "clap_complete_nushell", 177 "owo-colors", 178 "thiserror", 179 - "time 0.3.20", 180 "trash", 181 ] 182 183 [[package]] 184 - name = "concolor-override" 185 - version = "1.0.0" 186 - source = "registry+https://github.com/rust-lang/crates.io-index" 187 - checksum = "a855d4a1978dc52fb0536a04d384c2c0c1aa273597f08b77c8c4d3b2eec6037f" 188 - 189 - [[package]] 190 - name = "concolor-query" 191 - version = "0.3.3" 192 - source = "registry+https://github.com/rust-lang/crates.io-index" 193 - checksum = "88d11d52c3d7ca2e6d0040212be9e4dbbcd78b6447f535b6b561f449427944cf" 194 - dependencies = [ 195 - "windows-sys", 196 - ] 197 - 198 - [[package]] 199 name = "core-foundation-sys" 200 - version = "0.8.3" 201 - source = "registry+https://github.com/rust-lang/crates.io-index" 202 - checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc" 203 - 204 - [[package]] 205 - name = "cxx" 206 - version = "1.0.80" 207 source = "registry+https://github.com/rust-lang/crates.io-index" 208 - checksum = "6b7d4e43b25d3c994662706a1d4fcfc32aaa6afd287502c111b237093bb23f3a" 209 - dependencies = [ 210 - "cc", 211 - "cxxbridge-flags", 212 - "cxxbridge-macro", 213 - "link-cplusplus", 214 - ] 215 216 [[package]] 217 - name = "cxx-build" 218 - version = "1.0.80" 219 source = "registry+https://github.com/rust-lang/crates.io-index" 220 - checksum = "84f8829ddc213e2c1368e51a2564c552b65a8cb6a28f31e576270ac81d5e5827" 221 dependencies = [ 222 - "cc", 223 - "codespan-reporting", 224 - "once_cell", 225 - "proc-macro2", 226 - "quote", 227 - "scratch", 228 - "syn 1.0.107", 229 ] 230 231 [[package]] 232 - name = "cxxbridge-flags" 233 - version = "1.0.80" 234 source = "registry+https://github.com/rust-lang/crates.io-index" 235 - checksum = "e72537424b474af1460806647c41d4b6d35d09ef7fe031c5c2fa5766047cc56a" 236 - 237 - [[package]] 238 - name = "cxxbridge-macro" 239 - version = "1.0.80" 240 - source = "registry+https://github.com/rust-lang/crates.io-index" 241 - checksum = "309e4fb93eed90e1e14bea0da16b209f81813ba9fc7830c20ed151dd7bc0a4d7" 242 dependencies = [ 243 - "proc-macro2", 244 - "quote", 245 - "syn 1.0.107", 246 ] 247 248 [[package]] 249 name = "errno" 250 - version = "0.3.0" 251 source = "registry+https://github.com/rust-lang/crates.io-index" 252 - checksum = "50d6a0976c999d473fe89ad888d5a284e55366d9dc9038b1ba2aa15128c4afa0" 253 dependencies = [ 254 "errno-dragonfly", 255 "libc", ··· 268 269 [[package]] 270 name = "form_urlencoded" 271 - version = "1.1.0" 272 source = "registry+https://github.com/rust-lang/crates.io-index" 273 - checksum = "a9c384f161156f5260c24a097c56119f9be8c798586aecc13afbcbe7b7e26bf8" 274 dependencies = [ 275 "percent-encoding", 276 ] 277 278 [[package]] 279 name = "heck" 280 version = "0.4.1" 281 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 283 284 [[package]] 285 name = "hermit-abi" 286 - version = "0.3.1" 287 source = "registry+https://github.com/rust-lang/crates.io-index" 288 - checksum = "fed44880c466736ef9a5c5b5facefb5ed0785676d0c02d612db14e54f0d84286" 289 290 [[package]] 291 name = "iana-time-zone" 292 - version = "0.1.53" 293 source = "registry+https://github.com/rust-lang/crates.io-index" 294 - checksum = "64c122667b287044802d6ce17ee2ddf13207ed924c712de9a66a5814d5b64765" 295 dependencies = [ 296 "android_system_properties", 297 "core-foundation-sys", 298 "iana-time-zone-haiku", 299 "js-sys", 300 "wasm-bindgen", 301 - "winapi", 302 ] 303 304 [[package]] 305 name = "iana-time-zone-haiku" 306 - version = "0.1.1" 307 source = "registry+https://github.com/rust-lang/crates.io-index" 308 - checksum = "0703ae284fc167426161c2e3f1da3ea71d94b21bedbcc9494e92b28e334e3dca" 309 dependencies = [ 310 - "cxx", 311 - "cxx-build", 312 ] 313 314 [[package]] 315 name = "idna" 316 - version = "0.3.0" 317 source = "registry+https://github.com/rust-lang/crates.io-index" 318 - checksum = "e14ddfc70884202db2244c223200c204c2bda1bc6e0998d11b5e024d657209e6" 319 dependencies = [ 320 "unicode-bidi", 321 "unicode-normalization", 322 ] 323 324 [[package]] 325 - name = "io-lifetimes" 326 - version = "1.0.9" 327 - source = "registry+https://github.com/rust-lang/crates.io-index" 328 - checksum = "09270fd4fa1111bc614ed2246c7ef56239a3063d5be0d1ec3b589c505d400aeb" 329 - dependencies = [ 330 - "hermit-abi", 331 - "libc", 332 - "windows-sys", 333 - ] 334 - 335 - [[package]] 336 name = "is-terminal" 337 - version = "0.4.6" 338 source = "registry+https://github.com/rust-lang/crates.io-index" 339 - checksum = "256017f749ab3117e93acb91063009e1f1bb56d03965b14c2c8df4eb02c524d8" 340 dependencies = [ 341 "hermit-abi", 342 - "io-lifetimes", 343 "rustix", 344 "windows-sys", 345 ] 346 347 [[package]] 348 name = "itoa" 349 - version = "1.0.5" 350 source = "registry+https://github.com/rust-lang/crates.io-index" 351 - checksum = "fad582f4b9e86b6caa621cabeb0963332d92eea04729ab12892c2533951e6440" 352 353 [[package]] 354 name = "js-sys" 355 - version = "0.3.60" 356 source = "registry+https://github.com/rust-lang/crates.io-index" 357 - checksum = "49409df3e3bf0856b916e2ceaca09ee28e6871cf7d9ce97a692cacfdb2a25a47" 358 dependencies = [ 359 "wasm-bindgen", 360 ] 361 362 [[package]] 363 name = "libc" 364 - version = "0.2.140" 365 source = "registry+https://github.com/rust-lang/crates.io-index" 366 - checksum = "99227334921fae1a979cf0bfdfcc6b3e5ce376ef57e16fb6fb3ea2ed6095f80c" 367 - 368 - [[package]] 369 - name = "link-cplusplus" 370 - version = "1.0.7" 371 - source = "registry+https://github.com/rust-lang/crates.io-index" 372 - checksum = "9272ab7b96c9046fbc5bc56c06c117cb639fe2d509df0c421cad82d2915cf369" 373 - dependencies = [ 374 - "cc", 375 - ] 376 377 [[package]] 378 name = "linux-raw-sys" 379 - version = "0.3.0" 380 source = "registry+https://github.com/rust-lang/crates.io-index" 381 - checksum = "cd550e73688e6d578f0ac2119e32b797a327631a42f9433e59d02e139c8df60d" 382 383 [[package]] 384 name = "log" 385 - version = "0.4.17" 386 source = "registry+https://github.com/rust-lang/crates.io-index" 387 - checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e" 388 - dependencies = [ 389 - "cfg-if", 390 - ] 391 392 [[package]] 393 name = "malloc_buf" ··· 396 checksum = "62bb907fe88d54d8d9ce32a3cceab4218ed2f6b7d35617cafe9adf84e43919cb" 397 dependencies = [ 398 "libc", 399 - ] 400 - 401 - [[package]] 402 - name = "num-integer" 403 - version = "0.1.45" 404 - source = "registry+https://github.com/rust-lang/crates.io-index" 405 - checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9" 406 - dependencies = [ 407 - "autocfg", 408 - "num-traits", 409 ] 410 411 [[package]] ··· 437 438 [[package]] 439 name = "once_cell" 440 - version = "1.17.1" 441 source = "registry+https://github.com/rust-lang/crates.io-index" 442 - checksum = "b7e5500299e16ebb147ae15a00a942af264cf3688f47923b8fc2cd5858f23ad3" 443 444 [[package]] 445 name = "owo-colors" ··· 449 450 [[package]] 451 name = "percent-encoding" 452 - version = "2.2.0" 453 source = "registry+https://github.com/rust-lang/crates.io-index" 454 - checksum = "478c572c3d73181ff3c2539045f6eb99e5491218eae919370993b890cdbdd98e" 455 456 [[package]] 457 name = "proc-macro2" 458 - version = "1.0.54" 459 source = "registry+https://github.com/rust-lang/crates.io-index" 460 - checksum = "e472a104799c74b514a57226160104aa483546de37e839ec50e3c2e41dd87534" 461 dependencies = [ 462 "unicode-ident", 463 ] 464 465 [[package]] 466 name = "quote" 467 - version = "1.0.26" 468 source = "registry+https://github.com/rust-lang/crates.io-index" 469 - checksum = "4424af4bf778aae2051a77b60283332f386554255d722233d09fbfc7e30da2fc" 470 dependencies = [ 471 "proc-macro2", 472 ] 473 474 [[package]] 475 name = "rustix" 476 - version = "0.37.4" 477 source = "registry+https://github.com/rust-lang/crates.io-index" 478 - checksum = "c348b5dc624ecee40108aa2922fed8bad89d7fcc2b9f8cb18f632898ac4a37f9" 479 dependencies = [ 480 - "bitflags", 481 "errno", 482 - "io-lifetimes", 483 "libc", 484 "linux-raw-sys", 485 "windows-sys", ··· 492 checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" 493 494 [[package]] 495 - name = "scratch" 496 - version = "1.0.2" 497 - source = "registry+https://github.com/rust-lang/crates.io-index" 498 - checksum = "9c8132065adcfd6e02db789d9285a0deb2f3fcb04002865ab67d5fb103533898" 499 - 500 - [[package]] 501 name = "serde" 502 - version = "1.0.152" 503 source = "registry+https://github.com/rust-lang/crates.io-index" 504 - checksum = "bb7d1f0d3021d347a83e556fc4683dea2ea09d87bccdf88ff5c12545d89d5efb" 505 506 [[package]] 507 name = "strsim" ··· 511 512 [[package]] 513 name = "syn" 514 - version = "1.0.107" 515 - source = "registry+https://github.com/rust-lang/crates.io-index" 516 - checksum = "1f4064b5b16e03ae50984a5a8ed5d4f8803e6bc1fd170a3cda91a1be4b18e3f5" 517 - dependencies = [ 518 - "proc-macro2", 519 - "quote", 520 - "unicode-ident", 521 - ] 522 - 523 - [[package]] 524 - name = "syn" 525 - version = "2.0.10" 526 source = "registry+https://github.com/rust-lang/crates.io-index" 527 - checksum = "5aad1363ed6d37b84299588d62d3a7d95b5a5c2d9aad5c85609fda12afaa1f40" 528 dependencies = [ 529 "proc-macro2", 530 "quote", ··· 532 ] 533 534 [[package]] 535 - name = "termcolor" 536 - version = "1.2.0" 537 - source = "registry+https://github.com/rust-lang/crates.io-index" 538 - checksum = "be55cf8942feac5c765c2c993422806843c9a9a45d4d5c407ad6dd2ea95eb9b6" 539 - dependencies = [ 540 - "winapi-util", 541 - ] 542 - 543 - [[package]] 544 name = "thiserror" 545 - version = "1.0.40" 546 source = "registry+https://github.com/rust-lang/crates.io-index" 547 - checksum = "978c9a314bd8dc99be594bc3c175faaa9794be04a5a5e153caba6915336cebac" 548 dependencies = [ 549 "thiserror-impl", 550 ] 551 552 [[package]] 553 name = "thiserror-impl" 554 - version = "1.0.40" 555 source = "registry+https://github.com/rust-lang/crates.io-index" 556 - checksum = "f9456a42c5b0d803c8cd86e73dd7cc9edd429499f37a3550d286d5e86720569f" 557 dependencies = [ 558 "proc-macro2", 559 "quote", 560 - "syn 2.0.10", 561 ] 562 563 [[package]] 564 name = "time" 565 - version = "0.1.44" 566 source = "registry+https://github.com/rust-lang/crates.io-index" 567 - checksum = "6db9e6914ab8b1ae1c260a4ae7a49b6c5611b40328a735b21862567685e73255" 568 dependencies = [ 569 "libc", 570 - "wasi", 571 "winapi", 572 ] 573 574 [[package]] 575 name = "time" 576 - version = "0.3.20" 577 source = "registry+https://github.com/rust-lang/crates.io-index" 578 - checksum = "cd0cbfecb4d19b5ea75bb31ad904eb5b9fa13f21079c3b92017ebdf4999a5890" 579 dependencies = [ 580 "itoa", 581 "libc", ··· 587 588 [[package]] 589 name = "time-core" 590 - version = "0.1.0" 591 source = "registry+https://github.com/rust-lang/crates.io-index" 592 - checksum = "2e153e1f1acaef8acc537e68b44906d2db6436e2b35ac2c6b42640fff91f00fd" 593 594 [[package]] 595 name = "time-macros" 596 - version = "0.2.8" 597 source = "registry+https://github.com/rust-lang/crates.io-index" 598 - checksum = "fd80a657e71da814b8e5d60d3374fc6d35045062245d80224748ae522dd76f36" 599 dependencies = [ 600 "time-core", 601 ] ··· 611 612 [[package]] 613 name = "tinyvec_macros" 614 - version = "0.1.0" 615 source = "registry+https://github.com/rust-lang/crates.io-index" 616 - checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" 617 618 [[package]] 619 name = "trash" ··· 628 "scopeguard", 629 "thiserror", 630 "url", 631 - "windows", 632 ] 633 634 [[package]] 635 name = "unicode-bidi" 636 - version = "0.3.8" 637 source = "registry+https://github.com/rust-lang/crates.io-index" 638 - checksum = "099b7128301d285f79ddd55b9a83d5e6b9e97c92e0ea0daebee7263e932de992" 639 640 [[package]] 641 name = "unicode-ident" 642 - version = "1.0.8" 643 source = "registry+https://github.com/rust-lang/crates.io-index" 644 - checksum = "e5464a87b239f13a63a501f2701565754bae92d243d4bb7eb12f6d57d2269bf4" 645 646 [[package]] 647 name = "unicode-normalization" ··· 653 ] 654 655 [[package]] 656 - name = "unicode-width" 657 - version = "0.1.10" 658 - source = "registry+https://github.com/rust-lang/crates.io-index" 659 - checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b" 660 - 661 - [[package]] 662 name = "url" 663 - version = "2.3.1" 664 source = "registry+https://github.com/rust-lang/crates.io-index" 665 - checksum = "0d68c799ae75762b8c3fe375feb6600ef5602c883c5d21eb51c09f22b83c4643" 666 dependencies = [ 667 "form_urlencoded", 668 "idna", ··· 682 checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f" 683 684 [[package]] 685 name = "wasm-bindgen" 686 - version = "0.2.83" 687 source = "registry+https://github.com/rust-lang/crates.io-index" 688 - checksum = "eaf9f5aceeec8be17c128b2e93e031fb8a4d469bb9c4ae2d7dc1888b26887268" 689 dependencies = [ 690 "cfg-if", 691 "wasm-bindgen-macro", ··· 693 694 [[package]] 695 name = "wasm-bindgen-backend" 696 - version = "0.2.83" 697 source = "registry+https://github.com/rust-lang/crates.io-index" 698 - checksum = "4c8ffb332579b0557b52d268b91feab8df3615f265d5270fec2a8c95b17c1142" 699 dependencies = [ 700 "bumpalo", 701 "log", 702 "once_cell", 703 "proc-macro2", 704 "quote", 705 - "syn 1.0.107", 706 "wasm-bindgen-shared", 707 ] 708 709 [[package]] 710 name = "wasm-bindgen-macro" 711 - version = "0.2.83" 712 source = "registry+https://github.com/rust-lang/crates.io-index" 713 - checksum = "052be0f94026e6cbc75cdefc9bae13fd6052cdcaf532fa6c45e7ae33a1e6c810" 714 dependencies = [ 715 "quote", 716 "wasm-bindgen-macro-support", ··· 718 719 [[package]] 720 name = "wasm-bindgen-macro-support" 721 - version = "0.2.83" 722 source = "registry+https://github.com/rust-lang/crates.io-index" 723 - checksum = "07bc0c051dc5f23e307b13285f9d75df86bfdf816c5721e573dec1f9b8aa193c" 724 dependencies = [ 725 "proc-macro2", 726 "quote", 727 - "syn 1.0.107", 728 "wasm-bindgen-backend", 729 "wasm-bindgen-shared", 730 ] 731 732 [[package]] 733 name = "wasm-bindgen-shared" 734 - version = "0.2.83" 735 source = "registry+https://github.com/rust-lang/crates.io-index" 736 - checksum = "1c38c045535d93ec4f0b4defec448e4291638ee608530863b1e2ba115d4fff7f" 737 738 [[package]] 739 name = "winapi" ··· 752 checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" 753 754 [[package]] 755 - name = "winapi-util" 756 - version = "0.1.5" 757 - source = "registry+https://github.com/rust-lang/crates.io-index" 758 - checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" 759 - dependencies = [ 760 - "winapi", 761 - ] 762 - 763 - [[package]] 764 name = "winapi-x86_64-pc-windows-gnu" 765 version = "0.4.0" 766 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 772 source = "registry+https://github.com/rust-lang/crates.io-index" 773 checksum = "9e745dab35a0c4c77aa3ce42d595e13d2003d6902d6b08c9ef5fc326d08da12b" 774 dependencies = [ 775 - "windows-targets", 776 ] 777 778 [[package]] 779 name = "windows-sys" 780 - version = "0.45.0" 781 source = "registry+https://github.com/rust-lang/crates.io-index" 782 - checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" 783 dependencies = [ 784 - "windows-targets", 785 ] 786 787 [[package]] ··· 790 source = "registry+https://github.com/rust-lang/crates.io-index" 791 checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" 792 dependencies = [ 793 - "windows_aarch64_gnullvm", 794 - "windows_aarch64_msvc", 795 - "windows_i686_gnu", 796 - "windows_i686_msvc", 797 - "windows_x86_64_gnu", 798 - "windows_x86_64_gnullvm", 799 - "windows_x86_64_msvc", 800 ] 801 802 [[package]] ··· 806 checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" 807 808 [[package]] 809 name = "windows_aarch64_msvc" 810 version = "0.42.2" 811 source = "registry+https://github.com/rust-lang/crates.io-index" 812 checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" 813 814 [[package]] 815 name = "windows_i686_gnu" 816 version = "0.42.2" 817 source = "registry+https://github.com/rust-lang/crates.io-index" 818 checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" 819 820 [[package]] 821 name = "windows_i686_msvc" ··· 824 checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" 825 826 [[package]] 827 name = "windows_x86_64_gnu" 828 version = "0.42.2" 829 source = "registry+https://github.com/rust-lang/crates.io-index" 830 checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" 831 832 [[package]] 833 name = "windows_x86_64_gnullvm" 834 version = "0.42.2" 835 source = "registry+https://github.com/rust-lang/crates.io-index" 836 checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" 837 838 [[package]] 839 name = "windows_x86_64_msvc" 840 version = "0.42.2" 841 source = "registry+https://github.com/rust-lang/crates.io-index" 842 checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0"
··· 3 version = 3 4 5 [[package]] 6 + name = "android-tzdata" 7 + version = "0.1.1" 8 + source = "registry+https://github.com/rust-lang/crates.io-index" 9 + checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0" 10 + 11 + [[package]] 12 name = "android_system_properties" 13 version = "0.1.5" 14 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 19 20 [[package]] 21 name = "anstream" 22 + version = "0.3.2" 23 source = "registry+https://github.com/rust-lang/crates.io-index" 24 + checksum = "0ca84f3628370c59db74ee214b3263d58f9aadd9b4fe7e711fd87dc452b7f163" 25 dependencies = [ 26 "anstyle", 27 "anstyle-parse", 28 + "anstyle-query", 29 "anstyle-wincon", 30 + "colorchoice", 31 "is-terminal", 32 "utf8parse", 33 ] 34 35 [[package]] 36 name = "anstyle" 37 + version = "1.0.1" 38 source = "registry+https://github.com/rust-lang/crates.io-index" 39 + checksum = "3a30da5c5f2d5e72842e00bcb57657162cdabef0931f40e2deb9b4140440cecd" 40 41 [[package]] 42 name = "anstyle-parse" 43 + version = "0.2.1" 44 source = "registry+https://github.com/rust-lang/crates.io-index" 45 + checksum = "938874ff5980b03a87c5524b3ae5b59cf99b1d6bc836848df7bc5ada9643c333" 46 dependencies = [ 47 "utf8parse", 48 ] 49 50 [[package]] 51 + name = "anstyle-query" 52 + version = "1.0.0" 53 + source = "registry+https://github.com/rust-lang/crates.io-index" 54 + checksum = "5ca11d4be1bab0c8bc8734a9aa7bf4ee8316d462a08c6ac5052f888fef5b494b" 55 + dependencies = [ 56 + "windows-sys", 57 + ] 58 + 59 + [[package]] 60 name = "anstyle-wincon" 61 + version = "1.0.1" 62 source = "registry+https://github.com/rust-lang/crates.io-index" 63 + checksum = "180abfa45703aebe0093f79badacc01b8fd4ea2e35118747e5811127f926e188" 64 dependencies = [ 65 "anstyle", 66 "windows-sys", ··· 77 version = "1.3.2" 78 source = "registry+https://github.com/rust-lang/crates.io-index" 79 checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" 80 + 81 + [[package]] 82 + name = "bitflags" 83 + version = "2.3.3" 84 + source = "registry+https://github.com/rust-lang/crates.io-index" 85 + checksum = "630be753d4e58660abd17930c71b647fe46c27ea6b63cc59e1e3851406972e42" 86 87 [[package]] 88 name = "bumpalo" 89 + version = "3.13.0" 90 source = "registry+https://github.com/rust-lang/crates.io-index" 91 + checksum = "a3e2c3daef883ecc1b5d58c15adae93470a91d425f3532ba1695849656af3fc1" 92 93 [[package]] 94 name = "cc" ··· 104 105 [[package]] 106 name = "chrono" 107 + version = "0.4.26" 108 source = "registry+https://github.com/rust-lang/crates.io-index" 109 + checksum = "ec837a71355b28f6556dbd569b37b3f363091c0bd4b2e735674521b4c5fd9bc5" 110 dependencies = [ 111 + "android-tzdata", 112 "iana-time-zone", 113 "js-sys", 114 "num-traits", 115 + "time 0.1.45", 116 "wasm-bindgen", 117 "winapi", 118 ] 119 120 [[package]] 121 name = "clap" 122 + version = "4.3.11" 123 source = "registry+https://github.com/rust-lang/crates.io-index" 124 + checksum = "1640e5cc7fb47dbb8338fd471b105e7ed6c3cb2aeb00c2e067127ffd3764a05d" 125 dependencies = [ 126 "clap_builder", 127 "clap_derive", ··· 130 131 [[package]] 132 name = "clap_builder" 133 + version = "4.3.11" 134 source = "registry+https://github.com/rust-lang/crates.io-index" 135 + checksum = "98c59138d527eeaf9b53f35a77fcc1fad9d883116070c63d5de1c7dc7b00c72b" 136 dependencies = [ 137 "anstream", 138 "anstyle", 139 "clap_lex", 140 "strsim", 141 ] 142 143 [[package]] 144 name = "clap_complete" 145 + version = "4.3.2" 146 source = "registry+https://github.com/rust-lang/crates.io-index" 147 + checksum = "5fc443334c81a804575546c5a8a79b4913b50e28d69232903604cada1de817ce" 148 dependencies = [ 149 "clap", 150 ] 151 152 [[package]] 153 name = "clap_complete_nushell" 154 + version = "0.1.11" 155 source = "registry+https://github.com/rust-lang/crates.io-index" 156 + checksum = "5d02bc8b1a18ee47c4d2eec3fb5ac034dc68ebea6125b1509e9ccdffcddce66e" 157 dependencies = [ 158 "clap", 159 "clap_complete", ··· 161 162 [[package]] 163 name = "clap_derive" 164 + version = "4.3.2" 165 source = "registry+https://github.com/rust-lang/crates.io-index" 166 + checksum = "b8cd2b2a819ad6eec39e8f1d6b53001af1e5469f8c177579cdaeb313115b825f" 167 dependencies = [ 168 "heck", 169 "proc-macro2", 170 "quote", 171 + "syn", 172 ] 173 174 [[package]] 175 name = "clap_lex" 176 + version = "0.5.0" 177 source = "registry+https://github.com/rust-lang/crates.io-index" 178 + checksum = "2da6da31387c7e4ef160ffab6d5e7f00c42626fe39aea70a7b0f1773f7dd6c1b" 179 180 [[package]] 181 + name = "colorchoice" 182 + version = "1.0.0" 183 source = "registry+https://github.com/rust-lang/crates.io-index" 184 + checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" 185 186 [[package]] 187 name = "conceal" 188 + version = "0.4.1" 189 dependencies = [ 190 "clap", 191 "clap_complete", 192 "clap_complete_nushell", 193 + "dirs", 194 "owo-colors", 195 "thiserror", 196 + "time 0.3.23", 197 "trash", 198 ] 199 200 [[package]] 201 name = "core-foundation-sys" 202 + version = "0.8.4" 203 source = "registry+https://github.com/rust-lang/crates.io-index" 204 + checksum = "e496a50fda8aacccc86d7529e2c1e0892dbd0f898a6b5645b5561b89c3210efa" 205 206 [[package]] 207 + name = "dirs" 208 + version = "5.0.1" 209 source = "registry+https://github.com/rust-lang/crates.io-index" 210 + checksum = "44c45a9d03d6676652bcb5e724c7e988de1acad23a711b5217ab9cbecbec2225" 211 dependencies = [ 212 + "dirs-sys", 213 ] 214 215 [[package]] 216 + name = "dirs-sys" 217 + version = "0.4.1" 218 source = "registry+https://github.com/rust-lang/crates.io-index" 219 + checksum = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c" 220 dependencies = [ 221 + "libc", 222 + "option-ext", 223 + "redox_users", 224 + "windows-sys", 225 ] 226 227 [[package]] 228 name = "errno" 229 + version = "0.3.1" 230 source = "registry+https://github.com/rust-lang/crates.io-index" 231 + checksum = "4bcfec3a70f97c962c307b2d2c56e358cf1d00b558d74262b5f929ee8cc7e73a" 232 dependencies = [ 233 "errno-dragonfly", 234 "libc", ··· 247 248 [[package]] 249 name = "form_urlencoded" 250 + version = "1.2.0" 251 source = "registry+https://github.com/rust-lang/crates.io-index" 252 + checksum = "a62bc1cf6f830c2ec14a513a9fb124d0a213a629668a4186f329db21fe045652" 253 dependencies = [ 254 "percent-encoding", 255 ] 256 257 [[package]] 258 + name = "getrandom" 259 + version = "0.2.10" 260 + source = "registry+https://github.com/rust-lang/crates.io-index" 261 + checksum = "be4136b2a15dd319360be1c07d9933517ccf0be8f16bf62a3bee4f0d618df427" 262 + dependencies = [ 263 + "cfg-if", 264 + "libc", 265 + "wasi 0.11.0+wasi-snapshot-preview1", 266 + ] 267 + 268 + [[package]] 269 name = "heck" 270 version = "0.4.1" 271 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 273 274 [[package]] 275 name = "hermit-abi" 276 + version = "0.3.2" 277 source = "registry+https://github.com/rust-lang/crates.io-index" 278 + checksum = "443144c8cdadd93ebf52ddb4056d257f5b52c04d3c804e657d19eb73fc33668b" 279 280 [[package]] 281 name = "iana-time-zone" 282 + version = "0.1.57" 283 source = "registry+https://github.com/rust-lang/crates.io-index" 284 + checksum = "2fad5b825842d2b38bd206f3e81d6957625fd7f0a361e345c30e01a0ae2dd613" 285 dependencies = [ 286 "android_system_properties", 287 "core-foundation-sys", 288 "iana-time-zone-haiku", 289 "js-sys", 290 "wasm-bindgen", 291 + "windows 0.48.0", 292 ] 293 294 [[package]] 295 name = "iana-time-zone-haiku" 296 + version = "0.1.2" 297 source = "registry+https://github.com/rust-lang/crates.io-index" 298 + checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" 299 dependencies = [ 300 + "cc", 301 ] 302 303 [[package]] 304 name = "idna" 305 + version = "0.4.0" 306 source = "registry+https://github.com/rust-lang/crates.io-index" 307 + checksum = "7d20d6b07bfbc108882d88ed8e37d39636dcc260e15e30c45e6ba089610b917c" 308 dependencies = [ 309 "unicode-bidi", 310 "unicode-normalization", 311 ] 312 313 [[package]] 314 name = "is-terminal" 315 + version = "0.4.9" 316 source = "registry+https://github.com/rust-lang/crates.io-index" 317 + checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b" 318 dependencies = [ 319 "hermit-abi", 320 "rustix", 321 "windows-sys", 322 ] 323 324 [[package]] 325 name = "itoa" 326 + version = "1.0.8" 327 source = "registry+https://github.com/rust-lang/crates.io-index" 328 + checksum = "62b02a5381cc465bd3041d84623d0fa3b66738b52b8e2fc3bab8ad63ab032f4a" 329 330 [[package]] 331 name = "js-sys" 332 + version = "0.3.64" 333 source = "registry+https://github.com/rust-lang/crates.io-index" 334 + checksum = "c5f195fe497f702db0f318b07fdd68edb16955aed830df8363d837542f8f935a" 335 dependencies = [ 336 "wasm-bindgen", 337 ] 338 339 [[package]] 340 name = "libc" 341 + version = "0.2.147" 342 source = "registry+https://github.com/rust-lang/crates.io-index" 343 + checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3" 344 345 [[package]] 346 name = "linux-raw-sys" 347 + version = "0.4.3" 348 source = "registry+https://github.com/rust-lang/crates.io-index" 349 + checksum = "09fc20d2ca12cb9f044c93e3bd6d32d523e6e2ec3db4f7b2939cd99026ecd3f0" 350 351 [[package]] 352 name = "log" 353 + version = "0.4.19" 354 source = "registry+https://github.com/rust-lang/crates.io-index" 355 + checksum = "b06a4cde4c0f271a446782e3eff8de789548ce57dbc8eca9292c27f4a42004b4" 356 357 [[package]] 358 name = "malloc_buf" ··· 361 checksum = "62bb907fe88d54d8d9ce32a3cceab4218ed2f6b7d35617cafe9adf84e43919cb" 362 dependencies = [ 363 "libc", 364 ] 365 366 [[package]] ··· 392 393 [[package]] 394 name = "once_cell" 395 + version = "1.18.0" 396 + source = "registry+https://github.com/rust-lang/crates.io-index" 397 + checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" 398 + 399 + [[package]] 400 + name = "option-ext" 401 + version = "0.2.0" 402 source = "registry+https://github.com/rust-lang/crates.io-index" 403 + checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" 404 405 [[package]] 406 name = "owo-colors" ··· 410 411 [[package]] 412 name = "percent-encoding" 413 + version = "2.3.0" 414 source = "registry+https://github.com/rust-lang/crates.io-index" 415 + checksum = "9b2a4787296e9989611394c33f193f676704af1686e70b8f8033ab5ba9a35a94" 416 417 [[package]] 418 name = "proc-macro2" 419 + version = "1.0.64" 420 source = "registry+https://github.com/rust-lang/crates.io-index" 421 + checksum = "78803b62cbf1f46fde80d7c0e803111524b9877184cfe7c3033659490ac7a7da" 422 dependencies = [ 423 "unicode-ident", 424 ] 425 426 [[package]] 427 name = "quote" 428 + version = "1.0.29" 429 source = "registry+https://github.com/rust-lang/crates.io-index" 430 + checksum = "573015e8ab27661678357f27dc26460738fd2b6c86e46f386fde94cb5d913105" 431 dependencies = [ 432 "proc-macro2", 433 ] 434 435 [[package]] 436 + name = "redox_syscall" 437 + version = "0.2.16" 438 + source = "registry+https://github.com/rust-lang/crates.io-index" 439 + checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" 440 + dependencies = [ 441 + "bitflags 1.3.2", 442 + ] 443 + 444 + [[package]] 445 + name = "redox_users" 446 + version = "0.4.3" 447 + source = "registry+https://github.com/rust-lang/crates.io-index" 448 + checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b" 449 + dependencies = [ 450 + "getrandom", 451 + "redox_syscall", 452 + "thiserror", 453 + ] 454 + 455 + [[package]] 456 name = "rustix" 457 + version = "0.38.3" 458 source = "registry+https://github.com/rust-lang/crates.io-index" 459 + checksum = "ac5ffa1efe7548069688cd7028f32591853cd7b5b756d41bcffd2353e4fc75b4" 460 dependencies = [ 461 + "bitflags 2.3.3", 462 "errno", 463 "libc", 464 "linux-raw-sys", 465 "windows-sys", ··· 472 checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" 473 474 [[package]] 475 name = "serde" 476 + version = "1.0.171" 477 source = "registry+https://github.com/rust-lang/crates.io-index" 478 + checksum = "30e27d1e4fd7659406c492fd6cfaf2066ba8773de45ca75e855590f856dc34a9" 479 480 [[package]] 481 name = "strsim" ··· 485 486 [[package]] 487 name = "syn" 488 + version = "2.0.25" 489 source = "registry+https://github.com/rust-lang/crates.io-index" 490 + checksum = "15e3fc8c0c74267e2df136e5e5fb656a464158aa57624053375eb9c8c6e25ae2" 491 dependencies = [ 492 "proc-macro2", 493 "quote", ··· 495 ] 496 497 [[package]] 498 name = "thiserror" 499 + version = "1.0.43" 500 source = "registry+https://github.com/rust-lang/crates.io-index" 501 + checksum = "a35fc5b8971143ca348fa6df4f024d4d55264f3468c71ad1c2f365b0a4d58c42" 502 dependencies = [ 503 "thiserror-impl", 504 ] 505 506 [[package]] 507 name = "thiserror-impl" 508 + version = "1.0.43" 509 source = "registry+https://github.com/rust-lang/crates.io-index" 510 + checksum = "463fe12d7993d3b327787537ce8dd4dfa058de32fc2b195ef3cde03dc4771e8f" 511 dependencies = [ 512 "proc-macro2", 513 "quote", 514 + "syn", 515 ] 516 517 [[package]] 518 name = "time" 519 + version = "0.1.45" 520 source = "registry+https://github.com/rust-lang/crates.io-index" 521 + checksum = "1b797afad3f312d1c66a56d11d0316f916356d11bd158fbc6ca6389ff6bf805a" 522 dependencies = [ 523 "libc", 524 + "wasi 0.10.0+wasi-snapshot-preview1", 525 "winapi", 526 ] 527 528 [[package]] 529 name = "time" 530 + version = "0.3.23" 531 source = "registry+https://github.com/rust-lang/crates.io-index" 532 + checksum = "59e399c068f43a5d116fedaf73b203fa4f9c519f17e2b34f63221d3792f81446" 533 dependencies = [ 534 "itoa", 535 "libc", ··· 541 542 [[package]] 543 name = "time-core" 544 + version = "0.1.1" 545 source = "registry+https://github.com/rust-lang/crates.io-index" 546 + checksum = "7300fbefb4dadc1af235a9cef3737cea692a9d97e1b9cbcd4ebdae6f8868e6fb" 547 548 [[package]] 549 name = "time-macros" 550 + version = "0.2.10" 551 source = "registry+https://github.com/rust-lang/crates.io-index" 552 + checksum = "96ba15a897f3c86766b757e5ac7221554c6750054d74d5b28844fce5fb36a6c4" 553 dependencies = [ 554 "time-core", 555 ] ··· 565 566 [[package]] 567 name = "tinyvec_macros" 568 + version = "0.1.1" 569 source = "registry+https://github.com/rust-lang/crates.io-index" 570 + checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" 571 572 [[package]] 573 name = "trash" ··· 582 "scopeguard", 583 "thiserror", 584 "url", 585 + "windows 0.44.0", 586 ] 587 588 [[package]] 589 name = "unicode-bidi" 590 + version = "0.3.13" 591 source = "registry+https://github.com/rust-lang/crates.io-index" 592 + checksum = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460" 593 594 [[package]] 595 name = "unicode-ident" 596 + version = "1.0.10" 597 source = "registry+https://github.com/rust-lang/crates.io-index" 598 + checksum = "22049a19f4a68748a168c0fc439f9516686aa045927ff767eca0a85101fb6e73" 599 600 [[package]] 601 name = "unicode-normalization" ··· 607 ] 608 609 [[package]] 610 name = "url" 611 + version = "2.4.0" 612 source = "registry+https://github.com/rust-lang/crates.io-index" 613 + checksum = "50bff7831e19200a85b17131d085c25d7811bc4e186efdaf54bbd132994a88cb" 614 dependencies = [ 615 "form_urlencoded", 616 "idna", ··· 630 checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f" 631 632 [[package]] 633 + name = "wasi" 634 + version = "0.11.0+wasi-snapshot-preview1" 635 + source = "registry+https://github.com/rust-lang/crates.io-index" 636 + checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" 637 + 638 + [[package]] 639 name = "wasm-bindgen" 640 + version = "0.2.87" 641 source = "registry+https://github.com/rust-lang/crates.io-index" 642 + checksum = "7706a72ab36d8cb1f80ffbf0e071533974a60d0a308d01a5d0375bf60499a342" 643 dependencies = [ 644 "cfg-if", 645 "wasm-bindgen-macro", ··· 647 648 [[package]] 649 name = "wasm-bindgen-backend" 650 + version = "0.2.87" 651 source = "registry+https://github.com/rust-lang/crates.io-index" 652 + checksum = "5ef2b6d3c510e9625e5fe6f509ab07d66a760f0885d858736483c32ed7809abd" 653 dependencies = [ 654 "bumpalo", 655 "log", 656 "once_cell", 657 "proc-macro2", 658 "quote", 659 + "syn", 660 "wasm-bindgen-shared", 661 ] 662 663 [[package]] 664 name = "wasm-bindgen-macro" 665 + version = "0.2.87" 666 source = "registry+https://github.com/rust-lang/crates.io-index" 667 + checksum = "dee495e55982a3bd48105a7b947fd2a9b4a8ae3010041b9e0faab3f9cd028f1d" 668 dependencies = [ 669 "quote", 670 "wasm-bindgen-macro-support", ··· 672 673 [[package]] 674 name = "wasm-bindgen-macro-support" 675 + version = "0.2.87" 676 source = "registry+https://github.com/rust-lang/crates.io-index" 677 + checksum = "54681b18a46765f095758388f2d0cf16eb8d4169b639ab575a8f5693af210c7b" 678 dependencies = [ 679 "proc-macro2", 680 "quote", 681 + "syn", 682 "wasm-bindgen-backend", 683 "wasm-bindgen-shared", 684 ] 685 686 [[package]] 687 name = "wasm-bindgen-shared" 688 + version = "0.2.87" 689 source = "registry+https://github.com/rust-lang/crates.io-index" 690 + checksum = "ca6ad05a4870b2bf5fe995117d3728437bd27d7cd5f06f13c17443ef369775a1" 691 692 [[package]] 693 name = "winapi" ··· 706 checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" 707 708 [[package]] 709 name = "winapi-x86_64-pc-windows-gnu" 710 version = "0.4.0" 711 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 717 source = "registry+https://github.com/rust-lang/crates.io-index" 718 checksum = "9e745dab35a0c4c77aa3ce42d595e13d2003d6902d6b08c9ef5fc326d08da12b" 719 dependencies = [ 720 + "windows-targets 0.42.2", 721 + ] 722 + 723 + [[package]] 724 + name = "windows" 725 + version = "0.48.0" 726 + source = "registry+https://github.com/rust-lang/crates.io-index" 727 + checksum = "e686886bc078bc1b0b600cac0147aadb815089b6e4da64016cbd754b6342700f" 728 + dependencies = [ 729 + "windows-targets 0.48.1", 730 ] 731 732 [[package]] 733 name = "windows-sys" 734 + version = "0.48.0" 735 source = "registry+https://github.com/rust-lang/crates.io-index" 736 + checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" 737 dependencies = [ 738 + "windows-targets 0.48.1", 739 ] 740 741 [[package]] ··· 744 source = "registry+https://github.com/rust-lang/crates.io-index" 745 checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" 746 dependencies = [ 747 + "windows_aarch64_gnullvm 0.42.2", 748 + "windows_aarch64_msvc 0.42.2", 749 + "windows_i686_gnu 0.42.2", 750 + "windows_i686_msvc 0.42.2", 751 + "windows_x86_64_gnu 0.42.2", 752 + "windows_x86_64_gnullvm 0.42.2", 753 + "windows_x86_64_msvc 0.42.2", 754 + ] 755 + 756 + [[package]] 757 + name = "windows-targets" 758 + version = "0.48.1" 759 + source = "registry+https://github.com/rust-lang/crates.io-index" 760 + checksum = "05d4b17490f70499f20b9e791dcf6a299785ce8af4d709018206dc5b4953e95f" 761 + dependencies = [ 762 + "windows_aarch64_gnullvm 0.48.0", 763 + "windows_aarch64_msvc 0.48.0", 764 + "windows_i686_gnu 0.48.0", 765 + "windows_i686_msvc 0.48.0", 766 + "windows_x86_64_gnu 0.48.0", 767 + "windows_x86_64_gnullvm 0.48.0", 768 + "windows_x86_64_msvc 0.48.0", 769 ] 770 771 [[package]] ··· 775 checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" 776 777 [[package]] 778 + name = "windows_aarch64_gnullvm" 779 + version = "0.48.0" 780 + source = "registry+https://github.com/rust-lang/crates.io-index" 781 + checksum = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc" 782 + 783 + [[package]] 784 name = "windows_aarch64_msvc" 785 version = "0.42.2" 786 source = "registry+https://github.com/rust-lang/crates.io-index" 787 checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" 788 789 [[package]] 790 + name = "windows_aarch64_msvc" 791 + version = "0.48.0" 792 + source = "registry+https://github.com/rust-lang/crates.io-index" 793 + checksum = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3" 794 + 795 + [[package]] 796 name = "windows_i686_gnu" 797 version = "0.42.2" 798 source = "registry+https://github.com/rust-lang/crates.io-index" 799 checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" 800 + 801 + [[package]] 802 + name = "windows_i686_gnu" 803 + version = "0.48.0" 804 + source = "registry+https://github.com/rust-lang/crates.io-index" 805 + checksum = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241" 806 807 [[package]] 808 name = "windows_i686_msvc" ··· 811 checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" 812 813 [[package]] 814 + name = "windows_i686_msvc" 815 + version = "0.48.0" 816 + source = "registry+https://github.com/rust-lang/crates.io-index" 817 + checksum = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00" 818 + 819 + [[package]] 820 name = "windows_x86_64_gnu" 821 version = "0.42.2" 822 source = "registry+https://github.com/rust-lang/crates.io-index" 823 checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" 824 825 [[package]] 826 + name = "windows_x86_64_gnu" 827 + version = "0.48.0" 828 + source = "registry+https://github.com/rust-lang/crates.io-index" 829 + checksum = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1" 830 + 831 + [[package]] 832 name = "windows_x86_64_gnullvm" 833 version = "0.42.2" 834 source = "registry+https://github.com/rust-lang/crates.io-index" 835 checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" 836 837 [[package]] 838 + name = "windows_x86_64_gnullvm" 839 + version = "0.48.0" 840 + source = "registry+https://github.com/rust-lang/crates.io-index" 841 + checksum = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953" 842 + 843 + [[package]] 844 name = "windows_x86_64_msvc" 845 version = "0.42.2" 846 source = "registry+https://github.com/rust-lang/crates.io-index" 847 checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" 848 + 849 + [[package]] 850 + name = "windows_x86_64_msvc" 851 + version = "0.48.0" 852 + source = "registry+https://github.com/rust-lang/crates.io-index" 853 + checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a"
+11 -5
pkgs/applications/misc/conceal/default.nix
··· 1 - { lib, rustPlatform, fetchFromGitHub, installShellFiles, stdenv }: 2 3 rustPlatform.buildRustPackage rec { 4 pname = "conceal"; 5 - version = "0.3.2"; 6 7 src = fetchFromGitHub { 8 owner = "TD-Sky"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "NKAp15mm/pH4g3+fPCxI6U8Y4qdAhV9CLkmII76oGrw="; 12 }; 13 14 cargoLock = { ··· 26 --zsh completions/{cnc/_cnc,conceal/_conceal} 27 ''; 28 29 - # There are no any tests in source project. 30 doCheck = false; 31 32 meta = with lib; { 33 description = "A trash collector written in Rust"; 34 homepage = "https://github.com/TD-Sky/conceal"; 35 license = licenses.mit; 36 - maintainers = with maintainers; [ jedsek ]; 37 broken = stdenv.isDarwin; 38 }; 39 }
··· 1 + { lib, rustPlatform, fetchFromGitHub, installShellFiles, stdenv, testers, conceal }: 2 3 rustPlatform.buildRustPackage rec { 4 pname = "conceal"; 5 + version = "0.4.1"; 6 7 src = fetchFromGitHub { 8 owner = "TD-Sky"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-zrG4AE8I1nVvEGNvi7tOsqn6yNOqpRmhJzbuJINnJBw="; 12 }; 13 14 cargoLock = { ··· 26 --zsh completions/{cnc/_cnc,conceal/_conceal} 27 ''; 28 29 + # There are not any tests in source project. 30 doCheck = false; 31 32 + passthru.tests = testers.testVersion { 33 + package = conceal; 34 + command = "conceal --version"; 35 + version = "conceal ${version}"; 36 + }; 37 + 38 meta = with lib; { 39 description = "A trash collector written in Rust"; 40 homepage = "https://github.com/TD-Sky/conceal"; 41 license = licenses.mit; 42 + maintainers = with maintainers; [ jedsek kashw2 ]; 43 broken = stdenv.isDarwin; 44 }; 45 }
+3 -3
pkgs/applications/misc/copyq/default.nix
··· 17 18 stdenv.mkDerivation rec { 19 pname = "CopyQ"; 20 - version = "unstable-2023-04-14"; 21 22 src = fetchFromGitHub { 23 owner = "hluk"; 24 repo = "CopyQ"; 25 - rev = "c4e481315be5a1fa35503c9717b396319b43aa9b"; 26 - hash = "sha256-XLuawTKzDi+ixEUcsllyW5tCVTPlzIozu1UzYOjTqDU="; 27 }; 28 29 nativeBuildInputs = [
··· 17 18 stdenv.mkDerivation rec { 19 pname = "CopyQ"; 20 + version = "7.1.0"; 21 22 src = fetchFromGitHub { 23 owner = "hluk"; 24 repo = "CopyQ"; 25 + rev = "v${version}"; 26 + hash = "sha256-aAmpFKIIFZLPWUaOcf4V1d/wVQ7xRcnXFsqFjROsabg="; 27 }; 28 29 nativeBuildInputs = [
+2 -2
pkgs/applications/misc/gremlin-console/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "gremlin-console"; 5 - version = "3.6.4"; 6 src = fetchzip { 7 url = "https://downloads.apache.org/tinkerpop/${version}/apache-tinkerpop-gremlin-console-${version}-bin.zip"; 8 - sha256 = "sha256-3fZA0U7dobr4Zsudin9OmwcYUw8gdltUWFTVe2l8ILw="; 9 }; 10 11 nativeBuildInputs = [ makeWrapper ];
··· 2 3 stdenv.mkDerivation rec { 4 pname = "gremlin-console"; 5 + version = "3.7.0"; 6 src = fetchzip { 7 url = "https://downloads.apache.org/tinkerpop/${version}/apache-tinkerpop-gremlin-console-${version}-bin.zip"; 8 + sha256 = "sha256-trdxRqQ/S7b02CPX/iZj/lDSNEtS9HqVYd77bHduOKo="; 9 }; 10 11 nativeBuildInputs = [ makeWrapper ];
+2 -2
pkgs/applications/misc/gremlin-server/default.nix
··· 1 { fetchzip, lib, stdenv, makeWrapper, openjdk }: 2 stdenv.mkDerivation rec { 3 pname = "gremlin-server"; 4 - version = "3.5.2"; 5 src = fetchzip { 6 url = "https://downloads.apache.org/tinkerpop/${version}/apache-tinkerpop-gremlin-server-${version}-bin.zip"; 7 - sha256 = "sha256-XFI2PQnvIPYjkJhm73TPSpMqH4+/Qv5RxS5iWkfuBg0="; 8 }; 9 10 nativeBuildInputs = [ makeWrapper ];
··· 1 { fetchzip, lib, stdenv, makeWrapper, openjdk }: 2 stdenv.mkDerivation rec { 3 pname = "gremlin-server"; 4 + version = "3.7.0"; 5 src = fetchzip { 6 url = "https://downloads.apache.org/tinkerpop/${version}/apache-tinkerpop-gremlin-server-${version}-bin.zip"; 7 + sha256 = "sha256-cS7R7Raz5tkrr5DNeW7jbEYDee2OgE4htTXJRnqXlqI="; 8 }; 9 10 nativeBuildInputs = [ makeWrapper ];
pkgs/applications/misc/hello/default.nix pkgs/by-name/he/hello/package.nix
pkgs/applications/misc/hello/test.nix pkgs/by-name/he/hello/test.nix
+39
pkgs/applications/misc/pysentation/default.nix
···
··· 1 + { lib 2 + , python3 3 + , fetchFromGitHub 4 + }: 5 + 6 + python3.pkgs.buildPythonApplication rec { 7 + pname = "pysentation"; 8 + version = "1.0.0"; 9 + format = "pyproject"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "mimseyedi"; 13 + repo = "pysentation"; 14 + rev = "v${version}"; 15 + hash = "sha256-TwHDXWgGWuQVgatBDc1iympnb6dy4xYThLR5MouEZHA="; 16 + }; 17 + 18 + nativeBuildInputs = [ 19 + python3.pkgs.setuptools 20 + python3.pkgs.wheel 21 + ]; 22 + 23 + propagatedBuildInputs = with python3.pkgs; [ 24 + click 25 + getkey 26 + rich 27 + ]; 28 + 29 + pythonImportsCheck = [ "pysentation" ]; 30 + 31 + meta = with lib; { 32 + description = "A CLI for displaying Python presentations"; 33 + homepage = "https://github.com/mimseyedi/pysentation"; 34 + changelog = "https://github.com/mimseyedi/pysentation/releases/tag/${src.rev}"; 35 + license = licenses.gpl3Only; 36 + maintainers = with maintainers; [ figsoda ]; 37 + mainProgram = "pysentation"; 38 + }; 39 + }
+3 -3
pkgs/applications/networking/charles/default.nix
··· 57 meta = with lib; { 58 description = "Web Debugging Proxy"; 59 homepage = "https://www.charlesproxy.com/"; 60 - maintainers = with maintainers; [ kalbasit ]; 61 sourceProvenance = with sourceTypes; [ binaryBytecode ]; 62 license = licenses.unfree; 63 platforms = platforms.unix; ··· 66 67 in { 68 charles4 = (generic { 69 - version = "4.6.2"; 70 - sha256 = "0r5rann7cq665ih0pa66k52081gylk85ashrwq1khbv2jf80yy52"; 71 platform = "_amd64"; 72 jdk = jdk11; 73 });
··· 57 meta = with lib; { 58 description = "Web Debugging Proxy"; 59 homepage = "https://www.charlesproxy.com/"; 60 + maintainers = with maintainers; [ kalbasit kashw2 ]; 61 sourceProvenance = with sourceTypes; [ binaryBytecode ]; 62 license = licenses.unfree; 63 platforms = platforms.unix; ··· 66 67 in { 68 charles4 = (generic { 69 + version = "4.6.4"; 70 + sha256 = "KEQYb90kt41dS3TJLZqdaV9P3mQA9UPsEyiFb/knm3w="; 71 platform = "_amd64"; 72 jdk = jdk11; 73 });
+3 -3
pkgs/applications/networking/cluster/civo/default.nix
··· 2 3 buildGoModule rec { 4 pname = "civo"; 5 - version = "1.0.61"; 6 7 src = fetchFromGitHub { 8 owner = "civo"; 9 repo = "cli"; 10 rev = "v${version}"; 11 - sha256 = "sha256-Q3GIAbQ1I1qsMc5Is9SkYxc+nGuC6z8zu9cW2shwC6c="; 12 }; 13 14 - vendorHash = "sha256-Ye01MmYHK2YGFsbELLVaXBeQbFGABS6WQUoH8AldRW0="; 15 16 nativeBuildInputs = [ installShellFiles ]; 17
··· 2 3 buildGoModule rec { 4 pname = "civo"; 5 + version = "1.0.65"; 6 7 src = fetchFromGitHub { 8 owner = "civo"; 9 repo = "cli"; 10 rev = "v${version}"; 11 + sha256 = "sha256-zuWKU2bZM0zdEupvWi1CV3S7urEhm4dc+sFYoQmljCk="; 12 }; 13 14 + vendorHash = "sha256-Tym9Xu+oECUm78nIAyDwYYpR88wNxT4bmoy7iUwUQTU="; 15 16 nativeBuildInputs = [ installShellFiles ]; 17
+3 -3
pkgs/applications/networking/cluster/cloudfoundry-cli/default.nix
··· 2 3 buildGoModule rec { 4 pname = "cloudfoundry-cli"; 5 - version = "8.7.1"; 6 7 src = fetchFromGitHub { 8 owner = "cloudfoundry"; 9 repo = "cli"; 10 rev = "v${version}"; 11 - sha256 = "sha256-cHiT6Lz3BEn+ENn7NQY0Yw3b7WzcsBOUKVPokSmrZZ8="; 12 }; 13 - vendorHash = "sha256-QDJrfgVAIynLLmQ64II+ZI8rD+qL2J3O19YKMlwUi7M="; 14 15 subPackages = [ "." ]; 16
··· 2 3 buildGoModule rec { 4 pname = "cloudfoundry-cli"; 5 + version = "8.7.2"; 6 7 src = fetchFromGitHub { 8 owner = "cloudfoundry"; 9 repo = "cli"; 10 rev = "v${version}"; 11 + sha256 = "sha256-6Ce9fmL0wZXCCRbJMqSD6xZQfDZl6EsiPpmfvYFT2tA="; 12 }; 13 + vendorHash = "sha256-5/aGyJ+SksnjuKsWVyz60OsAcz3z/BP+wCwlKEmxHb4="; 14 15 subPackages = [ "." ]; 16
+3 -3
pkgs/applications/networking/cluster/k3sup/default.nix
··· 9 10 buildGoModule rec { 11 pname = "k3sup"; 12 - version = "0.12.15"; 13 14 src = fetchFromGitHub { 15 owner = "alexellis"; 16 repo = "k3sup"; 17 rev = version; 18 - sha256 = "sha256-7eO4QCCgsNWXoo/H0JdMIS7e74p+Ph62OpjBtjmvJKY="; 19 }; 20 21 nativeBuildInputs = [ makeWrapper installShellFiles ]; 22 23 - vendorHash = "sha256-cCodzX7/JBEEFAwlspaITju4Ev1Gno+DsrEkUpAFwxM="; 24 25 postConfigure = '' 26 substituteInPlace vendor/github.com/alexellis/go-execute/pkg/v1/exec.go \
··· 9 10 buildGoModule rec { 11 pname = "k3sup"; 12 + version = "0.13.0"; 13 14 src = fetchFromGitHub { 15 owner = "alexellis"; 16 repo = "k3sup"; 17 rev = version; 18 + sha256 = "sha256-GppNYNqX/YqRtCYQIe3t2x6eNJCZc/yi6F2xHvA3YXE="; 19 }; 20 21 nativeBuildInputs = [ makeWrapper installShellFiles ]; 22 23 + vendorHash = null; 24 25 postConfigure = '' 26 substituteInPlace vendor/github.com/alexellis/go-execute/pkg/v1/exec.go \
+3 -3
pkgs/applications/networking/cluster/krelay/default.nix
··· 2 3 buildGoModule rec { 4 pname = "krelay"; 5 - version = "0.0.5"; 6 7 src = fetchFromGitHub { 8 owner = "knight42"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "sha256-TC+1y0RNBobHr1BsvZdmOM58N2CIBeA7pQoWRj1SXCw="; 12 }; 13 14 - vendorHash = "sha256-yW6Uephj+cpaMO8LMOv3I02nvooscACB9N2vq1qrXwY="; 15 16 subPackages = [ "cmd/client" ]; 17
··· 2 3 buildGoModule rec { 4 pname = "krelay"; 5 + version = "0.0.6"; 6 7 src = fetchFromGitHub { 8 owner = "knight42"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-hyjseBIyPdY/xy163bGtfNR1rN/cQczJO53gu4/WmiU="; 12 }; 13 14 + vendorHash = "sha256-uDLc1W3jw3F+23C5S65Tcljiurobw4IRw7gYzZyBxQ0="; 15 16 subPackages = [ "cmd/client" ]; 17
+5 -5
pkgs/applications/networking/cluster/kubectl-klock/default.nix
··· 1 - { lib, buildGoModule, fetchFromGitHub }: 2 3 - buildGoModule rec { 4 pname = "kubectl-klock"; 5 - version = "0.3.2"; 6 7 src = fetchFromGitHub { 8 owner = "jillejr"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "sha256-tXsRifIZRS2W4O4VOONuLsunYGLG5C9KfgnZQQqKACg="; 12 }; 13 14 - vendorSha256 = "sha256-r4oAmD/7CXYiWEWR/FC/Ab0LNxehWv6oCWjQ/fGU2rU="; 15 16 meta = with lib; { 17 description = "A kubectl plugin to render watch output in a more readable fashion";
··· 1 + { lib, buildGo121Module, fetchFromGitHub }: 2 3 + buildGo121Module rec { 4 pname = "kubectl-klock"; 5 + version = "0.4.0"; 6 7 src = fetchFromGitHub { 8 owner = "jillejr"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-HO9/hr/CBmJkrbNdX8tp2pNRfZDaWNW8shyCR46G77A="; 12 }; 13 14 + vendorSha256 = "sha256-QvD5yVaisq5Zz/M81HAMKpgQJRB5qPCYveLgldHHGf0="; 15 16 meta = with lib; { 17 description = "A kubectl plugin to render watch output in a more readable fashion";
+10 -8
pkgs/applications/networking/cluster/multus-cni/default.nix
··· 2 3 buildGoModule rec { 4 pname = "multus-cni"; 5 - version = "3.9.3"; 6 7 src = fetchFromGitHub { 8 owner = "k8snetworkplumbingwg"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "sha256-43cFBrFM2jvD/SJ+QT1JQkr593jkdzAAvYlVUAQArEw="; 12 }; 13 14 ldflags = [ ··· 17 "-X=gopkg.in/k8snetworkplumbingwg/multus-cni.v3/pkg/multus.version=${version}" 18 ]; 19 20 - preInstall = '' 21 - mv $GOPATH/bin/cmd $GOPATH/bin/multus 22 - ''; 23 24 vendorHash = null; 25 26 - # Some of the tests require accessing a k8s cluster 27 - doCheck = false; 28 29 meta = with lib; { 30 description = "Multus CNI is a container network interface (CNI) plugin for Kubernetes that enables attaching multiple network interfaces to pods"; 31 homepage = "https://github.com/k8snetworkplumbingwg/multus-cni"; 32 license = licenses.asl20; 33 platforms = platforms.linux; 34 - maintainers = with maintainers; [ onixie ]; 35 mainProgram = "multus"; 36 }; 37 }
··· 2 3 buildGoModule rec { 4 pname = "multus-cni"; 5 + version = "4.0.2"; 6 7 src = fetchFromGitHub { 8 owner = "k8snetworkplumbingwg"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-Q6ACXOv1E3Ouki4ksdlUZFbWcDgo9xbCiTfEiVG5l18="; 12 }; 13 14 ldflags = [ ··· 17 "-X=gopkg.in/k8snetworkplumbingwg/multus-cni.v3/pkg/multus.version=${version}" 18 ]; 19 20 + subPackages = [ 21 + "cmd/multus-daemon" 22 + "cmd/multus-shim" 23 + "cmd/multus" 24 + "cmd/thin_entrypoint" 25 + ]; 26 27 vendorHash = null; 28 29 + doCheck = true; 30 31 meta = with lib; { 32 description = "Multus CNI is a container network interface (CNI) plugin for Kubernetes that enables attaching multiple network interfaces to pods"; 33 homepage = "https://github.com/k8snetworkplumbingwg/multus-cni"; 34 license = licenses.asl20; 35 platforms = platforms.linux; 36 + maintainers = with maintainers; [ onixie kashw2 ]; 37 mainProgram = "multus"; 38 }; 39 }
+3 -3
pkgs/applications/networking/cluster/pluto/default.nix
··· 2 3 buildGoModule rec { 4 pname = "pluto"; 5 - version = "5.18.2"; 6 7 src = fetchFromGitHub { 8 owner = "FairwindsOps"; 9 repo = "pluto"; 10 rev = "v${version}"; 11 - sha256 = "sha256-PouKOIyKv7mxlBZJYCBppADdkf/XD28gavozCFFcO24="; 12 }; 13 14 - vendorHash = "sha256-okqDtxSKVLlmnm5JdCKSvRZkXTsghi/L5R9TX10WWjY="; 15 16 ldflags = [ 17 "-w" "-s"
··· 2 3 buildGoModule rec { 4 pname = "pluto"; 5 + version = "5.18.3"; 6 7 src = fetchFromGitHub { 8 owner = "FairwindsOps"; 9 repo = "pluto"; 10 rev = "v${version}"; 11 + sha256 = "sha256-D85+cT4bRVQwyrXs+NZJetRIHP3I7nbJKqOTjatoxwc="; 12 }; 13 14 + vendorHash = "sha256-ysMRE/OwMf4rBnlkpkW9K8ZHEEbHpQ02RXNwLLSr0nY="; 15 16 ldflags = [ 17 "-w" "-s"
+3 -3
pkgs/applications/networking/cluster/pv-migrate/default.nix
··· 2 3 buildGoModule rec { 4 pname = "pv-migrate"; 5 - version = "1.2.0"; 6 7 src = fetchFromGitHub { 8 owner = "utkuozdemir"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "sha256-mTzVMO0Msk5q8Wnpb0iQ8kifhNXlp4MfM+irMmOLDv8="; 12 }; 13 14 subPackages = [ "cmd/pv-migrate" ]; 15 16 - vendorHash = "sha256-SyORFCfX/4dhYLnsE/lc21/18TKpLkOxz+W9lsHjKNE="; 17 18 ldflags = [ 19 "-s"
··· 2 3 buildGoModule rec { 4 pname = "pv-migrate"; 5 + version = "1.3.0"; 6 7 src = fetchFromGitHub { 8 owner = "utkuozdemir"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-J4GsXLff9OQNiLv3AvBLtmz383E2JPEB3VEN3nzE5R8="; 12 }; 13 14 subPackages = [ "cmd/pv-migrate" ]; 15 16 + vendorHash = "sha256-PzmNCBTw9AfDUBh/tWlukH5EGJffEBCBT1gJTMIZRO0="; 17 18 ldflags = [ 19 "-s"
+2 -2
pkgs/applications/science/misc/cytoscape/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "cytoscape"; 5 - version = "3.10.0"; 6 7 src = fetchurl { 8 url = "https://github.com/cytoscape/cytoscape/releases/download/${version}/${pname}-unix-${version}.tar.gz"; 9 - sha256 = "sha256-xfEVNOXptMpcrisr+a62JruXki1V0YjA/j4US7X8mXA="; 10 }; 11 12 patches = [
··· 2 3 stdenv.mkDerivation rec { 4 pname = "cytoscape"; 5 + version = "3.10.1"; 6 7 src = fetchurl { 8 url = "https://github.com/cytoscape/cytoscape/releases/download/${version}/${pname}-unix-${version}.tar.gz"; 9 + sha256 = "sha256-fqxAsnpMYCYj0hW2oxu/NH4PqesRlWPs5eDSeSjy1aU="; 10 }; 11 12 patches = [
+3 -3
pkgs/applications/version-management/gitui/default.nix
··· 12 13 rustPlatform.buildRustPackage rec { 14 pname = "gitui"; 15 - version = "0.24.1"; 16 17 src = fetchFromGitHub { 18 owner = "extrawurst"; 19 repo = pname; 20 rev = "v${version}"; 21 - hash = "sha256-FcOpLCLoeY+uZA+IMWNxUUbu9yieNVqPl4iiV8BDpTE="; 22 }; 23 24 - cargoHash = "sha256-UvMtA+2inMLBjQA+17nozI/VrU1NR0A7eym1VyjYoAg="; 25 26 nativeBuildInputs = [ pkg-config ]; 27
··· 12 13 rustPlatform.buildRustPackage rec { 14 pname = "gitui"; 15 + version = "0.24.2"; 16 17 src = fetchFromGitHub { 18 owner = "extrawurst"; 19 repo = pname; 20 rev = "v${version}"; 21 + hash = "sha256-sqYG27TImVpsoG0PH5AQrAyFTHOXOJnWEqG9RxLbkLo="; 22 }; 23 24 + cargoHash = "sha256-Dlvr+lwCj68CSa2G2lc4dNShCfj56h9FqA9UZUOq+IQ="; 25 26 nativeBuildInputs = [ pkg-config ]; 27
+2 -2
pkgs/applications/video/kodi/addons/certifi/default.nix
··· 2 buildKodiAddon rec { 3 pname = "certifi"; 4 namespace = "script.module.certifi"; 5 - version = "2022.9.24"; 6 7 src = fetchzip { 8 url = "https://mirrors.kodi.tv/addons/nexus/${namespace}/${namespace}-${version}.zip"; 9 - sha256 = "sha256-kIPGEjmnHlgVb11W2RKBlrMy3/+kUOcQZiLCcnHCcno="; 10 }; 11 12 patches = [
··· 2 buildKodiAddon rec { 3 pname = "certifi"; 4 namespace = "script.module.certifi"; 5 + version = "2023.5.7"; 6 7 src = fetchzip { 8 url = "https://mirrors.kodi.tv/addons/nexus/${namespace}/${namespace}-${version}.zip"; 9 + sha256 = "sha256-NQbjx+k9fnQMYLLMR5+N5NSuDcXEzZjlhGPA3qSmjfI="; 10 }; 11 12 patches = [
+3 -7
pkgs/applications/video/subtitleedit/default.nix
··· 16 17 stdenv.mkDerivation rec { 18 pname = "subtitleedit"; 19 - version = "3.6.13"; 20 21 src = fetchzip { 22 url = "https://github.com/SubtitleEdit/subtitleedit/releases/download/${version}/SE${lib.replaceStrings [ "." ] [ "" ] version}.zip"; 23 - sha256 = "sha256-LoACcpeK1s6EyM5svnsncTENLAEuRqonNLaQ2q4UFxM="; 24 stripRoot = false; 25 }; 26 - 27 - preUnpack = '' 28 - rm -rf source 29 - ''; 30 31 nativeBuildInputs = [ 32 copyDesktopItems ··· 84 85 meta = with lib; { 86 description = "A subtitle editor"; 87 - homepage = "https://nikse.dk/subtitleedit/"; 88 license = licenses.gpl3Plus; 89 longDescription = '' 90 With Subtitle Edit you can easily adjust a subtitle if it is out of sync with
··· 16 17 stdenv.mkDerivation rec { 18 pname = "subtitleedit"; 19 + version = "4.0.0"; 20 21 src = fetchzip { 22 url = "https://github.com/SubtitleEdit/subtitleedit/releases/download/${version}/SE${lib.replaceStrings [ "." ] [ "" ] version}.zip"; 23 + sha256 = "sha256-b98+D2XkPly2J+SliKJ7YGJoSiK+1qGGOqZXzIV6nn4="; 24 stripRoot = false; 25 }; 26 27 nativeBuildInputs = [ 28 copyDesktopItems ··· 80 81 meta = with lib; { 82 description = "A subtitle editor"; 83 + homepage = "https://nikse.dk/subtitleedit"; 84 license = licenses.gpl3Plus; 85 longDescription = '' 86 With Subtitle Edit you can easily adjust a subtitle if it is out of sync with
+2 -2
pkgs/applications/video/vdr/softhddevice/default.nix
··· 12 }: 13 stdenv.mkDerivation rec { 14 pname = "vdr-softhddevice"; 15 - version = "1.11.2"; 16 17 src = fetchFromGitHub { 18 owner = "ua0lnj"; 19 repo = "vdr-plugin-softhddevice"; 20 - sha256 = "sha256-V/jkwj/FWgebT4w/n9R5p5xiRNacTolnS3/SYy7FJwA="; 21 rev = "v${version}"; 22 }; 23
··· 12 }: 13 stdenv.mkDerivation rec { 14 pname = "vdr-softhddevice"; 15 + version = "1.12.1"; 16 17 src = fetchFromGitHub { 18 owner = "ua0lnj"; 19 repo = "vdr-plugin-softhddevice"; 20 + sha256 = "sha256-/Q+O/6kK55E+JN1khRvM7F6H/Vnp/OOD80eU4zmrBt8="; 21 rev = "v${version}"; 22 }; 23
+101
pkgs/by-name/README.md
···
··· 1 + # Name-based package directories 2 + 3 + The structure of this directory maps almost directly to top-level package attributes. 4 + This is the recommended way to add new top-level packages to Nixpkgs [when possible](#limitations). 5 + 6 + ## Example 7 + 8 + The top-level package `pkgs.some-package` may be declared by setting up this file structure: 9 + 10 + ``` 11 + pkgs 12 + └── by-name 13 + ├── so 14 + ┊ ├── some-package 15 + ┊ └── package.nix 16 + 17 + ``` 18 + 19 + Where `some-package` is the package name and `so` is the lowercased 2-letter prefix of the package name. 20 + 21 + The `package.nix` may look like this: 22 + 23 + ```nix 24 + # A function taking an attribute set as an argument 25 + { 26 + # Get access to top-level attributes for use as dependencies 27 + lib, 28 + stdenv, 29 + libbar, 30 + 31 + # Make this derivation configurable using `.override { enableBar = true }` 32 + enableBar ? false, 33 + }: 34 + 35 + # The return value must be a derivation 36 + stdenv.mkDerivation { 37 + # ... 38 + buildInputs = 39 + lib.optional enableBar libbar; 40 + } 41 + ``` 42 + 43 + You can also split up the package definition into more files in the same directory if necessary. 44 + 45 + Once defined, the package can be built from the Nixpkgs root directory using: 46 + ``` 47 + nix-build -A some-package 48 + ``` 49 + 50 + See the [general package conventions](../README.md#conventions) for more information on package definitions. 51 + 52 + ### Changing implicit attribute defaults 53 + 54 + The above expression is called using these arguments by default: 55 + ```nix 56 + { 57 + lib = pkgs.lib; 58 + stdenv = pkgs.stdenv; 59 + libbar = pkgs.libbar; 60 + } 61 + ``` 62 + 63 + But the package might need `pkgs.libbar_2` instead. 64 + While the function could be changed to take `libbar_2` directly as an argument, 65 + this would change the `.override` interface, breaking code like `.override { libbar = ...; }`. 66 + So instead it is preferable to use the same generic parameter name `libbar` 67 + and override its value in [`pkgs/top-level/all-packages.nix`](../top-level/all-packages.nix): 68 + 69 + ```nix 70 + libfoo = callPackage ../by-name/so/somePackage/package.nix { 71 + libbar = libbar_2; 72 + }; 73 + ``` 74 + 75 + ## Limitations 76 + 77 + There's some limitations as to which packages can be defined using this structure: 78 + 79 + - Only packages defined using `pkgs.callPackage`. 80 + This excludes packages defined using `pkgs.python3Packages.callPackage ...`. 81 + 82 + Instead use the [category hierarchy](../README.md#category-hierarchy) for such attributes. 83 + 84 + - Only top-level packages. 85 + This excludes packages for other package sets like `pkgs.pythonPackages.*`. 86 + 87 + Refer to the definition and documentation of the respective package set to figure out how such packages can be declared. 88 + 89 + ## Validation 90 + 91 + CI performs [certain checks](../test/nixpkgs-check-by-name/README.md#validity-checks) on the `pkgs/by-name` structure. 92 + This is done using the [`nixpkgs-check-by-name` tool](../test/nixpkgs-check-by-name). 93 + The version of this tool used is the one that corresponds to the NixOS channel of the PR base branch. 94 + See [here](../../.github/workflows/check-by-name.yml) for details. 95 + 96 + The tool can be run locally using 97 + 98 + ```bash 99 + nix-build -A tests.nixpkgs-check-by-name 100 + result/bin/nixpkgs-check-by-name . 101 + ```
+2 -2
pkgs/data/fonts/sarasa-gothic/default.nix
··· 2 3 stdenvNoCC.mkDerivation rec { 4 pname = "sarasa-gothic"; 5 - version = "0.41.6"; 6 7 src = fetchurl { 8 # Use the 'ttc' files here for a smaller closure size. 9 # (Using 'ttf' files gives a closure size about 15x larger, as of November 2021.) 10 url = "https://github.com/be5invis/Sarasa-Gothic/releases/download/v${version}/sarasa-gothic-ttc-${version}.7z"; 11 - hash = "sha256-6CDK9DNjBQ5EPp562na0DOWFmlxnlVl8Z8pwm3pGQ9A="; 12 }; 13 14 sourceRoot = ".";
··· 2 3 stdenvNoCC.mkDerivation rec { 4 pname = "sarasa-gothic"; 5 + version = "0.41.8"; 6 7 src = fetchurl { 8 # Use the 'ttc' files here for a smaller closure size. 9 # (Using 'ttf' files gives a closure size about 15x larger, as of November 2021.) 10 url = "https://github.com/be5invis/Sarasa-Gothic/releases/download/v${version}/sarasa-gothic-ttc-${version}.7z"; 11 + hash = "sha256-TLEyCFQfBsCCHqnYmJNMJFkM+iKWqly3969zw9AbTFQ="; 12 }; 13 14 sourceRoot = ".";
+4 -2
pkgs/development/php-packages/opentelemetry/default.nix
··· 1 { lib, buildPecl, fetchFromGitHub }: 2 3 let 4 - version = "1.0.0beta6"; 5 in buildPecl { 6 inherit version; 7 pname = "opentelemetry"; ··· 10 owner = "open-telemetry"; 11 repo = "opentelemetry-php-instrumentation"; 12 rev = version; 13 - hash = "sha256-dbyFb+Wh4thbnwASgPuQ4ceeke6NDMFLvNXjp66hLCM="; 14 }; 15 16 doCheck = true; 17
··· 1 { lib, buildPecl, fetchFromGitHub }: 2 3 let 4 + version = "1.0.0beta7"; 5 in buildPecl { 6 inherit version; 7 pname = "opentelemetry"; ··· 10 owner = "open-telemetry"; 11 repo = "opentelemetry-php-instrumentation"; 12 rev = version; 13 + hash = "sha256-FDCgRN+aV9c6ceKszrHDBmi14dEhrirlU8cbYrmIGdY="; 14 }; 15 + 16 + sourceRoot = "source/ext"; 17 18 doCheck = true; 19
+2 -2
pkgs/development/python-modules/astropy-healpix/default.nix
··· 13 14 buildPythonPackage rec { 15 pname = "astropy-healpix"; 16 - version = "0.7"; 17 18 src = fetchPypi { 19 inherit version; 20 pname = lib.replaceStrings ["-"] ["_"] pname; 21 - hash = "sha256-iMOE60MimXpY3ok46RrJ/5D2orbLKuI+IWnHQFrdOtg="; 22 }; 23 24 nativeBuildInputs = [
··· 13 14 buildPythonPackage rec { 15 pname = "astropy-healpix"; 16 + version = "1.0.0"; 17 18 src = fetchPypi { 19 inherit version; 20 pname = lib.replaceStrings ["-"] ["_"] pname; 21 + hash = "sha256-9ILvYqEOaGMD84xm8I3xe53e5a2CIZwjVx7oDXar7qM="; 22 }; 23 24 nativeBuildInputs = [
+10 -6
pkgs/development/python-modules/b2sdk/default.nix
··· 1 { lib 2 - , arrow 3 , buildPythonPackage 4 , fetchPypi 5 , importlib-metadata 6 , logfury 7 , pyfakefs ··· 12 , requests 13 , setuptools-scm 14 , tqdm 15 }: 16 17 buildPythonPackage rec { 18 pname = "b2sdk"; 19 - version = "1.19.0"; 20 format = "setuptools"; 21 22 disabled = pythonOlder "3.7"; 23 24 src = fetchPypi { 25 inherit pname version; 26 - hash = "sha256-aJpSt+dXjw4S33dBiMkaR6wxzwLru+jseuPKFj2R36Y="; 27 }; 28 29 nativeBuildInputs = [ ··· 31 ]; 32 33 propagatedBuildInputs = [ 34 - arrow 35 logfury 36 requests 37 tqdm 38 ] ++ lib.optionals (pythonOlder "3.8") [ 39 importlib-metadata 40 ]; 41 42 nativeCheckInputs = [ ··· 44 pytest-lazy-fixture 45 pytest-mock 46 pyfakefs 47 ]; 48 49 postPatch = '' 50 substituteInPlace setup.py \ 51 --replace 'setuptools_scm<6.0' 'setuptools_scm' 52 - substituteInPlace requirements.txt \ 53 - --replace 'arrow>=0.8.0,<1.0.0' 'arrow' 54 ''; 55 56 disabledTestPaths = [ ··· 73 meta = with lib; { 74 description = "Client library and utilities for access to B2 Cloud Storage (backblaze)"; 75 homepage = "https://github.com/Backblaze/b2-sdk-python"; 76 license = licenses.mit; 77 maintainers = with maintainers; [ ]; 78 };
··· 1 { lib 2 + , stdenv 3 , buildPythonPackage 4 , fetchPypi 5 + , glibcLocales 6 , importlib-metadata 7 , logfury 8 , pyfakefs ··· 13 , requests 14 , setuptools-scm 15 , tqdm 16 + , typing-extensions 17 }: 18 19 buildPythonPackage rec { 20 pname = "b2sdk"; 21 + version = "1.24.0"; 22 format = "setuptools"; 23 24 disabled = pythonOlder "3.7"; 25 26 src = fetchPypi { 27 inherit pname version; 28 + hash = "sha256-6zSjCt+J6530f1GMc/omP1zXKQKU1SDLLvslMWoqMcU="; 29 }; 30 31 nativeBuildInputs = [ ··· 33 ]; 34 35 propagatedBuildInputs = [ 36 logfury 37 requests 38 tqdm 39 ] ++ lib.optionals (pythonOlder "3.8") [ 40 importlib-metadata 41 + ] ++ lib.optionals (pythonOlder "3.12") [ 42 + typing-extensions 43 ]; 44 45 nativeCheckInputs = [ ··· 47 pytest-lazy-fixture 48 pytest-mock 49 pyfakefs 50 + ] ++ lib.optionals stdenv.isLinux [ 51 + glibcLocales 52 ]; 53 54 postPatch = '' 55 substituteInPlace setup.py \ 56 --replace 'setuptools_scm<6.0' 'setuptools_scm' 57 ''; 58 59 disabledTestPaths = [ ··· 76 meta = with lib; { 77 description = "Client library and utilities for access to B2 Cloud Storage (backblaze)"; 78 homepage = "https://github.com/Backblaze/b2-sdk-python"; 79 + changelog = "https://github.com/Backblaze/b2-sdk-python/blob/v${version}/CHANGELOG.md"; 80 license = licenses.mit; 81 maintainers = with maintainers; [ ]; 82 };
+2 -2
pkgs/development/python-modules/fastrlock/default.nix
··· 8 9 buildPythonPackage rec { 10 pname = "fastrlock"; 11 - version = "0.8.1"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; ··· 17 owner = "scoder"; 18 repo = pname; 19 rev = "refs/tags/v${version}"; 20 - hash = "sha256-KYJd1wGJo+z34cY0YfsRbpC9IsQY/VJqycGpMmLmaVk="; 21 }; 22 23 nativeBuildInputs = [
··· 8 9 buildPythonPackage rec { 10 pname = "fastrlock"; 11 + version = "0.8.2"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; ··· 17 owner = "scoder"; 18 repo = pname; 19 rev = "refs/tags/v${version}"; 20 + hash = "sha256-2h+rhP/EVMG3IkJVkE74p4GeBTwV3BS7fUkKpwedr2k="; 21 }; 22 23 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/sphinxcontrib-plantuml/default.nix
··· 8 9 buildPythonPackage rec { 10 pname = "sphinxcontrib-plantuml"; 11 - version = "0.25"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchPypi { 17 inherit pname version; 18 - hash = "sha256-j95THZLRz8KBf+Nkez8tB+dmgsSoSInASlPoMffFRDI="; 19 }; 20 21 propagatedBuildInputs = [
··· 8 9 buildPythonPackage rec { 10 pname = "sphinxcontrib-plantuml"; 11 + version = "0.26"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchPypi { 17 inherit pname version; 18 + hash = "sha256-rbM5fVywYTYyzT2teJQ4FCK6wkRkw5PLBQQE3WcSsac="; 19 }; 20 21 propagatedBuildInputs = [
+2 -2
pkgs/development/tools/analysis/checkov/default.nix
··· 22 23 buildPythonApplication rec { 24 pname = "checkov"; 25 - version = "2.4.22"; 26 format = "setuptools"; 27 28 src = fetchFromGitHub { 29 owner = "bridgecrewio"; 30 repo = pname; 31 rev = "refs/tags/${version}"; 32 - hash = "sha256-pbeyv7Ms/7iJUsxEl2YeHjbXJ5ZJZe2OXtDpnnH5ZD8="; 33 }; 34 35 patches = [
··· 22 23 buildPythonApplication rec { 24 pname = "checkov"; 25 + version = "2.4.25"; 26 format = "setuptools"; 27 28 src = fetchFromGitHub { 29 owner = "bridgecrewio"; 30 repo = pname; 31 rev = "refs/tags/${version}"; 32 + hash = "sha256-IVmC3/TbdVjbbWBY8Buw7CxiZs2D0X375D2dCT3UnM4="; 33 }; 34 35 patches = [
+2 -2
pkgs/development/tools/analysis/codeql/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "codeql"; 5 - version = "2.14.2"; 6 7 dontConfigure = true; 8 dontBuild = true; ··· 10 11 src = fetchzip { 12 url = "https://github.com/github/codeql-cli-binaries/releases/download/v${version}/codeql.zip"; 13 - sha256 = "sha256-FITcbf1+9euy55nQutDZMmRzpHxICdLBmTVHTRCyFLQ="; 14 }; 15 16 nativeBuildInputs = [
··· 2 3 stdenv.mkDerivation rec { 4 pname = "codeql"; 5 + version = "2.14.3"; 6 7 dontConfigure = true; 8 dontBuild = true; ··· 10 11 src = fetchzip { 12 url = "https://github.com/github/codeql-cli-binaries/releases/download/v${version}/codeql.zip"; 13 + sha256 = "sha256-GungnnWT4SoAGRmgFXooAwtha8hlEARNgUlqSrYHQ7o="; 14 }; 15 16 nativeBuildInputs = [
+21 -9
pkgs/development/tools/backblaze-b2/default.nix
··· 1 - { lib, python3Packages, fetchPypi }: 2 3 python3Packages.buildPythonApplication rec { 4 pname = "backblaze-b2"; 5 - version = "3.7.0"; 6 7 src = fetchPypi { 8 inherit version; 9 pname = "b2"; 10 - sha256 = "sha256-sW6gaZWUh3WX+0+qHRlQ4gZzKU4bL8ePPNKWo9rdF84="; 11 }; 12 13 postPatch = '' ··· 19 --replace 'setuptools_scm<6.0' 'setuptools_scm' 20 ''; 21 22 - nativeBuildInputs = with python3Packages; [ 23 - setuptools-scm 24 ]; 25 26 propagatedBuildInputs = with python3Packages; [ 27 b2sdk 28 phx-class-registry 29 setuptools 30 docutils 31 rst2ansi 32 tabulate 33 ]; 34 35 nativeCheckInputs = with python3Packages; [ 36 backoff 37 more-itertools 38 pytestCheckHook 39 ]; 40 ··· 46 # require network 47 "test_files_headers" 48 "test_integration" 49 ]; 50 51 disabledTestPaths = [ 52 # requires network 53 "test/integration/test_b2_command_line.py" 54 ]; 55 56 postInstall = '' 57 mv "$out/bin/b2" "$out/bin/backblaze-b2" 58 59 - sed 's/b2/backblaze-b2/' -i contrib/bash_completion/b2 60 - 61 - mkdir -p "$out/share/bash-completion/completions" 62 - cp contrib/bash_completion/b2 "$out/share/bash-completion/completions/backblaze-b2" 63 ''; 64 65 meta = with lib; { 66 description = "Command-line tool for accessing the Backblaze B2 storage service"; 67 homepage = "https://github.com/Backblaze/B2_Command_Line_Tool"; 68 license = licenses.mit; 69 maintainers = with maintainers; [ hrdinka kevincox tomhoule ]; 70 };
··· 1 + { lib, python3Packages, fetchPypi, installShellFiles }: 2 3 python3Packages.buildPythonApplication rec { 4 pname = "backblaze-b2"; 5 + version = "3.9.0"; 6 + format = "setuptools"; 7 8 src = fetchPypi { 9 inherit version; 10 pname = "b2"; 11 + hash = "sha256-Z9LQapWl0zblcAyMOfKhn5/O1H6+tmgiPQfAB241jqU="; 12 }; 13 14 postPatch = '' ··· 20 --replace 'setuptools_scm<6.0' 'setuptools_scm' 21 ''; 22 23 + nativeBuildInputs = [ 24 + installShellFiles 25 + python3Packages.setuptools-scm 26 ]; 27 28 propagatedBuildInputs = with python3Packages; [ 29 + argcomplete 30 + arrow 31 b2sdk 32 phx-class-registry 33 setuptools 34 docutils 35 rst2ansi 36 tabulate 37 + tqdm 38 ]; 39 40 nativeCheckInputs = with python3Packages; [ 41 backoff 42 more-itertools 43 + pexpect 44 pytestCheckHook 45 ]; 46 ··· 52 # require network 53 "test_files_headers" 54 "test_integration" 55 + 56 + # fixed by https://github.com/Backblaze/B2_Command_Line_Tool/pull/915 57 + "TestRmConsoleTool" 58 ]; 59 60 disabledTestPaths = [ 61 # requires network 62 "test/integration/test_b2_command_line.py" 63 + 64 + # it's hard to make it work on nix 65 + "test/integration/test_autocomplete.py" 66 ]; 67 68 postInstall = '' 69 mv "$out/bin/b2" "$out/bin/backblaze-b2" 70 71 + installShellCompletion --cmd backblaze-b2 \ 72 + --bash <(${python3Packages.argcomplete}/bin/register-python-argcomplete backblaze-b2) \ 73 + --zsh <(${python3Packages.argcomplete}/bin/register-python-argcomplete backblaze-b2) 74 ''; 75 76 meta = with lib; { 77 description = "Command-line tool for accessing the Backblaze B2 storage service"; 78 homepage = "https://github.com/Backblaze/B2_Command_Line_Tool"; 79 + changelog = "https://github.com/Backblaze/B2_Command_Line_Tool/blob/v${version}/CHANGELOG.md"; 80 license = licenses.mit; 81 maintainers = with maintainers; [ hrdinka kevincox tomhoule ]; 82 };
+5 -2
pkgs/development/tools/gammaray/default.nix
··· 4 , cmake 5 , pkg-config 6 , wrapQtAppsHook 7 , wayland 8 , elfutils 9 , libbfd ··· 11 12 stdenv.mkDerivation rec { 13 pname = "gammaray"; 14 - version = "2.11.3"; 15 16 src = fetchFromGitHub { 17 owner = "KDAB"; 18 repo = pname; 19 rev = "v${version}"; 20 - hash = "sha256-ZFLHBPIjkbHlsatwuXdut1C5MpdkVUb9T7TTNhtP764="; 21 }; 22 23 nativeBuildInputs = [ ··· 27 ]; 28 29 buildInputs = [ 30 wayland 31 elfutils 32 libbfd ··· 38 license = licenses.gpl2Plus; 39 platforms = platforms.linux; 40 maintainers = with maintainers; [ rewine ]; 41 }; 42 } 43
··· 4 , cmake 5 , pkg-config 6 , wrapQtAppsHook 7 + , qtbase 8 , wayland 9 , elfutils 10 , libbfd ··· 12 13 stdenv.mkDerivation rec { 14 pname = "gammaray"; 15 + version = "3.0.0"; 16 17 src = fetchFromGitHub { 18 owner = "KDAB"; 19 repo = pname; 20 rev = "v${version}"; 21 + hash = "sha256-C8bej0q4p8F27hiJUye9G+sZbkAYaV8hW1GKWZyHAis="; 22 }; 23 24 nativeBuildInputs = [ ··· 28 ]; 29 30 buildInputs = [ 31 + qtbase 32 wayland 33 elfutils 34 libbfd ··· 40 license = licenses.gpl2Plus; 41 platforms = platforms.linux; 42 maintainers = with maintainers; [ rewine ]; 43 + mainProgram = "gammaray"; 44 }; 45 } 46
+80
pkgs/development/tools/language-servers/perlnavigator/default.nix
···
··· 1 + { lib 2 + , buildNpmPackage 3 + , fetchFromGitHub 4 + }: 5 + 6 + let 7 + version = "0.6.0"; 8 + src = fetchFromGitHub { 9 + owner = "bscan"; 10 + repo = "PerlNavigator"; 11 + rev = "v${version}"; 12 + hash = "sha256-RMxM8g3ZdSt1B8WgwmcQgjpPZOCrVYYkhOt610SgbIw="; 13 + }; 14 + browser-ext = buildNpmPackage { 15 + pname = "perlnavigator-web-server"; 16 + inherit version src; 17 + sourceRoot = "${src.name}/browser-ext"; 18 + npmDepsHash = "sha256-PJKW+ni2wKw1ivkgQsL6g0jaxoYboa3XpVEEwgT4jWo="; 19 + dontNpmBuild = true; 20 + installPhase = '' 21 + cp -r . "$out" 22 + ''; 23 + }; 24 + client = buildNpmPackage { 25 + pname = "perlnavigator-client"; 26 + inherit version src; 27 + sourceRoot = "${src.name}/client"; 28 + npmDepsHash = "sha256-CM0l+D1VNkXBrZQHQGDiB/vAxMvpbHYoYlIugoLxSfA="; 29 + dontNpmBuild = true; 30 + installPhase = '' 31 + cp -r . "$out" 32 + ''; 33 + }; 34 + server = buildNpmPackage { 35 + pname = "perlnavigator-server"; 36 + inherit version src; 37 + sourceRoot = "${src.name}/server"; 38 + npmDepsHash = "sha256-TxK3ba9T97p8TBlULHUov6YX7WRl2QMq6TiNHxBoQeY="; 39 + dontNpmBuild = true; 40 + installPhase = '' 41 + cp -r . "$out" 42 + ''; 43 + }; 44 + in buildNpmPackage rec { 45 + pname = "perlnavigator"; 46 + inherit version src; 47 + 48 + npmDepsHash = "sha256-nEinmgrbbFC+nkfTwu9djiUS+tj0VM4WKl2oqKpcGtM="; 49 + 50 + postPatch = '' 51 + sed -i /postinstall/d package.json 52 + 53 + rm -r browser-ext client server 54 + cp -r ${browser-ext} browser-ext 55 + cp -r ${client} client 56 + cp -r ${server} server 57 + chmod +w browser-ext client server 58 + ''; 59 + 60 + env = { 61 + PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD = 1; 62 + }; 63 + 64 + npmBuildScript = "compile"; 65 + 66 + postInstall = '' 67 + cp -r ${browser-ext}/node_modules "$out/lib/node_modules/perlnavigator/browser-ext" 68 + cp -r ${client}/node_modules "$out/lib/node_modules/perlnavigator/client" 69 + cp -r ${server}/node_modules "$out/lib/node_modules/perlnavigator/server" 70 + ''; 71 + 72 + meta = { 73 + changelog = "https://github.com/bscan/PerlNavigator/blob/${src.rev}/CHANGELOG.md"; 74 + description = "Perl Language Server that includes syntax checking, perl critic, and code navigation"; 75 + homepage = "https://github.com/bscan/PerlNavigator/tree/main/server"; 76 + license = lib.licenses.mit; 77 + mainProgram = "perlnavigator"; 78 + maintainers = with lib.maintainers; [ wolfangaukang ]; 79 + }; 80 + }
+2 -2
pkgs/development/tools/misc/phpunit/default.nix
··· 2 3 let 4 pname = "phpunit"; 5 - version = "10.2.6"; 6 in 7 stdenv.mkDerivation { 8 inherit pname version; 9 10 src = fetchurl { 11 url = "https://phar.phpunit.de/phpunit-${version}.phar"; 12 - hash = "sha256-F2YKbAZtWIgwuFIg+wf57LaWPcY5mzYGR7sNDLH9Bb0="; 13 }; 14 15 dontUnpack = true;
··· 2 3 let 4 pname = "phpunit"; 5 + version = "10.3.2"; 6 in 7 stdenv.mkDerivation { 8 inherit pname version; 9 10 src = fetchurl { 11 url = "https://phar.phpunit.de/phpunit-${version}.phar"; 12 + hash = "sha256-DHAr0oI9EUgsKlEdJFqdQXkYEMSTBYf91ZV6qjf+Kx0="; 13 }; 14 15 dontUnpack = true;
+2 -2
pkgs/development/tools/okteto/default.nix
··· 2 3 buildGoModule rec { 4 pname = "okteto"; 5 - version = "2.19.0"; 6 7 src = fetchFromGitHub { 8 owner = "okteto"; 9 repo = "okteto"; 10 rev = version; 11 - hash = "sha256-cjdSJNhGP0YCent3r5GG1AhfWGbML46JAremXIwXMDY="; 12 }; 13 14 vendorHash = "sha256-u1oMX2ZplmDGx7ePfA5vKHUuDmWYVCJrYh2HQ23dTfU=";
··· 2 3 buildGoModule rec { 4 pname = "okteto"; 5 + version = "2.19.2"; 6 7 src = fetchFromGitHub { 8 owner = "okteto"; 9 repo = "okteto"; 10 rev = version; 11 + hash = "sha256-kzrjIsyHf/hUo4Axcg97CrIyjeexc2IZ4/bITuUR7NM="; 12 }; 13 14 vendorHash = "sha256-u1oMX2ZplmDGx7ePfA5vKHUuDmWYVCJrYh2HQ23dTfU=";
+3 -3
pkgs/development/tools/pscale/default.nix
··· 8 9 buildGoModule rec { 10 pname = "pscale"; 11 - version = "0.153.0"; 12 13 src = fetchFromGitHub { 14 owner = "planetscale"; 15 repo = "cli"; 16 rev = "v${version}"; 17 - sha256 = "sha256-iEn3iF13WSaNTF3+IHB1DlKNDPC1ObLQ2oAzPP8ffRM="; 18 }; 19 20 vendorHash = "sha256-hj+uzb1mpFrbbZXozCP9166i0C5pwIKhEtJOxovBCZE="; ··· 44 changelog = "https://github.com/planetscale/cli/releases/tag/v${version}"; 45 homepage = "https://www.planetscale.com/"; 46 license = licenses.asl20; 47 - maintainers = with maintainers; [ pimeys ]; 48 }; 49 }
··· 8 9 buildGoModule rec { 10 pname = "pscale"; 11 + version = "0.154.0"; 12 13 src = fetchFromGitHub { 14 owner = "planetscale"; 15 repo = "cli"; 16 rev = "v${version}"; 17 + sha256 = "sha256-TExrsxG+7K0QLuMmmIuNcmkFuU9jxbZsQSPxm1q+F0Q="; 18 }; 19 20 vendorHash = "sha256-hj+uzb1mpFrbbZXozCP9166i0C5pwIKhEtJOxovBCZE="; ··· 44 changelog = "https://github.com/planetscale/cli/releases/tag/v${version}"; 45 homepage = "https://www.planetscale.com/"; 46 license = licenses.asl20; 47 + maintainers = with maintainers; [ pimeys kashw2 ]; 48 }; 49 }
+8 -8
pkgs/games/factorio/versions.json
··· 2 "x86_64-linux": { 3 "alpha": { 4 "experimental": { 5 - "name": "factorio_alpha_x64-1.1.88.tar.xz", 6 "needsAuth": true, 7 - "sha256": "1imqg0yqrc1wgkw6x9hdakssl6vwlw4f9fxn4k6535vjqk7fpcas", 8 "tarDirectory": "x64", 9 - "url": "https://factorio.com/get-download/1.1.88/alpha/linux64", 10 - "version": "1.1.88" 11 }, 12 "stable": { 13 "name": "factorio_alpha_x64-1.1.87.tar.xz", ··· 38 }, 39 "headless": { 40 "experimental": { 41 - "name": "factorio_headless_x64-1.1.88.tar.xz", 42 "needsAuth": false, 43 - "sha256": "0k0c1yvlkd0bi7cz99xak0wvcpzg7zfn9nzydrd7fkxj6h41fivm", 44 "tarDirectory": "x64", 45 - "url": "https://factorio.com/get-download/1.1.88/headless/linux64", 46 - "version": "1.1.88" 47 }, 48 "stable": { 49 "name": "factorio_headless_x64-1.1.87.tar.xz",
··· 2 "x86_64-linux": { 3 "alpha": { 4 "experimental": { 5 + "name": "factorio_alpha_x64-1.1.89.tar.xz", 6 "needsAuth": true, 7 + "sha256": "1mv3lnxw8ihja1zm0kh2ghxb551pknmzjlz58iqxpkhlqmn3qi1q", 8 "tarDirectory": "x64", 9 + "url": "https://factorio.com/get-download/1.1.89/alpha/linux64", 10 + "version": "1.1.89" 11 }, 12 "stable": { 13 "name": "factorio_alpha_x64-1.1.87.tar.xz", ··· 38 }, 39 "headless": { 40 "experimental": { 41 + "name": "factorio_headless_x64-1.1.89.tar.xz", 42 "needsAuth": false, 43 + "sha256": "1an4g5sry47xmlqr53jans75ngrp819b07rrq4xkzdzmka0lkrcq", 44 "tarDirectory": "x64", 45 + "url": "https://factorio.com/get-download/1.1.89/headless/linux64", 46 + "version": "1.1.89" 47 }, 48 "stable": { 49 "name": "factorio_headless_x64-1.1.87.tar.xz",
+2 -2
pkgs/games/unciv/default.nix
··· 25 in 26 stdenv.mkDerivation rec { 27 pname = "unciv"; 28 - version = "4.7.19"; 29 30 src = fetchurl { 31 url = "https://github.com/yairm210/Unciv/releases/download/${version}/Unciv.jar"; 32 - hash = "sha256-ABPaI7FivP1yl9q0Ne5L4ZJoTlDwHOz0gegtNRi0u2E="; 33 }; 34 35 dontUnpack = true;
··· 25 in 26 stdenv.mkDerivation rec { 27 pname = "unciv"; 28 + version = "4.8.0"; 29 30 src = fetchurl { 31 url = "https://github.com/yairm210/Unciv/releases/download/${version}/Unciv.jar"; 32 + hash = "sha256-Mq6c8APLOYYKTIuBdkbscK43BSY5sWWqWlaR4KiXpwo="; 33 }; 34 35 dontUnpack = true;
+3 -3
pkgs/misc/cups/drivers/foomatic-db/default.nix
··· 13 14 stdenv.mkDerivation rec { 15 pname = "foomatic-db"; 16 - version = "unstable-2023-08-02"; 17 18 src = fetchFromGitHub { 19 # there is also a daily snapshot at the `downloadPage`, 20 # but it gets deleted quickly and would provoke 404 errors 21 owner = "OpenPrinting"; 22 repo = "foomatic-db"; 23 - rev = "a6e32fa657f3598dc87c650a9fa9cfa38dda6a60"; 24 - hash = "sha256-lEnog9Klxny6oEm/l2HDlI0DY5aIdPjHhWCBex2vp9Y="; 25 }; 26 27 buildInputs = [ cups cups-filters ghostscript gnused perl ];
··· 13 14 stdenv.mkDerivation rec { 15 pname = "foomatic-db"; 16 + version = "unstable-2023-09-02"; 17 18 src = fetchFromGitHub { 19 # there is also a daily snapshot at the `downloadPage`, 20 # but it gets deleted quickly and would provoke 404 errors 21 owner = "OpenPrinting"; 22 repo = "foomatic-db"; 23 + rev = "4e6ab90da63afddee33d80115acb44149d2d292b"; 24 + hash = "sha256-wtDGJUyViiCenCY4zvr0Ia4ecZpoDsDSWwlYYs3YMT8="; 25 }; 26 27 buildInputs = [ cups cups-filters ghostscript gnused perl ];
+2 -2
pkgs/misc/screensavers/betterlockscreen/default.nix
··· 26 27 stdenv.mkDerivation rec { 28 pname = "betterlockscreen"; 29 - version = "4.0.4"; 30 31 src = fetchFromGitHub { 32 owner = "pavanjadhaw"; 33 repo = "betterlockscreen"; 34 rev = "v${version}"; 35 - sha256 = "sha256-ZZnwByxfESE8ZOOh1vnbphUHDolo9MIQh3erjtBLmWQ="; 36 }; 37 38 nativeBuildInputs = [ makeWrapper ];
··· 26 27 stdenv.mkDerivation rec { 28 pname = "betterlockscreen"; 29 + version = "4.2.0"; 30 31 src = fetchFromGitHub { 32 owner = "pavanjadhaw"; 33 repo = "betterlockscreen"; 34 rev = "v${version}"; 35 + sha256 = "sha256-e/NyUxrN18+x2zt+JzqVA00P8VdHo8oj9Bx09XKI+Eg="; 36 }; 37 38 nativeBuildInputs = [ makeWrapper ];
+2 -2
pkgs/os-specific/linux/intel-cmt-cat/default.nix
··· 1 { lib, stdenv, fetchFromGitHub }: 2 3 stdenv.mkDerivation rec { 4 - version = "4.6.0"; 5 pname = "intel-cmt-cat"; 6 7 src = fetchFromGitHub { 8 owner = "intel"; 9 repo = "intel-cmt-cat"; 10 rev = "v${version}"; 11 - sha256 = "sha256-Bw/WY30ytvwBo+OZ27WG2aY3YN9xczdjs4jcHR/Tv/w="; 12 }; 13 14 enableParallelBuilding = true;
··· 1 { lib, stdenv, fetchFromGitHub }: 2 3 stdenv.mkDerivation rec { 4 + version = "23.08"; 5 pname = "intel-cmt-cat"; 6 7 src = fetchFromGitHub { 8 owner = "intel"; 9 repo = "intel-cmt-cat"; 10 rev = "v${version}"; 11 + sha256 = "sha256-T97cTJLGSJgOoQFgL/lI+AldqsCEcHilhTTDZy+pmU8="; 12 }; 13 14 enableParallelBuilding = true;
+7 -3
pkgs/servers/bindle/default.nix
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "bindle"; 5 - version = "0.8.1"; 6 7 src = fetchFromGitHub { 8 owner = "deislabs"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "sha256-Mc3LaEOWx8cN7g0r8CtWkGZ746gAXTaFmAZhEIkbWgM="; 12 }; 13 14 doCheck = false; # Tests require a network 15 16 nativeBuildInputs = [ pkg-config ]; 17 buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security; 18 19 - cargoSha256 = "sha256-brsemnw/9YEsA2FEIdYGmQMdlIoT1ZEMjvOpF44gcRE="; 20 21 cargoBuildFlags = [ 22 "--bin" "bindle"
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "bindle"; 5 + version = "0.9.1"; 6 7 src = fetchFromGitHub { 8 owner = "deislabs"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-xehn74fqP0tEtP4Qy9TRGv+P2QoHZLxRHzGoY5cQuv0="; 12 }; 13 14 + postPatch = '' 15 + rm .cargo/config 16 + ''; 17 + 18 doCheck = false; # Tests require a network 19 20 nativeBuildInputs = [ pkg-config ]; 21 buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security; 22 23 + cargoSha256 = "sha256-RECEeo0uoGO5bBe+r++zpTjYYX3BIkT58uht2MLYkN0="; 24 25 cargoBuildFlags = [ 26 "--bin" "bindle"
+2 -2
pkgs/servers/hitch/default.nix
··· 1 { lib, stdenv, fetchurl, docutils, libev, openssl, pkg-config, nixosTests }: 2 stdenv.mkDerivation rec { 3 - version = "1.7.3"; 4 pname = "hitch"; 5 6 src = fetchurl { 7 url = "https://hitch-tls.org/source/${pname}-${version}.tar.gz"; 8 - sha256 = "sha256-Ghv0lV13W3GNwxyJoaBRdlMLDKhW+V7kKivHoj8ol4c="; 9 }; 10 11 nativeBuildInputs = [ pkg-config ];
··· 1 { lib, stdenv, fetchurl, docutils, libev, openssl, pkg-config, nixosTests }: 2 stdenv.mkDerivation rec { 3 + version = "1.8.0"; 4 pname = "hitch"; 5 6 src = fetchurl { 7 url = "https://hitch-tls.org/source/${pname}-${version}.tar.gz"; 8 + sha256 = "sha256-38mUhLx//qJ6MWnoTWwheYjtpHsgirLlUk3Cpd0Vj04="; 9 }; 10 11 nativeBuildInputs = [ pkg-config ];
+2 -2
pkgs/servers/jackett/default.nix
··· 9 10 buildDotnetModule rec { 11 pname = "jackett"; 12 - version = "0.21.724"; 13 14 src = fetchFromGitHub { 15 owner = pname; 16 repo = pname; 17 rev = "v${version}"; 18 - hash = "sha512-a07qOOpdaD4M6GqP3VCOe6UpJFjtb2xXNltUlrTtgF06wuwCjzf1euSxzzRjXXSLSUeTtpgwMp4dTFIIND9Huw=="; 19 }; 20 21 projectFile = "src/Jackett.Server/Jackett.Server.csproj";
··· 9 10 buildDotnetModule rec { 11 pname = "jackett"; 12 + version = "0.21.747"; 13 14 src = fetchFromGitHub { 15 owner = pname; 16 repo = pname; 17 rev = "v${version}"; 18 + hash = "sha512-RSHMDrcg8yuMMXXv5bIfF0k3QyXSIAdA7myvLw+PaTpHQHFZKQ4MkS7nDEGT2vxU2yX872sSIgtRRX7Xcm2mQg=="; 19 }; 20 21 projectFile = "src/Jackett.Server/Jackett.Server.csproj";
+6
pkgs/servers/mail/exim/default.nix
··· 1 { coreutils, db, fetchurl, openssl, pcre2, perl, pkg-config, lib, stdenv 2 , enableLDAP ? false, openldap 3 , enableMySQL ? false, libmysqlclient, zlib 4 , enableAuthDovecot ? false, dovecot ··· 94 #/^\s*#.*/d 95 #/^\s*$/d 96 ' < src/EDITME > Local/Makefile 97 98 runHook postConfigure 99 '';
··· 1 { coreutils, db, fetchurl, openssl, pcre2, perl, pkg-config, lib, stdenv 2 + , procps, killall 3 , enableLDAP ? false, openldap 4 , enableMySQL ? false, libmysqlclient, zlib 5 , enableAuthDovecot ? false, dovecot ··· 95 #/^\s*#.*/d 96 #/^\s*$/d 97 ' < src/EDITME > Local/Makefile 98 + 99 + { 100 + echo EXIWHAT_PS_CMD=${procps}/bin/ps 101 + echo EXIWHAT_MULTIKILL_CMD=${killall}/bin/killall 102 + } >> Local/Makefile 103 104 runHook postConfigure 105 '';
+3 -3
pkgs/servers/matrix-synapse/default.nix
··· 16 in 17 python3.pkgs.buildPythonApplication rec { 18 pname = "matrix-synapse"; 19 - version = "1.91.0"; 20 format = "pyproject"; 21 22 src = fetchFromGitHub { 23 owner = "matrix-org"; 24 repo = "synapse"; 25 rev = "v${version}"; 26 - hash = "sha256-rLEewCN8OdZ4wIWQRbLkxVF/VOAESTLAVQLfUu/PYsA="; 27 }; 28 29 cargoDeps = rustPlatform.fetchCargoTarball { 30 inherit src; 31 name = "${pname}-${version}"; 32 - hash = "sha256-aOoSvT6e2x7JcXoQ2sVTCDvkWupixLzpbk3cTHVQs7I="; 33 }; 34 35 postPatch = ''
··· 16 in 17 python3.pkgs.buildPythonApplication rec { 18 pname = "matrix-synapse"; 19 + version = "1.91.1"; 20 format = "pyproject"; 21 22 src = fetchFromGitHub { 23 owner = "matrix-org"; 24 repo = "synapse"; 25 rev = "v${version}"; 26 + hash = "sha256-SOQp+mqADO+iwvKPA50IdxBvVzMiUUZ7f1hwXQYyopA="; 27 }; 28 29 cargoDeps = rustPlatform.fetchCargoTarball { 30 inherit src; 31 name = "${pname}-${version}"; 32 + hash = "sha256-vkM1U9L9PGDZFw64KAQyRQWtewRzXXWhk35m23x6o+8="; 33 }; 34 35 postPatch = ''
+4 -3
pkgs/shells/carapace/default.nix
··· 2 3 buildGoModule rec { 4 pname = "carapace"; 5 - version = "0.26.0"; 6 7 src = fetchFromGitHub { 8 owner = "rsteube"; 9 repo = "${pname}-bin"; 10 rev = "v${version}"; 11 - sha256 = "sha256-1e2hrAoFtnG1lU7evYnJXs65qmLNvO6fO9kPqjv66YE="; 12 }; 13 14 - vendorHash = "sha256-T0N6e96F/4HkHKYNiPFME/PUJGh+pbTmmb4SdZiDVgw="; 15 16 ldflags = [ 17 "-s" ··· 34 homepage = "https://rsteube.github.io/carapace-bin/"; 35 maintainers = with maintainers; [ star-szr ]; 36 license = licenses.mit; 37 }; 38 }
··· 2 3 buildGoModule rec { 4 pname = "carapace"; 5 + version = "0.27.0"; 6 7 src = fetchFromGitHub { 8 owner = "rsteube"; 9 repo = "${pname}-bin"; 10 rev = "v${version}"; 11 + hash = "sha256-UcJbWOYkNUJEilJL/LG5o+I1ugqEOEGfs+uvKUMnTMU="; 12 }; 13 14 + vendorHash = "sha256-PN8ARsJQqRj333ervoy24PZoWkrCIYiGxOovzEhPNZQ="; 15 16 ldflags = [ 17 "-s" ··· 34 homepage = "https://rsteube.github.io/carapace-bin/"; 35 maintainers = with maintainers; [ star-szr ]; 36 license = licenses.mit; 37 + mainProgram = "carapace"; 38 }; 39 }
+2 -1
pkgs/test/nixpkgs-check-by-name/README.md
··· 1 # Nixpkgs pkgs/by-name checker 2 3 This directory implements a program to check the [validity](#validity-checks) of the `pkgs/by-name` Nixpkgs directory once introduced. 4 This is part of the implementation of [RFC 140](https://github.com/NixOS/rfcs/pull/140). 5 6 ## API 7 8 - This API may be changed over time if the CI making use of it is adjusted to deal with the change appropriately, see [Hydra builds](#hydra-builds). 9 10 - Command line: `nixpkgs-check-by-name <NIXPKGS>` 11 - Arguments:
··· 1 # Nixpkgs pkgs/by-name checker 2 3 This directory implements a program to check the [validity](#validity-checks) of the `pkgs/by-name` Nixpkgs directory once introduced. 4 + It is being used by [this GitHub Actions workflow](../../../.github/workflows/check-by-name.yml). 5 This is part of the implementation of [RFC 140](https://github.com/NixOS/rfcs/pull/140). 6 7 ## API 8 9 + This API may be changed over time if the CI workflow making use of it is adjusted to deal with the change appropriately. 10 11 - Command line: `nixpkgs-check-by-name <NIXPKGS>` 12 - Arguments:
+27
pkgs/tools/X11/sbs/default.nix
···
··· 1 + { lib, stdenv, fetchFromGitHub, libX11, imlib2, libXinerama, pkg-config }: 2 + 3 + stdenv.mkDerivation rec { 4 + pname = "sbs"; 5 + version = "1.0.0"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "onur-ozkan"; 9 + repo = "${pname}"; 10 + rev = "v${version}"; 11 + sha256 = "sha256-Zgu9W/3LwHF/fyaPlxmV/2LdxilO1tU0JY/esLnJVGY="; 12 + }; 13 + 14 + nativeBuildInputs = [ pkg-config ]; 15 + 16 + buildInputs = [ imlib2 libX11 libXinerama ]; 17 + 18 + makeFlags = [ "PREFIX=$(out)" ]; 19 + 20 + meta = with lib; { 21 + description = "Simple background setter with 200 lines of code"; 22 + homepage = "https://github.com/onur-ozkan/sbs"; 23 + license = licenses.gpl2; 24 + platforms = platforms.linux; 25 + maintainers = with maintainers; [ onur-ozkan ]; 26 + }; 27 + }
+28 -14
pkgs/tools/filesystems/ceph/default.nix
··· 11 , fmt 12 , git 13 , makeWrapper 14 , pkg-config 15 , which 16 ··· 23 , boost179 24 , bzip2 25 , cryptsetup 26 - , cimg 27 , cunit 28 , doxygen 29 , gperf 30 , graphviz 31 , gtest 32 , icu 33 - , jsoncpp 34 , libcap_ng 35 , libnl 36 , libxml2 ··· 225 ]); 226 inherit (ceph-python-env.python) sitePackages; 227 228 - version = "17.2.5"; 229 src = fetchurl { 230 url = "https://download.ceph.com/tarballs/ceph-${version}.tar.gz"; 231 - hash = "sha256-NiJpwUeROvh0siSaRoRrDm+C0s61CvRiIrbd7JmRspo="; 232 }; 233 in rec { 234 ceph = stdenv.mkDerivation { ··· 240 fmt 241 git 242 makeWrapper 243 pkg-config 244 python 245 python.pkgs.python # for the toPythonPath function ··· 259 boost 260 bzip2 261 ceph-python-env 262 - cimg 263 cryptsetup 264 cunit 265 gperf 266 gtest 267 - jsoncpp 268 icu 269 - libcap_ng 270 libnl 271 libxml2 272 lttng-ust ··· 287 zstd 288 ] ++ lib.optionals stdenv.isLinux [ 289 keyutils 290 liburing 291 libuuid 292 linuxHeaders ··· 314 # install target needs to be in PYTHONPATH for "*.pth support" check to succeed 315 # set PYTHONPATH, so the build system doesn't silently skip installing ceph-volume and others 316 export PYTHONPATH=${ceph-python-env}/${sitePackages}:$lib/${sitePackages}:$out/${sitePackages} 317 - patchShebangs src/script src/spdk src/test src/tools 318 ''; 319 320 cmakeFlags = [ 321 "-DCMAKE_INSTALL_DATADIR=${placeholder "lib"}/lib" 322 323 - "-DMGR_PYTHON_VERSION=${ceph-python-env.python.pythonVersion}" 324 "-DWITH_CEPHFS_SHELL:BOOL=ON" 325 "-DWITH_SYSTEMD:BOOL=OFF" 326 "-DWITH_TESTS:BOOL=OFF" 327 328 # Use our own libraries, where possible 329 - "-DWITH_SYSTEM_ARROW:BOOL=ON" 330 "-DWITH_SYSTEM_BOOST:BOOL=ON" 331 - "-DWITH_SYSTEM_CIMG:BOOL=ON" 332 - "-DWITH_SYSTEM_JSONCPP:BOOL=ON" 333 "-DWITH_SYSTEM_GTEST:BOOL=ON" 334 "-DWITH_SYSTEM_ROCKSDB:BOOL=ON" 335 "-DWITH_SYSTEM_UTF8PROC:BOOL=ON" ··· 337 338 # TODO breaks with sandbox, tries to download stuff with npm 339 "-DWITH_MGR_DASHBOARD_FRONTEND:BOOL=OFF" 340 - # no matching function for call to 'parquet::PageReader::Open(std::shared_ptr<arrow::io::InputStream>&, int64_t, arrow::Compression::type, parquet::MemoryPool*, parquet::CryptoContext*)' 341 - "-DWITH_RADOSGW_SELECT_PARQUET:BOOL=OFF" 342 # WITH_XFS has been set default ON from Ceph 16, keeping it optional in nixpkgs for now 343 ''-DWITH_XFS=${if optLibxfs != null then "ON" else "OFF"}'' 344 ] ++ lib.optional stdenv.isLinux "-DWITH_SYSTEM_LIBURING=ON";
··· 11 , fmt 12 , git 13 , makeWrapper 14 + , nasm 15 , pkg-config 16 , which 17 ··· 24 , boost179 25 , bzip2 26 , cryptsetup 27 , cunit 28 , doxygen 29 , gperf 30 , graphviz 31 , gtest 32 , icu 33 + , libcap 34 , libcap_ng 35 , libnl 36 , libxml2 ··· 225 ]); 226 inherit (ceph-python-env.python) sitePackages; 227 228 + version = "18.2.0"; 229 src = fetchurl { 230 url = "https://download.ceph.com/tarballs/ceph-${version}.tar.gz"; 231 + hash = "sha256:0k9nl6xi5brva51rr14m7ig27mmmd7vrpchcmqc40q3c2khn6ns9"; 232 }; 233 in rec { 234 ceph = stdenv.mkDerivation { ··· 240 fmt 241 git 242 makeWrapper 243 + nasm 244 pkg-config 245 python 246 python.pkgs.python # for the toPythonPath function ··· 260 boost 261 bzip2 262 ceph-python-env 263 cryptsetup 264 cunit 265 gperf 266 gtest 267 icu 268 + libcap 269 libnl 270 libxml2 271 lttng-ust ··· 286 zstd 287 ] ++ lib.optionals stdenv.isLinux [ 288 keyutils 289 + libcap_ng 290 liburing 291 libuuid 292 linuxHeaders ··· 314 # install target needs to be in PYTHONPATH for "*.pth support" check to succeed 315 # set PYTHONPATH, so the build system doesn't silently skip installing ceph-volume and others 316 export PYTHONPATH=${ceph-python-env}/${sitePackages}:$lib/${sitePackages}:$out/${sitePackages} 317 + patchShebangs src/ 318 ''; 319 320 cmakeFlags = [ 321 "-DCMAKE_INSTALL_DATADIR=${placeholder "lib"}/lib" 322 323 "-DWITH_CEPHFS_SHELL:BOOL=ON" 324 "-DWITH_SYSTEMD:BOOL=OFF" 325 + # `WITH_JAEGER` requires `thrift` as a depenedncy (fine), but the build fails with: 326 + # CMake Error at src/opentelemetry-cpp-stamp/opentelemetry-cpp-build-Release.cmake:49 (message): 327 + # Command failed: 2 328 + # 329 + # 'make' 'opentelemetry_trace' 'opentelemetry_exporter_jaeger_trace' 330 + # 331 + # See also 332 + # 333 + # /build/ceph-18.2.0/build/src/opentelemetry-cpp/src/opentelemetry-cpp-stamp/opentelemetry-cpp-build-*.log 334 + # and that file contains: 335 + # /build/ceph-18.2.0/src/jaegertracing/opentelemetry-cpp/exporters/jaeger/src/TUDPTransport.cc: In member function 'virtual void opentelemetry::v1::exporter::jaeger::TUDPTransport::close()': 336 + # /build/ceph-18.2.0/src/jaegertracing/opentelemetry-cpp/exporters/jaeger/src/TUDPTransport.cc:71:7: error: '::close' has not been declared; did you mean 'pclose'? 337 + # 71 | ::THRIFT_CLOSESOCKET(socket_); 338 + # | ^~~~~~~~~~~~~~~~~~ 339 + # Looks like `close()` is somehow not included. 340 + # But the relevant code is already removed in `open-telemetry` 1.10: https://github.com/open-telemetry/opentelemetry-cpp/pull/2031 341 + # So it's proably not worth trying to fix that for this Ceph version, 342 + # and instead just disable Ceph's Jaeger support. 343 + "-DWITH_JAEGER:BOOL=OFF" 344 "-DWITH_TESTS:BOOL=OFF" 345 346 # Use our own libraries, where possible 347 + "-DWITH_SYSTEM_ARROW:BOOL=ON" # Only used if other options enable Arrow support. 348 "-DWITH_SYSTEM_BOOST:BOOL=ON" 349 "-DWITH_SYSTEM_GTEST:BOOL=ON" 350 "-DWITH_SYSTEM_ROCKSDB:BOOL=ON" 351 "-DWITH_SYSTEM_UTF8PROC:BOOL=ON" ··· 353 354 # TODO breaks with sandbox, tries to download stuff with npm 355 "-DWITH_MGR_DASHBOARD_FRONTEND:BOOL=OFF" 356 # WITH_XFS has been set default ON from Ceph 16, keeping it optional in nixpkgs for now 357 ''-DWITH_XFS=${if optLibxfs != null then "ON" else "OFF"}'' 358 ] ++ lib.optional stdenv.isLinux "-DWITH_SYSTEM_LIBURING=ON";
+2 -2
pkgs/tools/inputmethods/keymapper/default.nix
··· 12 13 stdenv.mkDerivation (finalAttrs: { 14 pname = "keymapper"; 15 - version = "2.7.0"; 16 17 src = fetchFromGitHub { 18 owner = "houmain"; 19 repo = "keymapper"; 20 rev = finalAttrs.version; 21 - hash = "sha256-45/Y+uFmdjTdZuAX5we5QrcKH/PjC5fvXiNqJscyTGY="; 22 }; 23 24 # all the following must be in nativeBuildInputs
··· 12 13 stdenv.mkDerivation (finalAttrs: { 14 pname = "keymapper"; 15 + version = "2.7.1"; 16 17 src = fetchFromGitHub { 18 owner = "houmain"; 19 repo = "keymapper"; 20 rev = finalAttrs.version; 21 + hash = "sha256-c0AiXr0dqlCNRlZxaEU9Tv7ZwPKajxY+eiI1zCb3hKs="; 22 }; 23 24 # all the following must be in nativeBuildInputs
+2 -2
pkgs/tools/misc/ddccontrol/default.nix
··· 12 13 stdenv.mkDerivation rec { 14 pname = "ddccontrol"; 15 - version = "0.6.2"; 16 17 src = fetchFromGitHub { 18 owner = "ddccontrol"; 19 repo = "ddccontrol"; 20 rev = version; 21 - sha256 = "sha256-Me7E5dUo3tnuXInWF19AmrcyKMtBlugVmvQHULMMMoA="; 22 }; 23 24 nativeBuildInputs = [
··· 12 13 stdenv.mkDerivation rec { 14 pname = "ddccontrol"; 15 + version = "0.6.3"; 16 17 src = fetchFromGitHub { 18 owner = "ddccontrol"; 19 repo = "ddccontrol"; 20 rev = version; 21 + sha256 = "sha256-0mvkIW0Xsi7co/INmlNeTclBxGoqoJliFanA/RFMaLM="; 22 }; 23 24 nativeBuildInputs = [
+2 -2
pkgs/tools/misc/entr/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "entr"; 5 - version = "5.2"; 6 7 src = fetchurl { 8 url = "https://eradman.com/entrproject/code/${pname}-${version}.tar.gz"; 9 - hash = "sha256-I34wnUawdSEMDky3ib/Qycd37d9sswNBw/49vMZYw4A="; 10 }; 11 12 postPatch = ''
··· 2 3 stdenv.mkDerivation rec { 4 pname = "entr"; 5 + version = "5.4"; 6 7 src = fetchurl { 8 url = "https://eradman.com/entrproject/code/${pname}-${version}.tar.gz"; 9 + hash = "sha256-SR3e0sw/Hc2NJvSWpMezqZa5HHqyCIPKN1A3o5giH54="; 10 }; 11 12 postPatch = ''
+2 -2
pkgs/tools/misc/gh-markdown-preview/default.nix
··· 7 8 buildGoModule rec { 9 pname = "gh-markdown-preview"; 10 - version = "1.4.1"; 11 12 src = fetchFromGitHub { 13 owner = "yusukebe"; 14 repo = "gh-markdown-preview"; 15 rev = "v${version}"; 16 - hash = "sha256-Q+e3j+X/ZsLdkTBkuu028Rl4iw+oES2w6CDQiwN+CtU="; 17 }; 18 19 vendorHash = "sha256-O6Q9h5zcYAoKLjuzGu7f7UZY0Y5rL2INqFyJT2QZJ/E=";
··· 7 8 buildGoModule rec { 9 pname = "gh-markdown-preview"; 10 + version = "1.4.2"; 11 12 src = fetchFromGitHub { 13 owner = "yusukebe"; 14 repo = "gh-markdown-preview"; 15 rev = "v${version}"; 16 + hash = "sha256-UBveXL4/3GxxIVjqG0GuTbkGkzXFc/stew2s+dTj9BI="; 17 }; 18 19 vendorHash = "sha256-O6Q9h5zcYAoKLjuzGu7f7UZY0Y5rL2INqFyJT2QZJ/E=";
+12 -11
pkgs/tools/nix/zon2nix/default.nix
··· 1 { lib 2 , stdenv 3 , fetchFromGitHub 4 - , makeBinaryWrapper 5 , zig_0_11 6 , nix 7 }: 8 9 stdenv.mkDerivation rec { 10 pname = "zon2nix"; 11 - version = "0.1.1"; 12 13 src = fetchFromGitHub { 14 - owner = "figsoda"; 15 repo = "zon2nix"; 16 rev = "v${version}"; 17 - hash = "sha256-VzlLoToZ+5beHt9mFsuCxlSZ8RrBodPO6YKtsugAaik="; 18 }; 19 20 nativeBuildInputs = [ 21 - makeBinaryWrapper 22 zig_0_11.hook 23 ]; 24 25 - postInstall = '' 26 - wrapProgram $out/bin/zon2nix \ 27 - --prefix PATH : ${lib.makeBinPath [ nix ]} 28 - ''; 29 30 meta = with lib; { 31 description = "Convert the dependencies in `build.zig.zon` to a Nix expression"; 32 - homepage = "https://github.com/figsoda/zon2nix"; 33 - changelog = "https://github.com/figsoda/zon2nix/blob/${src.rev}/CHANGELOG.md"; 34 license = licenses.mpl20; 35 maintainers = with maintainers; [ figsoda ]; 36 inherit (zig_0_11.meta) platforms;
··· 1 { lib 2 , stdenv 3 , fetchFromGitHub 4 , zig_0_11 5 , nix 6 }: 7 8 stdenv.mkDerivation rec { 9 pname = "zon2nix"; 10 + version = "0.1.2"; 11 12 src = fetchFromGitHub { 13 + owner = "nix-community"; 14 repo = "zon2nix"; 15 rev = "v${version}"; 16 + hash = "sha256-pS0D+wdebtpNaGpDee9aBwEKTDvNU56VXer9uzULXcM="; 17 }; 18 19 nativeBuildInputs = [ 20 zig_0_11.hook 21 ]; 22 23 + zigBuildFlags = [ 24 + "-Dnix=${lib.getExe nix}" 25 + ]; 26 + 27 + zigCheckFlags = [ 28 + "-Dnix=${lib.getExe nix}" 29 + ]; 30 31 meta = with lib; { 32 description = "Convert the dependencies in `build.zig.zon` to a Nix expression"; 33 + homepage = "https://github.com/nix-community/zon2nix"; 34 + changelog = "https://github.com/nix-community/zon2nix/blob/${src.rev}/CHANGELOG.md"; 35 license = licenses.mpl20; 36 maintainers = with maintainers; [ figsoda ]; 37 inherit (zig_0_11.meta) platforms;
+3 -3
pkgs/tools/package-management/harmonia/default.nix
··· 11 12 rustPlatform.buildRustPackage rec { 13 pname = "harmonia"; 14 - version = "0.7.1"; 15 16 src = fetchFromGitHub { 17 owner = "nix-community"; 18 repo = pname; 19 rev = "refs/tags/${pname}-v${version}"; 20 - hash = "sha256-ZnhidXSBSkgKgVF5ayJF+b8Sq8Ahl010GfvVgYHJcis="; 21 }; 22 23 - cargoHash = "sha256-2kqXTvI1uwfcwblPLV2o2v77HzRJbqO5jKbMILvvxA8="; 24 25 nativeBuildInputs = [ 26 pkg-config nix
··· 11 12 rustPlatform.buildRustPackage rec { 13 pname = "harmonia"; 14 + version = "0.7.2"; 15 16 src = fetchFromGitHub { 17 owner = "nix-community"; 18 repo = pname; 19 rev = "refs/tags/${pname}-v${version}"; 20 + hash = "sha256-LzStxaqoez144LhqLjLP3yNgCj/HFqKSy+JcAW/FwM8="; 21 }; 22 23 + cargoHash = "sha256-4DXIMsT69PhxqZX1j2aJ/XDLjvX76WbzEN0yxrnP9v0="; 24 25 nativeBuildInputs = [ 26 pkg-config nix
+1
pkgs/tools/typesetting/asciidoctor-with-extensions/Gemfile
··· 7 gem 'asciidoctor-mathematical' 8 gem 'asciidoctor-multipage' 9 gem 'asciidoctor-pdf' 10 gem 'asciidoctor-revealjs' 11 gem 'coderay' 12 gem 'pygments.rb'
··· 7 gem 'asciidoctor-mathematical' 8 gem 'asciidoctor-multipage' 9 gem 'asciidoctor-pdf' 10 + gem 'asciidoctor-reducer' 11 gem 'asciidoctor-revealjs' 12 gem 'coderay' 13 gem 'pygments.rb'
+3
pkgs/tools/typesetting/asciidoctor-with-extensions/Gemfile.lock
··· 42 prawn-table (~> 0.2.0) 43 prawn-templates (~> 0.1.0) 44 treetop (~> 1.6.0) 45 asciidoctor-revealjs (5.0.1) 46 asciidoctor (>= 2.0.0, < 3.0.0) 47 asciimath (2.0.5) ··· 127 asciidoctor-mathematical 128 asciidoctor-multipage 129 asciidoctor-pdf 130 asciidoctor-revealjs 131 coderay 132 pygments.rb
··· 42 prawn-table (~> 0.2.0) 43 prawn-templates (~> 0.1.0) 44 treetop (~> 1.6.0) 45 + asciidoctor-reducer (1.0.5) 46 + asciidoctor (~> 2.0) 47 asciidoctor-revealjs (5.0.1) 48 asciidoctor (>= 2.0.0, < 3.0.0) 49 asciimath (2.0.5) ··· 129 asciidoctor-mathematical 130 asciidoctor-multipage 131 asciidoctor-pdf 132 + asciidoctor-reducer 133 asciidoctor-revealjs 134 coderay 135 pygments.rb
+1
pkgs/tools/typesetting/asciidoctor-with-extensions/default.nix
··· 17 "asciidoctor-epub3" 18 "asciidoctor-multipage" 19 "asciidoctor-pdf" 20 "asciidoctor-revealjs" 21 ]; 22
··· 17 "asciidoctor-epub3" 18 "asciidoctor-multipage" 19 "asciidoctor-pdf" 20 + "asciidoctor-reducer" 21 "asciidoctor-revealjs" 22 ]; 23
+11
pkgs/tools/typesetting/asciidoctor-with-extensions/gemset.nix
··· 137 }; 138 version = "2.3.9"; 139 }; 140 asciidoctor-revealjs = { 141 dependencies = ["asciidoctor"]; 142 groups = ["default"];
··· 137 }; 138 version = "2.3.9"; 139 }; 140 + asciidoctor-reducer = { 141 + dependencies = ["asciidoctor"]; 142 + groups = ["default"]; 143 + platforms = []; 144 + source = { 145 + remotes = ["https://rubygems.org"]; 146 + sha256 = "1708fi4bxjpkdszm6a4naa0qcsl0vqnhcklryn2sysl24zaz07h5"; 147 + type = "gem"; 148 + }; 149 + version = "1.0.5"; 150 + }; 151 asciidoctor-revealjs = { 152 dependencies = ["asciidoctor"]; 153 groups = ["default"];
+10 -4
pkgs/top-level/all-packages.nix
··· 3803 3804 gamecube-tools = callPackage ../development/tools/gamecube-tools { }; 3805 3806 - gammaray = libsForQt5.callPackage ../development/tools/gammaray { }; 3807 3808 gams = callPackage ../tools/misc/gams (config.gams or {}); 3809 ··· 12337 12338 pydeps = with python3Packages; toPythonApplication pydeps; 12339 12340 python-launcher = callPackage ../development/tools/misc/python-launcher { }; 12341 12342 pytrainer = callPackage ../applications/misc/pytrainer { }; ··· 12935 sasquatch = callPackage ../tools/filesystems/sasquatch { }; 12936 12937 sasview = libsForQt5.callPackage ../applications/science/misc/sasview { }; 12938 12939 schemes = callPackage ../applications/misc/schemes { }; 12940 ··· 15318 15319 undistract-me = callPackage ../shells/bash/undistract-me { }; 15320 15321 - carapace = callPackage ../shells/carapace { }; 15322 15323 dash = callPackage ../shells/dash { }; 15324 ··· 18545 nls = callPackage ../development/tools/language-servers/nls { }; 18546 18547 openscad-lsp = callPackage ../development/tools/language-servers/openscad-lsp { }; 18548 18549 postgres-lsp = callPackage ../development/tools/language-servers/postgres-lsp { }; 18550 ··· 32506 hedgedoc-cli = callPackage ../tools/admin/hedgedoc-cli { }; 32507 32508 heimer = libsForQt5.callPackage ../applications/misc/heimer { }; 32509 - 32510 - hello = callPackage ../applications/misc/hello { }; 32511 32512 hello-wayland = callPackage ../applications/graphics/hello-wayland { }; 32513
··· 3803 3804 gamecube-tools = callPackage ../development/tools/gamecube-tools { }; 3805 3806 + gammaray = qt6Packages.callPackage ../development/tools/gammaray { }; 3807 3808 gams = callPackage ../tools/misc/gams (config.gams or {}); 3809 ··· 12337 12338 pydeps = with python3Packages; toPythonApplication pydeps; 12339 12340 + pysentation = callPackage ../applications/misc/pysentation { }; 12341 + 12342 python-launcher = callPackage ../development/tools/misc/python-launcher { }; 12343 12344 pytrainer = callPackage ../applications/misc/pytrainer { }; ··· 12937 sasquatch = callPackage ../tools/filesystems/sasquatch { }; 12938 12939 sasview = libsForQt5.callPackage ../applications/science/misc/sasview { }; 12940 + 12941 + sbs = callPackage ../tools/X11/sbs { }; 12942 12943 schemes = callPackage ../applications/misc/schemes { }; 12944 ··· 15322 15323 undistract-me = callPackage ../shells/bash/undistract-me { }; 15324 15325 + carapace = callPackage ../shells/carapace { 15326 + buildGoModule = buildGo121Module; 15327 + }; 15328 15329 dash = callPackage ../shells/dash { }; 15330 ··· 18551 nls = callPackage ../development/tools/language-servers/nls { }; 18552 18553 openscad-lsp = callPackage ../development/tools/language-servers/openscad-lsp { }; 18554 + 18555 + perlnavigator = callPackage ../development/tools/language-servers/perlnavigator { }; 18556 18557 postgres-lsp = callPackage ../development/tools/language-servers/postgres-lsp { }; 18558 ··· 32514 hedgedoc-cli = callPackage ../tools/admin/hedgedoc-cli { }; 32515 32516 heimer = libsForQt5.callPackage ../applications/misc/heimer { }; 32517 32518 hello-wayland = callPackage ../applications/graphics/hello-wayland { }; 32519
+50
pkgs/top-level/by-name-overlay.nix
···
··· 1 + # This file turns the pkgs/by-name directory (see its README.md for more info) into an overlay that adds all the defined packages. 2 + # No validity checks are done here, 3 + # instead this file is optimised for performance, 4 + # and validity checks are done by CI on PRs. 5 + 6 + # Type: Path -> Overlay 7 + baseDirectory: 8 + let 9 + # Because of Nix's import-value cache, importing lib is free 10 + lib = import ../../lib; 11 + 12 + inherit (builtins) 13 + readDir 14 + ; 15 + 16 + inherit (lib.attrsets) 17 + mapAttrs 18 + mapAttrsToList 19 + mergeAttrsList 20 + ; 21 + 22 + # Package files for a single shard 23 + # Type: String -> String -> AttrsOf Path 24 + namesForShard = shard: type: 25 + if type != "directory" then 26 + # Ignore all non-directories. Technically only README.md is allowed as a file in the base directory, so we could alternatively: 27 + # - Assume that README.md is the only file and change the condition to `shard == "README.md"` for a minor performance improvement. 28 + # This would however cause very poor error messages if there's other files. 29 + # - Ensure that README.md is the only file, throwing a better error message if that's not the case. 30 + # However this would make for a poor code architecture, because one type of error would have to be duplicated in the validity checks and here. 31 + # Additionally in either of those alternatives, we would have to duplicate the hardcoding of "README.md" 32 + { } 33 + else 34 + mapAttrs 35 + (name: _: baseDirectory + "/${shard}/${name}/package.nix") 36 + (readDir (baseDirectory + "/${shard}")); 37 + 38 + # The attribute set mapping names to the package files defining them 39 + # This is defined up here in order to allow reuse of the value (it's kind of expensive to compute) 40 + # if the overlay has to be applied multiple times 41 + packageFiles = mergeAttrsList (mapAttrsToList namesForShard (readDir baseDirectory)); 42 + in 43 + # TODO: Consider optimising this using `builtins.deepSeq packageFiles`, 44 + # which could free up the above thunks and reduce GC times. 45 + # Currently this would be hard to measure until we have more packages 46 + # and ideally https://github.com/NixOS/nix/pull/8895 47 + self: super: 48 + mapAttrs (name: file: 49 + self.callPackage file { } 50 + ) packageFiles
+8
pkgs/top-level/stage.nix
··· 8 arguments. Normal users should not import this directly but instead 9 import `pkgs/default.nix` or `default.nix`. */ 10 11 12 { ## Misc parameters kept the same for all stages 13 ## ··· 279 stdenvAdapters 280 trivialBuilders 281 splice 282 allPackages 283 otherPackageSets 284 aliases
··· 8 arguments. Normal users should not import this directly but instead 9 import `pkgs/default.nix` or `default.nix`. */ 10 11 + let 12 + # An overlay to auto-call packages in ../by-name. 13 + # By defining it at the top of the file, 14 + # this value gets reused even if this file is imported multiple times, 15 + # thanks to Nix's import-value cache. 16 + autoCalledPackages = import ./by-name-overlay.nix ../by-name; 17 + in 18 19 { ## Misc parameters kept the same for all stages 20 ## ··· 286 stdenvAdapters 287 trivialBuilders 288 splice 289 + autoCalledPackages 290 allPackages 291 otherPackageSets 292 aliases