Merge pull request #96301 from danieldk/1password-gui-0.8.3-1

_1password-gui: 0.8.2-1 -> 0.8.3-1
This commit is contained in:
Daniël de Kok 2020-08-27 14:21:05 +02:00 committed by GitHub
commit 5f8d0e4d75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 2 deletions

View File

@ -8,11 +8,11 @@
stdenv.mkDerivation rec {
pname = "1password";
version = "0.8.2-1";
version = "0.8.3-1";
src = fetchurl {
url = "https://onepassword.s3.amazonaws.com/linux/appimage/${pname}-${version}.AppImage";
sha256 = "0gxq8xrr20jgp7k0sq5a9k63mz94zb00yvc9jw1zhl2q70ji24sa";
sha256 = "06kzvdqsd7viaj7qz0ywi4k85662084cx73psk1b2hphklvdl24c";
};
nativeBuildInputs = [ makeWrapper ];
@ -51,6 +51,8 @@ stdenv.mkDerivation rec {
--prefix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath runtimeLibs}"
'';
passthru.updateScript = ./update.sh;
meta = with stdenv.lib; {
description = "Multi-platform password manager";
longDescription = ''

View File

@ -0,0 +1,5 @@
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p curl gnused common-updater-scripts
version="$(curl -sL https://onepassword.s3.amazonaws.com/linux/debian/dists/edge/main/binary-amd64/Packages | sed -r -n 's/^Version: (.*)-[0-9]+/\1/p' | head -n1)"
update-source-version _1password-gui "$version"