deepin-wallpapers: init at 1.7.10
This commit is contained in:
parent
1f9748835c
commit
5a2d66c883
45
pkgs/desktops/deepin/artwork/deepin-wallpapers/default.nix
Normal file
45
pkgs/desktops/deepin/artwork/deepin-wallpapers/default.nix
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
{ stdenv
|
||||||
|
, lib
|
||||||
|
, fetchFromGitHub
|
||||||
|
, dde-api
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "deepin-wallpapers";
|
||||||
|
version = "1.7.10";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "linuxdeepin";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "sha256-D7DXyPh74VlYn5vKUzDh/P/xoskxs8N/BEg5ZemXRwk=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ dde-api ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
patchShebangs blur_image.sh
|
||||||
|
|
||||||
|
substituteInPlace blur_image.sh \
|
||||||
|
--replace /usr/lib/deepin-api/image-blur ${dde-api}/lib/deepin-api/image-blur
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
mkdir -p $out/share/wallpapers/deepin
|
||||||
|
cp deepin/* $out/share/wallpapers/deepin
|
||||||
|
mkdir -p $out/share/wallpapers/image-blur
|
||||||
|
cp image-blur/* $out/share/wallpapers/image-blur
|
||||||
|
mkdir -p $out/share/backgrounds
|
||||||
|
ln -s $out/share/wallpapers/deepin/desktop.jpg $out/share/backgrounds/default_background.jpg
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "deepin-wallpapers provides wallpapers of dde";
|
||||||
|
homepage = "https://github.com/linuxdeepin/deepin-wallpapers";
|
||||||
|
license = with licenses; [ gpl3Plus cc-by-sa-30 ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = teams.deepin.members;
|
||||||
|
};
|
||||||
|
}
|
|
@ -54,6 +54,7 @@ let
|
||||||
#### ARTWORK
|
#### ARTWORK
|
||||||
dde-account-faces = callPackage ./artwork/dde-account-faces { };
|
dde-account-faces = callPackage ./artwork/dde-account-faces { };
|
||||||
deepin-icon-theme = callPackage ./artwork/deepin-icon-theme { };
|
deepin-icon-theme = callPackage ./artwork/deepin-icon-theme { };
|
||||||
|
deepin-wallpapers = callPackage ./artwork/deepin-wallpapers { };
|
||||||
deepin-gtk-theme = callPackage ./artwork/deepin-gtk-theme { };
|
deepin-gtk-theme = callPackage ./artwork/deepin-gtk-theme { };
|
||||||
deepin-sound-theme = callPackage ./artwork/deepin-sound-theme { };
|
deepin-sound-theme = callPackage ./artwork/deepin-sound-theme { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue