Merge pull request #226520 from SebTM/update/xdg-desktop-portal-wlr_070

xdg-desktop-portal-wlr: 0.6.0 -> 0.7.0
This commit is contained in:
Nick Cao 2023-04-20 23:50:23 +08:00 committed by GitHub
commit 15064e8130
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, makeWrapper
, meson
, ninja
@ -21,22 +20,15 @@
stdenv.mkDerivation rec {
pname = "xdg-desktop-portal-wlr";
version = "0.6.0";
version = "0.7.0";
src = fetchFromGitHub {
owner = "emersion";
repo = pname;
rev = "v${version}";
sha256 = "sha256-UztkfvMIbslPd/d262NZFb6WfESc9nBsSSH96BA4Aqw=";
sha256 = "sha256-EwBHkXFEPAEgVUGC/0e2Bae/rV5lec1ttfbJ5ce9cKw=";
};
# scdoc: mark as build-time dependency
# https://github.com/emersion/xdg-desktop-portal-wlr/pull/248
patches = [(fetchpatch {
url = "https://github.com/emersion/xdg-desktop-portal-wlr/commit/92ccd62428082ba855e359e83730c4370cd1aac7.patch";
hash = "sha256-mU1whfp7BoSylaS3y+YwfABImZFOeuItSXCon0C7u20=";
})];
strictDeps = true;
depsBuildBuild = [ pkg-config ];
nativeBuildInputs = [ meson ninja pkg-config scdoc wayland-scanner makeWrapper ];