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

33 lines
695 B
Nix

{ lib
, requests
, buildPythonPackage
, fetchFromGitHub
}:
buildPythonPackage rec {
pname = "aladdin-connect";
version = "0.3";
src = fetchFromGitHub {
owner = "shoejosh";
repo = pname;
rev = version;
sha256 = "0nimd1nw1haxn8s2207fcrmpjyfp6nx97n560l6hzqyqqmf2d1d1";
};
propagatedBuildInputs = [
requests
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "aladdin_connect" ];
meta = with lib; {
description = "Python library for interacting with Genie Aladdin Connect devices";
homepage = "https://github.com/shoejosh/aladdin-connect";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}