abuild: init at 3.7.0
This commit is contained in:
54
pkgs/development/tools/abuild/default.nix
Normal file
54
pkgs/development/tools/abuild/default.nix
Normal 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;
|
||||
};
|
||||
|
||||
}
|
||||
@@ -2,16 +2,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "stripe-cli";
|
||||
version = "1.7.0";
|
||||
version = "1.5.12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "stripe";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-CO+2BpMIUSaOhdia75zDGR4RZQSaxY05Z6TOKxBlKIw=";
|
||||
sha256 = "sha256-eMxukwaJqsXL0+Euvk5mM+pcAsT3GsF9filuyRL4tXg=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-LOSHoEP0YRjfHav3MXSYPPrrjX6/ItxeVMOihRx0DTQ=";
|
||||
vendorSha256 = "sha256-e7EZ5o30vDpS904/R1y7/Mds7HxQNmsIftrnc1Bj2bc=";
|
||||
|
||||
subPackages = [
|
||||
"cmd/stripe"
|
||||
|
||||
@@ -13169,6 +13169,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 {
|
||||
|
||||
Reference in New Issue
Block a user