Skip to content

Commit 4a3faa5

Browse files
nikolaizombie1alyssais
authored andcommitted
waytrogen: 0.5.8 -> 0.6.3
Wallpaper restore and kill fixes and external script support.
1 parent 030d5a0 commit 4a3faa5

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

pkgs/by-name/wa/waytrogen/package.nix

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,27 @@
1010

1111
rustPlatform.buildRustPackage rec {
1212
pname = "waytrogen";
13-
version = "0.5.8";
13+
version = "0.6.3";
1414

1515
src = fetchFromGitHub {
1616
owner = "nikolaizombie1";
1717
repo = "waytrogen";
1818
tag = version;
19-
hash = "sha256-tq5cC0Z0kmrYopOGbdoAERBHQXrAw799zWdQP06rTYw=";
19+
hash = "sha256-jkrvtwkzlsQgbw8/N4uzeqQ3fVSur2oa21IOXRRgh9I=";
2020
};
2121

22-
cargoHash = "sha256-05YfQBezDbQ8KfNvl/4Av5vf/rxJU3Ej6RDgSnSfjtM=";
22+
cargoHash = "sha256-UkYQ/oN1+C9WQ+4hbhXxORw5J3Ypwe7DaDg5LhgP2d0=";
2323

2424
nativeBuildInputs = [
2525
pkg-config
2626
wrapGAppsHook4
2727
];
2828

29-
buildInputs = [
30-
glib
31-
];
29+
buildInputs = [ glib ];
30+
31+
env = {
32+
OPENSSL_NO_VENDOR = 1;
33+
};
3234

3335
postBuild = ''
3436
install -Dm644 org.Waytrogen.Waytrogen.gschema.xml -t $out/share/gsettings-schemas/$name/glib-2.0/schemas
@@ -38,6 +40,10 @@ rustPlatform.buildRustPackage rec {
3840
postInstall = ''
3941
install -Dm644 waytrogen.desktop $out/share/applications/waytrogen.desktop
4042
install -Dm644 README-Assets/WaytrogenLogo.svg $out/share/icons/hicolor/scalable/apps/waytrogen.svg
43+
while IFS= read -r lang; do
44+
mkdir -p $out/share/locale/$lang/LC_MESSAGES
45+
msgfmt locales/$lang/LC_MESSAGES/waytrogen.po -o $out/share/locale/$lang/LC_MESSAGES/waytrogen.mo
46+
done < locales/LINGUAS
4147
'';
4248

4349
passthru.updateScript = nix-update-script { };
@@ -52,7 +58,10 @@ rustPlatform.buildRustPackage rec {
5258
homepage = "https://github.com/nikolaizombie1/waytrogen";
5359
changelog = "https://github.com/nikolaizombie1/waytrogen/releases/tag/${version}";
5460
license = lib.licenses.unlicense;
55-
maintainers = with lib.maintainers; [ genga898 ];
61+
maintainers = with lib.maintainers; [
62+
genga898
63+
nikolaizombie1
64+
];
5665
mainProgram = "waytrogen";
5766
platforms = lib.platforms.linux;
5867
};

0 commit comments

Comments
 (0)