nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 21.05 38 lines 710 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.11"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "5c5194055d3219e2ed8d02b52b664d399674154f3db9724ae09e881d091b3d10"; 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}