Something went wrong. Try again.
lol
Something went wrong. Try again.
945 B · 43 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344{ lib, stdenv, aiomisc-pytest, buildPythonPackage, fetchFromGitHub, pytestCheckHook, setuptools,}:
buildPythonPackage (finalAttrs: { pname = "caio"; version = "0.10.0"; pyproject = true;
src = fetchFromGitHub { owner = "mosquito"; repo = "caio"; tag = finalAttrs.version; hash = "sha256-F14uNUELzgAHbk0onY2MrXWRvifa3AeNkw2IFHcRDvo="; };
build-system = [ setuptools ];
nativeCheckInputs = [ aiomisc-pytest pytestCheckHook ];
env.NIX_CFLAGS_COMPILE = toString ( lib.optionals stdenv.cc.isClang [ "-Wno-error=implicit-function-declaration" ] );
pythonImportsCheck = [ "caio" ];
meta = { description = "File operations with asyncio support"; homepage = "https://github.com/mosquito/caio"; changelog = "https://github.com/mosquito/caio/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; };})