Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 51 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ lib, stdenv, buildPythonPackage, fetchFromGitHub, pytest-asyncio, pytestCheckHook, pythonOlder, setuptools,}:
buildPythonPackage rec { pname = "asyncio-dgram"; version = "2.2.0"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "jsbronder"; repo = "asyncio-dgram"; tag = "v${version}"; hash = "sha256-9aO3xFmoR74uZSzxBPRVvz0QSW15TAdWEszLBX8AUR4="; };
build-system = [ setuptools ];
nativeCheckInputs = [ pytest-asyncio pytestCheckHook ];
# OSError: AF_UNIX path too long doCheck = !stdenv.hostPlatform.isDarwin;
disabledTests = [ "test_protocol_pause_resume" # TypeError: socket type must be 2 "test_from_socket_bad_socket" ];
pythonImportsCheck = [ "asyncio_dgram" ];
meta = with lib; { description = "Python support for higher level Datagram"; homepage = "https://github.com/jsbronder/asyncio-dgram"; changelog = "https://github.com/jsbronder/asyncio-dgram/blob/v${version}/ChangeLog"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; };}