2017-06-01 18:01:24 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytest
|
|
|
|
, pytestcov
|
|
|
|
, coverage
|
|
|
|
, jsonschema
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "wheel";
|
2017-09-11 22:48:30 +02:00
|
|
|
version = "0.30.0";
|
2017-06-01 18:01:24 +02:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-09-11 22:48:30 +02:00
|
|
|
sha256 = "9515fe0a94e823fd90b08d22de45d7bde57c90edce705b22f5e1ecf7e1b653c8";
|
2017-06-01 18:01:24 +02:00
|
|
|
};
|
|
|
|
|
2017-09-11 22:48:30 +02:00
|
|
|
checkInputs = [ pytest pytestcov coverage ];
|
2017-06-01 18:01:24 +02:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ jsonschema ];
|
|
|
|
|
2017-09-11 22:48:30 +02:00
|
|
|
# No tests in archive
|
|
|
|
doCheck = false;
|
|
|
|
|
2017-06-01 18:01:24 +02: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/;
|
|
|
|
};
|
|
|
|
}
|