1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00
nixpkgs/pkgs/tools/networking/httplab/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

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