2018-11-07 09:21:55 +00:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "gucci";
|
2018-11-07 09:21:55 +00:00
|
|
|
version = "0.1.0";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/noqcks/gucci";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "noqcks";
|
|
|
|
repo = "gucci";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0ksrmzb3iggc7gm51fl0jbb15d0gmpclslpkq2sl2xjzk29pkllq";
|
|
|
|
};
|
|
|
|
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
|
|
|
buildFlagsArray = ''
|
|
|
|
-ldflags=-X main.AppVersion=${version}
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A simple CLI templating tool written in golang";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/noqcks/gucci";
|
2018-11-07 09:21:55 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.braydenjw ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|