23 src = fetchFromGitLab {
27 hash = "sha256-iuA6RqclMm1CWaiM1kpOpgfYvKaYGOIwFQkLr/nCL5M=";
32 ldflags = [ "-s" "-w" ];
52 install -Dm644 icon.svg $out/share/icons/hicolor/scalable/apps/clipqr.svg
58 desktopName = "ClipQR";
60 categories = [ "Utility" ];
62 comment = "Scan QR codes on screen and from camera";
63 genericName = "ClipQR";
68 description = "Scan QR codes on screen and from camera, the result is in your clipboard";
69 license = licenses.mit;
70 maintainers = with maintainers; [ MatthieuBarthel ];
71 homepage = "https://gitlab.com/imatt-foss/clipqr";
72 broken = stdenv.hostPlatform.isDarwin;
73 mainProgram = "clipqr";