override.nix 423 B

12345678910111213141516171819
  1. pkgs: attrs: with pkgs; with attrs; rec {
  2. version = "2.6.3";
  3. versionTag = "R_${lib.replaceStrings ["."] ["_"] version}";
  4. src = fetchFromGitHub {
  5. owner = "libexpat";
  6. repo = "libexpat";
  7. rev = "${versionTag}";
  8. hash = "sha256-xxjUNbkcJkCMzlMt5yNnnUl0pJ/pP3Z9F5qnlYQXLOQ=";
  9. };
  10. nativeBuildInputs = [ autoreconfHook ];
  11. preConfigure = ''
  12. sh ./buildconf.sh
  13. '';
  14. sourceRoot = "source/expat";
  15. }