mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
python3.pkgs.django-scheduler: init at 0.10.1
This commit is contained in:
parent
5922955359
commit
e4a9fe6cb2
52
pkgs/development/python-modules/django-scheduler/default.nix
Normal file
52
pkgs/development/python-modules/django-scheduler/default.nix
Normal file
@ -0,0 +1,52 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, django
|
||||
, fetchFromGitHub
|
||||
, icalendar
|
||||
, pytest
|
||||
, pytest-django
|
||||
, python
|
||||
, python-dateutil
|
||||
, pythonOlder
|
||||
, pytz
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-scheduler";
|
||||
version = "0.10.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "llazzaro";
|
||||
repo = "django-scheduler";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-dY2TPo15RRWrv7LheUNJSQl4d/HeptSMM/wQirRSI5w=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
django
|
||||
python-dateutil
|
||||
pytz
|
||||
icalendar
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
${python.interpreter} -m django check --settings=tests.settings
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"schedule"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A calendar app for Django";
|
||||
homepage = "https://github.com/llazzaro/django-scheduler";
|
||||
changelog = "https://github.com/llazzaro/django-scheduler/releases/tag/${version}";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ derdennisop ];
|
||||
};
|
||||
}
|
@ -2703,10 +2703,12 @@ self: super: with self; {
|
||||
|
||||
django-q = callPackage ../development/python-modules/django-q { };
|
||||
|
||||
django-scopes = callPackage ../development/python-modules/django-scopes { };
|
||||
django-scheduler = callPackage ../development/python-modules/django-scheduler { };
|
||||
|
||||
django-scim2 = callPackage ../development/python-modules/django-scim2 { };
|
||||
|
||||
django-scopes = callPackage ../development/python-modules/django-scopes { };
|
||||
|
||||
djangoql = callPackage ../development/python-modules/djangoql { };
|
||||
|
||||
django-ranged-response = callPackage ../development/python-modules/django-ranged-response { };
|
||||
|
Loading…
Reference in New Issue
Block a user