Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 773 B view raw
1{ lib, buildPythonPackage, isPy27, fetchFromGitHub, nbconvert, pytest, requests, responses }: 2 3buildPythonPackage rec { 4 pname = "nbconflux"; 5 version = "0.7.0"; 6 disabled = isPy27; 7 8 src = fetchFromGitHub { 9 owner = "Valassis-Digital-Media"; 10 repo = "nbconflux"; 11 rev = version; 12 sha256 = "1708qkb275d6f7b4b5zmqx3i0jh56nrx2n9rwwp5nbaah5p2wwlh"; 13 }; 14 15 propagatedBuildInputs = [ nbconvert requests ]; 16 17 checkInputs = [ pytest responses ]; 18 19 checkPhase = '' 20 pytest tests 21 ''; 22 23 meta = with lib; { 24 description = "Converts Jupyter Notebooks to Atlassian Confluence (R) pages using nbconvert"; 25 homepage = "https://github.com/Valassis-Digital-Media/nbconflux"; 26 license = licenses.bsd3; 27 maintainers = [ maintainers.arnoldfarkas ]; 28 }; 29}