9 rustPlatform.buildRustPackage rec {
13 src = fetchFromGitHub {
17 hash = "sha256-C3Co+hXstVN/WADIpzqr7f3muAgQL0Zbnz6VI1XNo4U=";
20 cargoHash = "sha256-QyFUxnq4BSULgpZxCu5+7TWfu6Gey0JFkOYSK+rL7l0=";
26 buildInputs = lib.optionals stdenv.isDarwin [
27 darwin.apple_sdk.frameworks.Security
31 # require internet access
32 "--skip=arguments::input::url_input"
33 "--skip=full_file_compare_url"
36 "--skip=full_file_compare_html"
40 installManPage $releaseDir/build/artem-*/out/artem.1
41 installShellCompletion $releaseDir/build/artem-*/out/artem.{bash,fish} \
42 --zsh $releaseDir/build/artem-*/out/_artem
46 description = "A small CLI program to convert images to ASCII art";
47 homepage = "https://github.com/finefindus/artem";
48 changelog = "https://github.com/finefindus/artem/blob/v${version}/CHANGELOG.md";
49 license = licenses.mpl20;
50 maintainers = with maintainers; [ figsoda ];
51 mainProgram = "artem";