10 rustPlatform.buildRustPackage rec {
14 src = fetchFromGitHub {
18 hash = "sha256-9K04g2DCADkRwjo55rDwVwkvmypqujdN1fqOmHmC09E=";
21 cargoHash = "sha256-GBqxA49H3KG63hn8QfM4U8m9uZ1YAhJio6bGziyLvV0=";
23 nativeBuildInputs = [ installShellFiles ];
25 buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ Security ];
28 installManPage man/man1/shadowenv.1
29 installManPage man/man5/shadowlisp.5
30 installShellCompletion --bash sh/completions/shadowenv.bash
31 installShellCompletion --fish sh/completions/shadowenv.fish
32 installShellCompletion --zsh sh/completions/_shadowenv
40 homepage = "https://shopify.github.io/shadowenv/";
41 description = "reversible directory-local environment variable manipulations";
42 license = licenses.mit;
44 mainProgram = "shadowenv";