1 { lib, rustPlatform, fetchFromGitHub, installShellFiles, nasm }:
3 rustPlatform.buildRustPackage rec {
4 pname = "sic-image-cli";
7 src = fetchFromGitHub {
11 hash = "sha256-PFbHHO3m4mnV5s8DVev/iao9sC3FYht0whTHYzO25Yo=";
14 cargoHash = "sha256-Pw5PJ0xQCLfPaVEzsfqeHJ0E3miDwlj+71J98KRrYDs=";
16 nativeBuildInputs = [ installShellFiles nasm ];
19 cargo run --example gen_completions
23 installShellCompletion sic.{bash,fish}
24 installShellCompletion --zsh _sic
28 description = "Accessible image processing and conversion from the terminal";
29 homepage = "https://github.com/foresterre/sic";
30 changelog = "https://github.com/foresterre/sic/blob/v${version}/CHANGELOG.md";
31 license = with licenses; [ asl20 /* or */ mit ];
32 maintainers = with maintainers; [ figsoda ];