2023-05-21 20:52:54 -04:00
|
|
|
{
|
2023-05-21 21:04:13 -04:00
|
|
|
lib,
|
2023-05-21 20:52:54 -04:00
|
|
|
rustPlatform,
|
|
|
|
fetchFromGitHub,
|
|
|
|
...
|
2023-05-21 21:06:54 -04:00
|
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "rustypaste-cli";
|
|
|
|
version = "0.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "orhun";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-GPQEo9nYcw2Xowh0f2fqj4Ya5kUApB4GSdaSZkVb4R0=";
|
|
|
|
};
|
|
|
|
|
|
|
|
cargoHash = "sha256-uwAiNrpObirtxGXaNz3prXFIygcf0b8t/Z9N99Gcrtk=";
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A CLI tool for rustypaste ";
|
|
|
|
homepage = "https://github.com/orhun/rustypaste-cli";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [notohh];
|
|
|
|
};
|
|
|
|
}
|