dtrx: 8.4.0 -> 8.5.0 (#225953)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Brian McKenna 2023-04-22 00:32:33 +10:00 committed by GitHub
parent 3d2414576f
commit aec122af56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,15 +21,20 @@
python3Packages.buildPythonApplication rec {
pname = "dtrx";
version = "8.4.0";
version = "8.5.0";
src = fetchFromGitHub {
owner = "dtrx-py";
repo = "dtrx";
rev = "refs/tags/${version}";
sha256 = "sha256-G+W0qY8s30cYSmOEy9Kkx+Wr48n7+6FuzL34GvwdKtg=";
sha256 = "sha256-jx2IHa7Ztg8Dbwgm8mSJQKtNpg0sg5axGssBMTAMDI0=";
};
# https://github.com/dtrx-py/dtrx/issues/45
postPatch = ''
sed -i "s/platform==unsupported/# platform==unsupported/" setup.cfg
'';
postInstall =
let
archivers = lib.makeBinPath (
@ -41,7 +46,7 @@ python3Packages.buildPythonApplication rec {
wrapProgram "$out/bin/dtrx" --prefix PATH : "${archivers}"
'';
buildInputs = [ python3Packages.twine ];
nativeBuildInputs = [ python3Packages.invoke ];
meta = with lib; {
description = "Do The Right Extraction: A tool for taking the hassle out of extracting archives";