Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 28 lines 709 B view raw
1{ stdenv, buildPythonPackage, fetchPypi, isPy3k 2, requests }: 3 4buildPythonPackage rec { 5 pname = "pyupdate"; 6 version = "1.3.6"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "151dxqvdpik4jy84sq6fhjyrq2qq5l70dccgxdbxxf9qyjxpywfl"; 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 stdenv.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}