depot/third_party/nixpkgs/pkgs/development/python-modules/pyflic/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

32 lines
662 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
}:
buildPythonPackage rec {
pname = "pyflic";
version = "2.0.4";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "soldag";
repo = pname;
rev = version;
sha256 = "sha256-K1trMBZfc1aHSNSddq0v//Gv8ySgT/ONQYgrKWzw2qs=";
};
# 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 ];
};
}