about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/apsw/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/apsw/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/apsw/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/apsw/default.nix b/nixpkgs/pkgs/development/python-modules/apsw/default.nix
new file mode 100644
index 000000000000..de74480765a0
--- /dev/null
+++ b/nixpkgs/pkgs/development/python-modules/apsw/default.nix
@@ -0,0 +1,24 @@
+{ lib, stdenv, buildPythonPackage, fetchFromGitHub, fetchpatch
+, sqlite, isPyPy }:
+
+buildPythonPackage rec {
+  pname = "apsw";
+  version = "3.33.0-r1";
+
+  disabled = isPyPy;
+
+  src = fetchFromGitHub {
+    owner = "rogerbinns";
+    repo = "apsw";
+    rev = version;
+    sha256 = "05mxcw1382xx22285fnv92xblqby3adfrvvalaw4dc6rzsn6kcan";
+  };
+
+  buildInputs = [ sqlite ];
+
+  meta = with lib; {
+    description = "A Python wrapper for the SQLite embedded relational database engine";
+    homepage = "https://github.com/rogerbinns/apsw";
+    license = licenses.zlib;
+  };
+}