mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
33 lines
667 B
Nix
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 ];
|
|
};
|
|
}
|