Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 python3Packages, 4 fetchPypi, 5}: 6 7python3Packages.buildPythonApplication rec { 8 pname = "mloader"; 9 version = "1.1.12"; 10 pyproject = true; 11 12 src = fetchPypi { 13 inherit pname version; 14 hash = "sha256-0o4FvhuFudNSEL6fwBVqxldaNePbbidY9utDqXiLRNc="; 15 }; 16 17 build-system = with python3Packages; [ setuptools ]; 18 19 pythonRelaxDeps = [ "protobuf" ]; 20 21 dependencies = with python3Packages; [ 22 click 23 protobuf 24 requests 25 ]; 26 27 # No tests in repository 28 doCheck = false; 29 30 pythonImportsCheck = [ "mloader" ]; 31 32 meta = with lib; { 33 description = "Command-line tool to download manga from mangaplus"; 34 homepage = "https://github.com/hurlenko/mloader"; 35 license = licenses.gpl3Only; 36 maintainers = [ ]; 37 mainProgram = "mloader"; 38 }; 39}