nixpkgs-suyu/pkgs/servers/nosql/influxdb/default.nix
Kamil Chmielewski 914e0e594c buildGoPackage: deps.json -> deps.nix in NIXON
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
2016-09-16 00:04:55 +01:00

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;
};
}