2020-02-26 15:52:47 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2020-11-05 23:31:59 +00:00
|
|
|
, isPy27
|
2020-02-26 15:52:47 +00:00
|
|
|
, requests
|
|
|
|
, six
|
|
|
|
, tox
|
|
|
|
, pytest
|
|
|
|
, pythonOlder
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pushover-complete";
|
|
|
|
version = "1.1.1";
|
2020-11-05 23:31:59 +00:00
|
|
|
disabled = isPy27;
|
2020-02-26 15:52:47 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
pname = "pushover_complete";
|
|
|
|
inherit version;
|
|
|
|
sha256 = "8a8f867e1f27762a28a0832c33c6003ca54ee04c935678d124b4c071f7cf5a1f";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
requests
|
|
|
|
six
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [ pytest tox ];
|
|
|
|
|
|
|
|
# Fails also on their travis right now:
|
|
|
|
# - https://travis-ci.org/scolby33/pushover_complete/builds?utm_medium=notification&utm_source=github_status
|
|
|
|
doCheck = pythonOlder "3.7";
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A Python package for interacting with *all* aspects of the Pushover API";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/scolby33/pushover_complete";
|
2020-02-26 15:52:47 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.mic92 ];
|
|
|
|
};
|
|
|
|
}
|