Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 57 lines 1.1 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6 gtk3, 7 breeze-icons, 8 gnome-icon-theme, 9 papirus-icon-theme, 10 hicolor-icon-theme, 11}: 12 13stdenv.mkDerivation rec { 14 pname = "papirus-maia-icon-theme"; 15 version = "2019-07-26"; 16 17 src = fetchFromGitHub { 18 owner = "Ste74"; 19 repo = pname; 20 rev = "90d47c817cc0edeed8b5a90335e669948ff4a116"; 21 sha256 = "0d6lvdg5nw5wfaq8lxszcws174vg12ywkrqzn6czimhmhp48jf5p"; 22 }; 23 24 nativeBuildInputs = [ 25 cmake 26 gtk3 27 ]; 28 29 propagatedBuildInputs = [ 30 breeze-icons 31 gnome-icon-theme 32 papirus-icon-theme 33 hicolor-icon-theme 34 ]; 35 36 dontDropIconThemeCache = true; 37 38 dontWrapQtApps = true; 39 40 postPatch = '' 41 substituteInPlace CMakeLists.txt --replace /usr "$out" 42 ''; 43 44 postInstall = '' 45 for theme in $out/share/icons/*; do 46 gtk-update-icon-cache $theme 47 done 48 ''; 49 50 meta = { 51 description = "Manjaro variation of Papirus icon theme"; 52 homepage = "https://github.com/Ste74/papirus-maia-icon-theme"; 53 license = lib.licenses.lgpl3; 54 platforms = lib.platforms.linux; 55 maintainers = with lib.maintainers; [ romildo ]; 56 }; 57}