mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 23:20:55 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
24 lines
561 B
Nix
24 lines
561 B
Nix
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
pname = "httplab";
|
|
version = "0.3.0";
|
|
rev = "v${version}";
|
|
|
|
goPackagePath = "github.com/gchaincl/httplab";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "gchaincl";
|
|
repo = "httplab";
|
|
inherit rev;
|
|
sha256 = "1q9rp43z59nryfm79gci5a1gmqw552rqd4cki81rymbj3f6xvrf9";
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://github.com/gchaincl/httplab;
|
|
description = "Interactive WebServer";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ pradeepchhetri ];
|
|
};
|
|
}
|