Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildPythonPackage, fetchPypi, isPy3k, cryptography, python-axolotl-curve25519, protobuf }: 2 3buildPythonPackage rec { 4 pname = "python-axolotl"; 5 version = "0.2.3"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "1bwdp24fmriffwx91aigs9k162albb51iskp23nc939z893q23py"; 10 }; 11 12 propagatedBuildInputs = [ cryptography python-axolotl-curve25519 protobuf ]; 13 doCheck = isPy3k; 14 15 meta = with lib; { 16 homepage = "https://github.com/tgalal/python-axolotl"; 17 description = "Python port of libaxolotl-android"; 18 maintainers = with maintainers; [ abbradar ]; 19 license = licenses.gpl3; 20 }; 21}