From 1bf2801567d47a59c8ca59299253b8c21539c6fa Mon Sep 17 00:00:00 2001 From: elseym Date: Thu, 22 Nov 2018 23:16:50 +0100 Subject: [PATCH] pythonPackages.pyatv: init at 0.3.12 --- .../python-modules/pyatv/default.nix | 24 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 26 insertions(+) create mode 100644 pkgs/development/python-modules/pyatv/default.nix diff --git a/pkgs/development/python-modules/pyatv/default.nix b/pkgs/development/python-modules/pyatv/default.nix new file mode 100644 index 000000000000..783a36dd2ded --- /dev/null +++ b/pkgs/development/python-modules/pyatv/default.nix @@ -0,0 +1,24 @@ +{ stdenv, buildPythonPackage, fetchPypi, srptools, aiohttp, zeroconf +, ed25519, cryptography, curve25519-donna, pytest, pytestrunner +, netifaces, asynctest, virtualenv, toml, filelock, tox }: + +buildPythonPackage rec { + pname = "pyatv"; + version = "0.3.12"; + + src = fetchPypi { + inherit pname version; + sha256 = "135xvy1nn0x5knc7l05amfs837xkx2gcg3lpp69ya9kqs8j6brgp"; + }; + + propagatedBuildInputs = [ srptools aiohttp zeroconf ed25519 cryptography curve25519-donna tox ]; + + checkInputs = [ pytest pytestrunner netifaces asynctest virtualenv toml filelock ]; + + meta = with stdenv.lib; { + description = "A python client library for the Apple TV"; + homepage = https://github.com/postlund/pyatv; + license = licenses.mit; + maintainers = with maintainers; [ elseym ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index a9ead916140b..9120d992154e 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5143,6 +5143,8 @@ in { curve25519-donna = callPackage ../development/python-modules/curve25519-donna { }; + pyatv = callPackage ../development/python-modules/curve25519-donna { }; + }); in fix' (extends overrides packages)