nixpkgs/pkgs/applications/networking/feedreaders/tuifeed/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

31 lines
665 B
Nix

{ lib
, stdenv
, fetchCrate
, rustPlatform
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "tuifeed";
version = "0.3.2";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-JG/l6NfN5RqBpz9NVcVY3mP/iE31TXvw+Vjq8N8rNIY=";
};
cargoHash = "sha256-QKSNbpVRtSKp2q1jVPYTS8XCMtQAyg3AWvD/6+OjI7Y=";
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
doCheck = false;
meta = with lib; {
description = "A terminal feed reader with a fancy UI";
mainProgram = "tuifeed";
homepage = "https://github.com/veeso/tuifeed";
license = with licenses; [ mit ];
maintainers = with maintainers; [ devhell ];
};
}