nixos-configs/scopedPackages/lovelace-components/material-rounded-theme/default.nix

33 lines
683 B
Nix

{
# nix build inputs
lib,
stdenv,
fetchFromGitHub,
...
}: let
pname = "material-rounded-theme";
version = "4.0.2";
in
stdenv.mkDerivation {
inherit pname version;
src = fetchFromGitHub {
owner = "Nerwyn";
repo = pname;
rev = version;
hash = "sha256-ZsajvWYUbrOUVTmzSIyNiEUsCgURuYdah5Ra5NSmep8=";
};
installPhase = ''
mkdir -p $out/share
cp ./src/material_you.yaml $out/share
'';
meta = {
license = lib.licenses.asl20;
homepage = "https://github.com/Nerwyn/material-rounded-theme";
description = ''
Material Design 3 Colors and Components in Home Assistant.
'';
};
}