diff options
| author | lassulus <git@lassul.us> | 2026-01-22 00:28:16 +0100 |
|---|---|---|
| committer | lassulus <git@lassul.us> | 2026-01-22 00:28:16 +0100 |
| commit | f40d9a621bb0dfe27e896c65e78d4d3bcbb59911 (patch) | |
| tree | e2b6e5424c676059b718663b76efb163d933ff02 | |
| parent | e92da13116da03e8c2d6771eabfc31245206a02b (diff) | |
treq: fix for python 3.13
- pythonPackages -> python3Packages
- add pyproject and build-system for new packaging format
| -rw-r--r-- | krebs/5pkgs/simple/treq/default.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/krebs/5pkgs/simple/treq/default.nix b/krebs/5pkgs/simple/treq/default.nix index 7cb826a51..8689479b3 100644 --- a/krebs/5pkgs/simple/treq/default.nix +++ b/krebs/5pkgs/simple/treq/default.nix @@ -1,14 +1,16 @@ -{ stdenv, fetchurl, pythonPackages }: +{ stdenv, fetchurl, python3Packages }: -pythonPackages.buildPythonPackage rec { +python3Packages.buildPythonPackage rec { name = "${pname}-${version}"; pname = "treq"; version = "15.1.0"; + pyproject = true; + build-system = [ python3Packages.setuptools ]; src = fetchurl { url = "mirror://pypi/t/${pname}/${name}.tar.gz"; sha256= "425a47d5d52a993d51211028fb6ade252e5fbea094e878bb4b644096a7322de8"; }; - propagatedBuildInputs = with pythonPackages; [ + propagatedBuildInputs = with python3Packages; [ twisted pyopenssl requests |
