mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-13 16:53:53 +00:00
39 lines
870 B
Nix
39 lines
870 B
Nix
{
|
|
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 ];
|
|
};
|
|
})
|