2019-08-05 19:02:06 +01:00
|
|
|
{ stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pantheon
|
|
|
|
}:
|
2018-08-20 21:31:18 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-05 23:41:32 +01:00
|
|
|
pname = "elementary-wallpapers";
|
2019-10-21 18:37:18 +01:00
|
|
|
version = "5.4";
|
2018-08-20 21:31:18 +01:00
|
|
|
|
2019-08-05 23:41:32 +01:00
|
|
|
repoName = "wallpapers";
|
2018-08-20 21:31:18 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "elementary";
|
2019-08-05 23:41:32 +01:00
|
|
|
repo = repoName;
|
2018-08-20 21:31:18 +01:00
|
|
|
rev = version;
|
2019-10-21 18:37:18 +01:00
|
|
|
sha256 = "1ihvv9v8m5f2n2v3bgg769l52wbg241zgp3d45q6phk7p8s1gz3s";
|
2018-08-20 21:31:18 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = pantheon.updateScript {
|
2019-08-05 23:41:32 +01:00
|
|
|
inherit repoName;
|
|
|
|
attrPath = pname;
|
2018-08-20 21:31:18 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
dontBuild = true;
|
2019-08-05 18:26:19 +01:00
|
|
|
dontConfigure = true;
|
2018-08-20 21:31:18 +01:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|