nixpkgs/pkgs/development/python-modules/pyflic/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
632 B
Nix
Raw Normal View History

2021-06-03 16:31:55 +01:00
{ 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 ];
};
}