diff options
author | superherointj <5861043+superherointj@users.noreply.github.com> | 2023-03-01 08:18:19 -0300 |
---|---|---|
committer | superherointj <5861043+superherointj@users.noreply.github.com> | 2023-03-01 08:23:00 -0300 |
commit | d632d09bea0f06b3892a6890f0f8892fc097c5fa (patch) | |
tree | 5c782b042ae69c6094285dfefcd91c80b250b66c /pkgs/development/python-modules/exrex | |
parent | 54b1d155046952c41c79bb0a7da834f52effe3b4 (diff) |
python311Packages.exrex: 0.10.5 -> unstable-2021-04-22
Diffstat (limited to 'pkgs/development/python-modules/exrex')
-rw-r--r-- | pkgs/development/python-modules/exrex/default.nix | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/exrex/default.nix b/pkgs/development/python-modules/exrex/default.nix index 8c980c8d00fad..0d51a9862ee7a 100644 --- a/pkgs/development/python-modules/exrex/default.nix +++ b/pkgs/development/python-modules/exrex/default.nix @@ -1,17 +1,28 @@ { lib , buildPythonPackage -, fetchPypi +, fetchFromGitHub +, fetchpatch }: buildPythonPackage rec { pname = "exrex"; - version = "0.10.5"; + version = "unstable-2021-04-22"; - src = fetchPypi { - inherit pname version; - sha256 = "1wq8nyycdprxl9q9y1pfhkbca4rvysj45h1xn7waybl3v67v3f1z"; + src = fetchFromGitHub { + owner = "asciimoo"; + repo = "exrex"; + rev = "9a66706e7582a9cf31c4121629c9035e329bbe21"; + sha256 = "sha256-g31tHY+LzGxwBmUpSa0DV7ruLfYwmuDg+XyBxMZRa9U="; }; + patches = [ + (fetchpatch { + # https://github.com/asciimoo/exrex/pull/65 + url = "https://github.com/asciimoo/exrex/commit/44712bfb1350a509581a5834d9fa8aebcd9434db.patch"; + hash = "sha256-thKotSvdVdVjXaG/AhsXmW51FHLOYUeYTYw8SA/k2t4="; + }) + ]; + # Projec thas no released tests doCheck = false; pythonImportsCheck = [ "exrex" ]; |