nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at litex 35 lines 798 B view raw
1{ lib, python3Packages, fetchPypi }: 2 3python3Packages.buildPythonApplication rec { 4 pname = "mloader"; 5 version = "1.1.9"; 6 format = "setuptools"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "81e4dc7117999d502e3345f8e32df8b16cca226b8b508976dde2de81a4cc2b19"; 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}