blob: 04260922907b1e6691e520ac5e781ccf4d882cf0 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
django,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "django-model-utils";
version = "5.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "jazzband";
repo = "django-model-utils";
tag = version;
hash = "sha256-iRtTYXsgD8NYG3k9ZWAr2Nwazo3HUa6RgdbMeDxc7NI=";
};
build-system = [ setuptools-scm ];
dependencies = [ django ];
# Test requires postgres database
doCheck = false;
pythonImportsCheck = [ "model_utils" ];
meta = {
homepage = "https://github.com/jazzband/django-model-utils";
description = "Django model mixins and utilities";
changelog = "https://github.com/jazzband/django-model-utils/blob/${version}/CHANGES.rst";
license = lib.licenses.bsd3;
maintainers = [ ];
};
}
|