nixpkgs/pkgs/applications/graphics/dosage/default.nix
André-Patrick Bubel 8d61dd8ce3
dosage: 2016.03.17 -> 2018.04.08
Dosage works again, but requires Python 3 now. As it is an application,
it was also moved to its own file.
2018-04-13 22:58:38 +02:00

24 lines
679 B
Nix

{ stdenv, pythonPackages, fetchFromGitHub }:
pythonPackages.buildPythonApplication rec {
name = "${pname}-${version}";
pname = "dosage";
version = "2018.04.08";
PBR_VERSION = version;
src = fetchFromGitHub {
owner = "webcomics";
repo = "dosage";
rev = "b2fdc13feb65b93762928f7e99bac7b1b7b31591";
sha256 = "1p6vllqaf9s6crj47xqp97hkglch1kd4y8y4lxvzx3g2shhhk9hh";
};
buildInputs = [ pythonPackages.pytest ];
propagatedBuildInputs = with pythonPackages; [ colorama lxml requests pbr ];
disabled = pythonPackages.pythonOlder "3.3";
meta = {
description = "A comic strip downloader and archiver";
homepage = http://dosage.rocks/;
};
}