forked from mirrors/nixpkgs
gucci: init at 0.1.0 (#49813)
* gucci: init at 0.1.0 * gucci: init at 0.1.0
This commit is contained in:
parent
5fc73fd52e
commit
e11c3a08b0
|
@ -624,6 +624,11 @@
|
|||
github = "bramd";
|
||||
name = "Bram Duvigneau";
|
||||
};
|
||||
braydenjw = {
|
||||
email = "nixpkgs@willenborg.ca";
|
||||
github = "braydenjw";
|
||||
name = "Brayden Willenborg";
|
||||
};
|
||||
brian-dawn = {
|
||||
email = "brian.t.dawn@gmail.com";
|
||||
github = "brian-dawn";
|
||||
|
|
30
pkgs/tools/text/gucci/default.nix
Normal file
30
pkgs/tools/text/gucci/default.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "gucci-${version}";
|
||||
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";
|
||||
homepage = https://github.com/noqcks/gucci;
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.braydenjw ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
30
pkgs/tools/text/gucci/deps.nix
generated
Normal file
30
pkgs/tools/text/gucci/deps.nix
generated
Normal file
|
@ -0,0 +1,30 @@
|
|||
[
|
||||
{
|
||||
goPackagePath = "gopkg.in/yaml.v2";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://gopkg.in/yaml.v2";
|
||||
rev = "5420a8b6744d3b0345ab293f6fcba19c978f1183";
|
||||
sha256 = "0dwjrs2lp2gdlscs7bsrmyc5yf6mm4fvgw71bzr9mv2qrd2q73s1";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/imdario/mergo";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/imdario/mergo";
|
||||
rev = "v0.3.6";
|
||||
sha256 = "1lbzy8p8wv439sqgf0n21q52flf2wbamp6qa1jkyv6an0nc952q7";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/urfave/cli";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/urfave/cli";
|
||||
rev = "v1.20.0";
|
||||
sha256 = "0y6f4sbzkiiwrxbl15biivj8c7qwxnvm3zl2dd3mw4wzg4x10ygj";
|
||||
};
|
||||
}
|
||||
]
|
||||
|
|
@ -725,6 +725,8 @@ with pkgs;
|
|||
|
||||
gitter = callPackage ../applications/networking/instant-messengers/gitter { };
|
||||
|
||||
gucci = callPackage ../tools/text/gucci { };
|
||||
|
||||
grc = callPackage ../tools/misc/grc { };
|
||||
|
||||
green-pdfviewer = callPackage ../applications/misc/green-pdfviewer {
|
||||
|
|
Loading…
Reference in a new issue