pythonPackages.batchspawer: init at 1.0.0

This commit is contained in:
Chris Ostrouchov 2020-08-07 18:38:56 -04:00 committed by Frederik Rietdijk
parent b8dfca143c
commit 99f6fe1548
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,35 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, jupyterhub
, isPy27
}:
buildPythonPackage rec {
pname = "batchspawner";
version = "1.0.0";
disabled = isPy27;
src = fetchFromGitHub {
owner = "jupyterhub";
repo = "batchspawner";
rev = "v${version}";
sha256 = "0yn312sjfjpjjfciagbczfmqprk2fj4lbb3vsbzj17p948acq5w2";
};
propagatedBuildInputs = [
jupyterhub
];
# tests require a job scheduler e.g. slurm, pbs, etc.
doCheck = false;
pythonImportCheck = [ "batchspawner" ];
meta = with lib; {
description = "A spawner for Jupyterhub to spawn notebooks using batch resource managers";
homepage = "https://jupyter.org";
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};
}

View File

@ -5439,6 +5439,8 @@ in {
babelgladeextractor = callPackage ../development/python-modules/babelgladeextractor { };
batchspawner = callPackage ../development/python-modules/batchspawner { };
pybfd = callPackage ../development/python-modules/pybfd { };
pybigwig = callPackage ../development/python-modules/pybigwig { };