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
57
pkgs/development/python-modules/zodb/default.nix
Normal file
57
pkgs/development/python-modules/zodb/default.nix
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
{ lib
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, python
|
||||
, zope_testrunner
|
||||
, transaction
|
||||
, six
|
||||
, zope_interface
|
||||
, zodbpickle
|
||||
, zconfig
|
||||
, persistent
|
||||
, zc_lockfile
|
||||
, BTrees
|
||||
, manuel
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ZODB";
|
||||
version = "5.7.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-+kC7wF7NoewkNc0MbdAqE7dphGBVikYENm9qCmhAHNM=";
|
||||
};
|
||||
|
||||
# remove broken test
|
||||
postPatch = ''
|
||||
rm -vf src/ZODB/tests/testdocumentation.py
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
transaction
|
||||
six
|
||||
zope_interface
|
||||
zodbpickle
|
||||
zconfig
|
||||
persistent
|
||||
zc_lockfile
|
||||
BTrees
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
manuel
|
||||
zope_testrunner
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} -m zope.testrunner --test-path=src []
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Zope Object Database: object database and persistence";
|
||||
homepage = "https://pypi.python.org/pypi/ZODB";
|
||||
license = licenses.zpl21;
|
||||
maintainers = with maintainers; [ goibhniu ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue