at 23.11-beta 35 lines 786 B view raw
1{ lib, python3Packages, fetchPypi }: 2 3python3Packages.buildPythonApplication rec { 4 pname = "mloader"; 5 version = "1.1.11"; 6 format = "setuptools"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "sha256-SFFjv4RWh1JZtxkDmaun35gKi5xty1ifIItwaz3lot4="; 11 }; 12 13 postPatch = '' 14 substituteInPlace setup.py \ 15 --replace "protobuf~=3.6" "protobuf" 16 ''; 17 18 propagatedBuildInputs = with python3Packages; [ 19 click 20 protobuf 21 requests 22 ]; 23 24 # No tests in repository 25 doCheck = false; 26 27 pythonImportsCheck = [ "mloader" ]; 28 29 meta = with lib; { 30 description = "Command-line tool to download manga from mangaplus"; 31 homepage = "https://github.com/hurlenko/mloader"; 32 license = licenses.gpl3Only; 33 maintainers = with maintainers; [ marsam ]; 34 }; 35}