nixpkgs/pkgs/development/python-modules/aioapns/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

45 lines
757 B
Nix
Raw Normal View History

2021-09-24 01:34:43 +00:00
{ buildPythonPackage
, fetchPypi
, setuptools
2021-09-24 01:34:43 +00:00
, h2
, lib
, pyjwt
, pyopenssl
, pythonOlder
2021-09-24 01:34:43 +00:00
}:
buildPythonPackage rec {
pname = "aioapns";
2022-11-11 23:25:21 +00:00
version = "2.2";
format = "pyproject";
2021-09-24 01:34:43 +00:00
disabled = pythonOlder "3.6";
2021-09-24 01:34:43 +00:00
src = fetchPypi {
inherit pname version;
hash = "sha256-3FMNIhIZrstPKTfHVmN+K28UR2G26HZ5S/JtXmaFk1c=";
2021-09-24 01:34:43 +00:00
};
nativeBuildInputs = [
setuptools
];
2021-09-24 01:34:43 +00:00
propagatedBuildInputs = [
h2
pyopenssl
pyjwt
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "aioapns" ];
meta = with lib; {
description = "An efficient APNs Client Library for Python/asyncio";
homepage = "https://github.com/Fatal1ty/aioapns";
license = licenses.asl20;
2021-11-03 00:38:27 +00:00
maintainers = with maintainers; [ ];
2021-09-24 01:34:43 +00:00
};
}