nixpkgs/pkgs/development/python-modules/wheel/default.nix

42 lines
873 B
Nix
Raw Normal View History

{ lib
, setuptools
, pip
, buildPythonPackage
, fetchFromGitHub
, pytest
, pytestcov
, coverage
, jsonschema
, bootstrapped-pip
}:
buildPythonPackage rec {
pname = "wheel";
2019-08-31 15:24:17 +02:00
version = "0.33.6";
format = "other";
src = fetchFromGitHub {
owner = "pypa";
repo = pname;
rev = version;
sha256 = "1bg4bxazsjxp621ymaykd8l75k7rvcvwawlipmjk7nsrl72l4p0s";
name = "${pname}-${version}-source";
};
2017-09-11 22:48:30 +02:00
checkInputs = [ pytest pytestcov coverage ];
nativeBuildInputs = [ bootstrapped-pip setuptools ];
catchConflicts = false;
2017-09-11 22:48:30 +02:00
# No tests in archive
doCheck = false;
# We add this flag to ignore the copy installed by bootstrapped-pip
pipInstallFlags = [ "--ignore-installed" ];
meta = {
description = "A built-package format for Python";
license = with lib.licenses; [ mit ];
homepage = https://bitbucket.org/pypa/wheel/;
};
}