Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
788 B · 45 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546{ lib, buildPythonPackage, fetchFromGitHub, cython, setuptools, pytestCheckHook}:
buildPythonPackage rec { pname = "http-parser"; version = "0.9.0"; format = "pyproject";
src = fetchFromGitHub { owner = "benoitc"; repo = pname; rev = "refs/tags/${version}"; hash = "sha256-WHimvSaNcncwzLwwk5+ZNg7BbHF+hPr39SfidEDYfhU="; };
nativeBuildInputs = [ cython setuptools ];
preBuild = '' # re-run cython make -B '';
pythonImportsCheck = [ "http_parser" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; { description = "HTTP request/response parser for python in C"; homepage = "https://github.com/benoitc/http-parser"; license = licenses.mit; maintainers = with maintainers; [ ]; };}