2023-08-20 22:28:18 +01:00
|
|
|
final: prev: {
|
2022-12-04 13:45:43 +00:00
|
|
|
comic-sans = final.callPackage ./comic-sans {};
|
|
|
|
comic-code = final.callPackage ./comic-code {};
|
2023-08-29 14:07:17 +01:00
|
|
|
|
|
|
|
gobar = final.callPackage ./gobar {};
|
|
|
|
|
2022-12-04 13:45:43 +00:00
|
|
|
roc-toolkit-patched = final.callPackage ./roc-toolkit-patched {};
|
|
|
|
roc-send-pcm = final.callPackage ./roc-send-pcm {};
|
2023-08-29 14:07:17 +01:00
|
|
|
|
2022-12-03 16:40:50 +00:00
|
|
|
piped-backend = final.callPackage ./piped/backend {
|
2023-05-03 16:45:10 +01:00
|
|
|
jre = final.openjdk19_headless;
|
|
|
|
jdk = final.openjdk19;
|
2022-12-03 15:50:50 +00:00
|
|
|
};
|
2022-12-04 13:45:43 +00:00
|
|
|
piped-frontend = final.callPackage ./piped/frontend {};
|
|
|
|
piped-proxy = final.callPackage ./piped/proxy {};
|
2023-08-28 18:50:25 +01:00
|
|
|
|
2023-08-18 20:00:23 +01:00
|
|
|
mk-enc-usb = final.callPackage ../extras/mk-enc-usb.nix {};
|
|
|
|
mk-normal-enc-ssd = final.callPackage ../extras/mk-normal-enc-ssd.nix {};
|
2023-08-28 18:50:25 +01:00
|
|
|
mk-dual-enc-ssd = final.callPackage ../extras/mk-dual-enc-ssd.nix {};
|
|
|
|
|
2023-08-20 22:28:18 +01:00
|
|
|
gotosocial = prev.gotosocial.overrideAttrs (old: let
|
|
|
|
owner = "superseriousbusiness";
|
|
|
|
repo = "gotosocial";
|
|
|
|
|
2023-09-01 01:46:14 +01:00
|
|
|
version = "0.11.1";
|
|
|
|
source-hash = "sha256-qsgrHPQae1+LKF2y6e256ZfYR+a9ffe7oq1W3GJA1do=";
|
|
|
|
web-assets-hash = "sha256-xPdSwsXjyjodgEHlwl4X32Pb6TniwM9Q+u56xAoY7SQ=";
|
2023-08-20 22:28:18 +01:00
|
|
|
|
|
|
|
web-assets = final.fetchurl {
|
|
|
|
url = "https://github.com/${owner}/${repo}/releases/download/v${version}/${repo}_${version}_web-assets.tar.gz";
|
|
|
|
hash = web-assets-hash;
|
|
|
|
};
|
|
|
|
in {
|
|
|
|
inherit version;
|
2023-09-01 01:46:14 +01:00
|
|
|
|
2023-08-20 22:28:18 +01:00
|
|
|
src = final.fetchFromGitHub {
|
|
|
|
inherit owner repo;
|
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
hash = source-hash;
|
|
|
|
};
|
|
|
|
|
2023-09-01 01:46:14 +01:00
|
|
|
passthru.web-assets = web-assets;
|
|
|
|
|
2023-08-20 22:28:18 +01:00
|
|
|
ldflags = ["-s" "-w" "-X main.Version=${version}"];
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
tar xf ${web-assets}
|
|
|
|
mkdir -p $out/share/gotosocial
|
|
|
|
mv web $out/share/gotosocial/
|
|
|
|
'';
|
|
|
|
});
|
2021-12-20 23:48:26 +00:00
|
|
|
}
|