nixpkgs/pkgs/by-name/cd/cdwe/package.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

27 lines
624 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 = "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";
};
}