2022-07-14 12:49:19 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, pythonOlder
|
|
|
|
, fetchPypi
|
|
|
|
, flit-core
|
|
|
|
, sphinx
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "sphinx-design";
|
2023-08-04 22:07:22 +00:00
|
|
|
version = "0.5.0";
|
2022-07-14 12:49:19 +00:00
|
|
|
|
|
|
|
format = "flit";
|
|
|
|
|
2023-08-04 22:07:22 +00:00
|
|
|
disabled = pythonOlder "3.8";
|
2022-07-14 12:49:19 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit version;
|
|
|
|
pname = "sphinx_design";
|
2023-08-04 22:07:22 +00:00
|
|
|
hash = "sha256-6OUTrOpvktFcbeOzTpVEWPJFuOdhtFtjlQ9lNzNSqwA=";
|
2022-07-14 12:49:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ flit-core ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ sphinx ];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "sphinx_design" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A sphinx extension for designing beautiful, view size responsive web components";
|
|
|
|
homepage = "https://github.com/executablebooks/sphinx-design";
|
2023-08-04 22:07:22 +00:00
|
|
|
changelog = "https://github.com/executablebooks/sphinx-design/releases/tag/v${version}";
|
2022-07-14 12:49:19 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ marsam ];
|
|
|
|
};
|
|
|
|
}
|