aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/minidb/default.nix
blob: 209ecf998ccf7eb702db5f29227e89e6e09d55af (plain)
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
{ stdenv
, buildPythonPackage
, fetchurl
, nose
}:

buildPythonPackage rec {
  pname = "minidb";
  version = "2.0.2";

  src = fetchurl {
    url = "https://github.com/thp/minidb/archive/${version}.tar.gz";
    sha256 = "17rvkpq8v7infvbgsi48vnxamhxb3f635nqn0sln7yyvh4i9k8a0";
  };

  checkInputs = [ nose ];

  checkPhase = ''
    nosetests test
  '';

  meta = with stdenv.lib; {
    description = "A simple SQLite3-based store for Python objects";
    homepage = https://thp.io/2010/minidb/;
    license = stdenv.lib.licenses.isc;
    maintainers = [ stdenv.lib.maintainers.tv ];
  };

}