nix-dotfiles/pkgs/edit/edit.nix

28 lines
567 B
Nix
Raw Normal View History

2025-05-23 12:19:11 -04:00
{
lib,
pkgs
}:
let
rustPlatform = pkgs.makeRustPlatform {
cargo = pkgs.rust-bin.selectLatestNightlyWith (toolchain: toolchain.default);
rustc = pkgs.rust-bin.selectLatestNightlyWith (toolchain: toolchain.default);
};
in
rustPlatform.buildRustPackage (finalAttrs: {
pname = "edit";
version = "1.0.0";
src = ./.;
cargoHash = "sha256-DEzjfrXSmum/GJdYanaRDKxG4+eNPWf5echLhStxcIg=";
meta = {
description = "We all edit.";
homepage = "https://github.com/microsoft/edit";
license = lib.licenses.mit;
maintainers = [ ];
};
})