mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-29 07:32:58 +00:00
perlPackages.AlienFFI: init at 0.27
This commit is contained in:
parent
01adead0b4
commit
9a4eb3234a
29
pkgs/development/perl-modules/Alien-FFI-dont-download.patch
Normal file
29
pkgs/development/perl-modules/Alien-FFI-dont-download.patch
Normal 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
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user