From 39f376f4a6175e399b1359b05072ff15bf07cc31 Mon Sep 17 00:00:00 2001 From: OPNA2608 Date: Wed, 10 Apr 2024 11:43:35 +0200 Subject: [PATCH] nixos-icons: 2021-02-24 -> 0-unstable-2024-04-10 --- pkgs/data/misc/nixos-artwork/icons.nix | 28 +++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/pkgs/data/misc/nixos-artwork/icons.nix b/pkgs/data/misc/nixos-artwork/icons.nix index af8a157d491c..75c7075bae9f 100644 --- a/pkgs/data/misc/nixos-artwork/icons.nix +++ b/pkgs/data/misc/nixos-artwork/icons.nix @@ -1,25 +1,39 @@ { stdenv +, lib , fetchFromGitHub , imagemagick }: -stdenv.mkDerivation { +stdenv.mkDerivation (finalAttrs: { pname = "nixos-icons"; - version = "2021-02-24"; + version = "0-unstable-2024-04-10"; src = fetchFromGitHub { owner = "NixOS"; repo = "nixos-artwork"; - rev = "488c22aad523c709c44169d3e88d34b4691c20dc"; - sha256 = "ZoanCzn4pqGB1fyMzMyGQVT0eIhNdL7ZHJSn1VZWVRs="; + rev = "f84c13adae08e860a7c3f76ab3a9bef916d276cc"; + hash = "sha256-lO/2dLGK2f9pzLHudRIs4PUcGUliy7kfyt9r4CbhbVg="; }; + sourceRoot = "${finalAttrs.src.name}/icons"; + + strictDeps = true; + nativeBuildInputs = [ imagemagick ]; makeFlags = [ - "DESTDIR=${placeholder "out"}" - "prefix=" + "prefix=${placeholder "out"}" ]; -} + + enableParallelBuilding = true; + + meta = with lib; { + description = "Icons of the Nix logo, in Freedesktop Icon Directory Layout"; + homepage = "https://github.com/NixOS/nixos-artwork"; + license = licenses.cc-by-40; + maintainers = with maintainers; []; + platforms = platforms.all; + }; +})