budgie.budgie-backgrounds: init at 0.1
Signed-off-by: Federico Damián Schonborn <fdschonborn@gmail.com>
This commit is contained in:
parent
1c9ad3ec47
commit
946e725671
40
pkgs/desktops/budgie/budgie-backgrounds/default.nix
Normal file
40
pkgs/desktops/budgie/budgie-backgrounds/default.nix
Normal file
|
@ -0,0 +1,40 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, imagemagick
|
||||
, jhead
|
||||
, meson
|
||||
, ninja
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "budgie-backgrounds";
|
||||
version = "0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "BuddiesOfBudgie";
|
||||
repo = "budgie-backgrounds";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-pDFd+WvWOPgDoSffmX9mzjDQbhePsJV1wGqmPDcnOlw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
imagemagick
|
||||
jhead
|
||||
meson
|
||||
ninja
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
chmod +x ./scripts/optimizeImage.sh
|
||||
patchShebangs ./scripts/optimizeImage.sh
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "The default background set for the Budgie Desktop";
|
||||
homepage = "https://github.com/BuddiesOfBudgie/budgie-backgrounds";
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.federicoschonborn ];
|
||||
license = licenses.cc0;
|
||||
};
|
||||
}
|
|
@ -1,6 +1,7 @@
|
|||
{ lib, pkgs }:
|
||||
|
||||
lib.makeScope pkgs.newScope (self: with self; {
|
||||
budgie-backgrounds = callPackage ./budgie-backgrounds { };
|
||||
budgie-control-center = callPackage ./budgie-control-center { };
|
||||
budgie-desktop = callPackage ./budgie-desktop { };
|
||||
budgie-desktop-view = callPackage ./budgie-desktop-view { };
|
||||
|
|
Loading…
Reference in a new issue