8 rustPlatform.buildRustPackage rec {
9 pname = "rustypaste-cli";
12 src = fetchFromGitHub {
14 repo = "rustypaste-cli";
16 hash = "sha256-RF4SGqaEx9/OMB5XEJNiPPPGg1uwTM5ta1gwpj8mbho=";
19 cargoHash = "sha256-UaOUEuh7NNIhXOKqHEfVRv1hXld7qmdPdazATalXvQU=";
21 buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
22 darwin.apple_sdk.frameworks.Security
26 description = "CLI tool for rustypaste";
27 homepage = "https://github.com/orhun/rustypaste-cli";
28 changelog = "https://github.com/orhun/rustypaste-cli/blob/${src.rev}/CHANGELOG.md";
29 license = licenses.mit;
30 maintainers = with maintainers; [ figsoda ];
31 mainProgram = "rpaste";