lol

Merge pull request #240496 from sayanarijit/master

qrscan: init at 0.1.9

authored by

Emily and committed by
GitHub
f038daef 3456b015

+38
+36
pkgs/tools/misc/qrscan/default.nix
··· 1 + { lib, rustPlatform, fetchFromGitHub, stdenv }: 2 + 3 + rustPlatform.buildRustPackage rec { 4 + pname = "qrscan"; 5 + version = "0.1.9"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "sayanarijit"; 9 + repo = "qrscan"; 10 + rev = "v${version}"; 11 + hash = "sha256-nAUZUE7NppsCAV8UyR8+OkikT4nJtnamsSVeyNz21EQ="; 12 + }; 13 + 14 + nativeBuildInputs = [ 15 + rustPlatform.bindgenHook 16 + ]; 17 + 18 + cargoHash = "sha256-P40IwFRtEQp6BGRgmt1x3UXtAKtWaMjR3kqhYq+p7wQ="; 19 + 20 + checkFlags = [ 21 + # requires filesystem write access 22 + "--skip=tests::test_export_files" 23 + "--skip=tests::test_scan_from_stdin" 24 + "--skip=tests::test_scan_jpeg_file" 25 + "--skip=tests::test_scan_no_content" 26 + "--skip=tests::test_scan_png_file" 27 + ]; 28 + 29 + meta = with lib; { 30 + description = "Scan a QR code in the terminal using the system camera or a given image"; 31 + homepage = "https://github.com/sayanarijit/qrscan"; 32 + license = licenses.mit; 33 + broken = stdenv.isDarwin; 34 + maintainers = [ maintainers.sayanarijit ]; 35 + }; 36 + }
+2
pkgs/top-level/all-packages.nix
··· 11919 11919 11920 11920 qrcp = callPackage ../tools/networking/qrcp { }; 11921 11921 11922 + qrscan = callPackage ../tools/misc/qrscan { }; 11923 + 11922 11924 qtikz = libsForQt5.callPackage ../applications/graphics/ktikz { }; 11923 11925 11924 11926 qtspim = libsForQt5.callPackage ../development/tools/misc/qtspim { };