nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 rustPlatform,
4 fetchFromGitHub,
5}:
6
7rustPlatform.buildRustPackage rec {
8 pname = "lazycli";
9 version = "0.1.15";
10
11 src = fetchFromGitHub {
12 owner = "jesseduffield";
13 repo = "lazycli";
14 rev = "v${version}";
15 sha256 = "1qq167hc7pp9l0m40ysphfljakmm8hjjnhpldvb0kbc825h0z8z5";
16 };
17
18 cargoHash = "sha256-L6qY1yu+8L7DajX//Yov0KgI2bR8yipSzbZC2c+LZZs=";
19
20 checkFlags = [
21 # currently broken: https://github.com/jesseduffield/lazycli/pull/20
22 "--skip=command::test_run_command_fail"
23 ];
24
25 meta = {
26 description = "Tool to static turn CLI commands into TUIs";
27 homepage = "https://github.com/jesseduffield/lazycli";
28 license = lib.licenses.mit;
29 maintainers = [ ];
30 mainProgram = "lazycli";
31 };
32}