Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 54 lines
Nix
at litex
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pygments, pythonOlder}:
buildPythonPackage rec { pname = "aiocoap"; version = "0.4.7"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "chrysn"; repo = pname; rev = "refs/tags/${version}"; hash = "sha256-4iwoPfmIwk+PlWUp60aqA5qZgzyj34pnZHf9uH5UhnY="; };
propagatedBuildInputs = [ pygments ];
nativeCheckInputs = [ pytestCheckHook ];
disabledTestPaths = [ # Don't test the plugins "tests/test_tls.py" "tests/test_reverseproxy.py" "tests/test_oscore_plugtest.py" ];
disabledTests = [ # Communication is not properly mocked "test_uri_parser" ];
pythonImportsCheck = [ "aiocoap" ];
meta = with lib; { description = "Python CoAP library"; homepage = "https://aiocoap.readthedocs.io/"; changelog = "https://github.com/chrysn/aiocoap/blob/${version}/NEWS"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; };}