@@ -3,28 +3,20 @@
33
44rustPlatform.buildRustPackage rec {
55 pname = "onefetch";
6− version = "2.2.0";
6+ version = "2.4.0";
77
88 src = fetchFromGitHub {
99 owner = "o2sh";
1010 repo = pname;
1111 rev = "v${version}";
12− sha256 = "1sgpai3gx3w7w3ilmbnmzgdxdim6klkfiqaqxmffpyap6qgksfqs";
12+ sha256 = "sha256-3bERQ480SuvrjyqlBd9wnE4iIJAbN8HODUj0X+Uxrvs=";
1313 };
1414
15− cargoSha256 = "18z887mklynxpjci6va4i5zhg90j824avykym24vbz9w97nqpdd5";
15+ cargoSha256 = "sha256-Bq2ytwbdhYeXIUM4tYSfUamhckraH5w34sAQ96ayJxI=";
1616
1717 buildInputs = with stdenv;
1818 lib.optionals isDarwin [ CoreFoundation libiconv libresolv Security ];
1919
20− cargoPatches = [
21− # fix wrong version in Cargo.lock
22− (fetchpatch {
23− url = "https://github.com/o2sh/onefetch/commit/b69fe660d72b65d7efac99ac5db3b03a82d8667f.patch";
24− sha256 = "14przkdyd4yd11xpdgyscs70w9gpnh02j3xdzxf6h895w3mn84lx";
25− })
26− ];
27−
2820 meta = with stdenv.lib; {
2921 description = "Git repository summary on your terminal";
3022 homepage = "https://github.com/o2sh/onefetch";