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

with bionix;

input:

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