final: prev: { gotosocial = let version = "0.16.0-rc1"; web-assets = prev.fetchurl { url = "https://github.com/superseriousbusiness/gotosocial/releases/download/v${version}/gotosocial_${version}_web-assets.tar.gz"; hash = "sha256-bSMbqiRslDQd+HEaB0AA1pIgXeqAhamhxAq22B9gUHk="; }; in prev.gotosocial.overrideAttrs { inherit version; doCheck = false; src = prev.fetchFromGitHub { owner = "superseriousbusiness"; repo = "gotosocial"; rev = "refs/tags/v${ version }"; hash = "sha256-nO6WvGkWm5K5sitNypDLEESBAO+4ZXBMGDrkYmGDIks="; }; postInstall = '' tar xf ${web-assets} mkdir -p $out/share/gotosocial mv web $out/share/gotosocial/ ''; }; }