summaryrefslogtreecommitdiffstats
path: root/pkgs/development/python-modules/agate-dbf
diff options
context:
space:
mode:
authorRahul Gopinath <rahul@gopinath.org>2017-05-02 21:09:41 -0700
committerRahul Gopinath <rahul@gopinath.org>2017-05-03 11:58:29 -0700
commit90daf2de276b774c8da7e605f4dd7d90358e1824 (patch)
treee88fcfbee19a4b1b9d1e5faaa848ccb650aeebe7 /pkgs/development/python-modules/agate-dbf
parent4036bc91da25b31f846431ee6dce77b6f48d4c06 (diff)
agate-dbf: refactor
Diffstat (limited to 'pkgs/development/python-modules/agate-dbf')
-rw-r--r--pkgs/development/python-modules/agate-dbf/default.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/agate-dbf/default.nix b/pkgs/development/python-modules/agate-dbf/default.nix
new file mode 100644
index 000000000000..11409a11778f
--- /dev/null
+++ b/pkgs/development/python-modules/agate-dbf/default.nix
@@ -0,0 +1,21 @@
+{ stdenv, fetchPypi, buildPythonPackage, agate, dbf, dbfread }:
+
+buildPythonPackage rec {
+ name = "${pname}-${version}";
+ pname = "agate-dbf";
+ version = "0.2.0";
+
+ propagatedBuildInputs = [ agate dbf dbfread ];
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "0pkk6m873xpqj77ja6ylmg8v41abpn4bvsqw6mh2hjyd0snw2rh6";
+ };
+
+ meta = with stdenv.lib; {
+ description = "Adds read support for dbf files to agate";
+ homepage = https://github.com/wireservice/agate-dbf;
+ license = with licenses; [ mit ];
+ maintainers = with maintainers; [ vrthra ];
+ };
+}