diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 8a7de50f98dc..cdb08e8186e1 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -13932,6 +13932,12 @@ githubId = 9267430; name = "Philipp Mildenberger"; }; + philiptaron = { + email = "philip.taron@gmail.com"; + github = "philiptaron"; + githubId = 43863; + name = "Philip Taron"; + }; phip1611 = { email = "phip1611@gmail.com"; github = "phip1611"; diff --git a/pkgs/by-name/qr/qrtool/package.nix b/pkgs/by-name/qr/qrtool/package.nix new file mode 100644 index 000000000000..32cf7960825b --- /dev/null +++ b/pkgs/by-name/qr/qrtool/package.nix @@ -0,0 +1,28 @@ +{ lib +, stdenv +, fetchFromGitHub +, rustPlatform +}: + +rustPlatform.buildRustPackage rec { + pname = "qrtool"; + version = "0.8.4"; + + src = fetchFromGitHub { + owner = "sorairolake"; + repo = "qrtool"; + rev = "v${version}"; + sha256 = "sha256-FoWUGhNfVILpYxmsnSzRIM1+R9/xFxCF7W1sdiHaAiA="; + }; + + cargoSha256 = "sha256-mtejnHCkN2krgFAneyyBpvbv5PZO3GigM2DJqrbHim4="; + + meta = with lib; { + maintainers = with maintainers; [ philiptaron ]; + description = "An utility for encoding or decoding QR code"; + license = licenses.asl20; + homepage = "https://sorairolake.github.io/qrtool/book/index.html"; + changelog = "https://sorairolake.github.io/qrtool/book/changelog.html"; + mainProgram = "qrtool"; + }; +}