about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyasyncore/default.nix
blob: 716076e4e34fa3d8c4bb020e12de7e3d86cc6216 (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.2";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "simonrob";
    repo = "pyasyncore";
    rev = "v${version}";
    hash = "sha256-8U46q1QIjBkFh04NkAHZ0XRutlzpJHZWAqDZJj3tdEk=";
  };

  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.unfree; # FIXME: nix-init did not found a license
    maintainers = with maintainers; [ ];
  };
}