From 2a3cdc36ef6f09be725a7c29d9d9e0deb59b365a Mon Sep 17 00:00:00 2001 From: mib Date: Wed, 1 May 2024 10:32:12 +0200 Subject: [PATCH] windows10-icons: init at 1.0 --- pkgs/by-name/wi/windows10-icons/package.nix | 36 +++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pkgs/by-name/wi/windows10-icons/package.nix diff --git a/pkgs/by-name/wi/windows10-icons/package.nix b/pkgs/by-name/wi/windows10-icons/package.nix new file mode 100644 index 000000000000..8609aa7508af --- /dev/null +++ b/pkgs/by-name/wi/windows10-icons/package.nix @@ -0,0 +1,36 @@ +{ 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; + }; +})