Skip to content

Commit

Permalink
python3Packages.plux: init at 1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jonringer committed Sep 13, 2022
1 parent 474faf3 commit bb97203
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
38 changes: 38 additions & 0 deletions pkgs/development/python-modules/plux/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, stevedore
, pytestCheckHook
}:

buildPythonPackage rec {
pname = "plux";
version = "1.3.1";
format = "pyproject";

# Tests are not available from PyPi
src = fetchFromGitHub {
owner = "localstack";
repo = "plux";
# Request for proper tags: https://github.com/localstack/plux/issues/4
rev = "a412ab0a0d7d17c3b5e1f560b7b31dc1876598f7";
sha256 = "sha256-zFwrRc93R4cXah7zYXjVLBIeBpDedsInxuyXOyBI8SA=";
};

propagatedBuildInputs = [
stevedore
];

checkInputs = [
pytestCheckHook
];

pythonImportsCheck = [ "plugin.core" ];

meta = with lib; {
description = "Dynamic code loading framework for building pluggable Python distributions";
homepage = "https://github.com/localstack/plux";
license = licenses.asl20;
maintainers = with maintainers; [ jonringer ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7059,6 +7059,8 @@ in {

plumbum = callPackage ../development/python-modules/plumbum { };

plux = callPackage ../development/python-modules/plux { };

ply = callPackage ../development/python-modules/ply { };

plyer = callPackage ../development/python-modules/plyer { };
Expand Down

0 comments on commit bb97203

Please sign in to comment.