Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / wheel / default.nix
blob60398998380a983dfa4d7814de6f378b8967e4c2
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , bootstrapped-pip
5 , setuptools
6 }:
8 buildPythonPackage rec {
9   pname = "wheel";
10   version = "0.36.2";
11   format = "other";
13   src = fetchFromGitHub {
14     owner = "pypa";
15     repo = pname;
16     rev = version;
17     sha256 = "sha256-8lK2UvqBIxUYm6IOuT+Jk71wYbEEjvI7typS3749N9g=";
18     name = "${pname}-${version}-source";
19   };
21   nativeBuildInputs = [
22     bootstrapped-pip
23     setuptools
24   ];
26   # No tests in archive
27   doCheck = false;
28   pythonImportsCheck = [ "wheel" ];
30   # We add this flag to ignore the copy installed by bootstrapped-pip
31   pipInstallFlags = [ "--ignore-installed" ];
33   meta = with lib; {
34     homepage = "https://bitbucket.org/pypa/wheel/";
35     description = "A built-package format for Python";
36     longDescription = ''
37       This library is the reference implementation of the Python wheel packaging standard,
38       as defined in PEP 427.
40       It has two different roles:
42       - A setuptools extension for building wheels that provides the bdist_wheel setuptools command
43       - A command line tool for working with wheel files
45       It should be noted that wheel is not intended to be used as a library,
46       and as such there is no stable, public API.
47     '';
48     license = with licenses; [ mit ];
49     maintainers = with maintainers; [ siriobalmelli ];
50   };