Last active
October 14, 2022 04:52
-
-
Save datakurre/614d6f9ee48c83bec101cd6b8cf0dbce to your computer and use it in GitHub Desktop.
"setup.nix" packaging example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Generated by pip2nix 0.8.0.dev1 | |
# See https://github.com/nix-community/pip2nix | |
{ pkgs, fetchurl, fetchgit, fetchhg }: | |
self: super: { | |
"Babel" = super.buildPythonPackage rec { | |
pname = "Babel"; | |
version = "2.9.0"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/dd/a5/81076e10b5ef74493cf08a8e419e61b64324c9c55db4aa7f89c0240c4873/Babel-2.9.0-py2.py3-none-any.whl"; | |
sha256 = "19bgr836r2ih484vl2slkkqz7v71rmb4mb45rhz3r2brrhpw4dcx"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = [ | |
self."pytz" | |
]; | |
}; | |
"PyICU" = super.buildPythonPackage rec { | |
pname = "PyICU"; | |
version = "2.7.2"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/17/0f/9d6b7eb01650960239a5d4dc21cd6e7a96921807c043d287bae4b2f440e1/PyICU-2.7.2.tar.gz"; | |
sha256 = "1p7906d86iwpl0v01zq7j16v96cigpx2bdgrfj9cj76r4adqd0hk"; | |
}; | |
format = "setuptools"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = []; | |
}; | |
"agate" = super.buildPythonPackage rec { | |
pname = "agate"; | |
version = "1.6.2"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/da/ec/73bf438732d6e38b380fab9e4dcdfa2b227a984e50c3b56cc9a128fbae9b/agate-1.6.2.tar.gz"; | |
sha256 = "1vcr8d66vnbrih6bq7y8lyl15gn47sczb7hhv2iczzngl9blmgcd"; | |
}; | |
format = "setuptools"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = [ | |
self."Babel" | |
self."PyICU" | |
self."isodate" | |
self."leather" | |
self."parsedatetime" | |
self."python-slugify" | |
self."pytimeparse" | |
self."six" | |
]; | |
}; | |
"agate-dbf" = super.buildPythonPackage rec { | |
pname = "agate-dbf"; | |
version = "0.2.2"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/54/70/a32dfaa47cb7b4e4d70aff67d89c32984085b946442d26a9d9fca7d96d8b/agate-dbf-0.2.2.tar.gz"; | |
sha256 = "0ywiy71482xvjs4293hirlv77ysrnvny7rhihpfg40swijvq55jq"; | |
}; | |
format = "setuptools"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = [ | |
self."agate" | |
self."dbfread" | |
]; | |
}; | |
"agate-excel" = super.buildPythonPackage rec { | |
pname = "agate-excel"; | |
version = "0.2.3"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/a9/cd/ba7ce638900a91f00e6ebaa72c46fc90bfc13cb595071cee82c96057d5d6/agate-excel-0.2.3.tar.gz"; | |
sha256 = "0lkxl5hv8s9hdylawwy7v21by24fdkc1v7h469qnnhvwr3r5w9cg"; | |
}; | |
format = "setuptools"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = [ | |
self."agate" | |
self."openpyxl" | |
self."xlrd" | |
]; | |
}; | |
"agate-sql" = super.buildPythonPackage rec { | |
pname = "agate-sql"; | |
version = "0.5.6"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/f2/97/261281b84bbb35502d29e39da2f1f0ee3d5d08bd982e48fcb8294b69a0e7/agate-sql-0.5.6.tar.gz"; | |
sha256 = "1pnw2qc6imm6l0da7swxq4i7ds2y79wz8l4r3hzxzpzvhzjwjv85"; | |
}; | |
format = "setuptools"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = [ | |
self."agate" | |
self."sqlalchemy" | |
]; | |
}; | |
"aiohttp" = super.buildPythonPackage rec { | |
pname = "aiohttp"; | |
version = "3.7.4.post0"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/99/f5/90ede947a3ce2d6de1614799f5fea4e93c19b6520a59dc5d2f64123b032f/aiohttp-3.7.4.post0.tar.gz"; | |
sha256 = "1kzyg94qi264rpzxs4a9x2lg3amvrz6yl6cqdg3agxg5xfck4ga9"; | |
}; | |
format = "setuptools"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = [ | |
self."async-timeout" | |
self."attrs" | |
self."chardet" | |
self."multidict" | |
self."typing-extensions" | |
self."yarl" | |
]; | |
}; | |
"appdirs" = super.buildPythonPackage rec { | |
pname = "appdirs"; | |
version = "1.4.4"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/3b/00/2344469e2084fb287c2e0b57b72910309874c3245463acd6cf5e3db69324/appdirs-1.4.4-py2.py3-none-any.whl"; | |
sha256 = "0a5ib82s2335nhvq5rjh8hkimrwyw43xnshn3ds8lccrdg6xlhd8"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = []; | |
}; | |
"astroid" = super.buildPythonPackage rec { | |
pname = "astroid"; | |
version = "2.5.3"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/03/e3/9f9c3ad230d706dbf2d0314f5cff92f6d3cc7d65226af2854ea59d000c43/astroid-2.5.3-py3-none-any.whl"; | |
sha256 = "1mc0417xj5spxbi85bchphff23623dci4723b0gmif7vk4kz78xy"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = [ | |
self."lazy-object-proxy" | |
self."wrapt" | |
]; | |
}; | |
"async-timeout" = super.buildPythonPackage rec { | |
pname = "async-timeout"; | |
version = "3.0.1"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/e1/1e/5a4441be21b0726c4464f3f23c8b19628372f606755a9d2e46c187e65ec4/async_timeout-3.0.1-py3-none-any.whl"; | |
sha256 = "18wy5w0wk37ikx9n5yc8s9746bgqz3wdddbc1d6jfz98glcwm4a2"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = []; | |
}; | |
"attrs" = super.buildPythonPackage rec { | |
pname = "attrs"; | |
version = "20.3.0"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/c3/aa/cb45262569fcc047bf070b5de61813724d6726db83259222cd7b4c79821a/attrs-20.3.0-py2.py3-none-any.whl"; | |
sha256 = "1rn756ly60sg7byp6caiz5ydczk14jkpd77a58y45a1ac3nyrcii"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = []; | |
}; | |
"biopython" = super.buildPythonPackage rec { | |
pname = "biopython"; | |
version = "1.78"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/89/c5/7fe326081276f74a4073f6d6b13cfa7a04ba322a3ff1d84027f4773980b8/biopython-1.78.tar.gz"; | |
sha256 = "0r25ps5pmbwbiban4jhhvxrzs6d4pa050bb4lvz80ripqava1q0y"; | |
}; | |
format = "setuptools"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = [ | |
self."numpy" | |
]; | |
}; | |
"black" = super.buildPythonPackage rec { | |
pname = "black"; | |
version = "20.8b1"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/dc/7b/5a6bbe89de849f28d7c109f5ea87b65afa5124ad615f3419e71beb29dc96/black-20.8b1.tar.gz"; | |
sha256 = "1spv6sldp3mcxr740dh3ywp25lly9s8qlvs946fin44rl1x5a0hw"; | |
}; | |
format = "setuptools"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = [ | |
self."setuptools" | |
self."setuptools-scm" | |
self."wheel" | |
]; | |
propagatedBuildInputs = [ | |
self."appdirs" | |
self."click" | |
self."mypy-extensions" | |
self."pathspec" | |
self."regex" | |
self."toml" | |
self."typed-ast" | |
self."typing-extensions" | |
]; | |
}; | |
"bottleneck" = super.buildPythonPackage rec { | |
pname = "bottleneck"; | |
version = "1.3.2"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/5b/08/278c6ee569458e168096f6b51019cc1c81c288da3d1026a22ee2ccead102/Bottleneck-1.3.2.tar.gz"; | |
sha256 = "0wz5320jx3n4q2nsvwvc7cpi66b46qbals9v53m955rmcq5ry5r0"; | |
}; | |
format = "setuptools"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = [ | |
self."setuptools" | |
self."wheel" | |
self."numpy" | |
self."numpy" | |
self."numpy" | |
self."numpy" | |
self."numpy" | |
self."numpy" | |
self."numpy" | |
self."numpy" | |
self."numpy" | |
self."numpy" | |
]; | |
propagatedBuildInputs = [ | |
self."numpy" | |
]; | |
}; | |
"certifi" = super.buildPythonPackage rec { | |
pname = "certifi"; | |
version = "2020.12.5"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/5e/a0/5f06e1e1d463903cf0c0eebeb751791119ed7a4b3737fdc9a77f1cdfb51f/certifi-2020.12.5-py2.py3-none-any.whl"; | |
sha256 = "0c4qsp7q10hhiryvl6dyxsfh9r1mpja8sfkzri2bvf9kkvxp96ki"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = []; | |
}; | |
"chardet" = super.buildPythonPackage rec { | |
pname = "chardet"; | |
version = "4.0.0"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/19/c7/fa589626997dd07bd87d9269342ccb74b1720384a4d739a1872bd84fbe68/chardet-4.0.0-py2.py3-none-any.whl"; | |
sha256 = "198xs99vbvcj312d1bk7bgn7aix5h64sqi3hwvr1i4gxcr6har7q"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = []; | |
}; | |
"click" = super.buildPythonPackage rec { | |
pname = "click"; | |
version = "7.1.2"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/d2/3d/fa76db83bf75c4f8d338c2fd15c8d33fdd7ad23a9b5e57eb6c5de26b430e/click-7.1.2-py2.py3-none-any.whl"; | |
sha256 = "1p607168jqq20d8bngrkfqv0vvkfas57r6s8szimvpgs9fgsik6s"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = []; | |
}; | |
"colorama" = super.buildPythonPackage rec { | |
pname = "colorama"; | |
version = "0.4.4"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/44/98/5b86278fbbf250d239ae0ecb724f8572af1c91f4a11edf4d36a206189440/colorama-0.4.4-py2.py3-none-any.whl"; | |
sha256 = "1qn3bnyd7gdwkyk8nvlhiy3c6zbwjd49fjxj0gp8xxi9faiysiwz"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = []; | |
}; | |
"commonmark" = super.buildPythonPackage rec { | |
pname = "commonmark"; | |
version = "0.9.1"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/b1/92/dfd892312d822f36c55366118b95d914e5f16de11044a27cf10a7d71bbbf/commonmark-0.9.1-py2.py3-none-any.whl"; | |
sha256 = "1nbgsvb73ad93cjzjdggkpp4zizvxay3q6ms23j3vy4h4p4khbys"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = []; | |
}; | |
"csvchk" = super.buildPythonPackage rec { | |
pname = "csvchk"; | |
version = "0.1.8"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/81/13/d75764e07e49a6b0d99a50ac3f59842b8c4b2ccf7249f8324901ca07e3d5/csvchk-0.1.8-py3-none-any.whl"; | |
sha256 = "1cl3b0ddrc6ryx0d29aca9qxx27wzpjhyif2vdjbl2g157zxigyh"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = []; | |
}; | |
"csvkit" = super.buildPythonPackage rec { | |
pname = "csvkit"; | |
version = "1.0.5"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/95/c9/8dd118c0ea0114125a8bf50d552626b95f6478bcf29a252296e93d778855/csvkit-1.0.5.tar.gz"; | |
sha256 = "1ffmbzk4rxnl1yhqfl58v7kvl5m9cbvjm8v7xp4mvr00sgs91lvv"; | |
}; | |
format = "setuptools"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = [ | |
self."agate" | |
self."agate-dbf" | |
self."agate-excel" | |
self."agate-sql" | |
self."six" | |
]; | |
}; | |
"dbfread" = super.buildPythonPackage rec { | |
pname = "dbfread"; | |
version = "2.0.7"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/4c/94/51349e43503e30ed7b4ecfe68a8809cdb58f722c0feb79d18b1f1e36fe74/dbfread-2.0.7-py2.py3-none-any.whl"; | |
sha256 = "1v2cr1i73bvdsi3nmfyjg1r4d56mp38fayqd2sh4ysariksxw17n"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = []; | |
}; | |
"et-xmlfile" = super.buildPythonPackage rec { | |
pname = "et-xmlfile"; | |
version = "1.0.1"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/22/28/a99c42aea746e18382ad9fb36f64c1c1f04216f41797f2f0fa567da11388/et_xmlfile-1.0.1.tar.gz"; | |
sha256 = "0nrkhcb6jdrlb6pwkvd4rycw34y3s931hjf409ij9xkjsli9fkb1"; | |
}; | |
format = "setuptools"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = []; | |
}; | |
"filelock" = super.buildPythonPackage rec { | |
pname = "filelock"; | |
version = "3.0.12"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/93/83/71a2ee6158bb9f39a90c0dea1637f81d5eef866e188e1971a1b1ab01a35a/filelock-3.0.12-py3-none-any.whl"; | |
sha256 = "0djqy7z7kf591nqz3kj7ayvp0gqb0d7c2npsn1qnnzavxiipv6wj"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = []; | |
}; | |
"flake8" = super.buildPythonPackage rec { | |
pname = "flake8"; | |
version = "3.9.1"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/a0/b0/3b5820728d687f2c000476216a3fccc7a03baac1034afc0284ccde25e26d/flake8-3.9.1-py2.py3-none-any.whl"; | |
sha256 = "0aldfbm4n5b7m2ywdlhlzqxhf3q1fp59i077bdiwzp6xaa4q97rv"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = [ | |
self."mccabe" | |
self."pycodestyle" | |
self."pyflakes" | |
]; | |
}; | |
"graphviz" = super.buildPythonPackage rec { | |
pname = "graphviz"; | |
version = "0.16"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/86/86/89ba50ba65928001d3161f23bfa03945ed18ea13a1d1d44a772ff1fa4e7a/graphviz-0.16-py2.py3-none-any.whl"; | |
sha256 = "1srr2vfb0yql8qd0m2720dvxjqnyawm41xlxczy0s2b1r4bmbb9w"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = []; | |
}; | |
"greenlet" = super.buildPythonPackage rec { | |
pname = "greenlet"; | |
version = "1.0.0"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/92/be/878cc5314fa5aadce33e68738c1a24debe317605196bdfc2049e66bc9c30/greenlet-1.0.0.tar.gz"; | |
sha256 = "1y6wbg9yhm9dw6m768n4yslp56h85pnxkk3drz6icn15g6f1d7ki"; | |
}; | |
format = "setuptools"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = []; | |
}; | |
"idna" = super.buildPythonPackage rec { | |
pname = "idna"; | |
version = "2.10"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/a2/38/928ddce2273eaa564f6f50de919327bf3a00f091b5baba8dfa9460f3a8a8/idna-2.10-py2.py3-none-any.whl"; | |
sha256 = "1h280sli58v5dapmf79rnnqdrrk0xjn8vi3pxppknllv3r5q0zdr"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = []; | |
}; | |
"iniconfig" = super.buildPythonPackage rec { | |
pname = "iniconfig"; | |
version = "1.1.1"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/9b/dd/b3c12c6d707058fa947864b67f0c4e0c39ef8610988d7baea9578f3c48f3/iniconfig-1.1.1-py2.py3-none-any.whl"; | |
sha256 = "1cx8kpp3akxwadzsmv2cdnifkyzj8fki5frmv3mzcivz9g3287h1"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = []; | |
}; | |
"isodate" = super.buildPythonPackage rec { | |
pname = "isodate"; | |
version = "0.6.0"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/9b/9f/b36f7774ff5ea8e428fdcfc4bb332c39ee5b9362ddd3d40d9516a55221b2/isodate-0.6.0-py2.py3-none-any.whl"; | |
sha256 = "109cfyn25wyn4ac0h4nc6xrv9cwazldbir4nr8m3bxa0cv036kda"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = [ | |
self."six" | |
]; | |
}; | |
"isort" = super.buildPythonPackage rec { | |
pname = "isort"; | |
version = "5.8.0"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/d9/47/0ec3ec948b7b3a0ba44e62adede4dca8b5985ba6aaee59998bed0916bd17/isort-5.8.0-py3-none-any.whl"; | |
sha256 = "0pb5dniglf91zs3nqa9qw829z64sl15ivknv8jckq7i1ml56ic9b"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = []; | |
}; | |
"iteration-utilities" = super.buildPythonPackage rec { | |
pname = "iteration-utilities"; | |
version = "0.11.0"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/0d/27/88eed2efe269faa330f702c02a7b8c98076db9551a8c2e931348b0f78077/iteration_utilities-0.11.0.tar.gz"; | |
sha256 = "0xra9i9m99b37fa7ggnr0nryaviv0gwzsq2lzx07x6lyaji427zr"; | |
}; | |
format = "setuptools"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = []; | |
}; | |
"lazy-object-proxy" = super.buildPythonPackage rec { | |
pname = "lazy-object-proxy"; | |
version = "1.6.0"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/bb/f5/646893a04dcf10d4acddb61c632fd53abb3e942e791317dcdd57f5800108/lazy-object-proxy-1.6.0.tar.gz"; | |
sha256 = "09lp6xf2z9ixjrh0di5c3xnkr89agx4sdyw2z7372x9pd39h1428"; | |
}; | |
format = "setuptools"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = []; | |
}; | |
"leather" = super.buildPythonPackage rec { | |
pname = "leather"; | |
version = "0.3.3"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/45/f4/692a53df6708caca1c6d088c6d9003940f164f98bd9df2bdc86233641e9c/leather-0.3.3-py3-none-any.whl"; | |
sha256 = "1qm5xc9fdp878h9w0j2vdzq6g7p2pv4ffxbf38ybz7zmsnk3dfz0"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = [ | |
self."six" | |
]; | |
}; | |
"mccabe" = super.buildPythonPackage rec { | |
pname = "mccabe"; | |
version = "0.6.1"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/87/89/479dc97e18549e21354893e4ee4ef36db1d237534982482c3681ee6e7b57/mccabe-0.6.1-py2.py3-none-any.whl"; | |
sha256 = "0hhdp0srgrv4bmzlzvmk67zrqr9cvkjjzgd4gmkvd90dhrc652mb"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = []; | |
}; | |
"multidict" = super.buildPythonPackage rec { | |
pname = "multidict"; | |
version = "5.1.0"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/1c/74/e8b46156f37ca56d10d895d4e8595aa2b344cff3c1fb3629ec97a8656ccb/multidict-5.1.0.tar.gz"; | |
sha256 = "1mc4dqjj7s7gbb0bkpwy5cn7kz1cd6x101zwxzrxsdrs5prfbd15"; | |
}; | |
format = "setuptools"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = []; | |
}; | |
"mypy" = super.buildPythonPackage rec { | |
pname = "mypy"; | |
version = "0.812"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/78/b1/6079ca9a5afbedb663a0c3db82bd2bcba1574ccdb55acd9b9855ed79dd39/mypy-0.812.tar.gz"; | |
sha256 = "069i9qnfanp7dn8df1vspnqb0flvsszzn22v00vj08nzlnd061yd"; | |
}; | |
format = "setuptools"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = [ | |
self."mypy-extensions" | |
self."typed-ast" | |
self."typing-extensions" | |
]; | |
}; | |
"mypy-extensions" = super.buildPythonPackage rec { | |
pname = "mypy-extensions"; | |
version = "0.4.3"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/5c/eb/975c7c080f3223a5cdaff09612f3a5221e4ba534f7039db34c35d95fa6a5/mypy_extensions-0.4.3-py2.py3-none-any.whl"; | |
sha256 = "0pgi8sl514i9iamzdli8l3sxla7l4ic3nc713klrm9j5b7bys3q9"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = []; | |
}; | |
"new-py" = super.buildPythonPackage rec { | |
pname = "new-py"; | |
version = "0.1.2"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/4b/57/a593fc5aef28637535db4dce3f565ed10a1427d0b20bc99a36b81439e049/new_py-0.1.2-py3-none-any.whl"; | |
sha256 = "0qk88cjq0iybvzaljr8s3958xp1bd8hm4ifyb45c0sivbqanxvc1"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = []; | |
}; | |
"nose" = super.buildPythonPackage rec { | |
pname = "nose"; | |
version = "1.3.7"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/15/d8/dd071918c040f50fa1cf80da16423af51ff8ce4a0f2399b7bf8de45ac3d9/nose-1.3.7-py3-none-any.whl"; | |
sha256 = "1b2kgk8nylcp5sspfx5y8pcxdbs5ryxng9il9fcm331z8k6cdxwz"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = []; | |
}; | |
"numpy" = super.buildPythonPackage rec { | |
pname = "numpy"; | |
version = "1.20.2"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/82/a8/1e0f86ae3f13f7ce260e9f782764c16559917f24382c74edfb52149897de/numpy-1.20.2.zip"; | |
sha256 = "1vkc1739lwqx0n9dwxzmy18axlz22za034xa8jh0lmfpbazj52c7"; | |
}; | |
format = "setuptools"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = [ | |
pkgs."unzip" | |
]; | |
propagatedBuildInputs = []; | |
}; | |
"openpyxl" = super.buildPythonPackage rec { | |
pname = "openpyxl"; | |
version = "3.0.7"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/39/08/595298c9b7ced75e7d23be3e7596459980d63bc35112ca765ceccafbe9a4/openpyxl-3.0.7-py2.py3-none-any.whl"; | |
sha256 = "05pm1wmsb8p4mav2yim5f23zhdbnjpnpw5yazh8bd28s42plxbs6"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = [ | |
self."et-xmlfile" | |
]; | |
}; | |
"packaging" = super.buildPythonPackage rec { | |
pname = "packaging"; | |
version = "20.9"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/3e/89/7ea760b4daa42653ece2380531c90f64788d979110a2ab51049d92f408af/packaging-20.9-py2.py3-none-any.whl"; | |
sha256 = "0yll40y48lgh45z5axlzyvlixgama5cmrh2r9032w1dwyyklswb7"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = [ | |
self."pyparsing" | |
]; | |
}; | |
"pandas" = super.buildPythonPackage rec { | |
pname = "pandas"; | |
version = "1.2.4"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/e8/81/f7be049fe887865200a0450b137f2c574647b9154503865502cfd720ab5d/pandas-1.2.4.tar.gz"; | |
sha256 = "0y92rfjxsayqmkx5v980myhgn33b94vgjzwnryzkrppsjavcm7k4"; | |
}; | |
format = "setuptools"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = [ | |
self."numpy" | |
self."python-dateutil" | |
self."pytz" | |
]; | |
}; | |
"parsedatetime" = super.buildPythonPackage rec { | |
pname = "parsedatetime"; | |
version = "2.6"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/9d/a4/3dd804926a42537bf69fb3ebb9fd72a50ba84f807d95df5ae016606c976c/parsedatetime-2.6-py3-none-any.whl"; | |
sha256 = "02q0xwm6knzymxpp8q2p34vi9isq88lpjn73g62gawk807byv5nb"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = []; | |
}; | |
"pathspec" = super.buildPythonPackage rec { | |
pname = "pathspec"; | |
version = "0.8.1"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/29/29/a465741a3d97ea3c17d21eaad4c64205428bde56742360876c4391f930d4/pathspec-0.8.1-py2.py3-none-any.whl"; | |
sha256 = "03braqjyx0iq2p4k7ibr935a521yrnk8y3bvz8pza6q4qj0v835a"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = []; | |
}; | |
"pluggy" = super.buildPythonPackage rec { | |
pname = "pluggy"; | |
version = "0.13.1"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/a0/28/85c7aa31b80d150b772fbe4a229487bc6644da9ccb7e427dd8cc60cb8a62/pluggy-0.13.1-py2.py3-none-any.whl"; | |
sha256 = "0b8x12j6394w3spk8xzp991khyv8102gas1q7hn515iwv1f18v4n"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = []; | |
}; | |
"py" = super.buildPythonPackage rec { | |
pname = "py"; | |
version = "1.10.0"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/67/32/6fe01cfc3d1a27c92fdbcdfc3f67856da8cbadf0dd9f2e18055202b2dc62/py-1.10.0-py2.py3-none-any.whl"; | |
sha256 = "12l1326xbn82inp4b1a6lvnnr3xb4djdlip012hymznilrm8701v"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = []; | |
}; | |
"pycodestyle" = super.buildPythonPackage rec { | |
pname = "pycodestyle"; | |
version = "2.7.0"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/de/cc/227251b1471f129bc35e966bb0fceb005969023926d744139642d847b7ae/pycodestyle-2.7.0-py2.py3-none-any.whl"; | |
sha256 = "0s1062z8jw6111c7505vggh982cp6w52yiw0crfbbh7w33cpcksi"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = []; | |
}; | |
"pyflakes" = super.buildPythonPackage rec { | |
pname = "pyflakes"; | |
version = "2.3.1"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/6c/11/2a745612f1d3cbbd9c69ba14b1b43a35a2f5c3c81cd0124508c52c64307f/pyflakes-2.3.1-py2.py3-none-any.whl"; | |
sha256 = "1hzgabzbyaxj0n4zlp6rxvjriw2gv3adzmvjvl8ria5q04ypi4vq"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = []; | |
}; | |
"pygments" = super.buildPythonPackage rec { | |
pname = "pygments"; | |
version = "2.8.1"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/3a/80/a52c0a7c5939737c6dca75a831e89658ecb6f590fb7752ac777d221937b9/Pygments-2.8.1-py3-none-any.whl"; | |
sha256 = "1j49288d7c53sawrqbz9hzkb057j23qxdxsc7967vscsacfzfkjk"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = []; | |
}; | |
"pygtrie" = super.buildPythonPackage rec { | |
pname = "pygtrie"; | |
version = "2.4.2"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/a5/8b/90d0f21a27a354e808a73eb0ffb94db990ab11ad1d8b3db3e5196c882cad/pygtrie-2.4.2.tar.gz"; | |
sha256 = "14j6qs52gphsy48rp98pfcsspqjqkw14al7jpf6kaqw8s9cma823"; | |
}; | |
format = "setuptools"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = []; | |
}; | |
"pylint" = super.buildPythonPackage rec { | |
pname = "pylint"; | |
version = "2.7.4"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/6f/93/c710ecf2dd7098e9e15a0760c3afa31ae0b586beb4184bf4b14341c36848/pylint-2.7.4-py3-none-any.whl"; | |
sha256 = "0ymyrczmp8sqmccra9mj2pkc29g78zrikbily0nii83hr0p73790"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = [ | |
self."astroid" | |
self."isort" | |
self."mccabe" | |
self."toml" | |
]; | |
}; | |
"pyparsing" = super.buildPythonPackage rec { | |
pname = "pyparsing"; | |
version = "2.4.7"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/8a/bb/488841f56197b13700afd5658fc279a2025a39e22449b7cf29864669b15d/pyparsing-2.4.7-py2.py3-none-any.whl"; | |
sha256 = "12y8xwjb118a4jqvvfg9k90kqg03n4d3ygb5csz0l81wxy4pb7gg"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = []; | |
}; | |
"pytest" = super.buildPythonPackage rec { | |
pname = "pytest"; | |
version = "6.2.3"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/76/4d/9c00146923da9f1cabd1878209d71b1380d537ec331a1a613e8f4b9d7985/pytest-6.2.3-py3-none-any.whl"; | |
sha256 = "1g3lal5jpq8yxizdg26hf2jk45f4cc0c52lr5cj0ia0pynywgnba"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = [ | |
self."attrs" | |
self."iniconfig" | |
self."packaging" | |
self."pluggy" | |
self."py" | |
self."toml" | |
]; | |
}; | |
"pytest-flake8" = super.buildPythonPackage rec { | |
pname = "pytest-flake8"; | |
version = "1.0.7"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/64/ab/bca00e0810b4a1e9a7377b3871529887573d4af47f1674dbe669544944b7/pytest_flake8-1.0.7-py2.py3-none-any.whl"; | |
sha256 = "1haviz2yxcd8r8vaqjy82qpd15clhnxd8pvljv4575rmglzg5362"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = [ | |
self."flake8" | |
self."pytest" | |
]; | |
}; | |
"pytest-mypy" = super.buildPythonPackage rec { | |
pname = "pytest-mypy"; | |
version = "0.8.1"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/6d/e3/0e3a9debfa5e89d9060f93d13e7ed7eedbdb90ee6b17dc8d6640b0513097/pytest_mypy-0.8.1-py3-none-any.whl"; | |
sha256 = "0ss6azyb5ilmgg0vkpqsnlvz0ya8g0pr340m7b4d3dzfgkmyhs3f"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = [ | |
self."attrs" | |
self."filelock" | |
self."mypy" | |
self."pytest" | |
]; | |
}; | |
"pytest-pylint" = super.buildPythonPackage rec { | |
pname = "pytest-pylint"; | |
version = "0.18.0"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/0f/7e/768b071e04d1d954a1ecf814f6c4870c7b6db8af1cc2471b3c96c2b7cd84/pytest_pylint-0.18.0-py3-none-any.whl"; | |
sha256 = "0r6mdzfc5931nayzdk4k01wwf0j1s0z34s3zmb7chczzh25syfmn"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = [ | |
self."pylint" | |
self."pytest" | |
self."toml" | |
]; | |
}; | |
"python-dateutil" = super.buildPythonPackage rec { | |
pname = "python-dateutil"; | |
version = "2.8.1"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/d4/70/d60450c3dd48ef87586924207ae8907090de0b306af2bce5d134d78615cb/python_dateutil-2.8.1-py2.py3-none-any.whl"; | |
sha256 = "0answacgnckybm5iyfnaqsgval3mdbpak4i6fsbi2vv8x8qkzfvm"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = [ | |
self."six" | |
]; | |
}; | |
"python-slugify" = super.buildPythonPackage rec { | |
pname = "python-slugify"; | |
version = "4.0.1"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/9f/42/e336f96a8b6007428df772d0d159b8eee9b2f1811593a4931150660402c0/python-slugify-4.0.1.tar.gz"; | |
sha256 = "0w22fapghmzk3xdasc4dn7h8sl58l08d1h5zbf72dh80drv1g9b9"; | |
}; | |
format = "setuptools"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = [ | |
self."text-unidecode" | |
]; | |
}; | |
"pytimeparse" = super.buildPythonPackage rec { | |
pname = "pytimeparse"; | |
version = "1.1.8"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/1b/b4/afd75551a3b910abd1d922dbd45e49e5deeb4d47dc50209ce489ba9844dd/pytimeparse-1.1.8-py2.py3-none-any.whl"; | |
sha256 = "1g9nc03jya5scx1xlsbypkk4xhrsdj948m1jlr3md7xxr1nbxdq4"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = []; | |
}; | |
"pytz" = super.buildPythonPackage rec { | |
pname = "pytz"; | |
version = "2021.1"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/70/94/784178ca5dd892a98f113cdd923372024dc04b8d40abe77ca76b5fb90ca6/pytz-2021.1-py2.py3-none-any.whl"; | |
sha256 = "1607gl2x9290ks5sa6dvqw9dgg1kwdf9fj9xcb9jw19nfwzcw47b"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = []; | |
}; | |
"regex" = super.buildPythonPackage rec { | |
pname = "regex"; | |
version = "2021.4.4"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/38/3f/4c42a98c9ad7d08c16e7d23b2194a0e4f3b2914662da8bc88986e4e6de1f/regex-2021.4.4.tar.gz"; | |
sha256 = "1yws1kqvw4krmdi519iry5jl1i2ihnr5n45wwkbljb4lkczkvfjj"; | |
}; | |
format = "setuptools"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = []; | |
}; | |
"requests" = super.buildPythonPackage rec { | |
pname = "requests"; | |
version = "2.25.1"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/29/c1/24814557f1d22c56d50280771a17307e6bf87b70727d975fd6b2ce6b014a/requests-2.25.1-py2.py3-none-any.whl"; | |
sha256 = "07l7fm7y9zkvmpfli803dni6iwyyhy1f804y46wycam46r70h462"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = [ | |
self."certifi" | |
self."chardet" | |
self."idna" | |
self."urllib3" | |
]; | |
}; | |
"rich" = super.buildPythonPackage rec { | |
pname = "rich"; | |
version = "10.1.0"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/1a/da/2a1f064dc620ab47f3f826ae085384084b71ea05c8c21d67f1dfc29189ab/rich-10.1.0-py3-none-any.whl"; | |
sha256 = "0nbjalvwpv3ixlnavqm6fif6nl1b0vir3rsp417p18cplrp6vkb0"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = [ | |
self."colorama" | |
self."commonmark" | |
self."pygments" | |
self."typing-extensions" | |
]; | |
}; | |
"seqmagick" = super.buildPythonPackage rec { | |
pname = "seqmagick"; | |
version = "0.8.4"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/07/96/625db87ad692f0127079ece7afcf9fa586627aebae115311629cb03f72bf/seqmagick-0.8.4.tar.gz"; | |
sha256 = "0c6skyig8fyylnbj4597pjj9h0dn36rkxrhwd34yrsc6k6f7r8a0"; | |
}; | |
format = "setuptools"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = [ | |
self."nose" | |
]; | |
propagatedBuildInputs = [ | |
self."biopython" | |
self."pygtrie" | |
]; | |
}; | |
"setuptools-scm" = super.buildPythonPackage rec { | |
pname = "setuptools-scm"; | |
version = "5.0.2"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/6a/18/23ad8654c5c8d91d1238b2d52882e50152473f2bd2db0da60215b51f401b/setuptools_scm-5.0.2-py2.py3-none-any.whl"; | |
sha256 = "0d3by5bk5l57s63gfba2lv28hi147kmrmy29fl8kw42cywvlwp5x"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = [ | |
self."setuptools" | |
]; | |
}; | |
"six" = super.buildPythonPackage rec { | |
pname = "six"; | |
version = "1.15.0"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/ee/ff/48bde5c0f013094d729fe4b0316ba2a24774b3ff1c52d924a8a4cb04078a/six-1.15.0-py2.py3-none-any.whl"; | |
sha256 = "1vaw9aqdsbg84s20yqmg24k5kcq65dpxg4bldpzkijmspgfbwx4b"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = []; | |
}; | |
"sqlalchemy" = super.buildPythonPackage rec { | |
pname = "sqlalchemy"; | |
version = "1.4.9"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/29/25/1fbcbf47928731ff46cbf3eaaaacbdcc042dd85f919580055f30a0dbdb0a/SQLAlchemy-1.4.9.tar.gz"; | |
sha256 = "1b3ddfs84c3aylkn9hic0xx1hnfv4d7rm9ij549ykyvp4sbmf5zk"; | |
}; | |
format = "setuptools"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = [ | |
self."greenlet" | |
]; | |
}; | |
"tabulate" = super.buildPythonPackage rec { | |
pname = "tabulate"; | |
version = "0.8.9"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/ca/80/7c0cad11bd99985cfe7c09427ee0b4f9bd6b048bd13d4ffb32c6db237dfb/tabulate-0.8.9-py3-none-any.whl"; | |
sha256 = "1r27bp985x3c5iiccq6wz1agwclgby2gl42f768y9idvgbz17h6p"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = []; | |
}; | |
"text-unidecode" = super.buildPythonPackage rec { | |
pname = "text-unidecode"; | |
version = "1.3"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/a6/a5/c0b6468d3824fe3fde30dbb5e1f687b291608f9473681bbf7dabbf5a87d7/text_unidecode-1.3-py2.py3-none-any.whl"; | |
sha256 = "1s12m0s73djhjcc1i2w8hx94ak2glqmiqwr32qj3anc9ic7g248k"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = []; | |
}; | |
"toml" = super.buildPythonPackage rec { | |
pname = "toml"; | |
version = "0.10.2"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/44/6f/7120676b6d73228c96e17f1f794d8ab046fc910d781c8d151120c3f1569e/toml-0.10.2-py2.py3-none-any.whl"; | |
sha256 = "16sgpg57kxx5jh467d9qwc2hwshfvdbl0xkafdp3qspvbfp46qc0"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = []; | |
}; | |
"typed-ast" = super.buildPythonPackage rec { | |
pname = "typed-ast"; | |
version = "1.4.3"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/6e/08/c04a49ee26a94c1ec211e7b1e5f2971d692e04818ea67ef70f1e879cf525/typed_ast-1.4.3.tar.gz"; | |
sha256 = "0rgcynvicc614fyzq1bdq9c864wrkhwq21ypxnfa5pish2nbw6zv"; | |
}; | |
format = "setuptools"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = []; | |
}; | |
"typing-extensions" = super.buildPythonPackage rec { | |
pname = "typing-extensions"; | |
version = "3.7.4.3"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/60/7a/e881b5abb54db0e6e671ab088d079c57ce54e8a01a3ca443f561ccadb37e/typing_extensions-3.7.4.3-py3-none-any.whl"; | |
sha256 = "060rhhpnprx5893zdcna7y7rvriqi1i82y1yrg1vzxq01w10gd3w"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = []; | |
}; | |
"urllib3" = super.buildPythonPackage rec { | |
pname = "urllib3"; | |
version = "1.26.4"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/09/c6/d3e3abe5b4f4f16cf0dfc9240ab7ce10c2baa0e268989a4e3ec19e90c84e/urllib3-1.26.4-py2.py3-none-any.whl"; | |
sha256 = "1pxhnlgf548k2cs44bnld89nqknz3xaipfs4m48f3qdp9mcs8k9g"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = []; | |
}; | |
"wrapt" = super.buildPythonPackage rec { | |
pname = "wrapt"; | |
version = "1.12.1"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/82/f7/e43cefbe88c5fd371f4cf0cf5eb3feccd07515af9fd6cf7dbf1d1793a797/wrapt-1.12.1.tar.gz"; | |
sha256 = "1mwpkdnqxf0yxj1a0hsnl06lf287qi5ap7309wm37x45zf0zlbxn"; | |
}; | |
format = "setuptools"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = []; | |
}; | |
"xlrd" = super.buildPythonPackage rec { | |
pname = "xlrd"; | |
version = "2.0.1"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/a6/0c/c2a72d51fe56e08a08acc85d13013558a2d793028ae7385448a6ccdfae64/xlrd-2.0.1-py2.py3-none-any.whl"; | |
sha256 = "1pdvy31hclmq8ddj12kbcdwjckp79glzcac12p0spnbvhy4ywcva"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = []; | |
}; | |
"yapf" = super.buildPythonPackage rec { | |
pname = "yapf"; | |
version = "0.31.0"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/5f/0d/8814e79eb865eab42d95023b58b650d01dec6f8ea87fc9260978b1bf2167/yapf-0.31.0-py2.py3-none-any.whl"; | |
sha256 = "0blwvmw0j0n7pady6qdn32d0i46mfb4dm734m8g21zjmhjx398p3"; | |
}; | |
format = "wheel"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = []; | |
}; | |
"yarl" = super.buildPythonPackage rec { | |
pname = "yarl"; | |
version = "1.6.3"; | |
src = fetchurl { | |
url = "https://files.pythonhosted.org/packages/97/e7/af7219a0fe240e8ef6bb555341a63c43045c21ab0392b4435e754b716fa1/yarl-1.6.3.tar.gz"; | |
sha256 = "045z4ssg8g5h0qhz8hnx74hswgkndaldqq1xi5l1n5s0j996d44a"; | |
}; | |
format = "setuptools"; | |
doCheck = false; | |
buildInputs = []; | |
checkInputs = []; | |
nativeBuildInputs = []; | |
propagatedBuildInputs = [ | |
self."idna" | |
self."multidict" | |
]; | |
}; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
biopython | |
black | |
csvkit | |
csvchk | |
flake8 | |
graphviz | |
iteration_utilities | |
mypy | |
new-py | |
pandas | |
pylint | |
pytest | |
pytest-flake8 | |
pytest-mypy | |
pytest-pylint | |
requests | |
rich | |
tabulate | |
yapf | |
seqmagick | |
# required with setup.nix approach to cope with implicit dependencies from nixpkgs | |
aiohttp | |
bottleneck | |
setuptools-scm==5.0.2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs ? import (fetchTarball { # NixOS 20.09 | |
url = "https://github.com/NixOS/nixpkgs/archive/cd63096d6d887d689543a0b97743d28995bc9bc3.tar.gz"; | |
sha256 = "1wg61h4gndm3vcprdcg7rc4s1v3jkm5xd7lw8r2f67w502y94gcy"; | |
}) { config = { allowBroken = true; }; } | |
, python ? "python38" | |
, pythonPackages ? builtins.getAttr (python + "Packages") pkgs | |
, requirements ? ./. + "/python-packages.nix" | |
}: | |
with builtins; | |
with pkgs; | |
with pkgs.lib; | |
let | |
# Load generated requirements | |
requirementsFunc = import requirements { | |
inherit pkgs; | |
inherit (builtins) fetchurl; | |
inherit (pkgs) fetchgit fetchhg; | |
}; | |
# List package names in requirements | |
requirementsNames = attrNames (requirementsFunc {} {}); | |
# Return base name from python drv name or name when not python drv | |
pythonNameOrName = drv: | |
if hasAttr "overridePythonAttrs" drv then drv.pname else drv.name; | |
# Merge named input list from nixpkgs drv with input list from requirements drv | |
mergedInputs = old: new: inputsName: self: super: | |
(attrByPath [ inputsName ] [] new) ++ map | |
(x: attrByPath [ (pythonNameOrName x) ] x self) | |
(filter (x: !isNull x) (attrByPath [ inputsName ] [] old)); | |
# Merge package drv from nixpkgs drv with requirements drv | |
mergedPackage = old: new: self: super: | |
if isString new.src | |
&& !isNull (match ".*\.whl" new.src) # do not merge build inputs for wheels | |
&& new.pname != "wheel" # ... | |
then new.overridePythonAttrs(old: rec { | |
propagatedBuildInputs = | |
mergedInputs old new "propagatedBuildInputs" self super; | |
}) | |
else old.overridePythonAttrs(old: rec { | |
inherit (new) pname version src; | |
name = "${pname}-${version}"; | |
checkInputs = | |
mergedInputs old new "checkInputs" self super; | |
buildInputs = | |
mergedInputs old new "buildInputs" self super; | |
nativeBuildInputs = | |
mergedInputs old new "nativeBuildInputs" self super; | |
propagatedBuildInputs = | |
mergedInputs old new "propagatedBuildInputs" self super; | |
doCheck = false; | |
}); | |
# Build python with manual aliases for naming differences between world and nix | |
buildPython = (pythonPackages.python.override { | |
packageOverrides = self: super: | |
listToAttrs (map (name: { | |
name = name; value = getAttr (getAttr name aliases) super; | |
}) (filter (x: hasAttr (getAttr x aliases) super) (attrNames aliases))); | |
}); | |
# Build target python with all generated & customized requirements | |
targetPython = (buildPython.override { | |
packageOverrides = self: super: | |
# 1) Merge packages already in pythonPackages | |
let super_ = (requirementsFunc self buildPython.pkgs); # from requirements | |
results = (listToAttrs (map (name: let new = getAttr name super_; in { | |
inherit name; | |
value = mergedPackage (getAttr name buildPython.pkgs) new self super_; | |
}) | |
(filter (name: hasAttr "overridePythonAttrs" | |
(if (tryEval (attrByPath [ name ] {} buildPython.pkgs)).success | |
then (attrByPath [ name ] {} buildPython.pkgs) else {})) | |
requirementsNames))) | |
// # 2) with packages only in requirements or disabled in nixpkgs | |
(listToAttrs (map (name: { inherit name; value = (getAttr name super_); }) | |
(filter (name: (! ((hasAttr name buildPython.pkgs) && | |
(tryEval (getAttr name buildPython.pkgs)).success))) | |
requirementsNames))); | |
in # 3) finally, apply overrides (with aliased drvs mapped back) | |
(let final = (super // (results // | |
(listToAttrs (map (name: { | |
name = getAttr name aliases; value = getAttr name results; | |
}) (filter (x: hasAttr x results) (attrNames aliases)))) | |
)); in (final // (overrides self final))); | |
self = buildPython; | |
}); | |
# Helper to always return a list | |
asList = name: attrs: | |
if hasAttr name attrs then | |
let candidate = getAttr name attrs; in | |
if isList candidate then candidate else [] | |
else []; | |
# Alias packages with different names in requirements and in nixpkgs | |
aliases = { | |
"bottleneck" = "Bottleneck"; | |
"sqlalchemy" = "SQLAlchemy"; | |
"typing-extensions" = "typing_extensions"; | |
"setuptools-scm" = "setuptools_scm"; | |
}; | |
# Final overrides to fix issues all the magic above cannot fix automatically | |
overrides = self: super: { | |
"cryptography" = super."cryptography".overridePythonAttrs(old: { | |
doCheck = false; | |
}); | |
"PyICU" = super."PyICU".overridePythonAttrs(old: { | |
patches = []; | |
}); | |
"sphinx" = super."sphinx".overridePythonAttrs(old: { | |
propagatedBuildInputs = old.propagatedBuildInputs ++ [ self.packaging ]; | |
}); | |
"new-py" = super."new-py".overridePythonAttrs(old: { | |
postInstall = '' | |
rm $out/${self.python.sitePackages}/__init__.py | |
rm $out/${self.python.sitePackages}/__pycache__/__init__.cpython-38.pyc | |
''; | |
}); | |
}; | |
in rec { | |
inherit buildPython targetPython; | |
python = targetPython.withPackages(ps: map (name: getAttr name ps) requirementsNames); | |
env = pkgs.buildEnv { | |
name = "env"; | |
paths = [ | |
python | |
]; | |
}; | |
shell = pkgs.mkShell { | |
buildInputs = [ | |
python | |
]; | |
}; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs ? import <nixpkgs> {} | |
}: | |
pkgs.mkShell { | |
buildInputs = [ | |
(import ./setup.nix {}).python | |
]; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment