nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildGoModule,
4 fetchFromGitHub,
5}:
6
7buildGoModule rec {
8 pname = "ls-lint";
9 version = "2.3.1";
10
11 src = fetchFromGitHub {
12 owner = "loeffel-io";
13 repo = "ls-lint";
14 rev = "v${version}";
15 sha256 = "sha256-kwZvpZaiS58UFE+qncQ370E8bnEuzQACK0FOAYlJwV0=";
16 };
17
18 vendorHash = "sha256-XbYfHgpZCGv6w/55dGiFcYTQ36f0n3w8XwnC7wIUFro=";
19
20 meta = with lib; {
21 description = "Extremely fast file and directory name linter";
22 mainProgram = "ls_lint";
23 homepage = "https://ls-lint.org/";
24 license = licenses.mit;
25 maintainers = with maintainers; [ flokli ];
26 };
27}