Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pythonOlder, 6 requests, 7}: 8 9buildPythonPackage rec { 10 pname = "sunwatcher"; 11 version = "0.2.1"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.6"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "0swmvmmbfb914k473yv3fc4zizy2abq2qhd7h6lixli11l5wfjxv"; 19 }; 20 21 propagatedBuildInputs = [ requests ]; 22 23 # Project has no tests 24 doCheck = false; 25 26 pythonImportsCheck = [ "sunwatcher" ]; 27 28 meta = with lib; { 29 description = "Python module for the SolarLog HTTP API"; 30 homepage = "https://bitbucket.org/Lavode/sunwatcher/src/master/"; 31 license = with licenses; [ asl20 ]; 32 maintainers = with maintainers; [ fab ]; 33 }; 34}