depot/third_party/nixpkgs/pkgs/development/python-modules/sphinx-design/default.nix
Default email c7e6337bd0 Project import generated by Copybara.
GitOrigin-RevId: 08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b
2023-04-29 12:46:19 -04:00

35 lines
741 B
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, flit-core
, sphinx
}:
buildPythonPackage rec {
pname = "sphinx-design";
version = "0.4.1";
format = "flit";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit version;
pname = "sphinx_design";
hash = "sha256-W2QYukotw9g1kuoP9hpSqJH+chlaTDoYsvocdmjORwg=";
};
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 ];
};
}