manga-tui: 0.4.0 -> 0.5.0 (#374442)

This commit is contained in:
Sefa Eyeoglu
2025-01-25 11:50:57 +01:00
committed by GitHub
+5 -13
View File
@@ -3,7 +3,7 @@
rustPlatform,
fetchFromGitHub,
pkg-config,
fetchpatch,
dbus,
openssl,
sqlite,
stdenv,
@@ -11,7 +11,7 @@
nix-update-script,
}:
let
version = "0.4.0";
version = "0.5.0";
in
rustPlatform.buildRustPackage {
pname = "manga-tui";
@@ -21,19 +21,10 @@ rustPlatform.buildRustPackage {
owner = "josueBarretogit";
repo = "manga-tui";
rev = "v${version}";
hash = "sha256-Se0f5jfYBmvemrYRKduDr1yT3fB2wfQP1fDpa/qrYlI=";
hash = "sha256-kmJrr1Gi1z9v2gkFmvcCAtBST+AkofVJSxyvAFnUZKQ=";
};
patches = [
# apply patches to fix failing tests <https://github.com/josueBarretogit/manga-tui/pull/56>
(fetchpatch {
url = "https://github.com/josueBarretogit/manga-tui/commit/131a5208e6a3d74a9ad852baab75334e4a1ebf34.patch";
hash = "sha256-RIliZcaRVUOb33Cl+uBkMH4b34S1JpvnPGv+QCFQZ58=";
})
./0001-fix-remove-flaky-test.patch
];
cargoHash = "sha256-IufJPCvUEWR5p4PrFlaiQPW9wyIFj/Pd/JHki69L6Es=";
cargoHash = "sha256-3/dTaZ7meIPjtvxPm+nkhsqJVgi4fN6WgCGsIBTZtf8=";
nativeBuildInputs = [ pkg-config ];
@@ -41,6 +32,7 @@ rustPlatform.buildRustPackage {
[
openssl
sqlite
dbus
]
++ lib.optionals stdenv.hostPlatform.isDarwin (
with darwin.apple_sdk.frameworks;