mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
41 lines
813 B
Nix
41 lines
813 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, imagemagick
|
|
, jhead
|
|
, meson
|
|
, ninja
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "budgie-backgrounds";
|
|
version = "1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "BuddiesOfBudgie";
|
|
repo = "budgie-backgrounds";
|
|
rev = "v${version}";
|
|
hash = "sha256-TdtgOYHO2QH4W2jWBuAzYQwxwAPya2lC3VrIi7kvi+M=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|