mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
43 lines
770 B
Nix
43 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; [ ];
|
|
};
|
|
}
|