nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at fix-function-merge 25 lines 614 B view raw
1{ buildNpmPackage, fetchFromGitHub, lib }: 2 3buildNpmPackage rec { 4 pname = "stylelint"; 5 version = "16.7.0"; 6 7 src = fetchFromGitHub { 8 owner = "stylelint"; 9 repo = "stylelint"; 10 rev = version; 11 hash = "sha256-teoEVkSLK3pdSY6Z9aq/4/V028mLufDrPt/Ff9iO64w="; 12 }; 13 14 npmDepsHash = "sha256-daimn//rZhj7O/JCI2rdHn/H9o4yOYQcAL7Iu04RBlk="; 15 16 dontNpmBuild = true; 17 18 meta = with lib; { 19 description = "Mighty CSS linter that helps you avoid errors and enforce conventions"; 20 mainProgram = "stylelint"; 21 homepage = "https://stylelint.io"; 22 license = licenses.mit; 23 maintainers = [ ]; 24 }; 25}