Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 51 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ lib, buildPythonPackage, fetchFromGitHub, hatchling, django, django-extensions, pytest-django, pytestCheckHook, mock, mock-django, django-autoslug,}:
buildPythonPackage rec { pname = "django-organizations"; version = "2.5.0"; pyproject = true;
src = fetchFromGitHub { owner = "bennylope"; repo = "django-organizations"; tag = version; hash = "sha256-lgri6CCITp1oYCwpH8vrUglphXOmwZ3KX5G/L29akrs="; };
build-system = [ hatchling ];
dependencies = [ django django-extensions ];
nativeCheckInputs = [ pytest-django pytestCheckHook mock mock-django django-autoslug ];
pythonImportsCheck = [ "organizations" ];
meta = { description = "Multi-user accounts for Django projects"; homepage = "https://github.com/bennylope/django-organizations"; changelog = "https://github.com/bennylope/django-organizations/blob/${version}/HISTORY.rst"; license = lib.licenses.bsd2; maintainers = with lib.maintainers; [ defelo ]; };}