uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
42
pkgs/development/python-modules/tablib/default.nix
Normal file
42
pkgs/development/python-modules/tablib/default.nix
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
{ buildPythonPackage
|
||||
, lib
|
||||
, fetchPypi
|
||||
, isPy27
|
||||
, odfpy
|
||||
, openpyxl
|
||||
, pandas
|
||||
, setuptools-scm
|
||||
, pytestCheckHook
|
||||
, pytest-cov
|
||||
, pyyaml
|
||||
, unicodecsv
|
||||
, xlrd
|
||||
, xlwt
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "tablib";
|
||||
version = "3.2.1";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-pX8ncLjCJf6+wcseZQEqac8w3Si+gQ4P+Y0CR2jH0PE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
propagatedBuildInputs = [ xlwt openpyxl pyyaml xlrd odfpy ];
|
||||
checkInputs = [ pytestCheckHook pytest-cov unicodecsv pandas ];
|
||||
|
||||
# test_tablib needs MarkupPy, which isn't packaged yet
|
||||
pytestFlagsArray = [ "--ignore=tests/test_tablib.py" ];
|
||||
|
||||
pythonImportsCheck = [ "tablib" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Format-agnostic tabular dataset library";
|
||||
homepage = "https://tablib.readthedocs.io/";
|
||||
changelog = "https://github.com/jazzband/tablib/raw/v${version}/HISTORY.md";
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue