3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #29808 from kirelagin/mkdocs

mkdocs: Initialise at 0.16.3
This commit is contained in:
Jörg Thalheim 2017-10-01 11:01:11 +01:00 committed by GitHub
commit 94ee0f5d5b
4 changed files with 77 additions and 21 deletions

View file

@ -0,0 +1,35 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, nose
, django
, tornado
, six
, pytest
}:
buildPythonPackage rec {
pname = "livereload";
version = "2.5.1";
name = "${pname}-${version}";
src = fetchFromGitHub {
owner = "lepture";
repo = "python-livereload";
rev = "v${version}";
sha256 = "1irs59wqmffp8q4l9fh7givs05mamlgm5n7ga49gwxp5imwrdzba";
};
buildInputs = [ nose django ];
propagatedBuildInputs = [ tornado six ];
checkInputs = [ pytest ];
checkPhase = "pytest tests";
meta = {
description = "Runs a local server that reloads as you develop";
homepage = "https://github.com/lepture/python-livereload";
license = lib.licenses.bsd3;
};
}

View file

@ -0,0 +1,39 @@
{ lib, python, fetchFromGitHub }:
with python.pkgs;
buildPythonApplication rec {
pname = "mkdocs";
version = "0.16.3";
name = "${pname}-${version}";
src = fetchFromGitHub {
owner = "mkdocs";
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 = [
tornado
livereload
click
pyyaml
markdown
jinja2
];
meta = {
homepage = http://mkdocs.org/;
description = "Project documentation with Markdown";
license = lib.licenses.bsd2;
};
}

View file

@ -7316,6 +7316,8 @@ with pkgs;
mk = callPackage ../development/tools/build-managers/mk { };
mkdocs = callPackage ../development/tools/documentation/mkdocs { };
moby = callPackage ../development/tools/misc/moby { };
msgpack-tools = callPackage ../development/tools/msgpack-tools { };

View file

@ -11225,27 +11225,7 @@ in {
linode-api = callPackage ../development/python-modules/linode-api { };
livereload = buildPythonPackage rec {
name = "livereload-${version}";
version = "2.5.0";
src = pkgs.fetchFromGitHub {
owner = "lepture";
repo = "python-livereload";
rev = "v${version}";
sha256 = "0ixsc7wibmkfk9fnyq0d1b5d9snxfpzzzgsxvq28rn54v6q8b7m2";
};
buildInputs = with self; [ nose django ];
propagatedBuildInputs = with self; [ tornado six ];
meta = {
description = "Runs a local server that reloads as you develop";
homepage = "https://github.com/lepture/python-livereload";
license = licenses.bsd3;
};
};
livereload = callPackage ../development/python-modules/livereload { };
llfuse = buildPythonPackage rec {
name = "llfuse-1.0";