aboutsummaryrefslogtreecommitdiff
path: root/pkgs/applications/graphics/dosage
diff options
context:
space:
mode:
authorAndré-Patrick Bubel <code@apb.name>2018-04-13 22:10:21 +0200
committerAndré-Patrick Bubel <code@apb.name>2018-04-13 22:58:38 +0200
commit8d61dd8ce38acb025e471a831482c47cecb0df52 (patch)
treea7a367da4e55c21e9501a3b9a939b78631d6a3b0 /pkgs/applications/graphics/dosage
parenta415a95e7c520b1f0f86c9729a54f5c8e7bd416c (diff)
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.
Diffstat (limited to 'pkgs/applications/graphics/dosage')
-rw-r--r--pkgs/applications/graphics/dosage/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/dosage/default.nix b/pkgs/applications/graphics/dosage/default.nix
new file mode 100644
index 000000000000..48302d6bcb9c
--- /dev/null
+++ b/pkgs/applications/graphics/dosage/default.nix
@@ -0,0 +1,24 @@
+{ 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/;
+ };
+}