1{ lib, buildPythonPackage, fetchPypi, isPy3k 2, requests }: 3 4buildPythonPackage rec { 5 pname = "pyupdate"; 6 version = "1.4.0"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "016f50853b4d72e5ddb963b042caa45fb60fa4d3f13aee819d829af21e55ef07"; 11 }; 12 13 propagatedBuildInputs = [ requests ]; 14 15 # As of 0.2.16, pyupdate is intimately tied to Home Assistant which is py3 only 16 disabled = !isPy3k; 17 18 # no tests 19 doCheck = false; 20 21 meta = with lib; { 22 # This description is terrible, but it's what upstream uses. 23 description = "Package to update stuff"; 24 homepage = "https://github.com/ludeeus/pyupdate"; 25 license = licenses.mit; 26 maintainers = with maintainers; [ peterhoeg ]; 27 }; 28}