forked from mirrors/nixpkgs
pantheon.elementary-wallpapers: 5.4 -> 5.5.0
Now uses meson build system 💖. https://github.com/elementary/wallpapers/releases/tag/5.5.0
This commit is contained in:
parent
6bd1a2222c
commit
5ddded73dc
|
@ -1,11 +1,14 @@
|
||||||
{ stdenv
|
{ stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pantheon
|
, pantheon
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, gettext
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "elementary-wallpapers";
|
pname = "elementary-wallpapers";
|
||||||
version = "5.4";
|
version = "5.5.0";
|
||||||
|
|
||||||
repoName = "wallpapers";
|
repoName = "wallpapers";
|
||||||
|
|
||||||
|
@ -13,9 +16,15 @@ stdenv.mkDerivation rec {
|
||||||
owner = "elementary";
|
owner = "elementary";
|
||||||
repo = repoName;
|
repo = repoName;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1ihvv9v8m5f2n2v3bgg769l52wbg241zgp3d45q6phk7p8s1gz3s";
|
sha256 = "0c63nds2ylqgcp39s13mfwhipgyw8cirn0bhybp291l5g86ii6s3";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
gettext
|
||||||
|
meson
|
||||||
|
ninja
|
||||||
|
];
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = pantheon.updateScript {
|
updateScript = pantheon.updateScript {
|
||||||
inherit repoName;
|
inherit repoName;
|
||||||
|
@ -23,14 +32,6 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
dontBuild = true;
|
|
||||||
dontConfigure = true;
|
|
||||||
|
|
||||||
installPhase = ''
|
|
||||||
mkdir -p $out/share/backgrounds/elementary
|
|
||||||
cp -av *.jpg $out/share/backgrounds/elementary
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Collection of wallpapers for elementary";
|
description = "Collection of wallpapers for elementary";
|
||||||
homepage = https://github.com/elementary/wallpapers;
|
homepage = https://github.com/elementary/wallpapers;
|
||||||
|
|
Loading…
Reference in a new issue