1{ stdenv, fetchPypi, buildPythonPackage, aenum, isPy3k }:
2
3buildPythonPackage rec {
4 pname = "dbf";
5 version = "0.96.8";
6 name = "${pname}-${version}";
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "1z8n7s4cka6x9ybh4qpfhj51v2qrk38h2f06npizzhm0hmn6r3v1";
11 };
12
13 propagatedBuildInputs = [ aenum ];
14
15 doCheck = !isPy3k;
16 # tests are not yet ported.
17 # https://groups.google.com/forum/#!topic/python-dbase/96rx2xmCG4w
18
19 meta = with stdenv.lib; {
20 description = "Pure python package for reading/writing dBase, FoxPro, and Visual FoxPro .dbf files";
21 homepage = "https://pypi.python.org/pypi/dbf";
22 license = licenses.bsd2;
23 maintainers = with maintainers; [ vrthra ];
24 };
25}