mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-23 17:12:27 +00:00
python312Packages.webob: 1.8.7 -> 1.8.8 (#341094)
Merge into staging-next-24.05.
This commit is contained in:
@@ -1,22 +1,28 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
fetchFromGitHub,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
|
||||
# for passthru.tests
|
||||
pyramid,
|
||||
routes,
|
||||
tokenlib,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "webob";
|
||||
version = "1.8.7";
|
||||
version = "1.8.8";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "WebOb";
|
||||
inherit version;
|
||||
hash = "sha256-tk71FBvlWc+t5EjwRPpFwiYDUe3Lao72t+AMfc7wwyM=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "Pylons";
|
||||
repo = "webob";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-QN0UMLzO0g8Oalnn5GlOulXUxtXOx89jeeEvJV53rVs=";
|
||||
};
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
@@ -29,6 +35,10 @@ buildPythonPackage rec {
|
||||
"tests/test_client_functional.py"
|
||||
];
|
||||
|
||||
passthru.tests = {
|
||||
inherit pyramid routes tokenlib;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "WSGI request and response object";
|
||||
homepage = "https://webob.org/";
|
||||
|
||||
Reference in New Issue
Block a user