Skip to content

Commit

Permalink
aactivator: init at 2.0.0 (#357493)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksanaa authored Nov 24, 2024
2 parents 70fc348 + 6229cb2 commit d6ae090
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11433,6 +11433,12 @@
githubId = 15373888;
name = "Claudius Holeksa";
};
keller00 = {
name = "Mark Keller";
email = "[email protected]";
github = "keller00";
githubId = 8452750;
};
kennyballou = {
email = "[email protected]";
github = "kennyballou";
Expand Down
41 changes: 41 additions & 0 deletions pkgs/by-name/aa/aactivator/package.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}

0 comments on commit d6ae090

Please sign in to comment.