python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / security / gitls / default.nix
blob4cda10b380575c4a3e909a6ae46882a82763bbc7
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   vendorSha256 = 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   };