python3Packages.pysonos: 0.0.37 -> 0.0.40
This commit is contained in:
parent
4082a4e50c
commit
1f9b9159ec
@ -1,6 +1,6 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchFromGitHub
|
||||||
, isPy3k
|
, isPy3k
|
||||||
, xmltodict
|
, xmltodict
|
||||||
, requests
|
, requests
|
||||||
@ -9,17 +9,21 @@
|
|||||||
# Test dependencies
|
# Test dependencies
|
||||||
, pytest, pylint, flake8, graphviz
|
, pytest, pylint, flake8, graphviz
|
||||||
, mock, sphinx, sphinx_rtd_theme
|
, mock, sphinx, sphinx_rtd_theme
|
||||||
|
, requests-mock
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pysonos";
|
pname = "pysonos";
|
||||||
version = "0.0.37";
|
version = "0.0.40";
|
||||||
|
|
||||||
disabled = !isPy3k;
|
disabled = !isPy3k;
|
||||||
|
|
||||||
src = fetchPypi {
|
# pypi package is missing test fixtures
|
||||||
inherit pname version;
|
src = fetchFromGitHub {
|
||||||
sha256 = "43a046c1c6086500fb0f4be1094ca963f5b0f555a04b692832b2b88ab741824e";
|
owner = "amelchio";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0a0c7jwv39nbvpdcx32sd8kjmj4nyrd7k0yxhpmxdnx4zr4vvzqg";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ xmltodict requests ifaddr ];
|
propagatedBuildInputs = [ xmltodict requests ifaddr ];
|
||||||
@ -27,6 +31,7 @@ buildPythonPackage rec {
|
|||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytest pylint flake8 graphviz
|
pytest pylint flake8 graphviz
|
||||||
mock sphinx sphinx_rtd_theme
|
mock sphinx sphinx_rtd_theme
|
||||||
|
requests-mock
|
||||||
];
|
];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user