mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-25 05:23:54 +00:00
Merge pull request #219709 from dotlambda/unrpa-optional-deps
python310Packages.unrpa: specify passthru.optional-dependencies
This commit is contained in:
commit
dbb5af2d44
@ -1,22 +1,34 @@
|
||||
{ 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 ];
|
||||
|
@ -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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user