pythonPackages.batchspawer: init at 1.0.0
This commit is contained in:
parent
b8dfca143c
commit
99f6fe1548
35
pkgs/development/python-modules/batchspawner/default.nix
Normal file
35
pkgs/development/python-modules/batchspawner/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -5439,6 +5439,8 @@ in {
|
|||||||
|
|
||||||
babelgladeextractor = callPackage ../development/python-modules/babelgladeextractor { };
|
babelgladeextractor = callPackage ../development/python-modules/babelgladeextractor { };
|
||||||
|
|
||||||
|
batchspawner = callPackage ../development/python-modules/batchspawner { };
|
||||||
|
|
||||||
pybfd = callPackage ../development/python-modules/pybfd { };
|
pybfd = callPackage ../development/python-modules/pybfd { };
|
||||||
|
|
||||||
pybigwig = callPackage ../development/python-modules/pybigwig { };
|
pybigwig = callPackage ../development/python-modules/pybigwig { };
|
||||||
|
Loading…
Reference in New Issue
Block a user