2018-11-02 08:47:44 +00:00
|
|
|
{ stdenv, pythonPackages }:
|
|
|
|
|
2019-11-19 10:40:59 +00:00
|
|
|
with pythonPackages;
|
|
|
|
|
|
|
|
let
|
|
|
|
cerberus_1_1 = callPackage ./cerberus.nix { };
|
|
|
|
in buildPythonApplication rec {
|
2018-11-02 08:47:44 +00:00
|
|
|
pname = "pyditz";
|
|
|
|
version = "0.10.3";
|
|
|
|
|
2019-11-19 10:40:59 +00:00
|
|
|
src = fetchPypi {
|
2018-11-02 08:47:44 +00:00
|
|
|
inherit pname version;
|
|
|
|
sha256 = "0hxxz7kxv9gsrr86ccsc31g7bc2agw1ihbxhd659c2m6nrqq5qaf";
|
|
|
|
};
|
2019-11-19 10:40:59 +00:00
|
|
|
nativeBuildInputs = [ setuptools_scm ];
|
|
|
|
propagatedBuildInputs = [ pyyaml six jinja2 cerberus_1_1 ];
|
2018-11-02 08:47:44 +00:00
|
|
|
|
|
|
|
checkPhase = ''
|
2019-11-19 10:40:59 +00:00
|
|
|
${python.interpreter} -m unittest discover
|
2018-11-02 08:47:44 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://pythonhosted.org/pyditz/";
|
2018-11-02 08:47:44 +00:00
|
|
|
description = "Drop-in replacement for the Ditz distributed issue tracker";
|
|
|
|
maintainers = [ maintainers.ilikeavocadoes ];
|
|
|
|
license = licenses.lgpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|