22 lines
		
	
	
		
			561 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
		
		
			
		
	
	
			22 lines
		
	
	
		
			561 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| 
								 | 
							
								{ lib, buildPythonPackage, fetchPypi }:
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								buildPythonPackage rec {
							 | 
						||
| 
								 | 
							
								  pname = "PyQRCode";
							 | 
						||
| 
								 | 
							
								  version = "1.2.1";
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								  src = fetchPypi {
							 | 
						||
| 
								 | 
							
								    inherit pname version;
							 | 
						||
| 
								 | 
							
								    sha256 = "fdbf7634733e56b72e27f9bce46e4550b75a3a2c420414035cae9d9d26b234d5";
							 | 
						||
| 
								 | 
							
								  };
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								  # No tests in PyPI tarball
							 | 
						||
| 
								 | 
							
								  doCheck = false;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								  meta = with lib; {
							 | 
						||
| 
								 | 
							
								    description = "A QR code generator written purely in Python with SVG, EPS, PNG and terminal output";
							 | 
						||
| 
								 | 
							
								    homepage = https://github.com/mnooner256/pyqrcode;
							 | 
						||
| 
								 | 
							
								    license = licenses.bsd3;
							 | 
						||
| 
								 | 
							
								    maintainers = with maintainers; [ dotlambda ];
							 | 
						||
| 
								 | 
							
								  };
							 | 
						||
| 
								 | 
							
								}
							 |