22 stdenv.mkDerivation rec {
28 share = fetchFromGitHub {
29 owner = "bilelmoussaoui";
32 sha256 = "9O6XqM4oys/hXgztQQ8tTobJV8U52db/VY6FlTMUvGY=";
35 "${share}/ashpd-demo";
37 cargoDeps = rustPlatform.fetchCargoTarball {
39 name = "${pname}-${version}";
40 hash = "sha256-eFq42m16zzrUBbAqv7BsAf4VxyO93WynLjvIzKbZwnQ=";
47 rustPlatform.rust.cargo
48 rustPlatform.cargoSetupHook
49 rustPlatform.rust.rustc
51 rustPlatform.bindgenHook
53 glib # for glib-compile-schemas
60 gst_all_1.gst-plugins-base
68 updateScript = nix-update-script {
74 description = "Tool for playing with XDG desktop portals";
75 homepage = "https://github.com/bilelmoussaoui/ashpd/tree/master/ashpd-demo";
76 license = licenses.mit;
77 maintainers = with maintainers; [ jtojnar ];
78 platforms = platforms.linux;