2023-09-16 16:06:16 +01:00
|
|
|
final: prev: rec {
|
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 {};
|
|
|
|
|
2023-08-18 20:00:23 +01:00
|
|
|
mk-enc-usb = final.callPackage ../extras/mk-enc-usb.nix {};
|
2023-09-20 15:46:20 +01:00
|
|
|
mk-encrypted-drive = final.callPackage ../extras/mk-encrypted-drive.nix {};
|
2023-09-13 19:26:50 +01:00
|
|
|
mk-raspberry-ext-drive = final.callPackage ../extras/mk-raspberry-ext-drive.nix {};
|
2023-08-28 18:50:25 +01:00
|
|
|
|
2023-09-19 22:30:02 +01:00
|
|
|
kitty-terminfo = final.runCommand "kitty-terminfo" {} ''
|
|
|
|
mkdir -p $out/share
|
2023-09-20 18:04:33 +01:00
|
|
|
cp -r ${./kitty-terminfo}/* $out/share
|
2023-09-19 22:30:02 +01:00
|
|
|
'';
|
|
|
|
|
2023-09-16 16:06:16 +01:00
|
|
|
cockroachdb-bin = final.callPackage ./cockroachdb-bin {};
|
|
|
|
cockroachdb = cockroachdb-bin;
|
|
|
|
|
2023-09-11 23:22:18 +01:00
|
|
|
gotosocial = prev.gotosocial.overrideAttrs (_old: let
|
2023-08-20 22:28:18 +01:00
|
|
|
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
|
|
|
}
|