btrbk: add mainProgram (#356350)
[NixPkgs.git] / pkgs / development / python-modules / airtouch4pyapi / default.nix
blob4fd3df8885b9a927832c20907d28c42488e799d8
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   numpy,
6   pythonOlder,
7 }:
9 buildPythonPackage rec {
10   pname = "airtouch4pyapi";
11   version = "1.0.8";
12   format = "setuptools";
14   disabled = pythonOlder "3.6";
16   src = fetchFromGitHub {
17     owner = "LonePurpleWolf";
18     repo = pname;
19     rev = "refs/tags/v${version}";
20     hash = "sha256-RiRwebumidn0nijL/e9J74ZYx0DASi1up5BTNxYoGEA=";
21   };
23   propagatedBuildInputs = [ numpy ];
25   # Project has no tests
26   doCheck = false;
28   pythonImportsCheck = [ "airtouch4pyapi" ];
30   meta = with lib; {
31     description = "Python API for Airtouch 4 controllers";
32     homepage = "https://github.com/LonePurpleWolf/airtouch4pyapi";
33     license = with licenses; [ mit ];
34     maintainers = with maintainers; [ fab ];
35   };