wofi-emoji: unstable-2023-12-22 -> 1.0.0

This commit is contained in:
John Titor 2024-05-02 07:35:58 +05:30
parent b8e911463e
commit c82e39f05d
No known key found for this signature in database
GPG key ID: 29B0514F4E3C1CC0

View file

@ -1,18 +1,18 @@
{ stdenv, lib, fetchurl, fetchFromGitHub, jq, wofi, wtype, wl-clipboard }: { stdenv, lib, fetchurl, fetchFromGitHub, jq, wofi, wtype, wl-clipboard }:
let emojiJSON = fetchurl { let emojiJSON = fetchurl {
url = "https://raw.githubusercontent.com/muan/emojilib/v3.0.10/dist/emoji-en-US.json"; url = "https://raw.githubusercontent.com/muan/emojilib/v3.0.12/dist/emoji-en-US.json";
hash = "sha256-UhAB5hVp5vV2d1FjIb2TBd2FJ6OPBbiP31HGAEDQFnA=";}; hash = "sha256-q6YcO8Fd1RuQe9rgY25Ga+cD7OULdDRC8Ck4or9h9oQ="; };
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "wofi-emoji"; pname = "wofi-emoji";
version = "unstable-2023-12-22"; version = "1.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Zeioth"; owner = "Zeioth";
repo = pname; repo = "wofi-emoji";
rev = "2cc95880848134a3bbe0675bcb62a0dae1d0f572"; rev = "v${version}";
hash = "sha256-t9M8z8JxuvBDzNs98L7YTNUfTK23W1DYGdHDiXNQOgk="; hash = "sha256-wLZK7RcDxxlYuu27WNj+SoRoBiCqk9whp4Fyg0SOoPA=";
}; };
nativeBuildInputs = [ jq ]; nativeBuildInputs = [ jq ];
@ -44,12 +44,12 @@ stdenv.mkDerivation rec {
runHook postInstall runHook postInstall
''; '';
meta = with lib; { meta = {
description = "Simple emoji selector for Wayland using wofi and wl-clipboard"; description = "Simple emoji selector for Wayland using wofi and wl-clipboard";
homepage = "https://github.com/Zeioth/wofi-emoji"; homepage = "https://github.com/Zeioth/wofi-emoji";
license = licenses.mit; license = lib.licenses.mit;
maintainers = [ maintainers.ymarkus ]; maintainers = with lib.maintainers; [ ymarkus ];
platforms = platforms.all; platforms = lib.platforms.all;
mainProgram = "wofi-emoji"; mainProgram = "wofi-emoji";
}; };
} }