nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 34 lines 729 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 cmd2, 5 fetchPypi, 6 pytestCheckHook, 7 setuptools-scm, 8}: 9 10buildPythonPackage rec { 11 pname = "cmd2-ext-test"; 12 version = "2.0.0"; 13 format = "setuptools"; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-uTc+onurLilwQe0trESR3JGa5WFT1fCt3rRA7rhRpaY="; 18 }; 19 20 nativeBuildInputs = [ setuptools-scm ]; 21 22 propagatedBuildInputs = [ cmd2 ]; 23 24 nativeCheckInputs = [ pytestCheckHook ]; 25 26 pythonImportsCheck = [ "cmd2_ext_test" ]; 27 28 meta = { 29 description = "Plugin supports testing of a cmd2 application"; 30 homepage = "https://github.com/python-cmd2/cmd2/tree/master/plugins/ext_test"; 31 license = lib.licenses.mit; 32 maintainers = with lib.maintainers; [ fab ]; 33 }; 34}