nixpkgs/pkgs/servers/nosql/influxdb/default.nix

29 lines
718 B
Nix
Raw Normal View History

{ lib, buildGoPackage, fetchFromGitHub, }:
2015-11-16 12:59:30 +01:00
2016-06-06 02:28:52 +02:00
buildGoPackage rec {
2016-06-12 15:38:11 +02:00
name = "influxdb-${version}";
2017-11-14 12:41:30 +01:00
version = "1.4.1";
src = fetchFromGitHub {
owner = "influxdata";
repo = "influxdb";
rev = "v${version}";
2017-11-14 12:41:30 +01:00
sha256 = "048ap70hdfkxhy0y8q1jsb0lql1i99jnf3cqaqar6qs2ynzsw9hd";
};
2016-06-12 15:38:11 +02:00
goPackagePath = "github.com/influxdata/influxdb";
2015-11-16 12:59:30 +01:00
excludedPackages = "test";
# Generated with the nix2go
goDeps = ./. + builtins.toPath "/deps-${version}.nix";
2015-11-16 12:59:30 +01:00
meta = with lib; {
description = "An open-source distributed time series database";
license = licenses.mit;
2015-11-16 12:59:30 +01:00
homepage = https://influxdb.com/;
2016-06-12 15:38:11 +02:00
maintainers = with maintainers; [ offline zimbatm ];
platforms = platforms.linux;
};
}