at master 36 lines 765 B view raw
1{ 2 lib, 3 buildGoModule, 4 gitls, 5 fetchFromGitHub, 6 testers, 7}: 8 9buildGoModule rec { 10 pname = "gitls"; 11 version = "1.0.4"; 12 13 src = fetchFromGitHub { 14 owner = "hahwul"; 15 repo = "gitls"; 16 rev = "v${version}"; 17 hash = "sha256-kLkH/nNidd1QNPKvo7fxZwMhTgd4AVB8Ofw0Wo0z6c0="; 18 }; 19 20 vendorHash = null; 21 22 passthru.tests.version = testers.testVersion { 23 package = gitls; 24 command = "gitls -version"; 25 version = "v${version}"; 26 }; 27 28 meta = { 29 description = "Tools to enumerate git repository URL"; 30 homepage = "https://github.com/hahwul/gitls"; 31 changelog = "https://github.com/hahwul/gitls/releases/tag/v${version}"; 32 license = lib.licenses.mit; 33 maintainers = with lib.maintainers; [ fab ]; 34 mainProgram = "gitls"; 35 }; 36}