Skip to content

Commit c11e3a5

Browse files
authored
xdg-desktop-portal-termfilechooser: init at 0.4.0 (#372528)
* xdg-desktop-portal-termfilechooser: init at 0.4.0 * xdg-desktop-portal-termfilechooser: format * xdg-desktop-portal-termfilechooser: changed source package * refactor: use `fetchFromGitHub` instead of `fetchgit`
1 parent e176c1d commit c11e3a5

File tree

2 files changed

+53
-0
lines changed

2 files changed

+53
-0
lines changed

maintainers/maintainer-list.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3267,6 +3267,12 @@
32673267
githubId = 17880;
32683268
name = "Bodil Stokke";
32693269
};
3270+
body20002 = {
3271+
email = "[email protected]";
3272+
github = "body20002";
3273+
githubId = 33910565;
3274+
name = "Abdallah Gamal";
3275+
};
32703276
boj = {
32713277
email = "[email protected]";
32723278
github = "boj";
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
stdenv,
3+
fetchFromGitHub,
4+
lib,
5+
xdg-desktop-portal,
6+
ninja,
7+
meson,
8+
pkg-config,
9+
inih,
10+
systemd,
11+
scdoc,
12+
}:
13+
stdenv.mkDerivation {
14+
pname = "xdg-desktop-portal-termfilechooser";
15+
version = "0.4.0";
16+
17+
src = fetchFromGitHub {
18+
owner = "hunkyburrito";
19+
repo = "xdg-desktop-portal-termfilechooser";
20+
rev = "c35af27e323a492cbb3b19bdd135657ae523caef";
21+
hash = "sha256-9bxhKkk5YFBhR2ylcDzlvt4ltYuF174w00EJK5r3aY0=";
22+
};
23+
24+
nativeBuildInputs = [
25+
meson
26+
ninja
27+
pkg-config
28+
scdoc
29+
];
30+
31+
buildInputs = [
32+
xdg-desktop-portal
33+
inih
34+
systemd
35+
];
36+
37+
mesonFlags = [ "-Dsd-bus-provider=libsystemd" ];
38+
39+
meta = with lib; {
40+
description = "xdg-desktop-portal backend for choosing files with your favorite file chooser";
41+
homepage = "https://github.com/hunkyburrito/xdg-desktop-portal-termfilechooser";
42+
license = licenses.mit;
43+
platforms = platforms.linux;
44+
maintainers = with lib.maintainers; [ body20002 ];
45+
mainProgram = "xdg-desktop-portal-termfilechooser";
46+
};
47+
}

0 commit comments

Comments
 (0)