Merge pull request #190603 from amjoseph-nixpkgs/pr/build-rust-crate/g_k4

This commit is contained in:
Artturi 2022-12-27 19:37:35 +02:00 committed by GitHub
commit 3cb4b5cac4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,6 +19,7 @@
, foundationdb , foundationdb
, capnproto , capnproto
, nettle , nettle
, gtk4
, clang , clang
, llvmPackages , llvmPackages
, linux-pam , linux-pam
@ -126,6 +127,21 @@ in
buildInputs = [ gdk-pixbuf ]; buildInputs = [ gdk-pixbuf ];
}; };
gtk4-sys = attrs: {
buildInputs = [ gtk4 ];
nativeBuildInputs = [ pkg-config ];
};
gdk4-sys = attrs: {
buildInputs = [ gtk4 ];
nativeBuildInputs = [ pkg-config ];
};
gsk4-sys = attrs: {
buildInputs = [ gtk4 ];
nativeBuildInputs = [ pkg-config ];
};
libgit2-sys = attrs: { libgit2-sys = attrs: {
LIBGIT2_SYS_USE_PKG_CONFIG = true; LIBGIT2_SYS_USE_PKG_CONFIG = true;
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];