nixpkgs/pkgs/servers/simplehttp2server/default.nix

26 lines
658 B
Nix
Raw Normal View History

2018-02-16 23:35:35 +00:00
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "simplehttp2server-${version}";
version = "3.1.3";
goPackagePath = "github.com/GoogleChromeLabs/simplehttp2server";
src = fetchFromGitHub {
owner = "GoogleChromeLabs";
repo = "simplehttp2server";
rev = version;
sha256 = "113mcfvy1m91wask5039mhr0187nlw325ac32785yl4bb4igi8aw";
};
goDeps = ./deps.nix;
meta = with stdenv.lib; {
homepage = https://github.com/GoogleChromeLabs/simplehttp2server;
description = "HTTP/2 server for development purposes";
license = licenses.asl20;
maintainers = with maintainers; [ yrashk ];
};
}