blob: 5587014c57403fdf4635bbbb93687f3beef1644f (
plain) (
blame)
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
39
40
41
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, django
, django-jinja
, python
}:
buildPythonPackage rec {
pname = "django-sites";
version = "0.11";
src = fetchFromGitHub {
owner = "niwinz";
repo = "django-sites";
rev = version;
hash = "sha256-MQtQC+9DyS1ICXXovbqPpkKIQ5wpuJDgq3Lcd/1kORU=";
};
propagatedBuildInputs = [
django
];
nativeCheckInputs = [
django-jinja
];
checkPhase = ''
runHook preCheck
${python.interpreter} runtests.py
runHook postCheck
'';
meta = {
description = "Alternative implementation of django sites framework";
homepage = "https://github.com/niwinz/django-sites";
license = lib.licenses.bsd3;
};
}
|