mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 21:40:12 +00:00
68 lines
1.3 KiB
Nix
68 lines
1.3 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
nix-update-script,
|
|
pkg-config,
|
|
meson,
|
|
ninja,
|
|
vala,
|
|
gtk4,
|
|
glib,
|
|
granite7,
|
|
libadwaita,
|
|
libgee,
|
|
wrapGAppsHook4,
|
|
appstream,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "elementary-feedback";
|
|
version = "8.1.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "elementary";
|
|
repo = "feedback";
|
|
tag = version;
|
|
hash = "sha256-vg692o0OkEQqtKSLZDLztL/D0YO5WUOBVKe4RDxSEFM=";
|
|
};
|
|
|
|
patches = [
|
|
# The standard location to the metadata pool where metadata
|
|
# will be read from is likely hardcoded as /usr/share/metainfo
|
|
# https://github.com/ximion/appstream/blob/v0.15.2/src/as-pool.c#L117
|
|
# https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#spec-component-location
|
|
./fix-metadata-path.patch
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
vala
|
|
wrapGAppsHook4
|
|
];
|
|
|
|
buildInputs = [
|
|
appstream
|
|
granite7
|
|
gtk4
|
|
libadwaita
|
|
libgee
|
|
glib
|
|
];
|
|
|
|
passthru = {
|
|
updateScript = nix-update-script { };
|
|
};
|
|
|
|
meta = {
|
|
description = "GitHub Issue Reporter designed for elementary OS";
|
|
homepage = "https://github.com/elementary/feedback";
|
|
license = lib.licenses.gpl3Plus;
|
|
platforms = lib.platforms.linux;
|
|
teams = [ lib.teams.pantheon ];
|
|
mainProgram = "io.elementary.feedback";
|
|
};
|
|
}
|