2021-09-29 15:45:26 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "limesctl";
|
2022-03-04 10:56:37 +00:00
|
|
|
version = "3.0.0";
|
2021-09-29 15:45:26 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sapcc";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-03-04 10:56:37 +00:00
|
|
|
sha256 = "sha256-52Tq6gKozM/IFUyAy8N+YDqlbcFNQw6b2tc268Zco6g=";
|
2021-09-29 15:45:26 +01:00
|
|
|
};
|
|
|
|
|
2022-03-04 10:56:37 +00:00
|
|
|
vendorSha256 = "sha256-7QEb5J5IaxisKjbulyHq5PGVeKAX022Pz+5OV5qD7Uo=";
|
2021-09-29 15:45:26 +01:00
|
|
|
|
|
|
|
subPackages = [ "." ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "CLI for Limes";
|
|
|
|
homepage = "https://github.com/sapcc/limesctl";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
|
|
|
};
|
|
|
|
}
|