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
40
pkgs/development/python-modules/parsedatetime/default.nix
Normal file
40
pkgs/development/python-modules/parsedatetime/default.nix
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy27
|
||||
, future
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "parsedatetime";
|
||||
version = "2.6";
|
||||
disabled = isPy27; # no longer compatible with icu package
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "4cb368fbb18a0b7231f4d76119165451c8d2e35951455dfee97c62a87b04d455";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ future ];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
pytestFlagsArray = [ "tests/Test*.py" ];
|
||||
|
||||
disabledTests = [
|
||||
# https://github.com/bear/parsedatetime/issues/263
|
||||
"testDate3ConfusedHourAndYear"
|
||||
# https://github.com/bear/parsedatetime/issues/215
|
||||
"testFloat"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "parsedatetime" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Parse human-readable date/time text";
|
||||
homepage = "https://github.com/bear/parsedatetime";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue