Remove old cruff, server is 23.11 now

This commit is contained in:
Natsu Kagami 2023-12-01 23:19:34 +01:00
parent 2d726f8c04
commit 44305d6805
Signed by: nki
GPG key ID: 55A032EB38B49ADB
8 changed files with 40 additions and 904 deletions

View file

@ -1,31 +0,0 @@
{ stdenv, lib, fetchurl, autoPatchelfHook }:
with lib;
let
in
stdenv.mkDerivation rec {
pname = "gotosocial-bin";
version = "0.12.1";
src = fetchurl {
url = "https://github.com/superseriousbusiness/gotosocial/releases/download/v${version}/gotosocial_${version}_linux_amd64.tar.gz";
hash = "sha256:1i9397iqabm539h0f0j91cl8pl1chglpkzzjb7g14w9bvl086i6y";
# hash = fakeSha256;
};
nativeBuildInputs = [ autoPatchelfHook ];
sourceRoot = ".";
installPhase = ''
install -m755 -D gotosocial $out/bin/gotosocial
mkdir $out/share
cp -r web $out/share/web
cp -r example $out/share/example
'';
meta = with lib; {
homepage = "https://docs.gotosocial.org";
description = "GoToSocial network";
platforms = platforms.linux;
};
}