mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 04:31:52 +00:00
Merge pull request #29808 from kirelagin/mkdocs
mkdocs: Initialise at 0.16.3
This commit is contained in:
commit
94ee0f5d5b
35
pkgs/development/python-modules/livereload/default.nix
Normal file
35
pkgs/development/python-modules/livereload/default.nix
Normal 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;
|
||||
};
|
||||
}
|
39
pkgs/development/tools/documentation/mkdocs/default.nix
Normal file
39
pkgs/development/tools/documentation/mkdocs/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue