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