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`

authored by Abdallah and committed by GitHub c11e3a5e e176c1d8

+53
+6
maintainers/maintainer-list.nix
··· 3267 3267 githubId = 17880; 3268 3268 name = "Bodil Stokke"; 3269 3269 }; 3270 + body20002 = { 3271 + email = "body20002.test@gmail.com"; 3272 + github = "body20002"; 3273 + githubId = 33910565; 3274 + name = "Abdallah Gamal"; 3275 + }; 3270 3276 boj = { 3271 3277 email = "brian@uncannyworks.com"; 3272 3278 github = "boj";
+47
pkgs/by-name/xd/xdg-desktop-portal-termfilechooser/package.nix
··· 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 + }