14 rustPlatform.buildRustPackage rec {
18 src = fetchFromGitHub {
22 sha256 = "sha256-owP3G1Rygraifdc4iPURQ1Es0msNhYZIlfrtj0CSU6Y=";
25 cargoSha256 = "sha256-NtXjlGkX8AzSw98xHPymzdnTipMIunyDbpSr4eVowa0=";
27 nativeBuildInputs = [ installShellFiles ]
28 ++ lib.optional stdenv.isLinux pkg-config;
30 buildInputs = lib.optional withSixel libsixel
31 ++ lib.optionals stdenv.isLinux (with xorg; [ libX11 libXrandr ])
32 ++ lib.optional stdenv.isDarwin AppKit;
34 buildNoDefaultFeatures = !withSki;
35 buildFeatures = lib.optional withSixel "sixel";
38 # sometimes fails on lower end machines
39 "--skip=record::fps::tests::test_fps"
44 installShellCompletion completions/menyoki.{bash,fish,zsh}
48 description = "Screen{shot,cast} and perform ImageOps on the command line";
49 homepage = "https://menyoki.cli.rs/";
50 changelog = "https://github.com/orhun/menyoki/blob/v${version}/CHANGELOG.md";
51 license = licenses.gpl3Only;
52 maintainers = with maintainers; [ figsoda ];