snowflake/pkgs/rustypaste-cli/default.nix

26 lines
580 B
Nix
Raw Normal View History

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";
2023-06-01 00:48:47 -04:00
version = "0.4.0";
2023-05-21 21:06:54 -04:00
src = fetchFromGitHub {
owner = "orhun";
repo = pname;
rev = "v${version}";
2023-06-01 00:48:47 -04:00
sha256 = "sha256-Jl7fytDIW6MLY6VX7rDuX9PcZaIqENQbUTMUJKCa8Mg=";
2023-05-21 21:06:54 -04:00
};
2023-06-01 00:48:47 -04:00
cargoHash = "sha256-hICwrgzNpyYmNW1gEKgTsSjWyqCaOHc4X37O0R2oSzY=";
2023-05-21 21:06:54 -04:00
meta = with lib; {
description = "A CLI tool for rustypaste ";
homepage = "https://github.com/orhun/rustypaste-cli";
license = licenses.mit;
maintainers = with maintainers; [notohh];
};
}