24 stdenv.mkDerivation (finalAttrs: {
28 src = fetchFromGitHub {
29 owner = "bilelmoussaoui";
31 rev = "${finalAttrs.version}-demo";
32 hash = "sha256-fIyJEUcyTcjTbBycjuJb99wALQelMT7Zq6PHKcL2F80=";
35 cargoDeps = rustPlatform.fetchCargoTarball {
36 src = "${finalAttrs.src}/ashpd-demo";
37 hash = "sha256-ldflCBErM9w3eO2DwWfYTrdO7lowZtqfj7Fft6Crl1w=";
45 rustPlatform.cargoSetupHook
48 rustPlatform.bindgenHook
50 glib # for glib-compile-schemas
57 gst_all_1.gst-plugins-base
69 description = "Tool for playing with XDG desktop portals";
70 mainProgram = "ashpd-demo";
71 homepage = "https://github.com/bilelmoussaoui/ashpd/tree/master/ashpd-demo";
72 license = licenses.mit;
73 maintainers = with maintainers; [ jtojnar ];
74 platforms = platforms.linux;