2023-07-15 17:15:38 +00:00
|
|
|
{ lib, python3Packages, fetchPypi }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "dosage";
|
2021-08-22 07:53:02 +00:00
|
|
|
version = "2.17";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
src = fetchPypi {
|
2021-08-22 07:53:02 +00:00
|
|
|
inherit pname version;
|
|
|
|
sha256 = "0vmxgn9wd3j80hp4gr5iq06jrl4gryz5zgfdd2ah30d12sfcfig0";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = with python3Packages; [
|
2021-08-22 07:53:02 +00:00
|
|
|
pytestCheckHook pytest-xdist responses
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = with python3Packages; [ setuptools-scm ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-08-22 07:53:02 +00:00
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
|
|
colorama imagesize lxml requests setuptools six
|
|
|
|
];
|
|
|
|
|
|
|
|
disabled = python3Packages.pythonOlder "3.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A comic strip downloader and archiver";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "dosage";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://dosage.rocks/";
|
2021-01-17 00:15:33 +00:00
|
|
|
license = lib.licenses.mit;
|
2021-08-22 07:53:02 +00:00
|
|
|
maintainers = with lib.maintainers; [ toonn ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|