Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
41 lines
883 B
Nix
41 lines
883 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
unstableGitUpdater,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "qrcode";
|
|
version = "0-unstable-2025-04-29";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "qsantos";
|
|
repo = "qrcode";
|
|
rev = "29140c67b69b79e5c8a52911489648853fddf85f";
|
|
hash = "sha256-WQeZB8G9Nm68mYmLr0ksZdFDcQxF54X0yJxigJZWvMo=";
|
|
};
|
|
|
|
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
|
|
|
|
installPhase = ''
|
|
mkdir -p "$out"/{bin,share/doc/qrcode}
|
|
cp qrcode "$out/bin"
|
|
cp DOCUMENTATION LICENCE "$out/share/doc/qrcode"
|
|
'';
|
|
|
|
passthru.updateScript = unstableGitUpdater { };
|
|
|
|
meta = with lib; {
|
|
description = "Small QR-code tool";
|
|
homepage = "https://github.com/qsantos/qrcode";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [
|
|
raskin
|
|
lucasew
|
|
];
|
|
platforms = with platforms; unix;
|
|
mainProgram = "qrcode";
|
|
};
|
|
}
|