From 0f754297bda59acac131cf34c7182520caeda627 Mon Sep 17 00:00:00 2001 From: figsoda Date: Fri, 8 Sep 2023 18:31:23 -0400 Subject: [PATCH] cdwe: init at 0.3.0 https://github.com/synoet/cdwe --- pkgs/by-name/cd/cdwe/package.nix | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 pkgs/by-name/cd/cdwe/package.nix diff --git a/pkgs/by-name/cd/cdwe/package.nix b/pkgs/by-name/cd/cdwe/package.nix new file mode 100644 index 000000000000..9f20c8019902 --- /dev/null +++ b/pkgs/by-name/cd/cdwe/package.nix @@ -0,0 +1,26 @@ +{ 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 = "A 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"; + }; +}