1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-15 09:03:48 +00:00
nixpkgs/pkgs/development/python-modules/wheel/default.nix
2018-06-02 13:44:39 +02:00

36 lines
735 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytest
, pytestcov
, coverage
, jsonschema
}:
buildPythonPackage rec {
pname = "wheel";
version = "0.31.1";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "0a2e54558a0628f2145d2fc822137e322412115173e8a2ddbe1c9024338ae83c";
};
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/;
};
}