default-crate-overrides: expat-sys, glib-sys, libudev-sys, sdl2-sys, servo-fontconfig, skia-bindings
This commit is contained in:
parent
4db3e73f73
commit
f1bacf5b07
1 changed files with 37 additions and 0 deletions
|
@ -12,6 +12,7 @@
|
|||
, dbus-glib
|
||||
, gdk-pixbuf
|
||||
, cairo
|
||||
, python2
|
||||
, python3
|
||||
, libsodium
|
||||
, postgresql
|
||||
|
@ -22,7 +23,11 @@
|
|||
, clang
|
||||
, llvmPackages
|
||||
, linux-pam
|
||||
, cmake
|
||||
, glib
|
||||
, freetype
|
||||
, rdkafka
|
||||
, udev
|
||||
, ...
|
||||
}:
|
||||
|
||||
|
@ -61,6 +66,10 @@ in
|
|||
buildInputs = [ dbus ];
|
||||
};
|
||||
|
||||
expat-sys = attrs: {
|
||||
nativeBuildInputs = [ cmake ];
|
||||
};
|
||||
|
||||
foundationdb-sys = attrs: {
|
||||
buildInputs = [ foundationdb ];
|
||||
# needed for 0.4+ release, when the FFI bindings are auto-generated
|
||||
|
@ -75,6 +84,16 @@ in
|
|||
buildInputs = [ foundationdb ];
|
||||
};
|
||||
|
||||
freetype-sys = attrs: {
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ freetype ];
|
||||
};
|
||||
|
||||
glib-sys = attrs: {
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ glib ];
|
||||
};
|
||||
|
||||
gobject-sys = attrs: {
|
||||
buildInputs = [ dbus-glib ];
|
||||
};
|
||||
|
@ -112,6 +131,11 @@ in
|
|||
buildInputs = [ dbus ];
|
||||
};
|
||||
|
||||
libudev-sys = attrs: {
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ udev ];
|
||||
};
|
||||
|
||||
nettle-sys = attrs: {
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ nettle clang ];
|
||||
|
@ -146,6 +170,10 @@ in
|
|||
crateBin = [{ name = "rink"; path = "src/bin/rink.rs"; }];
|
||||
};
|
||||
|
||||
sdl2-sys = attr: {
|
||||
nativeBuildInputs = [ curl ];
|
||||
};
|
||||
|
||||
security-framework-sys = attr: {
|
||||
propagatedBuildInputs = [ Security ];
|
||||
};
|
||||
|
@ -184,6 +212,15 @@ in
|
|||
buildInputs = lib.optional stdenv.isDarwin Security;
|
||||
};
|
||||
|
||||
servo-fontconfig-sys = attrs: {
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ freetype ];
|
||||
};
|
||||
|
||||
skia-bindings = attrs: {
|
||||
nativeBuildInputs = [ python2 ];
|
||||
};
|
||||
|
||||
thrussh-libsodium = attrs: {
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ libsodium ];
|
||||
|
|
Loading…
Reference in a new issue