diff options
Diffstat (limited to 'nixpkgs/pkgs/servers/akkoma/emoji/blobs_gg.nix')
-rw-r--r-- | nixpkgs/pkgs/servers/akkoma/emoji/blobs_gg.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/servers/akkoma/emoji/blobs_gg.nix b/nixpkgs/pkgs/servers/akkoma/emoji/blobs_gg.nix new file mode 100644 index 000000000000..0e6ab5c0d90c --- /dev/null +++ b/nixpkgs/pkgs/servers/akkoma/emoji/blobs_gg.nix @@ -0,0 +1,34 @@ +{ lib, stdenvNoCC, fetchurl, unzip }: + +let + rev = "e764ba00b9c34524e3ff3ffd19a44fa2a5c296a5"; +in +stdenvNoCC.mkDerivation { + pname = "blobs.gg"; + version = "unstable-2019-07-24"; + + 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 + + runHook postInstall + ''; + + meta = with lib; { + description = "Blob emoji from blobs.gg repacked as APNG"; + homepage = "https://blobs.gg"; + license = licenses.asl20; + maintainers = with maintainers; [ mvs ]; + }; +} |