mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 09:04:17 +00:00
33 lines
713 B
Nix
33 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 ];
|
|
};
|
|
}
|