blob: 84eef562d6848288c0338546a3a9c1f9e3fcc4e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
{
lib,
aiohttp,
buildPythonPackage,
cryptography,
fetchFromGitHub,
requests,
setuptools,
}:
buildPythonPackage rec {
pname = "simplepush";
version = "2.2.3";
pyproject = true;
src = fetchFromGitHub {
owner = "simplepush";
repo = "simplepush-python";
tag = "v${version}";
hash = "sha256-DvDPihhx1rzJN6iQP5rHluplJ1AaN0b/glcd+tZCues=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
aiohttp
cryptography
requests
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "simplepush" ];
meta = {
description = "Module to send push notifications via Simplepush";
homepage = "https://github.com/simplepush/simplepush-python";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|