1 {stdenv, lib, fetchFromGitHub, xz, xar}:
3 stdenv.mkDerivation rec {
6 src = fetchFromGitHub {
7 owner = "NiklasRosenstein";
10 sha256 = "0bwd7wmnhpz1n5p39mh6asfyccj4cm06hwigslcwbb3pdwmvxc90";
12 buildInputs = [ xz xar ];
14 ${stdenv.cc.targetPrefix}cc pbzx.c -llzma -lxar -o pbzx
21 description = "Stream parser of Apple's pbzx compression format";
22 platforms = platforms.unix;
23 license = licenses.gpl3;
24 maintainers = [ maintainers.matthewbauer ];