1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

pythonPackages.nbconflux: init at 0.7.0

This commit is contained in:
Farkas, Arnold 2020-01-22 09:47:54 -05:00 committed by Frederik Rietdijk
parent 8deaccc909
commit a8f3903ba5
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{ lib, buildPythonPackage, fetchFromGitHub, nbconvert, pytest, requests, responses }:
buildPythonPackage rec {
pname = "nbconflux";
version = "0.7.0";
src = fetchFromGitHub {
owner = "Valassis-Digital-Media";
repo = "nbconflux";
rev = version;
sha256 = "1708qkb275d6f7b4b5zmqx3i0jh56nrx2n9rwwp5nbaah5p2wwlh";
};
propagatedBuildInputs = [ nbconvert requests ];
checkInputs = [ pytest responses ];
checkPhase = ''
pytest tests
'';
meta = with lib; {
description = "Converts Jupyter Notebooks to Atlassian Confluence (R) pages using nbconvert";
homepage = "https://github.com/Valassis-Digital-Media/nbconflux";
license = licenses.bsd3;
maintainers = [ maintainers.arnoldfarkas ];
};
}

View file

@ -4343,6 +4343,8 @@ in {
names = callPackage ../development/python-modules/names { };
nbconflux = callPackage ../development/python-modules/nbconflux { };
nbconvert = callPackage ../development/python-modules/nbconvert { };
nbformat = if isPy3k then