about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/py-vapid/default.nix
blob: d5af1c1c33dd198dd6b3a93a9c30ca7d29535d5b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, buildPythonPackage, fetchPypi
, flake8, mock, nose, pytest
, cryptography
}:

buildPythonPackage rec {
  pname = "py-vapid";
  version = "1.5.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "1b3g4ljkpi6ka5n63bl5y47r3qhxjmr6qfamqwxnmna2567b5las";
  };

  propagatedBuildInputs = [ cryptography ];

  checkInputs = [ flake8 mock nose pytest ];

  meta = with lib; {
    description = "VAPID is a voluntary standard for WebPush subscription providers";
    homepage = https://github.com/mozilla-services/vapid;
    license = licenses.mpl20;
  };
}