mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 05:13:04 +00:00
19 lines
405 B
Nix
19 lines
405 B
Nix
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
name = "caddy-${version}";
|
|
version = "0.8.3";
|
|
rev = "e2234497b79603388b58ba226abb157aa4aaf065";
|
|
|
|
goPackagePath = "github.com/mholt/caddy";
|
|
|
|
src = fetchFromGitHub {
|
|
inherit rev;
|
|
owner = "mholt";
|
|
repo = "caddy";
|
|
sha256 = "1snijkbz02yr7wij7bcmrj4257709sbklb3nhb5qmy95b9ssffm6";
|
|
};
|
|
|
|
goDeps = ./deps.json;
|
|
}
|