Skip to content

Commit

Permalink
Merge pull request #320892 from mweinelt/humanfriendly-py313
Browse files Browse the repository at this point in the history
python313Packages.humanfriendly: replace pipes module usage
  • Loading branch information
mweinelt committed Jun 18, 2024
2 parents df8afea + 41d281f commit 78fde8e
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
1 change: 1 addition & 0 deletions pkgs/development/python-modules/bork/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ buildPythonPackage rec {
];

pythonRelaxDeps = [
"build"
"packaging"
"readme-renderer"
"twine"
Expand Down
14 changes: 13 additions & 1 deletion pkgs/development/python-modules/humanfriendly/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,30 @@
lib,
buildPythonPackage,
fetchPypi,
fetchpatch2,
setuptools,
}:

buildPythonPackage rec {
pname = "humanfriendly";
version = "10.0";
format = "setuptools";
pyproject = true;

src = fetchPypi {
inherit pname version;
sha256 = "6b0b831ce8f15f7300721aa49829fc4e83921a9a301cc7f606be6686a2288ddc";
};

patches = [
(fetchpatch2 {
# https://github.com/xolox/python-humanfriendly/pull/75
url = "https://github.com/musicinmybrain/python-humanfriendly/commit/13d05b8057010121acd2a402a337ef4ee5834062.patch";
hash = "sha256-m7cySiIx0gNhh6KKhT71DJFOtFu2Copk9ic2yaiCulk=";
})
];

build-system = [ setuptools ];

# humanfriendly tests depends on coloredlogs which itself depends on
# humanfriendly. This lead to infinite recursion when trying to
# build this package so we have to disable the test suite :(
Expand Down
1 change: 1 addition & 0 deletions pkgs/development/python-modules/spsdk/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ buildPythonPackage rec {
"click"
"cryptography"
"platformdirs"
"requests"
"typing-extensions"
];

Expand Down

0 comments on commit 78fde8e

Please sign in to comment.