diff options
author | Peter Hoeg <peter@speartail.com> | 2017-02-02 13:01:40 +0800 |
---|---|---|
committer | Peter Hoeg <peter@speartail.com> | 2017-02-02 13:01:40 +0800 |
commit | 8d803b90ac81576795538b0242e68deae7145732 (patch) | |
tree | cf570660fb16da52a533c0943ed4310066282a54 /pkgs/tools/text/kdiff3 | |
parent | f66d7823ece6fa4bf99e56fa4b4cb0ab16522839 (diff) |
kdiff3-qt5: init at 1.7.0
Upstream hasn't made a formal release yet of the qt5 version which is why I'm
not replacing the existing kde4 version.
Diffstat (limited to 'pkgs/tools/text/kdiff3')
-rw-r--r-- | pkgs/tools/text/kdiff3/kde5.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/tools/text/kdiff3/kde5.nix b/pkgs/tools/text/kdiff3/kde5.nix new file mode 100644 index 000000000000..f1ae958ed637 --- /dev/null +++ b/pkgs/tools/text/kdiff3/kde5.nix @@ -0,0 +1,37 @@ +{ + kdeDerivation, kdeWrapper, lib, fetchgit, + ecm, kdoctools, kconfig, kinit, kparts +}: + +let + rev = "468652ce70b1214842cef0a021c81d056ec6aa01"; + + unwrapped = kdeDerivation rec { + name = "kdiff3-${version}"; + version = "1.7.0-${lib.strings.substring 0 7 rev}"; + + src = fetchgit { + url = "https://gitlab.com/tfischer/kdiff3"; + sha256 = "126xl7jbb26v2970ba1rw1d6clhd14p1f2avcwvj8wzqmniq5y5m"; + inherit rev; + }; + + preConfigure = "cd kdiff3"; + + nativeBuildInputs = [ ecm kdoctools ]; + + propagatedBuildInputs = [ kconfig kinit kparts ]; + + meta = with lib; { + homepage = http://kdiff3.sourceforge.net/; + license = licenses.gpl2Plus; + description = "Compares and merges 2 or 3 files or directories"; + maintainers = with maintainers; [ viric urkud peterhoeg ]; + platforms = with platforms; linux; + }; + }; + +in kdeWrapper { + inherit unwrapped; + targets = [ "bin/kdiff3" ]; +} |