pv-migrate: init at 1.0.1 (#210373)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
6b6e4be57f
commit
6fe61041dc
2 changed files with 35 additions and 0 deletions
33
pkgs/applications/networking/cluster/pv-migrate/default.nix
Normal file
33
pkgs/applications/networking/cluster/pv-migrate/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "pv-migrate";
|
||||
version = "1.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "utkuozdemir";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-I66J1/N8Ln7KBQfzg39wdZuM6PeJGn1HiNK2YVzDySw";
|
||||
};
|
||||
|
||||
subPackages = [ "cmd/pv-migrate" ];
|
||||
|
||||
vendorSha256 = "sha256-/klqOfM0ZhbzZWOLm0pA0/RB84kvfEzFJN1OQUVSNEA";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X main.version=v${version}"
|
||||
"-X main.commit=${src.rev}"
|
||||
"-X main.date=1970-01-01-00:00:01"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "CLI tool to easily migrate Kubernetes persistent volumes ";
|
||||
homepage = "https://github.com/utkuozdemir/pv-migrate";
|
||||
changelog = "https://github.com/utkuozdemir/pv-migrate/releases/tag/${version}";
|
||||
license = licenses.afl20;
|
||||
maintainers = [ maintainers.ivankovnatsky ];
|
||||
};
|
||||
}
|
|
@ -38212,6 +38212,8 @@ with pkgs;
|
|||
|
||||
prow = callPackage ../applications/networking/cluster/prow { };
|
||||
|
||||
pv-migrate = callPackage ../applications/networking/cluster/pv-migrate { };
|
||||
|
||||
tagref = callPackage ../tools/misc/tagref { };
|
||||
|
||||
tcat = callPackage ../tools/misc/tcat { };
|
||||
|
|
Loading…
Reference in a new issue