at 23.05-pre 873 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, stevedore 5, pytestCheckHook 6}: 7 8buildPythonPackage rec { 9 pname = "plux"; 10 version = "1.3.1"; 11 format = "pyproject"; 12 13 # Tests are not available from PyPi 14 src = fetchFromGitHub { 15 owner = "localstack"; 16 repo = "plux"; 17 # Request for proper tags: https://github.com/localstack/plux/issues/4 18 rev = "a412ab0a0d7d17c3b5e1f560b7b31dc1876598f7"; 19 sha256 = "sha256-zFwrRc93R4cXah7zYXjVLBIeBpDedsInxuyXOyBI8SA="; 20 }; 21 22 propagatedBuildInputs = [ 23 stevedore 24 ]; 25 26 checkInputs = [ 27 pytestCheckHook 28 ]; 29 30 pythonImportsCheck = [ "plugin.core" ]; 31 32 meta = with lib; { 33 description = "Dynamic code loading framework for building pluggable Python distributions"; 34 homepage = "https://github.com/localstack/plux"; 35 license = licenses.asl20; 36 maintainers = with maintainers; [ jonringer ]; 37 }; 38}