mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
38 lines
941 B
Nix
38 lines
941 B
Nix
{
|
|
lib,
|
|
buildNpmPackage,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildNpmPackage rec {
|
|
pname = "material-you-utilities";
|
|
version = "2.1.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Nerwyn";
|
|
repo = "material-you-utilities";
|
|
tag = version;
|
|
hash = "sha256-/GsZjH6BQUlPjVzvdbAF1OMygA0m67FkQoKcmVOngow=";
|
|
};
|
|
|
|
npmDepsHash = "sha256-+stnR6EFH/5JnbkxZ1y9Nv4MeZKmqHzvHrR9pA9lAys=";
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
mkdir $out
|
|
cp dist/material-you-utilities.min.js $out/
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
passthru.entrypoint = "material-you-utilities.min.js";
|
|
|
|
meta = {
|
|
description = "Material Design 3 color theme generation and Home Assistant component modification";
|
|
homepage = "https://github.com/Nerwyn/material-you-utilities";
|
|
changelog = "https://github.com/Nerwyn/material-you-utilities/releases/tag/${version}";
|
|
license = lib.licenses.asl20;
|
|
maintainers = [ lib.maintainers.jamiemagee ];
|
|
};
|
|
}
|