pantheon.switchboard-plug-sharing: 2.1.4 -> 2.1.5

This commit is contained in:
Bobby Rong 2021-07-17 18:39:37 +08:00
parent 851584bf17
commit e1d417e254
No known key found for this signature in database
GPG Key ID: ED07364437C91161

View File

@ -15,15 +15,24 @@
stdenv.mkDerivation rec {
pname = "switchboard-plug-sharing";
version = "2.1.4";
version = "2.1.5";
src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = version;
sha256 = "sha256-/M60w14zfAUXspabvTUWlOPRrHvKtCYUio82b034k6s=";
sha256 = "00lqrxq1wz3y2s9jiz8rh9d571va2vza2gdwj6c86z3q4c4hmn17";
};
patches = [
# Upstream code not respecting our localedir
# https://github.com/elementary/switchboard-plug-sharing/pull/55
(fetchpatch {
url = "https://github.com/elementary/switchboard-plug-sharing/commit/5219839738b79e3c5f039a811d96a40eb2644eab.patch";
sha256 = "020w746q7gzmic0pdnbxs792sx15wlsqaf2x770r5xwbyfmqr7bs";
})
];
passthru = {
updateScript = nix-update-script {
attrPath = "pantheon.${pname}";
@ -47,7 +56,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "Switchboard Sharing Plug";
homepage = "https://github.com/elementary/switchboard-plug-sharing";
license = licenses.gpl2Plus;
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = pantheon.maintainers;
};