at master 957 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6 colorama, 7 mock, 8 pyyaml, 9 pydantic, 10 backoff, 11 setuptools, 12}: 13 14buildPythonPackage rec { 15 pname = "nuclear"; 16 version = "2.5.0"; 17 pyproject = true; 18 19 src = fetchFromGitHub { 20 owner = "igrek51"; 21 repo = "nuclear"; 22 rev = version; 23 hash = "sha256-6ZuRFZLhOqS9whkD0WtWD1/xSLhE8czDA3Za7Vcn1Mc="; 24 }; 25 26 build-system = [ setuptools ]; 27 dependencies = [ 28 colorama 29 pyyaml 30 ]; 31 32 nativeCheckInputs = [ 33 pytestCheckHook 34 mock 35 pydantic 36 backoff 37 ]; 38 disabledTestPaths = [ 39 # Disabled because test tries to install bash in a non-NixOS way 40 "tests/autocomplete/test_bash_install.py" 41 ]; 42 pythonImportsCheck = [ "nuclear" ]; 43 44 meta = with lib; { 45 homepage = "https://igrek51.github.io/nuclear/"; 46 description = "Binding glue for CLI Python applications"; 47 license = licenses.mit; 48 maintainers = with maintainers; [ parras ]; 49 }; 50}