Merge staging-next into staging

authored by

github-actions[bot] and committed by
GitHub
1b3d772f ef818bc6

+532 -282
+30
doc/languages-frameworks/python.section.md
··· 1602 If necessary, `pname` has to be given a different value within `fetchPypi`. 1603 * Attribute names in `python-packages.nix` should be sorted alphanumerically to 1604 avoid merge conflicts and ease locating attributes.
··· 1602 If necessary, `pname` has to be given a different value within `fetchPypi`. 1603 * Attribute names in `python-packages.nix` should be sorted alphanumerically to 1604 avoid merge conflicts and ease locating attributes. 1605 + 1606 + ## Package set maintenance 1607 + 1608 + The whole Python package set has a lot of packages that do not see regular 1609 + updates, because they either are a very fragile component in the Python 1610 + ecosystem, like for example the `hypothesis` package, or packages that have 1611 + no maintainer, so maintenance falls back to the package set maintainers. 1612 + 1613 + ### Updating packages in bulk 1614 + 1615 + There is a tool to update alot of python libraries in bulk, it exists at 1616 + `maintainers/scripts/update-python-libraries` with this repository. 1617 + 1618 + It can quickly update minor or major versions for all packages selected 1619 + and create update commits, and supports the `fetchPypi`, `fetchurl` and 1620 + `fetchFromGitHub` fetchers. When updating lots of packages that are 1621 + hosted on GitHub, exporting a `GITHUB_API_TOKEN` is highly recommended. 1622 + 1623 + Updating packages in bulk leads to lots of breakages, which is why a 1624 + stabilization period on the `python-unstable` branch is required. 1625 + 1626 + Once the branch is sufficiently stable it should normally be merged 1627 + into the `staging` branch. 1628 + 1629 + An exemplary call to update all python libraries between minor versions 1630 + would be: 1631 + 1632 + ```ShellSession 1633 + $ maintainers/scripts/update-python-libraries --target minor --commit --use-pkgs-prefix pkgs/development/python-modules/**/default.nix 1634 + ```
+50 -20
nixos/modules/config/fonts/fonts.nix
··· 2 3 with lib; 4 5 { 6 imports = [ 7 (mkRemovedOptionModule [ "fonts" "enableCoreFonts" ] "Use fonts.fonts = [ pkgs.corefonts ]; instead.") ··· 32 33 }; 34 35 - config = { 36 - 37 - fonts.fonts = mkIf config.fonts.enableDefaultFonts 38 - ([ 39 - pkgs.dejavu_fonts 40 - pkgs.freefont_ttf 41 - pkgs.gyre-fonts # TrueType substitutes for standard PostScript fonts 42 - pkgs.liberation_ttf 43 - pkgs.xorg.fontmiscmisc 44 - pkgs.xorg.fontcursormisc 45 - pkgs.unifont 46 - pkgs.noto-fonts-emoji 47 - ] ++ lib.optionals (config.nixpkgs.config.allowUnfree or false) [ 48 - # these are unfree, and will make usage with xserver fail 49 - pkgs.xorg.fontbhlucidatypewriter100dpi 50 - pkgs.xorg.fontbhlucidatypewriter75dpi 51 - pkgs.xorg.fontbh100dpi 52 - ]); 53 - 54 - }; 55 56 }
··· 2 3 with lib; 4 5 + let 6 + # A scalable variant of the X11 "core" cursor 7 + # 8 + # If not running a fancy desktop environment, the cursor is likely set to 9 + # the default `cursor.pcf` bitmap font. This is 17px wide, so it's very 10 + # small and almost invisible on 4K displays. 11 + fontcursormisc_hidpi = pkgs.xorg.fontcursormisc.overrideAttrs (old: 12 + let 13 + # The scaling constant is 230/96: the scalable `left_ptr` glyph at 14 + # about 23 points is rendered as 17px, on a 96dpi display. 15 + # Note: the XLFD font size is in decipoints. 16 + size = 2.39583 * config.services.xserver.dpi; 17 + sizeString = builtins.head (builtins.split "\\." (toString size)); 18 + in 19 + { 20 + postInstall = '' 21 + alias='cursor -xfree86-cursor-medium-r-normal--0-${sizeString}-0-0-p-0-adobe-fontspecific' 22 + echo "$alias" > $out/lib/X11/fonts/Type1/fonts.alias 23 + ''; 24 + }); 25 + 26 + hasHidpi = 27 + config.hardware.video.hidpi.enable && 28 + config.services.xserver.dpi != null; 29 + 30 + defaultFonts = 31 + [ pkgs.dejavu_fonts 32 + pkgs.freefont_ttf 33 + pkgs.gyre-fonts # TrueType substitutes for standard PostScript fonts 34 + pkgs.liberation_ttf 35 + pkgs.unifont 36 + pkgs.noto-fonts-emoji 37 + ]; 38 + 39 + defaultXFonts = 40 + [ (if hasHidpi then fontcursormisc_hidpi else pkgs.xorg.fontcursormisc) 41 + pkgs.xorg.fontmiscmisc 42 + ] ++ optionals (config.nixpkgs.config.allowUnfree or false) 43 + [ # these are unfree, and will make usage with xserver fail 44 + pkgs.xorg.fontbhlucidatypewriter100dpi 45 + pkgs.xorg.fontbhlucidatypewriter75dpi 46 + pkgs.xorg.fontbh100dpi 47 + ]; 48 + 49 + in 50 + 51 { 52 imports = [ 53 (mkRemovedOptionModule [ "fonts" "enableCoreFonts" ] "Use fonts.fonts = [ pkgs.corefonts ]; instead.") ··· 78 79 }; 80 81 + config = mkMerge [ 82 + { fonts.fonts = mkIf config.fonts.enableDefaultFonts defaultFonts; } 83 + { fonts.fonts = mkIf config.services.xserver.enable defaultXFonts; } 84 + ]; 85 86 }
+6 -7
nixos/modules/config/users-groups.nix
··· 324 325 }; 326 327 - groupOpts = { name, ... }: { 328 329 options = { 330 ··· 358 359 config = { 360 name = mkDefault name; 361 }; 362 363 }; ··· 419 initialPassword initialHashedPassword; 420 shell = utils.toShellPath u.shell; 421 }) cfg.users; 422 - groups = mapAttrsToList (n: g: 423 - { inherit (g) name gid; 424 - members = g.members ++ (mapAttrsToList (n: u: u.name) ( 425 - filterAttrs (n: u: elem g.name u.extraGroups) cfg.users 426 - )); 427 - }) cfg.groups; 428 }); 429 430 systemShells =
··· 324 325 }; 326 327 + groupOpts = { name, config, ... }: { 328 329 options = { 330 ··· 358 359 config = { 360 name = mkDefault name; 361 + 362 + members = mapAttrsToList (n: u: u.name) ( 363 + filterAttrs (n: u: elem config.name u.extraGroups) cfg.users 364 + ); 365 }; 366 367 }; ··· 423 initialPassword initialHashedPassword; 424 shell = utils.toShellPath u.shell; 425 }) cfg.users; 426 + groups = attrValues cfg.groups; 427 }); 428 429 systemShells =
+3 -1
nixos/modules/services/monitoring/grafana.nix
··· 6 cfg = config.services.grafana; 7 opt = options.services.grafana; 8 declarativePlugins = pkgs.linkFarm "grafana-plugins" (builtins.map (pkg: { name = pkg.pname; path = pkg; }) cfg.declarativePlugins); 9 10 envOptions = { 11 PATHS_DATA = cfg.dataDir; ··· 635 systemd.services.grafana = { 636 description = "Grafana Service Daemon"; 637 wantedBy = ["multi-user.target"]; 638 - after = ["networking.target"]; 639 environment = { 640 QT_QPA_PLATFORM = "offscreen"; 641 } // mapAttrs' (n: v: nameValuePair "GF_${n}" (toString v)) envOptions;
··· 6 cfg = config.services.grafana; 7 opt = options.services.grafana; 8 declarativePlugins = pkgs.linkFarm "grafana-plugins" (builtins.map (pkg: { name = pkg.pname; path = pkg; }) cfg.declarativePlugins); 9 + useMysql = cfg.database.type == "mysql"; 10 + usePostgresql = cfg.database.type == "postgres"; 11 12 envOptions = { 13 PATHS_DATA = cfg.dataDir; ··· 637 systemd.services.grafana = { 638 description = "Grafana Service Daemon"; 639 wantedBy = ["multi-user.target"]; 640 + after = ["networking.target"] ++ lib.optional usePostgresql "postgresql.service" ++ lib.optional useMysql "mysql.service"; 641 environment = { 642 QT_QPA_PLATFORM = "offscreen"; 643 } // mapAttrs' (n: v: nameValuePair "GF_${n}" (toString v)) envOptions;
+3 -3
pkgs/applications/audio/spotify-tui/default.nix
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "spotify-tui"; 5 - version = "0.24.0"; 6 7 src = fetchFromGitHub { 8 owner = "Rigellute"; 9 repo = "spotify-tui"; 10 rev = "v${version}"; 11 - sha256 = "1vi6b22ygi6nwydjwqirph9k18akbw81m3bci134nrbnrb30glla"; 12 }; 13 14 - cargoSha256 = "1l91xcgr3hcjaphns1hs0i8w1ynxqwx7rbgpl0i5xnyrkw0gn9lj"; 15 16 nativeBuildInputs = [ installShellFiles ] ++ lib.optionals stdenv.isLinux [ pkg-config python3 ]; 17 buildInputs = [ ]
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "spotify-tui"; 5 + version = "0.25.0"; 6 7 src = fetchFromGitHub { 8 owner = "Rigellute"; 9 repo = "spotify-tui"; 10 rev = "v${version}"; 11 + sha256 = "sha256-L5gg6tjQuYoAC89XfKE38KCFONwSAwfNoFEUPH4jNAI="; 12 }; 13 14 + cargoSha256 = "sha256-iucI4/iMF+uXRlnMttobu4xo3IQXq7tGiSSN8eCrLM0="; 15 16 nativeBuildInputs = [ installShellFiles ] ++ lib.optionals stdenv.isLinux [ pkg-config python3 ]; 17 buildInputs = [ ]
+2 -1
pkgs/applications/editors/neovim/neovim-qt.nix
··· 1 { lib, mkDerivation, fetchFromGitHub, cmake, doxygen, makeWrapper 2 - , msgpack, neovim, python3Packages, qtbase }: 3 4 mkDerivation rec { 5 pname = "neovim-qt-unwrapped"; ··· 20 buildInputs = [ 21 neovim.unwrapped # only used to generate help tags at build time 22 qtbase 23 ] ++ (with python3Packages; [ 24 jinja2 python msgpack 25 ]);
··· 1 { lib, mkDerivation, fetchFromGitHub, cmake, doxygen, makeWrapper 2 + , msgpack, neovim, python3Packages, qtbase, qtsvg }: 3 4 mkDerivation rec { 5 pname = "neovim-qt-unwrapped"; ··· 20 buildInputs = [ 21 neovim.unwrapped # only used to generate help tags at build time 22 qtbase 23 + qtsvg 24 ] ++ (with python3Packages; [ 25 jinja2 python msgpack 26 ]);
+2 -2
pkgs/applications/graphics/hydrus/default.nix
··· 10 11 python3Packages.buildPythonPackage rec { 12 pname = "hydrus"; 13 - version = "451"; 14 format = "other"; 15 16 src = fetchFromGitHub { 17 owner = "hydrusnetwork"; 18 repo = "hydrus"; 19 rev = "v${version}"; 20 - sha256 = "sha256-HoaXbnhwh6kDWgRFVs+VttzIY3MaxriteFTE1fwBUYs="; 21 }; 22 23 nativeBuildInputs = [
··· 10 11 python3Packages.buildPythonPackage rec { 12 pname = "hydrus"; 13 + version = "452"; 14 format = "other"; 15 16 src = fetchFromGitHub { 17 owner = "hydrusnetwork"; 18 repo = "hydrus"; 19 rev = "v${version}"; 20 + sha256 = "sha256-CSWrmjJ6lFQ6tG403Uf+VAOfvBd1oAhd2kTU/7XA3f0="; 21 }; 22 23 nativeBuildInputs = [
+10 -19
pkgs/applications/misc/fbmenugen/0001-Fix-paths.patch
··· 1 - From 76c25147328d71960c70bbdd5a9396aac4a362a2 Mon Sep 17 00:00:00 2001 2 - From: =?UTF-8?q?Jos=C3=A9=20Romildo=20Malaquias?= <malaquias@gmail.com> 3 - Date: Wed, 20 May 2020 14:19:07 -0300 4 Subject: [PATCH] Fix paths 5 6 --- 7 - fbmenugen | 14 ++++++-------- 8 - 1 file changed, 6 insertions(+), 8 deletions(-) 9 10 diff --git a/fbmenugen b/fbmenugen 11 - index 46a18dc..0c8eb08 100755 12 --- a/fbmenugen 13 +++ b/fbmenugen 14 @@ -214,9 +214,7 @@ my %CONFIG = ( ··· 22 "$home_dir/.local/share/applications", 23 ], 24 #>>> 25 - @@ -232,7 +230,7 @@ my %CONFIG = ( 26 - force_icon_size => 0, 27 - generic_fallback => 0, 28 - locale_support => 1, 29 - - use_gtk3 => 0, 30 - + use_gtk3 => 1, 31 - 32 - VERSION => $version, 33 - ); 34 @@ -252,7 +250,7 @@ if (not -e $config_file) { 35 } 36 ··· 40 require File::Copy; 41 File::Copy::copy($etc_schema_file, $schema_file) 42 or warn "$0: can't copy file `$etc_schema_file' to `$schema_file': $!\n"; 43 - @@ -570,7 +568,7 @@ EXIT 44 $generated_menu .= begin_category(@{$schema->{fluxbox}}) . <<"FOOTER"; 45 [config] (Configure) 46 [submenu] (System Styles) {Choose a style...} ··· 49 [end] 50 [submenu] (User Styles) {Choose a style...} 51 [stylesdir] (~/.fluxbox/styles) 52 - @@ -580,12 +578,12 @@ EXIT 53 [exec] (Screenshot - JPG) {import screenshot.jpg && display -resize 50% screenshot.jpg} 54 [exec] (Screenshot - PNG) {import screenshot.png && display -resize 50% screenshot.png} 55 [exec] (Run) {fbrun} ··· 59 [commanddialog] (Fluxbox Command) 60 [reconfig] (Reload config) 61 [restart] (Restart) 62 - - [exec] (About) {(fluxbox -v; fluxbox -info | sed 1d) | xmessage -file - -center} 63 + [exec] (About) {(@fluxbox@/bin/fluxbox -v; @fluxbox@/bin/fluxbox -info | @gnused@/bin/sed 1d) | @xmessage@/bin/xmessage -file - -center} 64 [separator] 65 [exit] (Exit) 66 [end] 67 -- 68 - 2.26.2 69
··· 1 + From b65921873585616c86a591eee9efbc68f84eb3d3 Mon Sep 17 00:00:00 2001 2 + From: =?UTF-8?q?Jos=C3=A9=20Romildo?= <malaquias@gmail.com> 3 + Date: Wed, 25 Aug 2021 12:03:09 -0300 4 Subject: [PATCH] Fix paths 5 6 --- 7 + fbmenugen | 11 +++++------ 8 + 1 file changed, 5 insertions(+), 6 deletions(-) 9 10 diff --git a/fbmenugen b/fbmenugen 11 + index 241be16..5fc9aea 100755 12 --- a/fbmenugen 13 +++ b/fbmenugen 14 @@ -214,9 +214,7 @@ my %CONFIG = ( ··· 22 "$home_dir/.local/share/applications", 23 ], 24 #>>> 25 @@ -252,7 +250,7 @@ if (not -e $config_file) { 26 } 27 ··· 31 require File::Copy; 32 File::Copy::copy($etc_schema_file, $schema_file) 33 or warn "$0: can't copy file `$etc_schema_file' to `$schema_file': $!\n"; 34 + @@ -588,7 +586,7 @@ EXIT 35 $generated_menu .= begin_category(@{$schema->{fluxbox}}) . <<"FOOTER"; 36 [config] (Configure) 37 [submenu] (System Styles) {Choose a style...} ··· 40 [end] 41 [submenu] (User Styles) {Choose a style...} 42 [stylesdir] (~/.fluxbox/styles) 43 + @@ -598,12 +596,13 @@ EXIT 44 [exec] (Screenshot - JPG) {import screenshot.jpg && display -resize 50% screenshot.jpg} 45 [exec] (Screenshot - PNG) {import screenshot.png && display -resize 50% screenshot.png} 46 [exec] (Run) {fbrun} ··· 50 [commanddialog] (Fluxbox Command) 51 [reconfig] (Reload config) 52 [restart] (Restart) 53 + [exec] (About) {(fluxbox -v; fluxbox -info | sed 1d) | xmessage -file - -center} 54 + [exec] (About) {(@fluxbox@/bin/fluxbox -v; @fluxbox@/bin/fluxbox -info | @gnused@/bin/sed 1d) | @xmessage@/bin/xmessage -file - -center} 55 [separator] 56 [exit] (Exit) 57 [end] 58 -- 59 + 2.32.0 60
+3 -3
pkgs/applications/misc/fbmenugen/default.nix
··· 11 12 perlPackages.buildPerlPackage rec { 13 pname = "fbmenugen"; 14 - version = "0.85"; 15 16 src = fetchFromGitHub { 17 owner = "trizen"; 18 repo = pname; 19 rev = version; 20 - sha256 = "1pmms3wzkm8h41a8zrkpn6gq9m9yy5wr5rrzmb84lbacprqq6q7q"; 21 }; 22 23 patches = [ ··· 68 meta = with lib; { 69 homepage = "https://github.com/trizen/fbmenugen"; 70 description = "Simple menu generator for the Fluxbox Window Manager"; 71 - license = licenses.gpl3; 72 platforms = platforms.linux; 73 maintainers = [ maintainers.romildo ]; 74 };
··· 11 12 perlPackages.buildPerlPackage rec { 13 pname = "fbmenugen"; 14 + version = "0.86"; 15 16 src = fetchFromGitHub { 17 owner = "trizen"; 18 repo = pname; 19 rev = version; 20 + sha256 = "0ya7s8b5xbaplz365bnr580szxxsngrs2n7smj8vz8a7kwi0319q"; 21 }; 22 23 patches = [ ··· 68 meta = with lib; { 69 homepage = "https://github.com/trizen/fbmenugen"; 70 description = "Simple menu generator for the Fluxbox Window Manager"; 71 + license = licenses.gpl3Only; 72 platforms = platforms.linux; 73 maintainers = [ maintainers.romildo ]; 74 };
+3 -3
pkgs/applications/misc/joplin-desktop/default.nix
··· 2 3 let 4 pname = "joplin-desktop"; 5 - version = "2.1.9"; 6 name = "${pname}-${version}"; 7 8 inherit (stdenv.hostPlatform) system; ··· 16 src = fetchurl { 17 url = "https://github.com/laurent22/joplin/releases/download/v${version}/Joplin-${version}.${suffix}"; 18 sha256 = { 19 - x86_64-linux = "1s7zydi90yzafii42m3aaf3niqlmdy2m494j2b3yrz2j26njj4q9"; 20 - x86_64-darwin = "1pvl08yhcrnrvdybfmkigaidhfrrg42bb6rzv96zyq9w4k0l0lm8"; 21 }.${system} or throwSystem; 22 }; 23
··· 2 3 let 4 pname = "joplin-desktop"; 5 + version = "2.3.5"; 6 name = "${pname}-${version}"; 7 8 inherit (stdenv.hostPlatform) system; ··· 16 src = fetchurl { 17 url = "https://github.com/laurent22/joplin/releases/download/v${version}/Joplin-${version}.${suffix}"; 18 sha256 = { 19 + x86_64-linux = "sha256-Qy/CpIEfAZ9735mwcNaJIw+qVmYXVwQ7gJuUj2lpQc4="; 20 + x86_64-darwin = "sha256-7I+fhcFFW/WihuUkSE5Pc8RhKszSgByP58H3sKSJbrc="; 21 }.${system} or throwSystem; 22 }; 23
+3 -3
pkgs/applications/misc/slides/default.nix
··· 2 3 buildGoModule rec { 4 pname = "slides"; 5 - version = "0.4.1"; 6 7 src = fetchFromGitHub { 8 owner = "maaslalani"; 9 repo = "slides"; 10 rev = "v${version}"; 11 - sha256 = "1cywqrqj199hmx532h4vn0j17ypswq2zkmv8qpxpayvjwimx4pwk"; 12 }; 13 14 checkInputs = [ ··· 18 ruby 19 ]; 20 21 - vendorSha256 = "0y6fz9rw702mji571k0gp4kpfx7xbv7rvlnmpfjygy6lmp7wga6f"; 22 23 ldflags = [ 24 "-s" "-w"
··· 2 3 buildGoModule rec { 4 pname = "slides"; 5 + version = "0.5.0"; 6 7 src = fetchFromGitHub { 8 owner = "maaslalani"; 9 repo = "slides"; 10 rev = "v${version}"; 11 + sha256 = "175g823n253d3xg8hxycw3gm1hhqb0vz8zs7xxcbdw5rlpd2hjii"; 12 }; 13 14 checkInputs = [ ··· 18 ruby 19 ]; 20 21 + vendorSha256 = "13kx47amwvzyzc251iijsbwa52s8bpld4xllb4y85qkwllfnmq2g"; 22 23 ldflags = [ 24 "-s" "-w"
+3 -3
pkgs/applications/networking/browsers/chromium/upstream-info.json
··· 31 } 32 }, 33 "dev": { 34 - "version": "94.0.4606.12", 35 - "sha256": "1yv34wahg1f0l35kvlm3x17wvqdg8yyzmjj6naz2lnl5qai89zr8", 36 - "sha256bin64": "19z9yzj6ig5ym8f9zzs8b4yixkspc0x62sz526r39803pbgs7s7i", 37 "deps": { 38 "gn": { 39 "version": "2021-08-11",
··· 31 } 32 }, 33 "dev": { 34 + "version": "94.0.4606.20", 35 + "sha256": "0wp9fdw7jkrzhaz8dils7k1ssd6v7kkiz4y9l81s37xxi3xj1drg", 36 + "sha256bin64": "059rn0jj2cajrxx57gmr0ndkgixgfqazb73rxbprqj4857w4d5da", 37 "deps": { 38 "gn": { 39 "version": "2021-08-11",
+2 -2
pkgs/applications/networking/cloudflared/default.nix
··· 2 3 buildGoModule rec { 4 pname = "cloudflared"; 5 - version = "2021.8.2"; 6 7 src = fetchFromGitHub { 8 owner = "cloudflare"; 9 repo = "cloudflared"; 10 rev = version; 11 - sha256 = "sha256-5PMKVWBOWkUhmCSttbhu7UdS3dLqr0epJpQL1jfS31c="; 12 }; 13 14 vendorSha256 = null;
··· 2 3 buildGoModule rec { 4 pname = "cloudflared"; 5 + version = "2021.8.3"; 6 7 src = fetchFromGitHub { 8 owner = "cloudflare"; 9 repo = "cloudflared"; 10 rev = version; 11 + sha256 = "sha256-gipLjABvJ1QK98uX7Gl6feHXUei95yHlSNkqlQ7pVg4="; 12 }; 13 14 vendorSha256 = null;
+3 -4
pkgs/applications/networking/cluster/k3s/default.nix
··· 7 , bridge-utils 8 , conntrack-tools 9 , buildGoPackage 10 - , git 11 , runc 12 , kmod 13 , libseccomp ··· 44 # Those pieces of software we entirely ignore upstream's handling of, and just 45 # make sure they're in the path if desired. 46 let 47 - k3sVersion = "1.21.3+k3s1"; # k3s git tag 48 - k3sCommit = "1d1f220fbee9cdeb5416b76b707dde8c231121f2"; # k3s git commit at the above version 49 50 traefikChartVersion = "9.18.2"; # taken from ./scripts/download at TRAEFIK_VERSION 51 k3sRootVersion = "0.9.1"; # taken from ./scripts/download at ROOT_VERSION ··· 102 k3sRepo = fetchgit { 103 url = "https://github.com/k3s-io/k3s"; 104 rev = "v${k3sVersion}"; 105 - sha256 = "sha256-K4HVXFp5cpByEO4dUwmpzOuhsGh1k7X6k5aShCorTjg="; 106 }; 107 # Stage 1 of the k3s build: 108 # Let's talk about how k3s is structured.
··· 7 , bridge-utils 8 , conntrack-tools 9 , buildGoPackage 10 , runc 11 , kmod 12 , libseccomp ··· 43 # Those pieces of software we entirely ignore upstream's handling of, and just 44 # make sure they're in the path if desired. 45 let 46 + k3sVersion = "1.21.4+k3s1"; # k3s git tag 47 + k3sCommit = "3e250fdbab72d88f7e6aae57446023a0567ffc97"; # k3s git commit at the above version 48 49 traefikChartVersion = "9.18.2"; # taken from ./scripts/download at TRAEFIK_VERSION 50 k3sRootVersion = "0.9.1"; # taken from ./scripts/download at ROOT_VERSION ··· 101 k3sRepo = fetchgit { 102 url = "https://github.com/k3s-io/k3s"; 103 rev = "v${k3sVersion}"; 104 + sha256 = "1w7drvk0bmlmqrxh1y6dxjy7dk6bdrl72pkd25lc1ir6wbzb05h9"; 105 }; 106 # Stage 1 of the k3s build: 107 # Let's talk about how k3s is structured.
+3 -11
pkgs/applications/networking/instant-messengers/pantalaimon/default.nix
··· 1 { lib, stdenv, buildPythonApplication, fetchFromGitHub, pythonOlder, 2 attrs, aiohttp, appdirs, click, keyring, Logbook, peewee, janus, 3 prompt-toolkit, matrix-nio, dbus-python, pydbus, notify2, pygobject3, 4 - setuptools, fetchpatch, installShellFiles, 5 6 pytest, faker, pytest-aiohttp, aioresponses, 7 ··· 10 11 buildPythonApplication rec { 12 pname = "pantalaimon"; 13 - version = "0.9.2"; 14 15 disabled = pythonOlder "3.6"; 16 ··· 19 owner = "matrix-org"; 20 repo = pname; 21 rev = version; 22 - sha256 = "11dfv5b2slqybisq6npmrqxrzslh4bjs4093vrc05s94046d9d9n"; 23 }; 24 - 25 - patches = [ 26 - # accept newer matrix-nio versions 27 - (fetchpatch { 28 - url = "https://github.com/matrix-org/pantalaimon/commit/73f68c76fb05037bd7fe71688ce39eb1f526a385.patch"; 29 - sha256 = "0wvqcfan8yp67p6khsqkynbkifksp2422b9jy511mvhpy51sqykl"; 30 - }) 31 - ]; 32 33 propagatedBuildInputs = [ 34 aiohttp
··· 1 { lib, stdenv, buildPythonApplication, fetchFromGitHub, pythonOlder, 2 attrs, aiohttp, appdirs, click, keyring, Logbook, peewee, janus, 3 prompt-toolkit, matrix-nio, dbus-python, pydbus, notify2, pygobject3, 4 + setuptools, installShellFiles, 5 6 pytest, faker, pytest-aiohttp, aioresponses, 7 ··· 10 11 buildPythonApplication rec { 12 pname = "pantalaimon"; 13 + version = "0.10.2"; 14 15 disabled = pythonOlder "3.6"; 16 ··· 19 owner = "matrix-org"; 20 repo = pname; 21 rev = version; 22 + sha256 = "sha256-sjaJomKMKSZqLlKWTG7Oa87dXa5SnGQlVnrdS707A1w="; 23 }; 24 25 propagatedBuildInputs = [ 26 aiohttp
+2
pkgs/applications/networking/irc/weechat/scripts/default.nix
··· 7 inherit (perlPackages) PodParser; 8 }; 9 10 weechat-matrix-bridge = callPackage ./weechat-matrix-bridge { 11 inherit (luaPackages) cjson luaffi; 12 };
··· 7 inherit (perlPackages) PodParser; 8 }; 9 10 + url_hint = callPackage ./url_hint { }; 11 + 12 weechat-matrix-bridge = callPackage ./weechat-matrix-bridge { 13 inherit (luaPackages) cjson luaffi; 14 };
+28
pkgs/applications/networking/irc/weechat/scripts/url_hint/default.nix
···
··· 1 + { lib, stdenv, fetchurl, weechat }: 2 + 3 + stdenv.mkDerivation { 4 + pname = "url_hint"; 5 + version = "0.8"; 6 + 7 + src = fetchurl { 8 + url = "https://raw.githubusercontent.com/weechat/scripts/10671d785ea3f9619d0afd0d7a1158bfa4ee3938/python/url_hint.py"; 9 + sha256 = "0aw59kq74yqh0qbdkldfl6l83d0bz833232xr2w4741szck43kss"; 10 + }; 11 + 12 + dontUnpack = true; 13 + 14 + passthru.scripts = [ "url_hint.py" ]; 15 + 16 + installPhase = '' 17 + runHook preInstall 18 + install -D $src $out/share/url_hint.py 19 + runHook postInstall 20 + ''; 21 + 22 + meta = with lib; { 23 + inherit (weechat.meta) platforms; 24 + description = "url_hint.py is a URL opening script."; 25 + license = licenses.mit; 26 + maintainers = with maintainers; [ eraserhd ]; 27 + }; 28 + }
+3 -3
pkgs/applications/office/trilium/default.nix
··· 19 maintainers = with maintainers; [ fliegendewurst ]; 20 }; 21 22 - version = "0.47.5"; 23 24 desktopSource = { 25 url = "https://github.com/zadam/trilium/releases/download/v${version}/trilium-linux-x64-${version}.tar.xz"; 26 - sha256 = "16sm93vzlsqmrykbzdvgwszbhq79brd74zp9n9q5wrf4s44xizzv"; 27 }; 28 29 serverSource = { 30 url = "https://github.com/zadam/trilium/releases/download/v${version}/trilium-linux-x64-server-${version}.tar.xz"; 31 - sha256 = "0jk9pf3ljzfdv7d91wxda8z9qz653qas58wsrx42gnf7zxn1l648"; 32 }; 33 34 in {
··· 19 maintainers = with maintainers; [ fliegendewurst ]; 20 }; 21 22 + version = "0.47.7"; 23 24 desktopSource = { 25 url = "https://github.com/zadam/trilium/releases/download/v${version}/trilium-linux-x64-${version}.tar.xz"; 26 + sha256 = "1fcrc01wr8ln1i77q9h89i90wwyijpfp58fa717wbdvyly4860sh"; 27 }; 28 29 serverSource = { 30 url = "https://github.com/zadam/trilium/releases/download/v${version}/trilium-linux-x64-server-${version}.tar.xz"; 31 + sha256 = "0qp37y3xgbhl6vj2bkwz1lfylkn82kx7n0lcfr58wxwkn00149ry"; 32 }; 33 34 in {
+2 -2
pkgs/applications/science/biology/fastp/default.nix
··· 5 6 stdenv.mkDerivation rec { 7 pname = "fastp"; 8 - version = "0.20.1"; 9 10 src = fetchFromGitHub { 11 owner = "OpenGene"; 12 repo = "fastp"; 13 rev = "v${version}"; 14 - sha256 = "sha256-pANwppkO9pfV9vctB7HmNCzYRtf+Xt+5HMKzvFuvyFM="; 15 }; 16 17 buildInputs = [ zlib ];
··· 5 6 stdenv.mkDerivation rec { 7 pname = "fastp"; 8 + version = "0.22.0"; 9 10 src = fetchFromGitHub { 11 owner = "OpenGene"; 12 repo = "fastp"; 13 rev = "v${version}"; 14 + sha256 = "sha256-XR76hNz7iGXQYSBbBandHZ+oU3wyTf1AKlu9Xeq/GyE="; 15 }; 16 17 buildInputs = [ zlib ];
+3 -3
pkgs/applications/version-management/git-and-tools/gitui/default.nix
··· 1 { lib, stdenv, rustPlatform, fetchFromGitHub, libiconv, perl, python3, Security, AppKit, openssl, xclip }: 2 rustPlatform.buildRustPackage rec { 3 pname = "gitui"; 4 - version = "0.16.2"; 5 6 src = fetchFromGitHub { 7 owner = "extrawurst"; 8 repo = pname; 9 rev = "v${version}"; 10 - sha256 = "sha256-FRPRkFGf6Z/+smK651wR6ETWrvvQ1AKalxXW6d6otIo="; 11 }; 12 13 - cargoSha256 = "sha256-3ubeZgB7XNKysy6s+cdg4GDj/Mn4Mdp9VupcbBRTRh4="; 14 15 nativeBuildInputs = [ python3 perl ]; 16 buildInputs = [ openssl ]
··· 1 { lib, stdenv, rustPlatform, fetchFromGitHub, libiconv, perl, python3, Security, AppKit, openssl, xclip }: 2 rustPlatform.buildRustPackage rec { 3 pname = "gitui"; 4 + version = "0.17"; 5 6 src = fetchFromGitHub { 7 owner = "extrawurst"; 8 repo = pname; 9 rev = "v${version}"; 10 + sha256 = "sha256-UM1L95VKmUh2E56dlKo3TkNYRlib5Hg5VHGokBqTP+s="; 11 }; 12 13 + cargoSha256 = "sha256-i/Z1pOrg7rKH5uDqkyh7V9jZRHXZ3Bhhw5UpzKWOjJ0="; 14 15 nativeBuildInputs = [ python3 perl ]; 16 buildInputs = [ openssl ]
+56
pkgs/applications/version-management/git-and-tools/gst/default.nix
···
··· 1 + { lib 2 + , buildGoModule 3 + , fetchFromGitHub 4 + , git 5 + , ghq 6 + }: 7 + 8 + buildGoModule rec { 9 + pname = "gst"; 10 + version = "5.0.4"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "uetchy"; 14 + repo = "gst"; 15 + rev = "v${version}"; 16 + sha256 = "0fqgkmhn84402hidxv4niy9himcdwm1h80prkfk9vghwcyynrbsj"; 17 + }; 18 + 19 + vendorSha256 = "0k5xl55vzpl64gwsgaff92jismpx6y7l2ia0kx7gamd1vklf0qwh"; 20 + 21 + doCheck = false; 22 + 23 + nativeBuildInputs = [ 24 + git 25 + ghq 26 + ]; 27 + 28 + ldflags = [ 29 + "-s" "-w" "-X=main.Version=${version}" 30 + ]; 31 + 32 + doInstallCheck = true; 33 + installCheckPhase = '' 34 + if [[ "$("$out/bin/${pname}" --version)" == "${pname} version ${version}" ]]; then 35 + export HOME=$(mktemp -d) 36 + git config --global user.name "Test User" 37 + git config --global user.email "test@example.com" 38 + git config --global init.defaultBranch "main" 39 + git config --global ghq.user "user" 40 + ghq create test > /dev/null 2>&1 41 + touch $HOME/ghq/github.com/user/test/SmokeTest 42 + $out/bin/${pname} list | grep SmokeTest > /dev/null 43 + echo '${pname} smoke check passed' 44 + else 45 + echo '${pname} smoke check failed' 46 + return 1 47 + fi 48 + ''; 49 + 50 + meta = { 51 + description = "Supercharge your ghq workflow"; 52 + homepage = "https://github.com/uetchy/gst"; 53 + maintainers = with lib.maintainers; [ _0x4A6F ]; 54 + license = lib.licenses.asl20; 55 + }; 56 + }
+5 -4
pkgs/data/themes/marwaita-peppermint/default.nix
··· 1 - { lib, stdenv 2 , fetchFromGitHub 3 , gdk-pixbuf 4 , gtk-engine-murrine ··· 8 9 stdenv.mkDerivation rec { 10 pname = "marwaita-peppermint"; 11 - version = "0.6"; 12 13 src = fetchFromGitHub { 14 owner = "darkomarko42"; 15 repo = pname; 16 rev = version; 17 - sha256 = "0mhkkx2qa66z4b2h5iynhy63flwdf6b2phd21r1j8kp4m08dynms"; 18 }; 19 20 buildInputs = [ ··· 39 meta = with lib; { 40 description = "Marwaita GTK theme with Peppermint Os Linux style"; 41 homepage = "https://www.pling.com/p/1399569/"; 42 - license = licenses.gpl3; 43 platforms = platforms.unix; 44 maintainers = [ maintainers.romildo ]; 45 };
··· 1 + { lib 2 + , stdenv 3 , fetchFromGitHub 4 , gdk-pixbuf 5 , gtk-engine-murrine ··· 9 10 stdenv.mkDerivation rec { 11 pname = "marwaita-peppermint"; 12 + version = "10.3"; 13 14 src = fetchFromGitHub { 15 owner = "darkomarko42"; 16 repo = pname; 17 rev = version; 18 + sha256 = "09lqp82aymj3silpwmjkkf4mgv3b1xw7181ck89lz2nxb98sr9im"; 19 }; 20 21 buildInputs = [ ··· 40 meta = with lib; { 41 description = "Marwaita GTK theme with Peppermint Os Linux style"; 42 homepage = "https://www.pling.com/p/1399569/"; 43 + license = licenses.gpl3Only; 44 platforms = platforms.unix; 45 maintainers = [ maintainers.romildo ]; 46 };
+2 -2
pkgs/development/libraries/lib3mf/default.nix
··· 3 4 stdenv.mkDerivation rec { 5 pname = "lib3mf"; 6 - version = "2.1.1"; 7 8 src = fetchFromGitHub { 9 owner = "3MFConsortium"; 10 repo = pname; 11 rev = "v${version}"; 12 - sha256 = "1417xlxc1y5jnipixhbjfrrjgkrprbbraj8647sff9051m3hpxc3"; 13 }; 14 15 nativeBuildInputs = [ cmake ninja pkg-config ];
··· 3 4 stdenv.mkDerivation rec { 5 pname = "lib3mf"; 6 + version = "2.2.0"; 7 8 src = fetchFromGitHub { 9 owner = "3MFConsortium"; 10 repo = pname; 11 rev = "v${version}"; 12 + sha256 = "sha256-WMTTYYgpCIM86a6Jw8iah/YVXN9T5youzEieWL/d+Bc="; 13 }; 14 15 nativeBuildInputs = [ cmake ninja pkg-config ];
+2 -2
pkgs/development/libraries/openexr/3.nix
··· 8 9 stdenv.mkDerivation rec { 10 pname = "openexr"; 11 - version = "3.0.5"; 12 13 outputs = [ "bin" "dev" "out" "doc" ]; 14 ··· 16 owner = "AcademySoftwareFoundation"; 17 repo = "openexr"; 18 rev = "v${version}"; 19 - sha256 = "0inmpby1syyxxzr0sazqvpb8j63vpj09vpkp4xi7m2qd4rxynkph"; 20 }; 21 22 nativeBuildInputs = [ cmake ];
··· 8 9 stdenv.mkDerivation rec { 10 pname = "openexr"; 11 + version = "3.1.1"; 12 13 outputs = [ "bin" "dev" "out" "doc" ]; 14 ··· 16 owner = "AcademySoftwareFoundation"; 17 repo = "openexr"; 18 rev = "v${version}"; 19 + sha256 = "1p0l07vfpb25fx6jcgk1747v8x9xgpifx4cvvgi3g2473wlx6pyb"; 20 }; 21 22 nativeBuildInputs = [ cmake ];
+2 -2
pkgs/development/libraries/openxr-loader/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "openxr-loader"; 5 - version = "1.0.18"; 6 7 src = fetchFromGitHub { 8 owner = "KhronosGroup"; 9 repo = "OpenXR-SDK-Source"; 10 rev = "release-${version}"; 11 - sha256 = "sha256-Ek4gFL10/aRciCoJBNaaSX/Hdbap4X/K4k+KeAfpKDg="; 12 }; 13 14 nativeBuildInputs = [ cmake python3 ];
··· 2 3 stdenv.mkDerivation rec { 4 pname = "openxr-loader"; 5 + version = "1.0.19"; 6 7 src = fetchFromGitHub { 8 owner = "KhronosGroup"; 9 repo = "OpenXR-SDK-Source"; 10 rev = "release-${version}"; 11 + sha256 = "sha256-LEXxqzHzTadgK2PV9Wiud9MzblDHdF4L5T4fVydRJW8="; 12 }; 13 14 nativeBuildInputs = [ cmake python3 ];
+2 -2
pkgs/development/python-modules/jenkins-job-builder/default.nix
··· 10 11 buildPythonPackage rec { 12 pname = "jenkins-job-builder"; 13 - version = "3.9.0"; 14 15 src = fetchPypi { 16 inherit pname version; 17 - sha256 = "4a53e146843d567c375c2e61e70a840d75a412402fd78c1dd3da5642a6aaa375"; 18 }; 19 20 postPatch = ''
··· 10 11 buildPythonPackage rec { 12 pname = "jenkins-job-builder"; 13 + version = "3.10.0"; 14 15 src = fetchPypi { 16 inherit pname version; 17 + sha256 = "sha256-8MP8YHIkxDqjPsUYv6ROmuRwcGMzPpsVCRwxga3XdYU="; 18 }; 19 20 postPatch = ''
+31 -14
pkgs/development/python-modules/parse-type/default.nix
··· 1 - { lib, fetchPypi 2 - , buildPythonPackage, pythonOlder 3 - , pytest, pytest-runner 4 - , parse, six, enum34 5 }: 6 7 buildPythonPackage rec { 8 - pname = "parse_type"; 9 - version = "0.5.2"; 10 11 - src = fetchPypi { 12 - inherit pname version; 13 - sha256 = "02wclgiqky06y36b3q07b7ngpks5j0gmgl6n71ac2j2hscc0nsbz"; 14 }; 15 16 - checkInputs = [ pytest pytest-runner ]; 17 - propagatedBuildInputs = [ parse six ] ++ lib.optional (pythonOlder "3.4") enum34; 18 19 - checkPhase = '' 20 - py.test tests 21 ''; 22 23 meta = with lib; { 24 - homepage = "https://github.com/jenisys/parse_type"; 25 description = "Simplifies to build parse types based on the parse module"; 26 license = licenses.bsd3; 27 maintainers = with maintainers; [ alunduil ]; 28 };
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , parse 5 + , pytestCheckHook 6 + , pythonOlder 7 + , six 8 }: 9 10 buildPythonPackage rec { 11 + pname = "parse-type"; 12 + version = "0.5.6"; 13 14 + src = fetchFromGitHub { 15 + owner = "jenisys"; 16 + repo = "parse_type"; 17 + rev = "v${version}"; 18 + sha256 = "sha256-CJroqJIi5DpmR8i1lr8OJ+234615PhpVUsqK91XOT3E="; 19 }; 20 21 + propagatedBuildInputs = [ 22 + parse 23 + six 24 + ]; 25 26 + checkInputs = [ 27 + pytestCheckHook 28 + ]; 29 + 30 + postPatch = '' 31 + substituteInPlace pytest.ini \ 32 + --replace "--metadata PACKAGE_UNDER_TEST parse_type" "" \ 33 + --replace "--metadata PACKAGE_VERSION 0.5.6" "" \ 34 + --replace "--html=build/testing/report.html --self-contained-html" "" \ 35 + --replace "--junit-xml=build/testing/report.xml" "" 36 ''; 37 + 38 + pythonImportsCheck = [ "parse_type" ]; 39 40 meta = with lib; { 41 description = "Simplifies to build parse types based on the parse module"; 42 + homepage = "https://github.com/jenisys/parse_type"; 43 license = licenses.bsd3; 44 maintainers = with maintainers; [ alunduil ]; 45 };
-16
pkgs/development/python-modules/pyflume/default.nix
··· 22 sha256 = "129sz33a270v120bzl9l98nmvdzn7ns4cf9w2v18lmzlldbyz2vn"; 23 }; 24 25 - prePatch = '' 26 - substituteInPlace setup.py --replace 'pyjwt==2.0.1' 'pyjwt>=2.0.1' 27 - substituteInPlace setup.py --replace 'ratelimit==2.2.1' 'ratelimit>=2.2.1' 28 - substituteInPlace setup.py --replace 'pytz==2019.2' 'pytz>=2019.2' 29 - substituteInPlace setup.py --replace 'requests==2.24.0' 'requests>=2.24.0' 30 - ''; 31 - 32 propagatedBuildInputs = [ 33 pyjwt 34 ratelimit ··· 40 requests-mock 41 pytestCheckHook 42 ]; 43 - 44 - postPatch = '' 45 - # https://github.com/ChrisMandich/PyFlume/issues/18 46 - substituteInPlace setup.py \ 47 - --replace "pyjwt==2.0.1" "pyjwt>=2.0.1" \ 48 - --replace "ratelimit==2.2.1" "ratelimit>=2.2.1" \ 49 - --replace "pytz==2019.2" "pytz>=2019.2" \ 50 - --replace "requests==2.24.0" "requests>=2.24.0" 51 - ''; 52 53 pythonImportsCheck = [ "pyflume" ]; 54
··· 22 sha256 = "129sz33a270v120bzl9l98nmvdzn7ns4cf9w2v18lmzlldbyz2vn"; 23 }; 24 25 propagatedBuildInputs = [ 26 pyjwt 27 ratelimit ··· 33 requests-mock 34 pytestCheckHook 35 ]; 36 37 pythonImportsCheck = [ "pyflume" ]; 38
+2 -9
pkgs/development/python-modules/pymupdf/default.nix
··· 13 14 buildPythonPackage rec { 15 pname = "pymupdf"; 16 - version = "1.18.16"; 17 18 src = fetchPypi { 19 pname = "PyMuPDF"; 20 inherit version; 21 - sha256 = "b21e39098fbbe0fdf269fdb2d1dd25a3847bbf22785ee8903d3a5637c2d0b9d7"; 22 }; 23 - 24 - patchFlags = [ "--binary" "--ignore-whitespace" ]; 25 - patches = [ 26 - # Add NIX environment support. 27 - # Should be removed next pyMuPDF release. 28 - ./nix-support.patch 29 - ]; 30 31 postPatch = '' 32 substituteInPlace setup.py \
··· 13 14 buildPythonPackage rec { 15 pname = "pymupdf"; 16 + version = "1.18.17"; 17 18 src = fetchPypi { 19 pname = "PyMuPDF"; 20 inherit version; 21 + sha256 = "fa39ee5e91eae77818e07b6bb7e0cb0b402ad88e39a74b08626ce1c2150c5414"; 22 }; 23 24 postPatch = '' 25 substituteInPlace setup.py \
-17
pkgs/development/python-modules/pymupdf/nix-support.patch
··· 1 - --- a/setup.py 2 - +++ b/setup.py 3 - @@ -36,10 +36,14 @@ LIBRARIES = { 4 - "opensuse": OPENSUSE, 5 - "fedora": FEDORA, 6 - "alpine": ALPINE, 7 - + "nix": FEDORA, 8 - } 9 - 10 - 11 - def load_libraries(): 12 - + if os.getenv("NIX_STORE"): 13 - + return LIBRARIES["nix"] 14 - + 15 - try: 16 - import distro 17 -
···
+2 -2
pkgs/development/python-modules/python-engineio/default.nix
··· 16 17 buildPythonPackage rec { 18 pname = "python-engineio"; 19 - version = "4.0.0"; 20 21 src = fetchFromGitHub { 22 owner = "miguelgrinberg"; 23 repo = "python-engineio"; 24 rev = "v${version}"; 25 - sha256 = "00x9pmmnl1yd59wd96ivkiqh4n5nphl8cwk43hf4nqr0icgsyhar"; 26 }; 27 28 checkInputs = [
··· 16 17 buildPythonPackage rec { 18 pname = "python-engineio"; 19 + version = "4.2.0"; 20 21 src = fetchFromGitHub { 22 owner = "miguelgrinberg"; 23 repo = "python-engineio"; 24 rev = "v${version}"; 25 + sha256 = "sha256-QfX8Volz5nabGVhQLXfSD/QooxLsU6DvCq1WRkRZ6hU="; 26 }; 27 28 checkInputs = [
+2 -2
pkgs/development/python-modules/python-socketio/default.nix
··· 9 10 buildPythonPackage rec { 11 pname = "python-socketio"; 12 - version = "5.0.4"; 13 14 src = fetchFromGitHub { 15 owner = "miguelgrinberg"; 16 repo = "python-socketio"; 17 rev = "v${version}"; 18 - sha256 = "0mpqr53mrdzk9ki24y1inpsfvjlvm7pvxf8q4d52m80i5pcd5v5q"; 19 }; 20 21 propagatedBuildInputs = [
··· 9 10 buildPythonPackage rec { 11 pname = "python-socketio"; 12 + version = "5.3.0"; 13 14 src = fetchFromGitHub { 15 owner = "miguelgrinberg"; 16 repo = "python-socketio"; 17 rev = "v${version}"; 18 + sha256 = "sha256-jyTTWxShLDDnbT+MYIJIjwpn3xfIB04je78doIOG+FQ="; 19 }; 20 21 propagatedBuildInputs = [
-1
pkgs/development/tools/earthly/default.nix
··· 18 -s -w 19 -X main.Version=v${version} 20 -X main.DefaultBuildkitdImage=earthly/buildkitd:v${version} 21 - -extldflags -static 22 ''; 23 24 BUILDTAGS = "dfrunmount dfrunsecurity dfsecrets dfssh dfrunnetwork";
··· 18 -s -w 19 -X main.Version=v${version} 20 -X main.DefaultBuildkitdImage=earthly/buildkitd:v${version} 21 ''; 22 23 BUILDTAGS = "dfrunmount dfrunsecurity dfsecrets dfssh dfrunnetwork";
+8 -2
pkgs/development/tools/rust/rust-analyzer/default.nix
··· 1 { lib, stdenv, fetchFromGitHub, rustPlatform, CoreServices, cmake 2 , libiconv 3 , useMimalloc ? false 4 - # FIXME: Test doesn't pass under rustc 1.52.1 due to different escaping of `'` in string. 5 - , doCheck ? false 6 }: 7 8 rustPlatform.buildRustPackage rec { ··· 17 sha256 = "sha256-6Tbgy77Essi3Hyd5kdJ7JJbx7RuFZQWURfRrpScvPPQ="; 18 }; 19 20 buildAndTestSubdir = "crates/rust-analyzer"; 21 22 cargoBuildFlags = lib.optional useMimalloc "--features=mimalloc"; 23 24 nativeBuildInputs = lib.optional useMimalloc cmake; 25
··· 1 { lib, stdenv, fetchFromGitHub, rustPlatform, CoreServices, cmake 2 , libiconv 3 , useMimalloc ? false 4 + , doCheck ? true 5 }: 6 7 rustPlatform.buildRustPackage rec { ··· 16 sha256 = "sha256-6Tbgy77Essi3Hyd5kdJ7JJbx7RuFZQWURfRrpScvPPQ="; 17 }; 18 19 + patches = [ 20 + # Code format and git history check require more dependencies but don't really matter for packaging. 21 + # So just ignore them. 22 + ./ignore-git-and-rustfmt-tests.patch 23 + ]; 24 + 25 buildAndTestSubdir = "crates/rust-analyzer"; 26 27 cargoBuildFlags = lib.optional useMimalloc "--features=mimalloc"; 28 + cargoTestFlags = lib.optional useMimalloc "--features=mimalloc"; 29 30 nativeBuildInputs = lib.optional useMimalloc cmake; 31
+18
pkgs/development/tools/rust/rust-analyzer/ignore-git-and-rustfmt-tests.patch
···
··· 1 + --- a/crates/rust-analyzer/tests/slow-tests/tidy.rs 2 + +++ b/crates/rust-analyzer/tests/slow-tests/tidy.rs 3 + @@ -6,6 +6,7 @@ use std::{ 4 + use xshell::{cmd, pushd, pushenv, read_file}; 5 + 6 + #[test] 7 + +#[ignore] 8 + fn check_code_formatting() { 9 + let _dir = pushd(sourcegen::project_root()).unwrap(); 10 + let _e = pushenv("RUSTUP_TOOLCHAIN", "stable"); 11 + @@ -138,6 +139,7 @@ fn check_cargo_toml(path: &Path, text: String) -> () { 12 + } 13 + 14 + #[test] 15 + +#[ignore] 16 + fn check_merge_commits() { 17 + let stdout = cmd!("git rev-list --merges --invert-grep --author 'bors\\[bot\\]' HEAD~19..") 18 + .read()
+78 -66
pkgs/misc/vim-plugins/generated.nix
··· 389 390 bufferline-nvim = buildVimPluginFrom2Nix { 391 pname = "bufferline-nvim"; 392 - version = "2021-08-21"; 393 src = fetchFromGitHub { 394 owner = "akinsho"; 395 repo = "bufferline.nvim"; 396 - rev = "35ac1c1e2e6f7cbf6a1ad027d8bf019a284b28d5"; 397 - sha256 = "1sdq5yjav7ak5lkw0kiz8mwffnxva94w1xav8y8kxy8f95b78a2g"; 398 }; 399 meta.homepage = "https://github.com/akinsho/bufferline.nvim/"; 400 }; ··· 449 450 chadtree = buildVimPluginFrom2Nix { 451 pname = "chadtree"; 452 - version = "2021-08-22"; 453 src = fetchFromGitHub { 454 owner = "ms-jpq"; 455 repo = "chadtree"; 456 - rev = "b84f08364a3b3a6eb9795ecdab418d1e786b0be4"; 457 - sha256 = "0jh6xbiqrnldk1l2p1jqfi34wwci7nx2pxhvcv0fi9mb7r5bzvmw"; 458 }; 459 meta.homepage = "https://github.com/ms-jpq/chadtree/"; 460 }; ··· 581 582 cmp-nvim-lsp = buildVimPluginFrom2Nix { 583 pname = "cmp-nvim-lsp"; 584 - version = "2021-08-16"; 585 src = fetchFromGitHub { 586 owner = "hrsh7th"; 587 repo = "cmp-nvim-lsp"; 588 - rev = "09e4ab0fb66ad07d64b311d1bd7916905bf3364b"; 589 - sha256 = "0573ywym8favv12g78qln4zx15j1ic26y8j2rbdlh8n22zll0v1x"; 590 }; 591 meta.homepage = "https://github.com/hrsh7th/cmp-nvim-lsp/"; 592 }; ··· 713 714 coc-nvim = buildVimPluginFrom2Nix { 715 pname = "coc-nvim"; 716 - version = "2021-08-22"; 717 src = fetchFromGitHub { 718 owner = "neoclide"; 719 repo = "coc.nvim"; 720 - rev = "5f5e3135de04c9e245c1ecf53b67836c692fd06a"; 721 - sha256 = "1cljdxgqxiyq6gg71pg9k5b8iwvj8nzg4m7llzj957lrhfpavfxg"; 722 }; 723 meta.homepage = "https://github.com/neoclide/coc.nvim/"; 724 }; ··· 966 967 Coqtail = buildVimPluginFrom2Nix { 968 pname = "Coqtail"; 969 - version = "2021-08-16"; 970 src = fetchFromGitHub { 971 owner = "whonore"; 972 repo = "Coqtail"; 973 - rev = "358747255db85579498dfc6e03dcd808d5b81d34"; 974 - sha256 = "086q1bx6xz3qzkyll6lszcgljyz8b5w4ywa8wvcv71al3cxd9n7b"; 975 }; 976 meta.homepage = "https://github.com/whonore/Coqtail/"; 977 }; ··· 1508 1509 dracula-vim = buildVimPluginFrom2Nix { 1510 pname = "dracula-vim"; 1511 - version = "2021-08-06"; 1512 src = fetchFromGitHub { 1513 owner = "dracula"; 1514 repo = "vim"; 1515 - rev = "074a6b34952f2d14be196c217a3995749670f627"; 1516 - sha256 = "0vvz81dg64pp0x08imcicrqkp4z90ahfxsikhswraslklc1k1ar1"; 1517 }; 1518 meta.homepage = "https://github.com/dracula/vim/"; 1519 }; ··· 1555 meta.homepage = "https://github.com/editorconfig/editorconfig-vim/"; 1556 }; 1557 1558 elm-vim = buildVimPluginFrom2Nix { 1559 pname = "elm-vim"; 1560 version = "2020-09-23"; ··· 1823 1824 friendly-snippets = buildVimPluginFrom2Nix { 1825 pname = "friendly-snippets"; 1826 - version = "2021-08-19"; 1827 src = fetchFromGitHub { 1828 owner = "rafamadriz"; 1829 repo = "friendly-snippets"; 1830 - rev = "2d7bcab215c8b7a8f889b371c4060dda2a6c6541"; 1831 - sha256 = "0kxm6nl167b51gjwli64d9qp5s1cdy9za0zfq9hy8phivjk2pmyl"; 1832 }; 1833 meta.homepage = "https://github.com/rafamadriz/friendly-snippets/"; 1834 }; ··· 2039 2040 gitsigns-nvim = buildVimPluginFrom2Nix { 2041 pname = "gitsigns-nvim"; 2042 - version = "2021-08-16"; 2043 src = fetchFromGitHub { 2044 owner = "lewis6991"; 2045 repo = "gitsigns.nvim"; 2046 - rev = "70705a33ab816c61011ed9c97ebb5925eaeb89c1"; 2047 - sha256 = "1bcrba17icpdmk69p284kb2k3jpwimnbcn5msa7xq46wj97hy12k"; 2048 }; 2049 meta.homepage = "https://github.com/lewis6991/gitsigns.nvim/"; 2050 }; ··· 2808 2809 lightspeed-nvim = buildVimPluginFrom2Nix { 2810 pname = "lightspeed-nvim"; 2811 - version = "2021-08-21"; 2812 src = fetchFromGitHub { 2813 owner = "ggandor"; 2814 repo = "lightspeed.nvim"; 2815 - rev = "177ef542f6f26147f16be7b07c1e6fcfa66bf128"; 2816 - sha256 = "0c6bwdgi2d43jar05zcfarsas3r7y9v7igr3ldsgd7491wf8hjhg"; 2817 }; 2818 meta.homepage = "https://github.com/ggandor/lightspeed.nvim/"; 2819 }; ··· 2964 2965 luasnip = buildVimPluginFrom2Nix { 2966 pname = "luasnip"; 2967 - version = "2021-08-22"; 2968 src = fetchFromGitHub { 2969 owner = "l3mon4d3"; 2970 repo = "luasnip"; 2971 - rev = "6d398e3443933a68607215538e614662d2ffa5c8"; 2972 - sha256 = "0ll54nqa3lxzhxyjsya8y4qiyyicfsp5yz25mjdgqmvvf4i39jxz"; 2973 }; 2974 meta.homepage = "https://github.com/l3mon4d3/luasnip/"; 2975 }; ··· 3468 3469 neosnippet-vim = buildVimPluginFrom2Nix { 3470 pname = "neosnippet-vim"; 3471 - version = "2021-08-20"; 3472 src = fetchFromGitHub { 3473 owner = "Shougo"; 3474 repo = "neosnippet.vim"; 3475 - rev = "c1634915a8f798cded2bef39c6f24a9d988aca10"; 3476 - sha256 = "02cvrxfy6n7z5xl5ijw2fkz81j7lm18agyx6qs11a5l5f515h4a2"; 3477 }; 3478 meta.homepage = "https://github.com/Shougo/neosnippet.vim/"; 3479 }; ··· 3696 3697 null-ls-nvim = buildVimPluginFrom2Nix { 3698 pname = "null-ls-nvim"; 3699 - version = "2021-08-18"; 3700 src = fetchFromGitHub { 3701 owner = "jose-elias-alvarez"; 3702 repo = "null-ls.nvim"; 3703 - rev = "f907d945d0285f42dc9ebffbc075ea725b93b6aa"; 3704 - sha256 = "1jg6wxknbzirq9j880yki8bm8v1zdkk60fyis67syf722vric9i8"; 3705 }; 3706 meta.homepage = "https://github.com/jose-elias-alvarez/null-ls.nvim/"; 3707 }; ··· 3864 3865 nvim-dap-ui = buildVimPluginFrom2Nix { 3866 pname = "nvim-dap-ui"; 3867 - version = "2021-08-15"; 3868 src = fetchFromGitHub { 3869 owner = "rcarriga"; 3870 repo = "nvim-dap-ui"; 3871 - rev = "c9fc568ca157429cd76986ca2bfaa60488a7d2fb"; 3872 - sha256 = "09jk0v2ki0hsy1m2hg3dwi66yaqn670vnjbbrbdxrq55n260gds3"; 3873 }; 3874 meta.homepage = "https://github.com/rcarriga/nvim-dap-ui/"; 3875 }; ··· 3912 3913 nvim-gps = buildVimPluginFrom2Nix { 3914 pname = "nvim-gps"; 3915 - version = "2021-08-22"; 3916 src = fetchFromGitHub { 3917 owner = "smiteshp"; 3918 repo = "nvim-gps"; 3919 - rev = "f365bc331c1fd752429427cdfed4aa142e9fc74f"; 3920 - sha256 = "1phzrw37y9gzcimy5r3phy2x53c9b2q5l3v5ipcx1k4q6pfkh026"; 3921 }; 3922 meta.homepage = "https://github.com/smiteshp/nvim-gps/"; 3923 }; 3924 3925 nvim-highlite = buildVimPluginFrom2Nix { 3926 pname = "nvim-highlite"; 3927 - version = "2021-08-21"; 3928 src = fetchFromGitHub { 3929 owner = "Iron-E"; 3930 repo = "nvim-highlite"; 3931 - rev = "dd827f091554065736105c72e1256d1fc8f4f445"; 3932 - sha256 = "11jndab13dhd6pqzbd385awzhmxvzz68aza09qmfqkjvmcs1gy8c"; 3933 }; 3934 meta.homepage = "https://github.com/Iron-E/nvim-highlite/"; 3935 }; ··· 3984 3985 nvim-lspconfig = buildVimPluginFrom2Nix { 3986 pname = "nvim-lspconfig"; 3987 - version = "2021-08-20"; 3988 src = fetchFromGitHub { 3989 owner = "neovim"; 3990 repo = "nvim-lspconfig"; 3991 - rev = "9adbacf29835bf521a99a8d3f0b6f2157b1b9166"; 3992 - sha256 = "0k4b6qsrvlgxr600x9wgkfdraqczx49zqyqfz88xf6pjbx0zyach"; 3993 }; 3994 meta.homepage = "https://github.com/neovim/nvim-lspconfig/"; 3995 }; ··· 5139 5140 sql-nvim = buildVimPluginFrom2Nix { 5141 pname = "sql-nvim"; 5142 - version = "2021-08-21"; 5143 src = fetchFromGitHub { 5144 owner = "tami5"; 5145 repo = "sql.nvim"; 5146 - rev = "eb1f0512c3b781740090877b39bc9332c01edb46"; 5147 - sha256 = "1dykwqv01fcf8k2q8fz7z4zgc9wh4v551b9mwm44n2lqzg35swzg"; 5148 }; 5149 meta.homepage = "https://github.com/tami5/sql.nvim/"; 5150 }; ··· 5247 5248 symbols-outline-nvim = buildVimPluginFrom2Nix { 5249 pname = "symbols-outline-nvim"; 5250 - version = "2021-08-21"; 5251 src = fetchFromGitHub { 5252 owner = "simrat39"; 5253 repo = "symbols-outline.nvim"; 5254 - rev = "40b7d5cbaa51c031061827c48e6a05748db7e91d"; 5255 - sha256 = "1mk4g1kgg2as3kk010wd9x2f4v60an68mqflpk97ng6a52laj5nw"; 5256 }; 5257 meta.homepage = "https://github.com/simrat39/symbols-outline.nvim/"; 5258 }; ··· 5501 5502 telescope-nvim = buildVimPluginFrom2Nix { 5503 pname = "telescope-nvim"; 5504 - version = "2021-08-21"; 5505 src = fetchFromGitHub { 5506 owner = "nvim-telescope"; 5507 repo = "telescope.nvim"; 5508 - rev = "8381a215e091dc9e1f6ad9ceaeadf35ef3cfed8f"; 5509 - sha256 = "0cn1ynvva8nzjyrp285ficfa74wky0gikii2hysdi0g4ndnh6ypa"; 5510 }; 5511 meta.homepage = "https://github.com/nvim-telescope/telescope.nvim/"; 5512 }; ··· 5622 5623 toggleterm-nvim = buildVimPluginFrom2Nix { 5624 pname = "toggleterm-nvim"; 5625 - version = "2021-08-22"; 5626 src = fetchFromGitHub { 5627 owner = "akinsho"; 5628 repo = "toggleterm.nvim"; 5629 - rev = "5a4429d33cc8f286a0ad30b89084ec5284d6a652"; 5630 - sha256 = "0rflwn9bbnffly5i66n3hxrf9cgbpqphqc2p6bjpxlyydda1vdx3"; 5631 }; 5632 meta.homepage = "https://github.com/akinsho/toggleterm.nvim/"; 5633 }; ··· 6654 6655 vim-dadbod = buildVimPluginFrom2Nix { 6656 pname = "vim-dadbod"; 6657 - version = "2021-06-02"; 6658 src = fetchFromGitHub { 6659 owner = "tpope"; 6660 repo = "vim-dadbod"; 6661 - rev = "9e4fdb8ab029c0436728a96e1c92677737c2e784"; 6662 - sha256 = "1rmiza1km214mvlrdaqycv5hk8ki35giab11b9ggwcigbh743h01"; 6663 }; 6664 meta.homepage = "https://github.com/tpope/vim-dadbod/"; 6665 }; ··· 7170 7171 vim-fugitive = buildVimPluginFrom2Nix { 7172 pname = "vim-fugitive"; 7173 - version = "2021-08-22"; 7174 src = fetchFromGitHub { 7175 owner = "tpope"; 7176 repo = "vim-fugitive"; 7177 - rev = "5d1a276b455dd9a32375a5ac84050adff67062e3"; 7178 - sha256 = "1bm3fwbg9nmdxpvaqrs31g88ij5b5wxip2s4j9v1i0c0w5jplxjn"; 7179 }; 7180 meta.homepage = "https://github.com/tpope/vim-fugitive/"; 7181 };
··· 389 390 bufferline-nvim = buildVimPluginFrom2Nix { 391 pname = "bufferline-nvim"; 392 + version = "2021-08-23"; 393 src = fetchFromGitHub { 394 owner = "akinsho"; 395 repo = "bufferline.nvim"; 396 + rev = "21fda2cfb4c692f91e4df486dc2e28a37c628a76"; 397 + sha256 = "05wi1zb1b3b08av3l8i40jggvb2mpkqmg0w8dqhxannblfkk8h8c"; 398 }; 399 meta.homepage = "https://github.com/akinsho/bufferline.nvim/"; 400 }; ··· 449 450 chadtree = buildVimPluginFrom2Nix { 451 pname = "chadtree"; 452 + version = "2021-08-23"; 453 src = fetchFromGitHub { 454 owner = "ms-jpq"; 455 repo = "chadtree"; 456 + rev = "d8089b752346fdccdd4fe85cec82c0f9919823fa"; 457 + sha256 = "12nn4467jhhfi2vwsywzf6fqadwjsymmmmny5d4jsbz3l5xhcfmz"; 458 }; 459 meta.homepage = "https://github.com/ms-jpq/chadtree/"; 460 }; ··· 581 582 cmp-nvim-lsp = buildVimPluginFrom2Nix { 583 pname = "cmp-nvim-lsp"; 584 + version = "2021-08-23"; 585 src = fetchFromGitHub { 586 owner = "hrsh7th"; 587 repo = "cmp-nvim-lsp"; 588 + rev = "899f70af0786d4100fb29987b9ab03eac7eedd6a"; 589 + sha256 = "1gw478b77smkn3k42h2q3ddq2kcd7vm6mnmjmksvbsfv5xp9pln0"; 590 }; 591 meta.homepage = "https://github.com/hrsh7th/cmp-nvim-lsp/"; 592 }; ··· 713 714 coc-nvim = buildVimPluginFrom2Nix { 715 pname = "coc-nvim"; 716 + version = "2021-08-23"; 717 src = fetchFromGitHub { 718 owner = "neoclide"; 719 repo = "coc.nvim"; 720 + rev = "595e60210f7d0c9e5a21672428bae8c3f518a3b9"; 721 + sha256 = "0mdqb07avwk2f5h5xylq2lkg56jk82dccyrxb17cxfw2dsgbs93m"; 722 }; 723 meta.homepage = "https://github.com/neoclide/coc.nvim/"; 724 }; ··· 966 967 Coqtail = buildVimPluginFrom2Nix { 968 pname = "Coqtail"; 969 + version = "2021-08-23"; 970 src = fetchFromGitHub { 971 owner = "whonore"; 972 repo = "Coqtail"; 973 + rev = "b292682c16176f961e11e1e68eb799d9b1b3e4e9"; 974 + sha256 = "1278z0rgvg65kprxyg02yl2fixrfy9pg5fj3d796nc607ipzdhvb"; 975 }; 976 meta.homepage = "https://github.com/whonore/Coqtail/"; 977 }; ··· 1508 1509 dracula-vim = buildVimPluginFrom2Nix { 1510 pname = "dracula-vim"; 1511 + version = "2021-08-22"; 1512 src = fetchFromGitHub { 1513 owner = "dracula"; 1514 repo = "vim"; 1515 + rev = "d1ff992bf605c098577b7f0e632e3ea887b71520"; 1516 + sha256 = "04zmqz270willnpfsf61pa9xx5i5phx1g6r6nw317r9rs0dnk0wj"; 1517 }; 1518 meta.homepage = "https://github.com/dracula/vim/"; 1519 }; ··· 1555 meta.homepage = "https://github.com/editorconfig/editorconfig-vim/"; 1556 }; 1557 1558 + editorconfig-nvim = buildVimPluginFrom2Nix { 1559 + pname = "editorconfig-nvim"; 1560 + version = "2021-08-18"; 1561 + src = fetchFromGitHub { 1562 + owner = "gpanders"; 1563 + repo = "editorconfig.nvim"; 1564 + rev = "8840aacb025af17e42c6c215a34568f3dbcf94f6"; 1565 + sha256 = "1flr9mhz33bcrqp6iwnvhsz18hrd4ynvh7qdihnpd5qn0mwf034w"; 1566 + }; 1567 + meta.homepage = "https://github.com/gpanders/editorconfig.nvim/"; 1568 + }; 1569 + 1570 elm-vim = buildVimPluginFrom2Nix { 1571 pname = "elm-vim"; 1572 version = "2020-09-23"; ··· 1835 1836 friendly-snippets = buildVimPluginFrom2Nix { 1837 pname = "friendly-snippets"; 1838 + version = "2021-08-23"; 1839 src = fetchFromGitHub { 1840 owner = "rafamadriz"; 1841 repo = "friendly-snippets"; 1842 + rev = "d438b0fc71447c502029320377f0ed53603b9e0c"; 1843 + sha256 = "0hnn5rlm9gb59afbfi78rs5lp9fq844x8qrpqnwi0kcz8b3d6bp7"; 1844 }; 1845 meta.homepage = "https://github.com/rafamadriz/friendly-snippets/"; 1846 }; ··· 2051 2052 gitsigns-nvim = buildVimPluginFrom2Nix { 2053 pname = "gitsigns-nvim"; 2054 + version = "2021-08-23"; 2055 src = fetchFromGitHub { 2056 owner = "lewis6991"; 2057 repo = "gitsigns.nvim"; 2058 + rev = "1ddb1f64f5fb15dac2d02e52af918d1fb11feb2d"; 2059 + sha256 = "0y33dsxhw55h28kvqq3655cmnl4nq4z497v69xa72872gf1dsi80"; 2060 }; 2061 meta.homepage = "https://github.com/lewis6991/gitsigns.nvim/"; 2062 }; ··· 2820 2821 lightspeed-nvim = buildVimPluginFrom2Nix { 2822 pname = "lightspeed-nvim"; 2823 + version = "2021-08-23"; 2824 src = fetchFromGitHub { 2825 owner = "ggandor"; 2826 repo = "lightspeed.nvim"; 2827 + rev = "9a613fb6ea8b8a41e7956f272c8cd0dc9a65102b"; 2828 + sha256 = "1l19cn04ibw0pd1isw02mllqxzp4gy4jd0mnv4mzf24ydjkyixkn"; 2829 }; 2830 meta.homepage = "https://github.com/ggandor/lightspeed.nvim/"; 2831 }; ··· 2976 2977 luasnip = buildVimPluginFrom2Nix { 2978 pname = "luasnip"; 2979 + version = "2021-08-23"; 2980 src = fetchFromGitHub { 2981 owner = "l3mon4d3"; 2982 repo = "luasnip"; 2983 + rev = "2ee1dfa64e14201a1016cd7088b612a0d2a116e2"; 2984 + sha256 = "0hqj4xv3mxdcknjqhazvnsk01jdc3x6qqgyyf6sy5d4kxm5q9q0w"; 2985 }; 2986 meta.homepage = "https://github.com/l3mon4d3/luasnip/"; 2987 }; ··· 3480 3481 neosnippet-vim = buildVimPluginFrom2Nix { 3482 pname = "neosnippet-vim"; 3483 + version = "2021-08-22"; 3484 src = fetchFromGitHub { 3485 owner = "Shougo"; 3486 repo = "neosnippet.vim"; 3487 + rev = "3f6f5f8ad34d63ecb1060dbd6d7e2513238da528"; 3488 + sha256 = "14f0ksrn4grkpjfn766hxg1p19dryngxai33b2322dy0qaw244d2"; 3489 }; 3490 meta.homepage = "https://github.com/Shougo/neosnippet.vim/"; 3491 }; ··· 3708 3709 null-ls-nvim = buildVimPluginFrom2Nix { 3710 pname = "null-ls-nvim"; 3711 + version = "2021-08-23"; 3712 src = fetchFromGitHub { 3713 owner = "jose-elias-alvarez"; 3714 repo = "null-ls.nvim"; 3715 + rev = "414ed4690583315705955c80cdf52e86cfc134aa"; 3716 + sha256 = "084n4x0ikhxh9h33cqyzr3ajxd9zm9x7lh2q8dv0i5jlyxyb1grf"; 3717 }; 3718 meta.homepage = "https://github.com/jose-elias-alvarez/null-ls.nvim/"; 3719 }; ··· 3876 3877 nvim-dap-ui = buildVimPluginFrom2Nix { 3878 pname = "nvim-dap-ui"; 3879 + version = "2021-08-22"; 3880 src = fetchFromGitHub { 3881 owner = "rcarriga"; 3882 repo = "nvim-dap-ui"; 3883 + rev = "8f34bb2e4700d83a84402ec776d4d3336e0e63f9"; 3884 + sha256 = "1lfrmi48vkkr92zfwzr5mbdczfw2w9lw04bvwnx77ir798lbp6mc"; 3885 }; 3886 meta.homepage = "https://github.com/rcarriga/nvim-dap-ui/"; 3887 }; ··· 3924 3925 nvim-gps = buildVimPluginFrom2Nix { 3926 pname = "nvim-gps"; 3927 + version = "2021-08-23"; 3928 src = fetchFromGitHub { 3929 owner = "smiteshp"; 3930 repo = "nvim-gps"; 3931 + rev = "a4be468d8991840641c8db5cc6bbbffc3dafd79d"; 3932 + sha256 = "09mn8gysbs54bhicg9s52s87c472h10cmvi76fyljgxrkpbjssw3"; 3933 }; 3934 meta.homepage = "https://github.com/smiteshp/nvim-gps/"; 3935 }; 3936 3937 nvim-highlite = buildVimPluginFrom2Nix { 3938 pname = "nvim-highlite"; 3939 + version = "2021-08-22"; 3940 src = fetchFromGitHub { 3941 owner = "Iron-E"; 3942 repo = "nvim-highlite"; 3943 + rev = "671869d981c47ccb2f7370145062a9cd9967d17b"; 3944 + sha256 = "14fs6h79ccb0mp9mcllqz42pkqialvs7gwp83xlpgy0kphgksndf"; 3945 }; 3946 meta.homepage = "https://github.com/Iron-E/nvim-highlite/"; 3947 }; ··· 3996 3997 nvim-lspconfig = buildVimPluginFrom2Nix { 3998 pname = "nvim-lspconfig"; 3999 + version = "2021-08-22"; 4000 src = fetchFromGitHub { 4001 owner = "neovim"; 4002 repo = "nvim-lspconfig"; 4003 + rev = "5b0fa84ee35006e06142f98b8a5b28d79cfa5000"; 4004 + sha256 = "0in0r3irawmgxp1prwryw3dpxj7gd6pviv14w8a7hnw1sd2g84l8"; 4005 }; 4006 meta.homepage = "https://github.com/neovim/nvim-lspconfig/"; 4007 }; ··· 5151 5152 sql-nvim = buildVimPluginFrom2Nix { 5153 pname = "sql-nvim"; 5154 + version = "2021-08-23"; 5155 src = fetchFromGitHub { 5156 owner = "tami5"; 5157 repo = "sql.nvim"; 5158 + rev = "a0370391af2998e11c6320ba08a57d5a1827c0ed"; 5159 + sha256 = "13k9rdjwrmrv6vm2rn2b3ga02fcmig2ainllh8dxzpln3c3idwbp"; 5160 }; 5161 meta.homepage = "https://github.com/tami5/sql.nvim/"; 5162 }; ··· 5259 5260 symbols-outline-nvim = buildVimPluginFrom2Nix { 5261 pname = "symbols-outline-nvim"; 5262 + version = "2021-08-23"; 5263 src = fetchFromGitHub { 5264 owner = "simrat39"; 5265 repo = "symbols-outline.nvim"; 5266 + rev = "6f376ef4ceb88ff7f0d9e3141dbe2a2e0854e785"; 5267 + sha256 = "1882gb76hp4zpwyljrzl26qjwyyvnavhfv529nj5z5x41vyhsks5"; 5268 }; 5269 meta.homepage = "https://github.com/simrat39/symbols-outline.nvim/"; 5270 }; ··· 5513 5514 telescope-nvim = buildVimPluginFrom2Nix { 5515 pname = "telescope-nvim"; 5516 + version = "2021-08-23"; 5517 src = fetchFromGitHub { 5518 owner = "nvim-telescope"; 5519 repo = "telescope.nvim"; 5520 + rev = "79dc995f820150d5de880c08e814af327ff7e965"; 5521 + sha256 = "0acyzc0k14dvd7j4ihvg84fz9lp1alwbf6qbnq083y6pd37mhj7b"; 5522 }; 5523 meta.homepage = "https://github.com/nvim-telescope/telescope.nvim/"; 5524 }; ··· 5634 5635 toggleterm-nvim = buildVimPluginFrom2Nix { 5636 pname = "toggleterm-nvim"; 5637 + version = "2021-08-23"; 5638 src = fetchFromGitHub { 5639 owner = "akinsho"; 5640 repo = "toggleterm.nvim"; 5641 + rev = "317caf587448fc8d42189d2dc27dab076857aeb0"; 5642 + sha256 = "1gl27njvik0dfg9412gwnqi6ar6nqhpfhliyjm5w96pxaa6xlafp"; 5643 }; 5644 meta.homepage = "https://github.com/akinsho/toggleterm.nvim/"; 5645 }; ··· 6666 6667 vim-dadbod = buildVimPluginFrom2Nix { 6668 pname = "vim-dadbod"; 6669 + version = "2021-08-23"; 6670 src = fetchFromGitHub { 6671 owner = "tpope"; 6672 repo = "vim-dadbod"; 6673 + rev = "6f8b99868fd5560d6eb47f82ca76ec62e3d5ae78"; 6674 + sha256 = "0n1hvyv9555rgi3qajy3d59v1nqdwcrr0l4nqzc0pr0cg9q7d6g3"; 6675 }; 6676 meta.homepage = "https://github.com/tpope/vim-dadbod/"; 6677 }; ··· 7182 7183 vim-fugitive = buildVimPluginFrom2Nix { 7184 pname = "vim-fugitive"; 7185 + version = "2021-08-23"; 7186 src = fetchFromGitHub { 7187 owner = "tpope"; 7188 repo = "vim-fugitive"; 7189 + rev = "8cdb51622fbdbf780edff35ee22d74ad9983698e"; 7190 + sha256 = "18073gnl90n7h8j3rk6shs79455svwa47n5jxyb44m1957hvzfgb"; 7191 }; 7192 meta.homepage = "https://github.com/tpope/vim-fugitive/"; 7193 };
+1
pkgs/misc/vim-plugins/vim-plugin-names
··· 193 google/vim-maktaba 194 gorkunov/smartpairs.vim 195 gotcha/vimelette 196 gregsexton/gitv 197 gruvbox-community/gruvbox as gruvbox-community 198 gu-fan/riv.vim
··· 193 google/vim-maktaba 194 gorkunov/smartpairs.vim 195 gotcha/vimelette 196 + gpanders/editorconfig.nvim 197 gregsexton/gitv 198 gruvbox-community/gruvbox as gruvbox-community 199 gu-fan/riv.vim
+12
pkgs/misc/vscode-extensions/default.nix
··· 917 }; 918 }; 919 920 mads-hartmann.bash-ide-vscode = buildVscodeMarketplaceExtension { 921 mktplcRef = { 922 publisher = "mads-hartmann";
··· 917 }; 918 }; 919 920 + lokalise.i18n-ally = buildVscodeMarketplaceExtension { 921 + mktplcRef = { 922 + name = "i18n-ally"; 923 + publisher = "Lokalise"; 924 + version = "2.7.1"; 925 + sha256 = "sha256-nHBYRSiPQ5ucWPr9VCUgMrosloLnVj40Fh+CEBvWONE="; 926 + }; 927 + meta = { 928 + license = lib.licenses.mit; 929 + }; 930 + }; 931 + 932 mads-hartmann.bash-ide-vscode = buildVscodeMarketplaceExtension { 933 mktplcRef = { 934 publisher = "mads-hartmann";
+2 -2
pkgs/pkgs-lib/tests/formats.nix
··· 77 'false': false 78 float: 3.141 79 list: 80 - - null 81 - - null 82 'null': null 83 path: ${./formats.nix} 84 str: foo
··· 77 'false': false 78 float: 3.141 79 list: 80 + - null 81 + - null 82 'null': null 83 path: ${./formats.nix} 84 str: foo
+3 -3
pkgs/servers/monitoring/thanos/default.nix
··· 1 { lib, buildGoModule, fetchFromGitHub }: 2 buildGoModule rec { 3 pname = "thanos"; 4 - version = "0.19.0"; 5 6 src = fetchFromGitHub { 7 rev = "v${version}"; 8 owner = "thanos-io"; 9 repo = "thanos"; 10 - sha256 = "sha256-FryVKOabokw2+RyD94QLVpC9ZGIHPuSXZf5H+eitj80="; 11 }; 12 13 - vendorSha256 = "sha256-GBjPMZ6BwUOKywNf1Bc2WeA14qvKQ0R5gWvVxgO/7Lo="; 14 15 doCheck = false; 16
··· 1 { lib, buildGoModule, fetchFromGitHub }: 2 buildGoModule rec { 3 pname = "thanos"; 4 + version = "0.22.0"; 5 6 src = fetchFromGitHub { 7 rev = "v${version}"; 8 owner = "thanos-io"; 9 repo = "thanos"; 10 + sha256 = "sha256-3jEPfYRewuXTk39sfp6MFKu0LYCzj/VEQTJVUUSkbZk="; 11 }; 12 13 + vendorSha256 = "sha256-rXfYlrTm0Av9Sxq+jdxsxIDvJQIo3rcBTydtiXnifTw="; 14 15 doCheck = false; 16
+2 -2
pkgs/servers/tvheadend/default.nix
··· 1 { lib, stdenv, fetchFromGitHub, cmake, makeWrapper, pkg-config 2 - , avahi, dbus, gettext, git, gnutar, gzip, bzip2, ffmpeg_3, libiconv, openssl, python 3 , v4l-utils, which, zlib }: 4 5 let ··· 29 }; 30 31 buildInputs = [ 32 - avahi dbus gettext git gnutar gzip bzip2 ffmpeg_3 libiconv openssl python 33 which zlib 34 ]; 35
··· 1 { lib, stdenv, fetchFromGitHub, cmake, makeWrapper, pkg-config 2 + , avahi, dbus, gettext, git, gnutar, gzip, bzip2, ffmpeg_4, libiconv, openssl, python 3 , v4l-utils, which, zlib }: 4 5 let ··· 29 }; 30 31 buildInputs = [ 32 + avahi dbus gettext git gnutar gzip bzip2 ffmpeg_4 libiconv openssl python 33 which zlib 34 ]; 35
+4
pkgs/shells/bash/bash-5.1-patches.nix
··· 5 (patch "002" "1gjx9zqcm407am3n2sh44b8dxm48kgm15rzfiijqxr01m0hn3shm") 6 (patch "003" "1cdnpbfc64yhvkjj4d12s9ywp11g195vzfl1cab24sq55wkcrwi2") 7 (patch "004" "11iwhy6v562bv0kk7lwj7f5jj65ma9bblivy0v02h3ggcibbdbls") 8 ]
··· 5 (patch "002" "1gjx9zqcm407am3n2sh44b8dxm48kgm15rzfiijqxr01m0hn3shm") 6 (patch "003" "1cdnpbfc64yhvkjj4d12s9ywp11g195vzfl1cab24sq55wkcrwi2") 7 (patch "004" "11iwhy6v562bv0kk7lwj7f5jj65ma9bblivy0v02h3ggcibbdbls") 8 + (patch "005" "19bdyigdr81824nxvqr6a7k0cax60wq7376j6b91afbnwvlvbjyc") 9 + (patch "006" "051x8wlwrqk0yr0zg378vh824iklfl5g9pkmcdf62qp8gn9pvqbm") 10 + (patch "007" "0fir80pp1gmlpadmqcgkrv4y119pc7xllchjzg05fd7px73viz5c") 11 + (patch "008" "1lfjgshk8i9vch92p5wgc9r90j3phw79aa7gbai89w183b2z6b7j") 12 ]
+14 -14
pkgs/shells/bash/update-patch-set.sh
··· 1 #!/usr/bin/env nix-shell 2 - #!nix-shell --pure -i bash -p wget -p gnupg -p cacert 3 4 # Update patch set for GNU Bash or Readline. 5 6 if [ $# -ne 2 ] 7 then 8 - echo "Usage: $(basename $0) PROJECT VERSION" 9 echo "" 10 echo "Update the patch set for PROJECT (one of \`bash' or \`readline') for" 11 echo "the given version (e.g., \`4.0'). Produce \`PROJECT-patches.nix'." ··· 14 15 PROJECT="$1" 16 VERSION="$2" 17 - VERSION_CONDENSED="$(echo $VERSION | sed -es/\\.//g)" 18 - PATCH_LIST="$PROJECT-$VERSION-patches.nix" 19 20 set -e 21 - 22 - start=1 23 - end=100 # must be > 99 for correct padding 24 25 rm -vf "$PATCH_LIST" 26 ··· 35 echo "patch: [" ) \ 36 >> "$PATCH_LIST" 37 38 - for i in `seq -w $start $end` 39 do 40 - wget ftp.gnu.org/gnu/$PROJECT/$PROJECT-$VERSION-patches/$PROJECT$VERSION_CONDENSED-$i || break 41 - wget ftp.gnu.org/gnu/$PROJECT/$PROJECT-$VERSION-patches/$PROJECT$VERSION_CONDENSED-$i.sig 42 - gpg --verify $PROJECT$VERSION_CONDENSED-$i.sig 43 - echo "(patch \"$i\" \"$(nix-hash --flat --type sha256 --base32 $PROJECT$VERSION_CONDENSED-$i)\")" \ 44 >> "$PATCH_LIST" 45 46 - rm -f $PROJECT$VERSION_CONDENSED-$i{,.sig} 47 done 48 49 echo "]" >> "$PATCH_LIST" 50 51 - echo "Got $(expr $i - 1) patches." 52 echo "Patch list has been written to \`$PATCH_LIST'."
··· 1 #!/usr/bin/env nix-shell 2 + #!nix-shell --pure -i bash -p wget -p gnupg -p cacert -p nix 3 4 # Update patch set for GNU Bash or Readline. 5 6 if [ $# -ne 2 ] 7 then 8 + echo "Usage: $(basename "$0") PROJECT VERSION" 9 echo "" 10 echo "Update the patch set for PROJECT (one of \`bash' or \`readline') for" 11 echo "the given version (e.g., \`4.0'). Produce \`PROJECT-patches.nix'." ··· 14 15 PROJECT="$1" 16 VERSION="$2" 17 + DIR=$(dirname "$0") 18 + VERSION_CONDENSED="$(echo "$VERSION" | sed -es/\\.//g)" 19 + PATCH_LIST="$DIR/$PROJECT-$VERSION-patches.nix" 20 21 set -e 22 23 rm -vf "$PATCH_LIST" 24 ··· 33 echo "patch: [" ) \ 34 >> "$PATCH_LIST" 35 36 + for i in {001..100} 37 do 38 + wget -P "$DIR" "ftp.gnu.org/gnu/$PROJECT/$PROJECT-$VERSION-patches/$PROJECT$VERSION_CONDENSED-$i" || break 39 + wget -P "$DIR" "ftp.gnu.org/gnu/$PROJECT/$PROJECT-$VERSION-patches/$PROJECT$VERSION_CONDENSED-$i.sig" 40 + gpg --verify "$DIR/$PROJECT$VERSION_CONDENSED-$i.sig" 41 + hash=$(nix-hash --flat --type sha256 --base32 "$DIR/$PROJECT$VERSION_CONDENSED-$i") 42 + echo "(patch \"$i\" \"$hash\")" \ 43 >> "$PATCH_LIST" 44 45 + rm -f "$DIR/$PROJECT$VERSION_CONDENSED-$i"{,.sig} 46 done 47 48 echo "]" >> "$PATCH_LIST" 49 50 + # bash interprets numbers starting with 0 as octals 51 + echo "Got $((10#$i - 1)) patches." 52 echo "Patch list has been written to \`$PATCH_LIST'."
+2 -2
pkgs/tools/graphics/astc-encoder/default.nix
··· 31 32 gccStdenv.mkDerivation rec { 33 pname = "astc-encoder"; 34 - version = "3.1"; 35 36 src = fetchFromGitHub { 37 owner = "ARM-software"; 38 repo = "astc-encoder"; 39 rev = version; 40 - sha256 = "sha256-WWxk8F1MtFv1tWbSs45fmu4k9VCAAOjJP8zBz80zLTo="; 41 }; 42 43 nativeBuildInputs = [ cmake ];
··· 31 32 gccStdenv.mkDerivation rec { 33 pname = "astc-encoder"; 34 + version = "3.2"; 35 36 src = fetchFromGitHub { 37 owner = "ARM-software"; 38 repo = "astc-encoder"; 39 rev = version; 40 + sha256 = "sha256-1GVMzM4+viVqurkzJqTL3Yszld5zLmpjygT/z74HMLs="; 41 }; 42 43 nativeBuildInputs = [ cmake ];
+2 -2
pkgs/tools/misc/dateutils/default.nix
··· 1 { lib, stdenv, fetchurl, autoreconfHook, tzdata, fetchpatch }: 2 3 stdenv.mkDerivation rec { 4 - version = "0.4.8"; 5 pname = "dateutils"; 6 7 src = fetchurl { 8 url = "https://bitbucket.org/hroptatyr/dateutils/downloads/${pname}-${version}.tar.xz"; 9 - sha256 = "0061f36axskm7yq9cp64x5a5phil8d3zgcd668nfmqzk9ji58w1z"; 10 }; 11 12 nativeBuildInputs = [ autoreconfHook ];
··· 1 { lib, stdenv, fetchurl, autoreconfHook, tzdata, fetchpatch }: 2 3 stdenv.mkDerivation rec { 4 + version = "0.4.9"; 5 pname = "dateutils"; 6 7 src = fetchurl { 8 url = "https://bitbucket.org/hroptatyr/dateutils/downloads/${pname}-${version}.tar.xz"; 9 + sha256 = "1hy96h9imxdbg9y7305mgv4grr6x4qic9xy3vhgh15lvjkcmc0kr"; 10 }; 11 12 nativeBuildInputs = [ autoreconfHook ];
+22
pkgs/tools/misc/dutree/default.nix
···
··· 1 + { fetchFromGitHub, lib, rustPlatform }: 2 + 3 + rustPlatform.buildRustPackage rec { 4 + pname = "dutree"; 5 + version = "0.2.18"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "nachoparker"; 9 + repo = pname; 10 + rev = "v${version}"; 11 + sha256 = "1720295nxwr6r5yr6zhk2cw5y2l4w862f5wm9v7jjmf3a840yl8p"; 12 + }; 13 + 14 + cargoSha256 = "0gg1w0xx36aswfm0y53nqwwz7zds25ysmklbrc8v2r91j74bhkzw"; 15 + 16 + meta = with lib; { 17 + description = "A tool to analyze file system usage written in Rust"; 18 + homepage = "https://github.com/nachoparker/dutree"; 19 + license = licenses.gpl3Plus; 20 + maintainers = with maintainers; [ figsoda ]; 21 + }; 22 + }
+20 -9
pkgs/tools/misc/flexoptix-app/default.nix
··· 1 - { lib, appimageTools, fetchurl }: let 2 pname = "flexoptix-app"; 3 - version = "5.9.0"; 4 name = "${pname}-${version}"; 5 6 src = fetchurl { 7 name = "${name}.AppImage"; 8 url = "https://flexbox.reconfigure.me/download/electron/linux/x64/FLEXOPTIX%20App.${version}.AppImage"; 9 - sha256 = "0gbqaj9b11mxx0knmmh2d5863kaslbb3r6c4h8rjhg8qy4cws7hj"; 10 }; 11 12 udevRules = fetchurl { ··· 14 sha256 = "0mr1bhgvavq1ax4206z1vr2y64s3r676w9jjl9ysziklbrsvk5rr"; 15 }; 16 17 - appimageContents = appimageTools.extractType2 { 18 - inherit name src; 19 - }; 20 21 - in appimageTools.wrapType2 { 22 - inherit name src; 23 24 multiPkgs = null; # no 32bit needed 25 extraPkgs = { pkgs, ... }@args: [ ··· 27 ] ++ appimageTools.defaultFhsEnvArgs.multiPkgs args; 28 29 extraInstallCommands = '' 30 mv $out/bin/{${name},${pname}} 31 install -Dm444 ${appimageContents}/flexoptix-app.desktop -t $out/share/applications 32 install -Dm444 ${appimageContents}/flexoptix-app.png -t $out/share/pixmaps 33 substituteInPlace $out/share/applications/flexoptix-app.desktop \ 34 - --replace 'Exec=AppRun' "Exec=$out/bin/${pname}" 35 mkdir -p $out/lib/udev/rules.d 36 ln -s ${udevRules} $out/lib/udev/rules.d/99-tprogrammer.rules 37 '';
··· 1 + { lib, appimageTools, fetchurl, nodePackages }: let 2 pname = "flexoptix-app"; 3 + version = "5.11.0"; 4 name = "${pname}-${version}"; 5 6 src = fetchurl { 7 name = "${name}.AppImage"; 8 url = "https://flexbox.reconfigure.me/download/electron/linux/x64/FLEXOPTIX%20App.${version}.AppImage"; 9 + sha256 = "sha256:1hzdb2fbkwpsf0d3ws4z32blk6549jwhf1lrlqmcxhzqfvkr4gin"; 10 }; 11 12 udevRules = fetchurl { ··· 14 sha256 = "0mr1bhgvavq1ax4206z1vr2y64s3r676w9jjl9ysziklbrsvk5rr"; 15 }; 16 17 + appimageContents = (appimageTools.extract { inherit name src; }).overrideAttrs (oA: { 18 + buildCommand = '' 19 + ${oA.buildCommand} 20 + 21 + # Get rid of the autoupdater 22 + ${nodePackages.asar}/bin/asar extract $out/resources/app.asar app 23 + sed -i 's/async isUpdateAvailable.*/async isUpdateAvailable(updateInfo) { return false;/g' app/node_modules/electron-updater/out/AppUpdater.js 24 + ${nodePackages.asar}/bin/asar pack app $out/resources/app.asar 25 + ''; 26 + }); 27 28 + in appimageTools.wrapAppImage { 29 + inherit name; 30 + src = appimageContents; 31 32 multiPkgs = null; # no 32bit needed 33 extraPkgs = { pkgs, ... }@args: [ ··· 35 ] ++ appimageTools.defaultFhsEnvArgs.multiPkgs args; 36 37 extraInstallCommands = '' 38 + # Add desktop convencience stuff 39 mv $out/bin/{${name},${pname}} 40 install -Dm444 ${appimageContents}/flexoptix-app.desktop -t $out/share/applications 41 install -Dm444 ${appimageContents}/flexoptix-app.png -t $out/share/pixmaps 42 substituteInPlace $out/share/applications/flexoptix-app.desktop \ 43 + --replace 'Exec=AppRun' "Exec=$out/bin/${pname} --" 44 + 45 + # Add udev rules 46 mkdir -p $out/lib/udev/rules.d 47 ln -s ${udevRules} $out/lib/udev/rules.d/99-tprogrammer.rules 48 '';
+2 -2
pkgs/tools/misc/mc/default.nix
··· 21 22 stdenv.mkDerivation rec { 23 pname = "mc"; 24 - version = "4.8.26"; 25 26 src = fetchurl { 27 url = "https://www.midnight-commander.org/downloads/${pname}-${version}.tar.xz"; 28 - sha256 = "sha256-xt6txQWV8tmiLcbCmanyizk+NYNG6/bKREqEadwWbCc="; 29 }; 30 31 nativeBuildInputs = [ pkg-config autoreconfHook unzip ]
··· 21 22 stdenv.mkDerivation rec { 23 pname = "mc"; 24 + version = "4.8.27"; 25 26 src = fetchurl { 27 url = "https://www.midnight-commander.org/downloads/${pname}-${version}.tar.xz"; 28 + sha256 = "sha256-Mb5ZIl/6mSCBbpqLO+CrIloW0Z5Pr0aJDyW9/6AqT/Q="; 29 }; 30 31 nativeBuildInputs = [ pkg-config autoreconfHook unzip ]
+36 -5
pkgs/tools/package-management/micromamba/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, cmake 2 , cli11, nlohmann_json, curl, libarchive, libyamlcpp, libsolv, reproc 3 }: 4 5 let 6 libsolv' = libsolv.overrideAttrs (oldAttrs: { 7 cmakeFlags = oldAttrs.cmakeFlags ++ [ 8 - "-DENABLE_CONDA=true" # Maybe enable this in the original libsolv package? No idea about the implications. 9 ]; 10 }); 11 in 12 stdenv.mkDerivation rec { 13 pname = "micromamba"; 14 - version = "0.14.1"; 15 16 src = fetchFromGitHub { 17 owner = "mamba-org"; 18 repo = "mamba"; 19 rev = version; 20 - sha256 = "0a5kmwk44ll4d8b2akjc0vm6ap9jfxclcw4fclvjxr2in3am9256"; 21 }; 22 23 nativeBuildInputs = [ cmake ]; ··· 27 nlohmann_json 28 curl 29 libarchive 30 - libyamlcpp 31 libsolv' 32 reproc 33 # python3Packages.pybind11 # Would be necessary if someone wants to build with bindings I guess.
··· 1 + { lib, stdenv, fetchFromGitHub, fetchpatch, cmake 2 , cli11, nlohmann_json, curl, libarchive, libyamlcpp, libsolv, reproc 3 }: 4 5 let 6 libsolv' = libsolv.overrideAttrs (oldAttrs: { 7 cmakeFlags = oldAttrs.cmakeFlags ++ [ 8 + "-DENABLE_CONDA=true" 9 + ]; 10 + 11 + patches = [ 12 + # Patch added by the mamba team 13 + (fetchpatch { 14 + url = "https://raw.githubusercontent.com/mamba-org/boa-forge/f766da0cc18701c4d107a41de22417a65b53cc2d/libsolv/add_strict_repo_prio_rule.patch"; 15 + sha256 = "19c47i5cpyy88nxskf7k6q6r43i55w61jvnz7fc2r84hpjkcrv7r"; 16 + }) 17 + # Patch added by the mamba team 18 + (fetchpatch { 19 + url = "https://raw.githubusercontent.com/mamba-org/boa-forge/f766da0cc18701c4d107a41de22417a65b53cc2d/libsolv/conda_variant_priorization.patch"; 20 + sha256 = "1iic0yx7h8s662hi2jqx68w5kpyrab4fr017vxd4wyxb6wyk35dd"; 21 + }) 22 + # Patch added by the mamba team 23 + (fetchpatch { 24 + url = "https://raw.githubusercontent.com/mamba-org/boa-forge/f766da0cc18701c4d107a41de22417a65b53cc2d/libsolv/memcpy_to_memmove.patch"; 25 + sha256 = "1c9ir40l6crcxllj5zwhzbrbgibwqaizyykd0vip61gywlfzss64"; 26 + }) 27 ]; 28 }); 29 + 30 + # fails linking with yaml-cpp 0.7.x 31 + libyamlcpp' = libyamlcpp.overrideAttrs (oldAttrs: rec { 32 + 33 + version = "0.6.3"; 34 + 35 + src = fetchFromGitHub { 36 + owner = "jbeder"; 37 + repo = "yaml-cpp"; 38 + rev = "yaml-cpp-${version}"; 39 + sha256 = "0ykkxzxcwwiv8l8r697gyqh1nl582krpvi7m7l6b40ijnk4pw30s"; 40 + }; 41 + }); 42 in 43 stdenv.mkDerivation rec { 44 pname = "micromamba"; 45 + version = "0.15.0"; 46 47 src = fetchFromGitHub { 48 owner = "mamba-org"; 49 repo = "mamba"; 50 rev = version; 51 + sha256 = "1zksp4zqj4wn9p9jb1qx1acajaz20k9xnm80yi7bab2d37y18hcw"; 52 }; 53 54 nativeBuildInputs = [ cmake ]; ··· 58 nlohmann_json 59 curl 60 libarchive 61 + libyamlcpp' 62 libsolv' 63 reproc 64 # python3Packages.pybind11 # Would be necessary if someone wants to build with bindings I guess.
+3 -3
pkgs/tools/security/cosign/default.nix
··· 2 3 buildGoModule rec { 4 pname = "cosign"; 5 - version = "1.0.1"; 6 7 src = fetchFromGitHub { 8 owner = "sigstore"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "sha256-j1C4OGyVY41bG+rRr6chbii94H4yeRCum52A8XcnP6g="; 12 }; 13 14 buildInputs = ··· 17 18 nativeBuildInputs = [ pkg-config ]; 19 20 - vendorSha256 = "sha256-9/KrgokCqSWqC4nOgA1e9H0sOx6O/ZFGFEPxiPEKoNI="; 21 22 excludedPackages = "\\(copasetic\\)"; 23
··· 2 3 buildGoModule rec { 4 pname = "cosign"; 5 + version = "1.1.0"; 6 7 src = fetchFromGitHub { 8 owner = "sigstore"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-FG6LAaz6n2l77Wr7SYmwzL10G5gyHPCPG05hQlsOQBI="; 12 }; 13 14 buildInputs = ··· 17 18 nativeBuildInputs = [ pkg-config ]; 19 20 + vendorSha256 = "sha256-OKQVgF/pg4cigMkckX/dclieHCoD39ltR+DegaUfSDk="; 21 22 excludedPackages = "\\(copasetic\\)"; 23
+3 -3
pkgs/tools/security/step-ca/default.nix
··· 11 12 buildGoModule rec { 13 pname = "step-ca"; 14 - version = "0.16.0"; 15 16 src = fetchFromGitHub { 17 owner = "smallstep"; 18 repo = "certificates"; 19 rev = "v${version}"; 20 - sha256 = "sha256-8gesSfyL5ne0JqbB/TvEkQDZziTzJmsnIV+MTOfy3jk="; 21 }; 22 23 - vendorSha256 = "sha256-q5hwgx54ca9SwQfkLB5NKvon9o1Djb1Y5rXPKx3HQDU="; 24 25 buildFlagsArray = [ "-ldflags=-buildid=" ]; 26
··· 11 12 buildGoModule rec { 13 pname = "step-ca"; 14 + version = "0.16.2"; 15 16 src = fetchFromGitHub { 17 owner = "smallstep"; 18 repo = "certificates"; 19 rev = "v${version}"; 20 + sha256 = "sha256-JDoiz/BX8zB+qdwlGPUCa30R+pwWWtjEiXHP5LxdPAE="; 21 }; 22 23 + vendorSha256 = "sha256-cFuLW0qkI/l/TvYwQZA2bLlWYjs1hdbQJ5jU7xiuFZI="; 24 25 buildFlagsArray = [ "-ldflags=-buildid=" ]; 26
+3 -3
pkgs/tools/security/terrascan/default.nix
··· 5 6 buildGoModule rec { 7 pname = "terrascan"; 8 - version = "1.9.0"; 9 10 src = fetchFromGitHub { 11 owner = "accurics"; 12 repo = pname; 13 rev = "v${version}"; 14 - sha256 = "sha256-DTwA8nHWKOXeha0TBoEGJuoUedxJVev0R0GnHuaHEMc="; 15 }; 16 17 - vendorSha256 = "sha256-gDhEaJ444d7fITVaEkH5RXMykmZyXjC+mPfaa2vkpIk="; 18 19 # Tests want to download a vulnerable Terraform project 20 doCheck = false;
··· 5 6 buildGoModule rec { 7 pname = "terrascan"; 8 + version = "1.10.0"; 9 10 src = fetchFromGitHub { 11 owner = "accurics"; 12 repo = pname; 13 rev = "v${version}"; 14 + sha256 = "sha256-IF5BDe6XnOR7F/ajYBbMuFpIxUawgd/Oo2AthL5aeWE="; 15 }; 16 17 + vendorSha256 = "sha256-PZM8OWvjj8681/CWVE896f3vRHnkNeJj2w/aoOFZ9P0="; 18 19 # Tests want to download a vulnerable Terraform project 20 doCheck = false;
+20
pkgs/tools/text/runiq/default.nix
···
··· 1 + { fetchCrate, lib, rustPlatform }: 2 + 3 + rustPlatform.buildRustPackage rec { 4 + pname = "runiq"; 5 + version = "1.2.1"; 6 + 7 + src = fetchCrate { 8 + inherit pname version; 9 + sha256 = "0xhd1z8mykxg9kiq8nw5agy1jxfk414czq62xm1s13ssig3h7jqj"; 10 + }; 11 + 12 + cargoSha256 = "1g4yfz5xq9lqwh0ggyn8kn8bnzrqfmh7kx455md5ranrqqh0x5db"; 13 + 14 + meta = with lib; { 15 + description = "An efficient way to filter duplicate lines from input, à la uniq"; 16 + homepage = "https://github.com/whitfin/runiq"; 17 + license = licenses.mit; 18 + maintainers = with maintainers; [ figsoda ]; 19 + }; 20 + }
+7 -1
pkgs/top-level/all-packages.nix
··· 5185 5186 ghq = callPackage ../applications/version-management/git-and-tools/ghq { }; 5187 5188 ghr = callPackage ../applications/version-management/git-and-tools/ghr { }; 5189 5190 gibberish-detector = with python3Packages; toPythonApplication gibberish-detector; ··· 12605 }; 12606 12607 beam = callPackage ./beam-packages.nix { }; 12608 - beam_nox = callPackage ./beam-packages.nix { wxSupport = false; }; 12609 12610 inherit (beam.interpreters) 12611 erlang erlangR24 erlangR23 erlangR22 erlangR21 ··· 23561 23562 du-dust = callPackage ../tools/misc/dust { }; 23563 23564 devede = callPackage ../applications/video/devede { }; 23565 23566 denemo = callPackage ../applications/audio/denemo { }; ··· 31580 rss-glx = callPackage ../misc/screensavers/rss-glx { }; 31581 31582 run-scaled = callPackage ../tools/X11/run-scaled { }; 31583 31584 runit = callPackage ../tools/system/runit { }; 31585
··· 5185 5186 ghq = callPackage ../applications/version-management/git-and-tools/ghq { }; 5187 5188 + gst = callPackage ../applications/version-management/git-and-tools/gst { }; 5189 + 5190 ghr = callPackage ../applications/version-management/git-and-tools/ghr { }; 5191 5192 gibberish-detector = with python3Packages; toPythonApplication gibberish-detector; ··· 12607 }; 12608 12609 beam = callPackage ./beam-packages.nix { }; 12610 + beam_nox = callPackage ./beam-packages.nix { beam = beam_nox; wxSupport = false; }; 12611 12612 inherit (beam.interpreters) 12613 erlang erlangR24 erlangR23 erlangR22 erlangR21 ··· 23563 23564 du-dust = callPackage ../tools/misc/dust { }; 23565 23566 + dutree = callPackage ../tools/misc/dutree { }; 23567 + 23568 devede = callPackage ../applications/video/devede { }; 23569 23570 denemo = callPackage ../applications/audio/denemo { }; ··· 31584 rss-glx = callPackage ../misc/screensavers/rss-glx { }; 31585 31586 run-scaled = callPackage ../tools/X11/run-scaled { }; 31587 + 31588 + runiq = callPackage ../tools/text/runiq { }; 31589 31590 runit = callPackage ../tools/system/runit { }; 31591