buildah: 0.12 -> 1.1

authored by

Antoine Eiche and committed by
Profpatsch
8e986302 22045985

+7 -4
+7 -4
pkgs/development/tools/buildah/default.nix
··· 1 { stdenv, lib, buildGoPackage, fetchFromGitHub, runCommand 2 - , gpgme, libgpgerror, devicemapper, btrfs-progs, pkgconfig, ostree, libselinux 3 , go-md2man }: 4 5 let 6 - version = "0.12"; 7 8 src = fetchFromGitHub { 9 rev = "v${version}"; 10 owner = "projectatomic"; 11 repo = "buildah"; 12 - sha256 = "0xyq7rv0lj6bxwh2rnf44w9gjcqbdkfcdff88023b9vlsc8h4k0m"; 13 }; 14 goPackagePath = "github.com/projectatomic/buildah"; 15 ··· 22 inherit goPackagePath; 23 excludedPackages = [ "tests" ]; 24 25 nativeBuildInputs = [ pkgconfig go-md2man.bin ]; 26 - buildInputs = [ gpgme libgpgerror devicemapper btrfs-progs ostree libselinux ]; 27 28 # Copied from the skopeo package, doesn’t seem to make a difference? 29 # If something related to these libs failed, uncomment these lines.
··· 1 { stdenv, lib, buildGoPackage, fetchFromGitHub, runCommand 2 + , gpgme, libgpgerror, devicemapper, btrfs-progs, pkgconfig, ostree, libselinux, libseccomp 3 , go-md2man }: 4 5 let 6 + version = "1.1"; 7 8 src = fetchFromGitHub { 9 rev = "v${version}"; 10 owner = "projectatomic"; 11 repo = "buildah"; 12 + sha256 = "0pc7bzcaafrz56glygzhnbilgaz4ca2kmklw8njfgamffbw4d54p"; 13 }; 14 goPackagePath = "github.com/projectatomic/buildah"; 15 ··· 22 inherit goPackagePath; 23 excludedPackages = [ "tests" ]; 24 25 + # Optimizations break compilation of libseccomp c bindings 26 + hardeningDisable = [ "fortify" ]; 27 + 28 nativeBuildInputs = [ pkgconfig go-md2man.bin ]; 29 + buildInputs = [ gpgme libgpgerror devicemapper btrfs-progs ostree libselinux libseccomp ]; 30 31 # Copied from the skopeo package, doesn’t seem to make a difference? 32 # If something related to these libs failed, uncomment these lines.