blob: b53b03d26e36498b8dc402ea0aa412eed62626c2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{ lib, fetchFromGitHub, buildGoModule }:
with lib;
buildGoModule rec {
pname = "fcct";
version = "0.8.0";
src = fetchFromGitHub {
owner = "coreos";
repo = "fcct";
rev = "v${version}";
sha256 = "0w3vhfjpmpahb08fp6czixhlqhk6izglmwdpj2l19ksz8fc8aq54";
};
vendorSha256 = null;
doCheck = false;
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;
};
}
|