eb36e7187d
Semi-automatic update. These checks were performed: - built on NixOS - ran `/nix/store/hndrgmyp176jgfgy4iyf0wdf21hhbdwv-mkdocs-0.17.2/bin/.mkdocs-wrapped -h` got 0 exit code - ran `/nix/store/hndrgmyp176jgfgy4iyf0wdf21hhbdwv-mkdocs-0.17.2/bin/.mkdocs-wrapped --help` got 0 exit code - ran `/nix/store/hndrgmyp176jgfgy4iyf0wdf21hhbdwv-mkdocs-0.17.2/bin/.mkdocs-wrapped -V` and found version 0.17.2 - ran `/nix/store/hndrgmyp176jgfgy4iyf0wdf21hhbdwv-mkdocs-0.17.2/bin/.mkdocs-wrapped --version` and found version 0.17.2 - ran `/nix/store/hndrgmyp176jgfgy4iyf0wdf21hhbdwv-mkdocs-0.17.2/bin/mkdocs -h` got 0 exit code - ran `/nix/store/hndrgmyp176jgfgy4iyf0wdf21hhbdwv-mkdocs-0.17.2/bin/mkdocs --help` got 0 exit code - ran `/nix/store/hndrgmyp176jgfgy4iyf0wdf21hhbdwv-mkdocs-0.17.2/bin/mkdocs -V` and found version 0.17.2 - ran `/nix/store/hndrgmyp176jgfgy4iyf0wdf21hhbdwv-mkdocs-0.17.2/bin/mkdocs --version` and found version 0.17.2 - found 0.17.2 with grep in /nix/store/hndrgmyp176jgfgy4iyf0wdf21hhbdwv-mkdocs-0.17.2 - found 0.17.2 in filename of file in /nix/store/hndrgmyp176jgfgy4iyf0wdf21hhbdwv-mkdocs-0.17.2
40 lines
773 B
Nix
40 lines
773 B
Nix
{ lib, python, fetchFromGitHub }:
|
|
|
|
with python.pkgs;
|
|
|
|
buildPythonApplication rec {
|
|
pname = "mkdocs";
|
|
version = "0.17.2";
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mkdocs";
|
|
repo = "mkdocs";
|
|
rev = version;
|
|
sha256 = "0hpjs9qj0nr57a249yv8xvl61d3d2rrdfqxp1fm28z77l2xjj772";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|