mkdocs: run tests

This commit is contained in:
Joerg Thalheim 2017-10-01 10:56:05 +01:00
parent d70f426dfc
commit fa2adc6129

View File

@ -1,4 +1,4 @@
{ lib, python }: { lib, python, fetchFromGitHub }:
with python.pkgs; with python.pkgs;
@ -7,11 +7,21 @@ buildPythonApplication rec {
version = "0.16.3"; version = "0.16.3";
name = "${pname}-${version}"; name = "${pname}-${version}";
src = fetchPypi { src = fetchFromGitHub {
inherit pname version; owner = "mkdocs";
sha256 = "0z9n0dnidnvm511pdzf73grmr4xn59znkfalq8x9gw5v7lqwa2mc"; repo = "mkdocs";
rev = version;
sha256 = "0gssa5gbd1y2v3azdhf2zh7ayx4ncfag4r2a6fi96jbic64r3qrs";
}; };
checkInputs = [
nose nose-exclude mock
];
NOSE_EXCLUDE_TESTS="mkdocs.tests.gh_deploy_tests.TestGitHubDeploy;mkdocs.tests.config.config_tests.ConfigTests";
checkPhase = "nosetests mkdocs";
propagatedBuildInputs = [ propagatedBuildInputs = [
tornado tornado
livereload livereload