Merge pull request #176454 from dotlambda/python2-removals

authored by Martin Weinelt and committed by GitHub d740615f 70839a8f

+34 -995
-72
pkgs/applications/misc/cura/stable.nix
··· 1 - { lib, stdenv, python27Packages, curaengine, makeDesktopItem, fetchFromGitHub }: 2 - 3 - stdenv.mkDerivation rec { 4 - pname = "cura"; 5 - version = "15.06.03"; 6 - 7 - src = fetchFromGitHub { 8 - owner = "daid"; 9 - repo = "Cura"; 10 - rev = version; 11 - sha256 = "sha256-o1cAi4Wi19WOijlRB9iYwNEpSNnmywUj5Bth8rRhqFA="; 12 - }; 13 - 14 - desktopItem = makeDesktopItem { 15 - name = "Cura"; 16 - exec = "cura"; 17 - icon = "cura"; 18 - comment = "Cura"; 19 - desktopName = "Cura"; 20 - genericName = "3D printing host software"; 21 - categories = [ "GNOME" "GTK" "Utility" ]; 22 - }; 23 - 24 - python_deps = with python27Packages; [ pyopengl pyserial numpy wxPython30 power setuptools ]; 25 - 26 - pythonPath = python_deps; 27 - 28 - propagatedBuildInputs = python_deps; 29 - 30 - buildInputs = [ curaengine python27Packages.wrapPython ]; 31 - 32 - configurePhase = ""; 33 - buildPhase = ""; 34 - 35 - patches = [ ./numpy-cast.patch ]; 36 - 37 - installPhase = '' 38 - # Install Python code. 39 - site_packages=$out/lib/python2.7/site-packages 40 - mkdir -p $site_packages 41 - cp -r Cura $site_packages/ 42 - 43 - # Install resources. 44 - resources=$out/share/cura 45 - mkdir -p $resources 46 - cp -r resources/* $resources/ 47 - sed -i 's|os.path.join(os.path.dirname(__file__), "../../resources")|"'$resources'"|g' $site_packages/Cura/util/resources.py 48 - 49 - # Install executable. 50 - mkdir -p $out/bin 51 - cp Cura/cura.py $out/bin/cura 52 - chmod +x $out/bin/cura 53 - sed -i 's|#!/usr/bin/python|#!/usr/bin/env python|' $out/bin/cura 54 - wrapPythonPrograms 55 - 56 - # Make it find CuraEngine. 57 - echo "def getEngineFilename(): return '${curaengine}/bin/CuraEngine'" >> $site_packages/Cura/util/sliceEngine.py 58 - 59 - # Install desktop item. 60 - mkdir -p "$out"/share/applications 61 - cp "$desktopItem"/share/applications/* "$out"/share/applications/ 62 - mkdir -p "$out"/share/icons 63 - ln -s "$resources/images/c.png" "$out"/share/icons/cura.png 64 - ''; 65 - 66 - meta = with lib; { 67 - description = "3D printing host software"; 68 - homepage = "https://github.com/daid/Cura"; 69 - license = licenses.agpl3; 70 - platforms = platforms.linux; 71 - }; 72 - }
···
+7 -1
pkgs/applications/misc/haxor-news/default.nix
··· 16 }; 17 }); 18 # Use click 7 19 - click = self.callPackage ../../../development/python2-modules/click/default.nix { }; 20 }; 21 }; 22 in
··· 16 }; 17 }); 18 # Use click 7 19 + click = super.click.overridePythonAttrs (old: rec { 20 + version = "7.1.2"; 21 + src = old.src.override { 22 + inherit version; 23 + sha256 = "d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a"; 24 + }; 25 + }); 26 }; 27 }; 28 in
+1 -24
pkgs/applications/misc/plover/default.nix
··· 2 qtbase, mkDerivationWith }: 3 4 { 5 - stable = with python27Packages; buildPythonPackage rec { 6 - pname = "plover"; 7 - version = "3.1.1"; 8 - 9 - meta = with lib; { 10 - broken = stdenv.isDarwin; 11 - description = "OpenSteno Plover stenography software"; 12 - maintainers = with maintainers; [ twey kovirobi ]; 13 - license = licenses.gpl2; 14 - }; 15 - 16 - src = fetchFromGitHub { 17 - owner = "openstenoproject"; 18 - repo = "plover"; 19 - rev = "v${version}"; 20 - sha256 = "sha256-LIhTwHMphg+xTR9NKvjAZ6p0mmqPNcZd9C4cgnenmYQ="; 21 - }; 22 - 23 - nativeBuildInputs = [ setuptools-scm ]; 24 - buildInputs = [ pytest mock ]; 25 - propagatedBuildInputs = [ 26 - six setuptools pyserial appdirs hidapi wxPython xlib wmctrl dbus-python 27 - ]; 28 - }; 29 30 dev = with python3Packages; mkDerivationWith buildPythonPackage rec { 31 pname = "plover";
··· 2 qtbase, mkDerivationWith }: 3 4 { 5 + stable = throw "plover.stable was removed because it used Python 2. Use plover.dev instead."; # added 2022-06-05 6 7 dev = with python3Packages; mkDerivationWith buildPythonPackage rec { 8 pname = "plover";
+16 -4
pkgs/applications/misc/privacyidea/default.nix
··· 65 sha256 = "sha256-WUxngH+xYjizDES99082wCzfItHIzake+KDtjav1Ygo="; 66 }; 67 }); 68 - # Required by flask-babel 69 itsdangerous = super.itsdangerous.overridePythonAttrs (old: rec { 70 - version = "2.0.1"; 71 src = old.src.override { 72 inherit version; 73 - sha256 = "sha256-nnJNaPwikCoUNTUfhMP7hiPzA//8xWaky5Ut+MVyz/A="; 74 }; 75 }); 76 - flask = self.callPackage ../../../development/python2-modules/flask { }; 77 sqlsoup = super.sqlsoup.overrideAttrs ({ meta ? {}, ... }: { 78 meta = meta // { broken = false; }; 79 }); 80 }; 81 };
··· 65 sha256 = "sha256-WUxngH+xYjizDES99082wCzfItHIzake+KDtjav1Ygo="; 66 }; 67 }); 68 itsdangerous = super.itsdangerous.overridePythonAttrs (old: rec { 69 + version = "1.1.0"; 70 src = old.src.override { 71 inherit version; 72 + sha256 = "321b033d07f2a4136d3ec762eac9f16a10ccd60f53c0c91af90217ace7ba1f19"; 73 }; 74 }); 75 + flask = super.flask.overridePythonAttrs (old: rec { 76 + version = "1.1.4"; 77 + src = old.src.override { 78 + inherit version; 79 + sha256 = "0fbeb6180d383a9186d0d6ed954e0042ad9f18e0e8de088b2b419d526927d196"; 80 + }; 81 + }); 82 sqlsoup = super.sqlsoup.overrideAttrs ({ meta ? {}, ... }: { 83 meta = meta // { broken = false; }; 84 + }); 85 + click = super.click.overridePythonAttrs (old: rec { 86 + version = "7.1.2"; 87 + src = old.src.override { 88 + inherit version; 89 + sha256 = "d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a"; 90 + }; 91 }); 92 }; 93 };
-60
pkgs/applications/networking/instant-messengers/salut-a-toi/default.nix
··· 1 - { lib, stdenv, fetchurl, python27Packages, file }: 2 - 3 - let 4 - inherit (python27Packages) python; 5 - requirements = (import ./requirements.nix { 6 - inherit lib fetchurl; 7 - pythonPackages = python27Packages; 8 - }); 9 - 10 - in 11 - stdenv.mkDerivation rec { 12 - pname = "salut-a-toi"; 13 - version = "0.6.1"; 14 - 15 - src = fetchurl { 16 - url = "ftp://ftp.goffi.org/sat/sat-${version}.tar.bz2"; 17 - sha256 = "0kn9403n8fpzl0hsb9kkzicsmzq2fjl627l31yykbqzc4nsr780d"; 18 - }; 19 - 20 - buildInputs = with python27Packages; 21 - [ 22 - python twisted urwid wxPython pygobject2 23 - dbus-python wrapPython setuptools file 24 - pycrypto pyxdg 25 - ] ++ (with requirements; [ 26 - pyfeed 27 - wokkel 28 - ]); 29 - 30 - configurePhase = '' 31 - sed -i "/use_setuptools/d" setup.py 32 - sed -e "s@sys.prefix@'$out'@g" -i setup.py 33 - sed -e "1aexport PATH=\"\$PATH\":\"$out/bin\":\"${python27Packages.twisted}/bin\"" -i src/sat.sh 34 - sed -e "1aexport PYTHONPATH=\"\$PYTHONPATHPATH\":\"$PYTHONPATH\":"$out/${python.sitePackages}"" -i src/sat.sh 35 - 36 - echo 'import wokkel.muc' | python 37 - ''; 38 - 39 - buildPhase = '' 40 - ${python.interpreter} setup.py build 41 - ''; 42 - 43 - installPhase = '' 44 - ${python.interpreter} setup.py install --prefix="$out" 45 - 46 - for i in "$out/bin"/*; do 47 - head -n 1 "$i" | grep -E '[/ ]python( |$)' && { 48 - wrapProgram "$i" --prefix PYTHONPATH : "$PYTHONPATH:$out/${python.sitePackages}" 49 - } || true 50 - done 51 - ''; 52 - 53 - meta = with lib; { 54 - homepage = "http://sat.goffi.org/"; 55 - description = "A multi-frontend XMPP client"; 56 - platforms = platforms.linux; 57 - maintainers = [ maintainers.raskin ]; 58 - license = licenses.gpl3Plus; 59 - }; 60 - }
···
-67
pkgs/applications/networking/instant-messengers/salut-a-toi/requirements.nix
··· 1 - { fetchurl 2 - , lib 3 - , pythonPackages 4 - }: 5 - 6 - let 7 - buildPythonPackage = pythonPackages.buildPythonPackage; 8 - 9 - xe = buildPythonPackage rec { 10 - url = "http://www.blarg.net/%7Esteveha/xe-0.7.4.tar.gz"; 11 - name = lib.nameFromURL url ".tar"; 12 - src = fetchurl { 13 - inherit url; 14 - sha256 = "0v9878cl0y9cczdsr6xjy8v9l139lc23h4m5f86p4kpf2wlnpi42"; 15 - }; 16 - 17 - # error: invalid command 'test' 18 - doCheck = false; 19 - 20 - meta = { 21 - homepage = "http://home.blarg.net/~steveha/xe.html"; 22 - description = "XML elements"; 23 - }; 24 - }; 25 - 26 - in { 27 - 28 - pyfeed = (buildPythonPackage rec { 29 - url = "http://www.blarg.net/%7Esteveha/pyfeed-0.7.4.tar.gz"; 30 - 31 - name = lib.nameFromURL url ".tar"; 32 - 33 - src = fetchurl { 34 - inherit url; 35 - sha256 = "1h4msq573m7wm46h3cqlx4rsn99f0l11rhdqgf50lv17j8a8vvy1"; 36 - }; 37 - 38 - propagatedBuildInputs = [ xe ]; 39 - 40 - # error: invalid command 'test' 41 - doCheck = false; 42 - 43 - meta = with lib; { 44 - homepage = "http://home.blarg.net/~steveha/pyfeed.html"; 45 - description = "Tools for syndication feeds"; 46 - }; 47 - 48 - }); 49 - 50 - wokkel = buildPythonPackage (rec { 51 - url = "http://wokkel.ik.nu/releases/0.7.0/wokkel-0.7.0.tar.gz"; 52 - name = lib.nameFromURL url ".tar"; 53 - src = fetchurl { 54 - inherit url; 55 - sha256 = "0rnshrzw8605x05mpd8ndrx3ri8h6cx713mp8sl4f04f4gcrz8ml"; 56 - }; 57 - 58 - propagatedBuildInputs = with pythonPackages; [twisted python-dateutil]; 59 - 60 - meta = with lib; { 61 - description = "Some (mainly XMPP-related) additions to twisted"; 62 - homepage = "http://wokkel.ik.nu/"; 63 - license = licenses.mit; 64 - }; 65 - }); 66 - 67 - }
···
-40
pkgs/applications/networking/instant-messengers/torchat/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, python2, unzip, tor }: 2 - 3 - stdenv.mkDerivation rec { 4 - pname = "torchat"; 5 - version = "0.9.9.553"; 6 - 7 - src = fetchFromGitHub { 8 - owner = "prof7bit"; 9 - repo = "TorChat"; 10 - rev = version; 11 - sha256 = "2LHG9qxZDo5rV6wsputdRo2Y1aHs+irMwt1ucFnXQE0="; 12 - }; 13 - 14 - nativeBuildInputs = [ unzip ]; 15 - buildInputs = with python2.pkgs; [ python wxPython wrapPython ]; 16 - pythonPath = with python2.pkgs; [ wxPython ]; 17 - 18 - preConfigure = "cd torchat/src; rm portable.txt"; 19 - 20 - installPhase = '' 21 - substituteInPlace "Tor/tor.sh" --replace "tor -f" "${tor}/bin/tor -f" 22 - 23 - wrapPythonPrograms 24 - 25 - mkdir -p $out/lib/torchat 26 - cp -rf * $out/lib/torchat 27 - makeWrapper ${python2}/bin/python $out/bin/torchat \ 28 - --set PYTHONPATH $out/lib/torchat:$program_PYTHONPATH \ 29 - --chdir "$out/lib/torchat" \ 30 - --add-flags "-O $out/lib/torchat/torchat.py" 31 - ''; 32 - 33 - meta = with lib; { 34 - homepage = "https://github.com/prof7bit/TorChat"; 35 - description = "Instant messaging application on top of the Tor network and it's location hidden services"; 36 - license = licenses.gpl3; 37 - maintainers = [ ]; 38 - platforms = platforms.unix; 39 - }; 40 - }
···
-28
pkgs/development/python2-modules/click/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, locale, pytestCheckHook }: 2 - 3 - buildPythonPackage rec { 4 - pname = "click"; 5 - version = "7.1.2"; 6 - 7 - src = fetchPypi { 8 - inherit pname version; 9 - sha256 = "d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a"; 10 - }; 11 - 12 - postPatch = '' 13 - substituteInPlace src/click/_unicodefun.py \ 14 - --replace "'locale'" "'${locale}/bin/locale'" 15 - ''; 16 - 17 - checkInputs = [ pytestCheckHook ]; 18 - 19 - meta = with lib; { 20 - homepage = "https://click.palletsprojects.com/"; 21 - description = "Create beautiful command line interfaces in Python"; 22 - longDescription = '' 23 - A Python package for creating beautiful command line interfaces in a 24 - composable way, with as little code as necessary. 25 - ''; 26 - license = licenses.bsd3; 27 - }; 28 - }
···
-86
pkgs/development/python2-modules/cryptography/default.nix
··· 1 - { lib 2 - , stdenv 3 - , callPackage 4 - , buildPythonPackage 5 - , fetchPypi 6 - , isPy27 7 - , ipaddress 8 - , openssl 9 - , darwin 10 - , packaging 11 - , six 12 - , isPyPy 13 - , cffi 14 - , pytest 15 - , pretend 16 - , iso8601 17 - , pytz 18 - , hypothesis 19 - , enum34 20 - }: 21 - 22 - let 23 - cryptography-vectors = callPackage ./vectors.nix { }; 24 - in 25 - buildPythonPackage rec { 26 - pname = "cryptography"; 27 - version = "3.3.2"; # Also update the hash in vectors-3.3.nix 28 - 29 - src = fetchPypi { 30 - inherit pname version; 31 - sha256 = "1vcvw4lkw1spiq322pm1256kail8nck6bbgpdxx3pqa905wd6q2s"; 32 - }; 33 - 34 - patches = [ ./cryptography-py27-warning.patch ]; 35 - 36 - outputs = [ "out" "dev" ]; 37 - 38 - nativeBuildInputs = lib.optionals (!isPyPy) [ 39 - cffi 40 - ]; 41 - 42 - buildInputs = [ openssl ] 43 - ++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security; 44 - propagatedBuildInputs = [ 45 - packaging 46 - six 47 - ] ++ lib.optionals (!isPyPy) [ 48 - cffi 49 - ] ++ lib.optionals isPy27 [ 50 - ipaddress 51 - enum34 52 - ]; 53 - 54 - checkInputs = [ 55 - cryptography-vectors 56 - hypothesis 57 - iso8601 58 - pretend 59 - pytest 60 - pytz 61 - ]; 62 - 63 - checkPhase = '' 64 - py.test --disable-pytest-warnings tests 65 - ''; 66 - 67 - # IOKit's dependencies are inconsistent between OSX versions, so this is the best we 68 - # can do until nix 1.11's release 69 - __impureHostDeps = [ "/usr/lib" ]; 70 - 71 - meta = with lib; { 72 - description = "A package which provides cryptographic recipes and primitives"; 73 - longDescription = '' 74 - Cryptography includes both high level recipes and low level interfaces to 75 - common cryptographic algorithms such as symmetric ciphers, message 76 - digests, and key derivation functions. 77 - Our goal is for it to be your "cryptographic standard library". It 78 - supports Python 2.7, Python 3.5+, and PyPy 5.4+. 79 - ''; 80 - homepage = "https://github.com/pyca/cryptography"; 81 - changelog = "https://cryptography.io/en/latest/changelog/#v" 82 - + replaceStrings [ "." ] [ "-" ] version; 83 - license = with licenses; [ asl20 bsd3 psfl ]; 84 - maintainers = with maintainers; [ primeos ]; 85 - }; 86 - }
···
-24
pkgs/development/python2-modules/cryptography/vectors.nix
··· 1 - { buildPythonPackage, fetchPypi, lib, cryptography }: 2 - 3 - buildPythonPackage rec { 4 - pname = "cryptography-vectors"; 5 - # The test vectors must have the same version as the cryptography package: 6 - version = cryptography.version; 7 - 8 - src = fetchPypi { 9 - pname = "cryptography_vectors"; 10 - inherit version; 11 - sha256 = "1yhaps0f3h2yjb6lmz953z1l1d84y9swk4k3gj9nqyk4vbx5m7cc"; 12 - }; 13 - 14 - # No tests included 15 - doCheck = false; 16 - 17 - meta = with lib; { 18 - description = "Test vectors for the cryptography package"; 19 - homepage = "https://cryptography.io/en/latest/development/test-vectors/"; 20 - # Source: https://github.com/pyca/cryptography/tree/master/vectors; 21 - license = with licenses; [ asl20 bsd3 ]; 22 - maintainers = with maintainers; [ primeos ]; 23 - }; 24 - }
···
-21
pkgs/development/python2-modules/decorator/default.nix
··· 1 - { lib 2 - , buildPythonPackage 3 - , fetchPypi 4 - }: 5 - 6 - buildPythonPackage rec { 7 - pname = "decorator"; 8 - version = "4.4.2"; 9 - 10 - src = fetchPypi { 11 - inherit pname version; 12 - sha256 = "1rxzhk5zwiggk45hl53zydvy70lk654kg0nc1p54090p402jz9p3"; 13 - }; 14 - 15 - meta = with lib; { 16 - homepage = "https://pypi.python.org/pypi/decorator"; 17 - description = "Better living through Python with decorators"; 18 - license = lib.licenses.mit; 19 - maintainers = [ maintainers.costrouc ]; 20 - }; 21 - }
···
-28
pkgs/development/python2-modules/flask/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi 2 - , itsdangerous, click, werkzeug, jinja2, pytest }: 3 - 4 - buildPythonPackage rec { 5 - version = "1.1.2"; 6 - pname = "Flask"; 7 - 8 - src = fetchPypi { 9 - inherit pname version; 10 - sha256 = "4efa1ae2d7c9865af48986de8aeb8504bf32c7f3d6fdc9353d34b21f4b127060"; 11 - }; 12 - 13 - checkInputs = [ pytest ]; 14 - propagatedBuildInputs = [ itsdangerous click werkzeug jinja2 ]; 15 - 16 - checkPhase = '' 17 - py.test 18 - ''; 19 - 20 - # Tests require extra dependencies 21 - doCheck = false; 22 - 23 - meta = with lib; { 24 - homepage = "http://flask.pocoo.org/"; 25 - description = "A microframework based on Werkzeug, Jinja 2, and good intentions"; 26 - license = licenses.bsd3; 27 - }; 28 - }
···
-29
pkgs/development/python2-modules/freezegun/default.nix
··· 1 - { lib 2 - , buildPythonPackage 3 - , fetchPypi 4 - , python-dateutil 5 - , six 6 - , mock 7 - , nose 8 - , pytest 9 - }: 10 - 11 - buildPythonPackage rec { 12 - pname = "freezegun"; 13 - version = "0.3.15"; 14 - 15 - src = fetchPypi { 16 - inherit pname version; 17 - sha256 = "e2062f2c7f95cc276a834c22f1a17179467176b624cc6f936e8bc3be5535ad1b"; 18 - }; 19 - 20 - propagatedBuildInputs = [ python-dateutil six ]; 21 - checkInputs = [ mock nose pytest ]; 22 - 23 - meta = with lib; { 24 - description = "FreezeGun: Let your Python tests travel through time"; 25 - homepage = "https://github.com/spulec/freezegun"; 26 - license = licenses.asl20; 27 - }; 28 - 29 - }
···
-23
pkgs/development/python2-modules/ipaddr/default.nix
··· 1 - { lib 2 - , buildPythonPackage 3 - , fetchPypi 4 - , isPy3k 5 - }: 6 - 7 - buildPythonPackage rec { 8 - pname = "ipaddr"; 9 - version = "2.2.0"; 10 - disabled = isPy3k; 11 - 12 - src = fetchPypi { 13 - inherit pname version; 14 - sha256 = "1ml8r8z3f0mnn381qs1snbffa920i9ycp6mm2am1d3aqczkdz4j0"; 15 - }; 16 - 17 - meta = with lib; { 18 - description = "Google's IP address manipulation library"; 19 - homepage = "https://github.com/google/ipaddr-py"; 20 - license = licenses.asl20; 21 - }; 22 - 23 - }
···
-21
pkgs/development/python2-modules/itsdangerous/default.nix
··· 1 - { lib 2 - , buildPythonPackage 3 - , fetchPypi 4 - }: 5 - 6 - buildPythonPackage rec { 7 - pname = "itsdangerous"; 8 - version = "1.1.0"; 9 - 10 - src = fetchPypi { 11 - inherit pname version; 12 - sha256 = "321b033d07f2a4136d3ec762eac9f16a10ccd60f53c0c91af90217ace7ba1f19"; 13 - }; 14 - 15 - meta = with lib; { 16 - description = "Helpers to pass trusted data to untrusted environments and back"; 17 - homepage = "https://pypi.python.org/pypi/itsdangerous/"; 18 - license = licenses.bsd0; 19 - }; 20 - 21 - }
···
-39
pkgs/development/python2-modules/libcloud/default.nix
··· 1 - { lib 2 - , buildPythonPackage 3 - , fetchPypi 4 - , isPy27 5 - , mock 6 - , pycrypto 7 - , requests 8 - , pytest-runner 9 - , pytest 10 - , requests-mock 11 - , typing 12 - , backports_ssl_match_hostname 13 - }: 14 - 15 - buildPythonPackage rec { 16 - pname = "apache-libcloud"; 17 - version = "2.8.3"; 18 - 19 - src = fetchPypi { 20 - inherit pname version; 21 - sha256 = "70096690b24a7832cc5abdfda1954b49fddc1c09a348a1e6caa781ac867ed4c6"; 22 - }; 23 - 24 - checkInputs = [ mock pytest pytest-runner requests-mock ]; 25 - propagatedBuildInputs = [ pycrypto requests ] 26 - ++ lib.optionals isPy27 [ typing backports_ssl_match_hostname ]; 27 - 28 - preConfigure = "cp libcloud/test/secrets.py-dist libcloud/test/secrets.py"; 29 - 30 - # requires a certificates file 31 - doCheck = false; 32 - 33 - meta = with lib; { 34 - description = "A unified interface to many cloud providers"; 35 - homepage = "https://libcloud.apache.org/"; 36 - license = licenses.asl20; 37 - }; 38 - 39 - }
···
-31
pkgs/development/python2-modules/lpod/default.nix
··· 1 - { lib 2 - , buildPythonPackage 3 - , fetchFromGitHub 4 - , lxml 5 - , docutils 6 - , pillow 7 - , isPy3k 8 - }: 9 - 10 - buildPythonPackage { 11 - version = "1.1.7"; 12 - pname = "python-lpod"; 13 - # lpod library currently does not support Python 3.x 14 - disabled = isPy3k; 15 - 16 - propagatedBuildInputs = [ lxml docutils pillow ]; 17 - 18 - src = fetchFromGitHub { 19 - owner = "lpod"; 20 - repo = "lpod-python"; 21 - rev = "dee32120ee582ff337b0c52a95a9a87cca71fd67"; 22 - sha256 = "1mikvzp27wxkzpr2lii4wg1hhx8h610agckqynvsrdc8v3nw9ciw"; 23 - }; 24 - 25 - meta = with lib; { 26 - homepage = "https://github.com/lpod/lpod-python/"; 27 - description = "Library implementing the ISO/IEC 26300 OpenDocument Format standard (ODF) "; 28 - license = licenses.gpl3; 29 - }; 30 - 31 - }
···
-47
pkgs/development/python2-modules/pyjwt/default.nix
··· 1 - { lib 2 - , buildPythonPackage 3 - , fetchPypi 4 - , cryptography 5 - , ecdsa 6 - , pytestCheckHook 7 - , pythonOlder 8 - }: 9 - 10 - buildPythonPackage rec { 11 - pname = "pyjwt"; 12 - version = "1.7.1"; 13 - 14 - src = fetchPypi { 15 - pname = "PyJWT"; 16 - inherit version; 17 - sha256 = "8d59a976fb773f3e6a39c85636357c4f0e242707394cadadd9814f5cbaa20e96"; 18 - }; 19 - 20 - postPatch = '' 21 - sed -i '/^addopts/d' setup.cfg 22 - ''; 23 - 24 - propagatedBuildInputs = [ 25 - cryptography 26 - ecdsa 27 - ]; 28 - 29 - checkInputs = [ 30 - pytestCheckHook 31 - ]; 32 - 33 - disabledTests = [ 34 - "test_ec_verify_should_return_false_if_signature_invalid" 35 - ]; 36 - 37 - pythonImportsCheck = [ "jwt" ]; 38 - 39 - meta = with lib; { 40 - description = "JSON Web Token implementation in Python"; 41 - homepage = "https://github.com/jpadilla/pyjwt"; 42 - license = licenses.mit; 43 - knownVulnerabilities = [ 44 - "CVE-2022-29217" 45 - ]; 46 - }; 47 - }
···
-84
pkgs/development/python2-modules/urllib3/default.nix
··· 1 - { lib 2 - , brotli 3 - , buildPythonPackage 4 - , certifi 5 - , cryptography 6 - , python-dateutil 7 - , fetchpatch 8 - , fetchPypi 9 - , idna 10 - , mock 11 - , pyopenssl 12 - , pysocks 13 - , pytest-freezegun 14 - , pytest-timeout 15 - , pytestCheckHook 16 - , tornado 17 - , trustme 18 - }: 19 - 20 - buildPythonPackage rec { 21 - pname = "urllib3"; 22 - version = "1.26.2"; 23 - 24 - src = fetchPypi { 25 - inherit pname version; 26 - sha256 = "19188f96923873c92ccb987120ec4acaa12f0461fa9ce5d3d0772bc965a39e08"; 27 - }; 28 - 29 - patches = [ 30 - (fetchpatch { 31 - name = "CVE-2021-28363.patch"; 32 - url = "https://github.com/urllib3/urllib3/commit/8d65ea1ecf6e2cdc27d42124e587c1b83a3118b0.patch"; 33 - sha256 = "1lqhrd11p03iv14bp89rh67ynf000swmwsfvr3jpfdycdqr3ka9q"; 34 - }) 35 - ]; 36 - 37 - propagatedBuildInputs = [ 38 - brotli 39 - certifi 40 - cryptography 41 - idna 42 - pyopenssl 43 - pysocks 44 - ]; 45 - 46 - checkInputs = [ 47 - python-dateutil 48 - mock 49 - pytest-freezegun 50 - pytest-timeout 51 - pytestCheckHook 52 - tornado 53 - trustme 54 - ]; 55 - 56 - # Tests in urllib3 are mostly timeout-based instead of event-based and 57 - # are therefore inherently flaky. On your own machine, the tests will 58 - # typically build fine, but on a loaded cluster such as Hydra random 59 - # timeouts will occur. 60 - # 61 - # The urllib3 test suite has two different timeouts in their test suite 62 - # (see `test/__init__.py`): 63 - # - SHORT_TIMEOUT 64 - # - LONG_TIMEOUT 65 - # When CI is in the env, LONG_TIMEOUT will be significantly increased. 66 - # Still, failures can occur and for that reason tests are disabled. 67 - doCheck = false; 68 - 69 - preCheck = '' 70 - export CI # Increases LONG_TIMEOUT 71 - ''; 72 - 73 - pythonImportsCheck = [ "urllib3" ]; 74 - 75 - meta = with lib; { 76 - description = "Powerful, sanity-friendly HTTP client for Python"; 77 - homepage = "https://github.com/shazow/urllib3"; 78 - license = licenses.mit; 79 - maintainers = with maintainers; [ fab ]; 80 - knownVulnerabilities = [ 81 - "CVE-2021-33503" 82 - ]; 83 - }; 84 - }
···
-48
pkgs/development/python2-modules/vcrpy/default.nix
··· 1 - { buildPythonPackage 2 - , lib 3 - , six 4 - , fetchPypi 5 - , pyyaml 6 - , mock 7 - , contextlib2 8 - , wrapt 9 - , pytest 10 - , pytest-httpbin 11 - , yarl 12 - , pythonOlder 13 - , pythonAtLeast 14 - }: 15 - 16 - buildPythonPackage rec { 17 - pname = "vcrpy"; 18 - version = "3.0.0"; 19 - 20 - src = fetchPypi { 21 - inherit pname version; 22 - sha256 = "21168d5ae14263a833d4b71acfd8278d8841114f24be1b4ab4a5719d0c7f07bc"; 23 - }; 24 - 25 - checkInputs = [ 26 - pytest 27 - pytest-httpbin 28 - ]; 29 - 30 - propagatedBuildInputs = [ 31 - pyyaml 32 - wrapt 33 - six 34 - ] 35 - ++ lib.optionals (pythonOlder "3.3") [ contextlib2 mock ] 36 - ++ lib.optionals (pythonAtLeast "3.4") [ yarl ]; 37 - 38 - checkPhase = '' 39 - py.test --ignore=tests/integration -k "not TestVCRConnection" 40 - ''; 41 - 42 - meta = with lib; { 43 - description = "Automatically mock your HTTP interactions to simplify and speed up testing"; 44 - homepage = "https://github.com/kevin1024/vcrpy"; 45 - license = licenses.mit; 46 - }; 47 - } 48 -
···
-60
pkgs/development/python2-modules/werkzeug/default.nix
··· 1 - { lib, stdenv, buildPythonPackage, fetchPypi 2 - , itsdangerous, hypothesis 3 - , pytestCheckHook, requests 4 - , pytest-timeout 5 - }: 6 - 7 - buildPythonPackage rec { 8 - pname = "Werkzeug"; 9 - version = "1.0.1"; 10 - 11 - src = fetchPypi { 12 - inherit pname version; 13 - sha256 = "6c80b1e5ad3665290ea39320b91e1be1e0d5f60652b964a3070216de83d2e47c"; 14 - }; 15 - 16 - propagatedBuildInputs = [ itsdangerous ]; 17 - checkInputs = [ pytestCheckHook requests hypothesis pytest-timeout ]; 18 - 19 - postPatch = '' 20 - # ResourceWarning causes tests to fail 21 - rm tests/test_routing.py 22 - ''; 23 - 24 - disabledTests = [ 25 - "test_save_to_pathlib_dst" 26 - "test_cookie_maxsize" 27 - "test_cookie_samesite_attribute" 28 - "test_cookie_samesite_invalid" 29 - "test_range_parsing" 30 - "test_content_range_parsing" 31 - "test_http_date_lt_1000" 32 - "test_best_match_works" 33 - "test_date_to_unix" 34 - "test_easteregg" 35 - 36 - # Seems to be a problematic test-case: 37 - # 38 - # > warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) 39 - # E pytest.PytestUnraisableExceptionWarning: Exception ignored in: <_io.FileIO [closed]> 40 - # E 41 - # E Traceback (most recent call last): 42 - # E File "/nix/store/cwv8aj4vsqvimzljw5dxsxy663vjgibj-python3.9-Werkzeug-1.0.1/lib/python3.9/site-packages/werkzeug/formparser.py", line 318, in parse_multipart_headers 43 - # E return Headers(result) 44 - # E ResourceWarning: unclosed file <_io.FileIO name=11 mode='rb+' closefd=True> 45 - "test_basic_routing" 46 - "test_merge_slashes_match" 47 - "test_merge_slashes_build" 48 - "TestMultiPart" 49 - "TestHTTPUtility" 50 - ] ++ lib.optionals stdenv.isDarwin [ 51 - "test_get_machine_id" 52 - ]; 53 - 54 - meta = with lib; { 55 - homepage = "https://palletsprojects.com/p/werkzeug/"; 56 - description = "A WSGI utility library for Python"; 57 - license = licenses.bsd3; 58 - maintainers = [ ]; 59 - }; 60 - }
···
-25
pkgs/development/python2-modules/wsproto/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, h11, enum34, pytest }: 2 - 3 - buildPythonPackage rec { 4 - pname = "wsproto"; 5 - version = "0.14.1"; 6 - 7 - src = fetchPypi { 8 - inherit pname version; 9 - sha256 = "051s127qb5dladxa14n9nqajwq7xki1dz1was5r5v9df5a0jq8pd"; 10 - }; 11 - 12 - propagatedBuildInputs = [ h11 enum34 ]; 13 - 14 - checkInputs = [ pytest ]; 15 - 16 - checkPhase = '' 17 - py.test 18 - ''; 19 - 20 - meta = with lib; { 21 - description = "Pure Python, pure state-machine WebSocket implementation"; 22 - homepage = "https://github.com/python-hyper/wsproto/"; 23 - license = licenses.mit; 24 - }; 25 - }
···
-91
pkgs/development/python2-modules/wxPython/default.nix
··· 1 - { fetchurl 2 - , lib 3 - , stdenv 4 - , darwin 5 - , openglSupport ? true 6 - , libX11 7 - , wxGTK 8 - , wxmac 9 - , pkg-config 10 - , buildPythonPackage 11 - , pyopengl 12 - , isPy3k 13 - , isPyPy 14 - , python 15 - , cairo 16 - , pango 17 - }: 18 - 19 - assert wxGTK.unicode; 20 - 21 - buildPythonPackage rec { 22 - pname = "wxPython"; 23 - version = "3.0.2.0"; 24 - 25 - disabled = isPy3k || isPyPy; 26 - doCheck = false; 27 - 28 - src = fetchurl { 29 - url = "mirror://sourceforge/wxpython/wxPython-src-${version}.tar.bz2"; 30 - sha256 = "0qfzx3sqx4mwxv99sfybhsij4b5pc03ricl73h4vhkzazgjjjhfm"; 31 - }; 32 - 33 - dontUseSetuptoolsBuild = true; 34 - dontUsePipInstall = true; 35 - 36 - hardeningDisable = [ "format" ]; 37 - 38 - nativeBuildInputs = [ pkg-config ] 39 - ++ (lib.optionals (!stdenv.isDarwin) [ wxGTK libX11 ]) 40 - ++ (lib.optionals stdenv.isDarwin [ wxmac ]); 41 - 42 - buildInputs = [ ] 43 - ++ (lib.optionals (!stdenv.isDarwin) [ (wxGTK.gtk) ]) 44 - ++ (lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ 45 - ApplicationServices 46 - AudioToolbox 47 - CFNetwork 48 - Carbon 49 - Cocoa 50 - CoreGraphics 51 - CoreServices 52 - CoreText 53 - DiskArbitration 54 - IOKit 55 - ImageIO 56 - OpenGL 57 - Security 58 - ])) 59 - ++ (lib.optional openglSupport pyopengl); 60 - 61 - preConfigure = '' 62 - cd wxPython 63 - # remove wxPython's darwin hack that interference with python-2.7-distutils-C++.patch 64 - substituteInPlace config.py \ 65 - --replace "distutils.unixccompiler.UnixCCompiler = MyUnixCCompiler" "" 66 - # set the WXPREFIX to $out instead of the storepath of wxwidgets 67 - substituteInPlace config.py \ 68 - --replace "WXPREFIX = getWxConfigValue('--prefix')" "WXPREFIX = '$out'" 69 - # this check is supposed to only return false on older systems running non-framework python 70 - substituteInPlace src/osx_cocoa/_core_wrap.cpp \ 71 - --replace "return wxPyTestDisplayAvailable();" "return true;" 72 - '' + lib.optionalString (!stdenv.isDarwin) '' 73 - substituteInPlace wx/lib/wxcairo.py \ 74 - --replace 'cairoLib = None' 'cairoLib = ctypes.CDLL("${cairo}/lib/libcairo.so")' 75 - substituteInPlace wx/lib/wxcairo.py \ 76 - --replace '_dlls = dict()' '_dlls = {k: ctypes.CDLL(v) for k, v in [ 77 - ("gdk", "${wxGTK.gtk}/lib/libgtk-x11-2.0.so"), 78 - ("pangocairo", "${pango.out}/lib/libpangocairo-1.0.so"), 79 - ("appsvc", None) 80 - ]}' 81 - ''; 82 - 83 - buildPhase = ""; 84 - 85 - installPhase = '' 86 - ${python.interpreter} setup.py install WXPORT=${if stdenv.isDarwin then "osx_cocoa" else "gtk2"} NO_HEADERS=0 BUILD_GLCANVAS=${if openglSupport then "1" else "0"} UNICODE=1 --prefix=$out 87 - wrapPythonPrograms 88 - ''; 89 - 90 - passthru = { inherit wxGTK openglSupport; }; 91 - }
···
+7 -1
pkgs/tools/misc/csvs-to-sqlite/default.nix
··· 8 python = python3.override { 9 packageOverrides = self: super: { 10 # Use click 7 11 - click = self.callPackage ../../../development/python2-modules/click/default.nix { }; 12 }; 13 }; 14 in with python.pkgs; buildPythonApplication rec {
··· 8 python = python3.override { 9 packageOverrides = self: super: { 10 # Use click 7 11 + click = super.click.overridePythonAttrs (old: rec { 12 + version = "7.1.2"; 13 + src = old.src.override { 14 + inherit version; 15 + sha256 = "d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a"; 16 + }; 17 + }); 18 }; 19 }; 20 in with python.pkgs; buildPythonApplication rec {
+3
pkgs/top-level/aliases.nix
··· 267 cudnn_cudatoolkit_9_0 = throw "cudnn_cudatoolkit_9_0 has been removed in favor of newer versions"; # Added 2021-04-18 268 cudnn_cudatoolkit_9_1 = throw "cudnn_cudatoolkit_9_1 has been removed in favor of newer versions"; # Added 2021-04-18 269 cudnn_cudatoolkit_9_2 = throw "cudnn_cudatoolkit_9_2 has been removed in favor of newer versions"; # Added 2021-04-18 270 curl_unix_socket = throw "curl_unix_socket has been dropped due to the lack of maintanence from upstream since 2015"; # Added 2022-06-02 271 cutensor = throw "cutensor is now part of cudaPackages*"; # Added 2022-04-04 272 cutensor_cudatoolkit_10 = throw "cutensor* is now part of cudaPackages*"; # Added 2022-04-04 ··· 1226 s6Networking = throw "'s6Networking' has been renamed to/replaced by 's6-networking'"; # Converted to throw 2022-02-22 1227 s6PortableUtils = throw "'s6PortableUtils' has been renamed to/replaced by 's6-portable-utils'"; # Converted to throw 2022-02-22 1228 sagemath = throw "'sagemath' has been renamed to/replaced by 'sage'"; # Converted to throw 2022-02-22 1229 sam = throw "'sam' has been renamed to/replaced by 'deadpixi-sam'"; # Converted to throw 2022-02-22 1230 samsungUnifiedLinuxDriver = throw "'samsungUnifiedLinuxDriver' has been renamed to/replaced by 'samsung-unified-linux-driver'"; # Converted to throw 2022-02-22 1231 sane-backends-git = sane-backends; # Added 2021-02-19 ··· 1588 todolist = throw "todolist is now ultralist"; # Added 2020-12-27 1589 tor-browser-bundle = throw "tor-browser-bundle was removed because it was out of date and inadequately maintained. Please use tor-browser-bundle-bin instead"; # Added 2020-01-10 1590 tor-browser-unwrapped = throw "tor-browser-unwrapped was removed because it was out of date and inadequately maintained. Please use tor-browser-bundle-bin instead"; # Added 2020-01-10 1591 ttyrec = ovh-ttyrec; # Added 2021-01-02 1592 zplugin = zinit; # Added 2021-01-30 1593
··· 267 cudnn_cudatoolkit_9_0 = throw "cudnn_cudatoolkit_9_0 has been removed in favor of newer versions"; # Added 2021-04-18 268 cudnn_cudatoolkit_9_1 = throw "cudnn_cudatoolkit_9_1 has been removed in favor of newer versions"; # Added 2021-04-18 269 cudnn_cudatoolkit_9_2 = throw "cudnn_cudatoolkit_9_2 has been removed in favor of newer versions"; # Added 2021-04-18 270 + cura_stable = throw "cura_stable was removed because it was broken and used Python 2"; # added 2022-06-05 271 curl_unix_socket = throw "curl_unix_socket has been dropped due to the lack of maintanence from upstream since 2015"; # Added 2022-06-02 272 cutensor = throw "cutensor is now part of cudaPackages*"; # Added 2022-04-04 273 cutensor_cudatoolkit_10 = throw "cutensor* is now part of cudaPackages*"; # Added 2022-04-04 ··· 1227 s6Networking = throw "'s6Networking' has been renamed to/replaced by 's6-networking'"; # Converted to throw 2022-02-22 1228 s6PortableUtils = throw "'s6PortableUtils' has been renamed to/replaced by 's6-portable-utils'"; # Converted to throw 2022-02-22 1229 sagemath = throw "'sagemath' has been renamed to/replaced by 'sage'"; # Converted to throw 2022-02-22 1230 + salut_a_toi = throw "salut_a_toi was removed because it was broken and used Python 2"; # added 2022-06-05 1231 sam = throw "'sam' has been renamed to/replaced by 'deadpixi-sam'"; # Converted to throw 2022-02-22 1232 samsungUnifiedLinuxDriver = throw "'samsungUnifiedLinuxDriver' has been renamed to/replaced by 'samsung-unified-linux-driver'"; # Converted to throw 2022-02-22 1233 sane-backends-git = sane-backends; # Added 2021-02-19 ··· 1590 todolist = throw "todolist is now ultralist"; # Added 2020-12-27 1591 tor-browser-bundle = throw "tor-browser-bundle was removed because it was out of date and inadequately maintained. Please use tor-browser-bundle-bin instead"; # Added 2020-01-10 1592 tor-browser-unwrapped = throw "tor-browser-unwrapped was removed because it was out of date and inadequately maintained. Please use tor-browser-bundle-bin instead"; # Added 2020-01-10 1593 + torchat = throw "torchat was removed because it was broken and requires Python 2"; # added 2022-06-05 1594 ttyrec = ovh-ttyrec; # Added 2021-01-02 1595 zplugin = zinit; # Added 2021-01-30 1596
-7
pkgs/top-level/all-packages.nix
··· 10104 10105 salt = callPackage ../tools/admin/salt {}; 10106 10107 - salut_a_toi = callPackage ../applications/networking/instant-messengers/salut-a-toi {}; 10108 - 10109 samim-fonts = callPackage ../data/fonts/samim-fonts {}; 10110 10111 saml2aws = callPackage ../tools/security/saml2aws { ··· 29653 }; 29654 29655 curaengine_stable = callPackage ../applications/misc/curaengine/stable.nix { }; 29656 - cura_stable = callPackage ../applications/misc/cura/stable.nix { 29657 - curaengine = curaengine_stable; 29658 - }; 29659 29660 curaengine = callPackage ../applications/misc/curaengine { inherit (python3.pkgs) libarcus; }; 29661 ··· 30072 todoman = callPackage ../applications/office/todoman { }; 30073 30074 topydo = callPackage ../applications/misc/topydo {}; 30075 - 30076 - torchat = callPackage ../applications/networking/instant-messengers/torchat { }; 30077 30078 torrential = callPackage ../applications/networking/p2p/torrential { }; 30079
··· 10104 10105 salt = callPackage ../tools/admin/salt {}; 10106 10107 samim-fonts = callPackage ../data/fonts/samim-fonts {}; 10108 10109 saml2aws = callPackage ../tools/security/saml2aws { ··· 29651 }; 29652 29653 curaengine_stable = callPackage ../applications/misc/curaengine/stable.nix { }; 29654 29655 curaengine = callPackage ../applications/misc/curaengine { inherit (python3.pkgs) libarcus; }; 29656 ··· 30067 todoman = callPackage ../applications/office/todoman { }; 30068 30069 topydo = callPackage ../applications/misc/topydo {}; 30070 30071 torrential = callPackage ../applications/networking/p2p/torrential { }; 30072
-34
pkgs/top-level/python2-packages.nix
··· 18 19 cheetah = callPackage ../development/python2-modules/cheetah { }; 20 21 - click = callPackage ../development/python2-modules/click { }; 22 - 23 configparser = callPackage ../development/python2-modules/configparser { }; 24 25 construct = callPackage ../development/python2-modules/construct { }; ··· 28 29 coverage = callPackage ../development/python2-modules/coverage { }; 30 31 - cryptography = callPackage ../development/python2-modules/cryptography { }; 32 - 33 - decorator = callPackage ../development/python2-modules/decorator { }; 34 - 35 enum = callPackage ../development/python2-modules/enum { }; 36 37 filelock = callPackage ../development/python2-modules/filelock { }; 38 39 - flask = callPackage ../development/python2-modules/flask { }; 40 - 41 - freezegun = callPackage ../development/python2-modules/freezegun { }; 42 - 43 futures = callPackage ../development/python2-modules/futures { }; 44 45 google-apputils = callPackage ../development/python2-modules/google-apputils { }; ··· 54 55 importlib-metadata = callPackage ../development/python2-modules/importlib-metadata { }; 56 57 - ipaddr = callPackage ../development/python2-modules/ipaddr { }; 58 - 59 - itsdangerous = callPackage ../development/python2-modules/itsdangerous { }; 60 - 61 jinja2 = callPackage ../development/python2-modules/jinja2 { }; 62 63 - libcloud = callPackage ../development/python2-modules/libcloud { }; 64 - 65 - lpod = callPackage ../development/python2-modules/lpod { }; 66 - 67 marisa = callPackage ../development/python2-modules/marisa { 68 inherit (pkgs) marisa; 69 }; ··· 109 }; 110 111 pygtk = callPackage ../development/python2-modules/pygtk { }; 112 - 113 - pyjwt = callPackage ../development/python2-modules/pyjwt { }; 114 115 pyparsing = callPackage ../development/python2-modules/pyparsing { }; 116 ··· 159 TurboCheetah = callPackage ../development/python2-modules/TurboCheetah { }; 160 161 typing = callPackage ../development/python2-modules/typing { }; 162 - 163 - urllib3 = callPackage ../development/python2-modules/urllib3 { }; 164 - 165 - werkzeug = callPackage ../development/python2-modules/werkzeug { }; 166 - 167 - wsproto = callPackage ../development/python2-modules/wsproto { }; 168 - 169 - wxPython30 = callPackage ../development/python2-modules/wxPython { 170 - wxGTK = pkgs.wxGTK30; 171 - }; 172 - 173 - wxPython = self.wxPython30; 174 - 175 - vcrpy = callPackage ../development/python2-modules/vcrpy { }; 176 177 zeek = disabled super.zeek; 178
··· 18 19 cheetah = callPackage ../development/python2-modules/cheetah { }; 20 21 configparser = callPackage ../development/python2-modules/configparser { }; 22 23 construct = callPackage ../development/python2-modules/construct { }; ··· 26 27 coverage = callPackage ../development/python2-modules/coverage { }; 28 29 enum = callPackage ../development/python2-modules/enum { }; 30 31 filelock = callPackage ../development/python2-modules/filelock { }; 32 33 futures = callPackage ../development/python2-modules/futures { }; 34 35 google-apputils = callPackage ../development/python2-modules/google-apputils { }; ··· 44 45 importlib-metadata = callPackage ../development/python2-modules/importlib-metadata { }; 46 47 jinja2 = callPackage ../development/python2-modules/jinja2 { }; 48 49 marisa = callPackage ../development/python2-modules/marisa { 50 inherit (pkgs) marisa; 51 }; ··· 91 }; 92 93 pygtk = callPackage ../development/python2-modules/pygtk { }; 94 95 pyparsing = callPackage ../development/python2-modules/pyparsing { }; 96 ··· 139 TurboCheetah = callPackage ../development/python2-modules/TurboCheetah { }; 140 141 typing = callPackage ../development/python2-modules/typing { }; 142 143 zeek = disabled super.zeek; 144