depot/third_party/nixpkgs/pkgs/development/python-modules/jupyter-repo2docker/default.nix
Default email 58849dfc4f Project import generated by Copybara.
GitOrigin-RevId: 21c937f8cb1e6adcfeb36dfd6c90d9d9bfab1d28
2021-08-27 16:25:00 +02:00

52 lines
1 KiB
Nix

{ lib, buildPythonPackage, fetchPypi, pythonOlder
, docker
, escapism
, jinja2
, pkgs-docker
, python-json-logger
, pyyaml
, ruamel_yaml
, semver
, toml
, traitlets
}:
buildPythonPackage rec {
version = "2021.3.0";
pname = "jupyter-repo2docker";
disabled = pythonOlder "3.4";
src = fetchPypi {
inherit pname version;
sha256 = "42e0cf67181bdd03b54dabde695befec0586ed68a4ec1240104e209997d776c4";
};
propagatedBuildInputs = [
docker
escapism
jinja2
pkgs-docker
python-json-logger
ruamel_yaml
semver
toml
traitlets
];
# tests not packaged with pypi release
doCheck = false;
pythonImportsCheck = [
"repo2docker"
"repo2docker.app"
"repo2docker.utils"
"repo2docker.contentproviders.base"
];
meta = with lib; {
homepage = "https://repo2docker.readthedocs.io/en/latest/";
description = "Repo2docker: Turn code repositories into Jupyter enabled Docker Images";
license = licenses.bsdOriginal;
maintainers = [ maintainers.costrouc ];
};
}