summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pyasyncore/default.nix
blob: ce7f0919e1f3e665bde0d7928c81e3f263ec2c57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
}:

buildPythonPackage rec {
  pname = "pyasyncore";
  version = "1.0.4";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "simonrob";
    repo = "pyasyncore";
    tag = "v${version}";
    hash = "sha256-ptqOsbkY7XYZT5sh6vctfxZ7BZPX2eLjo6XwZfcmtgk=";
  };

  nativeBuildInputs = [ setuptools ];

  pythonImportsCheck = [ "asyncore" ];

  doCheck = false; # no tests

  meta = {
    description = "Make asyncore available for Python 3.12 onwards";
    homepage = "https://github.com/simonrob/pyasyncore";
    license = lib.licenses.psfl;
    maintainers = [ ];
  };
}