14 buildPythonPackage rec {
19 inherit pname version;
20 sha256 = "500bd0f4ae1a76956fae7fcba77854f5ec3e64fce76803664983763c3f2bd8bd";
31 sphinx # docbuild, called by make
34 propagatedBuildInputs = [
40 outputs = [ "out" "doc" ];
43 # Find the build result in order to put it into PYTHONPATH. The doc
44 # build needs to import pplpy.
45 build_result="$PWD/$( find build/ -type d -name 'lib.*' | head -n1 )"
47 echo "Building documentation"
48 PYTHONPATH="$build_result:$PYTHONPATH" make -C docs html
52 mkdir -p "$doc/share/doc"
53 mv docs/build/html "$doc/share/doc/pplpy"
57 description = "A Python wrapper for ppl";
58 homepage = "https://gitlab.com/videlec/pplpy";
59 maintainers = teams.sage.members;
60 license = licenses.gpl3;