Files
nixpkgs/pkgs/development/python-modules/pushover-complete/default.nix

46 lines
845 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
requests,
six,
pytestCheckHook,
requests-toolbelt,
responses,
}:
buildPythonPackage rec {
pname = "pushover-complete";
version = "1.2.0";
pyproject = true;
src = fetchPypi {
pname = "pushover_complete";
inherit version;
hash = "sha256-v0+JgShJMEdVXJ1xZD4UCKZzgV+uOuOstPn3nWtHDJw=";
};
build-system = [ setuptools ];
dependencies = [
requests
six
];
nativeCheckInputs = [
pytestCheckHook
requests-toolbelt
responses
];
pythonImportsCheck = [ "pushover_complete" ];
meta = with lib; {
description = "Python package for interacting with *all* aspects of the Pushover API";
homepage = "https://github.com/scolby33/pushover_complete";
license = licenses.mit;
maintainers = [ maintainers.mic92 ];
};
}