mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
69fd5adcc4
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/mkdocs/versions. These checks were done: - built on NixOS - /nix/store/fymw02lywin6zmf8i4ami2lm47vwj0wk-mkdocs-0.17.5/bin/.mkdocs-wrapped passed the binary check. - /nix/store/fymw02lywin6zmf8i4ami2lm47vwj0wk-mkdocs-0.17.5/bin/mkdocs passed the binary check. - 2 of 2 passed binary check by having a zero exit code. - 2 of 2 passed binary check by having the new version present in output. - found 0.17.5 with grep in /nix/store/fymw02lywin6zmf8i4ami2lm47vwj0wk-mkdocs-0.17.5 - directory tree listing: https://gist.github.com/270332eda9d075a9b90d1867c2326b6c - du listing: https://gist.github.com/3e1c186f1be8c8e099b160f6d254b4e6
44 lines
849 B
Nix
44 lines
849 B
Nix
{ lib, python, fetchFromGitHub }:
|
|
|
|
with python.pkgs;
|
|
|
|
buildPythonApplication rec {
|
|
pname = "mkdocs";
|
|
version = "0.17.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mkdocs";
|
|
repo = "mkdocs";
|
|
rev = version;
|
|
sha256 = "1l1dahpwqikmww3yx2m6j2134npk8vcikg9klsmpqjpza8nigwzw";
|
|
};
|
|
|
|
postPatch = ''
|
|
substituteInPlace setup.py \
|
|
--replace "tornado>=4.1,<5.0" "tornado>=4.1"
|
|
'';
|
|
|
|
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;
|
|
};
|
|
}
|