Unverified Commit a406725e authored by annalee's avatar annalee
Browse files

qrcode: update latest rev to fix compiler errors

handle truncated files and give proper prototypes.
parent af8e4dc7
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -2,17 +2,15 @@

stdenv.mkDerivation {
  pname = "qrcode";
  version = "unstable-2022-01-10";
  version = "unstable-2023-12-02";

  src = fetchFromGitHub {
    owner = "qsantos";
    repo = "qrcode";
    rev = "f4475866bbf963ad118db936060f606eedc224d5";
    hash = "sha256-IbWYSAc0PvSWcxKaPUXDldGDCK/lPZjptepYtLppPmA=";
    rev = "96fac69ad3e4f616ce75c0e3ef4ed0574cfab315";
    hash = "sha256-Aesjys6FchB6qcLRWJNGfcEZRlO3stw3+IM8Xe2pF+Q=";
  };

  env.NIX_CFLAGS_COMPILE = "-Wno-error=unused-result";

  makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];

  installPhase = ''