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`
This commit is contained in:
Abdallah
2025-02-21 12:21:43 +01:00
committed by GitHub
parent e176c1d893
commit c11e3a5e02
2 changed files with 53 additions and 0 deletions
+6
View File
@@ -3267,6 +3267,12 @@
githubId = 17880;
name = "Bodil Stokke";
};
body20002 = {
email = "body20002.test@gmail.com";
github = "body20002";
githubId = 33910565;
name = "Abdallah Gamal";
};
boj = {
email = "brian@uncannyworks.com";
github = "boj";
@@ -0,0 +1,47 @@
{
stdenv,
fetchFromGitHub,
lib,
xdg-desktop-portal,
ninja,
meson,
pkg-config,
inih,
systemd,
scdoc,
}:
stdenv.mkDerivation {
pname = "xdg-desktop-portal-termfilechooser";
version = "0.4.0";
src = fetchFromGitHub {
owner = "hunkyburrito";
repo = "xdg-desktop-portal-termfilechooser";
rev = "c35af27e323a492cbb3b19bdd135657ae523caef";
hash = "sha256-9bxhKkk5YFBhR2ylcDzlvt4ltYuF174w00EJK5r3aY0=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
scdoc
];
buildInputs = [
xdg-desktop-portal
inih
systemd
];
mesonFlags = [ "-Dsd-bus-provider=libsystemd" ];
meta = with lib; {
description = "xdg-desktop-portal backend for choosing files with your favorite file chooser";
homepage = "https://github.com/hunkyburrito/xdg-desktop-portal-termfilechooser";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with lib.maintainers; [ body20002 ];
mainProgram = "xdg-desktop-portal-termfilechooser";
};
}