about summary refs log tree commit diff
path: root/pkgs/applications/misc/pyditz
diff options
context:
space:
mode:
authorLassi Haasio <ilikeavocadoes@hush.com>2018-11-02 10:47:44 +0200
committerFrederik Rietdijk <freddyrietdijk@fridh.nl>2019-07-20 13:38:22 +0200
commita8c79e9ab9585085412f61fc1feb0037c5e32c89 (patch)
treedac092f2bb77d520c7bb97c98cd2f4495370ba9d /pkgs/applications/misc/pyditz
parentf5bad02ac7acdcb731c3a3a5cf48911cbe19e2e9 (diff)
pyditz: init at 0.10.3
Diffstat (limited to 'pkgs/applications/misc/pyditz')
-rw-r--r--pkgs/applications/misc/pyditz/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/applications/misc/pyditz/default.nix b/pkgs/applications/misc/pyditz/default.nix
new file mode 100644
index 0000000000000..0f4e743aba4e3
--- /dev/null
+++ b/pkgs/applications/misc/pyditz/default.nix
@@ -0,0 +1,25 @@
+{ stdenv, pythonPackages }:
+
+pythonPackages.buildPythonApplication rec {
+  pname = "pyditz";
+  version = "0.10.3";
+
+  src = pythonPackages.fetchPypi {
+    inherit pname version;
+    sha256 = "0hxxz7kxv9gsrr86ccsc31g7bc2agw1ihbxhd659c2m6nrqq5qaf";
+  };
+  nativeBuildInputs = [ pythonPackages.setuptools_scm ];
+  propagatedBuildInputs = with pythonPackages; [ pyyaml six jinja2 cerberus11 ];
+
+  checkPhase = ''
+    ${pythonPackages.python.interpreter} -m unittest discover
+  '';
+
+  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;
+  };
+}