about summary refs log tree commit diff
path: root/pkgs/by-name/cd/cdwe/package.nix
blob: b891daee2980ceb0826c938c9b1dcc159e804d29 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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 = "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";
  };
}