Unverified Commit dbb5af2d authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #219709 from dotlambda/unrpa-optional-deps

python310Packages.unrpa: specify passthru.optional-dependencies
parents 2fd55ed4 42613a29
Loading
Loading
Loading
Loading
+15 −3
Original line number Diff line number Diff line
{ lib, buildPythonPackage, fetchPypi, uncompyle6, isPy27 }:
{ lib
, buildPythonPackage
, fetchPypi
, uncompyle6
, pythonOlder
}:

buildPythonPackage rec {
  pname = "unrpa";
  version = "2.3.0";
  format = "setuptools";

  disabled = isPy27;
  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    sha256 = "0yl4qdwp3in170ks98qnldqz3r2iyzil5g1775ccg98qkh95s724";
  };

  propagatedBuildInputs = [ uncompyle6 ];
  passthru.optional-dependencies = {
    ZiX = [ uncompyle6 ];
  };

  pythonImportsCheck = [ "unrpa" ];

  # upstream has no unit tests
  doCheck = false;

  meta = with lib; {
    homepage = "https://github.com/Lattyware/unrpa";
    changelog = "https://github.com/Lattyware/unrpa/releases/tag/${version}";
    description = "A program to extract files from the RPA archive format";
    license = licenses.gpl3;
    maintainers = with maintainers; [ leo60228 ];
+1 −1
Original line number Diff line number Diff line
@@ -13034,7 +13034,7 @@ with pkgs;
  unrtf = callPackage ../tools/text/unrtf { };
  unrpa = with python38Packages; toPythonApplication unrpa;
  unrpa = with python3Packages; toPythonApplication unrpa;
  untex = callPackage ../tools/text/untex { };