2025-07-26 11:39:35 +02:00

29 lines
699 B
Nix

{
lib,
fetchFromGitHub,
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
pname = "slumber";
version = "3.3.0";
src = fetchFromGitHub {
owner = "LucasPickering";
repo = "slumber";
tag = "v${version}";
hash = "sha256-3VsnK0CxcSYOnHTXPGdtwUn/0m5Uj9DThm3Mc4bMYoY=";
};
cargoHash = "sha256-ZDB7YiqesCAnXkSyMQzV6LHRjUdv00SSG6aS8JKArfY=";
meta = {
description = "Terminal-based HTTP/REST client";
homepage = "https://slumber.lucaspickering.me";
changelog = "https://github.com/LucasPickering/slumber/blob/v${version}/CHANGELOG.md";
license = lib.licenses.mit;
mainProgram = "slumber";
maintainers = with lib.maintainers; [ javaes ];
};
}