nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at litex 27 lines 736 B view raw
1{ lib, rustPlatform, fetchFromGitHub }: 2 3rustPlatform.buildRustPackage rec { 4 pname = "lazycli"; 5 version = "0.1.15"; 6 7 src = fetchFromGitHub { 8 owner = "jesseduffield"; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "1qq167hc7pp9l0m40ysphfljakmm8hjjnhpldvb0kbc825h0z8z5"; 12 }; 13 14 cargoSha256 = "sha256-1BIUXepR7ppEkTLDOCZz9RBv+RazNMXnCnH1rvzVFgs="; 15 16 checkFlags = [ 17 # currently broken: https://github.com/jesseduffield/lazycli/pull/20 18 "--skip=command::test_run_command_fail" 19 ]; 20 21 meta = with lib; { 22 description = "A tool to static turn CLI commands into TUIs"; 23 homepage = "https://github.com/jesseduffield/lazycli"; 24 license = licenses.mit; 25 maintainers = with maintainers; [ figsoda ]; 26 }; 27}