python312Packages.django-postgres-partition: 0.1.1 -> 0.1.4 (#420073)

authored by Felix Bargfeldt and committed by GitHub 4cf42ced 98b349f4

+14 -10
+14 -10
pkgs/development/python-modules/django-postgres-partition/default.nix
··· 1 1 { 2 2 lib, 3 3 buildPythonPackage, 4 - fetchPypi, 4 + fetchFromGitLab, 5 5 setuptools, 6 6 django, 7 7 psycopg, 8 8 python-dateutil, 9 + nix-update-script, 9 10 }: 10 11 11 12 buildPythonPackage rec { 12 13 pname = "django-postgres-partition"; 13 - version = "0.1.1"; 14 + version = "0.1.4"; 14 15 pyproject = true; 15 16 16 - src = fetchPypi { 17 - inherit version; 18 - pname = "django_postgres_partition"; 19 - hash = "sha256-KUrgnfUXWyRerW4dqtVZO9bu5jHYnHcVOIg97w695RU="; 17 + src = fetchFromGitLab { 18 + owner = "burke-software"; 19 + repo = "django-postgres-partition"; 20 + tag = version; 21 + hash = "sha256-Wk+m75gO9iClN9/vXGBl27VcmqyE6c1xpQX+X1qcKuU="; 20 22 }; 21 23 22 24 build-system = [ setuptools ]; 23 25 24 - pythonRelaxDeps = [ 25 - "django" 26 - ]; 26 + pythonRelaxDeps = [ "django" ]; 27 27 28 28 dependencies = [ 29 29 django ··· 31 31 python-dateutil 32 32 ]; 33 33 34 - doCheck = false; # pypi version doesn't ship with tests 34 + # tests don't work yet, see https://gitlab.com/burke-software/django-postgres-partition/-/issues/4 35 + doCheck = false; 35 36 36 37 pythonImportsCheck = [ "psql_partition" ]; 37 38 39 + passthru.updateScript = nix-update-script { }; 40 + 38 41 meta = { 39 42 description = "Partition support for django, based on django-postgres-extra"; 40 43 homepage = "https://gitlab.com/burke-software/django-postgres-partition"; 44 + changelog = "https://gitlab.com/burke-software/django-postgres-partition/-/releases/${version}"; 41 45 license = lib.licenses.mit; 42 46 maintainers = with lib.maintainers; [ defelo ]; 43 47 };