Skip to content

Commit

Permalink
aactivator: init at 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
keller00 committed Nov 20, 2024
1 parent 5a27cc0 commit e73b8d6
Show file tree
Hide file tree
Showing 3 changed files with 54 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 @@ -11408,6 +11408,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
46 changes: 46 additions & 0 deletions pkgs/development/python-modules/aactivator/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
lib,
buildPythonApplication,
fetchFromGitHub,
pythonOlder,
python3Packages,
pytestCheckHook,
pexpect,
}:

buildPythonApplication rec {
pname = "aactivator";
version = "2.0.0";
pyproject = true;

disabled = pythonOlder "3.9";

src = fetchFromGitHub {
owner = "Yelp";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-vnBDtLEvU1jHbb5/MXAulXaBaugdCZdLQSP2b8P6SiQ=";
};

build-system = with python3Packages; [
setuptools
wheel
];

nativeCheckInputs = [
pytestCheckHook
pexpect
];

disabledTestPaths = [
# presumably because of shell manipulations
"tests/integration_test.py"
];

meta = with lib; {
description = "Automatically activate Python virtualenvs (and other environments).";
homepage = "https://github.com/Yelp/aactivator";
license = licenses.mit;
maintainers = with maintainers; [ keller00 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,8 @@ with pkgs;

# addDriverRunpath is the preferred package name, as this enables
# many more scenarios than just opengl now.
aactivator = python3Packages.callPackage ../development/python-modules/aactivator { };

anime-downloader = callPackage ../applications/video/anime-downloader { };

aocd = with python3Packages; toPythonApplication aocd;
Expand Down

0 comments on commit e73b8d6

Please sign in to comment.