blob: 666d116b45f9c4eb46a603785b99a33e78e1990f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
{
lib,
buildPythonPackage,
fetchPypi,
dulwich,
pbr,
sphinx,
setuptools,
}:
buildPythonPackage rec {
pname = "openstackdocstheme";
version = "3.5.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-3h1dXtIMk1/CgbUP30ppUo+Q8qdb7PQtGIRD9eGWwJ8=";
};
postPatch = ''
patchShebangs bin/
'';
build-system = [ setuptools ];
dependencies = [
dulwich
pbr
sphinx
];
# no tests
doCheck = false;
pythonImportsCheck = [ "openstackdocstheme" ];
meta = {
description = "Sphinx theme for RST-sourced documentation published to docs.openstack.org";
homepage = "https://github.com/openstack/openstackdocstheme";
license = lib.licenses.asl20;
teams = [ lib.teams.openstack ];
};
}
|