depot/third_party/nixpkgs/pkgs/development/python-modules/mirakuru/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

46 lines
994 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pytestCheckHook
, setuptools
, psutil
, netcat
, ps
, python-daemon
}:
buildPythonPackage rec {
pname = "mirakuru";
version = "2.5.1";
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "ClearcodeHQ";
repo = "mirakuru";
rev = "refs/tags/v${version}";
hash = "sha256-jBsSvIy2FaAYlDZLjJXl9hyCiK+nk/cM5j128f24dRc=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ psutil ];
nativeCheckInputs = [
netcat.nc
ps
python-daemon
pytestCheckHook
];
pythonImportsCheck = [ "mirakuru" ];
meta = with lib; {
homepage = "https://pypi.org/project/mirakuru";
description = "Process orchestration tool designed for functional and integration tests";
changelog = "https://github.com/ClearcodeHQ/mirakuru/blob/v${version}/CHANGES.rst";
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ bcdarwin ];
};
}