Skip to content

Commit

Permalink
Merge pull request #107642 from trobert/conduktor
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored Sep 28, 2022
2 parents f88b09a + 365db22 commit 88a2353
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 0 deletions.
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13676,6 +13676,12 @@
githubId = 9870613;
name = "Hubert Mühlhans";
};
trobert = {
email = "thibaut.robert@gmail.com";
github = "trobert";
githubId = 504580;
name = "Thibaut Robert";
};
troydm = {
email = "d.geurkov@gmail.com";
github = "troydm";
Expand Down
52 changes: 52 additions & 0 deletions pkgs/applications/misc/conduktor/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{ stdenv, lib, fetchurl, fetchzip, jdk11, unzip, makeWrapper, makeDesktopItem, copyDesktopItems }:

stdenv.mkDerivation rec {
pname = "conduktor";
version = "2.15.1";

src = fetchzip {
url = "https://github.com/conduktor/builds/releases/download/v${version}/Conduktor-linux-${version}.zip";
sha256 = "1kr5yh9piqbl6njsnxgh6jzf3vifw8ja5x4qm4znmzi3r49sw0gx";
};

nativeBuildInputs = [ makeWrapper copyDesktopItems ];

desktopItems = makeDesktopItem {
type = "Application";
name = pname;
desktopName = "Conduktor";
genericName = meta.description;
exec = pname;
icon = fetchurl {
url = "https://github.com/conduktor/builds/raw/v${version}/.github/resources/Conduktor.png";
sha256 = "0s7p74qclvac8xj2m22gfxx5m2c7cf0nqpk5sb049p2wvryhn2j4";
};
comment = "A beautiful and fully-featured desktop client for Apache Kafka";
};

dontConfigure = true;
dontBuild = true;

installPhase = ''
runHook preInstall
mkdir -p $out/share/applications
mv * $out
wrapProgram "$out/bin/conduktor" --set JAVA_HOME "${jdk11.home}"
runHook postInstall
'';

meta = with lib; {
description = "Apache Kafka Desktop Client";
longDescription = ''
Conduktor is a GUI over the Kafka ecosystem, to make the development
and management of Apache Kafka clusters as easy as possible.
'';
homepage = "https://www.conduktor.io/";
changelog = "https://www.conduktor.io/changelog/#${version}";
license = licenses.unfree;
maintainers = with maintainers; [ trobert ];
platforms = platforms.linux;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5460,6 +5460,8 @@ with pkgs;

conda = callPackage ../tools/package-management/conda { };

conduktor = callPackage ../applications/misc/conduktor { };

console-bridge = callPackage ../development/libraries/console-bridge { };

convbin = callPackage ../tools/misc/convbin { };
Expand Down

0 comments on commit 88a2353

Please sign in to comment.