2022-06-12 15:39:15 +00:00
|
|
|
{
|
|
|
|
system,
|
|
|
|
pkgs,
|
|
|
|
nixpkgs,
|
|
|
|
hydra,
|
|
|
|
nixpkgs-noto-variable,
|
|
|
|
nixpkgs-go116,
|
2022-06-17 06:04:35 +00:00
|
|
|
nix-packages,
|
2022-06-12 15:39:15 +00:00
|
|
|
...
|
|
|
|
}:
|
|
|
|
with pkgs; let
|
2022-03-09 13:47:07 +00:00
|
|
|
hydra-pkg = hydra.defaultPackage.${system};
|
2022-06-12 15:39:15 +00:00
|
|
|
rtf-tokenize = with python3Packages;
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "rtf_tokenize";
|
|
|
|
version = "1.0.0";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "benoit-pierre";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1l5pfrggil9knk58r2r84i9msm7mdhddl87hkfk54qqk2sqzc06g";
|
|
|
|
};
|
2022-03-04 10:30:29 +00:00
|
|
|
};
|
2022-06-12 15:39:15 +00:00
|
|
|
noto-variable = import nixpkgs-noto-variable {inherit system;};
|
|
|
|
go116 = import nixpkgs-go116 {inherit system;};
|
|
|
|
in {
|
2022-01-27 16:16:42 +00:00
|
|
|
nixpkgs.overlays = [
|
2022-02-08 07:20:05 +00:00
|
|
|
(self: prev: {
|
2022-03-09 13:47:07 +00:00
|
|
|
hydra-unstable = hydra-pkg.overrideAttrs (old: {
|
2022-04-19 09:30:57 +00:00
|
|
|
postPatch = ''
|
|
|
|
sed -i 's/totalNarSize > maxOutputSize/false/g' src/hydra-queue-runner/build-remote.cc
|
|
|
|
'';
|
2022-03-09 16:06:46 +00:00
|
|
|
checkPhase = "true";
|
2022-04-19 09:30:57 +00:00
|
|
|
patches = [
|
|
|
|
../../extra/hydra.patch
|
|
|
|
];
|
2022-02-18 17:02:03 +00:00
|
|
|
});
|
2022-06-01 16:55:02 +00:00
|
|
|
#plover.dev = plover;
|
2022-03-04 19:29:00 +00:00
|
|
|
mosh = prev.mosh.overrideAttrs (old: {
|
|
|
|
patches = [
|
2022-04-14 08:06:43 +00:00
|
|
|
./mosh/ssh_path.patch
|
|
|
|
./mosh/mosh-client_path.patch
|
|
|
|
./mosh/utempter_path.patch
|
|
|
|
./mosh/bash_completion_datadir.patch
|
2022-03-04 19:29:00 +00:00
|
|
|
];
|
2022-03-22 10:54:47 +00:00
|
|
|
postPatch = ''
|
2022-03-27 08:21:33 +00:00
|
|
|
substituteInPlace scripts/mosh.pl \
|
|
|
|
--subst-var-by ssh "${openssh}/bin/ssh" \
|
|
|
|
--subst-var-by mosh-client "$out/bin/mosh-client"
|
2022-03-04 19:35:01 +00:00
|
|
|
'';
|
2022-03-04 19:29:00 +00:00
|
|
|
version = "2022-02-04";
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
|
|
owner = "mobile-shell";
|
|
|
|
repo = "mosh";
|
|
|
|
rev = "dbe419d0e069df3fedc212d456449f64d0280c76";
|
|
|
|
sha256 = "09mvk9zxclkf4wrkkfzg0p2hx1f74gpymr0a0l3pckmk6za2n3d1";
|
|
|
|
};
|
|
|
|
});
|
2022-06-12 15:39:15 +00:00
|
|
|
/*
|
|
|
|
gtk3 = prev.gtk3.overrideAttrs (old: {
|
|
|
|
postPatch = old.postPatch + ''
|
|
|
|
sed -i 's/gtk_compose_table_save_cache (compose_table);//' gtk/gtkcomposetable.c
|
|
|
|
'';
|
|
|
|
});
|
|
|
|
*/
|
2022-06-12 15:42:42 +00:00
|
|
|
inherit (noto-variable) noto-fonts-cjk;
|
|
|
|
inherit (go116) buildGo116Module;
|
2022-06-18 08:36:31 +00:00
|
|
|
inherit (nix-packages.packages.${system}) plover plover-plugins-manager regenpfeifer plover-regenpfeifer;
|
2022-06-14 07:47:01 +00:00
|
|
|
kitty = prev.kitty.overrideAttrs (old: {
|
2022-06-14 08:16:59 +00:00
|
|
|
patches =
|
|
|
|
old.patches
|
|
|
|
++ [
|
|
|
|
../../extra/kitty.patch
|
|
|
|
];
|
2022-06-14 07:47:01 +00:00
|
|
|
});
|
2022-06-14 11:50:10 +00:00
|
|
|
fcitx5-table-other = prev.fcitx5-table-other.overrideAttrs (old: {
|
|
|
|
src = prev.fetchFromGitHub {
|
|
|
|
owner = "pontaoski";
|
|
|
|
repo = "fcitx5-table-other";
|
|
|
|
rev = "254c0aed99fd105120521629d177636ea043bf59";
|
|
|
|
sha256 = "sha256-iYFBlrHTFyesHNEOeI98DbmXSbRHVd+avmtN7Un0eok=";
|
|
|
|
};
|
|
|
|
});
|
2022-02-08 07:20:05 +00:00
|
|
|
})
|
2022-01-27 16:16:42 +00:00
|
|
|
];
|
|
|
|
}
|