2019-11-13 15:40:13 +01:00
|
|
|
{ stdenv, python3Packages, fetchFromGitHub }:
|
2018-04-13 22:10:21 +02:00
|
|
|
|
2019-11-13 15:40:13 +01:00
|
|
|
python3Packages.buildPythonApplication rec {
|
2018-04-13 22:10:21 +02:00
|
|
|
pname = "dosage";
|
|
|
|
version = "2018.04.08";
|
|
|
|
PBR_VERSION = version;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "webcomics";
|
|
|
|
repo = "dosage";
|
|
|
|
rev = "b2fdc13feb65b93762928f7e99bac7b1b7b31591";
|
|
|
|
sha256 = "1p6vllqaf9s6crj47xqp97hkglch1kd4y8y4lxvzx3g2shhhk9hh";
|
|
|
|
};
|
2019-11-13 15:40:13 +01:00
|
|
|
checkInputs = with python3Packages; [ pytest responses ];
|
|
|
|
propagatedBuildInputs = with python3Packages; [ colorama lxml requests pbr setuptools ];
|
2018-04-13 22:10:21 +02:00
|
|
|
|
2019-11-13 15:40:13 +01:00
|
|
|
disabled = python3Packages.pythonOlder "3.3";
|
2018-04-13 22:10:21 +02:00
|
|
|
|
2018-04-13 23:25:59 +02:00
|
|
|
checkPhase = ''
|
|
|
|
py.test tests/
|
|
|
|
'';
|
|
|
|
|
2018-04-13 22:10:21 +02:00
|
|
|
meta = {
|
|
|
|
description = "A comic strip downloader and archiver";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://dosage.rocks/";
|
2018-08-05 16:33:00 +02:00
|
|
|
license = stdenv.lib.licenses.mit;
|
2018-04-13 22:10:21 +02:00
|
|
|
};
|
|
|
|
}
|