Merge pull request #218979 from superherointj/python311Packages.exrex-unstable-2021-04-22

python311Packages.exrex: 0.10.5 -> unstable-2021-04-22
This commit is contained in:
superherointj 2023-03-01 20:22:14 -03:00 committed by GitHub
commit 1a6ab4b794
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,17 +1,28 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchFromGitHub
, fetchpatch
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "exrex"; pname = "exrex";
version = "0.10.5"; version = "unstable-2021-04-22";
src = fetchPypi { src = fetchFromGitHub {
inherit pname version; owner = "asciimoo";
sha256 = "1wq8nyycdprxl9q9y1pfhkbca4rvysj45h1xn7waybl3v67v3f1z"; 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 # Projec thas no released tests
doCheck = false; doCheck = false;
pythonImportsCheck = [ "exrex" ]; pythonImportsCheck = [ "exrex" ];