diff options
author | Federico Damián Schonborn <fdschonborn@gmail.com> | 2023-03-30 20:47:23 -0300 |
---|---|---|
committer | Federico Damián Schonborn <fdschonborn@gmail.com> | 2023-04-01 18:06:51 -0300 |
commit | 946e725671c7fdaee8913727a8aeef6c065671d9 (patch) | |
tree | f6a39f1b0b654cb89ab371839e21fddbf895cd62 | |
parent | 1c9ad3ec47cd529d0681f602d4337cd91d57fd75 (diff) |
budgie.budgie-backgrounds: init at 0.1
Signed-off-by: Federico Damián Schonborn <fdschonborn@gmail.com>
-rw-r--r-- | pkgs/desktops/budgie/budgie-backgrounds/default.nix | 40 | ||||
-rw-r--r-- | pkgs/desktops/budgie/default.nix | 1 |
2 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/desktops/budgie/budgie-backgrounds/default.nix b/pkgs/desktops/budgie/budgie-backgrounds/default.nix new file mode 100644 index 0000000000000..67456ca4ff200 --- /dev/null +++ b/pkgs/desktops/budgie/budgie-backgrounds/default.nix @@ -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; + }; +} diff --git a/pkgs/desktops/budgie/default.nix b/pkgs/desktops/budgie/default.nix index 51da56e99b0ed..9d6ede5595b52 100644 --- a/pkgs/desktops/budgie/default.nix +++ b/pkgs/desktops/budgie/default.nix @@ -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 { }; |