Merge pull request #120605 from NixOS/update-robotframework

python3Packages.robotframework: 4.0 -> 4.0.1
This commit is contained in:
Robert Schütz 2021-04-25 20:21:43 +02:00 committed by GitHub
commit a41dc34040
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,15 +1,22 @@
{ lib, fetchPypi, buildPythonPackage }:
{ lib, fetchFromGitHub, buildPythonPackage, jsonschema }:
buildPythonPackage rec {
pname = "robotframework";
version = "4.0";
version = "4.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "a02a6f4af3b0830e4396058694c333cb63eb47f50acf6723be34f0f7a4d73ad7";
extension = "zip";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
sha256 = "1nkph0slrhss6y52y8jgbdc6m8hbqjilrwp3r00wwyqdifrfa1i6";
};
checkInputs = [ jsonschema ];
checkPhase = ''
python3 utest/run.py
'';
meta = with lib; {
description = "Generic test automation framework";
homepage = "https://robotframework.org/";