at master 1.1 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 click, 6 pip, 7 setuptools, 8 wheel, 9 pytestCheckHook, 10}: 11 12buildPythonPackage rec { 13 pname = "shiv"; 14 version = "1.0.8"; 15 format = "pyproject"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-KmjWnpjOgctbj9r7/B4n76k+bYnKFL+uM0guQXb1YdY="; 20 }; 21 22 propagatedBuildInputs = [ 23 click 24 pip 25 setuptools 26 wheel 27 ]; 28 29 pythonImportsCheck = [ "shiv" ]; 30 31 nativeCheckInputs = [ pytestCheckHook ]; 32 33 disabledTests = [ 34 # AssertionError 35 "test_hello_world" 36 "test_extend_pythonpath" 37 "test_multiple_site_packages" 38 "test_no_entrypoint" 39 "test_results_are_binary_identical_with_env_and_build_id" 40 "test_preamble" 41 "test_preamble_no_pip" 42 "test_alternate_root" 43 "test_alternate_root_environment_variable" 44 ]; 45 46 meta = with lib; { 47 description = "Command line utility for building fully self contained Python zipapps"; 48 homepage = "https://github.com/linkedin/shiv"; 49 license = licenses.bsd2; 50 maintainers = with maintainers; [ prusnak ]; 51 }; 52}