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