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
45
pkgs/development/python-modules/pyexcel-xls/default.nix
Normal file
45
pkgs/development/python-modules/pyexcel-xls/default.nix
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pyexcel-io
|
||||
, xlrd
|
||||
, xlwt
|
||||
, nose
|
||||
, pyexcel
|
||||
, mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyexcel-xls";
|
||||
version = "0.7.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "5ec606ef8667aafbb0c3fbd8242a7c23bf175ee7c10b08f70799b84fb2db84cb";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pyexcel-io
|
||||
xlrd
|
||||
xlwt
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
nose
|
||||
pyexcel
|
||||
mock
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py --replace "xlrd<2" "xlrd<3"
|
||||
'';
|
||||
|
||||
checkPhase = "nosetests --exclude test_issue_151";
|
||||
|
||||
meta = {
|
||||
description = "A wrapper library to read, manipulate and write data in xls using xlrd and xlwt";
|
||||
homepage = "http://docs.pyexcel.org/";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ jtojnar ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue