nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 52 lines 1.0 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 cloudpickle, 6 flit-core, 7 typing-extensions, 8 pytestCheckHook, 9 pytest-asyncio, 10}: 11 12buildPythonPackage rec { 13 pname = "submitit"; 14 version = "1.5.4"; 15 pyproject = true; 16 17 src = fetchFromGitHub { 18 owner = "facebookincubator"; 19 repo = "submitit"; 20 tag = version; 21 hash = "sha256-Q/2mC7viLYl8fx7dtQueZqT191EbERZPfN0WkTS/U1w="; 22 }; 23 24 build-system = [ flit-core ]; 25 26 dependencies = [ 27 cloudpickle 28 typing-extensions 29 ]; 30 31 nativeCheckInputs = [ 32 pytestCheckHook 33 pytest-asyncio 34 ]; 35 36 pythonImportsCheck = [ 37 "submitit" 38 ]; 39 40 disabledTests = [ 41 # These tests are broken 42 "test_setup" 43 ]; 44 45 meta = { 46 changelog = "https://github.com/facebookincubator/submitit/releases/tag/${version}"; 47 description = "Python 3.8+ toolbox for submitting jobs to Slurm"; 48 homepage = "https://github.com/facebookincubator/submitit"; 49 license = lib.licenses.mit; 50 maintainers = [ lib.maintainers.nickcao ]; 51 }; 52}