33 lines
700 B
Nix
33 lines
700 B
Nix
|
{ lib
|
||
|
, stdenvNoCC
|
||
|
, fetchFromGitHub
|
||
|
}:
|
||
|
|
||
|
stdenvNoCC.mkDerivation rec {
|
||
|
pname = "bemoji";
|
||
|
version = "0.3.0";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "marty-oehme";
|
||
|
repo = "bemoji";
|
||
|
rev = version;
|
||
|
hash = "sha256-XXNrUaS06UHF3cVfIfWjGF1sdPE709W2tFhfwTitzNs=";
|
||
|
};
|
||
|
|
||
|
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 ];
|
||
|
};
|
||
|
}
|