nixpkgs/pkgs/development/python-modules/mkdocs-linkcheck/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

40 lines
1.1 KiB
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pythonPackages
}:
buildPythonPackage rec {
pname = "mkdocs-linkcheck";
version = "unstable-2021-08-24";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "byrnereese";
repo = "linkchecker-mkdocs";
rev = "a75d765b0ec564e5ed0218880ed0b5ab4b973917" ;
hash = "sha256-z59F7zUKZKIQSiTlE6wGbGDecPMeruNgltWUYfDf8jY=";
};
propagatedBuildInputs = with pythonPackages; [
aiohttp
requests
];
pythonImportsCheck = [ "mkdocs_linkcheck" ];
meta = with lib; {
description = "Validate links in Markdown files for static site generators like MkDocs, Hugo or Jekyll";
longDescription = ''
This is not a MkDocs plugin, but a companion tool that is useful to validate links in Markdown files for
static site generators like MkDocs, Hugo or Jekyll. It can be used with any text files containing links.
'';
homepage = "https://github.com/byrnereese/mkdocs-linkcheck";
license = licenses.mit;
maintainers = with maintainers; [ totoroot ];
};
}