1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-02 02:24:27 +00:00
nixpkgs/pkgs/servers/simplehttp2server/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

26 lines
648 B
Nix

{ 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 ];
};
}