mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 15:11:35 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
26 lines
622 B
Nix
26 lines
622 B
Nix
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
pname = "goa";
|
|
version = "1.4.1";
|
|
|
|
goPackagePath = "github.com/goadesign/goa";
|
|
subPackages = [ "goagen" ];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "goadesign";
|
|
repo = "goa";
|
|
rev = "v${version}";
|
|
sha256 = "0qcd4ii6arlpsivfdhcwidvnd8zbxxvf574jyxyvm1aazl8sqxj7";
|
|
};
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://goa.design;
|
|
description = "A framework for building microservices in Go using a unique design-first approach";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.rushmorem ];
|
|
};
|
|
}
|