mirror of
https://github.com/numtide/treefmt.git
synced 2024-10-26 17:30:03 +03:00
3852256526
* remove curl It is not being used right now and depends on libcurl and zlib * devshell: add clang Rust need a CC to compile some of the stuff. Since LLVM is being used by Rust and clang is also working on darwin, use that. * Use oxalica's rust-overlay, add project binary using rustPlatform, and update flake.nix Co-authored-by: Andika Demas Riyandi <andika.riyan@gmail.com>
15 lines
317 B
Nix
15 lines
317 B
Nix
final: prev:
|
|
{
|
|
prjfmt = rec {
|
|
bin = prev.rustPlatform.buildRustPackage rec {
|
|
pname = "prjfmt";
|
|
version = "0.0.1";
|
|
src = ./.;
|
|
cargoSha256 = "sha256-98M9OPWil9bKknam8ys4dNP6/iZObW0RrAC7PxiHxYI=";
|
|
doCheck = false;
|
|
nativeBuildInputs = [ ];
|
|
buildInputs = [ ];
|
|
};
|
|
};
|
|
}
|