Merge staging-next into staging

This commit is contained in:
Frederik Rietdijk
2020-08-11 10:26:59 +02:00
534 changed files with 8753 additions and 1554 deletions
@@ -0,0 +1,68 @@
{ stdenv
, fetchurl
, appimageTools
, makeWrapper
, electron
, openssl
}:
stdenv.mkDerivation rec {
pname = "1password";
version = "0.8.0";
src = fetchurl {
url = "https://onepassword.s3.amazonaws.com/linux/appimage/${pname}-${version}.AppImage";
sha256 = "1r26vyx724h3k6p340bg3lmcxwyvgxj2kqvwczq784583hpq3lq9";
};
nativeBuildInputs = [ makeWrapper ];
appimageContents = appimageTools.extractType2 {
name = "${pname}-${version}";
inherit src;
};
dontUnpack = true;
dontConfigure = true;
dontBuild = true;
installPhase = let
runtimeLibs = [
openssl.out
stdenv.cc.cc
];
in ''
mkdir -p $out/bin $out/share/1password
# Applications files.
cp -a ${appimageContents}/{locales,resources} $out/share/${pname}
# Desktop file.
install -Dt $out/share/applications ${appimageContents}/${pname}.desktop
substituteInPlace $out/share/applications/${pname}.desktop \
--replace 'Exec=AppRun' 'Exec=${pname}'
# Icons.
cp -a ${appimageContents}/usr/share/icons $out/share
# Wrap the application with Electron.
makeWrapper "${electron}/bin/electron" "$out/bin/${pname}" \
--add-flags "$out/share/${pname}/resources/app.asar" \
--prefix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath runtimeLibs}"
'';
meta = with stdenv.lib; {
description = "Multi-platform password manager";
longDescription = ''
1Password is a multi-platform package manager.
The Linux version is currently a development preview and can
only be used to search, view, and copy items. However items
cannot be created or edited.
'';
homepage = "https://1password.com/";
license = licenses.unfree;
maintainers = with maintainers; [ danieldk ];
platforms = [ "x86_64-linux" ];
};
}
+2
View File
@@ -6,6 +6,8 @@ buildGoModule rec {
goPackagePath = "github.com/FiloSottile/age";
vendorSha256 = "0km7a2826j3fk2nrkmgc990chrkcfz006wfw14yilsa4p2hmfl7m";
doCheck = false;
subPackages = [
"cmd/age"
"cmd/age-keygen"
@@ -21,6 +21,8 @@ buildGoModule rec {
vendorSha256 = "0yfs1f18d8frbkrshsajzzbj4wh2azd89g2h35wm6wqknvlipwr0";
doCheck = false;
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libpcap libnfnetlink libnetfilter_queue libusb1 ];
@@ -14,6 +14,8 @@ buildGoModule rec {
vendorSha256 = "1wcbn0ip596f2dp68y6jmxgv20l0dgrcxg5cwclkawigj05416zj";
doCheck = false;
postPatch = ''
# Because this Makefile will be installed to be used by the user, patch
# variables to be valid by default
+2
View File
@@ -24,6 +24,8 @@ buildGoModule rec {
vendorSha256 = null;
doCheck = false;
nativeBuildInputs = [ go-rice ];
preBuild = ''
+28
View File
@@ -0,0 +1,28 @@
{ buildGoModule, fetchFromGitHub, lib }:
buildGoModule rec {
pname = "doppler";
version = "3.9.1";
src = fetchFromGitHub {
owner = "dopplerhq";
repo = "cli";
rev = version;
sha256 = "1hfl70k4xz3kxylffybixgklv04sl47knbyd96h8rnmnhscniwzl";
};
vendorSha256 = "0wqbwk72k4r30a3vnf0gnx3k97y8xgnr2iavk5bc8f8vkjv0bsv6";
buildFlagsArray = "-ldflags=-X github.com/DopplerHQ/cli/pkg/version.ProgramVersion=v${version}";
postInstall = ''
mv $out/bin/cli $out/bin/doppler
'';
meta = with lib; {
homepage = "https://doppler.com";
description = "The official CLI for interacting with your Doppler Enclave secrets and configuation";
license = licenses.asl20;
maintainers = with maintainers; [ lucperkins ];
};
}
+2
View File
@@ -16,6 +16,8 @@ buildGoModule rec {
vendorSha256 = "0kr9i2nm5csf3070hwaiss137pfa3088xbw2zigp7aqb2naky036";
doCheck = false;
meta = with lib; {
description = "Tool used to brute-force URIs, DNS subdomains, Virtual Host names on target web servers";
homepage = "https://github.com/OJ/gobuster";
+2
View File
@@ -22,6 +22,8 @@ buildGoModule rec {
vendorSha256 = "1wn20bh7ma4pblsf6qnlbz5bx4p9apig3d1yz7cpsqv4z3w07baw";
doCheck = false;
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version} -X main.commit=${src.rev}" ];
wrapperPath = stdenv.lib.makeBinPath ([
+2 -2
View File
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "hcxdumptool";
version = "6.1.0";
version = "6.1.1";
src = fetchFromGitHub {
owner = "ZerBea";
repo = "hcxdumptool";
rev = version;
sha256 = "10dhv8lgsciw6w9r328k50pv1ldldf9wikplgh0dq98djlf0l961";
sha256 = "0v6dq6x2mrmavazknmhb08ks53773sll367anfrrramild8350bh";
};
buildInputs = [ openssl ];
+2
View File
@@ -14,6 +14,8 @@ buildGoModule rec {
runVend = true;
vendorSha256 = "1kzihyx44sx6php4z58fzy6c3g0y713939yzxpgk3n03snn2x8sf";
doCheck = false;
subPackages = [ "." "cmd/saml2aws" ];
buildFlagsArray = ''
+2
View File
@@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = "0475y95qma5m346ng898n80xv2rxzndx89c9ygjcvjs513yzcba2";
doCheck = false;
meta = with stdenv.lib; {
homepage = "https://github.com/mozilla/sops";
description = "Mozilla sops (Secrets OPerationS) is an editor of encrypted files";
+2
View File
@@ -16,6 +16,8 @@ buildGoModule rec {
vendorSha256 = "0cmj6h103igg5pcs9c9wrcmrsf0mwp9vbgzf5amsnj1206ryb1p2";
doCheck = false;
nativeBuildInputs = [ pigeon ];
subPackages = [ "cmd/verifpal" ];
@@ -27,6 +27,8 @@ buildGoModule rec {
vendorSha256 = "128mlsagj3im6h0p0ndhzk29ya47g19im9dldx3nmddf2jlccj2h";
doCheck = false;
subPackages = [ "." ];
# On macOS, there isn't a choice of pinentry program, so let's