Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
951 B · 56 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657{ lib, buildPythonPackage, fetchFromGitHub, setuptools, wheel, # dependencies django, apscheduler, # tests pytestCheckHook, pytest-django, pytz,}:
buildPythonPackage rec { pname = "django-apscheduler"; version = "0.7.0"; pyproject = true;
src = fetchFromGitHub { owner = "jcass77"; repo = "django-apscheduler"; rev = "v${version}"; hash = "sha256-2YSVX4FxE1OfJkSYV9IRKd2scV4BrMA/mBzJARQCX38="; };
build-system = [ setuptools wheel ];
dependencies = [ django apscheduler ];
nativeCheckInputs = [ pytestCheckHook pytest-django pytz ];
env.DJANGO_SETTINGS_MODULE = "tests.settings";
pythonImportsCheck = [ "django_apscheduler" ];
meta = { description = "APScheduler for Django"; homepage = "https://github.com/jcass77/django-apscheduler"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ happysalada ]; };}