3
0
Fork 0
forked from mirrors/nixpkgs

budgie.budgie-desktop-view: init at 1.2.1

Signed-off-by: Federico Damián Schonborn <fdschonborn@gmail.com>
This commit is contained in:
Federico Damián Schonborn 2023-02-16 17:27:35 -03:00
parent 7dc1d42ee1
commit db9b8f62b8
No known key found for this signature in database
GPG key ID: 193F70F15C9AB0A0
2 changed files with 54 additions and 0 deletions

View file

@ -0,0 +1,53 @@
{ lib
, stdenv
, fetchFromGitHub
, desktop-file-utils
, glib
, gtk3
, intltool
, meson
, ninja
, pkg-config
, vala
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "budgie-desktop-view";
version = "1.2.1";
src = fetchFromGitHub {
owner = "BuddiesOfBudgie";
repo = pname;
rev = "v${version}";
sha256 = "sha256-USsySJuDov2oe9UXyzACBAyYIRLKSXOMXdia8Ix/8TE=";
};
nativeBuildInputs = [
desktop-file-utils
intltool
meson
ninja
pkg-config
vala
wrapGAppsHook
];
buildInputs = [
glib
gtk3
];
preInstall = ''
substituteInPlace ../scripts/mesonPostInstall.sh --replace "update-desktop-database -q" "update-desktop-database $out/share/applications"
'';
meta = with lib; {
description = "The official Budgie desktop icons application/implementation";
homepage = "https://github.com/BuddiesOfBudgie/budgie-desktop-view";
mainProgram = "org.buddiesofbudgie.budgie-desktop-view";
platforms = platforms.linux;
maintainers = [ maintainers.federicoschonborn ];
license = licenses.asl20;
};
}

View file

@ -2,5 +2,6 @@
lib.makeScope pkgs.newScope (self: with self; {
budgie-desktop = callPackage ./budgie-desktop { };
budgie-desktop-view = callPackage ./budgie-desktop-view { };
budgie-screensaver = callPackage ./budgie-screensaver { };
})