mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 00:53:57 +00:00
d994dabace
We do not use a "plugin system" for Git addons anymore, and therefore this directory is no longer useful. Indeed that directory is way more confusing, given that it includes more than mere Git addons, going from Bitbucket server command-line tools to complete rewrites of Git in exotic programming languages. Also, without this directory, the mental load of decision-making reduces a lot. When anyone is interested in including a new git-related tool, just put it into pkgs/applications/version-management, without apologies.
35 lines
733 B
Nix
35 lines
733 B
Nix
{ lib
|
|
, buildGoModule
|
|
, gitls
|
|
, fetchFromGitHub
|
|
, testers
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "gitls";
|
|
version = "1.0.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "hahwul";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-kLkH/nNidd1QNPKvo7fxZwMhTgd4AVB8Ofw0Wo0z6c0=";
|
|
};
|
|
|
|
vendorSha256 = null;
|
|
|
|
passthru.tests.version = testers.testVersion {
|
|
package = gitls;
|
|
command = "gitls -version";
|
|
version = "v${version}";
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Tools to enumerate git repository URL";
|
|
homepage = "https://github.com/hahwul/gitls";
|
|
changelog = "https://github.com/hahwul/gitls/releases/tag/v${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|