diff --git a/pkgs/by-name/ca/canard/package.nix b/pkgs/by-name/ca/canard/package.nix new file mode 100644 index 000000000000..8883d0781e52 --- /dev/null +++ b/pkgs/by-name/ca/canard/package.nix @@ -0,0 +1,33 @@ +{ + lib, + buildGoModule, + fetchFromGitHub, +}: + +buildGoModule rec { + pname = "canard"; + version = "0.0.2-unstable-2024-04-22"; + + src = fetchFromGitHub { + owner = "mrusme"; + repo = "canard"; + rev = "d3c37d11078574ca16b75475b3d08ffe351bc3c2"; + hash = "sha256-ICrTEaTYFAViORWvdj4uW2gLgxtWxRlhgu5sifgqGX0="; + }; + + vendorHash = "sha256-qcfPW7rz0v63QmQQceQltkCFNBUeQTxVerxDymv7SZo="; + + ldflags = [ + "-s" + "-w" + "-X github.com/mrusme/canard/main.VERSION=${version}" + ]; + + meta = { + description = "Command line TUI client for the journalist RSS aggregator"; + homepage = "https://github.com/mrusme/canard"; + license = lib.licenses.gpl3Only; + maintainers = with lib.maintainers; [ moraxyc ]; + mainProgram = "canard"; + }; +}