devpi-server: 6.0.0.dev0 -> 6.2.0, override pyramid version
This commit is contained in:
parent
4f6afcb88a
commit
60ab0ab2db
|
@ -1,8 +1,23 @@
|
|||
{ lib, fetchFromGitHub, python3Packages, nginx }:
|
||||
{ lib, fetchFromGitHub, python3, nginx }:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
let
|
||||
py = python3.override {
|
||||
packageOverrides = self: super: {
|
||||
# pyramid 2.0 no longer has a 'pyramid.compat' module
|
||||
pyramid = super.pyramid.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "1.10.8";
|
||||
src = oldAttrs.src.override {
|
||||
inherit version;
|
||||
sha256 = "sha256-t81mWVvvkvgXZLl23d4rL6jk9fMl4C9l9ux/NwiynPY=";
|
||||
};
|
||||
});
|
||||
};
|
||||
};
|
||||
|
||||
in with py.pkgs;
|
||||
buildPythonApplication rec {
|
||||
pname = "devpi-server";
|
||||
version = "6.0.0.dev0";
|
||||
version = "6.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "devpi";
|
||||
|
@ -10,9 +25,15 @@ python3Packages.buildPythonApplication rec {
|
|||
rev = "68ee291ef29a93f6d921d4927aec8d13919b4a4c";
|
||||
sha256 = "1ivd5dy9f2gq07w8n2gywa0n0d9wv8644l53ni9fz7i69jf8q2fm";
|
||||
};
|
||||
|
||||
sourceRoot = "source/server";
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "pluggy>=0.6.0,<1.0" "pluggy>=0.6.0,<2.0"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
py
|
||||
appdirs
|
||||
devpi-common
|
||||
|
@ -27,7 +48,7 @@ python3Packages.buildPythonApplication rec {
|
|||
waitress
|
||||
];
|
||||
|
||||
checkInputs = with python3Packages; [
|
||||
checkInputs = [
|
||||
beautifulsoup4
|
||||
nginx
|
||||
pytestCheckHook
|
||||
|
|
Loading…
Reference in a new issue