14 # The following is list of overrides that take two arguments each:
15 # - lockAttrs: - an attrset from a Nim lockfile, use this for making constraints on the locked library
16 # - prevAttrs: - preceding arguments to the depender package
19 { buildInputs ? [ ], ... }: {
20 buildInputs = buildInputs ++ [ openssl ];
24 { buildInputs ? [ ], ... }: {
25 buildInputs = buildInputs ++ [ htslib ];
29 { nativeBuildInputs ? [ ], buildInputs ? [ ], ... }: {
30 nativeBuildInputs = nativeBuildInputs ++ [ pkg-config ];
31 buildInputs = buildInputs ++ [ getdns ];
36 (lockAttrs.rev == "84e0247555e4488594975900401baaf5bbbfb531")
37 "the selected version of the hashlib Nim library is hardware specific"
38 # https://github.com/khchen/hashlib/pull/4
39 # remove when fixed upstream
42 nimraylib_now = lockAttrs:
43 { buildInputs ? [ ], ... }: {
44 buildInputs = buildInputs ++ [ raylib ];
48 { buildInputs ? [ ], ... }: {
49 buildInputs = buildInputs ++ [ libsass ];
53 { buildInputs ? [ ], ... }: {
54 buildInputs = buildInputs ++ [ SDL2 ];
58 { nativeBuildInputs ? [ ], buildInputs ? [ ], ... }: {
59 nativeBuildInputs = nativeBuildInputs ++ [ pkg-config ];
60 buildInputs = buildInputs ++ [ tkrzw ];
64 { buildInputs ? [ ], ... }: {
65 buildInputs = buildInputs ++ (with xorg; [ libX11 libXft libXinerama ]);
69 { nimFlags ? [ ], ... }: {
70 nimFlags = nimFlags ++ lib.optionals stdenv.hostPlatform.isx86_64 [