blob: c903404d0bf1c4901e817ef9eee47500e92bde43 (
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
33
34
|
{ lib
, rustPlatform
, fetchFromGitHub
, testers
, hex
}:
rustPlatform.buildRustPackage rec {
pname = "hex";
version = "0.5.0";
src = fetchFromGitHub {
owner = "sitkevij";
repo = "hex";
rev = "v${version}";
hash = "sha256-0LUT86mtqkscTfWNj2WHdMUizq0UQMCqXqTE0HRUItc=";
};
cargoHash = "sha256-BDDAKr6F9KtZGKX6FjasnO8oneZp0cy0M9r0tyqxL+o=";
passthru.tests.version = testers.testVersion {
package = hex;
version = "hx ${version}";
};
meta = with lib; {
description = "Futuristic take on hexdump, made in Rust";
homepage = "https://github.com/sitkevij/hex";
changelog = "https://github.com/sitkevij/hex/releases/tag/v${version}";
mainProgram = "hx";
license = licenses.mit;
maintainers = with maintainers; [ ivar ];
};
}
|