45 lines
1011 B
Nix
45 lines
1011 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, jsonschema
|
|
, bootstrapped-pip
|
|
, setuptools
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "wheel";
|
|
version = "0.29.0";
|
|
format = "setuptools";
|
|
|
|
#src = fetchPypi {
|
|
# inherit pname version;
|
|
# sha256 = "1ebb8ad7e26b448e9caa4773d2357849bf80ff9e313964bcaf79cbf0201a1648";
|
|
#};
|
|
src = fetchFromGitHub {
|
|
owner = "pypa";
|
|
repo = pname;
|
|
rev = version;
|
|
name = "${pname}-${version}-source";
|
|
hash = "sha256-HedK21Lykt1dbq1wIKGlInuEWV4WezjV2Q2YX+0vyO8=";
|
|
};
|
|
|
|
#buildInputs = [ pytest pytestcov coverage ];
|
|
#nativeBuildInputs = [ bootstrapped-pip setuptools ];
|
|
|
|
#catchConflicts = false;
|
|
|
|
#doCheck = false;
|
|
|
|
#pythonImportsCheck = [ "wheel" ];
|
|
|
|
# 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/";
|
|
};
|
|
}
|