Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
855 B · 40 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041{ lib, buildPythonPackage, cryptography, fetchFromGitHub, pytestCheckHook, pythonOlder, setuptools,}:
buildPythonPackage rec { pname = "noiseprotocol"; version = "0.3.1"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "plizonczyk"; repo = "noiseprotocol"; tag = "v${version}"; hash = "sha256-VZkKNxeSxLhRDhrj4VKV/1eXl7RtcsnCHru5KC/OYNY="; };
build-system = [ setuptools ];
dependencies = [ cryptography ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "noise" ];
meta = with lib; { description = "Noise Protocol Framework"; homepage = "https://github.com/plizonczyk/noiseprotocol/"; changelog = "https://github.com/plizonczyk/noiseprotocol/blob/v${version}/CHANGELOG.rst"; license = licenses.mit; maintainers = [ ]; };}