blob: b65e041cdc24f43c74fa2d3a730b1fd3ea05e513 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{
lib,
stdenv,
darwin,
fetchFromGitHub,
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
pname = "slumber";
version = "2.0.0";
src = fetchFromGitHub {
owner = "LucasPickering";
repo = "slumber";
rev = "refs/tags/v${version}";
hash = "sha256-TfJAVXJssnKj/RREetFBWgJcGNdpCTF7KUu3CrigF08=";
};
cargoHash = "sha256-jLBid9MDQ2eMhG0knxU1gxbi+eRFlCPYRkzWnjCnyG0=";
buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.AppKit ];
meta = with lib; {
description = "Terminal-based HTTP/REST client";
homepage = "https://slumber.lucaspickering.me";
changelog = "https://github.com/LucasPickering/slumber/blob/v${version}/CHANGELOG.md";
license = licenses.mit;
mainProgram = "slumber";
maintainers = with maintainers; [ javaes ];
};
}
|