noto-fonts-emoji-blob-bin: move out of noto-fonts file
This commit is contained in:
parent
c73fdc2fdc
commit
546c660ff6
30
pkgs/by-name/no/noto-fonts-emoji-blob-bin/package.nix
Normal file
30
pkgs/by-name/no/noto-fonts-emoji-blob-bin/package.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ lib
|
||||
, stdenvNoCC
|
||||
, fetchurl
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "noto-fonts-emoji-blob-bin";
|
||||
version = "15.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/C1710/blobmoji/releases/download/v${version}/Blobmoji.ttf";
|
||||
hash = "sha256-3MPWZ1A2ups171dNIiFTJ3C1vZiGy6I8ZF70aUfrePk=";
|
||||
};
|
||||
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
install -Dm 444 $src $out/share/fonts/blobmoji/Blobmoji.ttf
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Noto Emoji with extended Blob support";
|
||||
homepage = "https://github.com/C1710/blobmoji";
|
||||
license = with lib.licenses; [ ofl asl20 ];
|
||||
platforms = lib.platforms.all;
|
||||
maintainers = with lib.maintainers; [ rileyinman jk ];
|
||||
};
|
||||
}
|
@ -270,36 +270,4 @@ rec {
|
||||
sourceProvenance = [ sourceTypes.binaryBytecode ];
|
||||
};
|
||||
};
|
||||
|
||||
noto-fonts-emoji-blob-bin =
|
||||
let
|
||||
pname = "noto-fonts-emoji-blob-bin";
|
||||
version = "15.0";
|
||||
in
|
||||
stdenvNoCC.mkDerivation {
|
||||
inherit pname version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/C1710/blobmoji/releases/download/v${version}/Blobmoji.ttf";
|
||||
hash = "sha256-3MPWZ1A2ups171dNIiFTJ3C1vZiGy6I8ZF70aUfrePk=";
|
||||
};
|
||||
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm 444 $src $out/share/fonts/blobmoji/Blobmoji.ttf
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
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 ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
@ -29754,7 +29754,6 @@ with pkgs;
|
||||
noto-fonts-cjk-sans
|
||||
noto-fonts-cjk-serif
|
||||
noto-fonts-color-emoji
|
||||
noto-fonts-emoji-blob-bin
|
||||
noto-fonts-monochrome-emoji
|
||||
;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user