This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
33 lines
609 B
Nix
33 lines
609 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
cryptography,
|
|
python-axolotl-curve25519,
|
|
protobuf,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "python-axolotl";
|
|
version = "0.2.3";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1bwdp24fmriffwx91aigs9k162albb51iskp23nc939z893q23py";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
cryptography
|
|
python-axolotl-curve25519
|
|
protobuf
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/tgalal/python-axolotl";
|
|
description = "Python port of libaxolotl-android";
|
|
maintainers = [ ];
|
|
license = lib.licenses.gpl3;
|
|
};
|
|
}
|