summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/wheel/default.nix
blob: 50696d7c0cf5904cdaea193f451b8fbdc4590a0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  flit-core,
}:

buildPythonPackage rec {
  pname = "wheel";
  version = "0.46.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "pypa";
    repo = "wheel";
    tag = version;
    hash = "sha256-iyGfGr3pLVZSEIHetjsPbIIXkuXrmIPiSqqOw31l9Qw=";
  };

  nativeBuildInputs = [ flit-core ];

  # No tests in archive
  doCheck = false;

  pythonImportsCheck = [ "wheel" ];

  meta = {
    homepage = "https://github.com/pypa/wheel";
    description = "Built-package format for Python";
    mainProgram = "wheel";
    longDescription = ''
      This library is the reference implementation of the Python wheel packaging standard,
      as defined in PEP 427.

      It has two different roles:

      - A setuptools extension for building wheels that provides the bdist_wheel setuptools command
      - A command line tool for working with wheel files

      It should be noted that wheel is not intended to be used as a library,
      and as such there is no stable, public API.
    '';
    license = with lib.licenses; [ mit ];
    maintainers = with lib.maintainers; [ siriobalmelli ];
  };
}