mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 16:23:26 +00:00
25 lines
569 B
Nix
25 lines
569 B
Nix
{ 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;
|
|
};
|
|
}
|