···11+{stdenv, lib, fetchFromGitHub, autoreconfHook}:22+33+stdenv.mkDerivation {44+ pname = "lha";55+ version = "unstable-2021-01-07";66+77+ src = fetchFromGitHub {88+ owner = "jca02266";99+ repo = "lha";1010+ rev = "03475355bc6311f7f816ea9a88fb34a0029d975b";1111+ sha256 = "18w2x0g5yq89yxkxh1fmb05lz4hw7a3b4jmkk95gvh11mwbbr5lm";1212+ };1313+1414+ nativeBuildInputs = [ autoreconfHook ];1515+1616+ meta = with lib; {1717+ description = "LHa is an archiver and compressor using the LZSS and Huffman encoding compression algorithms";1818+ platforms = platforms.unix;1919+ maintainers = [ maintainers.sander ];2020+ # Some of the original LhA code has been rewritten and the current author2121+ # considers adopting a "true" free and open source license for it.2222+ # However, old code is still covered by the original LHa license, which is2323+ # not a free software license (it has additional requirements on commercial2424+ # use).2525+ license = licenses.unfree;2626+ };2727+}