12 , unar # Free alternative to unrar
22 compression-utilities = [
38 buildPythonPackage rec {
41 format = "setuptools";
43 #pypi doesn't have test data
44 src = fetchFromGitHub {
47 rev = "upstream/${version}";
48 hash = "sha256-B2P6JldMOAxr4WS+wST+kRVvEm41zH3Nh5LLKoFOws4=";
52 substituteInPlace patoolib/util.py \
53 --replace "path = None" 'path = os.environ["PATH"] + ":${lib.makeBinPath compression-utilities}"'
56 nativeCheckInputs = [ pytestCheckHook ] ++ compression-utilities;
63 ] ++ lib.optionals stdenv.isDarwin [
68 description = "portable archive file manager";
69 mainProgram = "patool";
70 homepage = "https://wummel.github.io/patool/";
71 license = licenses.gpl3;
72 maintainers = with maintainers; [ marius851000 ];