2023-03-15 16:39:30 +00:00
|
|
|
{ lib
|
|
|
|
, python3
|
2023-07-15 17:15:38 +00:00
|
|
|
, fetchPypi
|
2023-03-15 16:39:30 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "pifpaf";
|
|
|
|
version = "3.1.5";
|
|
|
|
format = "setuptools";
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
src = fetchPypi {
|
2023-03-15 16:39:30 +00:00
|
|
|
inherit pname version;
|
|
|
|
sha256 = "sha256-lmixfUP+pq0RdyXeY6MmUQOx1sMLHqojOKUK1mivbaU=";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
|
|
click
|
|
|
|
daiquiri
|
|
|
|
fixtures
|
|
|
|
jinja2
|
|
|
|
pbr
|
|
|
|
psutil
|
|
|
|
xattr
|
|
|
|
];
|
|
|
|
|
|
|
|
preCheck = ''
|
|
|
|
export PATH=$out/bin:$PATH
|
|
|
|
'';
|
|
|
|
|
|
|
|
nativeCheckInputs = with python3.pkgs; [
|
|
|
|
requests
|
2023-08-10 07:59:29 +00:00
|
|
|
testtools
|
2023-03-15 16:39:30 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "pifpaf" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Suite of tools and fixtures to manage daemons for testing";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "pifpaf";
|
2023-03-15 16:39:30 +00:00
|
|
|
homepage = "https://github.com/jd/pifpaf";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ ];
|
|
|
|
};
|
|
|
|
}
|