diff options
author | Yegor Timoshenko <yegortimoshenko@riseup.net> | 2018-02-24 11:27:41 +0000 |
---|---|---|
committer | Yegor Timoshenko <yegortimoshenko@riseup.net> | 2018-02-24 11:27:41 +0000 |
commit | 0765f0528d2e416bab4504f7e7cc7c250eec6452 (patch) | |
tree | 83036674b73870c3e16bd90966e6fef1f4bbed6e | |
parent | 4593cc2317bf77d0af22cef0fbc410b0a66846a7 (diff) |
maia-icon-theme: use CMake (build from source)
Did not add GTK icon cache due to the following error: gtk-update-icon-cache: The generated cache was invalid.
-rw-r--r-- | pkgs/data/icons/maia-icon-theme/default.nix | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/pkgs/data/icons/maia-icon-theme/default.nix b/pkgs/data/icons/maia-icon-theme/default.nix index f4f81f8de8bef..82aafca11f4ff 100644 --- a/pkgs/data/icons/maia-icon-theme/default.nix +++ b/pkgs/data/icons/maia-icon-theme/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub }: +{ stdenv, fetchFromGitHub, cmake, extra-cmake-modules, gtk3, kdeFrameworks }: stdenv.mkDerivation rec { name = "maia-icon-theme-${version}"; @@ -11,21 +11,19 @@ stdenv.mkDerivation rec { sha256 = "0f9l3k9abgg8islzddrxgbxaw6vbai5bvz5qi1v2fzir7ykx7bgj"; }; - dontBuild = true; - - installPhase = '' - install -dm 755 $out/share/icons - for f in "" "-dark"; do - rm icons$f/CMakeLists.txt - cp -dr --no-preserve='ownership' icons$f $out/share/icons/maia$f - done - ''; + nativeBuildInputs = [ + cmake + extra-cmake-modules + gtk3 + kdeFrameworks.plasma-framework + kdeFrameworks.kwindowsystem + ]; meta = with stdenv.lib; { description = "Icons based on Breeze and Super Flat Remix"; homepage = https://github.com/manjaro/artwork-maia; - license = licenses.free; - maintainers = [ maintainers.mounium ]; + license = licenses.free; # https://github.com/manjaro/artwork-maia/issues/27 + maintainers = with maintainers; [ mounium ]; platforms = platforms.all; }; } |