1 { lib, stdenv, fetchFromGitHub, unstableGitUpdater }:
5 version = "0-unstable-2024-07-18";
7 src = fetchFromGitHub {
10 rev = "6e882a26a30ab9478ba98591ecc547614fb62b69";
11 hash = "sha256-wJL+XyYnI8crKVu+xwCioD5YcFjE5a92qkbOB7juw+s=";
14 makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
17 mkdir -p "$out"/{bin,share/doc/qrcode}
19 cp DOCUMENTATION LICENCE "$out/share/doc/qrcode"
22 passthru.updateScript = unstableGitUpdater { };
25 description = "Small QR-code tool";
26 homepage = "https://github.com/qsantos/qrcode";
27 license = licenses.gpl3Plus;
28 maintainers = with maintainers; [ raskin lucasew ];
29 platforms = with platforms; unix;
30 mainProgram = "qrcode";