depot/third_party/nixpkgs/pkgs/desktops/budgie/budgie-desktop-view/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

51 lines
994 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, desktop-file-utils
, glib
, gtk3
, intltool
, meson
, ninja
, pkg-config
, vala
, wrapGAppsHook3
}:
stdenv.mkDerivation (finalAttrs: {
pname = "budgie-desktop-view";
version = "1.3";
src = fetchFromGitHub {
owner = "BuddiesOfBudgie";
repo = "budgie-desktop-view";
rev = "v${finalAttrs.version}";
sha256 = "sha256-k6VfAGWvUarhBFnREasOvWH3M9uuT5SFUpMFmKo1fmE=";
};
nativeBuildInputs = [
desktop-file-utils
intltool
meson
ninja
pkg-config
vala
wrapGAppsHook3
];
buildInputs = [
glib
gtk3
];
mesonFlags = [ (lib.mesonBool "werror" false) ];
meta = {
description = "Official Budgie desktop icons application/implementation";
homepage = "https://github.com/BuddiesOfBudgie/budgie-desktop-view";
mainProgram = "org.buddiesofbudgie.budgie-desktop-view";
license = lib.licenses.asl20;
platforms = lib.platforms.linux;
maintainers = lib.teams.budgie.members;
};
})