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 480f1ba commit 6c6f51f
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
46 changes: 46 additions & 0 deletions pkgs/by-name/aa/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 = {
description = "Automatically activate Python virtualenvs (and other environments).";
homepage = "https://github.com/Yelp/aactivator";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ keller00 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/by-name/aa/aactivator/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{ python3 }:
(python3.pkgs.callPackage ./default.nix { })

0 comments on commit 6c6f51f

Please sign in to comment.