Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22477 from peterhoeg/f/kdiff3
kdiff3-qt5: init at 1.7.0
- Loading branch information
Showing
2 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" ]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters