python3Packages.sphinxcontrib-*diag: disable on older Python releases
This commit is contained in:
parent
22fe00429e
commit
13879f89e0
@ -4,25 +4,35 @@
|
||||
, sphinx
|
||||
, actdiag
|
||||
, blockdiag
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sphinxcontrib-actdiag";
|
||||
version = "3.0.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-PFXUVP/Due/nwg8q2vAiGZuCVhLTLyAL6KSXqofg+B8=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ sphinx actdiag blockdiag ];
|
||||
propagatedBuildInputs = [
|
||||
actdiag
|
||||
blockdiag
|
||||
sphinx
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "sphinxcontrib.actdiag" ];
|
||||
pythonImportsCheck = [
|
||||
"sphinxcontrib.actdiag"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Sphinx actdiag extension";
|
||||
homepage = "https://github.com/blockdiag/sphinxcontrib-actdiag";
|
||||
maintainers = with maintainers; [ davidtwco ];
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ davidtwco ];
|
||||
};
|
||||
}
|
||||
|
@ -1,28 +1,38 @@
|
||||
{ lib
|
||||
, blockdiag
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, sphinx
|
||||
, blockdiag
|
||||
, nwdiag
|
||||
, pythonOlder
|
||||
, sphinx
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sphinxcontrib-nwdiag";
|
||||
version = "2.0.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-bula1DutRv6NwfZRhciZfLHRZmXu42p+qvbeExN/+Fk=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ sphinx blockdiag nwdiag ];
|
||||
propagatedBuildInputs = [
|
||||
blockdiag
|
||||
nwdiag
|
||||
sphinx
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "sphinxcontrib.nwdiag" ];
|
||||
pythonImportsCheck = [
|
||||
"sphinxcontrib.nwdiag"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Sphinx nwdiag extension";
|
||||
homepage = "https://github.com/blockdiag/sphinxcontrib-nwdiag";
|
||||
maintainers = with maintainers; [ davidtwco ];
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ davidtwco ];
|
||||
};
|
||||
}
|
||||
|
@ -1,28 +1,38 @@
|
||||
{ lib
|
||||
, blockdiag
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, sphinx
|
||||
, blockdiag
|
||||
, pythonOlder
|
||||
, seqdiag
|
||||
, sphinx
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sphinxcontrib-seqdiag";
|
||||
version = "3.0.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-QH5IeXZz9x2Ujp/6BHFsrB2ZqeyPYW3jdk1C0DNBZXQ=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ sphinx blockdiag seqdiag ];
|
||||
propagatedBuildInputs = [
|
||||
blockdiag
|
||||
seqdiag
|
||||
sphinx
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "sphinxcontrib.seqdiag" ];
|
||||
pythonImportsCheck = [
|
||||
"sphinxcontrib.seqdiag"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Sphinx seqdiag extension";
|
||||
homepage = "https://github.com/blockdiag/sphinxcontrib-seqdiag";
|
||||
maintainers = with maintainers; [ davidtwco ];
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ davidtwco ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user