2022-07-14 12:49:19 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, pythonOlder
|
|
|
|
, fetchPypi
|
|
|
|
, flit-core
|
|
|
|
, sphinx
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "sphinx-design";
|
2023-04-29 16:46:19 +00:00
|
|
|
version = "0.4.1";
|
2022-07-14 12:49:19 +00:00
|
|
|
|
|
|
|
format = "flit";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit version;
|
|
|
|
pname = "sphinx_design";
|
2023-04-29 16:46:19 +00:00
|
|
|
hash = "sha256-W2QYukotw9g1kuoP9hpSqJH+chlaTDoYsvocdmjORwg=";
|
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";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ marsam ];
|
|
|
|
};
|
|
|
|
}
|