Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
818 B · 38 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839{ lib, buildPythonPackage, fetchFromGitHub, setuptools, django, psycopg,}:
buildPythonPackage rec { pname = "django-tenants"; version = "3.7.8"; pyproject = true;
src = fetchFromGitHub { owner = "django-tenants"; repo = "django-tenants"; tag = "v${version}"; hash = "sha256-WC9NWykSnAD7ywjMGuhNdlasGhrnZJfoh/3wJ+2BF2E="; };
build-system = [ setuptools ];
dependencies = [ django psycopg ];
pythonImportsCheck = [ "django_tenants" ];
meta = { description = "Django tenants using PostgreSQL Schemas"; homepage = "https://github.com/django-tenants/django-tenants"; changelog = "https://github.com/django-tenants/django-tenants/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ jopejoe1 ]; };}