summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pysonos
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2021-05-24 09:55:24 -0500
committerRobin Gloster <mail@glob.in>2021-05-24 09:55:24 -0500
commit4bc5fbef9d159e143fb7e2c3231932e6e76f667c (patch)
treee2198f5c552e0667d838b8ec764ddb3a4d8f6dec /pkgs/development/python-modules/pysonos
parentjq: fix build with structured-attrs on darwin (diff)
parentMerge pull request #123802 from superherointj/package-virtmanager-bugfix (diff)
downloadnixpkgs-origin/structured-attrs.tar.gz
Merge remote-tracking branch 'upstream/master' into structured-attrsorigin/structured-attrs
Diffstat (limited to 'pkgs/development/python-modules/pysonos')
-rw-r--r--pkgs/development/python-modules/pysonos/default.nix18
1 files changed, 11 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/pysonos/default.nix b/pkgs/development/python-modules/pysonos/default.nix
index 308dd4e7f25b..05411e0d7fb7 100644
--- a/pkgs/development/python-modules/pysonos/default.nix
+++ b/pkgs/development/python-modules/pysonos/default.nix
@@ -14,7 +14,7 @@
buildPythonPackage rec {
pname = "pysonos";
- version = "0.0.43";
+ version = "0.0.49";
disabled = !isPy3k;
@@ -23,10 +23,14 @@ buildPythonPackage rec {
owner = "amelchio";
repo = pname;
rev = "v${version}";
- sha256 = "sha256-OobKlAymXXvQH6m77Uqn2eoTlWgs8EBxYIDFJ5wwMKA=";
+ sha256 = "sha256-f8MBf2E7kHzvdt7oBwdJZ91jlU6I5np1FhOmxgxbqYw=";
};
- propagatedBuildInputs = [ ifaddr requests xmltodict ];
+ propagatedBuildInputs = [
+ ifaddr
+ requests
+ xmltodict
+ ];
checkInputs = [
pytestCheckHook
@@ -38,10 +42,10 @@ buildPythonPackage rec {
"test_desc_from_uri" # test requires network access
];
- meta = {
- homepage = "https://github.com/amelchio/pysonos";
+ meta = with lib; {
description = "A SoCo fork with fixes for Home Assistant";
- license = lib.licenses.mit;
- maintainers = with lib.maintainers; [ juaningan ];
+ homepage = "https://github.com/amelchio/pysonos";
+ license = licenses.mit;
+ maintainers = with maintainers; [ juaningan ];
};
}