{ mkDerivation, base, bytestring, bzip2, fetchurl }: mkDerivation { pname = "bzlib"; version = "0.5.0.5"; src = fetchurl { url = "http://example.org/"; sha256 = "abc"; }; libraryHaskellDepends = [ base bytestring ]; librarySystemDepends = [ bzip2 ]; description = "Compression and decompression in the bzip2 format"; license = stdenv.lib.licenses.bsd3; }