Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6 wheel, 7 requests, 8 sphinx, 9}: 10 11buildPythonPackage rec { 12 pname = "sphinxcontrib-images"; 13 version = "0.9.4"; 14 pyproject = true; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-9sI30EMHk+ZdkdvdsTsfsmos+DgECp3utSESlp+8Sks="; 19 }; 20 21 build-system = [ 22 setuptools 23 wheel 24 ]; 25 26 dependencies = [ 27 requests 28 sphinx 29 ]; 30 31 pythonImportsCheck = [ 32 "sphinxcontrib.images" 33 ]; 34 35 meta = { 36 description = "Sphinx extension for thumbnails"; 37 homepage = "https://pypi.org/project/sphinxcontrib-images/"; 38 license = lib.licenses.asl20; 39 maintainers = with lib.maintainers; [ booxter ]; 40 }; 41}