1{ lib, buildPythonPackage, fetchPypi, unrar }:
2
3buildPythonPackage rec {
4 pname = "unrardll";
5 version = "0.1.4";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "4149c0729cf96a0bae80360e7d94dc40af1088c8da7f6eb8d10e09b8632e92ad";
10 };
11
12 buildInputs = [ unrar ];
13
14 pythonImportsCheck = [ "unrardll" ];
15
16 meta = with lib; {
17 description = "Wrap the Unrar DLL to enable unraring of files in python";
18 homepage = "https://github.com/kovidgoyal/unrardll";
19 license = licenses.bsd3;
20 maintainers = with maintainers; [ nyanloutre ];
21 };
22}