uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
38
pkgs/applications/networking/cluster/flink/default.nix
Normal file
38
pkgs/applications/networking/cluster/flink/default.nix
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{ lib, stdenv, fetchurl, makeWrapper, jre }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "flink";
|
||||
version = "1.14.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://apache/flink/${pname}-${version}/${pname}-${version}-bin-scala_2.11.tgz";
|
||||
sha256 = "sha256-qvWUh+EQT/MljN5LCX2JLMEapIEGAbAljrCMTYsFqtw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
buildInputs = [ jre ];
|
||||
|
||||
installPhase = ''
|
||||
rm bin/*.bat || true
|
||||
|
||||
mkdir -p $out/bin $out/opt/flink
|
||||
mv * $out/opt/flink/
|
||||
makeWrapper $out/opt/flink/bin/flink $out/bin/flink \
|
||||
--prefix PATH : ${jre}/bin
|
||||
|
||||
cat <<EOF >> $out/opt/flink/conf/flink-conf.yaml
|
||||
env.java.home: ${jre}"
|
||||
env.log.dir: /tmp/flink-logs
|
||||
EOF
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A distributed stream processing framework";
|
||||
homepage = "https://flink.apache.org";
|
||||
downloadPage = "https://flink.apache.org/downloads.html";
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ mbode ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue