about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/apsw/default.nix
blob: fb22128b9288817d59fc230b2189b7f0f7476c61 (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
{ stdenv, buildPythonPackage, fetchFromGitHub
, sqlite, isPyPy }:

buildPythonPackage rec {
  pname = "apsw";
  version = "3.22.0-r1";

  disabled = isPyPy;

  src = fetchFromGitHub {
    owner = "rogerbinns";
    repo = "apsw";
    rev = version;
    sha256 = "02ldvshcgr4c7c8anp4flfnw8g8ys5bflkb8b51rb618qxhhwyak";
  };

  buildInputs = [ sqlite ];

  meta = with stdenv.lib; {
    description = "A Python wrapper for the SQLite embedded relational database engine";
    homepage = https://github.com/rogerbinns/apsw;
    license = licenses.zlib;
  };
}