nixpkgs-suyu/pkgs/development/python-modules/wheel/default.nix
2019-02-23 20:05:18 +01:00

34 lines
703 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytest
, pytestcov
, coverage
, jsonschema
}:
buildPythonPackage rec {
pname = "wheel";
version = "0.33.1";
src = fetchPypi {
inherit pname version;
sha256 = "66a8fd76f28977bb664b098372daef2b27f60dc4d1688cfab7b37a09448f0e9d";
};
checkInputs = [ pytest pytestcov coverage ];
propagatedBuildInputs = [ jsonschema ];
# No tests in archive
doCheck = false;
# 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/;
};
}