nixpkgs/pkgs/development/python-modules/caio/default.nix
2022-09-23 01:16:08 +02:00

39 lines
698 B
Nix

{ lib
, aiomisc
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "caio";
version = "0.9.8";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "mosquito";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-hUG5EaraoKj3D3K+Qm2Nm1AFe19qwRy/FnEb1SXWKDM=";
};
checkInputs = [
aiomisc
pytestCheckHook
];
pythonImportsCheck = [
"caio"
];
meta = with lib; {
description = "File operations with asyncio support";
homepage = "https://github.com/mosquito/caio";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}