nixpkgs/pkgs/applications/misc/pyditz/default.nix

30 lines
754 B
Nix
Raw Normal View History

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