diff options
author | Emily <git@emilylange.de> | 2024-05-06 18:49:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-06 18:49:25 +0200 |
commit | 31e910d57b9f31f1c9eab5259fb1a3cf79506768 (patch) | |
tree | c63d844358ea1d5f120ee44199fdf4203b910a4f /pkgs/by-name/wi | |
parent | e577daf8ba32782c5ef85b5635733902bbf85e53 (diff) | |
parent | 2a3cdc36ef6f09be725a7c29d9d9e0deb59b365a (diff) |
Merge pull request #237972 from mibmo/pkg/windows10-icons
windows10-icons: init at 1.0
Diffstat (limited to 'pkgs/by-name/wi')
-rw-r--r-- | pkgs/by-name/wi/windows10-icons/package.nix | 36 |
1 files changed, 36 insertions, 0 deletions
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 0000000000000..8609aa7508afa --- /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; + }; +}) |