depot/third_party/nixpkgs/pkgs/development/python-modules/pushover-complete/default.nix
Default email 6ae7ad3cc5 Project import generated by Copybara.
GitOrigin-RevId: a322b32e9d74fb476944ff6cfb55833dc69cfaaa
2020-11-19 01:13:47 +01:00

40 lines
885 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, isPy27
, requests
, six
, tox
, pytest
, pythonOlder
}:
buildPythonPackage rec {
pname = "pushover-complete";
version = "1.1.1";
disabled = isPy27;
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";
homepage = "https://github.com/scolby33/pushover_complete";
license = licenses.mit;
maintainers = [ maintainers.mic92 ];
};
}