diff --git a/pkgs/applications/misc/gimoji/default.nix b/pkgs/applications/misc/gimoji/default.nix new file mode 100644 index 000000000000..7c544e57068d --- /dev/null +++ b/pkgs/applications/misc/gimoji/default.nix @@ -0,0 +1,31 @@ +{ lib +, rustPlatform +, fetchFromGitHub +, stdenv +, darwin +}: + +rustPlatform.buildRustPackage rec { + pname = "gimoji"; + version = "0.5.0"; + + src = fetchFromGitHub { + owner = "zeenix"; + repo = "gimoji"; + rev = version; + hash = "sha256-fRAi+ac/NzG6FQZq6ohpan5ZNtiwJXLV6k1BsMwaJsg="; + }; + + cargoHash = "sha256-57A/D6XgedQEaTn+lx5Ce/O8wR2xO3ozemLQOOF8/84="; + + buildInputs = lib.optionals stdenv.isDarwin [ + darwin.apple_sdk.frameworks.AppKit + ]; + + meta = with lib; { + description = "Easily add emojis to your git commit messages"; + homepage = "https://github.com/zeenix/gimoji"; + license = licenses.mit; + maintainers = with maintainers; [ a-kenji ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 45c9ba6b080b..e784530271dc 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -17741,6 +17741,8 @@ with pkgs; gimme-aws-creds = callPackage ../tools/admin/gimme-aws-creds { }; + gimoji = callPackage ../applications/misc/gimoji { }; + guile_1_8 = callPackage ../development/interpreters/guile/1.8.nix { }; # Needed for autogen