-
-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pythonPackages.jupyterlab-git: init at 0.20.0
- Loading branch information
1 parent
5bd2c37
commit a68011e
Showing
2 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
37 changes: 37 additions & 0 deletions
37
pkgs/development/python-modules/jupyterlab-git/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ lib | ||
, buildPythonPackage | ||
, fetchPypi | ||
, pythonOlder | ||
, notebook | ||
, nbdime | ||
, git | ||
, pytest | ||
}: | ||
|
||
buildPythonPackage rec { | ||
pname = "jupyterlab_git"; | ||
version = "0.20.0"; | ||
disabled = pythonOlder "3.5"; | ||
|
||
src = fetchPypi { | ||
inherit pname version; | ||
sha256 = "0qs3wrcils07xlz698xr7giqf9v63n2qb338mlh7wql93rmjg45i"; | ||
}; | ||
|
||
propagatedBuildInputs = [ notebook nbdime git ]; | ||
|
||
checkInputs = [ pytest ]; | ||
|
||
checkPhase = '' | ||
pytest jupyterlab_git/ --ignore=jupyterlab_git/tests/test_handlers.py | ||
''; | ||
|
||
pythonImportsCheck = [ "jupyterlab_git" ]; | ||
|
||
meta = with lib; { | ||
description = "Jupyter lab extension for version control with Git."; | ||
license = with licenses; [ bsd3 ]; | ||
homepage = "https://github.com/jupyterlab/jupyterlab-git"; | ||
maintainers = with maintainers; [ chiroptical ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters