mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 23:07:36 +03: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;
|
|
}
|