mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 03:30:45 +00:00
755b915a15
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/'
27 lines
771 B
Nix
27 lines
771 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "charm-freeze";
|
|
version = "0.1.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "charmbracelet";
|
|
repo = "freeze";
|
|
rev = "v${version}";
|
|
hash = "sha256-HLlMUOLDvNLVl4dvtyRwuLhp3pOlpm/naUXK2NiIAg8=";
|
|
};
|
|
|
|
vendorHash = "sha256-AUFzxmQOb/h0UgcprY09IVI7Auitn3JTDU/ptKicIAU=";
|
|
|
|
ldflags = [ "-s" "-w" "-X=main.Version=${version}" ];
|
|
|
|
meta = with lib; {
|
|
description = "Tool to generate images of code and terminal output";
|
|
mainProgram = "freeze";
|
|
homepage = "https://github.com/charmbracelet/freeze";
|
|
changelog = "https://github.com/charmbracelet/freeze/releases/tag/v${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ caarlos0 maaslalani ];
|
|
};
|
|
}
|