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 22, 2024
1 parent 0e4de9b commit 6229cb2
Showing 1 changed file with 41 additions and 0 deletions.
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 6229cb2

Please sign in to comment.