Merge pull request #91057 from ruuda/fcct

fedora-coreos-config-transpiler: init at 0.6.0
This commit is contained in:
Florian Klink 2020-06-19 23:20:42 +02:00 committed by GitHub
commit f48db6108d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,37 @@
{ lib, fetchFromGitHub, buildGoModule }:
with lib;
buildGoModule rec {
pname = "fcct";
version = "0.6.0";
src = fetchFromGitHub {
owner = "coreos";
repo = "fcct";
rev = "v${version}";
sha256 = "18hmnip1s0smp58q500p8dfbrmi4i3nsyq22ri5cs53wbvz3ih1l";
};
deleteVendor = true;
vendorSha256 = "0qqkaskmyxgwv9qg3y5lckqf6nchn3bxp69fyqdbvki65p445608";
subPackages = [ "internal" ];
buildFlagsArray = ''
-ldflags=-X github.com/coreos/fcct/internal/version.Raw=v${version}
'';
postInstall = ''
mv $out/bin/{internal,fcct}
'';
meta = {
description = "Translates Fedora CoreOS configs into Ignition configs";
license = licenses.asl20;
homepage = "https://github.com/coreos/fcct";
maintainers = with maintainers; [ elijahcaine ruuda ];
platforms = platforms.unix;
};
}

View File

@ -882,6 +882,8 @@ in
container-linux-config-transpiler = callPackage ../development/tools/container-linux-config-transpiler { };
fedora-coreos-config-transpiler = callPackage ../development/tools/fedora-coreos-config-transpiler { };
ccextractor = callPackage ../applications/video/ccextractor { };
cconv = callPackage ../tools/text/cconv { };