nixpkgs/pkgs/tools/text/gucci/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

39 lines
963 B
Nix

{ lib, buildGoModule, fetchFromGitHub, testers, gucci }:
buildGoModule rec {
pname = "gucci";
version = "1.6.10";
src = fetchFromGitHub {
owner = "noqcks";
repo = "gucci";
rev = "refs/tags/${version}";
sha256 = "sha256-bwPQQtaPHby96C5ZHZhBTok+m8GPPS40U1CUPVYqCa4=";
};
vendorHash = "sha256-/4OnbtxxhXQnmSV6UbjgzXdL7szhL9rKiG5BR8FsyqI=";
ldflags = [ "-s" "-w" "-X main.AppVersion=${version}" ];
passthru.tests.version = testers.testVersion {
package = gucci;
};
checkFlags = [
"-short"
# Integration tests rely on Ginkgo but fail.
# Related: https://github.com/onsi/ginkgo/issues/602
#
# Disable integration tests.
"-skip=^TestIntegration"
];
meta = with lib; {
description = "Simple CLI templating tool written in golang";
mainProgram = "gucci";
homepage = "https://github.com/noqcks/gucci";
license = licenses.mit;
maintainers = with maintainers; [ braydenjw ];
};
}