diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2022-01-04 00:02:40 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-04 00:02:40 +0000 |
commit | 25662d01aee408f6d0f01c9ba5508eb0e70f6652 (patch) | |
tree | aee787acd36a886f452bc23afddb42734b45521c /pkgs/tools/compression | |
parent | 1bcd2863e3b9457d204e0ef177cbaff139505fe0 (diff) | |
parent | bfc5fca3426bafa452b466e4b09791563db91870 (diff) | |
download | nixpkgs-25662d01aee408f6d0f01c9ba5508eb0e70f6652.tar nixpkgs-25662d01aee408f6d0f01c9ba5508eb0e70f6652.tar.gz nixpkgs-25662d01aee408f6d0f01c9ba5508eb0e70f6652.tar.bz2 nixpkgs-25662d01aee408f6d0f01c9ba5508eb0e70f6652.tar.lz nixpkgs-25662d01aee408f6d0f01c9ba5508eb0e70f6652.tar.xz nixpkgs-25662d01aee408f6d0f01c9ba5508eb0e70f6652.tar.zst nixpkgs-25662d01aee408f6d0f01c9ba5508eb0e70f6652.zip |
Merge staging-next into staging
Diffstat (limited to 'pkgs/tools/compression')
-rw-r--r-- | pkgs/tools/compression/dtrx/default.nix | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/pkgs/tools/compression/dtrx/default.nix b/pkgs/tools/compression/dtrx/default.nix deleted file mode 100644 index 6c4f2f6e854..00000000000 --- a/pkgs/tools/compression/dtrx/default.nix +++ /dev/null @@ -1,45 +0,0 @@ -{ lib, fetchurl, python2Packages -, gnutar, unzip, lhasa, rpm, binutils, cpio, gzip, p7zip, cabextract, unrar, unshield -, bzip2, xz, lzip -# unzip is handled by p7zip -, unzipSupport ? false -, unrarSupport ? false }: - -let - archivers = lib.makeBinPath ([ gnutar lhasa rpm binutils cpio gzip p7zip cabextract unshield ] - ++ lib.optional (unzipSupport) unzip - ++ lib.optional (unrarSupport) unrar - ++ [ bzip2 xz lzip ]); - -in python2Packages.buildPythonApplication rec { - pname = "dtrx"; - version = "7.1"; - - src = fetchurl { - url = "https://brettcsmith.org/2007/dtrx/dtrx-${version}.tar.gz"; - sha256 = "15yf4n27zbhvv0byfv3i89wl5zn6jc2wbc69lk5a3m6rx54gx6hw"; - }; - - postInstall = '' - wrapProgram "$out/bin/dtrx" --prefix PATH : "${archivers}" - ''; - - checkPhase = '' - python2 tests/compare.py - ''; - - checkInputs = with python2Packages; [ - pyyaml - ]; - - # custom test suite fails - doCheck = false; - - meta = with lib; { - description = "Do The Right Extraction: A tool for taking the hassle out of extracting archives"; - homepage = "https://brettcsmith.org/2007/dtrx/"; - license = licenses.gpl3Plus; - maintainers = [ maintainers.spwhitt ]; - platforms = platforms.all; - }; -} |