mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +00:00
44 lines
789 B
Nix
44 lines
789 B
Nix
{ lib, python3Packages, fetchFromGitHub }:
|
|
|
|
with python3Packages; buildPythonApplication rec {
|
|
|
|
pname = "isso";
|
|
version = "0.12.5";
|
|
|
|
# no tests on PyPI
|
|
src = fetchFromGitHub {
|
|
owner = "posativ";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "12ccfba2kwbfm9h4zhlxrcigi98akbdm4qi89iglr4z53ygzpay5";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
itsdangerous
|
|
jinja2
|
|
misaka
|
|
html5lib
|
|
werkzeug
|
|
bleach
|
|
flask-caching
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
cffi
|
|
];
|
|
|
|
checkInputs = [ nose ];
|
|
|
|
checkPhase = ''
|
|
${python.interpreter} setup.py nosetests
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "A commenting server similar to Disqus";
|
|
homepage = "https://posativ.org/isso/";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fgaz ];
|
|
};
|
|
}
|
|
|