Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

isso: 0.10.6 -> 0.11.1 #50310

Merged
merged 1 commit into from Nov 13, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
43 changes: 14 additions & 29 deletions pkgs/servers/isso/default.nix
@@ -1,43 +1,27 @@
{ stdenv, python2, fetchFromGitHub }:

let python = python2.override {
packageOverrides = self: super: {
misaka = super.misaka.overridePythonAttrs (old: rec {
version = "1.0.2";
src = old.src.override {
inherit version;
sha256 = "05rmjxlfhghj90m1kc55lx3z8igabw5y8wmly66p3hphdy4f95v1";
};
propagatedBuildInputs = [ ];
});
html5lib = super.html5lib.overridePythonAttrs (old: rec {
version = "0.9999999";
src = old.src.override {
inherit version;
sha256 = "2612a191a8d5842bfa057e41ba50bbb9dcb722419d2408c78cff4758d0754868";
};
checkInputs = with self; [ nose flake8 ];
propagatedBuildInputs = with self; [ six ];
checkPhase = ''
nosetests
'';
});
};
};

in with python.pkgs; buildPythonApplication rec {
with python2.pkgs; buildPythonApplication rec {
pname = "isso";
version = "0.10.6";
version = "0.11.1";

# no tests on PyPI
src = fetchFromGitHub {
owner = "posativ";
repo = pname;
rev = version;
sha256 = "19x9xbwd15fikhchyl4i1wrqx589hdmh279xhnxdszrq898igywb";
sha256 = "0545vh0sb5i4cz9c0qgch77smpwgav3rhl1dxk9ij6rx4igjk03j";
};

propagatedBuildInputs = [ misaka werkzeug ipaddr configparser html5lib ];
propagatedBuildInputs = [
bleach
cffi
configparser
html5lib
ipaddr
jinja2
misaka
werkzeug
];

checkInputs = [ nose ];

Expand All @@ -52,3 +36,4 @@ in with python.pkgs; buildPythonApplication rec {
maintainers = with maintainers; [ fgaz ];
};
}