forked from mirrors/nixpkgs
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:
commit
5f8d0e4d75
|
@ -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 = ''
|
||||
|
|
5
pkgs/tools/security/1password-gui/update.sh
Executable file
5
pkgs/tools/security/1password-gui/update.sh
Executable 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"
|
Loading…
Reference in a new issue