3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/desktops/pantheon/artwork/elementary-wallpapers/default.nix

44 lines
791 B
Nix
Raw Normal View History

{ stdenv
, fetchFromGitHub
, pantheon
, meson
, ninja
, gettext
}:
2018-08-20 21:31:18 +01:00
stdenv.mkDerivation rec {
pname = "elementary-wallpapers";
version = "5.5.0";
2018-08-20 21:31:18 +01:00
repoName = "wallpapers";
2018-08-20 21:31:18 +01:00
src = fetchFromGitHub {
owner = "elementary";
repo = repoName;
2018-08-20 21:31:18 +01:00
rev = version;
sha256 = "0c63nds2ylqgcp39s13mfwhipgyw8cirn0bhybp291l5g86ii6s3";
2018-08-20 21:31:18 +01:00
};
nativeBuildInputs = [
gettext
meson
ninja
];
2018-08-20 21:31:18 +01:00
passthru = {
updateScript = pantheon.updateScript {
inherit repoName;
attrPath = pname;
2018-08-20 21:31:18 +01:00
};
};
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;
};
}