blob: a6e3a3bbbb6c6367047411c5c847e9626fba85b0 (
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
86
87
88
89
90
91
|
{ pkgs, lib, profpatsch }:
let
inherit (pkgs)
callPackage
dontRecurseIntoAttrs
fetchurl
fetchFromGitHub
ocamlPackages
python3Packages
writers
haskell
;
inherit (profpatsch)
getBins
;
bins = getBins pkgs.bemenu [ "bemenu" ];
haskellPackages = pkgs.haskellPackages.override {
overrides = self: super: {
emoji-generic = haskell.lib.overrideSrc
(self.callPackage ./emoji-generic { }) {
src = fetchFromGitHub {
owner = "sternenseemann";
repo = "emoji-generic";
rev = "3b1267ca254e4b5740a5b963016be198dbde46a1";
sha256 = "0xhh55lgjphwal0l0yrcv2cricbl2cimdw7bhc5zrgmjqkg84kk2";
};
version = "unstable-2020-11-22";
};
};
};
in
lib.fix (self: {
inherit (haskellPackages) emoji-generic;
lib = callPackage ./lib { };
logbook = ocamlPackages.callPackage ./logbook { };
pass = (pkgs.pass.override {
waylandSupport = true;
x11Support = false;
}).overrideAttrs (old: {
patches = old.patches ++ [ ./patches/passmenu-wayland.patch ];
postPatch = ''
${old.postPatch}
substituteInPlace "contrib/dmenu/passmenu" \
--replace "bemenu" "'${bins.bemenu} -l10'"
'';
postInstall = ''
${old.postInstall}
cp "contrib/dmenu/passmenu" "$out/bin/"
'';
});
# don't bother hydra with trivial text substitution
scripts = dontRecurseIntoAttrs (callPackage ./scripts {
inherit (writers) writeBashBin;
inherit (self) shakti;
inherit getBins;
});
shakti = callPackage ./shakti { };
t = python3Packages.callPackage ./t { };
tep = callPackage ./tep {
inherit (haskellPackages)
emoji-generic text utf8-light
attoparsec bytestring;
inherit (writers) writeBashBin writeHaskell;
emojiTestTxt = fetchurl {
url = "https://www.unicode.org/Public/emoji/13.1/emoji-test.txt";
sha256 = "0n6d31533l1gnb1sxz8z486kv6rsggcpxyiq8wc1ald8l89c6g4f";
};
};
texlive = pkgs.texlive.combine {
inherit (pkgs.texlive)
scheme-medium minted titlesec units collection-bibtexextra wrapfig
libertine enumitem dashrule ifmtarg xstring xgreek adjustbox
collectbox csquotes biblatex-philosophy quoting breakurl;
};
unicode_clock = python3Packages.callPackage ./unicode_clock { };
})
|