tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
perlPackages.AlienFFI: init at 0.27
TomaSajt
2 years ago
9a4eb323
01adead0
+48
2 changed files
expand all
collapse all
unified
split
pkgs
development
perl-modules
Alien-FFI-dont-download.patch
top-level
perl-packages.nix
+29
pkgs/development/perl-modules/Alien-FFI-dont-download.patch
···
1
1
+
diff --git a/alienfile b/alienfile
2
2
+
index 18d6b42..5ccf296 100644
3
3
+
--- a/alienfile
4
4
+
+++ b/alienfile
5
5
+
@@ -11,12 +11,6 @@ plugin 'PkgConfig' => 'libffi';
6
6
+
7
7
+
share {
8
8
+
9
9
+
- plugin 'Download::GitHub' => (
10
10
+
- github_user => 'libffi',
11
11
+
- github_repo => 'libffi',
12
12
+
- asset => 1,
13
13
+
- );
14
14
+
-
15
15
+
plugin 'Build::Autoconf' => ();
16
16
+
17
17
+
my $configure = '--disable-shared --enable-static --disable-builddir';
18
18
+
diff --git a/t/00_diag.t b/t/00_diag.t
19
19
+
index 51dd784..2bc314c 100644
20
20
+
--- a/t/00_diag.t
21
21
+
+++ b/t/00_diag.t
22
22
+
@@ -13,7 +13,6 @@ $modules{$_} = $_ for qw(
23
23
+
Alien::Base
24
24
+
Alien::Build
25
25
+
Alien::Build::MM
26
26
+
- Alien::Build::Plugin::Download::GitHub
27
27
+
Alien::Build::Plugin::Probe::Vcpkg
28
28
+
Capture::Tiny
29
29
+
ExtUtils::MakeMaker
+19
pkgs/top-level/perl-packages.nix
···
278
278
};
279
279
};
280
280
281
281
+
AlienFFI = buildPerlPackage {
282
282
+
pname = "Alien-FFI";
283
283
+
version = "0.27";
284
284
+
src = fetchurl {
285
285
+
url = "mirror://cpan/authors/id/P/PL/PLICEASE/Alien-FFI-0.27.tar.gz";
286
286
+
hash = "sha256-Kbsgg/P5gqOfSFIkP09qEZFpZvIObneGTpkmnRHotl4=";
287
287
+
};
288
288
+
patches = [ ../development/perl-modules/Alien-FFI-dont-download.patch ];
289
289
+
nativeBuildInputs = [ pkgs.pkg-config ];
290
290
+
buildInputs = [ pkgs.libffi CaptureTiny Test2Suite NetSSLeay MojoDOM58 IOSocketSSL ];
291
291
+
propagatedBuildInputs = [ AlienBuild ];
292
292
+
meta = {
293
293
+
homepage = "https://metacpan.org/pod/Alien::FFI";
294
294
+
description = "Build and make available libffi";
295
295
+
license = with lib.licenses; [ artistic1 gpl1Plus ];
296
296
+
maintainers = with maintainers; [ tomasajt ];
297
297
+
};
298
298
+
};
299
299
+
281
300
AlienGMP = buildPerlPackage {
282
301
pname = "Alien-GMP";
283
302
version = "1.16";