2023-10-18 17:28:55 +00:00
|
|
|
{ lib
|
|
|
|
, stdenvNoCC
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
|
|
pname = "bemoji";
|
2024-02-24 15:02:26 +00:00
|
|
|
version = "0.4.0";
|
2023-10-18 17:28:55 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "marty-oehme";
|
|
|
|
repo = "bemoji";
|
2024-01-03 20:32:51 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2024-02-24 15:02:26 +00:00
|
|
|
hash = "sha256-HXwho0vRI9ZrUuDMicMH4ZNExY+zJfbrne2LMQmmHww=";
|
2023-10-18 17:28:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
strictDeps = true;
|
|
|
|
dontBuild = true;
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
install -Dm555 bemoji -t $out/bin
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/marty-oehme/bemoji/";
|
|
|
|
description = "Emoji picker with support for bemenu/wofi/rofi/dmenu and wayland/X11";
|
|
|
|
license = licenses.mit;
|
|
|
|
mainProgram = "bemoji";
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ laurent-f1z1 ];
|
|
|
|
};
|
|
|
|
}
|