python311Packages.consonance: refactor
This commit is contained in:
parent
c76f00a4ef
commit
ab7489d373
@ -3,6 +3,7 @@
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
setuptools,
|
||||
dissononce,
|
||||
python-axolotl-curve25519,
|
||||
transitions,
|
||||
@ -14,14 +15,14 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "consonance";
|
||||
version = "0.1.5";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tgalal";
|
||||
repo = "consonance";
|
||||
rev = version;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-BhgxLxjKZ4dSL7DqkaoS+wBPCd1SYZomRKrtDLdGmYQ=";
|
||||
};
|
||||
|
||||
@ -40,7 +41,9 @@ buildPythonPackage rec {
|
||||
PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION = "python";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
dissononce
|
||||
python-axolotl-curve25519
|
||||
transitions
|
||||
@ -53,10 +56,10 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "consonance" ];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "WhatsApp's handshake implementation using Noise Protocol";
|
||||
homepage = "https://github.com/tgalal/consonance";
|
||||
license = licenses.gpl3Plus;
|
||||
license = lib.licenses.gpl3Plus;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user