Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / airtouch4pyapi / default.nix
blobde19c5965364491c4c018cc2562cbf1220d12520
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , numpy
5 , pythonOlder
6 }:
8 buildPythonPackage rec {
9   pname = "airtouch4pyapi";
10   version = "1.0.8";
11   format = "setuptools";
13   disabled = pythonOlder "3.6";
15   src = fetchFromGitHub {
16     owner = "LonePurpleWolf";
17     repo = pname;
18     rev = "refs/tags/v${version}";
19     hash = "sha256-RiRwebumidn0nijL/e9J74ZYx0DASi1up5BTNxYoGEA=";
20   };
22   propagatedBuildInputs = [
23     numpy
24   ];
26   # Project has no tests
27   doCheck = false;
29   pythonImportsCheck = [ "airtouch4pyapi" ];
31   meta = with lib; {
32     description = "Python API for Airtouch 4 controllers";
33     homepage = "https://github.com/LonePurpleWolf/airtouch4pyapi";
34     license = with licenses; [ mit ];
35     maintainers = with maintainers; [ fab ];
36   };