mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 06:06:13 +03:00
Merge #173709: bzip3: init at 1.1.3
This commit is contained in:
commit
184698391d
42
pkgs/tools/compression/bzip3/default.nix
Normal file
42
pkgs/tools/compression/bzip3/default.nix
Normal file
@ -0,0 +1,42 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, autoreconfHook
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "bzip3";
|
||||
version = "1.1.3";
|
||||
|
||||
outputs = [ "bin" "dev" "out" ];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kspalaiologos";
|
||||
repo = "bzip3";
|
||||
rev = version;
|
||||
hash = "sha256-puGtaL76p4BzSiTPf3qFgXN4pz90CDU9dziGIszk3to=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
echo -n "${version}" > .tarball-version
|
||||
patchShebangs build-aux
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
"--disable-arch-native"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "A better and stronger spiritual successor to BZip2";
|
||||
homepage = "https://github.com/kspalaiologos/bzip3";
|
||||
changelog = "https://github.com/kspalaiologos/bzip3/blob/${src.rev}/NEWS";
|
||||
license = lib.licenses.lgpl3Plus;
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
# upstream supports Darwin but I couldn't get it to work
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
@ -4524,6 +4524,10 @@ with pkgs;
|
||||
|
||||
bzip2_1_1 = callPackage ../tools/compression/bzip2/1_1.nix { };
|
||||
|
||||
bzip3 = callPackage ../tools/compression/bzip3 {
|
||||
stdenv = clangStdenv;
|
||||
};
|
||||
|
||||
cabextract = callPackage ../tools/archivers/cabextract { };
|
||||
|
||||
cadaver = callPackage ../tools/networking/cadaver { };
|
||||
|
Loading…
Reference in New Issue
Block a user