diff options
Diffstat (limited to 'pkgs/applications/editors/heh/default.nix')
-rw-r--r-- | pkgs/applications/editors/heh/default.nix | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/pkgs/applications/editors/heh/default.nix b/pkgs/applications/editors/heh/default.nix index a3ad923ef561c..7fd704ab6e8bb 100644 --- a/pkgs/applications/editors/heh/default.nix +++ b/pkgs/applications/editors/heh/default.nix @@ -2,23 +2,28 @@ , stdenv , rustPlatform , fetchFromGitHub +, darwin }: rustPlatform.buildRustPackage rec { pname = "heh"; - version = "0.4.1"; + version = "0.5.0"; src = fetchFromGitHub { owner = "ndd7xv"; repo = pname; rev = "v${version}"; - hash = "sha256-IIF/bkTLwR8pCs/hJ625T3NsiKf/6Zf1cW2i4lsiK4U="; + hash = "sha256-zkb+HogwioqxZ+BTl7bcDQx9i9uWhT2QdAIXpHqvDl0="; }; - cargoHash = "sha256-tDvqaNVuzv1BlS/oNI1D/WV1b5uHreT3Ak/6ruqKXQc="; + buildInputs = lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ + AppKit + ]); + + cargoHash = "sha256-YcTaLq04NhmnJ1pdbiKMRIBSFvHNWNgoAS8Uz8uGGAw="; meta = with lib; { - description = "A cross-platform terminal UI used for modifying file data in hex or ASCII."; + description = "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 ]; |