mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
39 lines
698 B
Nix
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 ];
|
|
};
|
|
}
|