Files
nixpkgs/pkgs/development/python-modules/pyasyncore/default.nix
T
Jörg Thalheim 5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00

33 lines
657 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
}:
buildPythonPackage rec {
pname = "pyasyncore";
version = "1.0.4";
pyproject = true;
src = fetchFromGitHub {
owner = "simonrob";
repo = "pyasyncore";
rev = "refs/tags/v${version}";
hash = "sha256-ptqOsbkY7XYZT5sh6vctfxZ7BZPX2eLjo6XwZfcmtgk=";
};
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 = [ ];
};
}