Merge pull request #176179 from bobby285271/elementary-camera

pantheon.elementary-camera: 6.0.3 -> 6.1.0
This commit is contained in:
Bobby Rong 2022-06-04 21:04:00 +08:00 committed by GitHub
commit 1ff4666b66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,12 +1,7 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, nix-update-script
, appstream
, desktop-file-utils
, gettext
, libxml2
, meson
, ninja
, pkg-config
@ -24,29 +19,16 @@
stdenv.mkDerivation rec {
pname = "elementary-camera";
version = "6.0.3";
version = "6.1.0";
src = fetchFromGitHub {
owner = "elementary";
repo = "camera";
rev = version;
sha256 = "sha256-xIv+mOlZV58XD0Z6Vc2wA1EQUxT5BaQ0zhYc9v+ne1w=";
sha256 = "sha256-uccH9rCZaifIlLDx+zat3Zx8ecgKo2M6x+mg7AnuFBs=";
};
patches = [
# Fix build with meson 0.61
# https://github.com/elementary/camera/pull/216
(fetchpatch {
url = "https://github.com/elementary/camera/commit/ead143b7e3246c5fa9bb37c95d491fb07cea9e04.patch";
sha256 = "sha256-2zGigUi6DpjJx8SEvAE3Q3jrm7MggOvLc72lAPMPvs4=";
})
];
nativeBuildInputs = [
appstream
desktop-file-utils
gettext
libxml2
meson
ninja
pkg-config