Unverified Commit 31e910d5 authored by Emily's avatar Emily Committed by GitHub
Browse files

Merge pull request #237972 from mibmo/pkg/windows10-icons

windows10-icons: init at 1.0
parents e577daf8 2a3cdc36
Loading
Loading
Loading
Loading
+36 −0
Original line number Diff line number Diff line
{ lib, stdenvNoCC, fetchFromGitHub }:

stdenvNoCC.mkDerivation (finalAttrs: {
  pname = "windows10-icons";
  version = "1.0";

  src = fetchFromGitHub {
    owner = "B00merang-Artwork";
    repo = "Windows-10";
    rev = "${finalAttrs.version}";
    hash = "sha256-Yz6a7FcgPfzz4w8cKp8oq7/usIBUUZV7qhVmDewmzrI=";
  };

  installPhase = ''
    runHook preInstall

    mkdir -p $out/share/icons/windows10
    find . \
      ! -path ./README.md \
      -mindepth 1 -maxdepth 1 \
      -exec cp -r {} $out/share/icons/windows10 \;

    runHook postInstall
  '';

  dontConfigure = true;
  dontBuild = true;

  meta = with lib; {
    description = "Windows 10 icon theme";
    homepage = "http://b00merang.weebly.com/windows-10.html";
    license = licenses.unfree;
    maintainers = with maintainers; [ mib ];
    platforms = platforms.linux;
  };
})