Skip to content

Commit

Permalink
Merge pull request NixOS#194567 from r-ryantm/auto-update/python310Pa…
Browse files Browse the repository at this point in the history
…ckages.batchspawner

python310Packages.batchspawner: 1.1.0 -> 1.2.0
  • Loading branch information
fabaff authored Oct 5, 2022
2 parents a2c9178 + 36d0c5f commit b093aa5
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions pkgs/development/python-modules/batchspawner/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,33 @@
, buildPythonPackage
, fetchFromGitHub
, jupyterhub
, isPy27
, pythonOlder
}:

buildPythonPackage rec {
pname = "batchspawner";
version = "1.1.0";
disabled = isPy27;
version = "1.2.0";
format = "setuptools";

disabled = pythonOlder "3.5";

src = fetchFromGitHub {
owner = "jupyterhub";
repo = "batchspawner";
rev = "v${version}";
sha256 = "0zv485b7fk5zlwgp5fyibanqzbpisdl2a0gz70fwdj4kl462axnw";
rev = "refs/tags/v${version}";
hash = "sha256-oyS47q+gsO7JmRsbVJXglZsSRfits5rS/nrHW5E7EV0=";
};

propagatedBuildInputs = [
jupyterhub
];

# tests require a job scheduler e.g. slurm, pbs, etc.
# Tests require a job scheduler e.g. slurm, pbs, etc.
doCheck = false;

pythonImportsCheck = [ "batchspawner" ];
pythonImportsCheck = [
"batchspawner"
];

meta = with lib; {
description = "A spawner for Jupyterhub to spawn notebooks using batch resource managers";
Expand Down

0 comments on commit b093aa5

Please sign in to comment.