3
0
Fork 0
forked from mirrors/nixpkgs

gucci: 0.1.0 -> 1.5.4

This commit is contained in:
Aaron Jheng 2022-04-06 14:43:09 +00:00
parent 258637b969
commit 209c579d7f
No known key found for this signature in database
GPG key ID: F6A547A869D050A3
2 changed files with 14 additions and 42 deletions

View file

@ -1,29 +1,31 @@
{ lib, buildGoPackage, fetchFromGitHub }: { lib, buildGoModule, fetchFromGitHub, testers, gucci }:
buildGoPackage rec { buildGoModule rec {
pname = "gucci"; pname = "gucci";
version = "0.1.0"; version = "1.5.4";
goPackagePath = "github.com/noqcks/gucci";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "noqcks"; owner = "noqcks";
repo = "gucci"; repo = "gucci";
rev = version; rev = "refs/tags/${version}";
sha256 = "0ksrmzb3iggc7gm51fl0jbb15d0gmpclslpkq2sl2xjzk29pkllq"; sha256 = "sha256-HJPNpLRJPnziSMvxLCiNDeCWO439ELSZs/4Cq1a7Amo=";
}; };
goDeps = ./deps.nix; vendorSha256 = "sha256-rAZCj5xtwTgd9/KDYnQTU1jbabtWJF5MCFgcmixDN/Q=";
ldflags = [ ldflags = [ "-s" "-w" "-X main.AppVersion=${version}" ];
"-X main.AppVersion=${version}"
]; passthru.tests.version = testers.testVersion {
package = gucci;
};
checkFlags = [ "-short" ];
meta = with lib; { meta = with lib; {
description = "A simple CLI templating tool written in golang"; description = "A simple CLI templating tool written in golang";
homepage = "https://github.com/noqcks/gucci"; homepage = "https://github.com/noqcks/gucci";
license = licenses.mit; license = licenses.mit;
maintainers = [ maintainers.braydenjw ]; maintainers = with maintainers; [ braydenjw ];
platforms = platforms.unix; platforms = platforms.unix;
}; };
} }

View file

@ -1,30 +0,0 @@
[
{
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";
};
}
]