aboutsummaryrefslogtreecommitdiff
path: root/tools/compression-bzip2.nix
blob: 6dfb74987d15c2df7291c4b93b76439709aa2d6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{bionix}:

with bionix;

input:

stage {
  name = "bzip2";
  buildInputs = with pkgs; [ bzip2 ];
  buildCommand = "bzip2 < ${input} > $out";
  passthru.filetype = filetype.bz2 input.filetype;
}