Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 38 lines 709 B view raw
1{ lib 2, substituteAll 3, buildPythonPackage 4, fetchPypi 5, sphinx 6, pdf2svg 7, texLive 8}: 9 10buildPythonPackage rec { 11 pname = "sphinxcontrib-tikz"; 12 version = "0.4.9"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "054429a04ed253256a676ecc29f0bae2c644d5bd1150cd95d658990a07ebc8fe"; 17 }; 18 19 patches = [ 20 (substituteAll { 21 src = ./binary-paths.patch; 22 inherit texLive pdf2svg; 23 }) 24 ]; 25 26 propagatedBuildInputs = [ sphinx ]; 27 28 # no tests in package 29 doCheck = false; 30 31 meta = with lib; { 32 description = "TikZ extension for Sphinx"; 33 homepage = "https://bitbucket.org/philexander/tikz"; 34 maintainers = with maintainers; [ costrouc ]; 35 license = licenses.bsd3; 36 }; 37 38}