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
|
|
@ -0,0 +1,36 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
, zope_event
|
||||
, zope_component
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zope.lifecycleevent";
|
||||
version = "4.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-9ahU6J/5fe6ke/vqN4u77yeJ0uDMkKHB2lfZChzmfLU=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ zope_event zope_component ];
|
||||
|
||||
# namespace colides with local directory
|
||||
doCheck = false;
|
||||
|
||||
# zope uses pep 420 namespaces for python3, doesn't work with nix + python2
|
||||
pythonImportsCheck = lib.optionals isPy3k [
|
||||
"zope.lifecycleevent"
|
||||
"zope.interface"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/zopefoundation/zope.lifecycleevent";
|
||||
description = "Object life-cycle events";
|
||||
license = licenses.zpl20;
|
||||
maintainers = with maintainers; [ goibhniu ];
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue