8 stdenv.mkDerivation rec {
9 pname = "influxdb2-provision";
12 src = fetchFromGitHub {
14 repo = "influxdb2-provision";
16 hash = "sha256-kgpUtXmwy9buupNzQj/6AIeN8XG2x0XjIckK3WIFC+I=";
19 nativeBuildInputs = [ makeWrapper ];
20 buildInputs = [ python3Packages.python python3Packages.influxdb-client ];
23 install -Dm0555 influxdb2-provision.py $out/bin/influxdb2-provision
24 wrapProgram $out/bin/influxdb2-provision --prefix PYTHONPATH : "$PYTHONPATH"
28 description = "Small utility to help provisioning influxdb2";
29 homepage = "https://github.com/oddlama/influxdb2-provision";
30 license = licenses.mit;
31 maintainers = with maintainers; [oddlama];
32 mainProgram = "influxdb2-provision";