forked from mirrors/nixpkgs
Merge pull request #98430 from nyanloutre/add_python_unrardll
calibre: Add python unrardll
This commit is contained in:
commit
c3ae8cd1cb
|
@ -99,7 +99,7 @@ mkDerivation rec {
|
|||
sip
|
||||
# the following are distributed with calibre, but we use upstream instead
|
||||
odfpy
|
||||
]
|
||||
] ++ lib.optional (unrarSupport) unrardll
|
||||
);
|
||||
|
||||
installPhase = ''
|
||||
|
|
22
pkgs/development/python-modules/unrardll/default.nix
Normal file
22
pkgs/development/python-modules/unrardll/default.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, unrar }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "unrardll";
|
||||
version = "0.1.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "4149c0729cf96a0bae80360e7d94dc40af1088c8da7f6eb8d10e09b8632e92ad";
|
||||
};
|
||||
|
||||
buildInputs = [ unrar ];
|
||||
|
||||
pythonImportsCheck = [ "unrardll" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Wrap the Unrar DLL to enable unraring of files in python";
|
||||
homepage = "https://github.com/kovidgoyal/unrardll";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ nyanloutre ];
|
||||
};
|
||||
}
|
|
@ -7568,6 +7568,8 @@ in {
|
|||
|
||||
unpaddedbase64 = callPackage ../development/python-modules/unpaddedbase64 { };
|
||||
|
||||
unrardll = callPackage ../development/python-modules/unrardll { };
|
||||
|
||||
unrpa = callPackage ../development/python-modules/unrpa { };
|
||||
|
||||
untangle = callPackage ../development/python-modules/untangle { };
|
||||
|
|
Loading…
Reference in a new issue