blob: b411153398731cdf47d30d2c19b6b97910d63754 (
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
|
{ stdenv, python2, fetchFromGitHub }:
with python2.pkgs; buildPythonApplication rec {
pname = "isso";
version = "0.11.1";
# no tests on PyPI
src = fetchFromGitHub {
owner = "posativ";
repo = pname;
rev = version;
sha256 = "0545vh0sb5i4cz9c0qgch77smpwgav3rhl1dxk9ij6rx4igjk03j";
};
propagatedBuildInputs = [
bleach
cffi
configparser
html5lib
ipaddr
jinja2
misaka
werkzeug
];
checkInputs = [ nose ];
checkPhase = ''
${python.interpreter} setup.py nosetests
'';
meta = with stdenv.lib; {
description = "A commenting server similar to Disqus";
homepage = https://posativ.org/isso/;
license = licenses.mit;
maintainers = with maintainers; [ fgaz ];
};
}
|