29 lines
701 B
Nix
29 lines
701 B
Nix
|
|
{
|
||
|
|
lib,
|
||
|
|
rustPlatform,
|
||
|
|
fetchFromGitHub,
|
||
|
|
}:
|
||
|
|
|
||
|
|
rustPlatform.buildRustPackage rec {
|
||
|
|
pname = "rustypaste-cli";
|
||
|
|
version = "0.9.4";
|
||
|
|
|
||
|
|
src = fetchFromGitHub {
|
||
|
|
owner = "orhun";
|
||
|
|
repo = "rustypaste-cli";
|
||
|
|
rev = "v${version}";
|
||
|
|
hash = "sha256-tv5nAs5g7NWVakKUyw5PVxHJYQniV9OYm7yDXhooWU4=";
|
||
|
|
};
|
||
|
|
|
||
|
|
cargoHash = "sha256-Z8rybofRp4hzTbn3iT0X50fcJCn2tT3HTYTLLWTJBek=";
|
||
|
|
|
||
|
|
meta = with lib; {
|
||
|
|
description = "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";
|
||
|
|
};
|
||
|
|
}
|