{ lib, stdenv, fetchFromGitHub }: let meta = builtins.fromJSON (builtins.readFile ./meta.json); src = fetchFromGitHub { owner = "misskey-dev"; repo = "misskey"; rev = meta.rev; sha256 = meta.sha256; }; in stdenv.mkDerivation { pname = "misskey"; inherit version src; installPhase = '' cp -r $src $out ''; meta = with lib; { description = "Interplanetary microblogging platform. 🚀"; homepage = "https://misskey-hub.net/"; platforms = platforms.unix; }; }