12 rustPlatform.buildRustPackage rec {
16 src = fetchFromGitHub {
20 hash = "sha256-7Uvo5+saxwTMQjfDliyOYC6j6LbpMf/FiONfX38xepI=";
23 cargoHash = "sha256-6nB+rHBJU9qhA7azz2ynaBw1UJdwE+T7pgpoPzhD5Bk=";
25 # the dependency css-minify contains both README.md and Readme.md,
26 # which causes a hash mismatch on systems with a case-insensitive filesystem
27 # this removes the readme files and updates cargo's checksum file accordingly
35 pushd $name/css-minify
37 rm -f README.md Readme.md
38 jq 'del(.files."README.md") | del(.files."Readme.md")' \
39 .cargo-checksum.json -c \
40 | sponge .cargo-checksum.json
52 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
53 darwin.apple_sdk.frameworks.Security
57 description = "Markdown slideshows in Rust";
58 homepage = "https://github.com/axodotdev/slippy";
59 changelog = "https://github.com/axodotdev/slippy/releases/tag/${src.rev}";
60 license = with licenses; [ asl20 mit ];
61 maintainers = with maintainers; [ figsoda ];
62 mainProgram = "slippy";