patches: Update mu 1.12.0 patch

This commit is contained in:
Charlotte Van Petegem 2024-02-27 10:41:33 +01:00
parent 5f178e4c5b
commit fe2d8e8deb
No known key found for this signature in database
GPG key ID: 019E764B7184435A

View file

@ -1,6 +1,6 @@
diff --git a/pkgs/by-name/cl/cld2/package.nix b/pkgs/by-name/cl/cld2/package.nix diff --git a/pkgs/by-name/cl/cld2/package.nix b/pkgs/by-name/cl/cld2/package.nix
new file mode 100644 new file mode 100644
index 00000000000000..f26a685ea3885d index 00000000000000..bf28b160f2bab7
--- /dev/null --- /dev/null
+++ b/pkgs/by-name/cl/cld2/package.nix +++ b/pkgs/by-name/cl/cld2/package.nix
@@ -0,0 +1,50 @@ @@ -0,0 +1,50 @@
@ -11,7 +11,7 @@ index 00000000000000..f26a685ea3885d
+, fetchpatch +, fetchpatch
+}: +}:
+ +
+stdenv.mkDerivation (finalAttrs: { +stdenv.mkDerivation {
+ pname = "cld2"; + pname = "cld2";
+ version = "unstable-2015-08-21"; + version = "unstable-2015-08-21";
+ +
@ -32,7 +32,7 @@ index 00000000000000..f26a685ea3885d
+ +
+ nativeBuildInputs = [ cmake ]; + nativeBuildInputs = [ cmake ];
+ +
+ meta = { + meta = with lib; {
+ homepage = "https://github.com/CLD2Owners/cld2"; + homepage = "https://github.com/CLD2Owners/cld2";
+ description = "Compact Language Detector 2"; + description = "Compact Language Detector 2";
+ longDescription = '' + longDescription = ''
@ -49,13 +49,13 @@ index 00000000000000..f26a685ea3885d
+ designed to do well on very short text, lists of proper names, part + designed to do well on very short text, lists of proper names, part
+ numbers, etc. + numbers, etc.
+ ''; + '';
+ license = lib.licenses.asl20; + license = licenses.asl20;
+ maintainers = with lib.maintainers; [ chvp ]; + maintainers = with maintainers; [ chvp ];
+ platforms = lib.platforms.all; + platforms = platforms.all;
+ }; + };
+}) +}
diff --git a/pkgs/tools/networking/mu/default.nix b/pkgs/tools/networking/mu/default.nix diff --git a/pkgs/tools/networking/mu/default.nix b/pkgs/tools/networking/mu/default.nix
index 6f3f556e259287..f1094fcd8d3664 100644 index 6f3f556e259287..46519c730446b9 100644
--- a/pkgs/tools/networking/mu/default.nix --- a/pkgs/tools/networking/mu/default.nix
+++ b/pkgs/tools/networking/mu/default.nix +++ b/pkgs/tools/networking/mu/default.nix
@@ -1,21 +1,23 @@ @@ -1,21 +1,23 @@
@ -135,7 +135,7 @@ index 6f3f556e259287..f1094fcd8d3664 100644
doCheck = true; doCheck = true;
+ # Tests need a UTF-8 aware locale configured + # Tests need a UTF-8 aware locale configured
+ LANG = "C.UTF-8"; + env.LANG = "C.UTF-8";
+ +
meta = with lib; { meta = with lib; {
description = "A collection of utilities for indexing and searching Maildirs"; description = "A collection of utilities for indexing and searching Maildirs";