Files
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

31 lines
681 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
}:
stdenv.mkDerivation rec {
pname = "icingaweb2-theme-spring";
version = "1.0.0";
src = fetchFromGitHub {
owner = "Mikesch-mp";
repo = pname;
rev = "v${version}";
sha256 = "09v4871pndarhm2spxm9fdab58l5wj8m40kh53wvk1xc3g7pqki9";
};
installPhase = ''
mkdir -p "$out"
cp -r * "$out"
'';
meta = {
description = "Theme with some soft colors and nice background images loaded from unsplash.com";
homepage = "https://github.com/Mikesch-mp/icingaweb2-theme-spring";
license = lib.licenses.publicDomain;
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ das_j ];
};
}