nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 37 lines 801 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 cryptography, 5 fetchFromGitHub, 6 pytestCheckHook, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "noiseprotocol"; 12 version = "0.3.1"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "plizonczyk"; 17 repo = "noiseprotocol"; 18 tag = "v${version}"; 19 hash = "sha256-VZkKNxeSxLhRDhrj4VKV/1eXl7RtcsnCHru5KC/OYNY="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 dependencies = [ cryptography ]; 25 26 nativeCheckInputs = [ pytestCheckHook ]; 27 28 pythonImportsCheck = [ "noise" ]; 29 30 meta = { 31 description = "Noise Protocol Framework"; 32 homepage = "https://github.com/plizonczyk/noiseprotocol/"; 33 changelog = "https://github.com/plizonczyk/noiseprotocol/blob/v${version}/CHANGELOG.rst"; 34 license = lib.licenses.mit; 35 maintainers = [ ]; 36 }; 37}