Merge staging-next into staging

This commit is contained in:
github-actions[bot] 2022-04-06 00:02:41 +00:00 committed by GitHub
commit 3dc8bd98b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
111 changed files with 4193 additions and 3426 deletions

View File

@ -46,6 +46,7 @@ let
showFiles
showOption
unknownModule
literalExpression
;
showDeclPrefix = loc: decl: prefix:
@ -140,7 +141,7 @@ rec {
# this module is used, to avoid conflicts and allow chaining of
# extendModules.
internalModule = rec {
_file = ./modules.nix;
_file = "lib/modules.nix";
key = _file;
@ -153,8 +154,91 @@ rec {
# a `_module.args.pkgs = import (fetchTarball { ... }) {}` won't
# start a download when `pkgs` wasn't evaluated.
type = types.lazyAttrsOf types.raw;
internal = true;
description = "Arguments passed to each module.";
# Only render documentation once at the root of the option tree,
# not for all individual submodules.
internal = prefix != [];
# TODO: Change the type of this option to a submodule with a
# freeformType, so that individual arguments can be documented
# separately
description = ''
Additional arguments passed to each module in addition to ones
like <literal>lib</literal>, <literal>config</literal>,
and <literal>pkgs</literal>, <literal>modulesPath</literal>.
</para>
<para>
This option is also available to all submodules. Submodules do not
inherit args from their parent module, nor do they provide args to
their parent module or sibling submodules. The sole exception to
this is the argument <literal>name</literal> which is provided by
parent modules to a submodule and contains the attribute name
the submodule is bound to, or a unique generated name if it is
not bound to an attribute.
</para>
<para>
Some arguments are already passed by default, of which the
following <emphasis>cannot</emphasis> be changed with this option:
<itemizedlist>
<listitem>
<para>
<varname>lib</varname>: The nixpkgs library.
</para>
</listitem>
<listitem>
<para>
<varname>config</varname>: The results of all options after merging the values from all modules together.
</para>
</listitem>
<listitem>
<para>
<varname>options</varname>: The options declared in all modules.
</para>
</listitem>
<listitem>
<para>
<varname>specialArgs</varname>: The <literal>specialArgs</literal> argument passed to <literal>evalModules</literal>.
</para>
</listitem>
<listitem>
<para>
All attributes of <varname>specialArgs</varname>
</para>
<para>
Whereas option values can generally depend on other option values
thanks to laziness, this does not apply to <literal>imports</literal>, which
must be computed statically before anything else.
</para>
<para>
For this reason, callers of the module system can provide <literal>specialArgs</literal>
which are available during import resolution.
</para>
<para>
For NixOS, <literal>specialArgs</literal> includes
<varname>modulesPath</varname>, which allows you to import
extra modules from the nixpkgs package tree without having to
somehow make the module aware of the location of the
<literal>nixpkgs</literal> or NixOS directories.
<programlisting>
{ modulesPath, ... }: {
imports = [
(modulesPath + "/profiles/minimal.nix")
];
}
</programlisting>
</para>
</listitem>
</itemizedlist>
</para>
<para>
For NixOS, the default value for this option includes at least this argument:
<itemizedlist>
<listitem>
<para>
<varname>pkgs</varname>: The nixpkgs package set according to
the <option>nixpkgs.pkgs</option> option.
</para>
</listitem>
</itemizedlist>
'';
};
_module.check = mkOption {

View File

@ -756,7 +756,14 @@ rec {
sanitizeDerivationName pkgs.hello
=> "-nix-store-2g75chlbpxlrqn15zlby2dfh8hr9qwbk-hello-2.10"
*/
sanitizeDerivationName = string: lib.pipe string [
sanitizeDerivationName =
let okRegex = match "[[:alnum:]+_?=-][[:alnum:]+._?=-]*";
in
string:
# First detect the common case of already valid strings, to speed those up
if stringLength string <= 207 && okRegex string != null
then unsafeDiscardStringContext string
else lib.pipe string [
# Get rid of string context. This is safe under the assumption that the
# resulting string is only used as a derivation name
unsafeDiscardStringContext

View File

@ -649,6 +649,11 @@ runTests {
expected = "foo";
};
testSanitizeDerivationNameUnicode = testSanitizeDerivationName {
name = "fö";
expected = "f-";
};
testSanitizeDerivationNameAscii = testSanitizeDerivationName {
name = " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~";
expected = "-+--.-0123456789-=-?-ABCDEFGHIJKLMNOPQRSTUVWXYZ-_-abcdefghijklmnopqrstuvwxyz-";
@ -691,7 +696,7 @@ runTests {
locs = filter (o: ! o.internal) (optionAttrSetToDocList options);
in map (o: o.loc) locs;
expected = [ [ "foo" ] [ "foo" "<name>" "bar" ] [ "foo" "bar" ] ];
expected = [ [ "_module" "args" ] [ "foo" ] [ "foo" "<name>" "bar" ] [ "foo" "bar" ] ];
};
testCartesianProductOfEmptySet = {

View File

@ -8258,6 +8258,17 @@
githubId = 1776903;
name = "Andrew Abbott";
};
misterio77 = {
email = "eu@misterio.me";
github = "misterio77";
githubId = 5727578;
matrix = "@misterio:matrix.org";
name = "Gabriel Fontes";
keys = [{
longkeyid = "rsa3072/0x245CAB70B4C225E9";
fingerprint = "7088 C742 1873 E0DB 97FF 17C2 245C AB70 B4C2 25E9";
}];
};
mitchmindtree = {
email = "mail@mitchellnordine.com";
github = "mitchmindtree";

View File

@ -1523,9 +1523,11 @@
<para>
<link linkend="opt-programs.ssh.knownHosts">programs.ssh.knownHosts</link>
has gained an <literal>extraHostNames</literal> option to
replace <literal>hostNames</literal>.
<literal>hostNames</literal> is deprecated, but still
available for now.
augment <literal>hostNames</literal>. It is now possible to
use the attribute name of a <literal>knownHosts</literal>
entry as the primary host name and specify secondary host
names using <literal>extraHostNames</literal> without having
to duplicate the primary host name.
</para>
</listitem>
<listitem>

View File

@ -541,7 +541,9 @@ In addition to numerous new and upgraded packages, this release has the followin
e.g. Wayland.
- [programs.ssh.knownHosts](#opt-programs.ssh.knownHosts) has gained an `extraHostNames`
option to replace `hostNames`. `hostNames` is deprecated, but still available for now.
option to augment `hostNames`. It is now possible to use the attribute name of a `knownHosts`
entry as the primary host name and specify secondary host names using `extraHostNames` without
having to duplicate the primary host name.
- The `services.stubby` module was converted to a [settings-style](https://github.com/NixOS/rfcs/blob/master/rfcs/0042-config-option.md) configuration.

View File

@ -48,7 +48,9 @@ overrides = pivot(json.load(open(sys.argv[2 + optOffset], 'r')))
# fix up declaration paths in lazy options, since we don't eval them from a full nixpkgs dir
for (k, v) in options.items():
v.value['declarations'] = list(map(lambda s: f'nixos/modules/{s}', v.value['declarations']))
# The _module options are not declared in nixos/modules
if v.value['loc'][0] != "_module":
v.value['declarations'] = list(map(lambda s: f'nixos/modules/{s}', v.value['declarations']))
# merge both descriptions
for (k, v) in overrides.items():

View File

@ -157,9 +157,13 @@ in
default = [ name ] ++ config.extraHostNames;
defaultText = literalExpression "[ ${name} ] ++ config.${options.extraHostNames}";
description = ''
DEPRECATED, please use <literal>extraHostNames</literal>.
A list of host names and/or IP numbers used for accessing
the host's ssh service.
the host's ssh service. This list includes the name of the
containing <literal>knownHosts</literal> attribute by default
for convenience. If you wish to configure multiple host keys
for the same host use multiple <literal>knownHosts</literal>
entries with different attribute names and the same
<literal>hostNames</literal> list.
'';
};
extraHostNames = mkOption {
@ -167,7 +171,8 @@ in
default = [];
description = ''
A list of additional host names and/or IP numbers used for
accessing the host's ssh service.
accessing the host's ssh service. This list is ignored if
<literal>hostNames</literal> is set explicitly.
'';
};
publicKey = mkOption {
@ -198,7 +203,12 @@ in
};
}));
description = ''
The set of system-wide known SSH hosts.
The set of system-wide known SSH hosts. To make simple setups more
convenient the name of an attribute in this set is used as a host name
for the entry. This behaviour can be disabled by setting
<literal>hostNames</literal> explicitly. You can use
<literal>extraHostNames</literal> to add additional host names without
disabling this default.
'';
example = literalExpression ''
{
@ -207,6 +217,10 @@ in
publicKeyFile = ./pubkeys/myhost_ssh_host_dsa_key.pub;
};
"myhost2.net".publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILIRuJ8p1Fi+m6WkHV0KWnRfpM1WxoW8XAS+XvsSKsTK";
"myhost2.net/dsa" = {
hostNames = [ "myhost2.net" ];
publicKeyFile = ./pubkeys/myhost2_ssh_host_dsa_key.pub;
};
}
'';
};
@ -279,9 +293,6 @@ in
message = "knownHost ${name} must contain either a publicKey or publicKeyFile";
});
warnings = mapAttrsToList (name: _: ''programs.ssh.knownHosts.${name}.hostNames is deprecated, use programs.ssh.knownHosts.${name}.extraHostNames'')
(filterAttrs (name: {hostNames, extraHostNames, ...}: hostNames != [ name ] ++ extraHostNames) cfg.knownHosts);
# SSH configuration. Slight duplication of the sshd_config
# generation in the sshd service.
environment.etc."ssh/ssh_config".text =

View File

@ -267,11 +267,15 @@ in
'' + ''
ipfs --offline config show \
| ${pkgs.jq}/bin/jq '. * $extraConfig' --argjson extraConfig ${
escapeShellArg (builtins.toJSON ({
Addresses.API = cfg.apiAddress;
Addresses.Gateway = cfg.gatewayAddress;
Addresses.Swarm = cfg.swarmAddress;
} // cfg.extraConfig))
escapeShellArg (builtins.toJSON (
recursiveUpdate
{
Addresses.API = cfg.apiAddress;
Addresses.Gateway = cfg.gatewayAddress;
Addresses.Swarm = cfg.swarmAddress;
}
cfg.extraConfig
))
} \
| ipfs --offline config replace -
'';

View File

@ -7,19 +7,26 @@ let
in
{
options = {
services.xserver.windowManager.qtile.enable = mkEnableOption "qtile";
options.services.xserver.windowManager.qtile = {
enable = mkEnableOption "qtile";
package = mkPackageOption pkgs "qtile" { };
};
config = mkIf cfg.enable {
services.xserver.windowManager.session = [{
name = "qtile";
start = ''
${pkgs.qtile}/bin/qtile start &
${cfg.package}/bin/qtile start &
waitPID=$!
'';
}];
environment.systemPackages = [ pkgs.qtile ];
environment.systemPackages = [
# pkgs.qtile is currently a buildenv of qtile and its dependencies.
# For userland commands, we want the underlying package so that
# packages such as python don't bleed into userland and overwrite intended behavior.
(cfg.package.unwrapped or cfg.package)
];
};
}

View File

@ -7,17 +7,18 @@ in {
options.services.lvm = {
package = mkOption {
type = types.package;
default = if cfg.dmeventd.enable then pkgs.lvm2_dmeventd else pkgs.lvm2;
default = pkgs.lvm2;
internal = true;
defaultText = literalExpression "pkgs.lvm2";
description = ''
This option allows you to override the LVM package that's used on the system
(udev rules, tmpfiles, systemd services).
Defaults to pkgs.lvm2, or pkgs.lvm2_dmeventd if dmeventd is enabled.
Defaults to pkgs.lvm2, pkgs.lvm2_dmeventd if dmeventd or pkgs.lvm2_vdo if vdo is enabled.
'';
};
dmeventd.enable = mkEnableOption "the LVM dmevent daemon";
boot.thin.enable = mkEnableOption "support for booting from ThinLVs";
boot.vdo.enable = mkEnableOption "support for booting from VDOLVs";
};
config = mkMerge [
@ -40,6 +41,7 @@ in {
environment.etc."lvm/lvm.conf".text = ''
dmeventd/executable = "${cfg.package}/bin/dmeventd"
'';
services.lvm.package = mkDefault pkgs.lvm2_dmeventd;
})
(mkIf cfg.boot.thin.enable {
boot.initrd = {
@ -61,6 +63,32 @@ in {
environment.etc."lvm/lvm.conf".text = concatMapStringsSep "\n"
(bin: "global/${bin}_executable = ${pkgs.thin-provisioning-tools}/bin/${bin}")
[ "thin_check" "thin_dump" "thin_repair" "cache_check" "cache_dump" "cache_repair" ];
environment.systemPackages = [ pkgs.thin-provisioning-tools ];
})
(mkIf cfg.boot.vdo.enable {
boot = {
initrd = {
kernelModules = [ "kvdo" ];
extraUtilsCommands = ''
ls ${pkgs.vdo}/bin/ | grep -v adaptLVMVDO | while read BIN; do
copy_bin_and_libs ${pkgs.vdo}/bin/$BIN
done
'';
extraUtilsCommandsTest = ''
ls ${pkgs.vdo}/bin/ | grep -v adaptLVMVDO | while read BIN; do
$out/bin/$(basename $BIN) --help > /dev/null
done
'';
};
extraModulePackages = [ config.boot.kernelPackages.kvdo ];
};
services.lvm.package = mkOverride 999 pkgs.lvm2_vdo; # this overrides mkDefault
environment.systemPackages = [ pkgs.vdo ];
})
(mkIf (cfg.dmeventd.enable || cfg.boot.thin.enable) {
boot.initrd.preLVMCommands = ''

View File

@ -274,6 +274,7 @@ in
login = handleTest ./login.nix {};
logrotate = handleTest ./logrotate.nix {};
loki = handleTest ./loki.nix {};
lvm2 = handleTest ./lvm2 {};
lxd = handleTest ./lxd.nix {};
lxd-image = handleTest ./lxd-image.nix {};
lxd-nftables = handleTest ./lxd-nftables.nix {};

View File

@ -182,10 +182,6 @@ in
atopgpu = makeTest {
name = "atop-atopgpu";
nodes.machine = {
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (getName pkg) [
"cudatoolkit"
];
programs.atop = {
enable = true;
atopgpu.enable = true;
@ -205,10 +201,6 @@ in
everything = makeTest {
name = "atop-everthing";
nodes.machine = {
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (getName pkg) [
"cudatoolkit"
];
programs.atop = {
enable = true;
settings = {

View File

@ -0,0 +1,27 @@
{ system ? builtins.currentSystem
, config ? { }
, pkgs ? import ../../.. { inherit system config; }
, lib ? pkgs.lib
, kernelVersionsToTest ? [ "4.19" "5.4" "5.10" "5.15" "latest" ]
}:
# For quickly running a test, the nixosTests.lvm2.lvm-thinpool-linux-latest attribute is recommended
let
tests = let callTest = p: lib.flip (import p) { inherit system pkgs; }; in {
thinpool = { test = callTest ./thinpool.nix; kernelFilter = lib.id; };
# we would like to test all versions, but the kernel module currently does not compile against the other versions
vdo = { test = callTest ./vdo.nix; kernelFilter = lib.filter (v: v == "5.15"); };
};
in
lib.listToAttrs (
lib.filter (x: x.value != {}) (
lib.flip lib.concatMap kernelVersionsToTest (version:
let
v' = lib.replaceStrings [ "." ] [ "_" ] version;
in
lib.flip lib.mapAttrsToList tests (name: t:
lib.nameValuePair "lvm-${name}-linux-${v'}" (lib.optionalAttrs (builtins.elem version (t.kernelFilter kernelVersionsToTest)) (t.test { kernelPackages = pkgs."linuxPackages_${v'}"; }))
)
)
)
)

View File

@ -0,0 +1,32 @@
{ kernelPackages ? null }:
import ../make-test-python.nix ({ pkgs, ... }: {
name = "lvm2-thinpool";
meta.maintainers = with pkgs.lib.maintainers; [ ajs124 ];
nodes.machine = { pkgs, lib, ... }: {
virtualisation.emptyDiskImages = [ 4096 ];
services.lvm = {
boot.thin.enable = true;
dmeventd.enable = true;
};
environment.systemPackages = with pkgs; [ xfsprogs ];
environment.etc."lvm/lvm.conf".text = ''
activation/thin_pool_autoextend_percent = 10
activation/thin_pool_autoextend_threshold = 80
'';
boot = lib.mkIf (kernelPackages != null) { inherit kernelPackages; };
};
testScript = ''
machine.succeed("vgcreate test_vg /dev/vdb")
machine.succeed("lvcreate -L 512M -T test_vg/test_thin_pool")
machine.succeed("lvcreate -n test_lv -V 16G --thinpool test_thin_pool test_vg")
machine.succeed("mkfs.xfs /dev/test_vg/test_lv")
machine.succeed("mkdir /mnt; mount /dev/test_vg/test_lv /mnt")
assert "/dev/mapper/test_vg-test_lv" == machine.succeed("findmnt -no SOURCE /mnt").strip()
machine.succeed("dd if=/dev/zero of=/mnt/empty.file bs=1M count=1024")
machine.succeed("journalctl -u dm-event.service | grep \"successfully resized\"")
machine.succeed("umount /mnt")
machine.succeed("vgchange -a n")
'';
})

27
nixos/tests/lvm2/vdo.nix Normal file
View File

@ -0,0 +1,27 @@
{ kernelPackages ? null }:
import ../make-test-python.nix ({ pkgs, ... }: {
name = "lvm2-vdo";
meta.maintainers = with pkgs.lib.maintainers; [ ajs124 ];
nodes.machine = { pkgs, lib, ... }: {
# Minimum required size for VDO volume: 5063921664 bytes
virtualisation.emptyDiskImages = [ 8192 ];
services.lvm = {
boot.vdo.enable = true;
dmeventd.enable = true;
};
environment.systemPackages = with pkgs; [ xfsprogs ];
boot = lib.mkIf (kernelPackages != null) { inherit kernelPackages; };
};
testScript = ''
machine.succeed("vgcreate test_vg /dev/vdb")
machine.succeed("lvcreate --type vdo -n vdo_lv -L 6G -V 12G test_vg/vdo_pool_lv")
machine.succeed("mkfs.xfs -K /dev/test_vg/vdo_lv")
machine.succeed("mkdir /mnt; mount /dev/test_vg/vdo_lv /mnt")
assert "/dev/mapper/test_vg-vdo_lv" == machine.succeed("findmnt -no SOURCE /mnt").strip()
machine.succeed("umount /mnt")
machine.succeed("vdostats")
machine.succeed("vgchange -a n")
'';
})

View File

@ -97,7 +97,7 @@ let
derivations and all build dependency outputs, all the way down.
*/
allDrvOutputs = pkg:
let name = lib.strings.sanitizeDerivationName "allDrvOutputs-${pkg.pname or pkg.name or "unknown"}";
let name = "allDrvOutputs-${pkg.pname or pkg.name or "unknown"}";
in
pkgs.runCommand name { refs = pkgs.writeReferencesToFile pkg.drvPath; } ''
touch $out

View File

@ -2,12 +2,12 @@
let
pname = "ledger-live-desktop";
version = "2.39.2";
version = "2.40.2";
name = "${pname}-${version}";
src = fetchurl {
url = "https://github.com/LedgerHQ/${pname}/releases/download/v${version}/${pname}-${version}-linux-x86_64.AppImage";
hash = "sha256-zVefF5CsyVVMNffec/xwA3KmMtZepM51C3Xh0ZCGl0c=";
hash = "sha256-2L1iVPLCCIQ6qBqkg+GmiqMmknHmdDLUrysN8vcW2YQ=";
};
appimageContents = appimageTools.extractType2 {

View File

@ -2,13 +2,13 @@
python3Packages.buildPythonApplication rec {
pname = "lndmanage";
version = "0.14.0";
version = "0.14.1";
src = fetchFromGitHub {
owner = "bitromortac";
repo = pname;
rev = "v${version}";
hash = "sha256-wPr/R+WGACyhv2Qh9JeLJwvr2vQfxpqj2XjEkrRoSX4=";
hash = "sha256-c36AbND01bUr0Klme4fU7GrY1oYcmoEREQI9cwsK7YM=";
};
propagatedBuildInputs = with python3Packages; [

View File

@ -1,18 +1,18 @@
{ fetchFromGitHub, lib, rustPlatform, makeWrapper }:
{ fetchzip, lib, rustPlatform, makeWrapper }:
rustPlatform.buildRustPackage rec {
pname = "helix";
version = "0.6.0";
version = "22.03";
src = fetchFromGitHub {
owner = "helix-editor";
repo = pname;
rev = "v${version}";
fetchSubmodules = true;
sha256 = "sha256-d/USOtcPLjdgzN7TBCouBRmoSDH5LZD4R5Qq7lUrWZw=";
# This release tarball includes source code for the tree-sitter grammars,
# which is not ordinarily part of the repository.
src = fetchzip {
url = "https://github.com/helix-editor/helix/releases/download/${version}/helix-${version}-source.tar.xz";
sha256 = "DP/hh6JfnyHdW2bg0cvhwlWvruNDvL9bmXM46iAUQzA=";
stripRoot = false;
};
cargoSha256 = "sha256-/EATU7HsGNB35YOBp8sofbPd1nl4d3Ggj1ay3QuHkCI=";
cargoSha256 = "zJQ+KvO+6iUIb0eJ+LnMbitxaqTxfqgu7XXj3j0GiX4=";
nativeBuildInputs = [ makeWrapper ];
@ -29,6 +29,6 @@ rustPlatform.buildRustPackage rec {
homepage = "https://helix-editor.com";
license = licenses.mpl20;
mainProgram = "hx";
maintainers = with maintainers; [ yusdacra ];
maintainers = with maintainers; [ danth yusdacra ];
};
}

View File

@ -149,12 +149,12 @@ final: prev:
LeaderF = buildVimPluginFrom2Nix {
pname = "LeaderF";
version = "2022-04-03";
version = "2022-04-05";
src = fetchFromGitHub {
owner = "Yggdroot";
repo = "LeaderF";
rev = "cc21177618270255e4181dfa1ade52abebb71c23";
sha256 = "0i1dgvn3s0d4k84avb4yz28hm05v3n0krq9clizxg8vi24g58lci";
rev = "7292967624ba89e2c3ab2f374959d5a25d5c9d9f";
sha256 = "0l2vnickmgcvnlqv13bcqgvpsygkbwzgc70bx253cfbnddqssbpj";
};
meta.homepage = "https://github.com/Yggdroot/LeaderF/";
};
@ -269,12 +269,12 @@ final: prev:
SchemaStore-nvim = buildVimPluginFrom2Nix {
pname = "SchemaStore.nvim";
version = "2022-04-01";
version = "2022-04-03";
src = fetchFromGitHub {
owner = "b0o";
repo = "SchemaStore.nvim";
rev = "d423f6c7bbf85c701ce0ce5cfd0f3f340e9419d1";
sha256 = "0mcx09j6b6x7f85m5nhv8h9r2p4h92cv4jh94p4j2w0byh6pfz9b";
rev = "6598caa4ca4f6fa28f975025bec411611abbcb4d";
sha256 = "1p0w9i471gqknb8w89ifggsa4hdgdx5zm09mzypqq9344w68fsds";
};
meta.homepage = "https://github.com/b0o/SchemaStore.nvim/";
};
@ -329,12 +329,12 @@ final: prev:
SpaceVim = buildVimPluginFrom2Nix {
pname = "SpaceVim";
version = "2022-04-03";
version = "2022-04-05";
src = fetchFromGitHub {
owner = "SpaceVim";
repo = "SpaceVim";
rev = "bc5e24c6932f5cdb56520c6fc7e3807cae919fdf";
sha256 = "1iz477kmmvw16mxq7mcaqiznqc42p7qiz2dp6bb474c9mp1b3c4a";
rev = "77378e06df9c7ac4345fee932b9c1923a15e8ef9";
sha256 = "1274xhabkhkla2qljsdby4klyr05hf5vpbrra6i08pm5jhzp5h90";
};
meta.homepage = "https://github.com/SpaceVim/SpaceVim/";
};
@ -486,12 +486,12 @@ final: prev:
aerial-nvim = buildVimPluginFrom2Nix {
pname = "aerial.nvim";
version = "2022-03-31";
version = "2022-04-05";
src = fetchFromGitHub {
owner = "stevearc";
repo = "aerial.nvim";
rev = "0f22463cc1616c0ae7a5a4ad4d81f133035e61c4";
sha256 = "0r3my7w1pryqfvzyn32x4063y8cqlx5aps399vv4bq79y60n9rch";
rev = "85c9bbb69f0cdf7949ace27030e4d130cb9ffca3";
sha256 = "1lpl9f96m9vkz8lzpq68rvycapy29dbzfm0sdmpx6mccygdb6ds1";
};
meta.homepage = "https://github.com/stevearc/aerial.nvim/";
};
@ -522,12 +522,12 @@ final: prev:
ale = buildVimPluginFrom2Nix {
pname = "ale";
version = "2022-04-01";
version = "2022-04-05";
src = fetchFromGitHub {
owner = "dense-analysis";
repo = "ale";
rev = "d3df00b89803f1891a772c47fc8eda6a1e9e1baa";
sha256 = "0cm374asrkp9nbimp73ljsvaqbc2piqyrmci8n0zshyqq1z6klk2";
rev = "cae550f07b608ab591f7fd37ffcab78a07caad8f";
sha256 = "0dfhqbfarynnw6p3fq81k2wadinm1fz3z6c3as5kv1bn34y528rn";
};
meta.homepage = "https://github.com/dense-analysis/ale/";
};
@ -606,12 +606,12 @@ final: prev:
async-vim = buildVimPluginFrom2Nix {
pname = "async.vim";
version = "2022-01-04";
version = "2022-04-04";
src = fetchFromGitHub {
owner = "prabirshrestha";
repo = "async.vim";
rev = "f20569020d65bec3249222606c073c0943045b5e";
sha256 = "0lff0v2vd06amcjirnpa4wc4l4nsbngcrdqcv34kszyqgzd7phka";
rev = "2082d13bb195f3203d41a308b89417426a7deca1";
sha256 = "08mblrrkxn1hivj1yjrn3vx3skd6l3xl96800i6qrsbsjlx5s5k3";
};
meta.homepage = "https://github.com/prabirshrestha/async.vim/";
};
@ -1206,12 +1206,12 @@ final: prev:
cmp-tabnine = buildVimPluginFrom2Nix {
pname = "cmp-tabnine";
version = "2022-04-03";
version = "2022-04-04";
src = fetchFromGitHub {
owner = "tzachar";
repo = "cmp-tabnine";
rev = "a436b4af861e33ab9281a32cf0369404a3dcdf9f";
sha256 = "0sqd98qz1ydp9wafnhmnndjx75cm06n27aq24cddnifrxp412f57";
rev = "1c6e5c55f3a879354891c59cf27da733890bfc88";
sha256 = "1hmif83kl2h4zz4xqkxb0xc003wzlirr26znx0r1f8z54f1j1hik";
};
meta.homepage = "https://github.com/tzachar/cmp-tabnine/";
};
@ -1372,6 +1372,18 @@ final: prev:
meta.homepage = "https://github.com/iamcco/coc-tailwindcss/";
};
coc-nvim = buildVimPluginFrom2Nix {
pname = "coc.nvim";
version = "2022-04-05";
src = fetchFromGitHub {
owner = "neoclide";
repo = "coc.nvim";
rev = "1d85f511f9966b445b5200f35f8db8d4cc0af805";
sha256 = "0yk9wghix3mh63p7w6hqk7crv4z6c2hi7ywdg6cnnkhnxviih7lp";
};
meta.homepage = "https://github.com/neoclide/coc.nvim/";
};
codi-vim = buildVimPluginFrom2Nix {
pname = "codi.vim";
version = "2022-03-20";
@ -1615,12 +1627,12 @@ final: prev:
coq_nvim = buildVimPluginFrom2Nix {
pname = "coq_nvim";
version = "2022-04-03";
version = "2022-04-05";
src = fetchFromGitHub {
owner = "ms-jpq";
repo = "coq_nvim";
rev = "ed7e610e42ab70ccbfb2fe08fbdd963fe160a00c";
sha256 = "1ry1mlcayanmhnlki4ifpkia889adp8rv8kx46k80i9lnpm1mhrq";
rev = "60df9082402acb1d9d258fb9f9763a085ca04952";
sha256 = "0gv4h0imxbfgw0g3z6xwqk7iczcs1zq5jdvpbn20gwsizrfgk6ap";
};
meta.homepage = "https://github.com/ms-jpq/coq_nvim/";
};
@ -2121,12 +2133,12 @@ final: prev:
diffview-nvim = buildVimPluginFrom2Nix {
pname = "diffview.nvim";
version = "2022-04-02";
version = "2022-04-05";
src = fetchFromGitHub {
owner = "sindrets";
repo = "diffview.nvim";
rev = "6d25771128fd0d2ba272261ac84b3e6798b724b9";
sha256 = "0d36hqwk9pficiqp3w488g6iy1w167jciy8m8sfx0x5fvybd8rxv";
rev = "71e972ecec34cc9b4917ccdacbbd29062ef9657c";
sha256 = "0ksq9d0glhn4d4s0png3pbvf7a5rbv1xgna49fz81d5qy5ih0rsl";
};
meta.homepage = "https://github.com/sindrets/diffview.nvim/";
};
@ -2181,12 +2193,12 @@ final: prev:
edge = buildVimPluginFrom2Nix {
pname = "edge";
version = "2022-03-21";
version = "2022-04-04";
src = fetchFromGitHub {
owner = "sainnhe";
repo = "edge";
rev = "36c08622c4420129fa576ceafa4ed3388d3beb56";
sha256 = "0hai4ns9chvqb8x7vgcl0i0lxqvqwxwhpa489zsqsp1lb436bwqc";
rev = "ee4c9b797bce2d5fdcdb3904d2f3916d4ef3e615";
sha256 = "123xp6hqjz3ys34dii8rbl6l9i5s2sbnjh80sax7d9l22jqcv1qf";
};
meta.homepage = "https://github.com/sainnhe/edge/";
};
@ -2230,12 +2242,12 @@ final: prev:
elvish-vim = buildVimPluginFrom2Nix {
pname = "elvish.vim";
version = "2019-06-29";
version = "2022-04-04";
src = fetchFromGitHub {
owner = "dmix";
repo = "elvish.vim";
rev = "67ef8e89bff7cb8ea936f2164c8c268bbb3295f0";
sha256 = "133hr3i7zxysf2gnnimhz3gf3nda3fyfxmqq7mhq544v2mki4x9m";
rev = "ab3f9cff31fb3c2871d437dd058b13526ddf66a0";
sha256 = "1y1adg42iv0xhww2vxmxw3pky5syjc3djc1h2s7mm0bjg2marlha";
};
meta.homepage = "https://github.com/dmix/elvish.vim/";
};
@ -2267,12 +2279,12 @@ final: prev:
everforest = buildVimPluginFrom2Nix {
pname = "everforest";
version = "2022-03-21";
version = "2022-04-04";
src = fetchFromGitHub {
owner = "sainnhe";
repo = "everforest";
rev = "764e36cf49a5845217ef09281adf708ab5abd9e3";
sha256 = "03byh70krkcgcj6yis7x73bzs8b21qic5qhi01az057rp7mx462l";
rev = "1a2c447fc014e55b5347b85df090b67af6ed28a6";
sha256 = "1cx5gm629r23prrn3j9awcmqi7zslzgk6aikws38x0mm9jlr3bxg";
};
meta.homepage = "https://github.com/sainnhe/everforest/";
};
@ -2832,12 +2844,12 @@ final: prev:
gruvbox-material = buildVimPluginFrom2Nix {
pname = "gruvbox-material";
version = "2022-03-21";
version = "2022-04-04";
src = fetchFromGitHub {
owner = "sainnhe";
repo = "gruvbox-material";
rev = "b8b63c81637c845e8a7c2dff4c206b714f7b93e4";
sha256 = "0ds72yyca1sgrr5b7i683i0lpfz6n75vrij94vc8z07ivn33qy2r";
rev = "5b98f2121ff3ece1e0b2ea037b86dd9ce0a346ad";
sha256 = "0gp4dmrf33m6hpsnqqqv8ab8hflqgwdinr8c8w1k4qkipvg6xkpf";
};
meta.homepage = "https://github.com/sainnhe/gruvbox-material/";
};
@ -3349,12 +3361,12 @@ final: prev:
lean-nvim = buildVimPluginFrom2Nix {
pname = "lean.nvim";
version = "2022-04-01";
version = "2022-04-04";
src = fetchFromGitHub {
owner = "Julian";
repo = "lean.nvim";
rev = "d4f1097b8fb659eef47899b5dd04d924e24a893b";
sha256 = "11garckhnycds1njifczgspl6jwl4is25d6bnp22kvvjjy5bc5px";
rev = "ca6a46c5ecba9f8957948e26b71c226d738f1efa";
sha256 = "0mxd9xgnfgal9dd56vchqhkg0hhw4jn6mrqm0b885j9krl78hbvq";
};
meta.homepage = "https://github.com/Julian/lean.nvim/";
};
@ -3505,12 +3517,12 @@ final: prev:
lightspeed-nvim = buildVimPluginFrom2Nix {
pname = "lightspeed.nvim";
version = "2022-03-31";
version = "2022-04-04";
src = fetchFromGitHub {
owner = "ggandor";
repo = "lightspeed.nvim";
rev = "ecb8bbca37ee1c9d153e0835af507905af05f2b5";
sha256 = "13b221n9h31i4mqiscdzq6299s6615hvdxc16pwsv18w2mfhpiax";
rev = "cfde2b2fe0dafc5684780399961595357998f611";
sha256 = "0zcippcfv87vcsbld0kka4mn2lixg0r6m2c82g9bssf304skfhfr";
};
meta.homepage = "https://github.com/ggandor/lightspeed.nvim/";
};
@ -3744,12 +3756,12 @@ final: prev:
luasnip = buildVimPluginFrom2Nix {
pname = "luasnip";
version = "2022-04-01";
version = "2022-04-05";
src = fetchFromGitHub {
owner = "l3mon4d3";
repo = "luasnip";
rev = "eb5b77e7927e4b28800b4f40c5507d6396b7eeaf";
sha256 = "03jjrd9k2cksrq5j2js9kdx4np1gy89z2r33baffrfpzy6rnak8b";
rev = "69cb81cf7490666890545fef905d31a414edc15b";
sha256 = "1dj86wljkhxri6k536ihds9v27wvs672rgmaj5i4migwxjlh6jb8";
};
meta.homepage = "https://github.com/l3mon4d3/luasnip/";
};
@ -3804,12 +3816,12 @@ final: prev:
marks-nvim = buildVimPluginFrom2Nix {
pname = "marks.nvim";
version = "2022-03-03";
version = "2022-04-03";
src = fetchFromGitHub {
owner = "chentau";
repo = "marks.nvim";
rev = "74885b10abf792f61a612f5724030678b9704dab";
sha256 = "12653fd7h1s0hf55399vdk2w3aqyx8n8v62kgpvb62mywbg37bam";
rev = "8e80a20a170434bc77decc97bc4364c3ba848925";
sha256 = "0bah5xjrwq43ihw37gw8nxsj3qdh9fjqs9n7fkfhsg6hyp1qy4fc";
};
meta.homepage = "https://github.com/chentau/marks.nvim/";
};
@ -3852,12 +3864,12 @@ final: prev:
mini-nvim = buildVimPluginFrom2Nix {
pname = "mini.nvim";
version = "2022-04-03";
version = "2022-04-05";
src = fetchFromGitHub {
owner = "echasnovski";
repo = "mini.nvim";
rev = "aedcaba7892b8a016bf385672ec70ff99cd7876c";
sha256 = "0p4q4pxg692b1frs9v8rqbbha7jb4ngjm714ajfiaawn6kgy6r23";
rev = "10b1fb8ead63309be01f48da78d7d83d0f2b041f";
sha256 = "015ls360cwifh1jdzf6zxbqlc0dd0mgl029vs3brsn8h7b78rbv0";
};
meta.homepage = "https://github.com/echasnovski/mini.nvim/";
};
@ -4452,12 +4464,12 @@ final: prev:
nightfox-nvim = buildVimPluginFrom2Nix {
pname = "nightfox.nvim";
version = "2022-04-02";
version = "2022-04-05";
src = fetchFromGitHub {
owner = "EdenEast";
repo = "nightfox.nvim";
rev = "18fea7708f6195ea26ec87701b59bb61a64532d8";
sha256 = "1aj6sn20hhdz2kmjgi4gr3m9izhbhjlw7kx2ydkm8bfhjx5wpgjq";
rev = "0670b85c5322da682498be9f355e050507fa6622";
sha256 = "11gzi6kx1f57a6b5w7rqjwh0qah757g9814fw7qv76wc9cwbki1v";
};
meta.homepage = "https://github.com/EdenEast/nightfox.nvim/";
};
@ -4560,12 +4572,12 @@ final: prev:
null-ls-nvim = buildVimPluginFrom2Nix {
pname = "null-ls.nvim";
version = "2022-04-02";
version = "2022-04-05";
src = fetchFromGitHub {
owner = "jose-elias-alvarez";
repo = "null-ls.nvim";
rev = "899785c17c8ec701efc618520edf46bc0f3f367b";
sha256 = "0pwvq4aqfjr4vsymc40ppk6jb0qqclj3k47m6vzp2p1d4wa0qbz9";
rev = "f3107c3b211d62f53d34cbf0ca100fc948bc42d4";
sha256 = "07x55chr28f9azqgjjwv0dnn9l0gm0n4z1wdf6libikbnh9jm522";
};
meta.homepage = "https://github.com/jose-elias-alvarez/null-ls.nvim/";
};
@ -4944,12 +4956,12 @@ final: prev:
nvim-lsp-ts-utils = buildVimPluginFrom2Nix {
pname = "nvim-lsp-ts-utils";
version = "2022-03-15";
version = "2022-04-04";
src = fetchFromGitHub {
owner = "jose-elias-alvarez";
repo = "nvim-lsp-ts-utils";
rev = "1d2c585cb69a91cf53f17a90d2544ed10eb03193";
sha256 = "07vf3xzcld2h3j6hnrrib60p2gnjkcb96h33sm8kfdvaj1578pbd";
rev = "1826275ee0fc7fded65e8716b231db86a17080e3";
sha256 = "129zjds8c69hahv307wnpdsjzfh29flsr99lkjma8dymsan96lb0";
};
meta.homepage = "https://github.com/jose-elias-alvarez/nvim-lsp-ts-utils/";
};
@ -4980,12 +4992,12 @@ final: prev:
nvim-metals = buildVimPluginFrom2Nix {
pname = "nvim-metals";
version = "2022-04-02";
version = "2022-04-04";
src = fetchFromGitHub {
owner = "scalameta";
repo = "nvim-metals";
rev = "64db05106c952bfc29ad165f21c43e7fdc97eaf1";
sha256 = "0m4ab6774j0yj8b1h6p0y0m5zgs4w3x2vn20ahx3z6dr6bzk2pph";
rev = "6da18b24f1215f05c7c7edbf460c93cefb9b5688";
sha256 = "1mv41ryxsx6wm909yby6z84xmhw3ibigw8zk34prhyvszz3psmvl";
};
meta.homepage = "https://github.com/scalameta/nvim-metals/";
};
@ -5040,12 +5052,12 @@ final: prev:
nvim-scrollview = buildVimPluginFrom2Nix {
pname = "nvim-scrollview";
version = "2022-03-15";
version = "2022-04-04";
src = fetchFromGitHub {
owner = "dstein64";
repo = "nvim-scrollview";
rev = "f1cdec5869de70359c8dff06e9057b99a56a0e48";
sha256 = "028wvmdbj2fllkw6nr2sasxpamqpl3gmrzdn8lw2bjfzy5xf88x1";
rev = "0e463065dd2b213d9c6adb00c88000c1bdb5c633";
sha256 = "1k47r446a850bxwb70n00w5wz835jgj7sg175nldp6brq4lrd1x5";
};
meta.homepage = "https://github.com/dstein64/nvim-scrollview/";
};
@ -5088,24 +5100,24 @@ final: prev:
nvim-tree-lua = buildVimPluginFrom2Nix {
pname = "nvim-tree.lua";
version = "2022-04-03";
version = "2022-04-04";
src = fetchFromGitHub {
owner = "kyazdani42";
repo = "nvim-tree.lua";
rev = "63688809682af5fcfa6aedec21b1c9ef3aeb2f4c";
sha256 = "0jmllkfj5l5f5a6nlzlglh48n12rmxwb57vz346ji1a1qrrs6bhj";
rev = "924aa290921426682f86495cf64f48fcdab3c2fd";
sha256 = "01wn4vfk23ciyd69drh49jz67x254dn0q6k55akqc9pxlllds4pg";
};
meta.homepage = "https://github.com/kyazdani42/nvim-tree.lua/";
};
nvim-treesitter = buildVimPluginFrom2Nix {
pname = "nvim-treesitter";
version = "2022-04-03";
version = "2022-04-05";
src = fetchFromGitHub {
owner = "nvim-treesitter";
repo = "nvim-treesitter";
rev = "2472e47e15eb56e8d6d421d7c2c7169140db2813";
sha256 = "1cyi7h5xpw2hfyniwqyc5fnmvlyjb6bfbg4l586kn8q34hq5s3kq";
rev = "f083b7bbfe9480df00a45ab5a0978cb2586dddf2";
sha256 = "0zhgkbzr2hnwy94zfg2mk9l364rcmw7z2bvhbbriywg5k7drpla8";
};
meta.homepage = "https://github.com/nvim-treesitter/nvim-treesitter/";
};
@ -5280,12 +5292,12 @@ final: prev:
octo-nvim = buildVimPluginFrom2Nix {
pname = "octo.nvim";
version = "2022-04-01";
version = "2022-04-03";
src = fetchFromGitHub {
owner = "pwntester";
repo = "octo.nvim";
rev = "a83219f69320fc65c12427d6bcbcea135861bb3d";
sha256 = "11hqfz7rsxnsxqw06zpj3mq1hxz06hsdjbav00jd4zryvcgs6r3v";
rev = "50d58b195ea1f1ac620d775f39c95fe524f051d1";
sha256 = "0cmzb6cp8n8jwzjmv3h0ikv5gn3dn3aq8kgsnmrkqlafh19692rr";
};
meta.homepage = "https://github.com/pwntester/octo.nvim/";
};
@ -5328,12 +5340,12 @@ final: prev:
onedarkpro-nvim = buildVimPluginFrom2Nix {
pname = "onedarkpro.nvim";
version = "2022-03-25";
version = "2022-04-04";
src = fetchFromGitHub {
owner = "olimorris";
repo = "onedarkpro.nvim";
rev = "46b0ffb97f3778a1f6f5da6471a42f3f64bbf238";
sha256 = "13gyfz9fxgzvmcwwv19f8csmanv52144gvr5xdgvcg5nygkmydcp";
rev = "86d633963bfbd6ff5448589a20a41deb8c19f90e";
sha256 = "0nrq65gd2arxg4r0sqh4y4ikaadlrsbgcz1zq7yfpfbb76cia26w";
};
meta.homepage = "https://github.com/olimorris/onedarkpro.nvim/";
};
@ -5380,8 +5392,8 @@ final: prev:
src = fetchFromGitHub {
owner = "nvim-orgmode";
repo = "orgmode";
rev = "3a87036a0b6315a41b4292885cbe372b2f763d99";
sha256 = "1fak1pfvyy4wwhc4lww5c2ak6b8x0pwgkbljm5azd943lravya1l";
rev = "8e52714a1851bb3c781a744489c31bf8fb2c4e28";
sha256 = "1h3rzab981y0yp7kfkjpgjlj03kf6lyxxg2wikbdbkyz1c2bbkvk";
};
meta.homepage = "https://github.com/nvim-orgmode/orgmode/";
};
@ -6135,12 +6147,12 @@ final: prev:
sonokai = buildVimPluginFrom2Nix {
pname = "sonokai";
version = "2022-03-21";
version = "2022-04-04";
src = fetchFromGitHub {
owner = "sainnhe";
repo = "sonokai";
rev = "774ccdb95a04539530be34fa17a34c0f64139aca";
sha256 = "1myz05j6i7h0yyffbip6a2gpfb61y35w48aa1wlh8i3m9bhy7g4a";
rev = "444e40de8dac0afb3654b860d4d005cb34547840";
sha256 = "10jnvax4fmvmgham3s632j7v7f3cbz96yxciscx9rrsfgcrlm9d4";
};
meta.homepage = "https://github.com/sainnhe/sonokai/";
};
@ -6582,12 +6594,12 @@ final: prev:
telescope-coc-nvim = buildVimPluginFrom2Nix {
pname = "telescope-coc.nvim";
version = "2022-02-21";
version = "2022-04-03";
src = fetchFromGitHub {
owner = "fannheyward";
repo = "telescope-coc.nvim";
rev = "33a8785dc0d0a5fdd243875eba48bfec95e2cebc";
sha256 = "1zf4x7jwy0p52nq2yhzap9bi8kc4npbdvxs6gbwy9kd1ddidfrkb";
rev = "9748123aafbe915f34ddcfe583fc868f301f51ba";
sha256 = "0kvwp5bpqw5vygacrq9cdr3237w7fmj3sqx1vk12sxbx85cdcvz9";
};
meta.homepage = "https://github.com/fannheyward/telescope-coc.nvim/";
};
@ -7128,8 +7140,8 @@ final: prev:
src = fetchFromGitHub {
owner = "axieax";
repo = "urlview.nvim";
rev = "ca2b8bca2fa229275d3c33c13bc61a76cda9b714";
sha256 = "10q1ifsi4z2g8f2kvij9kmfl41lysr7lnxl73m59zzp27zl2ddd8";
rev = "8815c06145f36dce7734ba4b95eb50c3e24074c4";
sha256 = "1n46x1v2rw70ad6b6z04ik9rjvpkl8bbw62l8wfn7lkzdjgwi50d";
};
meta.homepage = "https://github.com/axieax/urlview.nvim/";
};
@ -7832,12 +7844,12 @@ final: prev:
vim-bufkill = buildVimPluginFrom2Nix {
pname = "vim-bufkill";
version = "2020-08-04";
version = "2022-04-05";
src = fetchFromGitHub {
owner = "qpkorr";
repo = "vim-bufkill";
rev = "2bd6d7e791668ea52bb26be2639406fcf617271f";
sha256 = "1cvma03bg9psil67kg1x90lny7a31ljz5shybcl1jrfpzsybcqvg";
rev = "ba6253de82f982722ef7eaee6751d788aefd568a";
sha256 = "187pj4dw78xd3wlpf24nll89kggk4q38gi51dnq95qywfk4w2k5h";
};
meta.homepage = "https://github.com/qpkorr/vim-bufkill/";
};
@ -8360,12 +8372,12 @@ final: prev:
vim-easymotion = buildVimPluginFrom2Nix {
pname = "vim-easymotion";
version = "2020-12-17";
version = "2022-04-04";
src = fetchFromGitHub {
owner = "easymotion";
repo = "vim-easymotion";
rev = "d75d9591e415652b25d9e0a3669355550325263d";
sha256 = "1j2kgh1iri0fqkbgbgvfjqgsksfipnmr1xbj554i602pnm0hbg19";
rev = "b3cfab2a6302b3b39f53d9fd2cd997e1127d7878";
sha256 = "1h30ak0ir5320asd5p7a9bqiv5whakv3022b3rakgnsjg503nxz1";
};
meta.homepage = "https://github.com/easymotion/vim-easymotion/";
};
@ -8684,12 +8696,12 @@ final: prev:
vim-fugitive = buildVimPluginFrom2Nix {
pname = "vim-fugitive";
version = "2022-04-01";
version = "2022-04-05";
src = fetchFromGitHub {
owner = "tpope";
repo = "vim-fugitive";
rev = "d725ef529e3de712304ab0f9c7e5e61107a00cad";
sha256 = "0sw3qxs7j2cqzbdcip4sphmi8jj0y665kacxpgjhry6xa36rh24l";
rev = "cba863444c9e970bc7282f76df0f559b5fc830bd";
sha256 = "09g9cgs89c02qsjyp3n343dkqkwzr9jwrhn6l51c8c3dclp07870";
};
meta.homepage = "https://github.com/tpope/vim-fugitive/";
};
@ -8832,8 +8844,8 @@ final: prev:
src = fetchFromGitHub {
owner = "fatih";
repo = "vim-go";
rev = "421563081bddaec1f7a66710b5c8ee305724d2a9";
sha256 = "0fddj4ara4zpdlri4r0rxbivr7xcf0zaakmq51m4b6k66q21f3fz";
rev = "119797938eeb875e91182d6bd86eb001d0ef9029";
sha256 = "1rclpd2nf26slz38imq8g5h1pknkwdbgnv4iz04vhq7k3gvls6vk";
};
meta.homepage = "https://github.com/fatih/vim-go/";
};
@ -9213,12 +9225,12 @@ final: prev:
vim-jack-in = buildVimPluginFrom2Nix {
pname = "vim-jack-in";
version = "2021-03-27";
version = "2022-04-03";
src = fetchFromGitHub {
owner = "clojure-vim";
repo = "vim-jack-in";
rev = "80c69cc021486d1cfa5dac7d9d6ab6954ff20c27";
sha256 = "11dw8kngzznzf91n6iyvw7yi1l35vgpva32dck3n25vpxc24krpn";
rev = "5467e00e26f15680b0a7998f8aa20d5a7dd44cd5";
sha256 = "1wi379l8d793v6hjx11v0dhgdn8a9ihx64gv51v9wpmjlvp9xbzd";
};
meta.homepage = "https://github.com/clojure-vim/vim-jack-in/";
};
@ -9538,12 +9550,12 @@ final: prev:
vim-lsp = buildVimPluginFrom2Nix {
pname = "vim-lsp";
version = "2022-03-04";
version = "2022-04-05";
src = fetchFromGitHub {
owner = "prabirshrestha";
repo = "vim-lsp";
rev = "bfb7541eb88eb9804287af39aca70102e60d2bf0";
sha256 = "1kaa92ylw5i8ysb2yxyqf666194wwcixgagi7gq3apkddr35a6g0";
rev = "edd6629f0940e37ca988620e404e79e600962a6f";
sha256 = "0qc2x0la72xhbbwdrm6iyjlip3pcfj0wk4msi6zfz9zmyrzcfnhb";
};
meta.homepage = "https://github.com/prabirshrestha/vim-lsp/";
};
@ -9911,12 +9923,12 @@ final: prev:
vim-obsession = buildVimPluginFrom2Nix {
pname = "vim-obsession";
version = "2022-03-25";
version = "2022-04-05";
src = fetchFromGitHub {
owner = "tpope";
repo = "vim-obsession";
rev = "d2818a614ec3a5d174c6bb19e87e2eeb207f4900";
sha256 = "08scgvpc5rmcc6xwbqir1b8y4fx58im5gn55fpg33s5346lxwd62";
rev = "7d39576149d17bde3c096fd57e3a2cdae65deaf5";
sha256 = "0g716c3dvd7068lfgcbxlzn86529kji4zms5n2xgrn3h0vn722zz";
};
meta.homepage = "https://github.com/tpope/vim-obsession/";
};
@ -10199,12 +10211,12 @@ final: prev:
vim-plug = buildVimPluginFrom2Nix {
pname = "vim-plug";
version = "2022-01-03";
version = "2022-04-04";
src = fetchFromGitHub {
owner = "junegunn";
repo = "vim-plug";
rev = "e300178a0e2fb04b56de8957281837f13ecf0b27";
sha256 = "0bfgadn31n516x0m0kr88jk9x79rl6zllnwij759wpazmw1p0xg8";
rev = "93ab5909784e09134e90f15cafa8a5edcc9a00fe";
sha256 = "0cq2ilqqq90bpp8pzylqi759hqb9ni6l1rqkvj6aj7a4b29a59nv";
};
meta.homepage = "https://github.com/junegunn/vim-plug/";
};
@ -11052,12 +11064,12 @@ final: prev:
vim-test = buildVimPluginFrom2Nix {
pname = "vim-test";
version = "2022-03-26";
version = "2022-04-04";
src = fetchFromGitHub {
owner = "vim-test";
repo = "vim-test";
rev = "56bbfa295fe62123d2ebe8ed57dd002afab46097";
sha256 = "0ggk1c5767hjjfg1nwdm880bj9cgj6bgvf25dgjhwx83xxhzpp6d";
rev = "d340f840725e6ee1b8abc63e852d80ded496ffc9";
sha256 = "08y4x97l0749i6d7qc512irql5zpxdwyzrbsw6h507jq7cvaw8hb";
};
meta.homepage = "https://github.com/vim-test/vim-test/";
};
@ -11712,12 +11724,12 @@ final: prev:
vimspector = buildVimPluginFrom2Nix {
pname = "vimspector";
version = "2022-03-29";
version = "2022-04-03";
src = fetchFromGitHub {
owner = "puremourning";
repo = "vimspector";
rev = "e4b5c76b9c9e333f7cdc853af42e7ef12a1d5e58";
sha256 = "15ycns70fafhi0nx7sriv9fkxnkkg7hz7amc1pz5rhpnns78gbnz";
rev = "da851334c72c44de95d00a152f98ee8e628be68f";
sha256 = "16390g548y5bp6c08d481jafav83rbg4zd69r6fbfcnhzxmv7vhs";
fetchSubmodules = true;
};
meta.homepage = "https://github.com/puremourning/vimspector/";
@ -12050,12 +12062,12 @@ final: prev:
chad = buildVimPluginFrom2Nix {
pname = "chad";
version = "2022-04-03";
version = "2022-04-05";
src = fetchFromGitHub {
owner = "ms-jpq";
repo = "chadtree";
rev = "08f66a1e9f6befe914a554db90c047fe47d7e228";
sha256 = "1dgbddn69cd8s3mbav5rs22h6ng065p27kv4wwa2s6zn27wnysky";
rev = "e03f7c8cbaeb85272d2d3d2c24af5065be4f5e71";
sha256 = "08971zkma4zwz5511vzhgi99000xin5psy1hkancxr4v2bw68dh3";
};
meta.homepage = "https://github.com/ms-jpq/chadtree/";
};
@ -12120,18 +12132,6 @@ final: prev:
meta.homepage = "https://github.com/shaunsingh/moonlight.nvim/";
};
release = buildVimPluginFrom2Nix {
pname = "release";
version = "2022-04-02";
src = fetchFromGitHub {
owner = "neoclide";
repo = "coc.nvim";
rev = "d6a665bb13044d4899e2a3529c3ca68104d9b2f5";
sha256 = "0pgzygvn5x2szm0fz12rlbblf1pk92r8p5fn8c7frxnmb2nsgsvd";
};
meta.homepage = "https://github.com/neoclide/coc.nvim/";
};
rose-pine = buildVimPluginFrom2Nix {
pname = "rose-pine";
version = "2022-04-01";

View File

@ -115,7 +115,7 @@ https://github.com/neoclide/coc-neco/,,
https://github.com/iamcco/coc-spell-checker/,,
https://github.com/coc-extensions/coc-svelte/,,
https://github.com/iamcco/coc-tailwindcss/,,
https://github.com/neoclide/coc.nvim/,,release
https://github.com/neoclide/coc.nvim/,release,
https://github.com/metakirby5/codi.vim/,,
https://github.com/tjdevries/colorbuddy.nvim/,,
https://github.com/lilydjwg/colorizer/,,

View File

@ -41,11 +41,11 @@
stdenv.mkDerivation rec {
pname = "shotwell";
version = "0.30.14";
version = "0.30.15";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "sha256-McLkgzkI02GcssNnWgXw2lnCuqduKLkFOF/VbADBKJU=";
sha256 = "sha256-OlKtYLEC2g31902wMcRdTM8mNRPJVGFu4WZL9PTpvck=";
};
nativeBuildInputs = [

View File

@ -26,13 +26,13 @@ let
};
in python.pkgs.buildPythonApplication rec {
pname = "pytrainer";
version = "2.0.2";
version = "2.1.0";
src = fetchFromGitHub {
owner = "pytrainer";
repo = "pytrainer";
rev = "v${version}";
sha256 = "sha256-i3QC6ct7tS8B0QQjtVqPcd03LLIxo6djQe4YX35syzk=";
sha256 = "sha256-U2SVQKkr5HF7LB0WuCZ1xc7TljISjCNO26QUDGR+W/4=";
};
propagatedBuildInputs = with python.pkgs; [

View File

@ -1,8 +1,8 @@
{
"stable": {
"version": "100.0.4896.60",
"sha256": "1p7zggnhsz9gj3zil0nyas4ym5bd94vs0z6mdg7r1l0s0vrsaphf",
"sha256bin64": "07wavs9r6ilwx5rzyqvydcjskg6sml5b8m6mw7qzykvhs8bnvfh5",
"version": "100.0.4896.75",
"sha256": "1h60l1g340gvm4lz2lps6dqpvahpzn24hz47y2qvc6mavx9d6ki4",
"sha256bin64": "0nrrkgwcnqg4l8x1nk1rdxnv9xa0c24ync1yls7s9rc34wkk8sc5",
"deps": {
"gn": {
"version": "2022-01-21",
@ -12,10 +12,10 @@
}
},
"chromedriver": {
"version": "100.0.4896.20",
"sha256_linux": "1d3g43s5adn1vs7iv5ccp0f376qvnvf67mhid7kxkysnqv55bxdw",
"sha256_darwin": "129vw1ablb6xyr7j30zxkh7n835wi82ksd8c5m11mmdnrmrcdabv",
"sha256_darwin_aarch64": "0zgnisvdvcc726q22jn1cyfg41zz1af5l3fy3m81jlfhph2ibbra"
"version": "100.0.4896.60",
"sha256_linux": "0q9ddwhccd0jmzi8jksxlfjavmm913c9bmb4lz1ahxplsnxd8z31",
"sha256_darwin": "0q0ikhf5pkbrqln91fklbbfmqi33nfcjdg5dm7zb66b4alxwwas9",
"sha256_darwin_aarch64": "1vf3s0gq61riqsv85pr6xj0c2afdnv1b2w4gp2bwlfq4ffkfq38y"
}
},
"beta": {

View File

@ -7,10 +7,10 @@ in
rec {
firefox = common rec {
pname = "firefox";
version = "98.0.2";
version = "99.0";
src = fetchurl {
url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz";
sha512 = "b567b53fcdc08491063d535545f558ea56ec5be02ca540661de116986245b79f509e0103cea5661faf9f4b3d30b67758ebdb4b30401e260ee27cbb300203f36e";
sha512 = "08f6d5a668140c4275aba6df463ed3af596043dfe5f27573583afbc1e9f6b27ebca79a52ce2c9598261c631b400b5378744e9e70f51ef9c4098b419e9904aa7c";
};
meta = {
@ -32,10 +32,10 @@ rec {
firefox-esr-91 = common rec {
pname = "firefox-esr";
version = "91.7.1esr";
version = "91.8.0esr";
src = fetchurl {
url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz";
sha512 = "c56aa38e9d706ff1f1838d2639dac82109dcffb54a7ea17326ae306604d78967ac32da13676756999bc1aa0bf50dc4e7072936ceb16e2e834bea48382ae4b48c";
sha512 = "edea2c7d4d3d0322091b20b623019ef041090d9f89f33c8e3140f66a54624261f278257393db70d2038154de8ee02da0bee6ecf85c281f3558338da71fc173c3";
};
meta = {

View File

@ -19,13 +19,13 @@
stdenv.mkDerivation rec {
pname = "lagrange";
version = "1.11.1";
version = "1.12.0";
src = fetchFromGitHub {
owner = "skyjake";
repo = "lagrange";
rev = "v${version}";
sha256 = "sha256-RrdD+G8DKOBm0TpmRQg1uMGNFAlAADFeK3h6oyo5RZ4=";
sha256 = "sha256-1eWd4En14p8E04kLWbsbJSEdjManQ87N/P3klFbUQx4=";
fetchSubmodules = true;
};

View File

@ -1,38 +0,0 @@
{ lib, buildGoPackage, fetchFromGitHub, installShellFiles }:
buildGoPackage rec {
pname = "kubeless";
version = "1.0.7";
src = fetchFromGitHub {
owner = "kubeless";
repo = "kubeless";
rev = "v${version}";
sha256 = "0x2hydywnnlh6arzz71p7gg9yzq5z2y2lppn1jszvkbgh11kkqfr";
};
goPackagePath = "github.com/kubeless/kubeless";
nativeBuildInputs = [ installShellFiles ];
subPackages = [ "cmd/kubeless" ];
ldflags = [
"-s" "-w" "-X github.com/kubeless/kubeless/pkg/version.Version=${version}"
];
postInstall = ''
for shell in bash; do
$out/bin/kubeless completion $shell > kubeless.$shell
installShellCompletion kubeless.$shell
done
'';
meta = with lib; {
homepage = "https://kubeless.io";
description = "The Kubernetes Native Serverless Framework";
license = licenses.asl20;
maintainers = with maintainers; [];
platforms = platforms.unix;
};
}

View File

@ -5,11 +5,11 @@
stdenv.mkDerivation rec {
pname = "alfaview";
version = "8.40.0";
version = "8.41.0";
src = fetchurl {
url = "https://production-alfaview-assets.alfaview.com/stable/linux/${pname}_${version}.deb";
sha256 = "sha256-meiIDIG7OXxF2aclHA/8FN8aSz5KWJliDbm2p/flD4k=";
sha256 = "sha256-qW+MB71sylKJQycSX6hiBgxAO4MuhnBaPGFjm+6y4vk=";
};
nativeBuildInputs = [

View File

@ -1,6 +1,6 @@
{ lib
, copyDesktopItems
, electron_14
, electron_16
, esbuild
, fetchFromGitHub
, fetchpatch
@ -33,9 +33,9 @@ let
};
});
electronExec = if stdenv.isDarwin then
"${electron_14}/Applications/Electron.app/Contents/MacOS/Electron"
"${electron_16}/Applications/Electron.app/Contents/MacOS/Electron"
else
"${electron_14}/bin/electron";
"${electron_16}/bin/electron";
esbuild' = esbuild.overrideAttrs (old: rec {
version = "0.12.29";
src = fetchFromGitHub {
@ -47,13 +47,13 @@ let
});
in nodejs-14_x.pkgs.deltachat-desktop.override rec {
pname = "deltachat-desktop";
version = "1.28.0";
version = "1.28.1";
src = fetchFromGitHub {
owner = "deltachat";
repo = "deltachat-desktop";
rev = "v${version}";
hash = "sha256-Ur0UxaKEWp+y7lGz2Khsg4npOf+gjCiOoijkSbnp0hg=";
hash = "sha256-i2Cb2HfapYTaxg5IUl4pGWYUM6o/4mWgMO7QsBqDHoU=";
};
nativeBuildInputs = [

View File

@ -1,6 +1,6 @@
{
"name": "deltachat-desktop",
"version": "1.28.0",
"version": "1.28.1",
"dependencies": {
"@blueprintjs/core": "^3.22.3",
"@deltachat/message_parser_wasm": "^0.3.0",

View File

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "nextdns";
version = "1.37.10";
version = "1.37.11";
src = fetchFromGitHub {
owner = "nextdns";
repo = "nextdns";
rev = "v${version}";
sha256 = "sha256-iwxgDBIuTClikvXF+3mCjFKKV0upN+K+aL85ewYkMXo=";
sha256 = "sha256-BOmu4OjDq1IwsPjbqzV2OtvKpaYFqP/XdYL2Ug28TbU=";
};
vendorSha256 = "sha256-6hWD05lXteqL7egj9tiRVHlevKM33i+a+zBUZs7PF7I=";
vendorSha256 = "sha256-M2PlvUsEG3Um+NqbpHdtu9g+Gj6jSXZ9YZ7t1MwjjdI=";
doCheck = false;

View File

@ -2,21 +2,20 @@
, buildGoModule
, fetchFromSourcehut
, scdoc
, unstableGitUpdater
}:
buildGoModule {
buildGoModule rec {
pname = "hut";
version = "unstable-2022-03-02";
version = "0.1.0";
src = fetchFromSourcehut {
owner = "~emersion";
repo = "hut";
rev = "55ad2fbd9ceeeb9e7dc203c15476fa785f1209e0";
sha256 = "sha256-j2IVwCm7iq3JKccPL8noRBhqw+V+4qfcpAwV65xhZk0=";
rev = "v${version}";
sha256 = "sha256-2YUrDPulpLQQGw31nEasHoQ/AppECg7acwwqu6JDT5U=";
};
vendorSha256 = "sha256-zdQvk0M1a+Y90pnhqIpKxLJnlVJqMoSycewTep2Oux4=";
vendorSha256 = "sha256-EmokL3JlyM6C5/NOarCAJuqNsDO2tgHwqQdv0rAk+Xk=";
nativeBuildInputs = [
scdoc
@ -32,8 +31,6 @@ buildGoModule {
make $makeFlags install
'';
passthru.updateScript = unstableGitUpdater { };
meta = with lib; {
homepage = "https://sr.ht/~emersion/hut/";
description = "A CLI tool for Sourcehut / sr.ht";

View File

@ -19,11 +19,11 @@
stdenv.mkDerivation rec {
pname = "github-desktop";
version = "2.9.9";
version = "2.9.12";
src = fetchurl {
url = "https://github.com/shiftkey/desktop/releases/download/release-${version}-linux1/GitHubDesktop-linux-${version}-linux1.deb";
sha256 = "sha256-LMKOxQR3Bgw00LnKqAe2hq+eASgwC7y0cxNSSt/sjWA=";
sha256 = "sha256-tr1u6q7sHI1Otor53d1F7J0f9eV9tKtLZx8+40I16y8=";
};
nativeBuildInputs = [

View File

@ -21,18 +21,13 @@ let
self = python3Packages.buildPythonApplication rec {
pname = "mercurial${lib.optionalString fullBuild "-full"}";
version = "6.1";
version = "6.1.1";
src = fetchurl {
url = "https://mercurial-scm.org/release/mercurial-${version}.tar.gz";
sha256 = "sha256-hvmGReRWWpJWmR3N4it3uOfSLKb7tgwfTNvYRpo4zB8=";
sha256 = "sha256-V7ikYdDOE9muOBfYqL35Ay407fqsPbzLO2a4NdzpM4g=";
};
patches = [
# Fix the type of libc buffer for aarch64-linux
./fix-rhg-type-aarch64.patch
];
format = "other";
passthru = { inherit python; }; # pass it so that the same version can be used in hg2git
@ -40,7 +35,7 @@ let
cargoDeps = if rustSupport then rustPlatform.fetchCargoTarball {
inherit src;
name = "mercurial-${version}";
sha256 = "sha256-+Y91gEC8vmyutNpVFAAL4MSg4KnpFbhH12CIuMRx0Mc=";
sha256 = "sha256-HYH7+OD11kdZdxFrx1KVle1NesS3fAgwVXJpAeiXDTo=";
sourceRoot = "mercurial-${version}/rust";
} else null;
cargoRoot = if rustSupport then "rust" else null;

View File

@ -1,12 +0,0 @@
diff --git a/rust/hg-core/src/lock.rs b/rust/hg-core/src/lock.rs
--- a/rust/hg-core/src/lock.rs
+++ b/rust/hg-core/src/lock.rs
@@ -145,7 +145,7 @@ lazy_static::lazy_static! {
/// Same as https://github.com/python/cpython/blob/v3.10.0/Modules/socketmodule.c#L5414
const BUFFER_SIZE: usize = 1024;
- let mut buffer = [0_i8; BUFFER_SIZE];
+ let mut buffer = [0 as libc::c_char; BUFFER_SIZE];
let hostname_bytes = unsafe {
let result = libc::gethostname(buffer.as_mut_ptr(), BUFFER_SIZE);
if result != 0 {

View File

@ -12,13 +12,13 @@
stdenvNoCC.mkDerivation rec {
pname = "ani-cli";
version = "1.9";
version = "2.0";
src = fetchFromGitHub {
owner = "pystardust";
repo = "ani-cli";
rev = "v${version}";
sha256 = "sha256-oYiq3Mnuhba5NELJXqVN3gY/d0RfQIqW13YtdcmYKK4=";
sha256 = "sha256-cDxb/IcpzR5akWnA8RN+fKQn0+QnpBV8tAbUjjPICsA=";
};
nativeBuildInputs = [ makeWrapper ];

View File

@ -23,7 +23,7 @@ let
drvB = builtins.unsafeDiscardOutputDependency b.drvPath or (throw "testEqualDerivation third argument must be a package");
name =
if a?name
then lib.strings.sanitizeDerivationName "testEqualDerivation-${a.name}"
then "testEqualDerivation-${a.name}"
else "testEqualDerivation";
in
if drvA == drvB then

View File

@ -70,8 +70,7 @@ rec {
# name of the resulting derivation
}: buildCommand:
stdenv.mkDerivation ({
name = lib.strings.sanitizeDerivationName name;
inherit buildCommand;
inherit buildCommand name;
passAsFile = [ "buildCommand" ]
++ (derivationArgs.passAsFile or []);
}

View File

@ -38,6 +38,13 @@ stdenv.mkDerivation rec {
sha256 = "sha256-+zW/tRZ6QhIfWae5t6wNdbvQUXua/W2Rgx6E01c13fg=";
};
patches = [
# Fix path to libeog.so in the gir file.
# We patch gobject-introspection to hardcode absolute paths but
# our Meson patch will only pass the info when install_dir is absolute as well.
./fix-gir-lib-path.patch
];
nativeBuildInputs = [
meson
ninja

View File

@ -0,0 +1,13 @@
diff --git a/src/meson.build b/src/meson.build
index cc9d3856..f909836d 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -165,7 +165,7 @@ libeog = shared_library(
link_args: ldflags,
link_depends: symbol_map,
install: true,
- install_dir: eog_pkglibdir,
+ install_dir: eog_prefix / eog_pkglibdir,
)
libeog_dep = declare_dependency(

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "gnome-shell-extension-arcmenu";
version = "24";
version = "27";
src = fetchFromGitLab {
owner = "arcmenu";
repo = "ArcMenu";
rev = "v${version}";
sha256 = "sha256-GbZt6JC+uAPkb4GU1Q7WRJ6Pf95Uh48cYwvoTgLimHs=";
sha256 = "sha256-X5oA475Wl3SKVLLcg47Hv91VV8HGeNHhaQLfNi3xt8k=";
};
patches = [

View File

@ -1,20 +1,19 @@
{ lib, stdenv, substituteAll, fetchFromGitHub, fetchpatch, glib, glib-networking, libgtop, gnome }:
{ lib, stdenv, substituteAll, fetchFromGitHub, glib, glib-networking, libgtop, gnome }:
stdenv.mkDerivation rec {
pname = "gnome-shell-extension-system-monitor";
version = "unstable-2021-09-07";
version = "unstable-2022-02-04";
src = fetchFromGitHub {
owner = "paradoxxxzero";
repo = "gnome-shell-system-monitor-applet";
rev = "133f9f32bca5d159515d709bbdee81bf497ebdc5";
sha256 = "1vz1s1x22xmmzaayrzv5jyzlmxslhfaybbnv959szvfp4mdrhch9";
rev = "2c6eb0a447bfc9f1a07c61956c92a55c874baf16";
hash = "sha256-JuRRlvqlqneqUdgezKGl2yg7wFYGCCo51q9CBwrxTBY=";
};
buildInputs = [
nativeBuildInputs = [
glib
glib-networking
libgtop
gnome.gnome-shell
];
patches = [
@ -24,25 +23,13 @@ stdenv.mkDerivation rec {
gtop_path = "${libgtop}/lib/girepository-1.0";
glib_net_path = "${glib-networking}/lib/girepository-1.0";
})
# Support GNOME 41
(fetchpatch {
url = "https://github.com/paradoxxxzero/gnome-shell-system-monitor-applet/pull/718/commits/f4ebc29afa707326b977230329e634db169f55b1.patch";
sha256 = "0ndnla41mvrww6ldf9d55ar1ibyj8ak5pp1dkjg75jii9slgzjqb";
})
];
buildPhase = ''
runHook preBuild
glib-compile-schemas --targetdir="system-monitor@paradoxxx.zero.gmail.com/schemas" "system-monitor@paradoxxx.zero.gmail.com/schemas"
runHook postBuild
'';
installPhase = ''
runHook preInstall
mkdir -p $out/share/gnome-shell/extensions
cp -r "system-monitor@paradoxxx.zero.gmail.com" $out/share/gnome-shell/extensions
runHook postInstall
'';
makeFlags = [
"VERSION=${version}"
"INSTALLBASE=$(out)/share/gnome-shell/extensions"
"SUDO="
];
passthru = {
extensionUuid = "system-monitor@paradoxxx.zero.gmail.com";

View File

@ -19,9 +19,9 @@ let
lib = gcc_multi_sysroot;
};
} ''
mkdir -p $out/lib/gcc
mkdir -p $out/lib{,64}/gcc
ln -s ${combine gcc64}/lib/gcc/* $out/lib/gcc/
ln -s ${combine gcc64}/lib/gcc/* $out/lib64/gcc/
ln -s ${combine gcc32}/lib/gcc/* $out/lib/gcc/
# XXX: This shouldn't be needed, clang just doesn't look for "i686-unknown"
ln -s $out/lib/gcc/i686-unknown-linux-gnu $out/lib/gcc/i686-pc-linux-gnu

View File

@ -2,11 +2,11 @@
buildGraalvmNativeImage rec {
pname = "babashka";
version = "0.7.8";
version = "0.8.0";
src = fetchurl {
url = "https://github.com/babashka/${pname}/releases/download/v${version}/${pname}-${version}-standalone.jar";
sha256 = "sha256-VbDivl92YYWzIbkbOgDijzf9bZ5ZyodcapPPG4EiGXc=";
sha256 = "sha256-xe+WL2V56ETnWv6ey+3xrvC21MfhT5AMtmOkVPbX5N0=";
};
executable = "bb";

View File

@ -1,4 +1,4 @@
{ lib, stdenv, cmake, fetchurl, pkg-config, jansson, zlib }:
{ lib, stdenv, cmake, fetchurl, pkg-config, jansson, lzma, snappy, zlib }:
stdenv.mkDerivation rec {
pname = "avro-c";
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkg-config cmake ];
buildInputs = [ jansson zlib ];
buildInputs = [ jansson lzma snappy zlib ];
meta = with lib; {
description = "A C library which implements parts of the Avro Specification";

View File

@ -27,11 +27,11 @@ let
};
in stdenv.mkDerivation rec {
pname = "openmpi";
version = "4.1.2";
version = "4.1.3";
src = with lib.versions; fetchurl {
url = "https://www.open-mpi.org/software/ompi/v${major version}.${minor version}/downloads/${pname}-${version}.tar.bz2";
sha256 = "09xmlr4mfs02kwcf5cmdgkcdjj81fjwjmpa3rz2k28f3gz7wfy4v";
sha256 = "sha256-PYHQTFTvtV04caRl/7CY2NcsH0j/HLryWA6wWFZ8Cjs=";
};
postPatch = ''

View File

@ -352,6 +352,9 @@ let
meta.mainProgram = "postcss";
};
# To update prisma, please first update prisma-engines to the latest
# version. Then change the correct hash to this package. The PR should hold
# two commits: one for the engines and the other one for the node package.
prisma = super.prisma.override rec {
nativeBuildInputs = [ pkgs.makeWrapper ];
@ -359,7 +362,7 @@ let
src = fetchurl {
url = "https://registry.npmjs.org/prisma/-/prisma-${version}.tgz";
sha512 = "sha512-8SdsLPhKR3mOfoo2o73h9mNn3v5kA/RqGA26Sv6qDS78Eh2uepPqt5e8/nwj5EOblYm5HEGuitaXQrOCLb6uTw==";
sha512 = "sha512-ltCMZAx1i0i9xuPM692Srj8McC665h6E5RqJom999sjtVSccHSD8Z+HSdBN2183h9PJKvC5dapkn78dd0NWMBg==";
};
postInstall = with pkgs; ''
wrapProgram "$out/bin/prisma" \

File diff suppressed because it is too large Load Diff

View File

@ -11,7 +11,7 @@
buildPythonPackage rec {
pname = "afsapi";
version = "0.2.2";
version = "0.2.3";
format = "setuptools";
disabled = pythonOlder "3.8";
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "wlcrs";
repo = "python-afsapi";
rev = version;
hash = "sha256-C4rxlkylWGsDsnMPuecrC2ELj1PvP6EelZ/kzTn4Brk=";
hash = "sha256-6nmj15jCGBRkT7Ip/VGHX5IrAbhu1LUlvXuvFhvXknY=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;

View File

@ -15,13 +15,13 @@
buildPythonPackage rec {
pname = "aioguardian";
version = "2022.03.1";
version = "2022.03.2";
src = fetchFromGitHub {
owner = "bachya";
repo = pname;
rev = version;
sha256 = "sha256-UiRTyUAoTcohRkTBF5Jvd/uY2zAbHV5z4HC8Oc0QNTs=";
sha256 = "sha256-eEvvcj8tHNErU6RrWar5mxG3xbQ5wCEEYJ95hXkdY54=";
};
format = "pyproject";

View File

@ -6,14 +6,14 @@
buildPythonPackage rec {
pname = "anybadge";
version = "1.8.0";
version = "1.9.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "jongracecox";
repo = pname;
rev = "v${version}";
sha256 = "sha256-xKHIoV/8qsNMcU5fd92Jjh7d7jTeYN5xakMEjR6qPX8=";
sha256 = "sha256-9C1oPZcXjrGwvkx20E+xPGje+ATD9HwOCWWn/pg+98Q=";
};
# setup.py reads its version from the TRAVIS_TAG environment variable

View File

@ -12,14 +12,14 @@
buildPythonPackage rec {
pname = "awscrt";
version = "0.13.7";
version = "0.13.8";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-FCmdYuXh8+nWfeGbJ9IhfwASFsZoxOp7jL+5/TrtG5Q=";
hash = "sha256-n1ckAHU31Lo/CdhKxa4sOWuNLg565BB0XKcmpZovCMs=";
};
buildInputs = lib.optionals stdenv.isDarwin [

View File

@ -8,14 +8,14 @@
buildPythonPackage rec {
pname = "bc-python-hcl2";
version = "0.3.33";
version = "0.3.37";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-tdsw9gf64VGH9tRWgYZZq3FNa5B5JNhN3k6wUHrU5zY=";
hash = "sha256-+Wr/JF9es2LQhQ5rc0iyGZa0Di5CsFo9k36WI7jrOqs=";
};
# Nose is required during build process, so can not use `checkInputs`.

View File

@ -14,12 +14,12 @@
buildPythonPackage rec {
pname = "chiavdf";
version = "1.0.5";
version = "1.0.6";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-2pC6sFRwgAwIEanZXe99848XMxK/lyLGxiA+UA+q3H0=";
hash = "sha256-Ri7j/T0nnZFml4kC0qIQkyYRJBPZMhTYxolW/A25030=";
};
patches = [

View File

@ -7,14 +7,14 @@
buildPythonPackage rec {
pname = "dotmap";
version = "1.3.28";
version = "1.3.29";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-riqDYqtjstyx681zz80aZ6hBizNw4V3NOusInHGlXoI=";
hash = "sha256-5mhR+Ey8RrruucUIt5LxBNM6OBUWbLy5jNOWg6tzxRE=";
};
checkInputs = [

View File

@ -10,7 +10,7 @@
buildPythonPackage rec {
pname = "dunamai";
version = "1.10.0";
version = "1.11.1";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -19,7 +19,7 @@ buildPythonPackage rec {
owner = "mtkennerly";
repo = "dunamai";
rev = "v${version}";
sha256 = "sha256-Sp0yfNkFwNc2qR9aSPteBqZcqRokM9whOVmduXVK3CI=";
sha256 = "sha256-nkE9QBziCQA/aN+Z0OuqJlf5FJ4fidE7u5Gt25zjX0c=";
};
nativeBuildInputs = [

View File

@ -8,15 +8,19 @@
, proto-plus
, pytestCheckHook
, pytest-asyncio
, pythonOlder
}:
buildPythonPackage rec {
pname = "google-cloud-secret-manager";
version = "2.9.2";
version = "2.10.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-W93SDJR8bUPQX9KzoZ6YvV9kU+Twd9huH09Smap481g=";
hash = "sha256-nQfdej2SveO0Qxam57ZRAyTQ0NnGoyb4nx2YFnqtAhI=";
};
propagatedBuildInputs = [

View File

@ -8,7 +8,7 @@
buildPythonPackage rec {
pname = "graphql-subscription-manager";
version = "0.5.5";
version = "0.5.6";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -17,7 +17,7 @@ buildPythonPackage rec {
owner = "Danielhiversen";
repo = "PyGraphqlWebsocketManager";
rev = version;
hash = "sha256-7MqFsttMNnWmmWKj1zaOORBTDGt6Wm8GU7w56DfPl2c=";
hash = "sha256-nieKl25yDc3FHnMqwn6FNzWKd8sas3rTlBonYbJc1tg=";
};
propagatedBuildInputs = [

View File

@ -1,18 +1,27 @@
{ buildPythonPackage, fetchPypi, lib }:
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "teletype";
version = "1.3.2";
version = "1.3.4";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-9q46a4ui2kgSUL/vImR02r4T9huwLFwd70AqGBNJNzs=";
hash = "sha256-uBppM4w9GlMgYqKFGw1Rcjvq+mnU04K3E74jCgK9YYo=";
};
# no tests
doCheck = false;
pythonImportsCheck = [ "teletype" ];
pythonImportsCheck = [
"teletype"
];
meta = with lib; {
description = "A high-level cross platform tty library";

View File

@ -2,13 +2,13 @@
buildGoModule rec {
pname = "pack";
version = "0.24.0";
version = "0.24.1";
src = fetchFromGitHub {
owner = "buildpacks";
repo = pname;
rev = "v${version}";
sha256 = "sha256-nlSJwo2YjbOOKofZwXdWB3fxRUNTeSUcT6jN987SB3o=";
sha256 = "sha256-zwvZ99SLeYQDSzrEy2eYPMyFh9B6LWZT3tY92EOrXnU=";
};
vendorSha256 = "sha256-4uMd0KaV5xrxuJ9yqpxbD3YTNaBHsH2d/IRtYRyN5+0=";

View File

@ -1,34 +0,0 @@
{ lib, fetchFromGitHub, buildGoPackage }:
with lib;
buildGoPackage rec {
pname = "ct";
version = "0.9.0";
goPackagePath = "github.com/coreos/container-linux-config-transpiler";
src = fetchFromGitHub {
owner = "coreos";
repo = "container-linux-config-transpiler";
rev = "v${version}";
sha256="1w6nvgrl5qp3ci9igflk9dlk3020psv5m4f3p57f3qcx9vrcl4lw";
};
ldflags = [
"-X ${goPackagePath}/internal/version.Raw=v${version}"
];
postInstall = ''
mv $out/bin/{internal,ct}
rm $out/bin/tools
'';
meta = {
description = "Convert a Container Linux Config into Ignition";
license = licenses.asl20;
homepage = "https://github.com/coreos/container-linux-config-transpiler";
maintainers = with maintainers; [elijahcaine];
platforms = with platforms; unix;
};
}

View File

@ -3,13 +3,13 @@
nixosTests }:
buildGoModule rec {
pname = "buildkite-agent";
version = "3.35.0";
version = "3.35.1";
src = fetchFromGitHub {
owner = "buildkite";
repo = "agent";
rev = "v${version}";
sha256 = "sha256-Ql6Oe58a5z4UhANDVRGwcmwVgrCfkRKyN5DVXPshf3w=";
sha256 = "sha256-fa32tKOlRuKTONiMboX7CUxeknePsNRC7jlBvAtXmus=";
};
vendorSha256 = "sha256-YnOOJDzdirikFbS9451A/TWOSWv04QsqO68/cSXK82k=";

View File

@ -8,21 +8,24 @@
, stdenv
}:
# Updating this package will force an update for nodePackages.prisma. The
# version of prisma-engines and nodePackages.prisma must be the same for them to
# function correctly.
rustPlatform.buildRustPackage rec {
pname = "prisma-engines";
version = "3.11.0";
version = "3.12.0";
src = fetchFromGitHub {
owner = "prisma";
repo = "prisma-engines";
rev = version;
sha256 = "sha256-z7ebwidY+p350XaGeyohoSHWc2DhfzpRxsRDLON1BuA=";
sha256 = "sha256-lIHE63XIPutvTS2cid0+tuo+JMSKMGuSUcnFv1mCRrM=";
};
# Use system openssl.
OPENSSL_NO_VENDOR = 1;
cargoSha256 = "sha256-PQdLoNJL9szPzPtFRznWS0lngTvtWK+Ko2rp4JWH9dQ=";
cargoSha256 = "sha256-SkI+GLHknC+CGhGo7KiZahBxMp/JCIukTe2C0mMTdjY=";
nativeBuildInputs = [ pkg-config ];

View File

@ -1,30 +0,0 @@
{ buildGoPackage
, lib
, fetchFromGitHub
}:
buildGoPackage rec {
pname = "interfacer-unstable";
version = "2018-08-31";
rev = "c20040233aedb03da82d460eca6130fcd91c629a";
goPackagePath = "mvdan.cc/interfacer";
src = fetchFromGitHub {
inherit rev;
owner = "mvdan";
repo = "interfacer";
sha256 = "0cx4m74mvn200360pmsqxx4z0apk9fcknwwqh8r94zd3jfv4akq2";
};
goDeps = ./deps.nix;
meta = with lib; {
description = "A linter that suggests interface types";
homepage = "https://github.com/mvdan/interfacer";
license = licenses.bsd3;
maintainers = with maintainers; [ kalbasit ];
platforms = platforms.linux ++ platforms.darwin;
};
}

View File

@ -1,29 +0,0 @@
[
{
goPackagePath = "github.com/kisielk/gotool";
fetch = {
type = "git";
url = "https://github.com/kisielk/gotool";
rev = "80517062f582ea3340cd4baf70e86d539ae7d84d";
sha256 = "14af2pa0ssyp8bp2mvdw184s5wcysk6akil3wzxmr05wwy951iwn";
};
}
{
goPackagePath = "golang.org/x/tools";
fetch = {
type = "git";
url = "https://go.googlesource.com/tools";
rev = "96e9e165b75e735822645eff82850b08c377be36";
sha256 = "1zj9ck5sg9b0pphxybmvxf64hhcap7v7j37fx3v5aknf18crjjdg";
};
}
{
goPackagePath = "mvdan.cc/lint";
fetch = {
type = "git";
url = "https://github.com/mvdan/lint";
rev = "adc824a0674b99099789b6188a058d485eaf61c0";
sha256 = "17mi2rvkg9kzv1shxcyawzcj4jj3v738d1j82fp4yygx859yvr8r";
};
}
]

View File

@ -1,36 +0,0 @@
{ lib, fetchFromGitHub, buildGoPackage }:
with lib;
buildGoPackage rec {
pname = "kube-aws";
version = "0.9.4";
goPackagePath = "github.com/coreos/kube-aws";
src = fetchFromGitHub {
owner = "coreos";
repo = "kube-aws";
rev = "v${version}";
sha256 = "11h14fsnflbx76rmpp0fxahbxi2qgcamgyxy9s4rmw83j2m8csxp";
};
preBuild = ''(
cd go/src/${goPackagePath}
go generate ./core/controlplane/config
go generate ./core/nodepool/config
go generate ./core/root/config
)'';
ldflags = [
"-X github.com/coreos/kube-aws/core/controlplane/cluster.VERSION=v${version}"
];
meta = {
description = "Tool for deploying kubernetes on aws using coreos";
license = licenses.asl20;
homepage = "https://github.com/coreos/coreos-kubernetes";
maintainers = with maintainers; [offline];
platforms = with platforms; unix;
};
}

View File

@ -2,9 +2,9 @@
buildGoModule rec {
pname = "kustomize";
version = "4.5.3";
version = "4.5.4";
# rev is the commit of the tag, mainly for kustomize version command output
rev = "b2d65ddc98e09187a8e38adc27c30bab078c1dbf";
rev = "cf3a452ddd6f83945d39d582243b8592ec627ae3";
ldflags = let t = "sigs.k8s.io/kustomize/api/provenance"; in
[
@ -17,7 +17,7 @@ buildGoModule rec {
owner = "kubernetes-sigs";
repo = pname;
rev = "kustomize/v${version}";
sha256 = "sha256-sy429uTTYvjnweZlsuolBamcggRXmaR8uxD043GUIQE=";
sha256 = "sha256-7Ode+ONgWJRNSbIpvIjhuT+oVvZgJfByFqS/iSUhcXw=";
};
doCheck = true;
@ -25,7 +25,7 @@ buildGoModule rec {
# avoid finding test and development commands
sourceRoot = "source/kustomize";
vendorSha256 = "sha256-5kMMSr+YyuoASgW+qzkyO4CcDHFFANcsAZTUqHX5nGk=";
vendorSha256 = "sha256-beIbeY/+k2NgotGw5zQFkYuqMKlwctoxuToZfiFlCm4=";
meta = with lib; {
description = "Customization of kubernetes YAML configurations";

View File

@ -0,0 +1,35 @@
{ lib
, fetchFromGitHub
, python3
}:
let
pname = "nix-bisect";
version = "0.4.1";
in
python3.pkgs.buildPythonApplication {
inherit pname version;
format = "setuptools";
src = fetchFromGitHub {
owner = "timokau";
repo = pname;
rev = "v${version}";
hash = "sha256-01vj35mMakqKi5zbMIPQ+R8xdkOWbzpnigd3/SU+svw=";
};
propagatedBuildInputs = with python3.pkgs; [
appdirs
numpy
pexpect
];
doCheck = false;
meta = with lib; {
description = "Bisect nix builds";
homepage = "https://github.com/timokau/nix-bisect";
license = licenses.mit;
maintainers = with maintainers; [ hexa ];
};
}

View File

@ -1,14 +1,14 @@
{ lib, stdenv, fetchurl, autoreconfHook, fetchFromGitHub }:
{ lib, stdenv, fetchurl, autoreconfHook, fetchFromGitHub, unstableGitUpdater }:
stdenv.mkDerivation rec {
pname = "patchelf";
version = "2021-11-16";
version = "unstable-2022-02-21";
src = fetchFromGitHub {
owner = "NixOS";
repo = "patchelf";
rev = "a174cf3006baf31e0e9eaa62bc9adead93af63f7";
sha256 = "sha256-cKZ4DE70R5XiIqfnIVAl2s7a1bJxaaPpuCmxs3pxFRU=";
rev = "a35054504293f9ff64539850d1ed0bfd2f5399f2";
sha256 = "sha256-/hD/abmzWSkDhAWPLHiLQQ9cwJF8oFDuovNzRqs3Bho=";
};
# Drop test that fails on musl (?)
@ -24,6 +24,12 @@ stdenv.mkDerivation rec {
doCheck = !stdenv.isDarwin;
passthru = {
updateScript = unstableGitUpdater {
url = "https://github.com/NixOS/patchelf.git";
};
};
meta = with lib; {
homepage = "https://github.com/NixOS/patchelf";
license = licenses.gpl3;

View File

@ -4,7 +4,7 @@
buildDunePackage rec {
pname = "utop";
version = "2.9.0";
version = "2.9.1";
useDune2 = true;
@ -12,7 +12,7 @@ buildDunePackage rec {
src = fetchurl {
url = "https://github.com/ocaml-community/utop/releases/download/${version}/utop-${version}.tbz";
sha256 = "sha256:17jd61bc6pva5wqmnc9xq70ysyjplrzf1p25sq1s7wgrfq2vlyyd";
sha256 = "sha256-6TQxLYN/qjTABZuK6rp+daCSNWyJIXzB8q2QpZeBwaY=";
};
nativeBuildInputs = [ makeWrapper cppo ];

View File

@ -8,7 +8,7 @@ let
in
buildNodejs {
inherit enableNpm;
version = "12.22.11";
sha256 = "sha256-XoHaJv1bH4lxRIOrqmjj2jBFI+QzTHjEm/p6A+541vE=";
version = "12.22.12";
sha256 = "1whl0zi6fs9ay33bhcn2kh9xynran05iipahg1zzr6sv97wbfhmw";
patches = lib.optional stdenv.isDarwin ./bypass-xcodebuild.diff;
}

View File

@ -0,0 +1,66 @@
{ lib, stdenv, fetchFromGitHub, SDL2, IOKit, Foundation, cmake, makeWrapper }:
stdenv.mkDerivation rec {
pname = "bugdom";
version = "1.3.1";
src = fetchFromGitHub {
owner = "jorio";
repo = pname;
rev = version;
sha256 = "sha256:1371inw11rzfrxmc3v4gv5axp56bxjbcr0mhqm4x839401bfq5mf";
fetchSubmodules = true;
};
postPatch = lib.optionalString stdenv.hostPlatform.isDarwin ''
# Expects SDL2.framework in specific location, which we don't have
# Passing this in cmakeFlags doesn't work because the path is hard-coded for Darwin
substituteInPlace cmake/FindSDL2.cmake \
--replace 'set(SDL2_LIBRARIES' 'set(SDL2_LIBRARIES "${SDL2}/lib/libSDL2.dylib") #'
'';
buildInputs = [
SDL2
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
IOKit
Foundation
];
nativeBuildInputs = [
cmake
makeWrapper
];
cmakeFlags = lib.optionals stdenv.hostPlatform.isDarwin [
"-DCMAKE_OSX_ARCHITECTURES=${stdenv.hostPlatform.darwinArch}"
# Expects SDL2.framework in specific location, which we don't have
"-DSDL2_INCLUDE_DIRS=${SDL2.dev}/include/SDL2"
];
installPhase = ''
runHook preInstall
'' + (if stdenv.hostPlatform.isDarwin then ''
mkdir -p $out/{bin,Applications}
mv {,$out/Applications/}Bugdom.app
ln -s $out/{Applications/Bugdom.app/Contents/MacOS,bin}/Bugdom
'' else ''
mkdir -p $out/share/bugdom
mv Data $out/share/bugdom
install -Dm755 {.,$out/bin}/Bugdom
wrapProgram $out/bin/Bugdom --run "cd $out/share/bugdom"
'') + ''
runHook postInstall
'';
meta = with lib; {
description = "A port of Bugdom, a 1999 Macintosh game by Pangea Software, for modern operating systems";
homepage = "https://github.com/jorio/Bugdom";
license = with licenses; [
cc-by-sa-40
];
maintainers = with maintainers; [ lux ];
platforms = platforms.unix;
};
}

View File

@ -0,0 +1,48 @@
{ lib, stdenv, fetchFromGitLab, dtc, installShellFiles }:
stdenv.mkDerivation rec {
pname = "argononed";
version = "unstable-2022-03-26";
src = fetchFromGitLab {
owner = "DarkElvenAngel";
repo = pname;
rev = "97c4fa07fc2c09ffc3bd86e0f6319d50fa639578";
sha256 = "sha256-5/xUYbprRiwD+FN8V2cUpHxnTbBkEsFG2wfsEXrCrgQ=";
};
patches = [ ./fix-hardcoded-reboot-poweroff-paths.patch ];
postPatch = ''
patchShebangs configure
'';
nativeBuildInputs = [ installShellFiles ];
buildInputs = [ dtc ];
installPhase = ''
runHook preInstall
install -Dm755 build/argononed $out/bin/argononed
install -Dm755 build/argonone-cli $out/bin/argonone-cli
install -Dm755 build/argonone-shutdown $out/lib/systemd/system-shutdown/argonone-shutdown
install -Dm644 build/argonone.dtbo $out/boot/overlays/argonone.dtbo
install -Dm644 OS/_common/argononed.service $out/lib/systemd/system/argononed.service
install -Dm644 OS/_common/argononed.logrotate $out/etc/logrotate.d/argononed
install -Dm644 LICENSE $out/share/argononed/LICENSE
installShellCompletion --bash --name argonone-cli OS/_common/argonone-cli-complete.bash
runHook postInstall
'';
meta = with lib; {
homepage = "https://gitlab.com/DarkElvenAngel/argononed";
description = "A replacement daemon for the Argon One Raspberry Pi case";
license = licenses.mit;
platforms = platforms.linux;
maintainers = [ maintainers.misterio77 ];
};
}

View File

@ -0,0 +1,18 @@
--- a/src/argononed.c
+++ b/src/argononed.c
@@ -783,13 +783,13 @@
{
log_message(LOG_DEBUG, "EXEC REBOOT");
sync();
- system("/sbin/reboot");
+ system("/run/current-system/sw/bin/reboot");
}
if (count >= 39 && count <= 41)
{
log_message(LOG_DEBUG, "EXEC SHUTDOWN");
sync();
- system("/sbin/poweroff");
+ system("/run/current-system/sw/bin/poweroff");
}
#else
log_message(LOG_INFO,"Daemon Ready");

View File

@ -6,13 +6,13 @@
stdenv.mkDerivation {
pname = "apfs";
version = "unstable-2021-09-21-${kernel.version}";
version = "unstable-2022-02-03-${kernel.version}";
src = fetchFromGitHub {
owner = "linux-apfs";
repo = "linux-apfs-rw";
rev = "362c4e32ab585b9234a26aa3e49f29b605612a31";
sha256 = "sha256-Y8/PGPLirNrICF+Bum60v/DBPa1xpox5VBvt64myZzs=";
rev = "a0d6a4dca69b6eab3cabaaee4d4284807828a266";
sha256 = "sha256-3T1BNc6g3SDTxb0VrronLUIp/CWbwnzXTsc8Qk5c4jY=";
};
hardeningDisable = [ "pic" ];

View File

@ -65,6 +65,16 @@ stdenv.mkDerivation rec {
patches = [
./busybox-in-store.patch
(fetchurl {
name = "CVE-2022-28391.patch";
url = "https://git.alpinelinux.org/aports/plain/main/busybox/0001-libbb-sockaddr2str-ensure-only-printable-characters-.patch?id=ed92963eb55bbc8d938097b9ccb3e221a94653f4";
sha256 = "sha256-yviw1GV+t9tbHbY7YNxEqPi7xEreiXVqbeRyf8c6Awo=";
})
(fetchurl {
name = "CVE-2022-28391.patch";
url = "https://git.alpinelinux.org/aports/plain/main/busybox/0002-nslookup-sanitize-all-printed-strings-with-printable.patch?id=ed92963eb55bbc8d938097b9ccb3e221a94653f4";
sha256 = "sha256-vl1wPbsHtXY9naajjnTicQ7Uj3N+EQ8pRNnrdsiow+w=";
})
] ++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) ./clang-cross.patch;
separateDebugInfo = true;

View File

@ -0,0 +1,31 @@
{ stdenv, lib, fetchFromGitHub, vdo, kernel }:
stdenv.mkDerivation rec {
inherit (vdo) version;
pname = "kvdo";
src = fetchFromGitHub {
owner = "dm-vdo";
repo = "kvdo";
rev = version;
sha256 = "1xl7dwcqx00w1gbpb6vlkn8nchyfj1fsc8c06vgda0sgxp7qs5gn";
};
dontConfigure = true;
enableParallelBuilding = true;
KSRC = "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build";
INSTALL_MOD_PATH = placeholder "out";
preBuild = ''
makeFlags="$makeFlags -C ${KSRC} M=$(pwd)"
'';
installTargets = [ "modules_install" ];
meta = with lib; {
inherit (vdo.meta) license maintainers;
homepage = "https://github.com/dm-vdo/kvdo";
description = "A pair of kernel modules which provide pools of deduplicated and/or compressed block storage";
platforms = platforms.linux;
};
}

View File

@ -11,6 +11,7 @@
, enableDmeventd ? false
, udevSupport ? !stdenv.hostPlatform.isStatic, udev ? null
, onlyLib ? stdenv.hostPlatform.isStatic
, enableVDO ? false, vdo ? null
, nixosTests
}:
@ -18,7 +19,7 @@
assert enableDmeventd -> enableCmdlib;
stdenv.mkDerivation rec {
pname = "lvm2" + lib.optionalString enableDmeventd "-with-dmeventd";
pname = "lvm2" + lib.optionalString enableDmeventd "-with-dmeventd" + lib.optionalString enableVDO "-with-vdo";
inherit version;
src = fetchurl {
@ -33,6 +34,8 @@ stdenv.mkDerivation rec {
udev
] ++ lib.optionals (!onlyLib) [
libuuid
] ++ lib.optionals enableVDO [
vdo
];
configureFlags = [
@ -58,6 +61,8 @@ stdenv.mkDerivation rec {
"--enable-udev_sync"
] ++ lib.optionals stdenv.hostPlatform.isStatic [
"--enable-static_link"
] ++ lib.optionals enableVDO [
"--enable-vdo"
];
preConfigure = ''

View File

@ -0,0 +1,64 @@
{ lib, stdenv
, fetchFromGitHub
, installShellFiles
, libuuid
, lvm2_dmeventd # <libdevmapper-event.h>
, zlib
, python3
}:
stdenv.mkDerivation rec {
pname = "vdo";
version = "8.1.1.360"; # kvdo uses this!
src = fetchFromGitHub {
owner = "dm-vdo";
repo = pname;
rev = version;
sha256 = "1zp8aaw0diramnlx5z96jcpbm6x0r204xf1vwq6k21rzcazczkwv";
};
nativeBuildInputs = [
installShellFiles
];
buildInputs = [
libuuid
lvm2_dmeventd
zlib
python3.pkgs.wrapPython
];
propagatedBuildInputs = with python3.pkgs; [
pyyaml
];
pythonPath = propagatedBuildInputs;
makeFlags = [
"DESTDIR=${placeholder "out"}"
"INSTALLOWNER="
# all of these paths are relative to DESTDIR and have defaults that don't work for us
"bindir=/bin"
"defaultdocdir=/share/doc"
"mandir=/share/man"
"python3_sitelib=${python3.sitePackages}"
];
enableParallelBuilding = true;
postInstall = ''
installShellCompletion --bash $out/bash_completion.d/*
rm -r $out/bash_completion.d
wrapPythonPrograms
'';
meta = with lib; {
homepage = "https://github.com/dm-vdo/vdo";
description = "A set of userspace tools for managing pools of deduplicated and/or compressed block storage";
platforms = platforms.linux;
license = with licenses; [ gpl2Plus ];
maintainers = with maintainers; [ ajs124 ];
};
}

View File

@ -20,6 +20,11 @@ stdenv.mkDerivation rec {
libyamlcpp libsodium curl unixODBC openssl systemd lmdb tinycdb
];
# Configure phase requires 64-bit time_t even on 32-bit platforms.
NIX_CFLAGS_COMPILE = lib.optionals stdenv.hostPlatform.is32bit [
"-D_TIME_BITS=64" "-D_FILE_OFFSET_BITS=64"
];
configureFlags = [
"--disable-silent-rules"
"--enable-dns-over-tls"

View File

@ -1,12 +1,12 @@
{lib, stdenv, fetchurl, cyrus_sasl, libevent, nixosTests }:
stdenv.mkDerivation rec {
version = "1.6.14";
version = "1.6.15";
pname = "memcached";
src = fetchurl {
url = "https://memcached.org/files/${pname}-${version}.tar.gz";
sha256 = "sha256-VNY3QsaIbc3E4Mh/RDmikwqHbNnyv6AdaZsMa60XB7M=";
sha256 = "sha256-jXq+PWSTeO27oW9C7x1myj8qwHXy65cUXOFkOI5u1RU=";
};
configureFlags = [

View File

@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "Open-source streaming video service with sub-second latency";
homepage = "https://ovenmediaengine.com";
license = licenses.gpl2Only;
license = licenses.agpl3Only;
maintainers = with maintainers; [ lukegb ];
platforms = [ "x86_64-linux" ];
};

View File

@ -1,28 +0,0 @@
{ lib, buildGoPackage, fetchFromGitHub, docker }:
buildGoPackage rec {
rev = "3057a2c07061c8d9ffaf77e5442ffd7512ac0133";
pname = "heapster";
version = lib.strings.substring 0 7 rev;
goPackagePath = "k8s.io/heapster";
subPackages = [ "./" ];
src = fetchFromGitHub {
inherit rev;
owner = "kubernetes";
repo = "heapster";
sha256 = "1vg83207y7yigydnnhlvzs3s94vx02i56lqgs6a96c6i3mr3ydpb";
};
preBuild = ''
export GOPATH=$GOPATH:$NIX_BUILD_TOP/go/src/${goPackagePath}/Godeps/_workspace
'';
meta = with lib; {
description = "Compute Resource Usage Analysis and Monitoring of Container Clusters";
license = licenses.asl20;
homepage = "https://github.com/kubernetes/heapster";
maintainers = with maintainers; [ offline ];
platforms = docker.meta.platforms;
};
}

View File

@ -1,23 +0,0 @@
{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "mesos_exporter";
version = "1.1.2";
goPackagePath = "github.com/prometheus/mesos_exporter";
src = fetchFromGitHub {
rev = "v${version}";
owner = "mesos";
repo = "mesos_exporter";
sha256 = "0nvjlpxdhh60wcdw2fdc8h0vn6fxkz0nh7zrx43hjxymvc15ixza";
};
meta = with lib; {
description = "Export Mesos metrics to Prometheus";
homepage = "https://github.com/prometheus/mesos_exporter";
license = licenses.asl20;
maintainers = with maintainers; [ benley ];
platforms = platforms.unix;
};
}

View File

@ -2,11 +2,11 @@
buildGoModule rec {
pname = "traefik";
version = "2.6.2";
version = "2.6.3";
src = fetchzip {
url = "https://github.com/traefik/traefik/releases/download/v${version}/traefik-v${version}.src.tar.gz";
sha256 = "sha256-DVmszzDre0pWXARUqXuqGfY3pX1Ijh33G0Gsdmp8f98=";
sha256 = "sha256-OaKgX3qwiJM/EPprV1r3CbUnxOaWl7BTMcS5v+tmHoo=";
stripRoot = false;
};

View File

@ -2,13 +2,13 @@
buildFishPlugin rec {
pname = "fzf.fish";
version = "8.1";
version = "8.2";
src = fetchFromGitHub {
owner = "PatrickF1";
repo = "fzf.fish";
rev = "v${version}";
sha256 = "sha256-uqYVbRdrcO6StaIim9S8xmb9P67CmXnLEywSeILn4yQ=";
sha256 = "sha256-WRrPd/GuXHJ9uYvhwjwp9AEtvbfMlpV0xdgNyfx43ok=";
};
checkInputs = [ fzf fd util-linux ];

View File

@ -5,15 +5,15 @@
, git, nix, nixfmt, jq, coreutils, gnused, curl, cacert }:
stdenv.mkDerivation rec {
version = "2022-03-31";
version = "2022-04-04";
pname = "oh-my-zsh";
rev = "53863e7b3ff0c2e2816e90dab3d870adebdf49c7";
rev = "4d9e5ce9a7d8db3c3aadcae81580a5c3ff5a0e8b";
src = fetchFromGitHub {
inherit rev;
owner = "ohmyzsh";
repo = "ohmyzsh";
sha256 = "TQOGSAzcJfcUNTzUcCI5tTlAKD1JYtH9CiPnfHZaA9E=";
sha256 = "Plg7mr6ZOSzUpq5XMFkebVpCjdtwe237+4sVdtL+kLM=";
};
installPhase = ''

View File

@ -219,9 +219,11 @@ else let
# it again.
staticMarker = lib.optionalString stdenv.hostPlatform.isStatic "-static";
in
lib.strings.sanitizeDerivationName (
if attrs ? name
then attrs.name + hostSuffix
else "${attrs.pname}${staticMarker}${hostSuffix}-${attrs.version}";
else "${attrs.pname}${staticMarker}${hostSuffix}-${attrs.version}"
);
}) // {
builder = attrs.realBuilder or stdenv.shell;
args = attrs.args or ["-e" (attrs.builder or ./default-builder.sh)];
@ -340,8 +342,9 @@ else let
# passed to the builder and is not a dependency. But since we
# include it in the result, it *is* available to nix-env for queries.
meta = {
# `name` above includes cross-compilation cruft (and is under assert),
# lets have a clean always accessible version here.
# `name` above includes cross-compilation cruft,
# is under assert, and is sanitized.
# Let's have a clean always accessible version here.
name = attrs.name or "${attrs.pname}-${attrs.version}";
# If the packager hasn't specified `outputsToInstall`, choose a default,

View File

@ -5,16 +5,16 @@
buildGoModule rec {
pname = "trivy";
version = "0.25.0";
version = "0.25.2";
src = fetchFromGitHub {
owner = "aquasecurity";
repo = pname;
rev = "v${version}";
sha256 = "sha256-jlLE8io7/Yhu0rF7brV9YhDIsZBANZtatnWbgoHMReg=";
sha256 = "sha256-yDoHDOPtPX5u8K2/fnj6dgqlI+WUCsuxbdKtb/UtIRQ=";
};
vendorSha256 = "sha256-hOurOL7xowgBs9gXa++X7+iOKJJ6WjekGGFiR9Q0OEU=";
vendorSha256 = "sha256-HZpGPCayrnayOg+3mB8Tw+5M2IfIpIvzP7qfY1OL7tk=";
excludedPackages = "misc";

View File

@ -6,13 +6,13 @@
python3.pkgs.buildPythonApplication rec {
pname = "spotdl";
version = "3.9.3";
version = "3.9.4";
src = fetchFromGitHub {
owner = "spotDL";
repo = "spotify-downloader";
rev = "v${version}";
sha256 = "sha256-sx6UtblpsetKPwhlXB3Kj3OMIOyW9QluzB+YbtQGdYQ=";
sha256 = "sha256-PJ9m+697bdrhHZ80wJvL6V366Vn3tmPfioK1sZAyB/Q=";
};
propagatedBuildInputs = with python3.pkgs; [

View File

@ -1,30 +0,0 @@
{ lib, python2 }:
python2.pkgs.buildPythonApplication rec {
pname = "buttersink";
version = "0.6.9";
src = python2.pkgs.fetchPypi {
inherit pname version;
sha256 = "a797b6e92ad2acdf41e033c1368ab365aa268f4d8458b396a5770fa6c2bc3f54";
};
propagatedBuildInputs = with python2.pkgs; [ boto crcmod psutil ];
# No tests implemented
doCheck = false;
meta = with lib; {
description = "Synchronise btrfs snapshots";
longDescription = ''
ButterSink is like rsync, but for btrfs subvolumes instead of files,
which makes it much more efficient for things like archiving backup
snapshots. It is built on top of btrfs send and receive capabilities.
Sources and destinations can be local btrfs file systems, remote btrfs
file systems over SSH, or S3 buckets.
'';
homepage = "https://github.com/AmesCornish/buttersink/wiki";
license = licenses.gpl3;
platforms = platforms.linux;
};
}

View File

@ -10,16 +10,16 @@
buildGoModule rec {
pname = "dsq";
version = "0.11.0";
version = "0.12.0";
src = fetchFromGitHub {
owner = "multiprocessio";
repo = "dsq";
rev = version;
hash = "sha256-4g9fu5taFtb7VzVa0X8s6SbEO9qTFD0ff+CVJpr376c=";
hash = "sha256-AxYqSCdCrhHrN21WGJtg0KIde8VAjj6bF7DzELZptj8=";
};
vendorSha256 = "sha256-YPH/uPPNT1byXOtCrNyU68H4mHO8arl6l5hs9WMcxVk=";
vendorSha256 = "sha256-aER7j/DG1WB5DZhvgXYrl19UwQ/lZLPRAptINVJ3rdI=";
nativeBuildInputs = [ diffutils ];

View File

@ -6,11 +6,11 @@
stdenv.mkDerivation rec {
pname = "gparted";
version = "1.3.1";
version = "1.4.0";
src = fetchurl {
url = "mirror://sourceforge/gparted/${pname}-${version}.tar.gz";
sha256 = "sha256-Xu4ubXSxXvlrE7OiMQyGjtIpjgM0ECHn0SpamKHR4Qk=";
sha256 = "sha256-5Sk6eS5T/b66KcSoNBE82WA9DWOTMNqTGkaL82h4h74=";
};
# Tries to run `pkexec --version` to get version.

View File

@ -33,7 +33,7 @@ xorg,
}:
let
version = "1.30.1";
version = "1.31.0";
rpath = lib.makeLibraryPath [
alsa-lib
@ -82,7 +82,7 @@ let
if stdenv.hostPlatform.system == "x86_64-linux" then
fetchurl {
url = "https://downloads.mongodb.com/compass/mongodb-compass_${version}_amd64.deb";
sha256 = "sha256-MwkYgkDZmzZsthJxSK6c+0us0D4cPuDfuV1XBbeTNXE=";
sha256 = "sha256-kzGBb8h03jPCqpwKPXeqB3yPTGgvVsl1DjIyCbNgjqM=";
}
else
throw "MongoDB compass is not supported on ${stdenv.hostPlatform.system}";

View File

@ -1,12 +1,12 @@
{ lib, stdenv, fetchurl, makeWrapper, jre, graphviz }:
stdenv.mkDerivation rec {
version = "1.2022.2";
version = "1.2022.3";
pname = "plantuml";
src = fetchurl {
url = "mirror://sourceforge/project/plantuml/${version}/plantuml.${version}.jar";
sha256 = "sha256-4LPR8gdpfebq5U/umxcFfqe7i6qJHLqhOAu7DfYzTY8=";
sha256 = "sha256-u40P3YFiWd419Bz1NvhIsPa7nASl/I9z/L2Q5v9eOAo=";
};
nativeBuildInputs = [ makeWrapper ];

View File

@ -9,13 +9,13 @@ let
in stdenv.mkDerivation rec {
pname = "svtplay-dl";
version = "4.10";
version = "4.11";
src = fetchFromGitHub {
owner = "spaam";
repo = "svtplay-dl";
rev = version;
sha256 = "sha256-JK/JtGDmmTJ+g0kmM7mSJi7+/N552GKtlMkh7quOBjo=";
sha256 = "1ybip45bfmvajw046v6mxjbf3vv0y7zgfb454rjy56zhx40l232v";
};
pythonPaths = [ cryptography pyyaml requests ];

View File

@ -1,41 +0,0 @@
{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "teleconsole";
version = "0.4.0";
goPackagePath = "github.com/gravitational/teleconsole";
src = fetchFromGitHub {
owner = "gravitational";
repo = "teleconsole";
rev = version;
sha256 = "01552422n0bj1iaaw6pvg9l1qr66r69sdsngxbcdjn1xh3mj74sm";
};
srcTeleport = fetchFromGitHub {
owner = "gravitational";
repo = "teleport";
rev = "2cb40abd8ea8fb2915304ea4888b5b9f3e5bc223";
sha256 = "1xw3bfnjbj88x465snwwzn4bmpmzmsrq9r0pkj388qwvfrclgnfk";
};
preBuild = ''
cp -r ${srcTeleport} ./go/src/github.com/gravitational/teleport
'';
CGO_ENABLED = 1;
meta = with lib; {
homepage = "https://www.teleconsole.com/";
description = "Share your terminal session with people you trust";
license = licenses.asl20;
# Builds for Aarch64 not possible in the current release due to
# incompatibilities further up the dependency chain.
# See:
# - https://github.com/gravitational/teleport/issues/679
# - https://github.com/kr/pty/issues/27
broken = stdenv.isAarch64;
maintainers = [ maintainers.kimburgess ];
};
}

View File

@ -1,18 +1,39 @@
{ lib, stdenv, fetchurl, makeWrapper, xorgserver, getopt
, xauth, util-linux, which, fontsConf, gawk, coreutils }:
let
xvfb-run = fetchurl {
name = "xvfb-run";
url = "https://raw.githubusercontent.com/archlinux/svntogit-packages/9cb733cefa92af3fca608fb051d5251160c9bbff/trunk/xvfb-run";
sha256 = "1307mz4nr8ga3qz73i8hbcdphky75rq8lrvfk2zm4kmv6pkbk611";
};
in
stdenv.mkDerivation {
{ lib
, stdenvNoCC
, fetchFromGitHub
, makeWrapper
, xorgserver
, getopt
, xauth
, util-linux
, which
, fontsConf
, gawk
, coreutils
, installShellFiles
, xterm
}:
stdenvNoCC.mkDerivation rec {
name = "xvfb-run";
nativeBuildInputs = [ makeWrapper ];
buildCommand = ''
version = "1+g87f6705";
src = fetchFromGitHub {
owner = "archlinux";
repo = "svntogit-packages";
rev = "87f67054c49b32511893acd22be94c47ecd44b4a";
sha256 = "sha256-KEg92RYgJd7naHFDKbdXEy075bt6NLcmX8VhQROHVPs=";
};
nativeBuildInputs = [ makeWrapper installShellFiles ];
dontUnpack = true;
dontBuild = true;
dontConfigure = true;
installPhase = ''
mkdir -p $out/bin
cp ${xvfb-run} $out/bin/xvfb-run
cp $src/trunk/xvfb-run $out/bin/xvfb-run
installManPage $src/trunk/xvfb-run.1
chmod a+x $out/bin/xvfb-run
patchShebangs $out/bin/xvfb-run
@ -21,8 +42,23 @@ stdenv.mkDerivation {
--prefix PATH : ${lib.makeBinPath [ getopt xorgserver xauth which util-linux gawk coreutils ]}
'';
doInstallCheck = true;
installCheckPhase = ''
(
unset PATH
echo "running xterm with xvfb-run"
$out/bin/xvfb-run ${lib.getBin xterm}/bin/xterm -e true
)
'';
passthru = {
updateScript = ./update.sh;
};
meta = with lib; {
description = "Convenience script to run a virtualized X-Server";
platforms = platforms.linux;
license = licenses.gpl2;
maintainers = [ maintainers.artturin ];
};
}

Some files were not shown because too many files have changed in this diff Show More