depot/third_party/nixpkgs/pkgs/development/python-modules/robotframework-databaselibrary/default.nix

46 lines
956 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, robotframework
, robotframework-excellib
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "robotframework-databaselibrary";
version = "1.4.4";
pyproject = true;
src = fetchFromGitHub {
owner = "MarketSquare";
repo = "Robotframework-Database-Library";
rev = "refs/tags/v${version}";
hash = "sha256-WTcB1jEfBm8tOuQgsGUhYD4FDqpEEKA4UOmbHS/hac0=";
};
nativeBuildInputs = [
robotframework
setuptools
];
propagatedBuildInputs = [
robotframework
robotframework-excellib
];
pythonImportsCheck = [ "DatabaseLibrary" ];
nativeCheckInputs = [
pytestCheckHook
];
meta = with lib; {
description = "Database Library contains utilities meant for Robot Framework";
homepage = "https://github.com/MarketSquare/Robotframework-Database-Library";
license = licenses.asl20;
maintainers = with maintainers; [ talkara ];
};
}