29 clangStdenv.mkDerivation rec {
30 pname = "gnome-decoder";
33 src = fetchFromGitLab {
34 domain = "gitlab.gnome.org";
38 hash = "sha256-qSPuEVW+FwC9OJa+dseIy4/2bhVdTryJSJNSpes9tpY=";
41 cargoDeps = rustPlatform.fetchCargoTarball {
43 name = "${pname}-${version}";
44 hash = "sha256-MbfukvqlzZPnWNtWCwYn7lABqBxtZWvPDba9Deah+w8=";
50 --prefix GST_PRESET_PATH : "${gst-plugins-good}/share/gstreamer-1.0/presets"
51 # See https://gitlab.gnome.org/sophie-h/glycin/-/blob/0.1.beta.2/glycin/src/config.rs#L44
52 --prefix XDG_DATA_DIRS : "${glycin-loaders}/share"
65 rustPlatform.bindgenHook
66 rustPlatform.cargoSetupHook
81 gst-plugins-rs # for gtk4paintablesink
85 updateScript = nix-update-script { };
89 description = "Scan and Generate QR Codes";
90 homepage = "https://gitlab.gnome.org/World/decoder";
91 license = licenses.gpl3Plus;
92 platforms = platforms.linux;
93 mainProgram = "decoder";
94 maintainers = with maintainers; [ zendo ] ++ lib.teams.gnome-circle.members;