1{ lib
2, buildPythonPackage
3, fetchPypi
4, pytest
5, pytestcov
6, coverage
7, jsonschema
8}:
9
10buildPythonPackage rec {
11 pname = "wheel";
12 version = "0.31.1";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "0a2e54558a0628f2145d2fc822137e322412115173e8a2ddbe1c9024338ae83c";
17 };
18
19 checkInputs = [ pytest pytestcov coverage ];
20
21 propagatedBuildInputs = [ jsonschema ];
22
23 # No tests in archive
24 doCheck = false;
25
26 # We add this flag to ignore the copy installed by bootstrapped-pip
27 installFlags = [ "--ignore-installed" ];
28
29 meta = {
30 description = "A built-package format for Python";
31 license = with lib.licenses; [ mit ];
32 homepage = https://bitbucket.org/pypa/wheel/;
33 };
34}