Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 8fdfdbf613d8
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: b2bd77259133
Choose a head ref
  • 4 commits
  • 1 file changed
  • 3 contributors

Commits on Aug 3, 2019

  1. confluent-platform: 5.2.1 -> 5.3.0

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/confluent-platform/versions
    r-ryantm committed Aug 3, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    7ac8906 View commit details

Commits on Aug 4, 2019

  1. Copy the full SHA
    1ac4c0f View commit details
  2. Copy the full SHA
    b8d3548 View commit details
  3. Merge pull request #65887 from r-ryantm/auto-update/confluent-platform

    confluent-platform: 5.2.1 -> 5.3.0
    offlinehacker authored Aug 4, 2019
    Copy the full SHA
    b2bd772 View commit details
Showing with 22 additions and 7 deletions.
  1. +22 −7 pkgs/servers/confluent-platform/default.nix
29 changes: 22 additions & 7 deletions pkgs/servers/confluent-platform/default.nix
Original file line number Diff line number Diff line change
@@ -1,20 +1,35 @@
{ stdenv, lib, fetchurl, jre, makeWrapper, bash, gnused }:
{ stdenv, lib, fetchurl, fetchFromGitHub
, jre, makeWrapper, bash, gnused }:

let
scalaVersion = "2.12";
in
stdenv.mkDerivation rec {
name = "confluent-platform-${version}";
version = "5.2.1";
version = "5.3.0";
scalaVersion = "2.12";

src = fetchurl {
url = "http://packages.confluent.io/archive/${lib.versions.majorMinor version}/confluent-${version}-${scalaVersion}.tar.gz";
sha256 = "11fdcc557aca782e87352ed6e655c37c71fb7b3a003796ee956970b01dedbbb1";
sha256 = "14cilq63fib5yvj40504aj6wssi7xw4f7c2jadlzdmdxzh4ixqmp";
};

confluentCli = fetchFromGitHub {
owner = "confluentinc";
repo = "confluent-cli";
rev = "v${version}";
sha256 = "18yvp56b8l074qfkgr4afirgd43g8b023n9ija6dnk6p6dib1f4j";
};

buildInputs = [ jre makeWrapper bash ];

installPhase = ''
cp -R $confluentCli confluent-cli
chmod -R +w confluent-cli
(
export CONFLUENT_HOME=$PWD
cd confluent-cli
make install
)
mkdir -p $out
cp -R bin etc share src $out
rm -rf $out/bin/windows
@@ -32,7 +47,7 @@ stdenv.mkDerivation rec {
wrapProgram $p \
--set JAVA_HOME "${jre}" \
--set KAFKA_LOG_DIR "/tmp/apache-kafka-logs" \
--prefix PATH : "${bash}/bin:${gnused}/bin"
--prefix PATH : "${jre}/bin:${bash}/bin:${gnused}/bin"
done
'';