at 22.05-pre 1.3 kB view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, bootstrapped-pip 5, setuptools 6}: 7 8buildPythonPackage rec { 9 pname = "wheel"; 10 version = "0.36.2"; 11 format = "other"; 12 13 src = fetchFromGitHub { 14 owner = "pypa"; 15 repo = pname; 16 rev = version; 17 sha256 = "sha256-8lK2UvqBIxUYm6IOuT+Jk71wYbEEjvI7typS3749N9g="; 18 name = "${pname}-${version}-source"; 19 }; 20 21 nativeBuildInputs = [ 22 bootstrapped-pip 23 setuptools 24 ]; 25 26 # No tests in archive 27 doCheck = false; 28 pythonImportsCheck = [ "wheel" ]; 29 30 # We add this flag to ignore the copy installed by bootstrapped-pip 31 pipInstallFlags = [ "--ignore-installed" ]; 32 33 meta = with lib; { 34 homepage = "https://bitbucket.org/pypa/wheel/"; 35 description = "A built-package format for Python"; 36 longDescription = '' 37 This library is the reference implementation of the Python wheel packaging standard, 38 as defined in PEP 427. 39 40 It has two different roles: 41 42 - A setuptools extension for building wheels that provides the bdist_wheel setuptools command 43 - A command line tool for working with wheel files 44 45 It should be noted that wheel is not intended to be used as a library, 46 and as such there is no stable, public API. 47 ''; 48 license = with licenses; [ mit ]; 49 maintainers = with maintainers; [ siriobalmelli ]; 50 }; 51}