1{ stdenv
2, buildPythonPackage
3, fetchurl
4, nose
5}:
6
7buildPythonPackage rec {
8 pname = "minidb";
9 version = "2.0.2";
10
11 src = fetchurl {
12 url = "https://github.com/thp/minidb/archive/${version}.tar.gz";
13 sha256 = "17rvkpq8v7infvbgsi48vnxamhxb3f635nqn0sln7yyvh4i9k8a0";
14 };
15
16 checkInputs = [ nose ];
17
18 checkPhase = ''
19 nosetests test
20 '';
21
22 meta = with stdenv.lib; {
23 description = "A simple SQLite3-based store for Python objects";
24 homepage = https://thp.io/2010/minidb/;
25 license = stdenv.lib.licenses.isc;
26 maintainers = [ stdenv.lib.maintainers.tv ];
27 };
28
29}