Merge pull request #144064 from ayazhafiz/init/wheel-inspect

wheel-inspect: init at 1.7.0

authored by

Ben Siraphob and committed by
GitHub
2ab832c0 1380230a

+156
+6
maintainers/maintainer-list.nix
··· 1151 1151 githubId = 56650223; 1152 1152 name = "Artturi N"; 1153 1153 }; 1154 + ayazhafiz = { 1155 + email = "ayaz.hafiz.1@gmail.com"; 1156 + github = "ayazhafiz"; 1157 + githubId = 262763; 1158 + name = "Ayaz Hafiz"; 1159 + }; 1154 1160 b4dm4n = { 1155 1161 email = "fabianm88@gmail.com"; 1156 1162 github = "B4dM4n";
+22
pkgs/development/python-modules/entry-points-txt/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchurl 4 + }: 5 + 6 + buildPythonPackage rec { 7 + pname = "entry-points-txt"; 8 + version = "0.1.0"; 9 + format = "wheel"; 10 + 11 + src = fetchurl { 12 + url = "https://github.com/jwodder/entry-points-txt/releases/download/v0.1.0/entry_points_txt-0.1.0-py3-none-any.whl"; 13 + sha256 = "29773bed3d9d337766a394e19d6f7ab0be3ed7d6f3ebb753ff0f7f48f056aa8e"; 14 + }; 15 + 16 + meta = with lib; { 17 + homepage = "https://github.com/jwodder/entry-points-txt"; 18 + description = "Read & write entry_points.txt files"; 19 + license = with licenses; [ mit ]; 20 + maintainers = with lib.maintainers; [ ayazhafiz ]; 21 + }; 22 + }
+28
pkgs/development/python-modules/headerparser/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , entry-points-txt 5 + , six 6 + }: 7 + 8 + buildPythonPackage rec { 9 + pname = "headerparser"; 10 + version = "0.4.0"; 11 + 12 + src = fetchPypi{ 13 + inherit pname; 14 + inherit version; 15 + sha256 = "b8ceae4c5e6133fda666d022684e93f9b3d45815c2c7881018123c71ff28c5cc"; 16 + }; 17 + 18 + buildInputs = [ 19 + six 20 + ]; 21 + 22 + meta = with lib; { 23 + homepage = "https://github.com/jwodder/headerparser"; 24 + description = "argparse for mail-style headers"; 25 + license = with licenses; [ mit ]; 26 + maintainers = with lib.maintainers; [ ayazhafiz ]; 27 + }; 28 + }
+27
pkgs/development/python-modules/wheel-filename/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchurl 4 + , attrs 5 + }: 6 + 7 + buildPythonPackage rec { 8 + pname = "wheel-filename"; 9 + version = "1.3.0"; 10 + format = "wheel"; 11 + 12 + src = fetchurl { 13 + url = "https://github.com/jwodder/wheel-filename/releases/download/v1.1.0/wheel_filename-1.1.0-py3-none-any.whl"; 14 + sha256 = "0aee45553f34e3a1b8a5db64aa832326f13c138b7f925a53daf96f984f9e6a38"; 15 + }; 16 + 17 + buildInputs = [ 18 + attrs 19 + ]; 20 + 21 + meta = with lib; { 22 + homepage = "https://github.com/jwodder/wheel-filename"; 23 + description = "Parse wheel filenames"; 24 + license = with licenses; [ mit ]; 25 + maintainers = with lib.maintainers; [ ayazhafiz ]; 26 + }; 27 + }
+65
pkgs/development/python-modules/wheel-inspect/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchurl 4 + , bleach, docutils, pygments, six 5 + , attrs, entry-points-txt, headerparser, packaging, wheel-filename 6 + }: 7 + 8 + # wheel-filename is stuck on readme_renderer~=24.0.0, but the upstream is at a 9 + # future version. 10 + let readme_renderer_24 = buildPythonPackage rec { 11 + pname = "readme_renderer"; 12 + version = "24.0.0"; 13 + format = "wheel"; 14 + 15 + src = fetchurl { 16 + url = "https://files.pythonhosted.org/packages/c3/7e/d1aae793900f36b097cbfcc5e70eef82b5b56423a6c52a36dce51fedd8f0/readme_renderer-24.0-py2.py3-none-any.whl"; 17 + sha256 = "c8532b79afc0375a85f10433eca157d6b50f7d6990f337fa498c96cd4bfc203d"; 18 + }; 19 + 20 + doCheck = false; 21 + 22 + buildInputs = [ 23 + bleach 24 + docutils 25 + pygments 26 + six 27 + ]; 28 + 29 + meta = with lib; { 30 + description = "Python library for rendering readme descriptions"; 31 + homepage = "https://github.com/pypa/readme_renderer"; 32 + license = with licenses; [ asl20 ]; 33 + maintainers = with lib.maintainers; [ ayazhafiz ]; 34 + }; 35 + }; 36 + 37 + in buildPythonPackage rec { 38 + version = "1.7.0"; 39 + pname = "wheel-inspect"; 40 + format = "wheel"; 41 + 42 + src = fetchurl { 43 + url = "https://github.com/jwodder/wheel-inspect/releases/download/v1.7.0/wheel_inspect-1.7.0-py3-none-any.whl"; 44 + sha256 = "69b34de1f4464ddfc76280c4563e4afc644de2c88e3ae6882f030afdad3d73e4"; 45 + }; 46 + 47 + propagatedBuildInputs = [ 48 + attrs 49 + bleach 50 + docutils 51 + entry-points-txt 52 + headerparser 53 + packaging 54 + pygments 55 + readme_renderer_24 56 + wheel-filename 57 + ]; 58 + 59 + meta = with lib; { 60 + homepage = "https://github.com/jwodder/wheel-inspect"; 61 + description = "Extract information from wheels"; 62 + license = with licenses; [ mit ]; 63 + maintainers = with lib.maintainers; [ ayazhafiz ]; 64 + }; 65 + }
+8
pkgs/top-level/python-packages.nix
··· 2436 2436 routerFeatures = true; 2437 2437 }; 2438 2438 2439 + entry-points-txt = callPackage ../development/python-modules/entry-points-txt { }; 2440 + 2439 2441 entrypoint2 = callPackage ../development/python-modules/entrypoint2 { }; 2440 2442 2441 2443 entrypoints = callPackage ../development/python-modules/entrypoints { }; ··· 3435 3437 hdlparse = callPackage ../development/python-modules/hdlparse { }; 3436 3438 3437 3439 hdmedians = callPackage ../development/python-modules/hdmedians { }; 3440 + 3441 + headerparser = callPackage ../development/python-modules/headerparser { }; 3438 3442 3439 3443 heapdict = callPackage ../development/python-modules/heapdict { }; 3440 3444 ··· 9798 9802 wget = callPackage ../development/python-modules/wget { }; 9799 9803 9800 9804 wheel = callPackage ../development/python-modules/wheel { }; 9805 + 9806 + wheel-filename = callPackage ../development/python-modules/wheel-filename { }; 9807 + 9808 + wheel-inspect = callPackage ../development/python-modules/wheel-inspect { }; 9801 9809 9802 9810 whichcraft = callPackage ../development/python-modules/whichcraft { }; 9803 9811