Skip to content

Commit e8b6e8a

Browse files
xdg-desktop-portal-termfilechooser: 0.4.0 -> 1.0.5; add updateScript (#397257)
2 parents ce5a7cd + d5b843c commit e8b6e8a

File tree

1 file changed

+12
-6
lines changed
  • pkgs/by-name/xd/xdg-desktop-portal-termfilechooser

1 file changed

+12
-6
lines changed

pkgs/by-name/xd/xdg-desktop-portal-termfilechooser/package.nix

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,17 @@
99
inih,
1010
systemd,
1111
scdoc,
12+
nix-update-script,
1213
}:
13-
stdenv.mkDerivation {
14+
stdenv.mkDerivation (finalAttrs: {
1415
pname = "xdg-desktop-portal-termfilechooser";
15-
version = "0.4.0";
16+
version = "1.0.5";
1617

1718
src = fetchFromGitHub {
1819
owner = "hunkyburrito";
1920
repo = "xdg-desktop-portal-termfilechooser";
20-
rev = "c35af27e323a492cbb3b19bdd135657ae523caef";
21-
hash = "sha256-9bxhKkk5YFBhR2ylcDzlvt4ltYuF174w00EJK5r3aY0=";
21+
tag = "v${finalAttrs.version}";
22+
hash = "sha256-uwUND1K0UCztDS68APZf578zhvVm0BhL3f7dLrdKTHE=";
2223
};
2324

2425
nativeBuildInputs = [
@@ -36,12 +37,17 @@ stdenv.mkDerivation {
3637

3738
mesonFlags = [ "-Dsd-bus-provider=libsystemd" ];
3839

40+
passthru.updateScript = nix-update-script { };
41+
3942
meta = with lib; {
4043
description = "xdg-desktop-portal backend for choosing files with your favorite file chooser";
4144
homepage = "https://github.com/hunkyburrito/xdg-desktop-portal-termfilechooser";
4245
license = licenses.mit;
4346
platforms = platforms.linux;
44-
maintainers = with lib.maintainers; [ body20002 ];
47+
maintainers = with lib.maintainers; [
48+
body20002
49+
ltrump
50+
];
4551
mainProgram = "xdg-desktop-portal-termfilechooser";
4652
};
47-
}
53+
})

0 commit comments

Comments
 (0)