Merge pull request #308412 from JohnRTitor/wofi-emoji
wofi-emoji: unstable-2023-12-22 -> 1.0.0
This commit is contained in:
@@ -1,22 +1,37 @@
|
||||
{ stdenv, lib, fetchurl, fetchFromGitHub, jq, wofi, wtype, wl-clipboard }:
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
fetchurl,
|
||||
fetchFromGitHub,
|
||||
jq,
|
||||
wofi,
|
||||
wtype,
|
||||
wl-clipboard,
|
||||
}:
|
||||
|
||||
let emojiJSON = fetchurl {
|
||||
url = "https://raw.githubusercontent.com/muan/emojilib/v3.0.10/dist/emoji-en-US.json";
|
||||
hash = "sha256-UhAB5hVp5vV2d1FjIb2TBd2FJ6OPBbiP31HGAEDQFnA=";};
|
||||
let
|
||||
emojiJSON = fetchurl {
|
||||
url = "https://raw.githubusercontent.com/muan/emojilib/v3.0.11/dist/emoji-en-US.json";
|
||||
hash = "sha256-WHqCSNgDzc6ZASdVrwPvsU4MtBcYLKDp2D2Hykrq1sI=";
|
||||
};
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "wofi-emoji";
|
||||
version = "unstable-2023-12-22";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Zeioth";
|
||||
repo = pname;
|
||||
rev = "2cc95880848134a3bbe0675bcb62a0dae1d0f572";
|
||||
hash = "sha256-t9M8z8JxuvBDzNs98L7YTNUfTK23W1DYGdHDiXNQOgk=";
|
||||
repo = "wofi-emoji";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-wLZK7RcDxxlYuu27WNj+SoRoBiCqk9whp4Fyg0SOoPA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ jq ];
|
||||
buildInputs = [ wofi wtype wl-clipboard ];
|
||||
buildInputs = [
|
||||
wofi
|
||||
wtype
|
||||
wl-clipboard
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace build.sh \
|
||||
@@ -44,12 +59,12 @@ stdenv.mkDerivation rec {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Simple emoji selector for Wayland using wofi and wl-clipboard";
|
||||
homepage = "https://github.com/Zeioth/wofi-emoji";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.ymarkus ];
|
||||
platforms = platforms.all;
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ johnrtitor ymarkus ];
|
||||
platforms = lib.platforms.all;
|
||||
mainProgram = "wofi-emoji";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user