about summary refs log tree commit diff
path: root/pkgs/by-name
diff options
context:
space:
mode:
authorfigsoda <figsoda@pm.me>2023-09-08 18:31:23 -0400
committerfigsoda <figsoda@pm.me>2023-09-08 18:35:51 -0400
commit0f754297bda59acac131cf34c7182520caeda627 (patch)
tree5805b5863afca57eb52ff327f49a6d29cd10640d /pkgs/by-name
parent88aa035e6c43619ce9dcfb17cd3a88944d12ea75 (diff)
cdwe: init at 0.3.0
https://github.com/synoet/cdwe
Diffstat (limited to 'pkgs/by-name')
-rw-r--r--pkgs/by-name/cd/cdwe/package.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/by-name/cd/cdwe/package.nix b/pkgs/by-name/cd/cdwe/package.nix
new file mode 100644
index 0000000000000..9f20c80199020
--- /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";
+  };
+}