wofi-emoji: 1.0.0 -> 1.1.0
This commit is contained in:
parent
d7041843af
commit
db5bf85d70
@ -11,22 +11,23 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
emojiJSON = fetchurl {
|
emojiJSON = fetchurl {
|
||||||
url = "https://raw.githubusercontent.com/muan/emojilib/v3.0.11/dist/emoji-en-US.json";
|
url = "https://raw.githubusercontent.com/muan/emojilib/v4.0.0/dist/emoji-en-US.json";
|
||||||
hash = "sha256-WHqCSNgDzc6ZASdVrwPvsU4MtBcYLKDp2D2Hykrq1sI=";
|
hash = "sha256-IoU9ZPCqvSPX4DmfC+r5MiglhFc41XMRrbJRL9ZNrvs=";
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "wofi-emoji";
|
pname = "wofi-emoji";
|
||||||
version = "1.0.0";
|
version = "1.1.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Zeioth";
|
owner = "Zeioth";
|
||||||
repo = "wofi-emoji";
|
repo = "wofi-emoji";
|
||||||
rev = "v${version}";
|
tag = "v${version}";
|
||||||
hash = "sha256-wLZK7RcDxxlYuu27WNj+SoRoBiCqk9whp4Fyg0SOoPA=";
|
hash = "sha256-NHiAAPRbIz0sC5yh9DTDmIU3zDBFIlUsbpW4HAPr5C8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ jq ];
|
nativeBuildInputs = [ jq ];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
wofi
|
wofi
|
||||||
wtype
|
wtype
|
||||||
@ -35,11 +36,11 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace build.sh \
|
substituteInPlace build.sh \
|
||||||
--replace 'curl ${emojiJSON.url}' 'cat ${emojiJSON}'
|
--replace-fail 'curl ${emojiJSON.url}' 'cat ${emojiJSON}'
|
||||||
substituteInPlace wofi-emoji \
|
substituteInPlace wofi-emoji \
|
||||||
--replace 'wofi' '${wofi}/bin/wofi' \
|
--replace-fail 'wofi' '${wofi}/bin/wofi' \
|
||||||
--replace 'wtype' '${wtype}/bin/wtype' \
|
--replace-fail 'wtype' '${wtype}/bin/wtype' \
|
||||||
--replace 'wl-copy' '${wl-clipboard}/bin/wl-copy'
|
--replace-fail 'wl-copy' '${wl-clipboard}/bin/wl-copy'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user