2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, pythonPackages }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
with pythonPackages;
|
|
|
|
|
|
|
|
let
|
|
|
|
cerberus_1_1 = callPackage ./cerberus.nix { };
|
|
|
|
in buildPythonApplication rec {
|
|
|
|
pname = "pyditz";
|
2020-11-30 08:33:03 +00:00
|
|
|
version = "0.11";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-30 08:33:03 +00:00
|
|
|
sha256 = "da0365ae9064e30c4a27526fb0d7a802fda5c8651cda6990d17be7ede89a2551";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools_scm ];
|
|
|
|
propagatedBuildInputs = [ pyyaml six jinja2 cerberus_1_1 ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
${python.interpreter} -m unittest discover
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://pythonhosted.org/pyditz/";
|
|
|
|
description = "Drop-in replacement for the Ditz distributed issue tracker";
|
|
|
|
maintainers = [ maintainers.ilikeavocadoes ];
|
|
|
|
license = licenses.lgpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|