Merge pull request #136089 from onny/abuild

abuild: init at 3.7.0
This commit is contained in:
figsoda 2021-09-24 21:48:16 -04:00 committed by GitHub
commit 930b9ba51d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 56 additions and 0 deletions

View File

@ -0,0 +1,54 @@
{ lib
, stdenv
, fetchFromGitLab
, pkg-config
, openssl
, zlib
, busybox
}:
stdenv.mkDerivation rec {
pname = "abuild";
version = "3.7.0";
src = fetchFromGitLab {
domain = "gitlab.alpinelinux.org";
owner = "alpine";
repo = pname;
rev = "v${version}";
sha256 = "1xsik9hyzzq861bi922sb5r8c6r4wpnpxz5kd30i9f20vvfpp5jx";
};
buildInputs = [
openssl
zlib
busybox
];
nativeBuildInputs = [
pkg-config
];
patchPhase = ''
substituteInPlace ./Makefile \
--replace 'chmod 4555' '#chmod 4555'
'';
makeFlags = [
"prefix=${placeholder "out"}"
"CFLAGS=-Wno-error"
];
installFlags = [
"sysconfdir=${placeholder "out"}/etc"
];
meta = with lib; {
description = "Alpine Linux build tools";
homepage = "https://gitlab.alpinelinux.org/alpine/abuild";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ onny ];
platforms = platforms.unix;
};
}

View File

@ -13395,6 +13395,8 @@ with pkgs;
abi-dumper = callPackage ../development/tools/misc/abi-dumper { }; abi-dumper = callPackage ../development/tools/misc/abi-dumper { };
abuild = callPackage ../development/tools/abuild { };
adtool = callPackage ../tools/admin/adtool { }; adtool = callPackage ../tools/admin/adtool { };
inherit (callPackage ../development/tools/alloy { inherit (callPackage ../development/tools/alloy {