Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
36 lines
824 B
Nix
36 lines
824 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
rustPlatform,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "nostui";
|
|
version = "0.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "akiomik";
|
|
repo = "nostui";
|
|
rev = "v${version}";
|
|
hash = "sha256-RCD11KdzM66Mkydc51r6fG+q8bmKl5eZma58YoARwPo=";
|
|
};
|
|
|
|
GIT_HASH = "000000000000000000000000000000000000000000000000000";
|
|
|
|
checkFlags = [
|
|
# skip failing test due to nix build timestamps
|
|
"--skip=widgets::text_note::tests::test_created_at"
|
|
];
|
|
|
|
cargoHash = "sha256-tway75ZAP2cGdpn79VpuRd0q/h+ovDvkih1LKitM/EU=";
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/akiomik/nostui";
|
|
description = "TUI client for Nostr";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ heywoodlh ];
|
|
platforms = platforms.unix;
|
|
mainProgram = "nostui";
|
|
};
|
|
}
|