mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
6da6accd30
toPath has confusing semantics and is never necessary; it can always either just be omitted or replaced by pre-concatenating `/.`. It has been marked as "!!! obsolete?" for more than 10 years in a C++ comment, hopefully removing it will let us properly deprecate and, eventually, remove it.
33 lines
776 B
Nix
33 lines
776 B
Nix
{ lib, buildGoPackage, fetchFromGitHub, }:
|
|
|
|
buildGoPackage rec {
|
|
name = "influxdb-${version}";
|
|
version = "1.4.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "influxdata";
|
|
repo = "influxdb";
|
|
rev = "v${version}";
|
|
sha256 = "048ap70hdfkxhy0y8q1jsb0lql1i99jnf3cqaqar6qs2ynzsw9hd";
|
|
};
|
|
|
|
buildFlagsArray = [ ''-ldflags=
|
|
-X main.version=${version}
|
|
'' ];
|
|
|
|
goPackagePath = "github.com/influxdata/influxdb";
|
|
|
|
excludedPackages = "test";
|
|
|
|
# Generated with the nix2go
|
|
goDeps = ./. + "/deps-${version}.nix";
|
|
|
|
meta = with lib; {
|
|
description = "An open-source distributed time series database";
|
|
license = licenses.mit;
|
|
homepage = https://influxdb.com/;
|
|
maintainers = with maintainers; [ offline zimbatm ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|