@ -3,14 +3,14 @@
with lib ;
buildGoModule rec {
pname = " f c c t " ;
version = " 0 . 1 0 . 0 " ;
pname = " b u t a n e " ;
version = " 0 . 1 1 . 0 " ;
src = fetchFromGitHub {
owner = " c o r e o s " ;
repo = " f c c t " ;
repo = " b u t a n e " ;
rev = " v ${ version } " ;
sha256 = " 0 g x a j 2 f y 8 8 9 f l 5 v h b 4 s 8 9 r h i h 9 a 6 5 a q j s z 2 y f f h i 5 z 4 f a 2 i m 8 s z v " ;
sha256 = " 1 s 4 r k q 7 m j 1 l y i 8 h 4 7 j y f y 3 q y g f x h r m p i h d y 8 r c n n 5 5 g c y 0 4 l m 0 q c " ;
} ;
vendorSha256 = null ;
@ -20,17 +20,17 @@ buildGoModule rec {
subPackages = [ " i n t e r n a l " ] ;
buildFlagsArray = ''
- ldflags = - X github.com/coreos/fcct /internal/version.Raw = v $ { version }
- ldflags = - X github.com/coreos/butane /internal/version.Raw = v $ { version }
'' ;
postInstall = ''
mv $ out/bin / { internal , fcct }
mv $ out/bin / { internal , butane }
'' ;
meta = {
description = " T r a n s l a t e s F e d o r a C o r e O S c o n f i g s i n t o I g n i t i o n c o n f i g s " ;
description = " T r a n s l a t e s h u m a n - r e a d a b l e B u t a n e c o n f i g s i n t o m a c h i n e - r e a d a b l e I g n i t i o n c o n f i g s " ;
license = licenses . asl20 ;
homepage = " h t t p s : / / g i t h u b . c o m / c o r e o s / f c c t " ;
homepage = " h t t p s : / / g i t h u b . c o m / c o r e o s / b u t a n e " ;
maintainers = with maintainers ; [ elijahcaine ruuda ] ;
platforms = platforms . unix ;
} ;