python3Packages.pycryptodomex: update style

This commit is contained in:
Fabian Affolter 2021-02-24 23:31:28 +01:00
parent 8c53fb6fa8
commit dc20c75a88

View File

@ -1,17 +1,23 @@
{ lib, buildPythonPackage, fetchPypi }: { lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pycryptodomex"; pname = "pycryptodomex";
version = "3.10.1"; version = "3.10.1";
meta = {
description = "A self-contained cryptographic library for Python";
homepage = "https://www.pycryptodome.org";
license = lib.licenses.bsd2;
};
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-VBzT4+JS+xmntI9CC3mLU0gzArf+TZlUyUdgXQomPWI="; sha256 = "sha256-VBzT4+JS+xmntI9CC3mLU0gzArf+TZlUyUdgXQomPWI=";
}; };
pythonImportsCheck = [ "Cryptodome" ];
meta = with lib; {
description = "A self-contained cryptographic library for Python";
homepage = "https://www.pycryptodome.org";
license = licenses.bsd2;
maintainers = with maintainers; [ fab ];
};
} }