depot/third_party/nixpkgs/pkgs/development/python-modules/pyflic/default.nix
Default email 841d9c7fc1 Project import generated by Copybara.
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
2021-06-29 00:13:55 +01:00

30 lines
632 B
Nix

{ 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 ];
};
}