Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
51 lines
950 B
Nix
51 lines
950 B
Nix
{
|
|
lib,
|
|
python3Packages,
|
|
fetchPypi,
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "dosage";
|
|
version = "3.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-mHV/U9Vqv7fSsLYNrCXckkJ1YpsccLd8HsJ78IwLX0Y=";
|
|
};
|
|
|
|
pyproject = true;
|
|
|
|
nativeCheckInputs = with python3Packages; [
|
|
pytestCheckHook
|
|
pytest-xdist
|
|
responses
|
|
];
|
|
|
|
build-system = [ python3Packages.setuptools-scm ];
|
|
|
|
dependencies = with python3Packages; [
|
|
colorama
|
|
imagesize
|
|
lxml
|
|
requests
|
|
six
|
|
platformdirs
|
|
];
|
|
|
|
disabledTests = [
|
|
# need network connect to api.github.com
|
|
"test_update_available"
|
|
"test_no_update_available"
|
|
"test_update_broken"
|
|
"test_current"
|
|
];
|
|
|
|
meta = {
|
|
description = "Comic strip downloader and archiver";
|
|
mainProgram = "dosage";
|
|
homepage = "https://dosage.rocks/";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ toonn ];
|
|
};
|
|
}
|