mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
stylelint: move to by-name and modernize derivation (#343730)
This commit is contained in:
commit
f8a6fd59dc
@ -1,8 +1,15 @@
|
||||
{ buildNpmPackage, fetchFromGitHub, lib }:
|
||||
{
|
||||
buildNpmPackage,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
}:
|
||||
|
||||
buildNpmPackage rec {
|
||||
pname = "stylelint";
|
||||
let
|
||||
version = "16.9.0";
|
||||
in
|
||||
buildNpmPackage {
|
||||
pname = "stylelint";
|
||||
inherit version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "stylelint";
|
||||
@ -15,11 +22,11 @@ buildNpmPackage rec {
|
||||
|
||||
dontNpmBuild = true;
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Mighty CSS linter that helps you avoid errors and enforce conventions";
|
||||
mainProgram = "stylelint";
|
||||
homepage = "https://stylelint.io";
|
||||
license = licenses.mit;
|
||||
maintainers = [ ];
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ momeemt ];
|
||||
};
|
||||
}
|
@ -18690,8 +18690,6 @@ with pkgs;
|
||||
|
||||
strace-analyzer = callPackage ../development/tools/misc/strace-analyzer { };
|
||||
|
||||
stylelint = callPackage ../development/tools/analysis/stylelint { };
|
||||
|
||||
stylua = callPackage ../development/tools/stylua { };
|
||||
|
||||
summon = callPackage ../development/tools/summon { };
|
||||
|
Loading…
Reference in New Issue
Block a user