mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 22:23:15 +00:00
34 lines
694 B
Nix
34 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 ];
|
|
};
|
|
}
|