2017-06-01 17:01:24 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2019-10-20 14:33:35 +01:00
|
|
|
, fetchFromGitHub
|
2019-07-17 19:36:47 +01:00
|
|
|
, bootstrapped-pip
|
2020-07-11 16:04:46 +01:00
|
|
|
, setuptools
|
2017-06-01 17:01:24 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "wheel";
|
2020-07-11 16:04:46 +01:00
|
|
|
version = "0.34.2";
|
2019-07-17 19:36:47 +01:00
|
|
|
format = "other";
|
2017-06-01 17:01:24 +01:00
|
|
|
|
2019-10-20 14:33:35 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "pypa";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-07-11 16:04:46 +01:00
|
|
|
sha256 = "1mwh35ycv07ajnpcjc4rjdmndh6nyg03gdgag5m8c2af7z1xlcmj";
|
2019-10-20 14:33:35 +01:00
|
|
|
name = "${pname}-${version}-source";
|
2017-06-01 17:01:24 +01:00
|
|
|
};
|
|
|
|
|
2020-07-11 16:04:46 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
bootstrapped-pip
|
|
|
|
setuptools
|
|
|
|
];
|
2017-06-01 17:01:24 +01:00
|
|
|
|
2017-09-11 21:48:30 +01:00
|
|
|
# No tests in archive
|
|
|
|
doCheck = false;
|
2020-07-11 16:04:46 +01:00
|
|
|
pythonImportsCheck = [ "wheel" ];
|
2017-09-11 21:48:30 +01:00
|
|
|
|
2017-06-01 17:01:24 +01:00
|
|
|
# We add this flag to ignore the copy installed by bootstrapped-pip
|
2019-07-17 19:36:47 +01:00
|
|
|
pipInstallFlags = [ "--ignore-installed" ];
|
2017-06-01 17:01:24 +01:00
|
|
|
|
2020-07-11 16:04:46 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://bitbucket.org/pypa/wheel/";
|
2020-07-11 16:04:46 +01:00
|
|
|
description = "A built-package format for Python";
|
|
|
|
longDescription = ''
|
|
|
|
This library is the reference implementation of the Python wheel packaging standard,
|
|
|
|
as defined in PEP 427.
|
|
|
|
|
|
|
|
It has two different roles:
|
|
|
|
|
|
|
|
- A setuptools extension for building wheels that provides the bdist_wheel setuptools command
|
|
|
|
- A command line tool for working with wheel files
|
|
|
|
|
|
|
|
It should be noted that wheel is not intended to be used as a library,
|
|
|
|
and as such there is no stable, public API.
|
|
|
|
'';
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ siriobalmelli ];
|
2017-06-01 17:01:24 +01:00
|
|
|
};
|
|
|
|
}
|