blob: 32fc52be0d9b73f3133c0d249c1bca11d67c83d4 (
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
|
{ lib, stdenv, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "slumber";
version = "1.1.0";
# This release tarball includes source code for the tree-sitter grammars,
# which is not ordinarily part of the repository.
src = fetchFromGitHub {
owner = "LucasPickering";
repo = "slumber";
rev = "v${version}";
hash = "sha256-398XqowI3zEgiU1XolLj3q1m4foC6aGGL+B3Q4plbTw=";
};
cargoHash = "sha256-AK/+1tCdvNucIbxwyqOt/TbOaJPVDOKFEx5NqW2Yd4U=";
meta = with lib; {
description = "Terminal-based HTTP/REST client";
homepage = "https://slumber.lucaspickering.me";
license = licenses.mit;
mainProgram = "slumber";
maintainers = with maintainers; [ javaes ];
broken = stdenv.isDarwin || stdenv.isAarch64;
};
}
|