catfs: unstable-2020-03-21 -> 0.9.0

This commit is contained in:
Theodore Ni 2022-12-06 14:02:07 -08:00 committed by Jonathan Ringer
parent 9ed4897b22
commit d7ec1a3251

View file

@ -6,24 +6,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "catfs"; pname = "catfs";
version = "unstable-2020-03-21"; version = "0.9.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "kahing"; owner = "kahing";
repo = pname; repo = pname;
rev = "daa2b85798fa8ca38306242d51cbc39ed122e271"; rev = "v${version}";
sha256 = "0zca0c4n2p9s5kn8c9f9lyxdf3df88a63nmhprpgflj86bh8wgf5"; hash = "sha256-OvmtU2jpewP5EqPwEFAf67t8UCI1WuzUO2QQj4cH1Ak=";
}; };
cargoSha256 = "1agcwq409s40kyij487wjrp8mj7942r9l2nqwks4xqlfb0bvaimf"; cargoHash = "sha256-xF1J2Pr4qtNFcd2kec4tnbdYxoLK+jRnzp8p+cmNOcI=";
cargoPatches = [
# update cargo lock
(fetchpatch {
url = "https://github.com/kahing/catfs/commit/f838c1cf862cec3f1d862492e5be82b6dbe16ac5.patch";
sha256 = "1r1p0vbr3j9xyj9r1ahipg4acii3m4ni4m9mp3avbi1rfgzhblhw";
})
];
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];