Merge remote-tracking branch 'origin/master' into staging-next

Conflicts:
  pkgs/applications/graphics/emulsion/default.nix
  pkgs/development/tools/misc/texlab/default.nix
  pkgs/development/tools/rust/bindgen/default.nix
  pkgs/development/tools/rust/cargo-udeps/default.nix
  pkgs/misc/emulators/ruffle/default.nix
  pkgs/tools/misc/code-minimap/default.nix
This commit is contained in:
Jonathan Ringer
2021-05-18 08:57:04 -07:00
264 changed files with 3781 additions and 1606 deletions

View File

@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "hcxtools";
version = "6.1.6";
version = "6.2.0";
src = fetchFromGitHub {
owner = "ZerBea";
repo = pname;
rev = version;
sha256 = "sha256-x6sVFjM2GMGqpoAW7CtCLUoEAYLgulaUKXequQ7DmGQ=";
sha256 = "sha256-4/kqy0oIe2FdKWtVj11PAUbdWPcKmZ1aIxLx/Zw1E2w=";
};
nativeBuildInputs = [ pkg-config ];

View File

@@ -0,0 +1,37 @@
{ lib, stdenv, rustPlatform, fetchCrate, installShellFiles
, libgpgerror, gpgme, gettext, openssl, Security
}:
rustPlatform.buildRustPackage rec {
pname = "sheesy-cli";
version = "4.0.11";
src = fetchCrate {
inherit version pname;
sha256 = "1l21ji9zqy8x1g2gvqwdhya505max07ibx1hh88s36k0jbvdb7xc";
};
cargoSha256 = "159a5ph1gxwcgahyr8885lq3c1w76nxzfrfdpyqixqrr7jzx2rd3";
cargoDepsName = pname;
cargoBuildFlags = [ "--bin sy" "--features" "vault,extract,completions,substitute,process" ];
nativeBuildInputs = [ libgpgerror gpgme gettext installShellFiles ];
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ];
postInstall = ''
installShellCompletion --cmd sy \
--bash <($out/bin/sy completions bash) \
--fish <($out/bin/sy completions fish) \
--zsh <($out/bin/sy completions zsh)
'';
meta = with lib; {
description = "The 'share-secrets-safely' CLI to interact with GPG/pass-like vaults";
homepage = "https://share-secrets-safely.github.io/cli/";
changelog = "https://github.com/share-secrets-safely/cli/releases/tag/${version}";
license = with licenses; [ lgpl21Only ];
maintainers = with maintainers; [ devhell ];
};
}