diff options
author | figsoda <figsoda@pm.me> | 2021-09-24 21:48:16 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-24 21:48:16 -0400 |
commit | 930b9ba51dedde678ba4c567c945de74da830d39 (patch) | |
tree | 80b887088c9cd9b8e1259eaca165b0914bd253f5 | |
parent | a1fe966e82a066bf9799f0652b3f91d22326d589 (diff) | |
parent | fdad7052146efeb0e99bcd14419771177af18ffd (diff) | |
download | nixlib-930b9ba51dedde678ba4c567c945de74da830d39.tar nixlib-930b9ba51dedde678ba4c567c945de74da830d39.tar.gz nixlib-930b9ba51dedde678ba4c567c945de74da830d39.tar.bz2 nixlib-930b9ba51dedde678ba4c567c945de74da830d39.tar.lz nixlib-930b9ba51dedde678ba4c567c945de74da830d39.tar.xz nixlib-930b9ba51dedde678ba4c567c945de74da830d39.tar.zst nixlib-930b9ba51dedde678ba4c567c945de74da830d39.zip |
Merge pull request #136089 from onny/abuild
abuild: init at 3.7.0
-rw-r--r-- | pkgs/development/tools/abuild/default.nix | 54 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 56 insertions, 0 deletions
diff --git a/pkgs/development/tools/abuild/default.nix b/pkgs/development/tools/abuild/default.nix new file mode 100644 index 000000000000..144ec8be9d4e --- /dev/null +++ b/pkgs/development/tools/abuild/default.nix @@ -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; + }; + +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c083038afa72..28b6747e5a07 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -13395,6 +13395,8 @@ with pkgs; abi-dumper = callPackage ../development/tools/misc/abi-dumper { }; + abuild = callPackage ../development/tools/abuild { }; + adtool = callPackage ../tools/admin/adtool { }; inherit (callPackage ../development/tools/alloy { |