{ lib, stdenv, fetchurl }: stdenv.mkDerivation rec { pname = "lhasa"; version = "0.3.1"; src = fetchurl { url = "https://soulsphere.org/projects/lhasa/lhasa-${version}.tar.gz"; sha256 = "092zi9av18ma20c6h9448k0bapvx2plnp292741dvfd9hmgqxc1z"; }; meta = with lib; { description = "Free Software replacement for the Unix LHA tool"; longDescription = '' Lhasa is a Free Software replacement for the Unix LHA tool, for decompressing .lzh (LHA / LHarc) and .lzs (LArc) archives. The backend for the tool is a library, so that it can be reused for other purposes. ''; license = licenses.isc; homepage = "http://fragglet.github.io/lhasa"; maintainers = [ maintainers.sander ]; mainProgram = "lha"; platforms = platforms.unix; }; }