diff options
author | José Romildo Malaquias <malaquias@gmail.com> | 2018-08-31 14:51:07 -0300 |
---|---|---|
committer | xeji <36407913+xeji@users.noreply.github.com> | 2018-08-31 19:51:07 +0200 |
commit | 3ee5ba7ff17f591224aa4b42088e14784bf5637d (patch) | |
tree | 8a920a4a9664a1730ae2dc3b24ac01ba86de53aa /pkgs/desktops/deepin | |
parent | 13c6a9ba86972c77afd3bf947694aa8767988204 (diff) | |
download | nixlib-3ee5ba7ff17f591224aa4b42088e14784bf5637d.tar nixlib-3ee5ba7ff17f591224aa4b42088e14784bf5637d.tar.gz nixlib-3ee5ba7ff17f591224aa4b42088e14784bf5637d.tar.bz2 nixlib-3ee5ba7ff17f591224aa4b42088e14784bf5637d.tar.lz nixlib-3ee5ba7ff17f591224aa4b42088e14784bf5637d.tar.xz nixlib-3ee5ba7ff17f591224aa4b42088e14784bf5637d.tar.zst nixlib-3ee5ba7ff17f591224aa4b42088e14784bf5637d.zip |
deepin-icon-theme: 15.12.52 -> 15.12.59 (#45876)
Diffstat (limited to 'pkgs/desktops/deepin')
-rw-r--r-- | pkgs/desktops/deepin/deepin-icon-theme/default.nix | 27 |
1 files changed, 11 insertions, 16 deletions
diff --git a/pkgs/desktops/deepin/deepin-icon-theme/default.nix b/pkgs/desktops/deepin/deepin-icon-theme/default.nix index 7a422beb9924..c6d7f3493019 100644 --- a/pkgs/desktops/deepin/deepin-icon-theme/default.nix +++ b/pkgs/desktops/deepin/deepin-icon-theme/default.nix @@ -3,37 +3,32 @@ stdenv.mkDerivation rec { name = "${pname}-${version}"; pname = "deepin-icon-theme"; - version = "15.12.52"; + version = "15.12.59"; src = fetchFromGitHub { owner = "linuxdeepin"; repo = pname; rev = version; - sha256 = "141in9jlflmckd8rg4605dfks84p1p6b1zdbhbiwrg11xbl66f3l"; - - # Get rid of case collision in file names, which is an issue in - # darwin where file names are case insensitive. - extraPostFetch = '' - rm "$out"/Sea/apps/scalable/TeXmacs.svg - rm "$out"/deepin/apps/48/TeXmacs.svg - ''; + sha256 = "1qkxhqx6a7pahkjhf6m9lm16lw9v9grk0d4j449h9622zwfjkxlq"; }; nativeBuildInputs = [ gtk3 papirus-icon-theme ]; - makeFlags = [ "PREFIX=$(out)" ]; + postPatch = '' + patchShebangs . - postFixup = '' - for theme in $out/share/icons/*; do - gtk-update-icon-cache $theme - done + # install in $out + sed -i -e "s|/usr|$out|g" Makefile tools/hicolor.links + + # keep icon-theme.cache + sed -i -e 's|\(-rm -f .*/icon-theme.cache\)|# \1|g' Makefile ''; meta = with stdenv.lib; { - description = "Deepin icon theme"; + description = "Icons for the Deepin Desktop Environment"; homepage = https://github.com/linuxdeepin/deepin-icon-theme; license = licenses.gpl3; - platforms = platforms.linux; + platforms = platforms.unix; maintainers = with maintainers; [ romildo ]; }; } |