depot/third_party/nixpkgs/pkgs/by-name/cd/cdwe/package.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

26 lines
624 B
Nix

{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "cdwe";
version = "0.3.0";
src = fetchFromGitHub {
owner = "synoet";
repo = "cdwe";
rev = version;
hash = "sha256-6NWhx82BXhWhbI18k5gE3vEkw9v5gstE8ICJhtq68rM=";
};
cargoHash = "sha256-V2eWVoRtfjHLe2AypYekUFzMnuV8RYU9Pb7Q1U3fwp4=";
meta = with lib; {
description = "Configurable cd wrapper that lets you define your environment per directory";
homepage = "https://github.com/synoet/cdwe";
license = licenses.mit;
maintainers = with maintainers; [ figsoda ];
mainProgram = "cdwe";
};
}