2017-06-01 18:01:24 +02:00
|
|
|
{ lib
|
2019-07-17 20:36:47 +02:00
|
|
|
, setuptools
|
|
|
|
, pip
|
2017-06-01 18:01:24 +02:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytest
|
|
|
|
, pytestcov
|
|
|
|
, coverage
|
|
|
|
, jsonschema
|
2019-07-17 20:36:47 +02:00
|
|
|
, bootstrapped-pip
|
2017-06-01 18:01:24 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "wheel";
|
2019-08-31 15:24:17 +02:00
|
|
|
version = "0.33.6";
|
2019-07-17 20:36:47 +02:00
|
|
|
format = "other";
|
2017-06-01 18:01:24 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-08-31 15:24:17 +02:00
|
|
|
sha256 = "10c9da68765315ed98850f8e048347c3eb06dd81822dc2ab1d4fde9dc9702646";
|
2017-06-01 18:01:24 +02:00
|
|
|
};
|
|
|
|
|
2017-09-11 22:48:30 +02:00
|
|
|
checkInputs = [ pytest pytestcov coverage ];
|
2019-07-17 20:36:47 +02:00
|
|
|
nativeBuildInputs = [ bootstrapped-pip setuptools ];
|
2017-06-01 18:01:24 +02:00
|
|
|
|
2019-07-17 20:36:47 +02:00
|
|
|
catchConflicts = false;
|
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
|
2019-07-17 20:36:47 +02:00
|
|
|
pipInstallFlags = [ "--ignore-installed" ];
|
2017-06-01 18:01:24 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A built-package format for Python";
|
|
|
|
license = with lib.licenses; [ mit ];
|
|
|
|
homepage = https://bitbucket.org/pypa/wheel/;
|
|
|
|
};
|
|
|
|
}
|