mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 06:14:26 +03: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 ];
|
|
};
|
|
}
|