diff --git a/pkgs/tools/graphics/qrcode/default.nix b/pkgs/by-name/qr/qrcode/package.nix similarity index 63% rename from pkgs/tools/graphics/qrcode/default.nix rename to pkgs/by-name/qr/qrcode/package.nix index e870f53da82e..b7418690a204 100644 --- a/pkgs/tools/graphics/qrcode/default.nix +++ b/pkgs/by-name/qr/qrcode/package.nix @@ -1,14 +1,14 @@ -{ lib, stdenv, fetchFromGitHub }: +{ lib, stdenv, fetchFromGitHub, unstableGitUpdater }: stdenv.mkDerivation { pname = "qrcode"; - version = "unstable-2023-12-02"; + version = "0-unstable-2024-06-05"; src = fetchFromGitHub { owner = "qsantos"; repo = "qrcode"; - rev = "96fac69ad3e4f616ce75c0e3ef4ed0574cfab315"; - hash = "sha256-Aesjys6FchB6qcLRWJNGfcEZRlO3stw3+IM8Xe2pF+Q="; + rev = "822923d1b088c58e329c155baa5e5f3e83021947"; + hash = "sha256-e/HnMOcfpGaQkPdp9zww08G4Rc1z0flA2Ghu57kKsQA="; }; makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ]; @@ -19,11 +19,13 @@ stdenv.mkDerivation { cp DOCUMENTATION LICENCE "$out/share/doc/qrcode" ''; + passthru.updateScript = unstableGitUpdater { }; + meta = with lib; { description = "A small QR-code tool"; homepage = "https://github.com/qsantos/qrcode"; license = licenses.gpl3Plus; - maintainers = with maintainers; [ raskin ]; + maintainers = with maintainers; [ raskin lucasew ]; platforms = with platforms; unix; mainProgram = "qrcode"; }; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 0e11c7fa34f5..e9ff6351e5c9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -33886,8 +33886,6 @@ with pkgs; qpwgraph = qt6Packages.callPackage ../applications/audio/qpwgraph { }; - qrcode = callPackage ../tools/graphics/qrcode { }; - qsampler = libsForQt5.callPackage ../applications/audio/qsampler { }; qscreenshot = libsForQt5.callPackage ../applications/graphics/qscreenshot { };