Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / sphinxcontrib-blockdiag / default.nix
blob44c4de9570dd80c21b14bd20d2ba9f6390599c65
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , unittestCheckHook
5 , mock
6 , sphinx-testing
7 , sphinx
8 , blockdiag
9 }:
11 buildPythonPackage rec {
12   pname = "sphinxcontrib-blockdiag";
13   version = "3.0.0";
15   src = fetchPypi {
16     inherit pname version;
17     sha256 = "aa49bf924516f5de8a479994c7be81e077df5599c9da2a082003d5b388e1d450";
18   };
20   buildInputs = [ mock sphinx-testing ];
21   propagatedBuildInputs = [ sphinx blockdiag ];
23   # Seems to look for files in the wrong dir
24   doCheck = false;
26   nativeCheckInputs = [ unittestCheckHook ];
28   unittestFlagsArray = [ "-s" "tests" ];
30   pythonNamespaces = [ "sphinxcontrib" ];
32   meta = with lib; {
33     description = "Sphinx blockdiag extension";
34     homepage = "https://github.com/blockdiag/sphinxcontrib-blockdiag";
35     maintainers = with maintainers; [ ];
36     license = licenses.bsd2;
37   };