2017-06-01 16:01:24 +00:00
|
|
|
{ lib
|
2019-07-17 18:36:47 +00:00
|
|
|
, setuptools
|
|
|
|
, pip
|
2017-06-01 16:01:24 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytest
|
|
|
|
, pytestcov
|
|
|
|
, coverage
|
|
|
|
, jsonschema
|
2019-07-17 18:36:47 +00:00
|
|
|
, bootstrapped-pip
|
2017-06-01 16:01:24 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "wheel";
|
2019-08-31 13:24:17 +00:00
|
|
|
version = "0.33.6";
|
2019-07-17 18:36:47 +00:00
|
|
|
format = "other";
|
2017-06-01 16:01:24 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-08-31 13:24:17 +00:00
|
|
|
sha256 = "10c9da68765315ed98850f8e048347c3eb06dd81822dc2ab1d4fde9dc9702646";
|
2017-06-01 16:01:24 +00:00
|
|
|
};
|
|
|
|
|
2017-09-11 20:48:30 +00:00
|
|
|
checkInputs = [ pytest pytestcov coverage ];
|
2019-07-17 18:36:47 +00:00
|
|
|
nativeBuildInputs = [ bootstrapped-pip setuptools ];
|
2017-06-01 16:01:24 +00:00
|
|
|
|
2019-07-17 18:36:47 +00:00
|
|
|
catchConflicts = false;
|
2017-09-11 20:48:30 +00:00
|
|
|
# No tests in archive
|
|
|
|
doCheck = false;
|
|
|
|
|
2017-06-01 16:01:24 +00:00
|
|
|
# We add this flag to ignore the copy installed by bootstrapped-pip
|
2019-07-17 18:36:47 +00:00
|
|
|
pipInstallFlags = [ "--ignore-installed" ];
|
2017-06-01 16:01:24 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A built-package format for Python";
|
|
|
|
license = with lib.licenses; [ mit ];
|
|
|
|
homepage = https://bitbucket.org/pypa/wheel/;
|
|
|
|
};
|
|
|
|
}
|