Merge pull request #179653 from bobby285271/pantheon

pantheon.switchboard-plug-printers: 2.1.10 -> 2.2.0
This commit is contained in:
Bobby Rong 2022-07-01 12:44:23 +08:00 committed by GitHub
commit 37c5406988
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,6 @@
, stdenv
, fetchFromGitHub
, nix-update-script
, fetchpatch
, meson
, ninja
, pkg-config
@ -16,24 +15,15 @@
stdenv.mkDerivation rec {
pname = "switchboard-plug-printers";
version = "2.1.10";
version = "2.2.0";
src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = version;
sha256 = "0frvybbx7mcs87kww0if4zn0c6c2gb400cpiqrl8b0294py58xpb";
sha256 = "sha256-NY52surcvhUtyP+T4RMZ0cd+H7fSwo1V0qEGY//oXGs=";
};
patches = [
# Upstream code not respecting our localedir
# https://github.com/elementary/switchboard-plug-printers/pull/153
(fetchpatch {
url = "https://github.com/elementary/switchboard-plug-printers/commit/3e2b01378cbb8e666d23daeef7f40fcaa90daa45.patch";
sha256 = "0b8pq525xnir06pn65rcz68bcp5xdxl0gpbj7p5x1hs23p5dp04n";
})
];
nativeBuildInputs = [
meson
ninja