1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pythonOlder 5}: 6 7buildPythonPackage rec { 8 pname = "pyflic"; 9 version = "2.0.3"; 10 disabled = pythonOlder "3.7"; 11 12 src = fetchFromGitHub { 13 owner = "soldag"; 14 repo = pname; 15 rev = version; 16 sha256 = "0adf4k191138jmbsfhkhhbgaxcq97d1hr5w48ryxr1fig64sjqy2"; 17 }; 18 19 # Projec thas no tests 20 doCheck = false; 21 22 pythonImportsCheck = [ "pyflic" ]; 23 24 meta = with lib; { 25 description = "Python module to interact with Flic buttons"; 26 homepage = "https://github.com/soldag/pyflic"; 27 license = with licenses; [ cc0 ]; 28 maintainers = with maintainers; [ fab ]; 29 }; 30}