fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
32 lines
663 B
Nix
32 lines
663 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pythonOlder,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyflic";
|
|
version = "2.0.3";
|
|
format = "setuptools";
|
|
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 ];
|
|
};
|
|
}
|