about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/pyasyncore/default.nix
blob: d5ebd86a7d9523781886972fa98c5a3a057f73e5 (plain) (blame)
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
33
34
35
{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
}:

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

  src = fetchFromGitHub {
    owner = "simonrob";
    repo = "pyasyncore";
    rev = "refs/tags/v${version}";
    hash = "sha256-e1iHC9mbQYlfpIdLk033wvoA5z5WcHjOZm6oFTfpRTA=";
  };

  nativeBuildInputs = [
    setuptools
  ];

  pythonImportsCheck = [
    "asyncore"
  ];

  doCheck = false; # no tests

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