mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
container-linux-config-transpiler: init at 0.4.1 (#27486)
This commit is contained in:
parent
699f8e2f65
commit
1fef42dde9
@ -172,6 +172,7 @@
|
||||
ekleog = "Leo Gaspard <leo@gaspard.io>";
|
||||
elasticdog = "Aaron Bull Schaefer <aaron@elasticdog.com>";
|
||||
eleanor = "Dejan Lukan <dejan@proteansec.com>";
|
||||
elijahcaine = "Elijah Caine <elijahcainemv@gmail.com>";
|
||||
elitak = "Eric Litak <elitak@gmail.com>";
|
||||
ellis = "Ellis Whitehead <nixos@ellisw.net>";
|
||||
eperuffo = "Emanuele Peruffo <info@emanueleperuffo.com>";
|
||||
|
@ -0,0 +1,35 @@
|
||||
{ stdenv, lib, fetchFromGitHub, buildGoPackage }:
|
||||
|
||||
with lib;
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "ct-${version}";
|
||||
version = "0.4.1";
|
||||
|
||||
goPackagePath = "github.com/coreos/container-linux-config-transpiler";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "coreos";
|
||||
repo = "container-linux-config-transpiler";
|
||||
rev = "v${version}";
|
||||
sha256="1017xkinja30jcam8p1x2d9q4vkgkfn7gvkad004jkbbmd2216sa";
|
||||
};
|
||||
|
||||
buildFlagsArray = ''
|
||||
-ldflags=-X ${goPackagePath}/internal/version.Raw=v${version}
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
mv $bin/bin/{internal,ct}
|
||||
rm $bin/bin/tools
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Convert a Container Linux Config into Ignition";
|
||||
license = licenses.asl20;
|
||||
homepage = https://github.com/coreos/container-linux-config-transpiler;
|
||||
maintainers = with maintainers; [elijahcaine];
|
||||
platforms = with platforms; unix;
|
||||
};
|
||||
}
|
||||
|
@ -535,6 +535,8 @@ with pkgs;
|
||||
|
||||
bonnie = callPackage ../tools/filesystems/bonnie { };
|
||||
|
||||
container-linux-config-transpiler = callPackage ../development/tools/container-linux-config-transpiler { };
|
||||
|
||||
djmount = callPackage ../tools/filesystems/djmount { };
|
||||
|
||||
dgsh = callPackage ../shells/dgsh { };
|
||||
|
Loading…
Reference in New Issue
Block a user