1{ stdenv, buildPythonPackage, fetchPypi
2, mock, unittest2, nose
3, twiggy, requests, offtrac, bugzilla, taskw, dateutil, pytz, keyring, six
4, jinja2, pycurl, dogpile_cache, lockfile, click, pyxdg, future15 }:
5
6buildPythonPackage rec {
7 pname = "bugwarrior";
8 version = "1.6.0";
9
10 src = fetchPypi {
11 inherit pname version;
12 sha256 = "cfa4fac19b4f4638928347b8fe192315f72813c3e8ed668867e5891338c7e4ec";
13 };
14
15 buildInputs = [ mock unittest2 nose /* jira megaplan */ ];
16 propagatedBuildInputs = [
17 twiggy requests offtrac bugzilla taskw dateutil pytz keyring six
18 jinja2 pycurl dogpile_cache lockfile click pyxdg future15
19 ];
20
21 # for the moment jira>=0.22 and megaplan>=1.4 are missing for running the test suite.
22 doCheck = false;
23
24 meta = with stdenv.lib; {
25 homepage = https://github.com/ralphbean/bugwarrior;
26 description = "Sync github, bitbucket, bugzilla, and trac issues with taskwarrior";
27 license = licenses.gpl3Plus;
28 platforms = platforms.all;
29 maintainers = with maintainers; [ pierron ];
30 };
31}