2021-11-26 08:51:18 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2019-08-05 19:02:06 +01:00
|
|
|
, fetchFromGitHub
|
2020-07-29 17:33:39 +01:00
|
|
|
, nix-update-script
|
2021-12-14 01:30:44 +00:00
|
|
|
, gettext
|
2019-11-26 01:27:13 +00:00
|
|
|
, meson
|
|
|
|
, ninja
|
2021-12-14 01:30:44 +00:00
|
|
|
, python3
|
2019-08-05 19:02:06 +01:00
|
|
|
}:
|
2018-08-20 21:31:18 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-05 23:41:32 +01:00
|
|
|
pname = "elementary-wallpapers";
|
2021-12-14 01:30:44 +00:00
|
|
|
version = "6.1.0";
|
2018-08-20 21:31:18 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "elementary";
|
2021-12-14 01:30:44 +00:00
|
|
|
repo = "wallpapers";
|
2018-08-20 21:31:18 +01:00
|
|
|
rev = version;
|
2021-12-14 01:30:44 +00:00
|
|
|
sha256 = "sha256-E/cUxa/GNt/01EjuuvurHxJu3qV9e+jcdcCi2+NxVDA=";
|
2018-08-20 21:31:18 +01:00
|
|
|
};
|
|
|
|
|
2019-11-26 01:27:13 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
gettext
|
|
|
|
meson
|
|
|
|
ninja
|
2021-12-14 01:30:44 +00:00
|
|
|
python3
|
2019-11-26 01:27:13 +00:00
|
|
|
];
|
|
|
|
|
2021-12-14 01:30:44 +00:00
|
|
|
postPatch = ''
|
|
|
|
chmod +x meson/symlink.py
|
|
|
|
patchShebangs meson/symlink.py
|
|
|
|
'';
|
|
|
|
|
2018-08-20 21:31:18 +01:00
|
|
|
passthru = {
|
2020-07-29 17:33:39 +01:00
|
|
|
updateScript = nix-update-script {
|
2019-12-22 06:44:42 +00:00
|
|
|
attrPath = "pantheon.${pname}";
|
2018-08-20 21:31:18 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-08-20 21:31:18 +01:00
|
|
|
description = "Collection of wallpapers for elementary";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/elementary/wallpapers";
|
2018-08-20 21:31:18 +01:00
|
|
|
license = licenses.publicDomain;
|
|
|
|
platforms = platforms.linux;
|
2021-09-18 16:00:51 +01:00
|
|
|
maintainers = teams.pantheon.members;
|
2018-08-20 21:31:18 +01:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|