nixpkgs/pkgs/by-name/cd/cdwe/package.nix
2025-07-26 11:39:35 +02:00

28 lines
629 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-pZpG98lwvggBU1TBb2JuSNLev5Jx8n5QjY902dJVn0Y=";
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";
};
}