2022-08-12 05:50:49 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, rustPlatform
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage {
|
|
|
|
pname = "0x";
|
|
|
|
version = "unstable-2022-07-11";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mcy";
|
|
|
|
repo = "0x";
|
|
|
|
rev = "8070704b8efdd1f16bc7e01e393230f16cd8b0a6";
|
|
|
|
hash = "sha256-NzD/j8rBfk/cpoBnkFHFqpXz58mswLZr8TUS16vlrZQ=";
|
|
|
|
};
|
|
|
|
|
2023-02-22 16:23:35 +00:00
|
|
|
cargoLock = {
|
|
|
|
lockFile = ./Cargo.lock;
|
|
|
|
};
|
2022-08-12 05:50:49 +00:00
|
|
|
|
2023-02-22 16:23:35 +00:00
|
|
|
postPatch = ''
|
|
|
|
ln -s ${./Cargo.lock} Cargo.lock
|
|
|
|
'';
|
2022-08-12 05:50:49 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/mcy/0x";
|
|
|
|
description = "A colorful, configurable xxd";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ AndersonTorres ];
|
|
|
|
};
|
|
|
|
}
|