2016-02-19 12:12:11 +00:00
|
|
|
{ stdenv, fetchurl, buildPythonApplication, tempita, jinja2, pyyaml, clepy, mock
|
2014-01-02 16:53:57 +00:00
|
|
|
, nose, decorator, docutils
|
|
|
|
}:
|
2013-03-27 19:18:45 +00:00
|
|
|
|
|
|
|
# TODO: pitz has a pitz-shell utility that depends on ipython, but it just
|
|
|
|
# errors out and dies (it probably depends on an old ipython version):
|
|
|
|
#
|
|
|
|
# from IPython.Shell import IPShellEmbed
|
|
|
|
# ImportError: No module named Shell
|
|
|
|
#
|
|
|
|
# pitz-shell is not the primary interface, so it is not critical to have it
|
|
|
|
# working. Concider fixing pitz upstream.
|
|
|
|
|
2016-02-19 12:12:11 +00:00
|
|
|
buildPythonApplication rec {
|
2013-03-27 19:18:45 +00:00
|
|
|
name = "pitz-1.2.4";
|
|
|
|
namePrefix = "";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2016-04-26 13:38:03 +01:00
|
|
|
url = "mirror://pypi/p/pitz/${name}.tar.gz";
|
2013-03-27 19:18:45 +00:00
|
|
|
sha256 = "1k7f3h4acllzqy3mjqnjd4w5jskp03s79b7dx3c85vlmd7824smr";
|
|
|
|
};
|
|
|
|
|
|
|
|
# propagatedBuildInputs is needed for pitz to find its dependencies at
|
|
|
|
# runtime. If we use buildInputs it would just build, not run.
|
|
|
|
propagatedBuildInputs = [ tempita jinja2 pyyaml clepy mock nose decorator docutils ];
|
|
|
|
|
2013-05-20 18:33:18 +01:00
|
|
|
meta = with stdenv.lib; {
|
2013-03-27 19:18:45 +00:00
|
|
|
description = "Distributed bugtracker";
|
2013-05-20 18:33:18 +01:00
|
|
|
license = licenses.bsd3;
|
2013-03-27 19:18:45 +00:00
|
|
|
homepage = http://pitz.tplus1.com/;
|
2013-05-20 18:33:18 +01:00
|
|
|
platforms = platforms.linux;
|
2014-01-02 16:53:57 +00:00
|
|
|
maintainers = [ maintainers.bjornfor ];
|
2013-03-27 19:18:45 +00:00
|
|
|
};
|
|
|
|
}
|