@@ -0,0 +1,36 @@
1+{ stdenv, fetchFromGitHub, cmake, gtk3 }:
2+
3+stdenv.mkDerivation rec {
4+ pname = "papirus-maia-icon-theme";
5+ version = "2019-07-26";
6+
7+ src = fetchFromGitHub {
8+ owner = "Ste74";
9+ repo = pname;
10+ rev = "90d47c817cc0edeed8b5a90335e669948ff4a116";
11+ sha256 = "0d6lvdg5nw5wfaq8lxszcws174vg12ywkrqzn6czimhmhp48jf5p";
12+ };
13+
14+ nativeBuildInputs = [
15+ cmake
16+ gtk3
17+ ];
18+
19+ postPatch = ''
20+ substituteInPlace CMakeLists.txt --replace /usr "$out"
21+ '';
22+
23+ postFixup = ''
24+ for theme in $out/share/icons/*; do
25+ gtk-update-icon-cache $theme
26+ done
27+ '';
28+
29+ meta = with stdenv.lib; {
30+ description = "Manjaro variation of Papirus icon theme";
31+ homepage = https://github.com/Ste74/papirus-maia-icon-theme;
32+ license = licenses.lgpl3;
33+ platforms = platforms.linux;
34+ maintainers = with maintainers; [ romildo ];
35+ };
36+}