Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 661 B view raw
1{ lib, fetchPypi, buildPythonPackage 2, coverage, flake8, mock, nose 3, http-ece, py-vapid, requests }: 4 5buildPythonPackage rec { 6 pname = "pywebpush"; 7 version = "1.11.0"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "596c74020f9cbabc99f7964127ab0bb6cc045fcfe781b7c73cffb3ea45947820"; 12 }; 13 14 propagatedBuildInputs = [ 15 http-ece py-vapid requests 16 ]; 17 18 checkInputs = [ 19 coverage flake8 mock nose 20 ]; 21 22 meta = with lib; { 23 description = "Webpush Data encryption library for Python"; 24 homepage = "https://github.com/web-push-libs/pywebpush"; 25 license = licenses.mpl20; 26 maintainers = with maintainers; [ peterhoeg ]; 27 }; 28}