noto-fonts-emoji-blob-bin: 2019-06-14-Emoji-12 -> 14.0.1

Also just use fetchurl
This commit is contained in:
06kellyjac 2021-11-03 22:09:47 +00:00
parent f92500945f
commit ff0434ecfe

View file

@ -170,27 +170,28 @@ in
};
};
noto-fonts-emoji-blob-bin = stdenv.mkDerivation rec {
pname = "noto-fonts-emoji-blob-bin";
version = "2019-06-14-Emoji-12";
src = fetchurl {
noto-fonts-emoji-blob-bin =
let
pname = "noto-fonts-emoji-blob-bin";
version = "14.0.1";
in
fetchurl {
name = "${pname}-${version}";
url = "https://github.com/C1710/blobmoji/releases/download/v${version}/Blobmoji.ttf";
sha256 = "0snvymglmvpnfgsriw2cnnqm0f4llav0jvzir6mpd17mqqhhabbh";
sha256 = "sha256-wSH9kRJ8y2i5ZDqzeT96dJcEJnHDSpU8bOhmxaT+UCg=";
downloadToTemp = true;
recursiveHash = true;
postFetch = ''
install -Dm 444 $downloadedFile $out/share/fonts/blobmoji/Blobmoji.ttf
'';
meta = with lib; {
description = "Noto Emoji with extended Blob support";
homepage = "https://github.com/C1710/blobmoji";
license = with licenses; [ ofl asl20 ];
platforms = platforms.all;
maintainers = with maintainers; [ rileyinman jk ];
};
};
dontUnpack = true;
installPhase = ''
install -D $src $out/share/fonts/blobmoji/Blobmoji.ttf
'';
meta = with lib; {
description = "Noto Emoji with extended Blob support";
homepage = "https://github.com/C1710/blobmoji";
license = with licenses; [ ofl asl20 ];
platforms = platforms.all;
maintainers = with maintainers; [ rileyinman ];
};
};
}