python313Packages.nclib: refactor
This commit is contained in:
		
							parent
							
								
									b1e2329596
								
							
						
					
					
						commit
						d7f5793eca
					
				@ -2,21 +2,21 @@
 | 
				
			|||||||
  lib,
 | 
					  lib,
 | 
				
			||||||
  buildPythonPackage,
 | 
					  buildPythonPackage,
 | 
				
			||||||
  fetchPypi,
 | 
					  fetchPypi,
 | 
				
			||||||
  pythonOlder,
 | 
					  setuptools,
 | 
				
			||||||
}:
 | 
					}:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
buildPythonPackage rec {
 | 
					buildPythonPackage rec {
 | 
				
			||||||
  pname = "nclib";
 | 
					  pname = "nclib";
 | 
				
			||||||
  version = "1.0.7";
 | 
					  version = "1.0.7";
 | 
				
			||||||
  format = "setuptools";
 | 
					  pyproject = true;
 | 
				
			||||||
 | 
					 | 
				
			||||||
  disabled = pythonOlder "3.7";
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
  src = fetchPypi {
 | 
					  src = fetchPypi {
 | 
				
			||||||
    inherit pname version;
 | 
					    inherit pname version;
 | 
				
			||||||
    hash = "sha256-40Bdkhmd3LiZAR1v36puV9l4tgtDb6T8k9j02JTR4Jo=";
 | 
					    hash = "sha256-40Bdkhmd3LiZAR1v36puV9l4tgtDb6T8k9j02JTR4Jo=";
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  build-system = [ setuptools ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  # Project has no tests
 | 
					  # Project has no tests
 | 
				
			||||||
  doCheck = false;
 | 
					  doCheck = false;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -24,9 +24,9 @@ buildPythonPackage rec {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  meta = with lib; {
 | 
					  meta = with lib; {
 | 
				
			||||||
    description = "Python module that provides netcat features";
 | 
					    description = "Python module that provides netcat features";
 | 
				
			||||||
    mainProgram = "serve-stdio";
 | 
					 | 
				
			||||||
    homepage = "https://nclib.readthedocs.io/";
 | 
					    homepage = "https://nclib.readthedocs.io/";
 | 
				
			||||||
    license = with licenses; [ mit ];
 | 
					    license = licenses.mit;
 | 
				
			||||||
    maintainers = with maintainers; [ fab ];
 | 
					    maintainers = with maintainers; [ fab ];
 | 
				
			||||||
 | 
					    mainProgram = "serve-stdio";
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user