about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/aiosqlite/default.nix
blob: e616a5363477dbf9196ca5cfbd3b70a22a26b3d9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, aiounittest
, isPy27
, pytest
}:

buildPythonPackage rec {
  pname = "aiosqlite";
  version = "0.12.0";
  disabled = isPy27;

  src = fetchFromGitHub {
    owner = "jreese";
    repo = pname;
    rev = "v${version}";
    sha256 = "090vdv210zfry0bms5b3lmm06yhiyjb8ga96996cqs611l7c2a2j";
  };

  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 ];
  };
}