nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 40 lines 816 B view raw
1{ 2 stdenv, 3 lib, 4 fetchFromGitHub, 5 imagemagick, 6}: 7 8stdenv.mkDerivation (finalAttrs: { 9 pname = "nixos-icons"; 10 version = "0-unstable-2024-04-10"; 11 12 src = fetchFromGitHub { 13 owner = "NixOS"; 14 repo = "nixos-artwork"; 15 rev = "f84c13adae08e860a7c3f76ab3a9bef916d276cc"; 16 hash = "sha256-lO/2dLGK2f9pzLHudRIs4PUcGUliy7kfyt9r4CbhbVg="; 17 }; 18 19 sourceRoot = "${finalAttrs.src.name}/icons"; 20 21 strictDeps = true; 22 23 nativeBuildInputs = [ 24 imagemagick 25 ]; 26 27 makeFlags = [ 28 "prefix=${placeholder "out"}" 29 ]; 30 31 enableParallelBuilding = true; 32 33 meta = with lib; { 34 description = "Icons of the Nix logo, in Freedesktop Icon Directory Layout"; 35 homepage = "https://github.com/NixOS/nixos-artwork"; 36 license = licenses.cc-by-40; 37 maintainers = [ ]; 38 platforms = platforms.all; 39 }; 40})