depot/third_party/nixpkgs/pkgs/development/python-modules/sphinx-design/default.nix
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

35 lines
741 B
Nix

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