Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 54 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455{ lib, buildPythonPackage, fetchFromGitHub, setuptools, cryptography, pydantic, typing-extensions, pytestCheckHook, pytest-asyncio, pytest-cov-stub,}:
buildPythonPackage rec { pname = "doubleratchet"; version = "1.2.0"; pyproject = true;
src = fetchFromGitHub { owner = "Syndace"; repo = "python-doubleratchet"; tag = "v${version}"; hash = "sha256-TgkRityDMSzyF6ihM63lAGCSrCHCHrsbCyGYUaObvDU="; };
strictDeps = true;
build-system = [ setuptools ];
dependencies = [ cryptography pydantic typing-extensions ];
nativeCheckInputs = [ pytestCheckHook pytest-asyncio pytest-cov-stub ];
pythonImportsCheck = [ "doubleratchet" ];
meta = { description = "Python implementation of the Double Ratchet algorithm"; homepage = "https://github.com/Syndace/python-doubleratchet"; changelog = "https://github.com/Syndace/python-doubleratchet/blob/v${version}/CHANGELOG.md"; license = lib.licenses.mit; teams = with lib.teams; [ ngi ]; maintainers = with lib.maintainers; [ axler1 ]; };}