2024-09-22 14:17:06 +00:00
|
|
|
{
|
|
|
|
buildNpmPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
lib,
|
|
|
|
}:
|
2023-08-30 23:48:03 +00:00
|
|
|
|
2024-09-22 14:17:06 +00:00
|
|
|
let
|
2024-08-29 06:24:16 +00:00
|
|
|
version = "16.9.0";
|
2024-09-22 14:17:06 +00:00
|
|
|
in
|
|
|
|
buildNpmPackage {
|
|
|
|
pname = "stylelint";
|
|
|
|
inherit version;
|
2023-08-30 23:48:03 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "stylelint";
|
|
|
|
repo = "stylelint";
|
|
|
|
rev = version;
|
2024-08-29 06:24:16 +00:00
|
|
|
hash = "sha256-yMj6X3VI/CKw1VdRXV+7FVJQ6rdZ4E4v069wJZq3+dg=";
|
2023-08-30 23:48:03 +00:00
|
|
|
};
|
|
|
|
|
2024-08-29 06:24:16 +00:00
|
|
|
npmDepsHash = "sha256-Ylkx4FPsfEZTy1y2Be0RURHooAev0Z8ew3MJ2wOXjO4=";
|
2023-08-30 23:48:03 +00:00
|
|
|
|
|
|
|
dontNpmBuild = true;
|
|
|
|
|
2024-09-22 14:17:06 +00:00
|
|
|
meta = {
|
2023-08-30 23:48:03 +00:00
|
|
|
description = "Mighty CSS linter that helps you avoid errors and enforce conventions";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "stylelint";
|
2023-08-30 23:48:03 +00:00
|
|
|
homepage = "https://stylelint.io";
|
2024-09-22 14:17:06 +00:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ momeemt ];
|
2023-08-30 23:48:03 +00:00
|
|
|
};
|
|
|
|
}
|