nixpkgs/pkgs/by-name/st/stylelint/package.nix
2024-09-22 23:18:40 +09:00

33 lines
667 B
Nix

{
buildNpmPackage,
fetchFromGitHub,
lib,
}:
let
version = "16.9.0";
in
buildNpmPackage {
pname = "stylelint";
inherit version;
src = fetchFromGitHub {
owner = "stylelint";
repo = "stylelint";
rev = version;
hash = "sha256-yMj6X3VI/CKw1VdRXV+7FVJQ6rdZ4E4v069wJZq3+dg=";
};
npmDepsHash = "sha256-Ylkx4FPsfEZTy1y2Be0RURHooAev0Z8ew3MJ2wOXjO4=";
dontNpmBuild = true;
meta = {
description = "Mighty CSS linter that helps you avoid errors and enforce conventions";
mainProgram = "stylelint";
homepage = "https://stylelint.io";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ momeemt ];
};
}