buildah: 0.12 -> 1.1

This commit is contained in:
Antoine Eiche 2018-07-08 09:49:57 +02:00 committed by Profpatsch
parent 220459858b
commit 8e98630267

View file

@ -1,15 +1,15 @@
{ stdenv, lib, buildGoPackage, fetchFromGitHub, runCommand
, gpgme, libgpgerror, devicemapper, btrfs-progs, pkgconfig, ostree, libselinux
, gpgme, libgpgerror, devicemapper, btrfs-progs, pkgconfig, ostree, libselinux, libseccomp
, go-md2man }:
let
version = "0.12";
version = "1.1";
src = fetchFromGitHub {
rev = "v${version}";
owner = "projectatomic";
repo = "buildah";
sha256 = "0xyq7rv0lj6bxwh2rnf44w9gjcqbdkfcdff88023b9vlsc8h4k0m";
sha256 = "0pc7bzcaafrz56glygzhnbilgaz4ca2kmklw8njfgamffbw4d54p";
};
goPackagePath = "github.com/projectatomic/buildah";
@ -22,8 +22,11 @@ in buildGoPackage rec {
inherit goPackagePath;
excludedPackages = [ "tests" ];
# Optimizations break compilation of libseccomp c bindings
hardeningDisable = [ "fortify" ];
nativeBuildInputs = [ pkgconfig go-md2man.bin ];
buildInputs = [ gpgme libgpgerror devicemapper btrfs-progs ostree libselinux ];
buildInputs = [ gpgme libgpgerror devicemapper btrfs-progs ostree libselinux libseccomp ];
# Copied from the skopeo package, doesnt seem to make a difference?
# If something related to these libs failed, uncomment these lines.