perlPackages.AlienFFI: init at 0.27

This commit is contained in:
TomaSajt 2023-08-20 21:56:14 +02:00
parent 01adead0b4
commit 9a4eb3234a
No known key found for this signature in database
GPG Key ID: F011163C050122A1
2 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,29 @@
diff --git a/alienfile b/alienfile
index 18d6b42..5ccf296 100644
--- a/alienfile
+++ b/alienfile
@@ -11,12 +11,6 @@ plugin 'PkgConfig' => 'libffi';
share {
- plugin 'Download::GitHub' => (
- github_user => 'libffi',
- github_repo => 'libffi',
- asset => 1,
- );
-
plugin 'Build::Autoconf' => ();
my $configure = '--disable-shared --enable-static --disable-builddir';
diff --git a/t/00_diag.t b/t/00_diag.t
index 51dd784..2bc314c 100644
--- a/t/00_diag.t
+++ b/t/00_diag.t
@@ -13,7 +13,6 @@ $modules{$_} = $_ for qw(
Alien::Base
Alien::Build
Alien::Build::MM
- Alien::Build::Plugin::Download::GitHub
Alien::Build::Plugin::Probe::Vcpkg
Capture::Tiny
ExtUtils::MakeMaker

View File

@ -278,6 +278,25 @@ with self; {
};
};
AlienFFI = buildPerlPackage {
pname = "Alien-FFI";
version = "0.27";
src = fetchurl {
url = "mirror://cpan/authors/id/P/PL/PLICEASE/Alien-FFI-0.27.tar.gz";
hash = "sha256-Kbsgg/P5gqOfSFIkP09qEZFpZvIObneGTpkmnRHotl4=";
};
patches = [ ../development/perl-modules/Alien-FFI-dont-download.patch ];
nativeBuildInputs = [ pkgs.pkg-config ];
buildInputs = [ pkgs.libffi CaptureTiny Test2Suite NetSSLeay MojoDOM58 IOSocketSSL ];
propagatedBuildInputs = [ AlienBuild ];
meta = {
homepage = "https://metacpan.org/pod/Alien::FFI";
description = "Build and make available libffi";
license = with lib.licenses; [ artistic1 gpl1Plus ];
maintainers = with maintainers; [ tomasajt ];
};
};
AlienGMP = buildPerlPackage {
pname = "Alien-GMP";
version = "1.16";