pythonPackages.pyatv: 0.7.2 -> 0.7.4
Also fixes build by switching to github since base_versions.txt is missing in pypi.
This commit is contained in:
parent
ffde8a8e1e
commit
96a2008d09
1 changed files with 12 additions and 10 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, buildPythonPackage, fetchPypi
|
{ stdenv, buildPythonPackage
|
||||||
, aiohttp
|
, aiohttp
|
||||||
, aiozeroconf
|
, aiozeroconf
|
||||||
, asynctest
|
, asynctest
|
||||||
|
@ -11,15 +11,20 @@
|
||||||
, pytest-asyncio
|
, pytest-asyncio
|
||||||
, pytestrunner
|
, pytestrunner
|
||||||
, srptools
|
, srptools
|
||||||
|
, zeroconf
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pyatv";
|
pname = "pyatv";
|
||||||
version = "0.7.2";
|
version = "v0.7.4";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchFromGitHub {
|
||||||
inherit pname version;
|
owner = "postlund";
|
||||||
sha256 = "83d86fac517d33a1e3063a547ee2a520fde74c74a1b95cb5a6f20afccfd59843";
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "17gsamn4aibsx4w50r9dwr5kr9anc7dd0f0dvmdl717rkgh13zyi";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pytestrunner];
|
nativeBuildInputs = [ pytestrunner];
|
||||||
|
@ -31,6 +36,8 @@ buildPythonPackage rec {
|
||||||
protobuf
|
protobuf
|
||||||
cryptography
|
cryptography
|
||||||
netifaces
|
netifaces
|
||||||
|
zeroconf
|
||||||
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
|
@ -40,11 +47,6 @@ buildPythonPackage rec {
|
||||||
pytest-asyncio
|
pytest-asyncio
|
||||||
];
|
];
|
||||||
|
|
||||||
# just run vanilla pytest to avoid inclusion of coverage reports and xdist
|
|
||||||
checkPhase = ''
|
|
||||||
pytest
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A python client library for the Apple TV";
|
description = "A python client library for the Apple TV";
|
||||||
homepage = "https://github.com/postlund/pyatv";
|
homepage = "https://github.com/postlund/pyatv";
|
||||||
|
|
Loading…
Reference in a new issue