python3Packages.tablib: 0.12.1 -> 1.0.0
This commit is contained in:
parent
136c0e4249
commit
ce46622cbd
@ -1,29 +1,36 @@
|
|||||||
{ buildPythonPackage, stdenv, fetchPypi, pytest, unicodecsv, pandas
|
{ buildPythonPackage, lib, fetchPypi, isPy27
|
||||||
, xlwt, openpyxl, pyyaml, xlrd, odfpy, fetchpatch
|
, odfpy
|
||||||
|
, openpyxl
|
||||||
|
, pandas
|
||||||
|
, pytest
|
||||||
|
, pytestcov
|
||||||
|
, pyyaml
|
||||||
|
, unicodecsv
|
||||||
|
, xlrd
|
||||||
|
, xlwt
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "tablib";
|
pname = "tablib";
|
||||||
version = "0.12.1";
|
version = "1.0.0";
|
||||||
|
disabled = isPy27;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "11wxchj0qz77dn79yiq30k4b4gsm429f4bizk4lm4rb63nk51kxq";
|
sha256 = "0ddvcgycv5m7q4rn5bch9qnhxjgn7192z537b1wzpmwd5s074cgz";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pytest unicodecsv pandas ];
|
|
||||||
propagatedBuildInputs = [ xlwt openpyxl pyyaml xlrd odfpy ];
|
propagatedBuildInputs = [ xlwt openpyxl pyyaml xlrd odfpy ];
|
||||||
|
checkInputs = [ pytest pytestcov unicodecsv pandas ];
|
||||||
|
|
||||||
patches = [
|
# test_tablib needs MarkupPy, which isn't packaged yet
|
||||||
(fetchpatch {
|
checkPhase = ''
|
||||||
url = "https://github.com/kennethreitz/tablib/commit/0e51a2d0944022af186d2dcd34c0ab3c47141ba5.patch";
|
pytest --ignore tests/test_tablib.py
|
||||||
sha256 = "0lbbl871zdn5vpgqyjkil0c2ap3b5hz19rmihhyvrx7m4mlh1aij";
|
'';
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with lib; {
|
||||||
description = "Tablib: format-agnostic tabular dataset library";
|
description = "Format-agnostic tabular dataset library";
|
||||||
homepage = http://python-tablib.org;
|
homepage = "https://python-tablib.org";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user