mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 11:00:19 +03:00
commit
6a9c4efc3c
34
pkgs/tools/security/gitls/default.nix
Normal file
34
pkgs/tools/security/gitls/default.nix
Normal file
@ -0,0 +1,34 @@
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, gitls
|
||||
, fetchFromGitHub
|
||||
, testers
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "gitls";
|
||||
version = "1.0.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hahwul";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-snoWnq+xmaxWzFthhO/gOYQDUMbpIZR9VkqcPaHzS6g=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo=";
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
@ -2309,6 +2309,8 @@ with pkgs;
|
||||
|
||||
gitless = callPackage ../applications/version-management/gitless { };
|
||||
|
||||
gitls = callPackage ../tools/security/gitls { };
|
||||
|
||||
gistyc = with python3Packages; toPythonApplication gistyc;
|
||||
|
||||
gitlint = python3Packages.callPackage ../tools/misc/gitlint { };
|
||||
|
Loading…
Reference in New Issue
Block a user