blob: 9d217858e5f59bdc5b6d23cf3c2f13ffa2a55014 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
final: prev: {
dwm = prev.dwm.overrideAttrs (old: {
src = prev.fetchFromGitHub {
owner = "Baitinq";
repo = "dwm";
rev = "79e2e3b31c3dc0e410394006196201d5ec9ae7c5";
sha256 = "sha256-jcfcOEQTdAw/4yFmHO3MtXjhcxNnNpqJgjuxy0T8zIs=";
};
});
dmenu = prev.dmenu.overrideAttrs (old: {
src = prev.fetchFromGitHub {
owner = "Baitinq";
repo = "dmenu";
rev = "6f11b0e8c1a5fa2be1bd83820ccd8569dd2b5fa2";
sha256 = "sha256-DLuri86CMw4+3qznfskYFloCJae0eXExDpoQ4D8GpjA=";
};
NIX_CFLAGS_COMPILE = "-lXrender -lm";
patches = [./patches/dmenu_height.patch];
});
st = prev.st.overrideAttrs (old: {
buildInputs = old.buildInputs ++ [prev.harfbuzz];
src = prev.fetchFromGitHub {
owner = "LukeSmithxyz";
repo = "st";
rev = "3144a61c180b678f6b1c23f06e4b434090199fcb";
sha256 = "sha256-J5JwuQMdDU4Oy7let0IYA2rwOZD057LEE+sOmmGCkqc=";
};
});
minecraft = prev.minecraft.override {jre = prev.jdk8;};
xwinwrap = prev.xwinwrap.overrideAttrs (old: {
src = prev.fetchFromGitHub {
owner = "Baitinq";
repo = "xwinwrap";
rev = "401b5a5eb092173443253cdd57736cd6bf401e40";
sha256 = "sha256-8+asreFjzD49O3sZlAXBsWD3PU0rqkbs/J3Dq9VeiYA=";
};
buildPhase = "make all";
installPhase = ''
mkdir -p $out/bin
mv xwinwrap $out/bin/xwinwrap
'';
});
kcc = prev.kcc.overrideAttrs (oldAttrs: {
version = "5.5.2";
src = prev.fetchFromGitHub {
owner = "ciromattia";
repo = "kcc";
rev = "4ec4c9966c727d6dac44507d34607bd7d2c5ed5c";
sha256 = "sha256-vH3Cz7nL+sStogcCRLcN30Iap25f5hylXHECX52G4f0=";
};
patches = [
./patches/kcc.patch
(prev.fetchpatch
{
url = "https://github.com/Baitinq/kcc/commit/73cd0dd107901bebe7d72e2b86ecf8b830a19758.diff";
sha256 = "sha256-UsWTwujCmKsFrPUHIx8O8ELHpXFQdEbBRZh5SbPPWBM=";
})
];
});
mpv = prev.mpv.override {
scripts = [prev.mpvScripts.mpris];
};
emacs = prev.symlinkJoin {
inherit (prev.emacs) name;
inherit (prev.emacs) version;
paths = [prev.emacs];
nativeBuildInputs = [prev.makeBinaryWrapper];
postBuild = "wrapProgram $out/bin/emacs --prefix PATH : ${prev.lib.makeBinPath [prev.nodejs prev.ripgrep]}";
};
neovim = prev.symlinkJoin {
inherit (prev.neovim) name;
inherit (prev.neovim) version;
paths = [prev.neovim];
nativeBuildInputs = [prev.makeBinaryWrapper];
postBuild = "wrapProgram $out/bin/nvim --prefix PATH : ${prev.lib.makeBinPath [prev.nodejs prev.fd prev.ripgrep prev.fswatch]}";
};
}
|