914e0e594c
https://github.com/NixOS/nixpkgs/pull/17254#issuecomment-245295541 * update docs to describe `deps.nix` * include goDeps in nix-shell GOPATH * NixOS 16.09 rel notes about replacing goPackages
23 lines
621 B
Nix
23 lines
621 B
Nix
{ lib, buildGoPackage, fetchFromGitHub, src, version }:
|
|
|
|
buildGoPackage rec {
|
|
name = "influxdb-${version}";
|
|
|
|
goPackagePath = "github.com/influxdata/influxdb";
|
|
|
|
excludedPackages = "test";
|
|
|
|
inherit src;
|
|
|
|
# Generated with the `gdm2nix.rb` script and the `Godeps` file from the
|
|
# influxdb repo root.
|
|
goDeps = ./. + builtins.toPath "/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;
|
|
};
|
|
}
|