goldwarden: 0.3.4 -> 0.3.6 (#355002)

This commit is contained in:
Peder Bergebakken Sundt 2024-11-24 06:07:29 +01:00 committed by GitHub
commit bf9b483520
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,13 +13,13 @@
buildGoModule rec { buildGoModule rec {
pname = "goldwarden"; pname = "goldwarden";
version = "0.3.4"; version = "0.3.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "quexten"; owner = "quexten";
repo = "goldwarden"; repo = "goldwarden";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-LAnhCQmyubWeZtTVaW8IoNmfipvMIlAnY4pKwrURPDs="; hash = "sha256-wAQFx0DKLLKztETAz1eM+eBFiAkSCgd8qqRtLV1Kz9g=";
}; };
postPatch = '' postPatch = ''
@ -38,7 +38,7 @@ buildGoModule rec {
--replace-fail "@PATH@" "$out/bin/goldwarden" --replace-fail "@PATH@" "$out/bin/goldwarden"
''; '';
vendorHash = "sha256-rMs7FP515aClzt9sjgIQHiYo5SYa2tDHrVRhtT+I8aM="; vendorHash = "sha256-zWACjW/WZC0ZLmRV1VwcRROG218PCZ6aCPOreCG/5sE=";
ldflags = [ "-s" "-w" ]; ldflags = [ "-s" "-w" ];
@ -69,10 +69,10 @@ buildGoModule rec {
mkdir -p $out/share/goldwarden mkdir -p $out/share/goldwarden
cp -r gui/* $out/share/goldwarden/ cp -r gui/* $out/share/goldwarden/
ln -s $out/share/goldwarden/goldwarden_ui_main.py $out/bin/goldwarden-gui ln -s $out/share/goldwarden/goldwarden_ui_main.py $out/bin/goldwarden-gui
rm $out/share/goldwarden/{com.quexten.Goldwarden.desktop,com.quexten.Goldwarden.metainfo.xml,goldwarden.svg,python3-requirements.json,requirements.txt} rm $out/share/goldwarden/{com.quexten.Goldwarden.desktop,com.quexten.Goldwarden.metainfo.xml,com.quexten.Goldwarden.svg,python3-requirements.json,requirements.txt}
install -D gui/com.quexten.Goldwarden.desktop -t $out/share/applications install -D gui/com.quexten.Goldwarden.desktop -t $out/share/applications
install -D gui/goldwarden.svg -t $out/share/icons/hicolor/scalable/apps install -D gui/com.quexten.Goldwarden.svg -t $out/share/icons/hicolor/scalable/apps
install -Dm644 gui/com.quexten.Goldwarden.metainfo.xml -t $out/share/metainfo install -Dm644 gui/com.quexten.Goldwarden.metainfo.xml -t $out/share/metainfo
install -Dm644 cli/resources/com.quexten.goldwarden.policy -t $out/share/polkit-1/actions install -Dm644 cli/resources/com.quexten.goldwarden.policy -t $out/share/polkit-1/actions