diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 212ed19c3f79..423893dcda94 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -3576,6 +3576,12 @@ githubId = 77934086; keys = [ { fingerprint = "4CA3 48F6 8FE1 1777 8EDA 3860 B9A2 C1B0 25EC 2C55"; } ]; }; + blemouzy = { + email = "blemouzy.ml@gmail.com"; + github = "blemouzy"; + githubId = 124877155; + name = "Benjamin Lemouzy"; + }; blenderfreaky = { name = "blenderfreaky"; email = "nix@blenderfreaky.de"; diff --git a/pkgs/by-name/en/envoluntary/package.nix b/pkgs/by-name/en/envoluntary/package.nix new file mode 100644 index 000000000000..5ef678bcf0e1 --- /dev/null +++ b/pkgs/by-name/en/envoluntary/package.nix @@ -0,0 +1,37 @@ +{ + lib, + rustPlatform, + fetchFromGitHub, + bash, +}: + +rustPlatform.buildRustPackage rec { + pname = "envoluntary"; + version = "0.1.4"; + + src = fetchFromGitHub { + owner = "dfrankland"; + repo = "envoluntary"; + tag = "envoluntary-v${version}"; + hash = "sha256-ccMXrR7PnV3aCehJtsJyXx5ZiCz/KrHkKDLQSV3sMYU="; + }; + + cargoHash = "sha256-AXWOU8UduQZxZWcTaOyxilbdz4BMnZlrJEFTUakFa4w="; + + preCheck = '' + export NIX_BIN_BASH="${bash}/bin/bash" + ''; + + meta = { + description = "Automatic Nix development environments for your shell"; + longDescription = '' + Envoluntary seamlessly loads and unloads Nix development environments based on directory + patterns, eliminating the need for per-project .envrc / flake.nix files while giving you + centralized control over your development tooling. + ''; + homepage = "https://github.com/dfrankland/envoluntary"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ blemouzy ]; + mainProgram = "envoluntary"; + }; +}