biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / shiv / default.nix
blob346874edfa0c1eb8fd3873e4a27715ccc60fe6ec
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   click,
6   pip,
7   setuptools,
8   wheel,
9   pytestCheckHook,
12 buildPythonPackage rec {
13   pname = "shiv";
14   version = "1.0.7";
15   format = "pyproject";
17   src = fetchPypi {
18     inherit pname version;
19     hash = "sha256-lHdX/iY4OuntoMV288uiRN+jcV7S9Jk1RLdYJF9xqxU=";
20   };
22   propagatedBuildInputs = [
23     click
24     pip
25     setuptools
26     wheel
27   ];
29   pythonImportsCheck = [ "shiv" ];
31   nativeCheckInputs = [ pytestCheckHook ];
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   ];
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   };