2017-06-01 17:01:24 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytest
|
|
|
|
, pytestcov
|
|
|
|
, coverage
|
|
|
|
, jsonschema
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "wheel";
|
2018-05-28 13:19:37 +01:00
|
|
|
version = "0.31.1";
|
2017-06-01 17:01:24 +01:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-05-28 13:19:37 +01:00
|
|
|
sha256 = "0a2e54558a0628f2145d2fc822137e322412115173e8a2ddbe1c9024338ae83c";
|
2017-06-01 17:01:24 +01:00
|
|
|
};
|
|
|
|
|
2017-09-11 21:48:30 +01:00
|
|
|
checkInputs = [ pytest pytestcov coverage ];
|
2017-06-01 17:01:24 +01:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ jsonschema ];
|
|
|
|
|
2017-09-11 21:48:30 +01:00
|
|
|
# No tests in archive
|
|
|
|
doCheck = false;
|
|
|
|
|
2017-06-01 17:01:24 +01:00
|
|
|
# We add this flag to ignore the copy installed by bootstrapped-pip
|
|
|
|
installFlags = [ "--ignore-installed" ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A built-package format for Python";
|
|
|
|
license = with lib.licenses; [ mit ];
|
|
|
|
homepage = https://bitbucket.org/pypa/wheel/;
|
|
|
|
};
|
|
|
|
}
|