Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
657 B · 32 lines
Nix
123456789101112131415161718192021222324252627282930313233{ 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 = [ ]; };}