git.iko.soy/typeable/nixpkgs
on master help sign in
pythonPackages.jupyterlab-git: init at 0.20.0
commita68011ec05275d696d571631cd98e6fe09fd2ff5 authorBarry Moore <chiroptical@gmail.com> dateTue 25 Aug 2020, 16:57 (6 years ago) parent5bd2c37
2 files changed+39
pkgs/development/python-modules/jupyterlab-git/default.nix+37 pkgs/top-level/python-packages.nix+2
pkgs/development/python-modules/jupyterlab-git/default.nixnew file+37
@@ -0,0 +1,37 @@
1+{ lib
2+, buildPythonPackage
3+, fetchPypi
4+, pythonOlder
5+, notebook
6+, nbdime
7+, git
8+, pytest
9+}:
10+
11+buildPythonPackage rec {
12+ pname = "jupyterlab_git";
13+ version = "0.20.0";
14+ disabled = pythonOlder "3.5";
15+
16+ src = fetchPypi {
17+ inherit pname version;
18+ sha256 = "0qs3wrcils07xlz698xr7giqf9v63n2qb338mlh7wql93rmjg45i";
19+ };
20+
21+ propagatedBuildInputs = [ notebook nbdime git ];
22+
23+ checkInputs = [ pytest ];
24+
25+ checkPhase = ''
26+ pytest jupyterlab_git/ --ignore=jupyterlab_git/tests/test_handlers.py
27+ '';
28+
29+ pythonImportsCheck = [ "jupyterlab_git" ];
30+
31+ meta = with lib; {
32+ description = "Jupyter lab extension for version control with Git.";
33+ license = with licenses; [ bsd3 ];
34+ homepage = "https://github.com/jupyterlab/jupyterlab-git";
35+ maintainers = with maintainers; [ chiroptical ];
36+ };
37+}
pkgs/top-level/python-packages.nix+2
@@ -3349,6 +3349,8 @@ in {
33493349
33503350 jupyterlab = callPackage ../development/python-modules/jupyterlab {};
33513351
3352+ jupyterlab-git = callPackage ../development/python-modules/jupyterlab-git {};
3353+
33523354 jupyter-sphinx = callPackage ../development/python-modules/jupyter-sphinx { };
33533355
33543356 jupytext = callPackage ../development/python-modules/jupytext { };