rustypaste-cli: init at 0.4.0

https://github.com/orhun/rustypaste-cli
This commit is contained in:
figsoda 2023-05-30 20:02:27 -04:00
parent 5659c7faf2
commit d594e7f890
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,33 @@
{ lib
, rustPlatform
, fetchFromGitHub
, stdenv
, darwin
}:
rustPlatform.buildRustPackage rec {
pname = "rustypaste-cli";
version = "0.4.0";
src = fetchFromGitHub {
owner = "orhun";
repo = "rustypaste-cli";
rev = "v${version}";
hash = "sha256-Jl7fytDIW6MLY6VX7rDuX9PcZaIqENQbUTMUJKCa8Mg=";
};
cargoHash = "sha256-hICwrgzNpyYmNW1gEKgTsSjWyqCaOHc4X37O0R2oSzY=";
buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
];
meta = with lib; {
description = "A CLI tool for rustypaste";
homepage = "https://github.com/orhun/rustypaste-cli";
changelog = "https://github.com/orhun/rustypaste-cli/blob/${src.rev}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ figsoda ];
mainProgram = "rpaste";
};
}

View File

@ -12105,6 +12105,8 @@ with pkgs;
rustypaste = callPackage ../servers/rustypaste { };
rustypaste-cli = callPackage ../tools/misc/rustypaste-cli { };
rw = callPackage ../tools/misc/rw { };
rwc = callPackage ../tools/system/rwc { };