39 lines
863 B
Nix
39 lines
863 B
Nix
|
{ stdenv, fetchFromGitHub, pantheon }:
|
||
|
|
||
|
stdenv.mkDerivation rec {
|
||
|
pname = "wallpapers";
|
||
|
version = "5.3";
|
||
|
|
||
|
name = "elementary-${pname}-${version}";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "elementary";
|
||
|
repo = pname;
|
||
|
rev = version;
|
||
|
sha256 = "1i0zf9gzhwm8hgq5cp1xnxipqjvgzd9wfiicz612hgp6ivc0z0ag";
|
||
|
};
|
||
|
|
||
|
passthru = {
|
||
|
updateScript = pantheon.updateScript {
|
||
|
repoName = pname;
|
||
|
attrPath = "elementary-${pname}";
|
||
|
};
|
||
|
};
|
||
|
|
||
|
dontBuild = true;
|
||
|
|
||
|
installPhase = ''
|
||
|
mkdir -p $out/share/backgrounds/elementary
|
||
|
cp -av *.jpg $out/share/backgrounds/elementary
|
||
|
'';
|
||
|
|
||
|
meta = with stdenv.lib; {
|
||
|
description = "Collection of wallpapers for elementary";
|
||
|
homepage = https://github.com/elementary/wallpapers;
|
||
|
license = licenses.publicDomain;
|
||
|
platforms = platforms.linux;
|
||
|
maintainers = pantheon.maintainers;
|
||
|
};
|
||
|
}
|
||
|
|