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
31
pkgs/development/python-modules/schedule/default.nix
Normal file
31
pkgs/development/python-modules/schedule/default.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "schedule";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "e6ca13585e62c810e13a08682e0a6a8ad245372e376ba2b8679294f377dfc8e4";
|
||||
};
|
||||
|
||||
buildInputs = [ mock ];
|
||||
|
||||
preCheck = ''
|
||||
# https://github.com/dbader/schedule/issues/488
|
||||
substituteInPlace test_schedule.py --replace \
|
||||
"self.assertRaises(ScheduleValueError, every().day.until, datetime.time(hour=5))" \
|
||||
"# self.assertRaises(ScheduleValueError, every().day.until, datetime.time(hour=5))"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python job scheduling for humans";
|
||||
homepage = "https://github.com/dbader/schedule";
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue