You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
683B

  1. { pkgs ? import <nixpkgs> { }}:
  2. with pkgs;
  3. ((callPackage ./Cargo.nix { }).goblin { }).override {
  4. crateOverrides = defaultCrateOverrides // {
  5. libgpg-error-sys = attrs: {
  6. postFixup = ''
  7. substituteInPlace $lib/env --replace LIBGPG-ERROR GPG_ERROR
  8. substituteInPlace $lib/env --replace /build/libgpg-error-sys-0.4.1.tar.gz/target/build/ $lib/lib/
  9. '';
  10. buildInputs = [stdenv gcc automake autoconf gettext libgpgerror];
  11. NUM_JOBS = "1";
  12. };
  13. libgcrypt-sys = attrs: {
  14. buildInputs = [stdenv gcc automake autoconf libgpgerror libgcrypt];
  15. };
  16. goblin = attrs: {
  17. buildInputs = [stdenv zlib openssl xorg.libxcb];
  18. };
  19. };
  20. }