mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-11 07:23:40 +00:00
abuild: nixfmt
This commit is contained in:
parent
3975f808f0
commit
a17b5209a0
@ -1,29 +1,30 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitLab
|
||||
, gitUpdater
|
||||
, makeWrapper
|
||||
, pkg-config
|
||||
, file
|
||||
, scdoc
|
||||
, openssl
|
||||
, zlib
|
||||
, busybox
|
||||
, apk-tools
|
||||
, perl
|
||||
, findutils
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitLab,
|
||||
gitUpdater,
|
||||
makeWrapper,
|
||||
pkg-config,
|
||||
file,
|
||||
scdoc,
|
||||
openssl,
|
||||
zlib,
|
||||
busybox,
|
||||
apk-tools,
|
||||
perl,
|
||||
findutils,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "abuild";
|
||||
version = "3.13.0";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.alpinelinux.org";
|
||||
owner = "alpine";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-xVxgcBchGfeVo1cgP9iVsWjZ6SHVN6R8zWaE1k3DcXQ=";
|
||||
repo = "abuild";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-xVxgcBchGfeVo1cgP9iVsWjZ6SHVN6R8zWaE1k3DcXQ=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
@ -31,13 +32,15 @@ stdenv.mkDerivation rec {
|
||||
zlib
|
||||
busybox
|
||||
# for $out/bin/apkbuild-cpan and $out/bin/apkbuild-pypi
|
||||
(perl.withPackages (ps: with ps; [
|
||||
LWP
|
||||
JSON
|
||||
ModuleBuildTiny
|
||||
LWPProtocolHttps
|
||||
IPCSystemSimple
|
||||
]))
|
||||
(perl.withPackages (
|
||||
ps: with ps; [
|
||||
LWP
|
||||
JSON
|
||||
ModuleBuildTiny
|
||||
LWPProtocolHttps
|
||||
IPCSystemSimple
|
||||
]
|
||||
))
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -82,12 +85,11 @@ stdenv.mkDerivation rec {
|
||||
|
||||
passthru.updateScript = gitUpdater { };
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Alpine Linux build tools";
|
||||
homepage = "https://gitlab.alpinelinux.org/alpine/abuild";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ onny ];
|
||||
platforms = platforms.unix;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = with lib.maintainers; [ onny ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user