2023-05-29 00:45:19 +02:00
|
|
|
{ lib, stdenvNoCC, fetchurl, unzip }:
|
2022-12-17 12:28:25 +01:00
|
|
|
|
|
|
|
let
|
|
|
|
rev = "e764ba00b9c34524e3ff3ffd19a44fa2a5c296a5";
|
2023-05-29 00:45:19 +02:00
|
|
|
in
|
|
|
|
stdenvNoCC.mkDerivation {
|
2022-12-17 12:28:25 +01:00
|
|
|
pname = "blobs.gg";
|
|
|
|
version = "unstable-2019-07-24";
|
|
|
|
|
2023-05-29 00:45:19 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://git.pleroma.social/pleroma/emoji-index/-/raw/${rev}/packs/blobs_gg.zip";
|
|
|
|
hash = "sha256-OhLzoYFnjVs1hKYglUEbDWCjNRGBNZENh5kg+K3lpX8=";
|
|
|
|
};
|
|
|
|
|
|
|
|
sourceRoot = ".";
|
|
|
|
|
|
|
|
nativeBuildInputs = [ unzip ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
|
|
|
|
mkdir -p $out
|
|
|
|
cp *.png LICENSE $out
|
2022-12-17 12:28:25 +01:00
|
|
|
|
2023-05-29 00:45:19 +02:00
|
|
|
runHook postInstall
|
|
|
|
'';
|
2022-12-17 12:28:25 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Blob emoji from blobs.gg repacked as APNG";
|
|
|
|
homepage = "https://blobs.gg";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ mvs ];
|
|
|
|
};
|
|
|
|
}
|