nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 52 lines 1.1 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 distutils, 5 django, 6 djangorestframework, 7 fetchFromGitHub, 8 persisting-theory, 9 pytest-django, 10 pytestCheckHook, 11 setuptools, 12}: 13 14buildPythonPackage rec { 15 pname = "django-dynamic-preferences"; 16 version = "1.17.0"; 17 pyproject = true; 18 19 src = fetchFromGitHub { 20 owner = "agateblue"; 21 repo = "django-dynamic-preferences"; 22 tag = version; 23 hash = "sha256-irnwoWqQQxPueglI86ZIOt8wZcEHneY3eyATBXOuk9Y="; 24 }; 25 26 build-system = [ 27 setuptools 28 distutils 29 ]; 30 31 buildInputs = [ django ]; 32 33 dependencies = [ persisting-theory ]; 34 35 nativeCheckInputs = [ 36 djangorestframework 37 pytestCheckHook 38 pytest-django 39 ]; 40 41 pythonImportsCheck = [ "dynamic_preferences" ]; 42 43 env.DJANGO_SETTINGS = "tests.settings"; 44 45 meta = { 46 description = "Dynamic global and instance settings for your django project"; 47 changelog = "https://github.com/agateblue/django-dynamic-preferences/blob/${version}/HISTORY.rst"; 48 homepage = "https://github.com/agateblue/django-dynamic-preferences"; 49 license = lib.licenses.bsd3; 50 maintainers = with lib.maintainers; [ mmai ]; 51 }; 52}