summary refs log tree commit diff
path: root/pkgs/servers/simplehttp2server/default.nix
blob: 3ac32509ba3b4d9caf4c3b22784bb88d4ec8246a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ stdenv, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
  pname = "simplehttp2server";
  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 ];
  };

}