noto-fonts-emoji-blob-bin: 2019-06-14-Emoji-12 -> 14.0.1
Also just use fetchurl
This commit is contained in:
parent
f92500945f
commit
ff0434ecfe
1 changed files with 22 additions and 21 deletions
|
@ -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 ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue