python310Packages.schedule: disable on unsupported Python releases
- add format
This commit is contained in:
parent
44d9f4b5b2
commit
253aa28f82
1 changed files with 9 additions and 2 deletions
|
@ -2,18 +2,24 @@
|
|||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, mock
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "schedule";
|
||||
version = "1.2.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-tK1peq+6cYTJ62oeLrxB94FUckKs3ozq6aCiWwTAki0=";
|
||||
hash = "sha256-tK1peq+6cYTJ62oeLrxB94FUckKs3ozq6aCiWwTAki0=";
|
||||
};
|
||||
|
||||
buildInputs = [ mock ];
|
||||
buildInputs = [
|
||||
mock
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
# https://github.com/dbader/schedule/issues/488
|
||||
|
@ -27,5 +33,6 @@ buildPythonPackage rec {
|
|||
homepage = "https://github.com/dbader/schedule";
|
||||
changelog = "https://github.com/dbader/schedule/blob/${version}/HISTORY.rst";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue