biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / applications / editors / heh / default.nix
blobf89ee5a76a0a533e71e6f56a0d3b34ff8d901f38
1 { lib
2 , stdenv
3 , rustPlatform
4 , fetchFromGitHub
5 , darwin
6 }:
8 rustPlatform.buildRustPackage rec {
9   pname = "heh";
10   version = "0.6.1";
12   src = fetchFromGitHub {
13     owner = "ndd7xv";
14     repo = pname;
15     rev = "v${version}";
16     hash = "sha256-eqWBTylvXqGhWdSGHdTM1ZURSD5pkUBoBOvBJ5zmJ7w=";
17   };
19   buildInputs = lib.optionals stdenv.hostPlatform.isDarwin (with darwin.apple_sdk.frameworks; [
20     AppKit
21   ]);
23   cargoHash = "sha256-rLZgKLL28/ZrXzHVI6m4YeV2mk4E9W58HjTzRl2bMOw=";
25   meta = with lib; {
26     description = "Cross-platform terminal UI used for modifying file data in hex or ASCII";
27     homepage = "https://github.com/ndd7xv/heh";
28     changelog = "https://github.com/ndd7xv/heh/releases/tag/${src.rev}";
29     license = with licenses; [ mit ];
30     maintainers = with maintainers; [ piturnah ];
31     mainProgram = "heh";
32   };