mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-21 15:30:27 +08:00
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
27 lines
604 B
Nix
27 lines
604 B
Nix
{ lib, fetchFromGitHub, buildPythonPackage, jsonschema }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "robotframework";
|
|
version = "6.0.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = pname;
|
|
repo = pname;
|
|
rev = "refs/tags/v${version}";
|
|
sha256 = "sha256-c7pPcDgqyqWQtiMbLQbQd0nAgx4TIFUFHrlBVDNdr8M=";
|
|
};
|
|
|
|
nativeCheckInputs = [ jsonschema ];
|
|
|
|
checkPhase = ''
|
|
python3 utest/run.py
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Generic test automation framework";
|
|
homepage = "https://robotframework.org/";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ bjornfor ];
|
|
};
|
|
}
|