biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / omemo-dr / default.nix
blob83e221c729c6106c8950974e8d7335975d18efa1
2   lib,
3   buildPythonPackage,
4   cryptography,
5   fetchPypi,
6   protobuf,
7   pytestCheckHook,
8   pythonOlder,
9   setuptools,
12 buildPythonPackage rec {
13   pname = "omemo-dr";
14   version = "1.0.1";
15   pyproject = true;
17   disabled = pythonOlder "3.10";
19   src = fetchPypi {
20     inherit pname version;
21     hash = "sha256-KoqMdyMdc5Sb3TdSeNTVomElK9ruUstiQayyUcIC02E=";
22   };
24   nativeBuildInputs = [ setuptools ];
26   propagatedBuildInputs = [
27     cryptography
28     protobuf
29   ];
31   nativeCheckInputs = [ pytestCheckHook ];
33   pythonImportsCheck = [ "omemo_dr" ];
35   meta = with lib; {
36     description = "OMEMO Double Ratchet";
37     homepage = "https://dev.gajim.org/gajim/omemo-dr/";
38     changelog = "https://dev.gajim.org/gajim/omemo-dr/-/blob/v${version}/CHANGELOG.md";
39     license = licenses.gpl3Only;
40     maintainers = [ ];
41   };