504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
46 lines
994 B
Nix
46 lines
994 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pythonOlder
|
|
, pytestCheckHook
|
|
, setuptools
|
|
, psutil
|
|
, netcat
|
|
, ps
|
|
, python-daemon
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mirakuru";
|
|
version = "2.5.2";
|
|
format = "pyproject";
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ClearcodeHQ";
|
|
repo = "mirakuru";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-I1TKP0ESuBMTcReZf0tryjvGpSpwzofwmOiQqhyr6Zg=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|