depot/third_party/nixpkgs/pkgs/development/tools/pifpaf/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

42 lines
770 B
Nix

{ lib
, python3
, fetchPypi
}:
python3.pkgs.buildPythonApplication rec {
pname = "pifpaf";
version = "3.1.5";
format = "setuptools";
src = fetchPypi {
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
];
pythonImportsCheck = [ "pifpaf" ];
meta = with lib; {
description = "Suite of tools and fixtures to manage daemons for testing";
homepage = "https://github.com/jd/pifpaf";
license = licenses.asl20;
maintainers = with maintainers; [ ];
};
}