python311Packages.pywebpush: refactor
This commit is contained in:
parent
3c9e0924c4
commit
3da6ce6c18
|
@ -1,28 +1,33 @@
|
||||||
{ lib
|
{ lib
|
||||||
, fetchPypi
|
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, cryptography
|
|
||||||
, http-ece
|
|
||||||
, py-vapid
|
|
||||||
, requests
|
|
||||||
, six
|
|
||||||
, coverage
|
, coverage
|
||||||
|
, cryptography
|
||||||
|
, fetchPypi
|
||||||
, flake8
|
, flake8
|
||||||
|
, http-ece
|
||||||
, mock
|
, mock
|
||||||
|
, py-vapid
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
, requests
|
||||||
|
, setuptools
|
||||||
|
, six
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pywebpush";
|
pname = "pywebpush";
|
||||||
version = "1.14.1";
|
version = "1.14.1";
|
||||||
format = "setuptools";
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-+I1+K/XofGFt+wS4yVwRkjjFEWWbAvc17nfMFoQoVe4=";
|
hash = "sha256-+I1+K/XofGFt+wS4yVwRkjjFEWWbAvc17nfMFoQoVe4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
build-system = [
|
||||||
|
setuptools
|
||||||
|
];
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
cryptography
|
cryptography
|
||||||
http-ece
|
http-ece
|
||||||
py-vapid
|
py-vapid
|
||||||
|
@ -37,13 +42,16 @@ buildPythonPackage rec {
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "pywebpush" ];
|
pythonImportsCheck = [
|
||||||
|
"pywebpush"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Webpush Data encryption library for Python";
|
description = "Webpush Data encryption library for Python";
|
||||||
mainProgram = "pywebpush";
|
|
||||||
homepage = "https://github.com/web-push-libs/pywebpush";
|
homepage = "https://github.com/web-push-libs/pywebpush";
|
||||||
|
changelog = "https://github.com/web-push-libs/pywebpush/releases/tag/${version}";
|
||||||
license = licenses.mpl20;
|
license = licenses.mpl20;
|
||||||
maintainers = with maintainers; [ peterhoeg ];
|
maintainers = with maintainers; [ peterhoeg ];
|
||||||
|
mainProgram = "pywebpush";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user