2021-03-09 03:18:52 +00:00
|
|
|
{ stdenv
|
2024-04-21 15:54:59 +00:00
|
|
|
, lib
|
2021-03-09 03:18:52 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, imagemagick
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2021-03-09 03:18:52 +00:00
|
|
|
pname = "nixos-icons";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "0-unstable-2024-04-10";
|
2021-03-09 03:18:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2020-04-24 23:36:52 +00:00
|
|
|
owner = "NixOS";
|
|
|
|
repo = "nixos-artwork";
|
2024-04-21 15:54:59 +00:00
|
|
|
rev = "f84c13adae08e860a7c3f76ab3a9bef916d276cc";
|
|
|
|
hash = "sha256-lO/2dLGK2f9pzLHudRIs4PUcGUliy7kfyt9r4CbhbVg=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2021-03-09 03:18:52 +00:00
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
sourceRoot = "${finalAttrs.src.name}/icons";
|
|
|
|
|
|
|
|
strictDeps = true;
|
|
|
|
|
2021-03-09 03:18:52 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
imagemagick
|
|
|
|
];
|
|
|
|
|
|
|
|
makeFlags = [
|
2024-04-21 15:54:59 +00:00
|
|
|
"prefix=${placeholder "out"}"
|
2021-03-09 03:18:52 +00:00
|
|
|
];
|
2024-04-21 15:54:59 +00:00
|
|
|
|
|
|
|
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;
|
2024-07-31 10:19:44 +00:00
|
|
|
maintainers = [ ];
|
2024-04-21 15:54:59 +00:00
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
})
|