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