confluent-platform: Rename confluent package and update to 5.2.1

* Renamed confluent -> confluent-plaform
* Added longer description to search index by Apache Kafka term
* Upgraded to 5.2.1 version of the platform
This commit is contained in:
Ante Salinovic 2019-05-24 11:17:49 +10:00
parent 1bc73d1a9a
commit f25550e840
2 changed files with 10 additions and 13 deletions

View file

@ -1,18 +1,15 @@
{ stdenv, lib, fetchurl, jre, makeWrapper, bash, gnused }: { stdenv, lib, fetchurl, jre, makeWrapper, bash, gnused }:
with lib; let
scalaVersion = "2.12";
let in
confluentVersion = "4.1.1"; stdenv.mkDerivation rec {
scalaVersion = "2.11"; name = "confluent-platform-${version}";
sha256 = "e00eb4c6c7445ad7a43c9cd237778d1cd184322aebf5ff64a8e9806ba2cc27aa"; version = "5.2.1";
in stdenv.mkDerivation rec {
name = "confluent-${version}";
version = "${confluentVersion}-${scalaVersion}";
src = fetchurl { src = fetchurl {
url = "http://packages.confluent.io/archive/${versions.majorMinor confluentVersion}/confluent-oss-${version}.tar.gz"; url = "http://packages.confluent.io/archive/${lib.versions.majorMinor version}/confluent-${version}-${scalaVersion}.tar.gz";
inherit sha256; sha256 = "11fdcc557aca782e87352ed6e655c37c71fb7b3a003796ee956970b01dedbbb1";
}; };
buildInputs = [ jre makeWrapper bash ]; buildInputs = [ jre makeWrapper bash ];
@ -41,7 +38,7 @@ in stdenv.mkDerivation rec {
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = https://www.confluent.io/; homepage = https://www.confluent.io/;
description = "Confluent platform"; description = "Confluent event streaming platform based on Apache Kafka";
license = licenses.asl20; license = licenses.asl20;
maintainers = [ maintainers.offline ]; maintainers = [ maintainers.offline ];
platforms = platforms.unix; platforms = platforms.unix;

View file

@ -8944,7 +8944,7 @@ in
corundum = callPackage ../development/tools/corundum { }; corundum = callPackage ../development/tools/corundum { };
confluent = callPackage ../servers/confluent {}; confluent-platform = callPackage ../servers/confluent-platform {};
ctags = callPackage ../development/tools/misc/ctags { }; ctags = callPackage ../development/tools/misc/ctags { };