Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / omemo-dr / default.nix
blob03850fc8cca70f5ce90d5120bc4713575ebca697
1 { lib
2 , buildPythonPackage
3 , cryptography
4 , fetchPypi
5 , protobuf
6 , pytestCheckHook
7 , pythonOlder
8 , setuptools
9 }:
11 buildPythonPackage rec {
12   pname = "omemo-dr";
13   version = "1.0.1";
14   pyproject = true;
16   disabled = pythonOlder "3.10";
18   src = fetchPypi {
19     inherit pname version;
20     hash = "sha256-KoqMdyMdc5Sb3TdSeNTVomElK9ruUstiQayyUcIC02E=";
21   };
23   nativeBuildInputs = [
24     setuptools
25   ];
27   propagatedBuildInputs = [
28     cryptography
29     protobuf
30   ];
32   nativeCheckInputs = [
33     pytestCheckHook
34   ];
36   pythonImportsCheck = [
37     "omemo_dr"
38   ];
40   meta = with lib; {
41     description = "OMEMO Double Ratchet";
42     homepage = "https://dev.gajim.org/gajim/omemo-dr/";
43     changelog = "https://dev.gajim.org/gajim/omemo-dr/-/blob/v${version}/CHANGELOG.md";
44     license = licenses.gpl3Only;
45     maintainers = with maintainers; [ ];
46   };