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
48
pkgs/development/python-modules/faker/default.nix
Normal file
48
pkgs/development/python-modules/faker/default.nix
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, freezegun
|
||||
, pillow
|
||||
, pytestCheckHook
|
||||
, python-dateutil
|
||||
, text-unidecode
|
||||
, ukpostcodeparser
|
||||
, validators
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "faker";
|
||||
version = "13.3.4";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "Faker";
|
||||
inherit version;
|
||||
hash = "sha256-GIlhBl+1x46mOfQhdvVRAPcskMOjF5rGyVXEvXErBRE=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
python-dateutil
|
||||
text-unidecode
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
freezegun
|
||||
pillow
|
||||
pytestCheckHook
|
||||
ukpostcodeparser
|
||||
validators
|
||||
];
|
||||
|
||||
# avoid tests which import random2, an abandoned library
|
||||
pytestFlagsArray = [
|
||||
"--ignore=tests/providers/test_ssn.py"
|
||||
];
|
||||
pythonImportsCheck = [ "faker" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library for generating fake user data";
|
||||
homepage = "http://faker.rtfd.org";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ lovek323 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue