nixpkgs/pkgs/servers/caddy/default.nix

19 lines
405 B
Nix
Raw Normal View History

2016-06-07 22:32:34 +02:00
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
2016-06-05 10:43:36 +02:00
2016-06-07 22:32:34 +02:00
buildGoPackage rec {
2016-06-05 10:43:36 +02:00
name = "caddy-${version}";
version = "0.8.3";
rev = "e2234497b79603388b58ba226abb157aa4aaf065";
goPackagePath = "github.com/mholt/caddy";
src = fetchFromGitHub {
2016-06-05 10:43:36 +02:00
inherit rev;
owner = "mholt";
repo = "caddy";
2016-06-05 10:43:36 +02:00
sha256 = "1snijkbz02yr7wij7bcmrj4257709sbklb3nhb5qmy95b9ssffm6";
};
goDeps = ./deps.json;
}