3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/desktops/pantheon/artwork/elementary-wallpapers/default.nix
R. RyanTM a2a6f1be17 pantheon.elementary-wallpapers: 5.3 -> 5.4
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/elementary-wallpapers/versions
2019-10-21 10:37:18 -07:00

43 lines
871 B
Nix

{ stdenv
, fetchFromGitHub
, pantheon
}:
stdenv.mkDerivation rec {
pname = "elementary-wallpapers";
version = "5.4";
repoName = "wallpapers";
src = fetchFromGitHub {
owner = "elementary";
repo = repoName;
rev = version;
sha256 = "1ihvv9v8m5f2n2v3bgg769l52wbg241zgp3d45q6phk7p8s1gz3s";
};
passthru = {
updateScript = pantheon.updateScript {
inherit repoName;
attrPath = pname;
};
};
dontBuild = true;
dontConfigure = 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;
};
}