mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
37 lines
650 B
Nix
37 lines
650 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, setuptools
|
|
, aiounittest
|
|
, isPy27
|
|
, pytest
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aiosqlite";
|
|
version = "0.11.0";
|
|
disabled = isPy27;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jreese";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "0pmkp4iy738yv2sl08kvhd0ma6wjqbmfnwid72gvg4zqsr1hnn0z";
|
|
};
|
|
|
|
buildInputs = [
|
|
setuptools
|
|
];
|
|
|
|
checkInputs = [
|
|
aiounittest
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Asyncio bridge to the standard sqlite3 module";
|
|
homepage = https://github.com/jreese/aiosqlite;
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.costrouc ];
|
|
};
|
|
}
|