depot/third_party/nixpkgs/pkgs/development/python-modules/aladdin-connect/default.nix
Default email 81047829ea Project import generated by Copybara.
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
2022-02-10 15:34:41 -05:00

33 lines
694 B
Nix

{ lib
, requests
, buildPythonPackage
, fetchFromGitHub
}:
buildPythonPackage rec {
pname = "aladdin-connect";
version = "0.4";
src = fetchFromGitHub {
owner = "shoejosh";
repo = pname;
rev = version;
sha256 = "sha256-kLvMpSGa5WyDOH3ejAJyFGsB9IiMXp+nvVxM/ZkxyFw=";
};
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 ];
};
}