summary refs log tree commit diff
path: root/pkgs/development/python-modules/ghdiff.nix
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@higgsboson.tk>2017-01-14 00:12:03 +0100
committerJörg Thalheim <joerg@higgsboson.tk>2017-01-18 18:26:30 +0100
commitb9e0da457a593dff4541ad9b8191835ea61d3d48 (patch)
tree0645bfe2ab4092ede3e090cce139a038eeb7a33d /pkgs/development/python-modules/ghdiff.nix
parentf957ce45c477b37fbd6fa559c5b9fc47d1fae86f (diff)
downloadnixlib-b9e0da457a593dff4541ad9b8191835ea61d3d48.tar
nixlib-b9e0da457a593dff4541ad9b8191835ea61d3d48.tar.gz
nixlib-b9e0da457a593dff4541ad9b8191835ea61d3d48.tar.bz2
nixlib-b9e0da457a593dff4541ad9b8191835ea61d3d48.tar.lz
nixlib-b9e0da457a593dff4541ad9b8191835ea61d3d48.tar.xz
nixlib-b9e0da457a593dff4541ad9b8191835ea61d3d48.tar.zst
nixlib-b9e0da457a593dff4541ad9b8191835ea61d3d48.zip
pythonPackages.ghdiff: init at 0.4
Diffstat (limited to 'pkgs/development/python-modules/ghdiff.nix')
-rw-r--r--pkgs/development/python-modules/ghdiff.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/ghdiff.nix b/pkgs/development/python-modules/ghdiff.nix
new file mode 100644
index 000000000000..156d9f23729b
--- /dev/null
+++ b/pkgs/development/python-modules/ghdiff.nix
@@ -0,0 +1,21 @@
+{ stdenv, buildPythonPackage, fetchurl
+, zope_testrunner, six, chardet}:
+
+buildPythonPackage rec {
+  name = "ghdiff-0.4";
+
+  src = fetchurl {
+    url = "mirror://pypi/g/ghdiff/${name}.tar.gz";
+    sha256 = "17mdhi2sq9017nq8rkjhhc87djpi5z99xiil0xz17dyplr7nmkqk";
+  };
+
+  buildInputs = [ zope_testrunner ];
+  propagatedBuildInputs = [ six chardet ];
+
+  meta = with stdenv.lib; {
+    homepage =  https://github.com/kilink/ghdiff;
+    license = license.mit;
+    description = "Generate Github-style HTML for unified diffs.";
+    maintainers = [ maintainers.mic92 ];
+  };
+}