From e7e22333f680db058c13d8fce5efe11d57582240 Mon Sep 17 00:00:00 2001 From: Rahul Gopinath Date: Mon, 9 May 2016 10:39:02 -0700 Subject: [PATCH 1/6] pythonpackages.dbf: init dbf at 0.94.003 Pure python package for reading/writing dBase, FoxPro, and Visual FoxPro .dbf files --- pkgs/top-level/python-packages.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index bdfb79138d76..459096f449d2 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -91,6 +91,24 @@ in modules // { bugseverywhere = callPackage ../applications/version-management/bugseverywhere {}; + dbf = buildPythonPackage rec { + name = "dbf-0.94.003"; + disabled = isPy3k; + + meta = { + description = "Pure python package for reading/writing dBase, FoxPro, and Visual FoxPro .dbf files"; + homepage = "https://pypi.python.org/pypi/dbf"; + license = licenses.bsd2; + maintainers = with maintainers; [ vrthra ]; + }; + + src = pkgs.fetchurl { + url = "mirror://pypi/d/dbf/${name}.tar.gz"; + sha256 = "0i2454hwg67079jb56x663wqmmwr55pcr6c76q2415185y6nhny9"; + }; + }; + + dbus = callPackage ../development/python-modules/dbus { dbus = pkgs.dbus; }; From b83a9036ec1f3d09324bdd02a863c71575b686d7 Mon Sep 17 00:00:00 2001 From: Rahul Gopinath Date: Mon, 9 May 2016 10:39:12 -0700 Subject: [PATCH 2/6] 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; }; From 248ebe9b43d6043be184bf5a35d8c3bbdf176a8c Mon Sep 17 00:00:00 2001 From: Rahul Gopinath Date: Mon, 9 May 2016 10:39:15 -0700 Subject: [PATCH 3/6] pythonpackages.pytimeparse: init pytimeparse at 1.1.5 A small Python library to parse various kinds of time expressions --- 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 66aa6fb9c275..b31a61813d31 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -222,6 +222,25 @@ in modules // { pysideTools = callPackage ../development/python-modules/pyside/tools.nix { }; + pytimeparse = buildPythonPackage rec { + name = "pytimeparse-1.1.5"; + disabled = isPy3k; + + meta = { + description = "A small Python library to parse various kinds of time expressions"; + homepage = "https://github.com/wroberts/pytimeparse"; + license = licenses.mit; + maintainers = with maintainers; [ vrthra ]; + }; + + propagatedBuildInputs = with self; [ nose ]; + + src = pkgs.fetchurl { + url = "mirror://pypi/p/pytimeparse/${name}.tar.gz"; + sha256 = "01xj31m5brydm4gvc6lwx26r74903wvm1jx3g05633k3mqlvvpcs"; + }; + }; + pyxml = if !isPy3k then callPackage ../development/python-modules/pyxml{ } else throw "pyxml not supported for interpreter ${python.executable}"; rhpl = if !isPy3k then callPackage ../development/python-modules/rhpl {} else throw "rhpl not supported for interpreter ${python.executable}"; From b4706b52cceac4098e544c13f7bf6973c849c724 Mon Sep 17 00:00:00 2001 From: Rahul Gopinath Date: Mon, 9 May 2016 10:39:18 -0700 Subject: [PATCH 4/6] pythonpackages.agate: init agate at 1.2.2 agate is a Python data analysis library that is optimized for humans instead of machines. It is an alternative to numpy and pandas that solves real-world problems with readable code. --- 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 b31a61813d31..7f7dc9a660f3 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -85,6 +85,25 @@ in modules // { setuptools = callPackage ../development/python-modules/setuptools { }; + agate = buildPythonPackage rec { + name = "agate-1.2.2"; + disabled = isPy3k; + + meta = { + description = "A Python data analysis library that is optimized for humans instead of machines"; + homepage = "https://github.com/wireservice/agate"; + license = licenses.mit; + maintainers = with maintainers; [ vrthra ]; + }; + + propagatedBuildInputs = with self; [ discid six parsedatetime isodate Babel pytimeparse ]; + + src = pkgs.fetchurl { + url = "mirror://pypi/a/agate/${name}.tar.gz"; + sha256 = "0h2w30a0zhylivz86d823a05hvg8w8p61lmm855z1wwkgml9l9d4"; + }; + }; + # packages defined elsewhere blivet = callPackage ../development/python-modules/blivet { }; From b8fc7dffbf284e11dad28408fe79e9842fc9055a Mon Sep 17 00:00:00 2001 From: Rahul Gopinath Date: Mon, 9 May 2016 10:39:21 -0700 Subject: [PATCH 5/6] pythonpackages.agate-dbf: init agate-dbf at 0.1.0 agate is a Python data analysis library that is optimized for humans instead of machines. It is an alternative to numpy and pandas that helps you solve real-world problems with readable code. --- 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 7f7dc9a660f3..7ff9f4286d4c 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -104,6 +104,25 @@ in modules // { }; }; + agate-dbf = buildPythonPackage rec { + name = "agate-dbf-0.1.0"; + disabled = isPy3k; + + meta = { + description = "Adds read support for dbf files to agate"; + homepage = "https://github.com/wireservice/agate-dbf"; + license = licenses.mit; + maintainers = with maintainers; [ vrthra ]; + }; + + propagatedBuildInputs = with self; [ agate dbf dbfread ]; + + src = pkgs.fetchurl { + url = "mirror://pypi/a/agate-dbf/${name}.tar.gz"; + sha256 = "0xzz834lh4xbl342c6wmxqy7ynmsrjp42bsjahfcxhsgq33vzngz"; + }; + }; + # packages defined elsewhere blivet = callPackage ../development/python-modules/blivet { }; From 8aca7a394f5e105f544b2730b21610a4bdae9776 Mon Sep 17 00:00:00 2001 From: Rahul Gopinath Date: Mon, 9 May 2016 10:39:27 -0700 Subject: [PATCH 6/6] pythonpackages.agate-excel: init agate-excel at 0.1.0 --- 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 7ff9f4286d4c..6f75f43fb5df 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -123,6 +123,25 @@ in modules // { }; }; + agate-excel = buildPythonPackage rec { + name = "agate-excel-0.1.0"; + disabled = isPy3k; + + meta = { + description = "Adds read support for excel files to agate"; + homepage = "https://github.com/wireservice/agate-excel"; + license = licenses.mit; + maintainers = with maintainers; [ vrthra ]; + }; + + propagatedBuildInputs = with self; [ agate openpyxl xlrd ]; + + src = pkgs.fetchurl { + url = "mirror://pypi/a/agate-excel/${name}.tar.gz"; + sha256 = "08zvj3pwqw8zhd58iyymiwblrk92y4gl6yyrb2svb0k8za7v0hak"; + }; + }; + # packages defined elsewhere blivet = callPackage ../development/python-modules/blivet { };