Skip to content

Commit

Permalink
patch pyproject.toml for organize
Browse files Browse the repository at this point in the history
  • Loading branch information
adfaure committed Nov 20, 2024
1 parent 1f900d8 commit 57d4cb1
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions pkgs/organize/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,24 @@
}:
python3Packages.buildPythonApplication rec {
pname = "organize";
version = "3.2.1";
version = "3.2.5";
format = "pyproject";

# disabled = python3.pythonOlder "3.9";

# TODO:How could I handle that better ?
# - Ask upstream to loosen the version
# - Create a package with the deps ?
patchPhase = ''
substituteInPlace pyproject.toml --replace \
'pdfminer-six = "^20231228"' 'pdfminer-six = "^20240706"'
'';

src = fetchFromGitHub {
owner = "tfeldmann";
repo = "${pname}";
rev = "v${version}";
sha256 = "sha256-m2eY9PhV/Zg0YHOS6f/+8zPCM71C3zP9DGfWI3Giseo=";
hash = "sha256-C68S1AFfiOAMuvEU2sBHIgdQkPX6ydied4Kq4ChmLP8=";
};

# All requirements are pinned
Expand Down Expand Up @@ -48,7 +56,6 @@ python3Packages.buildPythonApplication rec {
send2trash

]) ++ [
simplematch
simplematch
ExifRead
];
Expand Down

0 comments on commit 57d4cb1

Please sign in to comment.