From 4fd65e8810dcace1763da8ededc84367e3f0fd12 Mon Sep 17 00:00:00 2001 From: Thibaut Robert Date: Sat, 26 Dec 2020 17:28:15 +0100 Subject: [PATCH 1/2] maintainers: add trobert --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index a5338d5155bc2..d010494e3f2ba 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -10247,6 +10247,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"; From 365db22b059dd2e7cf488a7aaf81c458ce6f2d0e Mon Sep 17 00:00:00 2001 From: Thibaut Robert Date: Sat, 26 Dec 2020 17:28:33 +0100 Subject: [PATCH 2/2] conduktor: init at 2.15.1 --- pkgs/applications/misc/conduktor/default.nix | 52 ++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 54 insertions(+) create mode 100644 pkgs/applications/misc/conduktor/default.nix diff --git a/pkgs/applications/misc/conduktor/default.nix b/pkgs/applications/misc/conduktor/default.nix new file mode 100644 index 0000000000000..32d9e527dd49c --- /dev/null +++ b/pkgs/applications/misc/conduktor/default.nix @@ -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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index edc547a7964a9..30d94aa8d335c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3726,6 +3726,8 @@ in conda = callPackage ../tools/package-management/conda { }; + conduktor = callPackage ../applications/misc/conduktor { }; + console-bridge = callPackage ../development/libraries/console-bridge { }; convbin = callPackage ../tools/misc/convbin { };