Commit 71d1118b authored by figsoda's avatar figsoda
Browse files
parent 33dfdf82
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -14,16 +14,16 @@

rustPlatform.buildRustPackage rec {
  pname = "onefetch";
  version = "2.17.0";
  version = "2.17.1";

  src = fetchFromGitHub {
    owner = "o2sh";
    repo = pname;
    rev = version;
    sha256 = "sha256-5d2u58i5VU+k1iC+bmiyKqe8qNTibryDxXNENxIflEI=";
    hash = "sha256-mIHaeEnMKOyEeEEkE5OZgQZWwFnm69GZui64iBZkfyo=";
  };

  cargoSha256 = "sha256-PLxccKkJg9LNckAVG2iXU9XB1olAvVZQYRG8R6s+ibU=";
  cargoHash = "sha256-XFX3J/vgjboEu+xZWTkfo5jmZJkap1u3j9G9ewrzVqc=";

  cargoPatches = [
    # enable pkg-config feature of zstd
+8 −8
Original line number Diff line number Diff line
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2039,6 +2039,7 @@ dependencies = [
  "tokei",
  "toml",
@@ -2498,6 +2498,7 @@ dependencies = [
  "typetag",
  "winres",
  "yaml-rust",
+ "zstd",
 ]
 
 [[package]]
@@ -3286,4 +3287,5 @@ checksum = "9fd07cbbc53846d9145dbffdf6dd09a7a0aa52be46741825f5c97bdd4f73f12b"
@@ -4052,4 +4053,5 @@ checksum = "9fd07cbbc53846d9145dbffdf6dd09a7a0aa52be46741825f5c97bdd4f73f12b"
 dependencies = [
  "cc",
  "libc",
@@ -16,11 +16,11 @@
 ]
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -58,6 +58,7 @@ time-humanize = { version = "0.1.3", features = ["time"] }
@@ -49,6 +49,7 @@ time-humanize = { version = "0.1.3", features = ["time"] }
 tokei = "12.1.2"
 toml = "0.5.9"
 typetag = "0.2"
 yaml-rust = "0.4.5"
+zstd = { version = "*", features = ["pkg-config"] }
 
 [target.'cfg(windows)'.dependencies]
 enable-ansi-support = "0.1.2"
 [dev-dependencies]
 criterion = "0.4.0"