1{ lib, buildPythonPackage, fetchPypi, unrar }: 2 3buildPythonPackage rec { 4 pname = "unrardll"; 5 version = "0.1.5"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "8bebb480b96cd49d4290d814914f39cff75cf0fa0514c4790bb32b1757227c78"; 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}