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
30
pkgs/development/python-modules/humanfriendly/default.nix
Normal file
30
pkgs/development/python-modules/humanfriendly/default.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{ lib
|
||||
, pythonOlder
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, monotonic
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "humanfriendly";
|
||||
version = "10.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "6b0b831ce8f15f7300721aa49829fc4e83921a9a301cc7f606be6686a2288ddc";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = lib.optional (pythonOlder "3.3") monotonic;
|
||||
|
||||
# humanfriendly tests depends on coloredlogs which itself depends on
|
||||
# humanfriendly. This lead to infinite recursion when trying to
|
||||
# build this package so we have to disable the test suite :(
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Human friendly output for text interfaces using Python";
|
||||
homepage = "https://humanfriendly.readthedocs.io/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ montag451 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue