1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 flit-core,
6}:
7
8buildPythonPackage rec {
9 pname = "wheel";
10 version = "0.46.1";
11 pyproject = true;
12
13 src = fetchFromGitHub {
14 owner = "pypa";
15 repo = "wheel";
16 tag = version;
17 hash = "sha256-iyGfGr3pLVZSEIHetjsPbIIXkuXrmIPiSqqOw31l9Qw=";
18 };
19
20 nativeBuildInputs = [ flit-core ];
21
22 # No tests in archive
23 doCheck = false;
24
25 pythonImportsCheck = [ "wheel" ];
26
27 meta = with lib; {
28 homepage = "https://github.com/pypa/wheel";
29 description = "Built-package format for Python";
30 mainProgram = "wheel";
31 longDescription = ''
32 This library is the reference implementation of the Python wheel packaging standard,
33 as defined in PEP 427.
34
35 It has two different roles:
36
37 - A setuptools extension for building wheels that provides the bdist_wheel setuptools command
38 - A command line tool for working with wheel files
39
40 It should be noted that wheel is not intended to be used as a library,
41 and as such there is no stable, public API.
42 '';
43 license = with licenses; [ mit ];
44 maintainers = with maintainers; [ siriobalmelli ];
45 };
46}