biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / tools / misc / rustypaste-cli / default.nix
bloba596683537390b0ca801dd8050c7a3cb042ce074
1 { lib
2 , rustPlatform
3 , fetchFromGitHub
4 , stdenv
5 , darwin
6 }:
8 rustPlatform.buildRustPackage rec {
9   pname = "rustypaste-cli";
10   version = "0.9.1";
12   src = fetchFromGitHub {
13     owner = "orhun";
14     repo = "rustypaste-cli";
15     rev = "v${version}";
16     hash = "sha256-RF4SGqaEx9/OMB5XEJNiPPPGg1uwTM5ta1gwpj8mbho=";
17   };
19   cargoHash = "sha256-UaOUEuh7NNIhXOKqHEfVRv1hXld7qmdPdazATalXvQU=";
21   buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
22     darwin.apple_sdk.frameworks.Security
23   ];
25   meta = with lib; {
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";
32   };