e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
32 lines
713 B
Nix
32 lines
713 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
, stdenv
|
|
, darwin
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "gimoji";
|
|
version = "0.7.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "zeenix";
|
|
repo = "gimoji";
|
|
rev = version;
|
|
hash = "sha256-xQ02jmPuu1IHkQCCJn2FVPcJRbwN+k8FhsZyDX0oHaw=";
|
|
};
|
|
|
|
cargoHash = "sha256-DSLIH6swVQXHrqKBxlrhNTG5maRmUi6Ndmuuv0Vo3Ak=";
|
|
|
|
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;
|
|
mainProgram = "gimoji";
|
|
maintainers = with maintainers; [ a-kenji ];
|
|
};
|
|
}
|