python311Packages.piccolo-theme: refactor
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
pythonOlder,
|
||||
sphinx,
|
||||
}:
|
||||
|
||||
@@ -10,24 +11,29 @@ buildPythonPackage rec {
|
||||
version = "0.23.0";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "piccolo_theme";
|
||||
inherit version;
|
||||
hash = "sha256-jlnKZK2wuEM+n+3Y59U6+LyQJRBUwQAn0NarAGlNdx0=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ sphinx ];
|
||||
dependencies = [ sphinx ];
|
||||
|
||||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "piccolo_theme" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Clean and modern Sphinx theme";
|
||||
homepage = "https://piccolo-theme.readthedocs.io";
|
||||
changelog = "https://github.com/piccolo-orm/piccolo_theme/releases/tag/${version}";
|
||||
license = with licenses; [
|
||||
mit
|
||||
asl20
|
||||
];
|
||||
maintainers = with maintainers; [ loicreynier ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user