wofi-emoji: 2021-05-24 -> 2022-08-19 (#187494)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
b05dad5436
commit
b9b9255627
@ -1,30 +1,27 @@
|
|||||||
{ stdenv, lib, fetchFromGitHub, jq }:
|
{ stdenv, lib, fetchurl, fetchFromGitHub, jq, wofi, wtype, wl-clipboard }:
|
||||||
|
|
||||||
let
|
let emojiJSON = fetchurl {
|
||||||
emojiJSON = fetchFromGitHub {
|
url = "https://raw.githubusercontent.com/muan/emojilib/v3.0.6/dist/emoji-en-US.json";
|
||||||
owner = "github";
|
sha256 = "sha256-wf7zsIEbX/diLwmVvnN2Goxh2V5D3Z6nbEMSb5pSGt0=";
|
||||||
repo = "gemoji";
|
};
|
||||||
sha256 = "sha256-Tn0vba129LPlX+MRcCBA9qp2MU1ek1jYzVCqoNxCL/w=";
|
in
|
||||||
rev = "v4.0.0.rc2";
|
stdenv.mkDerivation rec {
|
||||||
};
|
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
|
||||||
pname = "wofi-emoji";
|
pname = "wofi-emoji";
|
||||||
version = "unstable-2021-05-24";
|
version = "unstable-2022-08-19";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "dln";
|
owner = "dln";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "bfe35c1198667489023109f6843217b968a35183";
|
rev = "c5ecb4f0f164aedb046f52b5eacac889609c8522";
|
||||||
sha256 = "sha256-wMIjTUCVn4uF0cpBkPfs76NRvwS0WhGGJRy9vvtmVWQ=";
|
sha256 = "1wq276bhf9x24ds13b2dwa69cjnr207p6977hr4bsnczryg609rh";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ jq ];
|
nativeBuildInputs = [ jq ];
|
||||||
|
buildInputs = [ wofi wtype wl-clipboard ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
cp "${emojiJSON}/db/emoji.json" .
|
|
||||||
substituteInPlace build.sh \
|
substituteInPlace build.sh \
|
||||||
--replace 'curl https://raw.githubusercontent.com/github/gemoji/master/db/emoji.json' 'cat emoji.json'
|
--replace 'curl ${emojiJSON.url}' 'cat emoji-en-US.json'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user