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,34 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pbr
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sphinxcontrib-apidoc";
|
||||
version = "0.3.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-cpv1ks97fdV8TAV5T3MtwCYScnXXhcKlSUUh/d53P7k=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# break infite recursion, remove pytest 4 requirement
|
||||
rm test-requirements.txt requirements.txt
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pbr
|
||||
];
|
||||
|
||||
# Check is disabled due to circular dependency of sphinx
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Sphinx extension for running sphinx-apidoc on each build";
|
||||
homepage = "https://github.com/sphinx-contrib/apidoc";
|
||||
license = licenses.bsd2;
|
||||
maintainers = teams.openstack.members;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue