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