mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
27 lines
626 B
Nix
27 lines
626 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 = "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";
|
|
};
|
|
}
|