summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/django-error-report-2/default.nix
blob: b03d42c160c800f18cb00d28ebfe553c22bd312c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
  buildPythonPackage,
  django,
  fetchFromGitHub,
  lib,
  setuptools,
}:
buildPythonPackage (finalAttrs: {
  pname = "django-error-report-2";
  version = "0.4.2";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "matmair";
    repo = "django-error-report-2";
    tag = finalAttrs.version;
    hash = "sha256-ZCaslqgruJxM8345/jSlZGruM+27H9hvwL0wtPkUzc0=";
  };

  build-system = [ setuptools ];

  dependencies = [
    django
  ];

  # There are no tests on upstream
  doCheck = false;

  pythonImportsCheck = [ "error_report" ];

  meta = {
    description = "Log/View Django server errors";
    homepage = "https://github.com/matmair/django-error-report-2";
    changelog = "https://github.com/matmair/django-error-report-2/releases/tag/${finalAttrs.src.tag}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ kurogeek ];
  };
})