My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/mkdocs-redirects/default.nix

31 lines
633 B

{ lib
, callPackage
, buildPythonApplication
, fetchFromGitHub
, mkdocs
}:
buildPythonApplication rec {
pname = "mkdocs-redirects";
version = "1.0.4";
src = fetchFromGitHub {
owner = "mkdocs";
repo = pname;
rev = "v${version}";
sha256 = "sha256-hdMfl8j+kZzePkSd/bBHKuVXAVA1sAt7DvPZj9x5i0c=";
};
propagatedBuildInputs = [
mkdocs
];
pythonImportsCheck = [ "mkdocs" ];
meta = with lib; {
description = "Open source plugin for Mkdocs page redirects";
homepage = "https://github.com/mkdocs/mkdocs-redirects";
license = licenses.mit;
maintainers = with maintainers; [ tfc ];
};
}