Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 47 lines 1.1 kB view raw
1{ stdenvNoCC 2, lib 3, fetchFromGitHub 4, gtk3 5}: 6 7stdenvNoCC.mkDerivation rec { 8 pname = "rose-pine-icon-theme"; 9 version = "unstable-2022-09-01"; 10 11 src = fetchFromGitHub { 12 owner = "rose-pine"; 13 repo = "gtk"; 14 rev = "7a4c40989fd42fd8d4a797f460c79fc4a085c304"; 15 sha256 = "0q74wjyrsjyym770i3sqs071bvanwmm727xzv50wk6kzvpyqgi67"; 16 }; 17 18 nativeBuildInputs = [ 19 gtk3 20 ]; 21 22 # avoid the makefile which is only for the theme maintainers 23 dontBuild = true; 24 25 installPhase = '' 26 runHook preInstall 27 28 mkdir -p $out/share/icons 29 mv icons/rose-pine-icons $out/share/icons/rose-pine 30 mv icons/rose-pine-dawn-icons $out/share/icons/rose-pine-dawn 31 mv icons/rose-pine-moon-icons $out/share/icons/rose-pine-moon 32 33 for theme in $out/share/icons/*; do 34 gtk-update-icon-cache $theme 35 done 36 37 runHook postInstall 38 ''; 39 40 meta = with lib; { 41 description = "Rosé Pine icon theme for GTK"; 42 homepage = "https://github.com/rose-pine/gtk"; 43 license = licenses.gpl3Only; 44 platforms = platforms.linux; 45 maintainers = with maintainers; [romildo the-argus]; 46 }; 47}