mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
9a624d10e3
Since theey is not active from at least six years. All the packages on this commit became orphans. --------------------------------------------------------------------------- There are files not covered by this commit, because they will be adopted soon. Namely: - pkgs/by-name/zs/zsync/package.nix - pkgs/games/bsdgames/default.nix - pkgs/misc/ghostscript/default.nix - pkgs/os-specific/linux/kernel/perf/default.nix - pkgs/tools/system/logrotate/default.nix
30 lines
821 B
Nix
30 lines
821 B
Nix
{ lib, stdenv, fetchurl, bzip2 }:
|
|
|
|
let major = "1.1";
|
|
version = "${major}.13";
|
|
in
|
|
stdenv.mkDerivation rec {
|
|
pname = "pbzip2";
|
|
inherit version;
|
|
|
|
src = fetchurl {
|
|
url = "https://launchpad.net/pbzip2/${major}/${version}/+download/${pname}-${version}.tar.gz";
|
|
sha256 = "1rnvgcdixjzbrmcr1nv9b6ccrjfrhryaj7jwz28yxxv6lam3xlcg";
|
|
};
|
|
|
|
buildInputs = [ bzip2 ];
|
|
|
|
preBuild = "substituteInPlace Makefile --replace g++ c++";
|
|
|
|
installFlags = [ "PREFIX=$(out)" ];
|
|
|
|
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=reserved-user-defined-literal";
|
|
|
|
meta = with lib; {
|
|
homepage = "http://compression.ca/pbzip2/";
|
|
description = "Parallel implementation of bzip2 for multi-core machines";
|
|
license = licenses.bsd2;
|
|
maintainers = [ ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|