depot/third_party/nixpkgs/pkgs/development/python-modules/sphinx-basic-ng/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

36 lines
754 B
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, sphinx
}:
buildPythonPackage rec {
pname = "sphinx-basic-ng";
version = "1.0.0.beta2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "pradyunsg";
repo = "sphinx-basic-ng";
rev = version;
hash = "sha256-MHBGIKOKhGklrx3O075LRud8NhY2hzlTWh+jalrFpko=";
};
propagatedBuildInputs = [
sphinx
];
# no tests implemented
doCheck = false;
pythonImportsCheck = [ "sphinx_basic_ng" ];
meta = with lib; {
description = "A modernised skeleton for Sphinx themes";
homepage = "https://sphinx-basic-ng.readthedocs.io/en/latest/";
license = licenses.mit;
maintainers = with maintainers; [ Luflosi ];
};
}