wofi-emoji: format with nixfmt-rfc-style

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

View file

@ -1,8 +1,19 @@
{ 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.12/dist/emoji-en-US.json";
hash = "sha256-q6YcO8Fd1RuQe9rgY25Ga+cD7OULdDRC8Ck4or9h9oQ="; };
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";
@ -16,7 +27,11 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ jq ];
buildInputs = [ wofi wtype wl-clipboard ];
buildInputs = [
wofi
wtype
wl-clipboard
];
postPatch = ''
substituteInPlace build.sh \