fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
38 lines
713 B
Nix
38 lines
713 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
qrcode,
|
|
pillow,
|
|
}:
|
|
buildPythonPackage rec {
|
|
pname = "qrcode-terminal";
|
|
version = "0.8";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-Hitp5mK5NG6Y3ZWYMDPp1Dz/BkPYr9oSYF9RVCjmZsA=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
qrcode
|
|
pillow
|
|
];
|
|
|
|
# have no test
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "qrcode_terminal" ];
|
|
|
|
meta = {
|
|
description = "Display QRCode in Terminal";
|
|
homepage = "https://github.com/alishtory/qrcode-terminal";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ moraxyc ];
|
|
mainProgram = "qrcode-terminal-py";
|
|
};
|
|
}
|