python3Packages.pyflic: init at 2.0.3

This commit is contained in:
Fabian Affolter 2021-06-03 17:31:55 +02:00 committed by Jonathan Ringer
parent b73c304dce
commit 8cb2d7a095
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
}:
buildPythonPackage rec {
pname = "pyflic";
version = "2.0.3";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "soldag";
repo = pname;
rev = version;
sha256 = "0adf4k191138jmbsfhkhhbgaxcq97d1hr5w48ryxr1fig64sjqy2";
};
# Projec thas no tests
doCheck = false;
pythonImportsCheck = [ "pyflic" ];
meta = with lib; {
description = "Python module to interact with Flic buttons";
homepage = "https://github.com/soldag/pyflic";
license = with licenses; [ cc0 ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -5742,6 +5742,8 @@ in {
pyflakes = callPackage ../development/python-modules/pyflakes { };
pyflic = callPackage ../development/python-modules/pyflic { };
pyflume = callPackage ../development/python-modules/pyflume { };
pyflunearyou = callPackage ../development/python-modules/pyflunearyou { };