summary refs log tree commit diff
path: root/pkgs/development/perl-modules/Compress-Raw-Bzip2/default.nix
blob: 6515efada6f09f71b9cc2d1584581b7b9bf1c745 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{ fetchurl, buildPerlPackage, bzip2 }:

buildPerlPackage rec {
  name = "Compress-Raw-Bzip2-2.049";

  src = fetchurl {
    url = "mirror://cpan/modules/by-module/Compress/${name}.tar.gz";
    sha256 = "7881473e0ab5ecc6ce609382e4f7466fb32217e928eef27e7084702bb07ac172";
  };

  # Don't build a private copy of bzip2.
  BUILD_BZIP2 = false;
  BZIP2_LIB = "${bzip2}/lib";
  BZIP2_INCLUDE = "${bzip2}/include";
}