Merge pull request #187414 from wesnel/riot-redis/init
This commit is contained in:
commit
9c10abfc26
3 changed files with 52 additions and 0 deletions
|
@ -13970,6 +13970,15 @@
|
||||||
github = "wentasah";
|
github = "wentasah";
|
||||||
githubId = 140542;
|
githubId = 140542;
|
||||||
};
|
};
|
||||||
|
wesnel = {
|
||||||
|
name = "Wesley Nelson";
|
||||||
|
email = "wgn@wesnel.dev";
|
||||||
|
github = "wesnel";
|
||||||
|
githubId = 43357387;
|
||||||
|
keys = [{
|
||||||
|
fingerprint = "F844 80B2 0CA9 D6CC C7F5 2479 A776 D2AD 099E 8BC0";
|
||||||
|
}];
|
||||||
|
};
|
||||||
wheelsandmetal = {
|
wheelsandmetal = {
|
||||||
email = "jakob@schmutz.co.uk";
|
email = "jakob@schmutz.co.uk";
|
||||||
github = "wheelsandmetal";
|
github = "wheelsandmetal";
|
||||||
|
|
41
pkgs/development/tools/riot-redis/default.nix
Normal file
41
pkgs/development/tools/riot-redis/default.nix
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchzip
|
||||||
|
, jre_headless
|
||||||
|
, makeWrapper
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "riot-redis";
|
||||||
|
version = "2.17.0";
|
||||||
|
|
||||||
|
src = fetchzip {
|
||||||
|
url = "https://github.com/redis-developer/riot/releases/download/v${version}/riot-redis-${version}.zip";
|
||||||
|
sha256 = "sha256-Blhjss0ypHzdd3XTRzzHnIPg8+m1ke7a+8VuBB6oA/0=";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ jre_headless ];
|
||||||
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
mkdir -p $out/bin
|
||||||
|
cp bin/riot-redis $out/bin
|
||||||
|
cp -R lib $out
|
||||||
|
chmod +x $out/bin/*
|
||||||
|
|
||||||
|
wrapProgram $out/bin/riot-redis \
|
||||||
|
--set JAVA_HOME "${jre_headless}"
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/redis-developer/riot";
|
||||||
|
description = "Get data in and out of Redis";
|
||||||
|
license = licenses.asl20;
|
||||||
|
sourceProvenance = with sourceTypes; [ binaryBytecode ];
|
||||||
|
maintainers = with maintainers; [ wesnel ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -514,6 +514,8 @@ with pkgs;
|
||||||
|
|
||||||
resolve-march-native = callPackage ../development/tools/resolve-march-native { };
|
resolve-march-native = callPackage ../development/tools/resolve-march-native { };
|
||||||
|
|
||||||
|
riot-redis = callPackage ../development/tools/riot-redis { };
|
||||||
|
|
||||||
ptouch-print = callPackage ../misc/ptouch-print { };
|
ptouch-print = callPackage ../misc/ptouch-print { };
|
||||||
|
|
||||||
demoit = callPackage ../servers/demoit { };
|
demoit = callPackage ../servers/demoit { };
|
||||||
|
|
Loading…
Reference in a new issue