Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0a02d4129b2e
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: a02dbee0a0a2
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on May 27, 2020

  1. python3Packages.pyatv: 0.3.13 -> 0.6.1

    Jonathan Ringer committed May 27, 2020
    Copy the full SHA
    a02dbee View commit details
Showing with 37 additions and 7 deletions.
  1. +37 −7 pkgs/development/python-modules/pyatv/default.nix
44 changes: 37 additions & 7 deletions pkgs/development/python-modules/pyatv/default.nix
Original file line number Diff line number Diff line change
@@ -1,19 +1,49 @@
{ stdenv, buildPythonPackage, fetchPypi, srptools, aiohttp, zeroconf
, ed25519, cryptography, curve25519-donna, pytest, pytestrunner
, netifaces, asynctest, virtualenv, toml, filelock, tox }:
{ stdenv, buildPythonPackage, fetchPypi
, aiohttp
, aiozeroconf
, asynctest
, cryptography
, deepdiff
, netifaces
, protobuf
, pytest
, pytest-aiohttp
, pytest-asyncio
, pytestrunner
, srptools
}:

buildPythonPackage rec {
pname = "pyatv";
version = "0.3.13";
version = "0.6.1";

src = fetchPypi {
inherit pname version;
sha256 = "8fc1a903a9d666e4109127410d35a83458559a86bc0de3fe1ffb3f15d2d653b3";
sha256 = "0f9wj1ggllwpjd9nh6nsrck7m4gbz29q6vqbrhbkc2kz6waqkgwc";
};

propagatedBuildInputs = [ srptools aiohttp zeroconf ed25519 cryptography curve25519-donna tox ];
nativeBuildInputs = [ pytestrunner];

checkInputs = [ pytest pytestrunner netifaces asynctest virtualenv toml filelock ];
propagatedBuildInputs = [
aiozeroconf
srptools
aiohttp
protobuf
cryptography
netifaces
];

checkInputs = [
deepdiff
pytest
pytest-aiohttp
pytest-asyncio
];

# just run vanilla pytest to avoid inclusion of coverage reports and xdist
checkPhase = ''
pytest
'';

meta = with stdenv.lib; {
description = "A python client library for the Apple TV";