about summary refs log tree commit diff
path: root/pkgs/development/tools/analysis
diff options
context:
space:
mode:
authorLord-Valen <lord_valen@protonmail.com>2023-08-30 19:48:03 -0400
committerRobert Schütz <nix@dotlambda.de>2023-09-13 10:34:07 -0700
commitdb661a558ae858e64b2b6c3638ac1e7b2f343edd (patch)
tree2d0f3d591c67375542fc435bcb9be57cbdc16d94 /pkgs/development/tools/analysis
parentc3772a501fe1b4c1e0aed7da11a56676f261a262 (diff)
downloadnixlib-db661a558ae858e64b2b6c3638ac1e7b2f343edd.tar
nixlib-db661a558ae858e64b2b6c3638ac1e7b2f343edd.tar.gz
nixlib-db661a558ae858e64b2b6c3638ac1e7b2f343edd.tar.bz2
nixlib-db661a558ae858e64b2b6c3638ac1e7b2f343edd.tar.lz
nixlib-db661a558ae858e64b2b6c3638ac1e7b2f343edd.tar.xz
nixlib-db661a558ae858e64b2b6c3638ac1e7b2f343edd.tar.zst
nixlib-db661a558ae858e64b2b6c3638ac1e7b2f343edd.zip
nodePackages.stylelint: use buildNpmPackage
Diffstat (limited to 'pkgs/development/tools/analysis')
-rw-r--r--pkgs/development/tools/analysis/stylelint/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/tools/analysis/stylelint/default.nix b/pkgs/development/tools/analysis/stylelint/default.nix
new file mode 100644
index 000000000000..d2e583ecf91c
--- /dev/null
+++ b/pkgs/development/tools/analysis/stylelint/default.nix
@@ -0,0 +1,24 @@
+{ buildNpmPackage, fetchFromGitHub, lib }:
+
+buildNpmPackage rec {
+  pname = "stylelint";
+  version = "15.10.3";
+
+  src = fetchFromGitHub {
+    owner = "stylelint";
+    repo = "stylelint";
+    rev = version;
+    hash = "sha256-k7Ngbd4Z3/JjCK6taynIiNCDTKfqGRrjfR0ePyRFY4w=";
+  };
+
+  npmDepsHash = "sha256-tVDhaDeUKzuyJU5ABSOeYgS56BDSJTfjBZdTsuL/7tA=";
+
+  dontNpmBuild = true;
+
+  meta = with lib; {
+    description = "Mighty CSS linter that helps you avoid errors and enforce conventions";
+    homepage = "https://stylelint.io";
+    license = licenses.mit;
+    maintainers = with maintainers; [ ];
+  };
+}