1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 19:51:17 +00:00

pantheon.elementary-photos: fix translations

This commit is contained in:
Bobby Rong 2021-08-09 14:51:21 +08:00
parent f7b26fbe9a
commit 2c3dec3e2d
No known key found for this signature in database
GPG key ID: ED07364437C91161

View file

@ -1,5 +1,6 @@
{ lib, stdenv
, fetchFromGitHub
, fetchpatch
, nix-update-script
, pantheon
, meson
@ -28,7 +29,6 @@
, webkitgtk
, libwebp
, appstream
, libunity
, wrapGAppsHook
, elementary-icon-theme
}:
@ -46,6 +46,15 @@ stdenv.mkDerivation rec {
sha256 = "1dql14k43rv3in451amiwv4z71hz3ailx67hd8gw1ka3yw12128p";
};
patches = [
# Upstream code not respecting our localedir
# https://github.com/elementary/photos/pull/629
(fetchpatch {
url = "https://github.com/elementary/photos/commit/e5230a4305381734e93f1e3d1177da21a8a4121b.patch";
sha256 = "1igqq51sj1sx6rl8yrw037jsgnaxfwzfs0m6pqzb9q4jvfdimzfi";
})
];
passthru = {
updateScript = nix-update-script {
attrPath = "pantheon.${pname}";
@ -84,7 +93,6 @@ stdenv.mkDerivation rec {
libraw
librest
libsoup
libunity
libwebp
scour
sqlite