nixpkgs/pkgs/tools/misc/mloader/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
803 B
Nix
Raw Normal View History

{ lib, python3Packages }:
2022-07-16 04:20:00 +00:00
python3Packages.buildPythonApplication rec {
pname = "mloader";
version = "1.1.9";
2022-09-19 01:55:57 +00:00
format = "setuptools";
2022-07-16 04:20:00 +00:00
src = python3Packages.fetchPypi {
inherit pname version;
sha256 = "81e4dc7117999d502e3345f8e32df8b16cca226b8b508976dde2de81a4cc2b19";
2022-07-16 04:20:00 +00:00
};
2022-09-19 01:55:57 +00:00
postPatch = ''
substituteInPlace setup.py \
--replace "protobuf~=3.6" "protobuf"
'';
2022-07-16 04:20:00 +00:00
propagatedBuildInputs = with python3Packages; [
click
protobuf
requests
];
# No tests in repository
doCheck = false;
pythonImportsCheck = [ "mloader" ];
meta = with lib; {
description = "Command-line tool to download manga from mangaplus";
homepage = "https://github.com/hurlenko/mloader";
license = licenses.gpl3Only;
maintainers = with maintainers; [ marsam ];
};
}