mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
python3Packages.requests-toolbelt: switch to pyproject (#529061)
This commit is contained in:
commit
31699c38b5
1 changed files with 8 additions and 6 deletions
|
|
@ -6,20 +6,22 @@
|
|||
pyopenssl,
|
||||
pytestCheckHook,
|
||||
requests,
|
||||
setuptools,
|
||||
trustme,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "requests-toolbelt";
|
||||
version = "1.0.0";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
inherit (finalAttrs) pname version;
|
||||
hash = "sha256-doGgo9BHAStb3A7jfX+PB+vnarCMrsz8OSHOI8iNW8Y=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests ];
|
||||
build-system = [ setuptools ];
|
||||
dependencies = [ requests ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
betamax
|
||||
|
|
@ -43,8 +45,8 @@ buildPythonPackage rec {
|
|||
meta = {
|
||||
description = "Toolbelt of useful classes and functions to be used with requests";
|
||||
homepage = "http://toolbelt.rtfd.org";
|
||||
changelog = "https://github.com/requests/toolbelt/blob/${version}/HISTORY.rst";
|
||||
changelog = "https://github.com/requests/toolbelt/blob/${finalAttrs.version}/HISTORY.rst";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ matthiasbeyer ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue