From b83a9036ec1f3d09324bdd02a863c71575b686d7 Mon Sep 17 00:00:00 2001 From: Rahul Gopinath Date: Mon, 9 May 2016 10:39:12 -0700 Subject: [PATCH] pythonpackages.dbfread: init dbfread at 2.0.5 This library reads DBF files and returns the data as native Python data types for further processing. It is primarily intended for batch jobs and one-off scripts. --- pkgs/top-level/python-packages.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 459096f449d2..66aa6fb9c275 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -109,6 +109,25 @@ in modules // { }; + dbfread = buildPythonPackage rec { + name = "dbfread-2.0.5"; + disabled = isPy3k; + + meta = { + description = "Read DBF Files with Python"; + homepage = "http://dbfread.readthedocs.org/"; + license = licenses.mit; + maintainers = with maintainers; [ vrthra ]; + }; + + src = pkgs.fetchurl { + url = "mirror://pypi/d/dbfread/${name}.tar.gz"; + sha256 = "0r5axq9ax0czyapm7b69krcv22r1nyb4vci7c5x8mx8pq1axim93"; + }; + }; + + + dbus = callPackage ../development/python-modules/dbus { dbus = pkgs.dbus; };