mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-21 12:38:41 +03:00
Merge pull request #259535 from fabaff/pyyardian
python311Packages.pyyardian: init at 1.1.1
This commit is contained in:
commit
fcffcdc836
46
pkgs/development/python-modules/pyyardian/default.nix
Normal file
46
pkgs/development/python-modules/pyyardian/default.nix
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
{ lib
|
||||||
|
, aiohttp
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, setuptools
|
||||||
|
, pythonOlder
|
||||||
|
, wheel
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pyyardian";
|
||||||
|
version = "1.1.1";
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "h3l1o5";
|
||||||
|
repo = "pyyardian";
|
||||||
|
rev = "refs/tags/${version}";
|
||||||
|
hash = "sha256-dnHHRGt3TsWJb6tzx+i1gb9hkLJYPVdCt92UGKuO6Mg=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
setuptools
|
||||||
|
wheel
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
aiohttp
|
||||||
|
];
|
||||||
|
|
||||||
|
# Tests require network access
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"pyyardian"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Module for interacting with the Yardian irrigation controller";
|
||||||
|
homepage = "https://github.com/h3l1o5/pyyardian";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
@ -4880,7 +4880,8 @@
|
|||||||
"yandextts" = ps: with ps; [
|
"yandextts" = ps: with ps; [
|
||||||
];
|
];
|
||||||
"yardian" = ps: with ps; [
|
"yardian" = ps: with ps; [
|
||||||
]; # missing inputs: pyyardian
|
pyyardian
|
||||||
|
];
|
||||||
"yeelight" = ps: with ps; [
|
"yeelight" = ps: with ps; [
|
||||||
aiohttp-cors
|
aiohttp-cors
|
||||||
async-upnp-client
|
async-upnp-client
|
||||||
@ -5748,6 +5749,7 @@
|
|||||||
"yamaha_musiccast"
|
"yamaha_musiccast"
|
||||||
"yandex_transport"
|
"yandex_transport"
|
||||||
"yandextts"
|
"yandextts"
|
||||||
|
"yardian"
|
||||||
"yeelight"
|
"yeelight"
|
||||||
"yolink"
|
"yolink"
|
||||||
"youless"
|
"youless"
|
||||||
|
@ -11755,6 +11755,8 @@ self: super: with self; {
|
|||||||
|
|
||||||
pyyaml-include = callPackage ../development/python-modules/pyyaml-include { };
|
pyyaml-include = callPackage ../development/python-modules/pyyaml-include { };
|
||||||
|
|
||||||
|
pyyardian = callPackage ../development/python-modules/pyyardian { };
|
||||||
|
|
||||||
pyzerproc = callPackage ../development/python-modules/pyzerproc { };
|
pyzerproc = callPackage ../development/python-modules/pyzerproc { };
|
||||||
|
|
||||||
pyzmq = callPackage ../development/python-modules/pyzmq { };
|
pyzmq = callPackage ../development/python-modules/pyzmq { };
|
||||||
|
Loading…
Reference in New Issue
Block a user