depot/third_party/nixpkgs/pkgs/development/tools/pifpaf/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

44 lines
792 B
Nix

{ lib
, python3
, fetchPypi
}:
python3.pkgs.buildPythonApplication rec {
pname = "pifpaf";
version = "3.2.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-8SSSdXBj9Yd351Iv7TdASLCfYPnkG7h6X8rBLrArgFI=";
};
propagatedBuildInputs = with python3.pkgs; [
click
daiquiri
fixtures
jinja2
pbr
psutil
xattr
];
preCheck = ''
export PATH=$out/bin:$PATH
'';
nativeCheckInputs = with python3.pkgs; [
requests
testtools
];
pythonImportsCheck = [ "pifpaf" ];
meta = with lib; {
description = "Suite of tools and fixtures to manage daemons for testing";
mainProgram = "pifpaf";
homepage = "https://github.com/jd/pifpaf";
license = licenses.asl20;
maintainers = [ ];
};
}