biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / applications / version-management / gitls / default.nix
blob16ae8c9e6a8bcce573569cfb175abaaff4143c0f
1 { lib
2 , buildGoModule
3 , gitls
4 , fetchFromGitHub
5 , testers
6 }:
8 buildGoModule rec {
9   pname = "gitls";
10   version = "1.0.4";
12   src = fetchFromGitHub {
13     owner = "hahwul";
14     repo = pname;
15     rev = "v${version}";
16     hash = "sha256-kLkH/nNidd1QNPKvo7fxZwMhTgd4AVB8Ofw0Wo0z6c0=";
17   };
19   vendorHash = null;
21   passthru.tests.version = testers.testVersion {
22     package = gitls;
23     command = "gitls -version";
24     version = "v${version}";
25   };
27   meta = with lib; {
28     description = "Tools to enumerate git repository URL";
29     homepage = "https://github.com/hahwul/gitls";
30     changelog = "https://github.com/hahwul/gitls/releases/tag/v${version}";
31     license = licenses.mit;
32     maintainers = with maintainers; [ fab ];
33     mainProgram = "gitls";
34   };