summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2019-08-24 11:38:42 -0400
committerGitHub <noreply@github.com>2019-08-24 11:38:42 -0400
commita980a2c3caa1f292e805c3e76f7759a40eaf8939 (patch)
tree3a363303c9393fd59f50e6bae84c0b52b38547ac
parentandroidStudioPackages.{dev,canary}: 3.6.0.6 -> 3.6.0.7 (diff)
parentbcompare: init at 4.2.10.23938 (diff)
downloadnixpkgs-a980a2c3caa1f292e805c3e76f7759a40eaf8939.tar.gz
Merge pull request #62708 from ktor/bcompare-4.2.10.23938
bcompare: init at 4.2.10.23938
-rw-r--r--maintainers/maintainer-list.nix5
-rw-r--r--pkgs/applications/version-management/bcompare/default.nix66
-rw-r--r--pkgs/top-level/all-packages.nix2
3 files changed, 73 insertions, 0 deletions
diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix
index 64836b746e04..929fc80e8430 100644
--- a/maintainers/maintainer-list.nix
+++ b/maintainers/maintainer-list.nix
@@ -3385,6 +3385,11 @@
githubId = 10544;
name = "Giuluo Eulisse";
};
+ ktor = {
+ email = "kruszewsky@gmail.com";
+ github = "ktor";
+ name = "Pawel Kruszewski";
+ };
ktosiek = {
email = "tomasz.kontusz@gmail.com";
github = "ktosiek";
diff --git a/pkgs/applications/version-management/bcompare/default.nix b/pkgs/applications/version-management/bcompare/default.nix
new file mode 100644
index 000000000000..3dc7792de2ae
--- /dev/null
+++ b/pkgs/applications/version-management/bcompare/default.nix
@@ -0,0 +1,66 @@
+{ autoPatchelfHook, bzip2, cairo, coreutils, fetchurl, gdk-pixbuf, gnome2, gtk2, kcoreaddons, ki18n, kio, kservice, lib, qt4, qt511, qtbase, stdenv, runtimeShell }:
+
+stdenv.mkDerivation rec {
+ pname = "bcompare";
+ version = "4.2.10.23938";
+
+ src = fetchurl {
+ url = "https://www.scootersoftware.com/${pname}-${version}_amd64.deb";
+ sha256 = "1825s1lbaj20d712czmaaqg7mkwfb650r53af2y30j29p6yd4wal";
+ };
+
+ unpackPhase = ''
+ ar x $src
+ tar xfz data.tar.gz
+ '';
+
+ installPhase = ''
+ mkdir -p $out/bin $out/lib $out/share
+ cp -R usr/share $out/
+ cp -R usr/lib $out/
+ cp -R usr/bin $out/
+
+ # Remove library that refuses to be autoPatchelf'ed
+ rm $out/lib/beyondcompare/ext/bcompare_ext_kde.amd64.so
+
+ substituteInPlace $out/bin/bcompare \
+ --replace "/usr/lib/beyondcompare" "$out/lib/beyondcompare" \
+ --replace "/bin/bash" "${runtimeShell}"
+
+ # Create symlink bzip2 library
+ ln -s ${bzip2.out}/lib/libbz2.so.1 $out/lib/beyondcompare/libbz2.so.1.0
+ '';
+
+ nativeBuildInputs = [ autoPatchelfHook ];
+
+ buildInputs = [
+ stdenv.cc.cc.lib
+ gtk2
+ gnome2.pango
+ cairo
+ kio
+ kservice
+ ki18n
+ kcoreaddons
+ gdk-pixbuf
+ qt4
+ bzip2
+ ];
+
+ dontBuild = true;
+ dontConfigure = true;
+
+ meta = with stdenv.lib; {
+ description = "GUI application that allows to quickly and easily compare files and folders";
+ longDescription = ''
+ Beyond Compare is focused. Beyond Compare allows you to quickly and easily compare your files and folders.
+ By using simple, powerful commands you can focus on the differences you're interested in and ignore those you're not.
+ You can then merge the changes, synchronize your files, and generate reports for your records.
+ '';
+ homepage = "https://www.scootersoftware.com";
+ license = licenses.unfree;
+ maintainers = [ maintainers.ktor ];
+ platforms = [ "x86_64-linux" ];
+ };
+
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index df43828460b7..b97879cd5dbf 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -24811,6 +24811,8 @@ in
tsung = callPackage ../applications/networking/tsung {};
+ bcompare = libsForQt5.callPackage ../applications/version-management/bcompare {};
+
qmk_firmware = callPackage ../development/misc/qmk_firmware {
avrgcc = pkgsCross.avr.buildPackages.gcc;
avrbinutils = pkgsCross.avr.buildPackages.binutils;