mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01:00
30 lines
644 B
Nix
30 lines
644 B
Nix
{ lib, buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
pname = "gucci";
|
|
version = "0.1.0";
|
|
|
|
goPackagePath = "github.com/noqcks/gucci";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "noqcks";
|
|
repo = "gucci";
|
|
rev = version;
|
|
sha256 = "0ksrmzb3iggc7gm51fl0jbb15d0gmpclslpkq2sl2xjzk29pkllq";
|
|
};
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
ldflags = [
|
|
"-X main.AppVersion=${version}"
|
|
];
|
|
|
|
meta = with 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;
|
|
};
|
|
}
|