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
54
pkgs/development/python-modules/btrees/default.nix
Normal file
54
pkgs/development/python-modules/btrees/default.nix
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
{ lib
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, persistent
|
||||
, zope_interface
|
||||
, transaction
|
||||
, zope_testrunner
|
||||
, python
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "btrees";
|
||||
version = "4.10.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "BTrees";
|
||||
inherit version;
|
||||
hash = "sha256-1qsONBDQdNcVQkXW3GSTrobxtQvWCA0TEOuz7N6l3rY=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
persistent
|
||||
zope_interface
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
transaction
|
||||
zope_testrunner
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
${python.interpreter} -m zope.testrunner --test-path=src --auto-color --auto-progress
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"BTrees.OOBTree"
|
||||
"BTrees.IOBTree"
|
||||
"BTrees.IIBTree"
|
||||
"BTrees.IFBTree"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Scalable persistent components";
|
||||
homepage = "http://packages.python.org/BTrees";
|
||||
license = licenses.zpl21;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue