diff --git a/pkgs/README.rst b/pkgs/README.rst deleted file mode 100644 --- a/pkgs/README.rst +++ /dev/null @@ -1,28 +0,0 @@ - -============================== - Generate the Nix expressions -============================== - -Details can be found in the repository of `RhodeCode Enterprise CE`_ inside of -the file `docs/contributing/dependencies.rst`. - -Start the environment as follows: - -.. code:: shell - - nix-shell pkgs/shell-generate.nix - - -Python dependencies -=================== - -.. code:: shell - - pip2nix generate --licenses - # or faster - nix-shell pkgs/shell-generate.nix --command "pip2nix generate --licenses" - - -.. Links - -.. _RhodeCode Enterprise CE: https://code.rhodecode.com/rhodecode-enterprise-ce diff --git a/pkgs/nix-common/pip2nix.nix b/pkgs/nix-common/pip2nix.nix deleted file mode 100755 --- a/pkgs/nix-common/pip2nix.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ pkgs -, pythonPackages -}: - -rec { - pip2nix-src = pkgs.fetchzip { - url = https://code.rhodecode.com/upstream/pip2nix/artifacts/download/0-007f541a-7294-4a4c-9b52-ba102ce265f1.tar.gz; - sha256 = "02747glj0v6pdj0ylcwnrvp38ig8ramvipn9z3la9gknx6rhxrh6"; - }; - - pip2nix = import pip2nix-src { - inherit - pkgs - pythonPackages; - }; - - flit = pythonPackages.flit; - - cython = pythonPackages.pip-tools; - - pip-tools = pythonPackages.pip-tools; - - setuptools = pythonPackages.setuptools; - - wheel = pythonPackages.wheel; - - pip = pythonPackages.pip; - -} diff --git a/pkgs/overlays.nix b/pkgs/overlays.nix deleted file mode 100755 --- a/pkgs/overlays.nix +++ /dev/null @@ -1,100 +0,0 @@ -self: super: { - - # change GIT version - # latest supported are in: https://github.com/NixOS/nixpkgs/tree/master/pkgs/applications/version-management/git-and-tools/git - git = super.lib.overrideDerivation super.git (oldAttrs: { - name = "git-2.25.3"; - src = self.fetchurl { - url = "https://www.kernel.org/pub/software/scm/git/git-2.25.3.tar.xz"; - sha256 = "0yvr97cl0dvj3fwblq1mb0cp97v8hrn9l98p8b1jx8815mbsnz9h"; - }; - - # patches come from: https://github.com/NixOS/nixpkgs/tree/master/pkgs/applications/version-management/git-and-tools/git - patches = [ - ./patches/git/docbook2texi.patch - ./patches/git/git-sh-i18n.patch - ./patches/git/ssh-path.patch - ./patches/git/git-send-email-honor-PATH.patch - ./patches/git/installCheck-path.patch - ]; - - }); - - libgit2rc = super.lib.overrideDerivation super.libgit2 (oldAttrs: { - name = "libgit2-1.0.1"; - version = "1.0.1"; - - src = self.fetchFromGitHub { - owner = "libgit2"; - repo = "libgit2"; - rev = "v1.0.1"; - sha256 = "0xqdnvrq1bnf8hxh9xjw25y2cg91agvd9jr5qwd30z2a0dzll22v"; - }; - - cmakeFlags = [ "-DTHREADSAFE=ON" "-DUSE_HTTPS=no"]; - - buildInputs = [ - super.zlib - super.libssh2 - super.openssl - super.curl - ]; - - }); - - # Override subversion derivation to - # - activate special python bindings - subversionrc = - - let - py3c = self.python38Packages.buildPythonPackage rec { - pname = "py3c"; - version = "1.1"; - src = self.fetchurl { - url = "https://github.com/encukou/py3c/archive/v1.1.tar.gz"; - sha256 = "086xxccgzr4zkhsjkbcakydghrmll3rkxdcxhp5d1pidr4mw5zy7"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = []; - meta = { - license = [ ]; - }; - - preBuild = '' - make install - ''; - }; - - pythonWithEnv = self.python38Packages.python.buildEnv.override { - extraLibs = [ py3c ]; - }; - - subversionWithPython = super.subversion.override { - httpSupport = true; # client must support http - pythonBindings = true; - python = pythonWithEnv; - }; - - in - super.lib.overrideDerivation subversionWithPython (oldAttrs: { - name = "subversion-1.14.0"; - src = self.fetchurl { - url = "https://archive.apache.org/dist/subversion/subversion-1.14.0.tar.gz"; - sha256 = "1l1px5kva5a13pi2rkxfgxfvypvl6bmbkdag6168fhayad3i2ggg"; - }; - - ## use internal lz4/utf8proc because it is stable and shipped with SVN - configureFlags = oldAttrs.configureFlags ++ [ - " --with-lz4=internal" - " --with-utf8proc=internal" - " --with-py3c=${py3c}/include/python3.8/py3c/" - ]; - }); - - - -} diff --git a/pkgs/patches/dulwich/handle-dir-refs.patch b/pkgs/patches/dulwich/handle-dir-refs.patch deleted file mode 100644 --- a/pkgs/patches/dulwich/handle-dir-refs.patch +++ /dev/null @@ -1,15 +0,0 @@ -This patch allows handling directories inside the refs/heads. This was added in dulwich -0.19.X series - -diff -rup dulwich-0.13.0-orig/dulwich/refs.py dulwich-0.13.0/dulwich/refs.py ---- dulwich-0.13.0-orig/dulwich/refs.py 2018-10-09 09:42:38.182597268 +0200 -+++ dulwich-0.13.0/dulwich/refs.py 2018-10-09 09:43:39.057145566 +0200 -@@ -509,7 +509,7 @@ class DiskRefsContainer(RefsContainer): - # Read only the first 40 bytes - return header + f.read(40 - len(SYMREF)) - except IOError as e: -- if e.errno == errno.ENOENT: -+ if e.errno in (errno.ENOENT, errno.EISDIR): - return None - raise - diff --git a/pkgs/patches/git/docbook2texi.patch b/pkgs/patches/git/docbook2texi.patch deleted file mode 100644 --- a/pkgs/patches/git/docbook2texi.patch +++ /dev/null @@ -1,38 +0,0 @@ -This patch does two things: (1) use the right name for `docbook2texi', -and (2) make sure `gitman.info' isn't produced since it's broken (duplicate -node names). - -diff --git a/Documentation/Makefile b/Documentation/Makefile -index 26a2342bea..ceccd67ebb 100644 ---- a/Documentation/Makefile -+++ b/Documentation/Makefile -@@ -132,7 +132,7 @@ HTML_REPO = ../../git-htmldocs - - MAKEINFO = makeinfo - INSTALL_INFO = install-info --DOCBOOK2X_TEXI = docbook2x-texi -+DOCBOOK2X_TEXI = docbook2texi - DBLATEX = dblatex - ASCIIDOC_DBLATEX_DIR = /etc/asciidoc/dblatex - DBLATEX_COMMON = -p $(ASCIIDOC_DBLATEX_DIR)/asciidoc-dblatex.xsl -s $(ASCIIDOC_DBLATEX_DIR)/asciidoc-dblatex.sty -@@ -250,7 +250,7 @@ man1: $(DOC_MAN1) - man5: $(DOC_MAN5) - man7: $(DOC_MAN7) - --info: git.info gitman.info -+info: git.info - - pdf: user-manual.pdf - -@@ -266,10 +266,9 @@ install-man: man - - install-info: info - $(INSTALL) -d -m 755 $(DESTDIR)$(infodir) -- $(INSTALL) -m 644 git.info gitman.info $(DESTDIR)$(infodir) -+ $(INSTALL) -m 644 git.info $(DESTDIR)$(infodir) - if test -r $(DESTDIR)$(infodir)/dir; then \ - $(INSTALL_INFO) --info-dir=$(DESTDIR)$(infodir) git.info ;\ -- $(INSTALL_INFO) --info-dir=$(DESTDIR)$(infodir) gitman.info ;\ - else \ - echo "No directory found in $(DESTDIR)$(infodir)" >&2 ; \ - fi diff --git a/pkgs/patches/git/git-send-email-honor-PATH.patch b/pkgs/patches/git/git-send-email-honor-PATH.patch deleted file mode 100644 --- a/pkgs/patches/git/git-send-email-honor-PATH.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt -index 1afe9fc858..05dd7c3a90 100644 ---- a/Documentation/git-send-email.txt -+++ b/Documentation/git-send-email.txt -@@ -215,8 +215,7 @@ a password is obtained using 'git-credential'. - specify a full pathname of a sendmail-like program instead; - the program must support the `-i` option. Default value can - be specified by the `sendemail.smtpServer` configuration -- option; the built-in default is to search for `sendmail` in -- `/usr/sbin`, `/usr/lib` and $PATH if such program is -+ option; the built-in default is to search in $PATH if such program is - available, falling back to `localhost` otherwise. - - --smtp-server-port=:: -diff --git a/git-send-email.perl b/git-send-email.perl -index 8eb63b5a2f..74a61d8213 100755 ---- a/git-send-email.perl -+++ b/git-send-email.perl -@@ -956,8 +956,7 @@ sub expand_one_alias { - } - - if (!defined $smtp_server) { -- my @sendmail_paths = qw( /usr/sbin/sendmail /usr/lib/sendmail ); -- push @sendmail_paths, map {"$_/sendmail"} split /:/, $ENV{PATH}; -+ my @sendmail_paths = map {"$_/sendmail"} split /:/, $ENV{PATH}; - foreach (@sendmail_paths) { - if (-x $_) { - $smtp_server = $_; diff --git a/pkgs/patches/git/git-sh-i18n.patch b/pkgs/patches/git/git-sh-i18n.patch deleted file mode 100644 --- a/pkgs/patches/git/git-sh-i18n.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff --git a/git-sh-i18n.sh b/git-sh-i18n.sh -index e1d917fd27..e90f8e1414 100644 ---- a/git-sh-i18n.sh -+++ b/git-sh-i18n.sh -@@ -26,7 +26,7 @@ then - elif test -n "$GIT_INTERNAL_GETTEXT_TEST_FALLBACKS" - then - : no probing necessary --elif type gettext.sh >/dev/null 2>&1 -+elif type @gettext@/bin/gettext.sh >/dev/null 2>&1 - then - # GNU libintl's gettext.sh - GIT_INTERNAL_GETTEXT_SH_SCHEME=gnu -@@ -43,7 +43,8 @@ export GIT_INTERNAL_GETTEXT_SH_SCHEME - case "$GIT_INTERNAL_GETTEXT_SH_SCHEME" in - gnu) - # Use libintl's gettext.sh, or fall back to English if we can't. -- . gettext.sh -+ . @gettext@/bin/gettext.sh -+ export PATH=@gettext@/bin:$PATH - ;; - gettext_without_eval_gettext) - # Solaris has a gettext(1) but no eval_gettext(1) diff --git a/pkgs/patches/git/installCheck-path.patch b/pkgs/patches/git/installCheck-path.patch deleted file mode 100644 --- a/pkgs/patches/git/installCheck-path.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/t/test-lib.sh b/t/test-lib.sh -index 8665b0a9b6..8bb892b1af 100644 ---- a/t/test-lib.sh -+++ b/t/test-lib.sh -@@ -1227,7 +1227,7 @@ elif test -n "$GIT_TEST_INSTALLED" - then - GIT_EXEC_PATH=$($GIT_TEST_INSTALLED/git --exec-path) || - error "Cannot run git from $GIT_TEST_INSTALLED." -- PATH=$GIT_TEST_INSTALLED:$GIT_BUILD_DIR/t/helper:$PATH -+ PATH=$GIT_TEST_INSTALLED:$GIT_BUILD_DIR/t/helper:$GIT_BUILD_DIR:$PATH - GIT_EXEC_PATH=${GIT_TEST_EXEC_PATH:-$GIT_EXEC_PATH} - else # normal case, use ../bin-wrappers only unless $with_dashes: - if test -n "$no_bin_wrappers" diff --git a/pkgs/patches/git/ssh-path.patch b/pkgs/patches/git/ssh-path.patch deleted file mode 100644 --- a/pkgs/patches/git/ssh-path.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff --git a/connect.c b/connect.c -index 4813f005ab..b3f12f3268 100644 ---- a/connect.c -+++ b/connect.c -@@ -1183,7 +1183,7 @@ static void fill_ssh_args(struct child_process *conn, const char *ssh_host, - - ssh = getenv("GIT_SSH"); - if (!ssh) -- ssh = "ssh"; -+ ssh = "@ssh@"; - variant = determine_ssh_variant(ssh, 0); - } - -diff --git a/git-gui/lib/remote_add.tcl b/git-gui/lib/remote_add.tcl -index 480a6b30d0..7817204241 100644 ---- a/git-gui/lib/remote_add.tcl -+++ b/git-gui/lib/remote_add.tcl -@@ -139,7 +139,7 @@ method _add {} { - # Parse the location - if { [regexp {(?:git\+)?ssh://([^/]+)(/.+)} $location xx host path] - || [regexp {([^:][^:]+):(.+)} $location xx host path]} { -- set ssh ssh -+ set ssh @ssh@ - if {[info exists env(GIT_SSH)]} { - set ssh $env(GIT_SSH) - } diff --git a/pkgs/python-packages-overrides.nix b/pkgs/python-packages-overrides.nix deleted file mode 100644 --- a/pkgs/python-packages-overrides.nix +++ /dev/null @@ -1,112 +0,0 @@ -# Overrides for the generated python-packages.nix -# -# This function is intended to be used as an extension to the generated file -# python-packages.nix. The main objective is to add needed dependencies of C -# libraries and tweak the build instructions where needed. - -{ pkgs -, basePythonPackages -}: - -let - sed = "sed -i"; - -in - -self: super: { - - "cffi" = super."cffi".override (attrs: { - buildInputs = with self; attrs.buildInputs ++ [ - pkgs.libffi - ]; - }); - - "dogpile.cache" = super."dogpile.cache".override (attrs: { - # dogpile wants to be both a regular module and namespace package - postPatch = '' - rm dogpile/core.py - substituteInPlace dogpile/cache/__init__.py \ - --replace "from .. import __version__" "__version__ = '0.9.0'" - substituteInPlace dogpile/cache/region.py \ - --replace "from . " "from dogpile.cache " \ - --replace "from .. " "from dogpile.lock " - ''; - }); - - "gevent" = super."gevent".override (attrs: { - propagatedBuildInputs = with self; attrs.propagatedBuildInputs ++ [ - # NOTE: (marcink) odd requirements from gevent aren't set properly, - # thus we need to inject psutil manually - self."psutil" - ]; - }); - - "hgsubversion" = super."hgsubversion".override (attrs: { - propagatedBuildInputs = attrs.propagatedBuildInputs ++ [ - pkgs.sqlite - #basePythonPackages.sqlite3 - self.mercurial - ]; - }); - - "subvertpy" = super."subvertpy".override (attrs: { - SVN_PREFIX = "${pkgs.subversion.dev}"; - nativeBuildInputs = with self; attrs.nativeBuildInputs ++ [ - pkgs.apr.dev - pkgs.aprutil - pkgs.subversionrc - ]; - buildInputs = with self; attrs.buildInputs ++ [ - pkgs.subversionrc - ]; - }); - - "mercurial" = super."mercurial".override (attrs: { - nativeBuildInputs = with self; attrs.nativeBuildInputs ++ [ - # self.python.modules.curses - ]; - postInstall = '' - rm -f $out/${self.python.sitePackages}/hgext3rd/__pycache__/__init__.*.pyc - ''; - }); - - "hg-evolve" = super."hg-evolve".override (attrs: { - postInstall = '' - rm -f $out/${self.python.sitePackages}/hgext3rd/__init__.py - rm -f $out/${self.python.sitePackages}/hgext3rd/__init__.pyc - ''; - }); - - "dulwich" = super."dulwich".override (attrs: { - patches = [ - ./patches/dulwich/handle-dir-refs.patch - ]; - }); - - "pygit2" = super."pygit2".override (attrs: { - nativeBuildInputs = with self; attrs.nativeBuildInputs ++ [ - pkgs.libffi - pkgs.libgit2rc - ]; - buildInputs = with self; attrs.buildInputs ++ [ - pkgs.libgit2rc - ]; - }); - - "py" = super."py".override (attrs: { - buildInputs = with self; attrs.buildInputs ++ [ - self."setuptools-scm" - ]; - }); - - "zipp" = super."zipp".override (attrs: { - buildInputs = with self; attrs.buildInputs ++ [ - self."toml" - ]; - }); - - # Avoid that base packages screw up the build process - inherit (basePythonPackages) - setuptools; - -} diff --git a/pkgs/python-packages.nix b/pkgs/python-packages.nix deleted file mode 100644 --- a/pkgs/python-packages.nix +++ /dev/null @@ -1,1226 +0,0 @@ -# Generated by pip2nix 0.9.0 -# See https://github.com/nix-community/pip2nix - -{ pkgs, fetchurl, fetchgit, fetchhg }: - -self: super: { - "atomicwrites" = super.buildPythonPackage rec { - pname = "atomicwrites"; - version = "1.4.0"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/55/8d/74a75635f2c3c914ab5b3850112fd4b0c8039975ecb320e4449aa363ba54/atomicwrites-1.4.0.tar.gz"; - sha256 = "0yla2svfhfqrcj8qbyqzx7wi4jy0dwcxvlkg0k3zjd54s5m3jw5f"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = []; - meta = { - license = [ pkgs.lib.licenses.mit ]; - }; - }; - "attrs" = super.buildPythonPackage rec { - pname = "attrs"; - version = "19.3.0"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/98/c3/2c227e66b5e896e15ccdae2e00bbc69aa46e9a8ce8869cc5fa96310bf612/attrs-19.3.0.tar.gz"; - sha256 = "0wky4h28n7xnr6xv69p9z6kv8bzn50d10c3drmd9ds8gawbcxdzp"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = [ - self."setuptools" - self."wheel" - ]; - propagatedBuildInputs = []; - meta = { - license = [ pkgs.lib.licenses.mit ]; - }; - }; - "beautifulsoup4" = super.buildPythonPackage rec { - pname = "beautifulsoup4"; - version = "4.6.3"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/88/df/86bffad6309f74f3ff85ea69344a078fc30003270c8df6894fca7a3c72ff/beautifulsoup4-4.6.3.tar.gz"; - sha256 = "041dhalzjciw6qyzzq7a2k4h1yvyk76xigp35hv5ibnn448ydy4h"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = []; - meta = { - license = [ pkgs.lib.licenses.mit ]; - }; - }; - "cached-property" = super.buildPythonPackage rec { - pname = "cached-property"; - version = "1.5.1"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/57/8e/0698e10350a57d46b3bcfe8eff1d4181642fd1724073336079cb13c5cf7f/cached-property-1.5.1.tar.gz"; - sha256 = "010m1bl380l2r3vwq24r5v14l6gwvgm9v0mqqjkjss552jgsa5wj"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = []; - meta = { - license = [ pkgs.lib.licenses.bsdOriginal ]; - }; - }; - "cffi" = super.buildPythonPackage rec { - pname = "cffi"; - version = "1.14.0"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/05/54/3324b0c46340c31b909fcec598696aaec7ddc8c18a63f2db352562d3354c/cffi-1.14.0.tar.gz"; - sha256 = "1dn279gw5ql8i5n3s5v4rnv96rhhjjfn7xq729qbl5bs2954yf1d"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = [ - self."pycparser" - ]; - meta = { - license = [ pkgs.lib.licenses.mit ]; - }; - }; - "configobj" = super.buildPythonPackage rec { - pname = "configobj"; - version = "5.0.6"; - src = fetchurl { - url = "https://code.rhodecode.com/upstream/configobj/artifacts/download/0-012de99a-b1e1-4f64-a5c0-07a98a41b324.tar.gz?md5=6a513f51fe04b2c18cf84c1395a7c626"; - sha256 = "0kqfrdfr14mw8yd8qwq14dv2xghpkjmd3yjsy8dfcbvpcc17xnxp"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = [ - self."six" - ]; - meta = { - license = [ pkgs.lib.licenses.bsdOriginal ]; - }; - }; - "contextlib2" = super.buildPythonPackage rec { - pname = "contextlib2"; - version = "0.6.0.post1"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/02/54/669207eb72e3d8ae8b38aa1f0703ee87a0e9f88f30d3c0a47bebdb6de242/contextlib2-0.6.0.post1.tar.gz"; - sha256 = "0bhnr2ac7wy5l85ji909gyljyk85n92w8pdvslmrvc8qih4r1x01"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = []; - meta = { - license = [ pkgs.lib.licenses.psfl ]; - }; - }; - "cov-core" = super.buildPythonPackage rec { - pname = "cov-core"; - version = "1.15.0"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/4b/87/13e75a47b4ba1be06f29f6d807ca99638bedc6b57fa491cd3de891ca2923/cov-core-1.15.0.tar.gz"; - sha256 = "0k3np9ymh06yv1ib96sb6wfsxjkqhmik8qfsn119vnhga9ywc52a"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = [ - self."coverage" - ]; - meta = { - license = [ pkgs.lib.licenses.mit ]; - }; - }; - "coverage" = super.buildPythonPackage rec { - pname = "coverage"; - version = "4.5.4"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/85/d5/818d0e603685c4a613d56f065a721013e942088047ff1027a632948bdae6/coverage-4.5.4.tar.gz"; - sha256 = "0p0j4di6h8k6ica7jwwj09azdcg4ycxq60i9qsskmsg94cd9yzg0"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = []; - meta = { - license = [ pkgs.lib.licenses.asl20 ]; - }; - }; - "decorator" = super.buildPythonPackage rec { - pname = "decorator"; - version = "4.1.2"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/bb/e0/f6e41e9091e130bf16d4437dabbac3993908e4d6485ecbc985ef1352db94/decorator-4.1.2.tar.gz"; - sha256 = "1d8npb11kxyi36mrvjdpcjij76l5zfyrz2f820brf0l0rcw4vdkw"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = []; - meta = { - license = [ { fullName = "new BSD License"; } pkgs.lib.licenses.bsdOriginal ]; - }; - }; - "dogpile.cache" = super.buildPythonPackage rec { - pname = "dogpile.cache"; - version = "0.9.2"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/b5/02/9692c82808341747afc87a7c2b701c8eed76c05ec6bc98844c102a537de7/dogpile.cache-0.9.2.tar.gz"; - sha256 = "17h5bkijp4zj49a9a0dd608r4lq5xxrkgiydzfg1gq2xz8gxx7dw"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = [ - self."decorator" - ]; - meta = { - license = [ pkgs.lib.licenses.mit pkgs.lib.licenses.bsdOriginal ]; - }; - }; - "dogpile.core" = super.buildPythonPackage rec { - pname = "dogpile.core"; - version = "0.4.1"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/0e/77/e72abc04c22aedf874301861e5c1e761231c288b5de369c18be8f4b5c9bb/dogpile.core-0.4.1.tar.gz"; - sha256 = "0xpdvg4kr1isfkrh1rfsh7za4q5a5s6l2kf9wpvndbwf3aqjyrdy"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = []; - meta = { - license = [ pkgs.lib.licenses.bsdOriginal ]; - }; - }; - "dulwich" = super.buildPythonPackage rec { - pname = "dulwich"; - version = "0.13.0"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/84/95/732d280eee829dacc954e8109f97b47abcadcca472c2ab013e1635eb4792/dulwich-0.13.0.tar.gz"; - sha256 = "0f1jwvrh549c4rgavkn3wizrch904s73s4fmrxykxy9cw8s57lwf"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = []; - meta = { - license = [ pkgs.lib.licenses.gpl2Plus ]; - }; - }; - "gprof2dot" = super.buildPythonPackage rec { - pname = "gprof2dot"; - version = "2017.9.19"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/9d/36/f977122502979f3dfb50704979c9ed70e6b620787942b089bf1af15f5aba/gprof2dot-2017.9.19.tar.gz"; - sha256 = "17ih23ld2nzgc3xwgbay911l6lh96jp1zshmskm17n1gg2i7mg6f"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = []; - meta = { - license = [ { fullName = "LGPL"; } { fullName = "GNU Lesser General Public License v3 or later (LGPLv3+)"; } ]; - }; - }; - "gunicorn" = super.buildPythonPackage rec { - pname = "gunicorn"; - version = "20.0.4"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/33/b8/f5fd32e1f46fcfefd7cb5c84dee1cf657ab3540ee92b8a09fc40e4887bf0/gunicorn-20.0.4.tar.gz"; - sha256 = "09n6fc019bgrvph1s5h1lwhn2avcsprw6ncd203qhra3i8mvn10r"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = [ - self."setuptools" - ]; - meta = { - license = [ pkgs.lib.licenses.mit ]; - }; - }; - "hg-evolve" = super.buildPythonPackage rec { - pname = "hg-evolve"; - version = "10.0.0"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/b8/81/d86d3b4e6c602074805b086ae7471672d24d7ffa4f68ddb97bf68dd460fd/hg-evolve-10.0.0.tar.gz"; - sha256 = "03kn1c62y6rb851wjhsaxkrwq223hkc4ij59i85999byyb2hyqad"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = []; - meta = { - license = [ { fullName = "GPLv2+"; } ]; - }; - }; - "hgsubversion" = super.buildPythonPackage rec { - pname = "hgsubversion"; - version = "1.9.3"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/a3/53/6d205e641f3e09abcf1ddaed66e5e4b20da22d0145566d440a02c9e35f0d/hgsubversion-1.9.3.tar.gz"; - sha256 = "0nymcjlch8c4zjbncrs30p2nrbylsf25g3h6mr0zzzxr141h3sig"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = [ - self."mercurial" - self."subvertpy" - ]; - meta = { - license = [ pkgs.lib.licenses.gpl1 ]; - }; - }; - "hupper" = super.buildPythonPackage rec { - pname = "hupper"; - version = "1.10.2"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/41/24/ea90fef04706e54bd1635c05c50dc9cf87cda543c59303a03e7aa7dda0ce/hupper-1.10.2.tar.gz"; - sha256 = "0am0p6g5cz6xmcaf04xq8q6dzdd9qz0phj6gcmpsckf2mcyza61q"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = [ - self."setuptools" - self."wheel" - ]; - propagatedBuildInputs = []; - meta = { - license = [ pkgs.lib.licenses.mit ]; - }; - }; - "importlib-metadata" = super.buildPythonPackage rec { - pname = "importlib-metadata"; - version = "1.6.1"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/aa/9a/8483b77e2decd95963d7e34bc9bc91a26e71fd89b57d8cf978ca24747c7f/importlib_metadata-1.6.1.tar.gz"; - sha256 = "0if5fp7wgr7gdrm47dw1v9bpfvb74zchljm7ac7w1zlc0q4ds185"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = [ - self."setuptools" - self."wheel" - self."setuptools-scm" - ]; - propagatedBuildInputs = [ - self."zipp" - ]; - meta = { - license = [ pkgs.lib.licenses.asl20 ]; - }; - }; - "mercurial" = super.buildPythonPackage rec { - pname = "mercurial"; - version = "5.4.1"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/83/54/d81317f98f31f05026dd4255828e04a1c4a2e1c4e8d7291e0b5b51d99b07/mercurial-5.4.1.tar.gz"; - sha256 = "1ilam0dz121nn4852jgkgyzyrvk3hn5cqnivy8gk1qg815mh4763"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = []; - meta = { - license = [ pkgs.lib.licenses.gpl2Plus pkgs.lib.licenses.gpl1 ]; - }; - }; - "mock" = super.buildPythonPackage rec { - pname = "mock"; - version = "3.0.5"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/2e/ab/4fe657d78b270aa6a32f027849513b829b41b0f28d9d8d7f8c3d29ea559a/mock-3.0.5.tar.gz"; - sha256 = "1hrp6j0yrx2xzylfv02qa8kph661m6yq4p0mc8fnimch9j4psrc3"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = [ - self."six" - ]; - meta = { - license = [ { fullName = "OSI Approved :: BSD License"; } pkgs.lib.licenses.bsdOriginal ]; - }; - }; - "more-itertools" = super.buildPythonPackage rec { - pname = "more-itertools"; - version = "8.3.0"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/16/e8/b371710ad458e56b6c74b82352fdf1625e75c03511c66a75314f1084f057/more-itertools-8.3.0.tar.gz"; - sha256 = "1gk7jbl4f5hm99cbd4ci3xp79jxf6ng0i693ir7mwbr3labvi2sm"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = []; - meta = { - license = [ pkgs.lib.licenses.mit ]; - }; - }; - "msgpack-python" = super.buildPythonPackage rec { - pname = "msgpack-python"; - version = "0.5.6"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/8a/20/6eca772d1a5830336f84aca1d8198e5a3f4715cd1c7fc36d3cc7f7185091/msgpack-python-0.5.6.tar.gz"; - sha256 = "16wh8qgybmfh4pjp8vfv78mdlkxfmcasg78lzlnm6nslsfkci31p"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = []; - meta = { - license = [ pkgs.lib.licenses.asl20 ]; - }; - }; - "packaging" = super.buildPythonPackage rec { - pname = "packaging"; - version = "20.4"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/55/fd/fc1aca9cf51ed2f2c11748fa797370027babd82f87829c7a8e6dbe720145/packaging-20.4.tar.gz"; - sha256 = "1y3rc1ams1i25calk6b9jf1gl85ix5a23a146swjvhdr8x7zfms3"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = [ - self."pyparsing" - self."six" - ]; - meta = { - license = [ { fullName = "BSD-2-Clause or Apache-2.0"; } pkgs.lib.licenses.bsdOriginal pkgs.lib.licenses.asl20 ]; - }; - }; - "pastedeploy" = super.buildPythonPackage rec { - pname = "pastedeploy"; - version = "2.1.0"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/c4/e9/972a1c20318b3ae9edcab11a6cef64308fbae5d0d45ab52c6f8b2b8f35b8/PasteDeploy-2.1.0.tar.gz"; - sha256 = "16qsq5y6mryslmbp5pn35x4z8z3ndp5rpgl42h226879nrw9hmg7"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = []; - meta = { - license = [ pkgs.lib.licenses.mit ]; - }; - }; - "pathlib2" = super.buildPythonPackage rec { - pname = "pathlib2"; - version = "2.3.5"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/94/d8/65c86584e7e97ef824a1845c72bbe95d79f5b306364fa778a3c3e401b309/pathlib2-2.3.5.tar.gz"; - sha256 = "0s4qa8c082fdkb17izh4mfgwrjd1n5pya18wvrbwqdvvb5xs9nbc"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = [ - self."six" - ]; - meta = { - license = [ pkgs.lib.licenses.mit ]; - }; - }; - "plaster" = super.buildPythonPackage rec { - pname = "plaster"; - version = "1.0"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/37/e1/56d04382d718d32751017d32f351214384e529b794084eee20bb52405563/plaster-1.0.tar.gz"; - sha256 = "1hy8k0nv2mxq94y5aysk6hjk9ryb4bsd13g83m60hcyzxz3wflc3"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = [ - self."setuptools" - ]; - meta = { - license = [ pkgs.lib.licenses.mit ]; - }; - }; - "plaster-pastedeploy" = super.buildPythonPackage rec { - pname = "plaster-pastedeploy"; - version = "0.7"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/99/69/2d3bc33091249266a1bd3cf24499e40ab31d54dffb4a7d76fe647950b98c/plaster_pastedeploy-0.7.tar.gz"; - sha256 = "1zg7gcsvc1kzay1ry5p699rg2qavfsxqwl17mqxzr0gzw6j9679r"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = [ - self."setuptools" - self."wheel" - ]; - propagatedBuildInputs = [ - self."pastedeploy" - self."plaster" - ]; - meta = { - license = [ pkgs.lib.licenses.mit ]; - }; - }; - "pluggy" = super.buildPythonPackage rec { - pname = "pluggy"; - version = "0.13.1"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/f8/04/7a8542bed4b16a65c2714bf76cf5a0b026157da7f75e87cc88774aa10b14/pluggy-0.13.1.tar.gz"; - sha256 = "1c35qyhvy27q9ih9n899f3h4sdnpgq027dbiilly2qb5cvgarchm"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = [ - self."setuptools" - self."setuptools-scm" - self."wheel" - ]; - propagatedBuildInputs = []; - meta = { - license = [ pkgs.lib.licenses.mit ]; - }; - }; - "psutil" = super.buildPythonPackage rec { - pname = "psutil"; - version = "5.7.0"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/c4/b8/3512f0e93e0db23a71d82485ba256071ebef99b227351f0f5540f744af41/psutil-5.7.0.tar.gz"; - sha256 = "03jykdi3dgf1cdal9bv4fq9zjvzj9l9bs99gi5ar81sdl5nc2pk8"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = []; - meta = { - license = [ pkgs.lib.licenses.bsdOriginal ]; - }; - }; - "py" = super.buildPythonPackage rec { - pname = "py"; - version = "1.8.1"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/bd/8f/169d08dcac7d6e311333c96b63cbe92e7947778475e1a619b674989ba1ed/py-1.8.1.tar.gz"; - sha256 = "1ajjazg3913n0sp3vjyva9c2qh5anx8ziryng935f89604a0h9sy"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = []; - meta = { - license = [ pkgs.lib.licenses.mit ]; - }; - }; - "pycparser" = super.buildPythonPackage rec { - pname = "pycparser"; - version = "2.20"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/0f/86/e19659527668d70be91d0369aeaa055b4eb396b0f387a4f92293a20035bd/pycparser-2.20.tar.gz"; - sha256 = "1w0m3xvlrzq4lkbvd1ngfm8mdw64r1yxy6n7djlw6qj5d0km6ird"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = []; - meta = { - license = [ pkgs.lib.licenses.bsdOriginal ]; - }; - }; - "pygit2" = super.buildPythonPackage rec { - pname = "pygit2"; - version = "1.2.1"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/d0/c6/33e2df5722e3adf49adc6a2d3c2cdb5a5247236fd8f2063a0c4d058116a1/pygit2-1.2.1.tar.gz"; - sha256 = "11q3a0p4mvzdskla0c6ffcrddldfbh7dc4p5l6xrriwri88j356y"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = [ - self."setuptools" - self."wheel" - ]; - propagatedBuildInputs = [ - self."cached-property" - self."cffi" - ]; - meta = { - license = [ { fullName = "GPLv2 with linking exception"; } ]; - }; - }; - "pygments" = super.buildPythonPackage rec { - pname = "pygments"; - version = "2.6.1"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/6e/4d/4d2fe93a35dfba417311a4ff627489a947b01dc0cc377a3673c00cf7e4b2/Pygments-2.6.1.tar.gz"; - sha256 = "0i4gnd4q0mgkq0dp5wymn7ca8zjd8fgp63139svs6jf2c6h48wv4"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = []; - meta = { - license = [ pkgs.lib.licenses.bsdOriginal ]; - }; - }; - "pyparsing" = super.buildPythonPackage rec { - pname = "pyparsing"; - version = "2.4.7"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/c1/47/dfc9c342c9842bbe0036c7f763d2d6686bcf5eb1808ba3e170afdb282210/pyparsing-2.4.7.tar.gz"; - sha256 = "1hgc8qrbq1ymxbwfbjghv01fm3fbpjwpjwi0bcailxxzhf3yq0y2"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = []; - meta = { - license = [ pkgs.lib.licenses.mit ]; - }; - }; - "pyramid" = super.buildPythonPackage rec { - pname = "pyramid"; - version = "1.10.4"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/c2/43/1ae701c9c6bb3a434358e678a5e72c96e8aa55cf4cb1d2fa2041b5dd38b7/pyramid-1.10.4.tar.gz"; - sha256 = "0rkxs1ajycg2zh1c94xlmls56mx5m161sn8112skj0amza6cn36q"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = [ - self."setuptools" - self."wheel" - ]; - propagatedBuildInputs = [ - self."hupper" - self."plaster" - self."plaster-pastedeploy" - self."setuptools" - self."translationstring" - self."venusian" - self."webob" - self."zope.deprecation" - self."zope.interface" - ]; - meta = { - license = [ { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } { fullName = "Repoze Public License"; } ]; - }; - }; - "pytest" = super.buildPythonPackage rec { - pname = "pytest"; - version = "4.6.9"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/ec/2e/1602fca477ab3ccb1952f07db0536b60b6afafec16eced8063b553001509/pytest-4.6.9.tar.gz"; - sha256 = "0fgkmpc31nzy97fxfrkqbzycigdwxwwmninx3qhkzp81migggs0r"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = [ - self."setuptools" - self."setuptools-scm" - self."wheel" - ]; - propagatedBuildInputs = [ - self."atomicwrites" - self."attrs" - self."more-itertools" - self."packaging" - self."pluggy" - self."py" - self."six" - self."wcwidth" - ]; - meta = { - license = [ pkgs.lib.licenses.mit ]; - }; - }; - "pytest-cov" = super.buildPythonPackage rec { - pname = "pytest-cov"; - version = "2.8.1"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/13/8a/51f54b43a043c799bceca846594b9a310823a3e52df5ec27109cccba90f4/pytest-cov-2.8.1.tar.gz"; - sha256 = "0avzlk9p4nc44k7lpx9109dybq71xqnggxb9f4hp0l64pbc44ryc"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = [ - self."coverage" - self."pytest" - ]; - meta = { - license = [ pkgs.lib.licenses.mit pkgs.lib.licenses.bsdOriginal ]; - }; - }; - "pytest-profiling" = super.buildPythonPackage rec { - pname = "pytest-profiling"; - version = "1.7.0"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/39/70/22a4b33739f07f1732a63e33bbfbf68e0fa58cfba9d200e76d01921eddbf/pytest-profiling-1.7.0.tar.gz"; - sha256 = "0abz9gi26jpcfdzgsvwad91555lpgdc8kbymicmms8k2fqa8z4wk"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = [ - self."setuptools-git" - ]; - propagatedBuildInputs = [ - self."gprof2dot" - self."pytest" - self."six" - ]; - meta = { - license = [ pkgs.lib.licenses.mit ]; - }; - }; - "pytest-runner" = super.buildPythonPackage rec { - pname = "pytest-runner"; - version = "5.2"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/5b/82/1462f86e6c3600f2471d5f552fcc31e39f17717023df4bab712b4a9db1b3/pytest-runner-5.2.tar.gz"; - sha256 = "0awll1bva5zy8cspsxcpv7pjcrdf5c6pf56nqn4f74vvmlzfgiwn"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = [ - self."setuptools" - self."wheel" - self."setuptools-scm" - ]; - propagatedBuildInputs = []; - meta = { - license = [ pkgs.lib.licenses.mit ]; - }; - }; - "pytest-sugar" = super.buildPythonPackage rec { - pname = "pytest-sugar"; - version = "0.9.3"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/ba/35/edf24df4b2fe7d9005bdb9d166c18ae9cefd8b664e7fb2c8dfb7bc9db184/pytest-sugar-0.9.3.tar.gz"; - sha256 = "1i0hv3h49zvl62jbiyjag84carbrp3zprqzxffdr291nxavvac0n"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = [ - self."packaging" - self."pytest" - self."termcolor" - ]; - meta = { - license = [ pkgs.lib.licenses.bsdOriginal ]; - }; - }; - "pytest-timeout" = super.buildPythonPackage rec { - pname = "pytest-timeout"; - version = "1.3.3"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/13/48/7a166eaa29c1dca6cc253e3ba5773ff2e4aa4f567c1ea3905808e95ac5c1/pytest-timeout-1.3.3.tar.gz"; - sha256 = "1cczcjhw4xx5sjkhxlhc5c1bkr7x6fcyx12wrnvwfckshdvblc2a"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = [ - self."pytest" - ]; - meta = { - license = [ pkgs.lib.licenses.mit { fullName = "DFSG approved"; } ]; - }; - }; - "redis" = super.buildPythonPackage rec { - pname = "redis"; - version = "3.5.3"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/b3/17/1e567ff78c83854e16b98694411fe6e08c3426af866ad11397cddceb80d3/redis-3.5.3.tar.gz"; - sha256 = "18h5b87g15x3j6pb1h2q27ri37p2qpvc9n2wgn5yl3b6m3y0qzhf"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = []; - meta = { - license = [ pkgs.lib.licenses.mit ]; - }; - }; - "repoze.lru" = super.buildPythonPackage rec { - pname = "repoze.lru"; - version = "0.7"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/12/bc/595a77c4b5e204847fdf19268314ef59c85193a9dc9f83630fc459c0fee5/repoze.lru-0.7.tar.gz"; - sha256 = "0xzz1aw2smy8hdszrq8yhnklx6w1r1mf55061kalw3iq35gafa84"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = []; - meta = { - license = [ { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } { fullName = "Repoze Public License"; } ]; - }; - }; - "rhodecode-vcsserver" = super.buildPythonPackage rec { - pname = "rhodecode-vcsserver"; - version = "5.0.0"; - src = ./.; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = [ - self."pytest-runner" - ]; - propagatedBuildInputs = [ - self."beautifulsoup4" - self."configobj" - self."cov-core" - self."coverage" - self."decorator" - self."dogpile.cache" - self."dogpile.core" - self."dulwich" - self."gprof2dot" - self."gunicorn" - self."hg-evolve" - self."hgsubversion" - self."mercurial" - self."mock" - self."msgpack-python" - self."pastedeploy" - self."py" - self."pygit2" - self."pyramid" - self."pytest" - self."pytest-cov" - self."pytest-profiling" - self."pytest-runner" - self."pytest-sugar" - self."pytest-timeout" - self."redis" - self."repoze.lru" - self."simplejson" - self."six" - self."subvertpy" - self."translationstring" - self."waitress" - self."webob" - self."webtest" - self."zope.deprecation" - self."zope.interface" - ]; - meta = { - license = [ { fullName = "GNU General Public License v3 or later (GPLv3+)"; } { fullName = "GPL V3"; } ]; - }; - }; - "scandir" = super.buildPythonPackage rec { - pname = "scandir"; - version = "1.10.0"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/df/f5/9c052db7bd54d0cbf1bc0bb6554362bba1012d03e5888950a4f5c5dadc4e/scandir-1.10.0.tar.gz"; - sha256 = "1bkqwmf056pkchf05ywbnf659wqlp6lljcdb0y88wr9f0vv32ijd"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = []; - meta = { - license = [ pkgs.lib.licenses.bsdOriginal { fullName = "New BSD License"; } ]; - }; - }; - "setproctitle" = super.buildPythonPackage rec { - pname = "setproctitle"; - version = "1.1.10"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/5a/0d/dc0d2234aacba6cf1a729964383e3452c52096dc695581248b548786f2b3/setproctitle-1.1.10.tar.gz"; - sha256 = "163kplw9dcrw0lffq1bvli5yws3rngpnvrxrzdw89pbphjjvg0v2"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = []; - meta = { - license = [ pkgs.lib.licenses.bsdOriginal ]; - }; - }; - "setuptools-git" = super.buildPythonPackage rec { - pname = "setuptools-git"; - version = "1.2"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/05/97/dd99fa9c0d9627a7b3c103a00f1566d8193aca8d473884ed258cca82b06f/setuptools_git-1.2-py2.py3-none-any.whl"; - sha256 = "1yjc97r57mfsrvb3yx45cc1aryf6m9kbkmrhlfsv95vxrv64sxp7"; - }; - format = "wheel"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = []; - meta = { - license = [ pkgs.lib.licenses.bsdOriginal ]; - }; - }; - "setuptools-scm" = super.buildPythonPackage rec { - pname = "setuptools-scm"; - version = "4.1.2"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/ad/d3/e54f8b4cde0f6fb4f231629f570c1a33ded18515411dee6df6fe363d976f/setuptools_scm-4.1.2-py2.py3-none-any.whl"; - sha256 = "09jqn78qd7w5hik4v3hg4mw3byl0jm8hkwd5swgcxxx5xcp8w9b9"; - }; - format = "wheel"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = [ - self."setuptools" - ]; - meta = { - license = [ pkgs.lib.licenses.mit ]; - }; - }; - "simplejson" = super.buildPythonPackage rec { - pname = "simplejson"; - version = "3.16.0"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/e3/24/c35fb1c1c315fc0fffe61ea00d3f88e85469004713dab488dee4f35b0aff/simplejson-3.16.0.tar.gz"; - sha256 = "19cws1syk8jzq2pw43878dv6fjkb0ifvjpx0i9aajix6kc9jkwxi"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = []; - meta = { - license = [ pkgs.lib.licenses.mit { fullName = "Academic Free License (AFL)"; } ]; - }; - }; - "six" = super.buildPythonPackage rec { - pname = "six"; - version = "1.15.0"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/6b/34/415834bfdafca3c5f451532e8a8d9ba89a21c9743a0c59fbd0205c7f9426/six-1.15.0.tar.gz"; - sha256 = "0n82108wxn5giff50hd9ykjhd3zl7cndabdasi6568yvbh1rqqrh"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = []; - meta = { - license = [ pkgs.lib.licenses.mit ]; - }; - }; - "subvertpy" = super.buildPythonPackage rec { - pname = "subvertpy"; - version = "0.10.1"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/9d/76/99fa82affce75f5ac0f7dbe513796c3f37311ace0c68e1b063683b4f9b99/subvertpy-0.10.1.tar.gz"; - sha256 = "061ncy9wjz3zyv527avcrdyk0xygyssyy7p1644nhzhwp8zpybij"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = []; - meta = { - license = [ pkgs.lib.licenses.gpl2Plus pkgs.lib.licenses.lgpl21Plus ]; - }; - }; - "termcolor" = super.buildPythonPackage rec { - pname = "termcolor"; - version = "1.1.0"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/8a/48/a76be51647d0eb9f10e2a4511bf3ffb8cc1e6b14e9e4fab46173aa79f981/termcolor-1.1.0.tar.gz"; - sha256 = "0fv1vq14rpqwgazxg4981904lfyp84mnammw7y046491cv76jv8x"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = []; - meta = { - license = [ pkgs.lib.licenses.mit ]; - }; - }; - "toml" = super.buildPythonPackage rec { - pname = "toml"; - version = "0.10.1"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/da/24/84d5c108e818ca294efe7c1ce237b42118643ce58a14d2462b3b2e3800d5/toml-0.10.1.tar.gz"; - sha256 = "03wbqm5cn685cwx2664hjdpz370njl7lf0yal8s0dkp5w4mn2swj"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = []; - meta = { - license = [ pkgs.lib.licenses.mit ]; - }; - }; - "translationstring" = super.buildPythonPackage rec { - pname = "translationstring"; - version = "1.3"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/5e/eb/bee578cc150b44c653b63f5ebe258b5d0d812ddac12497e5f80fcad5d0b4/translationstring-1.3.tar.gz"; - sha256 = "0bdpcnd9pv0131dl08h4zbcwmgc45lyvq3pa224xwan5b3x4rr2f"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = []; - meta = { - license = [ { fullName = "BSD-like (http://repoze.org/license.html)"; } ]; - }; - }; - "venusian" = super.buildPythonPackage rec { - pname = "venusian"; - version = "1.2.0"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/7e/6f/40a9d43ac77cb51cb62be5b5662d170f43f8037bdc4eab56336c4ca92bb7/venusian-1.2.0.tar.gz"; - sha256 = "0ghyx66g8ikx9nx1mnwqvdcqm11i1vlq0hnvwl50s48bp22q5v34"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = []; - meta = { - license = [ { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } ]; - }; - }; - "waitress" = super.buildPythonPackage rec { - pname = "waitress"; - version = "1.4.4"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/9a/32/90a74e5ab5fd4fa4bd051a51eb9a8f63bbbf3e00a00dc5cf73ebd4ddb46a/waitress-1.4.4.tar.gz"; - sha256 = "0qdjrwgfah09izsvll05c75fyfj1wmzpmblpn1nar1vli983dd0v"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = [ - self."setuptools" - ]; - propagatedBuildInputs = []; - meta = { - license = [ pkgs.lib.licenses.zpl21 ]; - }; - }; - "wcwidth" = super.buildPythonPackage rec { - pname = "wcwidth"; - version = "0.2.4"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/2e/30/268d9d3ed18439b6983a8e630cd52d81fd7460a152d6e801d1b8394e51a1/wcwidth-0.2.4.tar.gz"; - sha256 = "13z4a332pvrmn930y1fk4ry82mccsvjxjdpk8lk882rnw5p5nswc"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = []; - meta = { - license = [ pkgs.lib.licenses.mit ]; - }; - }; - "webob" = super.buildPythonPackage rec { - pname = "webob"; - version = "1.8.6"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/2a/32/5f3f43d0784bdd9392db0cb98434d7cd23a0d8a420c4d243ad4cb8517f2a/WebOb-1.8.6.tar.gz"; - sha256 = "026i3z99nr3px75isa9mbnky5i7rffiv4d124h5kxfjjsxz92fma"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = []; - meta = { - license = [ pkgs.lib.licenses.mit ]; - }; - }; - "webtest" = super.buildPythonPackage rec { - pname = "webtest"; - version = "2.0.34"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/2c/74/a0e63feee438735d628631e2b70d82280276a930637ac535479e5fad9427/WebTest-2.0.34.tar.gz"; - sha256 = "0x1y2c8z4fmpsny4hbp6ka37si2g10r5r2jwxhvv5mx7g3blq4bi"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = [ - self."beautifulsoup4" - self."six" - self."waitress" - self."webob" - ]; - meta = { - license = [ pkgs.lib.licenses.mit ]; - }; - }; - "zipp" = super.buildPythonPackage rec { - pname = "zipp"; - version = "3.1.0"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/ce/8c/2c5f7dc1b418f659d36c04dec9446612fc7b45c8095cc7369dd772513055/zipp-3.1.0.tar.gz"; - sha256 = "15pxxs9gp1lcghbl5426fk823h764a5d04cra267kxlqbkby96f5"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = [ - self."setuptools" - self."wheel" - self."setuptools-scm" - ]; - propagatedBuildInputs = []; - meta = { - license = [ pkgs.lib.licenses.mit ]; - }; - }; - "zope.deprecation" = super.buildPythonPackage rec { - pname = "zope.deprecation"; - version = "4.4.0"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/34/da/46e92d32d545dd067b9436279d84c339e8b16de2ca393d7b892bc1e1e9fd/zope.deprecation-4.4.0.tar.gz"; - sha256 = "1pz2cv7gv9y1r3m0bdv7ks1alagmrn5msm5spwdzkb2by0w36i8d"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = [ - self."setuptools" - ]; - meta = { - license = [ pkgs.lib.licenses.zpl21 ]; - }; - }; - "zope.interface" = super.buildPythonPackage rec { - pname = "zope.interface"; - version = "5.1.0"; - src = fetchurl { - url = "https://files.pythonhosted.org/packages/af/d2/9675302d7ced7ec721481f4bbecd28a390a8db4ff753d28c64057b975396/zope.interface-5.1.0.tar.gz"; - sha256 = "03nrl6b8cb600dnnh46y149awvrm0gxyqgwq5hdw3lvys8mw9r20"; - }; - format = "setuptools"; - doCheck = false; - buildInputs = []; - checkInputs = []; - nativeBuildInputs = []; - propagatedBuildInputs = [ - self."setuptools" - ]; - meta = { - license = [ pkgs.lib.licenses.zpl21 ]; - }; - }; -} diff --git a/pkgs/shell-generate.nix b/pkgs/shell-generate.nix deleted file mode 100755 --- a/pkgs/shell-generate.nix +++ /dev/null @@ -1,62 +0,0 @@ -{ pkgs ? (import {}) -, pythonPackages ? "python38Packages" -}: - -with pkgs.lib; - -let - _pythonPackages = pythonPackages; - -in - -let - pythonPackages = getAttr _pythonPackages pkgs; - - pip2nix = import ./nix-common/pip2nix.nix { - inherit - pkgs - pythonPackages; - }; - -in - -pkgs.stdenv.mkDerivation { - name = "pip2nix-generated"; - - buildInputs = [ - # Allows to generate python packages - pip2nix.pip2nix - pip2nix.pip - pip2nix.pip-tools - pip2nix.cython - pip2nix.flit - - # compile using ffi - pkgs.libffi - - pkgs.apr - pkgs.aprutil - ]; - - shellHook = '' - runHook preShellHook - echo "Setting SVN_* variables" - export SVN_LIBRARY_PATH=${pkgs.subversion}/lib - export SVN_HEADER_PATH=${pkgs.subversion.dev}/include - runHook postShellHook - ''; - - preShellHook = '' - echo "Starting Generate Shell" - # set unpack source date to 1980 to fix ZIP problems that does not support <1980 - export SOURCE_DATE_EPOCH=315532800 - export TMPDIR=/tmp - export LOCALE_ARCHIVE="${pkgs.glibcLocales}/lib/locale/locale-archive" - export LC_ALL="en_US.UTF-8" - export PYCURL_SSL_LIBRARY=openssl - - # Custom prompt to distinguish from other dev envs. - export PS1="\n\[\033[1;32m\][pip2nix-generate-shell]$\[\033[0m\] " - - ''; -} diff --git a/release.nix b/release.nix deleted file mode 100644 --- a/release.nix +++ /dev/null @@ -1,22 +0,0 @@ -# This file defines how to "build" for packaging. - -{ pkgs ? import {} -, system ? builtins.currentSystem -, doCheck ? false -}: - -let - vcsserver = import ./default.nix { - inherit - doCheck - system; - - # disable checkPhase for build - checkPhase = '' - ''; - - }; - -in { - build = vcsserver; -} diff --git a/shell.nix b/shell.nix deleted file mode 100644 --- a/shell.nix +++ /dev/null @@ -1,50 +0,0 @@ -# This file contains the adjustments which are desired for a development -# environment. - -{ pkgs ? (import {}) -, pythonPackages ? "python38Packages" -, doCheck ? false -}: - -let - - # Full runtime environment without the actual Python package - PythonDepsEnv = import ./default.nix { - inherit - doCheck; - pythonExternalOverrides = self: super: { - rhodecode-vcsserver = null; - }; - }; - - # The python package with full runtime environment as dependency for nix-shell - package = (import ./default.nix { - inherit - doCheck; - pythonExternalOverrides = self: super: { - rhodecode-vcsserver = super.rhodecode-vcsserver.overridePythonAttrs(attrs: { - nativeBuildInputs = with self; - attrs.nativeBuildInputs ++ - attrs.buildInputs ++ - attrs.propagatedBuildInputs ++ [ - PythonDepsEnv - pytest - ipdb - ipython - ]; - }); - }; - }).passthru.pythonPackages.rhodecode-vcsserver; - -in package.overridePythonAttrs(attrs: { - postShellHook= '' - # Custom prompt to distinguish from other dev envs. - export PS1="\n\[\033[1;32m\][vcsserver-shell:\w]$\[\033[0m\] " - - # Set locale - export LOCALE_ARCHIVE="${pkgs.glibcLocales}/lib/locale/locale-archive" - export LC_ALL="en_US.UTF-8" - - ''; - -})