mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-02 02:53:55 +00:00
4a034a7d00
Diff: https://github.com/google/mobly/compare/refs/tags/1.12...1.12.1 Changelog: https://github.com/google/mobly/blob/refs/tags/1.12.1/CHANGELOG.md
52 lines
939 B
Nix
52 lines
939 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
|
|
# runtime
|
|
, portpicker
|
|
, pyserial
|
|
, pyyaml
|
|
, timeout-decorator
|
|
, typing-extensions
|
|
|
|
# tests
|
|
, procps
|
|
, pytestCheckHook
|
|
, pytz
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mobly";
|
|
version = "1.12.1";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "google";
|
|
repo = "mobly";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-8ZcjxxAv+x8vTsgVKLFb55M02gElkZcZo/nrLwG7k6k=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
portpicker
|
|
pyserial
|
|
pyyaml
|
|
timeout-decorator
|
|
typing-extensions
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
procps
|
|
pytestCheckHook
|
|
pytz
|
|
];
|
|
|
|
meta = with lib; {
|
|
changelog = "https://github.com/google/mobly/blob/${src.rev}/CHANGELOG.md";
|
|
description = "Automation framework for special end-to-end test cases";
|
|
homepage = "https://github.com/google/mobly";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ hexa ];
|
|
};
|
|
}
|