nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

at python-updates 37 lines 745 B view raw
1{ 2 stdenv, 3 lib, 4 fetchFromGitHub, 5 xz, 6 xar, 7}: 8 9stdenv.mkDerivation (finalAttrs: { 10 pname = "pbzx"; 11 version = "1.0.2"; 12 src = fetchFromGitHub { 13 owner = "NiklasRosenstein"; 14 repo = "pbzx"; 15 rev = "v${finalAttrs.version}"; 16 sha256 = "0bwd7wmnhpz1n5p39mh6asfyccj4cm06hwigslcwbb3pdwmvxc90"; 17 }; 18 patches = [ ./stdin.patch ]; 19 buildInputs = [ 20 xz 21 xar 22 ]; 23 buildPhase = '' 24 ${stdenv.cc.targetPrefix}cc pbzx.c -llzma -lxar -o pbzx 25 ''; 26 installPhase = '' 27 mkdir -p $out/bin 28 cp pbzx $out/bin 29 ''; 30 meta = { 31 description = "Stream parser of Apple's pbzx compression format"; 32 platforms = lib.platforms.unix; 33 license = lib.licenses.gpl3; 34 maintainers = [ ]; 35 mainProgram = "pbzx"; 36 }; 37})