-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from tomodachi94/import-packages
Import packages
- Loading branch information
Showing
10 changed files
with
23,962 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
node_modules/ | ||
package-lock.json | ||
!pkgs/all/awesome-lint/package-lock.json | ||
.netrwhist | ||
|
||
*-creds.vim | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ lib | ||
, fetchFromGitHub | ||
, buildNpmPackage | ||
}: | ||
|
||
buildNpmPackage rec { | ||
pname = "awesome-lint"; | ||
version = "1.1.0"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "sindresorhus"; | ||
repo = "awesome-lint"; | ||
rev = "v${version}"; | ||
hash = "sha256-yiH2HiW3MQEYkwC5D09Vs43pdUiKl2D3lIhlOdZ6fMY="; | ||
}; | ||
|
||
dontNpmBuild = true; | ||
|
||
dontNpmPrune = true; | ||
|
||
npmDepsHash = "sha256-/Nhb1GwHl61H6T7wKjgG/dINpneHXOt8hzzw+7C0i3o="; | ||
|
||
postPatch = '' | ||
cp ${./package-lock.json} ./package-lock.json | ||
''; | ||
|
||
meta = with lib; { | ||
description = "Linter for Awesome lists"; | ||
homepage = "https://github.com/sindresorhus/awesome-lint"; | ||
license = licenses.mit; | ||
maintainers = with maintainers; [ tomodachi94 ]; | ||
mainProgram = "awesome-lint"; | ||
platforms = platforms.all; | ||
broken = true; | ||
}; | ||
} |
Oops, something went wrong.