diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index ca295a1f79d0..e831b07b5197 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -11433,6 +11433,12 @@ githubId = 15373888; name = "Claudius Holeksa"; }; + keller00 = { + name = "Mark Keller"; + email = "markooo.keller@gmail.com"; + github = "keller00"; + githubId = 8452750; + }; kennyballou = { email = "kb@devnulllabs.io"; github = "kennyballou"; diff --git a/pkgs/by-name/aa/aactivator/package.nix b/pkgs/by-name/aa/aactivator/package.nix new file mode 100644 index 000000000000..776b9e2d6dd6 --- /dev/null +++ b/pkgs/by-name/aa/aactivator/package.nix @@ -0,0 +1,41 @@ +{ + lib, + fetchFromGitHub, + python3Packages, +}: + +python3Packages.buildPythonApplication rec { + pname = "aactivator"; + version = "2.0.0"; + pyproject = true; + + src = fetchFromGitHub { + owner = "Yelp"; + repo = "aactivator"; + rev = "refs/tags/v${version}"; + hash = "sha256-vnBDtLEvU1jHbb5/MXAulXaBaugdCZdLQSP2b8P6SiQ="; + }; + + build-system = with python3Packages; [ + setuptools + wheel + ]; + + nativeCheckInputs = with python3Packages; [ + pytestCheckHook + pexpect + ]; + + disabledTestPaths = [ + # presumably because of shell manipulations + "tests/integration_test.py" + ]; + + meta = { + description = "Automatically activate Python virtualenvs (and other environments)"; + homepage = "https://github.com/Yelp/aactivator"; + license = lib.licenses.mit; + mainProgram = "aactivator"; + maintainers = with lib.maintainers; [ keller00 ]; + }; +}