2021-09-29 15:45:26 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "limesctl";
|
2021-11-03 12:26:03 +00:00
|
|
|
version = "2.0.1";
|
2021-09-29 15:45:26 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sapcc";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-11-03 12:26:03 +00:00
|
|
|
sha256 = "sha256-E6LwNiCykBqjkifUSi6oBWqCEhkRO+03HSKn4p45kh0=";
|
2021-09-29 15:45:26 +01:00
|
|
|
};
|
|
|
|
|
2022-01-31 18:49:33 +00:00
|
|
|
vendorSha256 = "sha256-SzgiWqPuDZuSH8I9im8r+06E085PWyHwLjwxcaoJgQo=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|