5ca88bfbb9
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
49 lines
876 B
Nix
49 lines
876 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
unittestCheckHook,
|
|
mock,
|
|
sphinx-testing,
|
|
sphinx,
|
|
blockdiag,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "sphinxcontrib-blockdiag";
|
|
version = "3.0.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "aa49bf924516f5de8a479994c7be81e077df5599c9da2a082003d5b388e1d450";
|
|
};
|
|
|
|
buildInputs = [
|
|
mock
|
|
sphinx-testing
|
|
];
|
|
propagatedBuildInputs = [
|
|
sphinx
|
|
blockdiag
|
|
];
|
|
|
|
# Seems to look for files in the wrong dir
|
|
doCheck = false;
|
|
|
|
nativeCheckInputs = [ unittestCheckHook ];
|
|
|
|
unittestFlagsArray = [
|
|
"-s"
|
|
"tests"
|
|
];
|
|
|
|
pythonNamespaces = [ "sphinxcontrib" ];
|
|
|
|
meta = with lib; {
|
|
description = "Sphinx blockdiag extension";
|
|
homepage = "https://github.com/blockdiag/sphinxcontrib-blockdiag";
|
|
maintainers = [ ];
|
|
license = licenses.bsd2;
|
|
};
|
|
}
|