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