1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +00:00

Merge pull request #119327 from ruuda/butane-0.11.0

butane: 0.10.0 -> 0.11.0
This commit is contained in:
Sandro 2021-04-14 19:19:01 +02:00 committed by GitHub
commit 7b037c94cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 10 deletions

View file

@ -3,14 +3,14 @@
with lib;
buildGoModule rec {
pname = "fcct";
version = "0.10.0";
pname = "butane";
version = "0.11.0";
src = fetchFromGitHub {
owner = "coreos";
repo = "fcct";
repo = "butane";
rev = "v${version}";
sha256 = "0gxaj2fy889fl5vhb4s89rhih9a65aqjsz2yffhi5z4fa2im8szv";
sha256 = "1s4rkq7mj1lyi8h47jyfy3qygfxhrmpihdy8rcnn55gcy04lm0qc";
};
vendorSha256 = null;
@ -20,17 +20,17 @@ buildGoModule rec {
subPackages = [ "internal" ];
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 = "Translates Fedora CoreOS configs into Ignition configs";
description = "Translates human-readable Butane configs into machine-readable Ignition configs";
license = licenses.asl20;
homepage = "https://github.com/coreos/fcct";
homepage = "https://github.com/coreos/butane";
maintainers = with maintainers; [ elijahcaine ruuda ];
platforms = platforms.unix;
};

View file

@ -185,6 +185,7 @@ mapAliases ({
exfat-utils = exfat; # 2015-09-11
facette = throw "facette has been removed."; # added 2020-01-06
fast-neural-doodle = throw "fast-neural-doodle has been removed, as the upstream project has been abandoned"; # added 2020-03-28
fedora-coreos-config-transpiler = throw "fedora-coreos-config-transpiler has been renamed to 'butane'."; # added 2021-04-13
fetchFromGithub = throw "You meant fetchFromGitHub, with a capital H.";
ffadoFull = ffado; # added 2018-05-01
firefox-esr-68 = throw "Firefox 68 ESR reached end of life with its final release 68.12esr on 2020-08-25 and was therefore removed from nixpkgs";

View file

@ -1240,8 +1240,6 @@ in
fedora-backgrounds = callPackage ../data/misc/fedora-backgrounds { };
fedora-coreos-config-transpiler = callPackage ../development/tools/fedora-coreos-config-transpiler { };
ccextractor = callPackage ../applications/video/ccextractor { };
cconv = callPackage ../tools/text/cconv { };
@ -1748,6 +1746,8 @@ in
blur-effect = callPackage ../tools/graphics/blur-effect { };
butane = callPackage ../development/tools/butane { };
charles = charles4;
inherit (callPackage ../applications/networking/charles {})
charles3