aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/python-modules/wheel/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/development/python-modules/wheel/default.nix')
-rw-r--r--infra/libkookie/nixpkgs/pkgs/development/python-modules/wheel/default.nix51
1 files changed, 51 insertions, 0 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/development/python-modules/wheel/default.nix b/infra/libkookie/nixpkgs/pkgs/development/python-modules/wheel/default.nix
new file mode 100644
index 000000000000..fd93cbdcea37
--- /dev/null
+++ b/infra/libkookie/nixpkgs/pkgs/development/python-modules/wheel/default.nix
@@ -0,0 +1,51 @@
+{ lib
+, buildPythonPackage
+, fetchFromGitHub
+, bootstrapped-pip
+, setuptools
+}:
+
+buildPythonPackage rec {
+ pname = "wheel";
+ version = "0.34.2";
+ format = "other";
+
+ src = fetchFromGitHub {
+ owner = "pypa";
+ repo = pname;
+ rev = version;
+ sha256 = "1mwh35ycv07ajnpcjc4rjdmndh6nyg03gdgag5m8c2af7z1xlcmj";
+ name = "${pname}-${version}-source";
+ };
+
+ nativeBuildInputs = [
+ bootstrapped-pip
+ setuptools
+ ];
+
+ # No tests in archive
+ doCheck = false;
+ pythonImportsCheck = [ "wheel" ];
+
+ # We add this flag to ignore the copy installed by bootstrapped-pip
+ pipInstallFlags = [ "--ignore-installed" ];
+
+ meta = with lib; {
+ homepage = "https://bitbucket.org/pypa/wheel/";
+ description = "A built-package format for Python";
+ longDescription = ''
+ This library is the reference implementation of the Python wheel packaging standard,
+ as defined in PEP 427.
+
+ It has two different roles:
+
+ - A setuptools extension for building wheels that provides the bdist_wheel setuptools command
+ - A command line tool for working with wheel files
+
+ It should be noted that wheel is not intended to be used as a library,
+ and as such there is no stable, public API.
+ '';
+ license = with licenses; [ mit ];
+ maintainers = with maintainers; [ siriobalmelli ];
+ };
+}