mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 00:53:57 +00:00
45e6b6019e
Updates dependencies and migrates test from nosetests to pytest.
46 lines
756 B
Nix
46 lines
756 B
Nix
{ lib
|
|
, fetchPypi
|
|
, buildPythonPackage
|
|
, cryptography
|
|
, http-ece
|
|
, py-vapid
|
|
, requests
|
|
, six
|
|
, coverage
|
|
, flake8
|
|
, mock
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pywebpush";
|
|
version = "1.13.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "97ef000a685cd1f63d9d3553568508508904bfe419485df2b83b025d94e9ae54";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
cryptography
|
|
http-ece
|
|
py-vapid
|
|
requests
|
|
six
|
|
];
|
|
|
|
checkInputs = [
|
|
coverage
|
|
flake8
|
|
mock
|
|
pytestCheckHook
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Webpush Data encryption library for Python";
|
|
homepage = "https://github.com/web-push-libs/pywebpush";
|
|
license = licenses.mpl20;
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
};
|
|
}
|