1{ lib 2, buildPythonPackage 3, fetchPypi 4, setuptools 5, nose 6, pytestCheckHook 7}: 8 9buildPythonPackage rec { 10 pname = "ipython-genutils"; 11 version = "0.2.0"; 12 pyproject = true; 13 14 src = fetchPypi { 15 pname = "ipython_genutils"; 16 inherit version; 17 hash = "sha256-6y4RbnXs751NIo/cZq9UJpr6JqtEYwQuM3hbiHxii6g="; 18 }; 19 20 nativeBuildInputs = [ 21 setuptools 22 ]; 23 24 nativeCheckInputs = [ 25 nose 26 pytestCheckHook 27 ]; 28 29 preCheck = '' 30 substituteInPlace ipython_genutils/tests/test_path.py \ 31 --replace "setUp" "setup_method" \ 32 --replace "tearDown" "teardown_method" 33 ''; 34 35 pythonImportsCheck = [ 36 "ipython_genutils" 37 ]; 38 39 meta = { 40 description = "Vestigial utilities from IPython"; 41 homepage = "https://ipython.org/"; 42 license = lib.licenses.bsd3; 43 maintainers = with lib.maintainers; [ fridh ]; 44 }; 45}