diff options
author | davidak <davidak@users.noreply.github.com> | 2023-08-06 14:49:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-06 14:49:16 +0200 |
commit | 8f5f44b9055be7ef3363899d9773306f124a070a (patch) | |
tree | fda8da64c27631ac42d67c0a2b0ce46db8fef181 | |
parent | b13810007f11ec4f45cbfab18b33513f66ccd715 (diff) | |
parent | 231f561d78adc9a0e9223255acc7b240aaf419ee (diff) |
Merge pull request #246402 from Piturnah/heh
heh: init at 0.4.1
-rw-r--r-- | maintainers/maintainer-list.nix | 2 | ||||
-rw-r--r-- | pkgs/applications/editors/heh/default.nix | 27 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
3 files changed, 30 insertions, 1 deletions
diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 8a468301ea5d0..670e7a0d21387 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -13294,7 +13294,7 @@ }; piturnah = { email = "peterhebden6@gmail.com"; - github = "piturnah"; + github = "Piturnah"; githubId = 20472367; name = "Peter Hebden"; }; diff --git a/pkgs/applications/editors/heh/default.nix b/pkgs/applications/editors/heh/default.nix new file mode 100644 index 0000000000000..ca044168b8450 --- /dev/null +++ b/pkgs/applications/editors/heh/default.nix @@ -0,0 +1,27 @@ +{ lib +, stdenv +, rustPlatform +, fetchFromGitHub +}: + +rustPlatform.buildRustPackage rec { + pname = "heh"; + version = "0.4.1"; + + src = fetchFromGitHub { + owner = "ndd7xv"; + repo = pname; + rev = "v${version}"; + hash = "sha256-IIF/bkTLwR8pCs/hJ625T3NsiKf/6Zf1cW2i4lsiK4U="; + }; + + cargoHash = "sha256-tDvqaNVuzv1BlS/oNI1D/WV1b5uHreT3Ak/6ruqKXQc="; + + meta = with lib; { + description = "A cross-platform terminal UI used for modifying file data in hex or ASCII."; + homepage = "https://github.com/ndd7xv/heh"; + changelog = "https://github.com/ndd7xv/heh/releases/tag/${src.rev}"; + license = with licenses; [ mit ]; + maintainers = with maintainers; [ piturnah ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9e332ce77927d..5b87e26931730 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1786,6 +1786,8 @@ with pkgs; headset-charge-indicator = callPackage ../tools/audio/headset-charge-indicator { }; + heh = callPackage ../applications/editors/heh { }; + hexdiff = callPackage ../tools/misc/hexdiff { }; httm = darwin.apple_sdk_11_0.callPackage ../tools/filesystems/httm { }; |